/* ---- The Shaman's chapters (guides/shaman.js, guides/shaman.widgets.js). Same plates, same yard, the trees' own colours. Joined onto
   page.css by the server on the Shaman's page only; the pieces the Warlock first needed (gone chips, sooner rows, bars) live in page.css. ---- */
.gd-ch[data-tree="elemental"]{--ac:#86c8ff}
.gd-ch[data-tree="enhancement"]{--ac:#ffb257}
.gd-ch[data-tree="restoration"]{--ac:#62d9b8}
/* the Totem Bar */
.gd-totembar{--ac:#86c8ff}
.gd-tslots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px}
.gd-tslot{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:10px;border:1px solid var(--line);background:#111;min-width:0}
.gd-tslot img.sm{flex:none;width:34px;height:34px;border-radius:8px;border:1px solid #000;box-shadow:0 0 0 1px var(--ec)}
.gd-tslot>span{min-width:0}
.gd-tslot small{display:block;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--ec);font-weight:700}
.gd-tslot b{display:block;font-size:12.5px;line-height:1.2;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
[data-el="earth"]{--ec:#d1aa64}[data-el="fire"]{--ec:#ff8a4c}[data-el="water"]{--ec:#6fc8ff}[data-el="air"]{--ec:#dfe9ff}
.gd-tyard{position:relative;min-height:240px;padding:14px 16px 0;border-radius:12px;border:1px solid #2c2c2c;overflow:hidden;background:radial-gradient(80% 60% at 50% 100%,rgba(92,66,30,.45),transparent 70%),#0e0e10}
.gd-tyard .gd-steptitle{position:relative;z-index:2;margin:0;min-height:1.4em}
.gd-tground{position:absolute;left:16px;right:16px;bottom:52px;height:0;border-top:1px dashed rgba(255,255,255,.22)}
.gd-tmark{position:absolute;top:6px;transform:translateX(-50%);font-family:Caveat,cursive;font-weight:700;font-size:19px;color:#bdbdbd;white-space:nowrap}
.gd-tmark.near{left:var(--near)}.gd-tmark.far{left:var(--far)}
.gd-tmark.far::before{content:"";position:absolute;left:50%;top:-8px;width:1px;height:8px;background:rgba(255,255,255,.35)}
.gd-tcaster{position:absolute;left:18px;bottom:56px;width:104px;text-align:center}
.gd-tcaster .gd-casterfig{height:140px;margin:0 auto}
.gd-tyou{display:block;width:34px;height:64px;margin:0 auto;border-radius:17px 17px 6px 6px;background:linear-gradient(#2c3a52,#141b26);border:1px solid #000;box-shadow:0 0 0 1px #3a4a66}
.gd-ttotems{position:absolute;left:var(--near);bottom:50px;display:flex;gap:10px;transform:translateX(-50%);transition:left 1s cubic-bezier(.2,.7,.2,1)}
.gd-tyard.far .gd-ttotems{left:var(--far)}
.gd-totem{position:relative;width:34px;opacity:0;transform:translateY(16px);transition:opacity .35s ease-out,transform .5s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--i) * 90ms)}
.gd-totem img.sm{display:block;width:30px;height:30px;margin:0 auto;border-radius:7px;border:1px solid #000;box-shadow:0 0 0 1px var(--ec),0 0 12px color-mix(in srgb,var(--ec) 55%,transparent)}
.gd-totem::after{content:"";display:block;width:8px;height:26px;margin:2px auto 0;border-radius:3px;background:linear-gradient(#7a5530,#2d1d10);border:1px solid #000}
.gd-tyard.up .gd-totem{opacity:1;transform:none}
.gd-tyard.down .gd-totem{opacity:0;transform:translateY(16px);transition-delay:calc(var(--i) * 60ms)}
.gd-tchip{position:absolute;left:var(--near);bottom:120px;transform:translate(-50%,10px);opacity:0;transition:opacity .4s,transform .6s cubic-bezier(.2,.7,.2,1);pointer-events:none;white-space:nowrap;font-size:13px}
.gd-tyard.far .gd-tchip{left:var(--far)}
.gd-tchip.on{opacity:1;transform:translate(-50%,0)}
.gd-totembar .gd-castbars{margin-top:10px}
.gd-totembar .gd-cap{min-height:2.6em;margin:10px 0 0;font-size:14px;color:var(--ink2)}
.gd-tctl{flex-wrap:wrap}
.gd-tctl .gd-cast{margin-left:0}
.gd-tctl .gd-cast:disabled{opacity:.45;cursor:default}
.gd-ttwin .gd-under{max-width:none}
/* the totems: how long, how far, the one number */
.gd-totrow{display:grid;grid-template-columns:30px 190px minmax(0,1fr) 120px;align-items:center;gap:10px;padding:6px 0;border-top:1px solid rgba(255,255,255,.05)}
.gd-totrow img.sm{width:30px;height:30px;border-radius:7px;border:1px solid #000}
.gd-totrow b{font-size:14px;line-height:1.2;color:var(--ink)}
.gd-totrow b small{display:block;font-weight:400;font-size:11.5px;color:var(--muted)}
.gd-totbars{display:grid;gap:3px}
.gd-totbars>div{display:grid;grid-template-columns:minmax(0,1fr) 92px;align-items:center;gap:8px}
.gd-totbars i{display:block;height:12px;border-radius:2px;width:0;background:repeating-linear-gradient(115deg,#8f8f8f 0 3px,#5c5c5c 3px 6px);transition:width .8s cubic-bezier(.2,.7,.2,1)}
.gd-totbars .forever i{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-totbars span{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
.gd-totbars .forever span{color:#ffd75e}
.gd-cmps.drawn .gd-totbars .classic i{width:var(--c)}
.gd-cmps.drawn .gd-totbars .forever i{width:var(--f)}
.gd-totrow .gd-chalk{font-size:19px;text-align:right;color:#bdbdbd}
.gd-totrow.up .gd-chalk{color:#8fe36b}.gd-totrow.down .gd-chalk{color:#f08080}
.gd-totsame{margin-top:10px;padding-top:8px;border-top:1px solid rgba(255,255,255,.05)}
.gd-totsame b{color:var(--ink)}
/* the four totem items and Blizzard's words */
.gd-titemrow{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.gd-titem{display:inline-flex;align-items:center;gap:8px;padding:5px 12px 5px 5px;border-radius:999px;border:1px solid var(--line);background:#111;font-size:13px;font-weight:600;color:var(--ink2)}
.gd-titem img.sm{width:30px;height:30px;border-radius:50%;border:1px solid #000}
.gd-quote{margin:14px 0 10px;padding:10px 14px 10px 16px;border-left:3px solid #ffd75e;background:rgba(255,209,0,.05);border-radius:0 8px 8px 0}
.gd-quote p{margin:0;font-size:15px;line-height:1.45;color:var(--ink);font-style:italic}
.gd-quote p::before{content:"\201C"}.gd-quote p::after{content:"\201D"}
.gd-quote footer{margin-top:4px;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:#ffd75e}
.gd-was-name{font-weight:400;color:var(--muted);font-size:12px}
/* the tree names are longer than the Mage's: the share rows give them room */
.gd-spec div,.gd-specrow{grid-template-columns:26px 104px 1fr 44px}
@media (max-width:760px){
  .gd-tslots{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gd-tyard{min-height:230px;--near:50%;--far:72%}
  .gd-tcaster{width:84px;left:10px}.gd-tcaster .gd-casterfig{height:110px}
  .gd-ttotems{gap:5px}.gd-totem{width:28px}.gd-totem img.sm{width:26px;height:26px}.gd-totem::after{height:22px}
  .gd-tchip,.gd-tyard.far .gd-tchip{left:50%;bottom:96px;font-size:12px;padding:6px 9px}
  .gd-tmark{font-size:16px}
  .gd-totrow{grid-template-columns:30px minmax(0,1fr) 92px;gap:4px 8px}
  .gd-totrow .gd-totbars{grid-column:1/-1;grid-row:2}
  .gd-totrow .gd-chalk{font-size:16px}
}
@media (prefers-reduced-motion:reduce){.gd-totem,.gd-ttotems,.gd-tchip,.gd-totbars i{transition:none}}
/* ==== heads (2 Oct polish: Chris, "some of the spec tree models could fit better and their respective artworks could be cleaner").
   With no video on the page every chapter head is a figured head: the words bottom-left, his render standing whole on the right in a
   pool of his tree's light, the head's picture (guides/art_shaman.py) across the whole card behind both. The picture is pinned to the
   card's right edge as he is, so the light it paints round him and its one idea beside him stay where they were drawn at every width.
   Three pictures per head: <id>.webp (1040x400) from 901 px up, <id>_t.webp (840x400) from 641 to 900 (its idea drawn nearer him, so
   it never runs under the words or off the card's left), <id>_m.webp (640x232) on phones. Each render is placed by where his eyes and
   soles sit in its own file (--e eyes to soles and --s soles as parts of its height, --hx the head across, --asp width over height), so
   every head shows him at one scale on one baseline: --E is his eyes-to-soles height on screen, --base his soles above the card's foot,
   --cx his head from the card's right edge. Phones stack the head: the phone picture and him on top, the words under it. ==== */
.gd-chhead.figured{--hl:255,204,110;--E:226px;--base:26px;--cx:180px;--tw:58%}
#elemental .gd-chhead.figured{--hl:134,200,255;--back:.32}
#elemental .gd-chhead.figured>.gd-figure{filter:drop-shadow(0 10px 14px rgba(0,0,0,.6)) drop-shadow(0 0 18px rgba(var(--hl),.3))}   /* a blue rim: the Ten Storms' browns would sink into the storm */
#enhancement .gd-chhead.figured{--hl:255,178,87;--back:.34}   /* --back: the light behind his shoulders, so the Warlord's dark steel catches the amber */
#restoration .gd-chhead.figured{--hl:98,217,184;--pool:.85}   /* --pool: the ground under him, lit enough that he stands on it */
#new .gd-chhead.figured{--cx:214px}                     /* the ready stance carries his shield wide on his left */
#damage .gd-chhead.figured{--cx:214px;--hl:134,200,255}   /* the cast: his back hand swings out toward the card's edge; the storm's blue of the bars */
#builds .gd-chhead.figured{--tw:66%}                     /* "What Shamans build" holds one line */
#races .gd-chhead.figured{--E:182px;--cx:118px;--hl:236,120,80}   /* the lineup: a wider shot (his eyes to soles 182, the Tauren's horns 23 px under the tracker line), the pool in the Horde's warm red */
#enhancement .gd-chhead.figured{--cx:162px}               /* a step right: the axe head clear of Stormstrike's frame, his spikes 45 px in from the edge */
.gd-chhead.figured.arted{background:var(--art) right center/cover no-repeat #0e0e10}
.gd-chhead.figured>.gd-figure{--H:calc(var(--E) / var(--e,.75));top:auto;height:var(--H);width:auto;max-width:none;bottom:calc(var(--base) - (1 - var(--s,.97)) * var(--H));right:calc(var(--cx) - (1 - var(--hx,.5)) * var(--H) * var(--asp,.8));opacity:1;transform:none;filter:drop-shadow(0 10px 14px rgba(0,0,0,.6)) drop-shadow(0 0 22px rgba(var(--hl),.16))}
.gd-figure.fig-ele_full{--e:.75;--s:.965;--hx:.497;--asp:.919}
.gd-figure.fig-enh_full{--e:.68;--s:.985;--hx:.666;--asp:1.075}
.gd-figure.fig-resto_full{--e:.70;--s:.985;--hx:.501;--asp:.861}
.gd-figure.fig-ele_turn{--e:.8019;--s:.99;--hx:.4255;--asp:.9199}   /* the Ten Storms turned toward the picture, sword out at it, the shield's face showing (renders.ele_turn) */
.gd-figure.fig-resto_turn{--e:.8044;--s:.99;--hx:.4572;--asp:1.0202}   /* the Earthshatterer turned toward the picture, the Hammer held out side on (renders.resto_turn) */
.gd-figure.fig-full{--e:.825;--s:.98;--hx:.478;--asp:.773}
.gd-figure.fig-talk{--e:.74;--s:.98;--hx:.484;--asp:.724}
.gd-figure.fig-ready{--e:.77;--s:.97;--hx:.474;--asp:1.216}
.gd-figure.fig-hurl{--e:.74;--s:.99;--hx:.48;--asp:1.127}
.gd-figure.fig-elemental{--e:.70;--s:.99;--hx:.514;--asp:1.0895}
.gd-figure.fig-lineup{--e:.5653;--s:.9827;--hx:.7829;--asp:1.3209}   /* races_lineup.json: his eyes to soles, soles and head in the group */
#damage .gd-chhead.figured>.gd-figure.fig-elemental{--hx:.486;transform:scaleX(-1)}   /* the Ten Storms cast, turned to throw at the bars (the picture draws the bolt from his hand) */
/* the dark under the words only, so the rest of the picture stays lit */
.gd-chhead.figured.arted::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(680px 300px at 0 100%,rgba(8,8,10,.82) 0,rgba(8,8,10,.55) 42%,rgba(8,8,10,0) 100%)}
/* the pool he stands in and the light behind him, in his tree's colour */
.gd-chhead.figured.arted::after{--px:calc(100% - var(--cx));--py:calc(100% - var(--base));background:radial-gradient(calc(var(--E) * .74) calc(var(--E) * .12) at var(--px) var(--py),rgba(var(--hl),var(--pool,.7)) 0,rgba(var(--hl),.24) 48%,rgba(var(--hl),0) 100%),radial-gradient(calc(var(--E) * .95) calc(var(--E) * .9) at var(--px) calc(var(--py) - var(--E) * .55),rgba(var(--hl),var(--back,.24)) 0,rgba(var(--hl),.07) 55%,rgba(var(--hl),0) 100%);mix-blend-mode:screen}
.gd-chhead.figured .gd-chtext{max-width:var(--tw)}
.gd-chhead.figured .gd-chtext h2{text-wrap:balance}
/* tablets: the tablet picture, him a size smaller */
@media (min-width:641px) and (max-width:900px){
  .gd-chhead.figured{--E:212px}
  #damage .gd-chhead.figured{--cx:204px}
  #builds .gd-chhead.figured{--cx:166px}   /* "What Shamans build" runs to 452 px at 768: he stands a step right of it */
  #new .gd-chhead.figured{--E:204px;--cx:198px}   /* the ready stance a touch smaller: his sword's point clear of "since Classic" */
  #races .gd-chhead.figured{--E:160px;--cx:104px}   /* the five race icons fill the top left, the lineup a size up under them */
  #races .gd-chhead.figured .gd-chtext h2{font-size:34px;max-width:320px}   /* "Races that can / be a Shaman" in two lines, clear of the Troll's spear */
  .gd-chhead.figured.arted{background-size:auto 100%;background-position:right top}
  #new .gd-chhead.figured.arted{background-image:url(/assets/guides/shaman/art/new_t.webp?v=2add26fd)}
  #elemental .gd-chhead.figured.arted{background-image:url(/assets/guides/shaman/art/elemental_t.webp?v=4218404d)}
  #enhancement .gd-chhead.figured.arted{background-image:url(/assets/guides/shaman/art/enhancement_t.webp?v=d46941d1)}
  #restoration .gd-chhead.figured.arted{background-image:url(/assets/guides/shaman/art/restoration_t.webp?v=dc6dc086)}
  #damage .gd-chhead.figured.arted{background-image:url(/assets/guides/shaman/art/damage_t.webp?v=5c4a6f62)}
  #races .gd-chhead.figured.arted{background-image:url(/assets/guides/shaman/art/races_t.webp?v=fab5e3b3)}
  #builds .gd-chhead.figured.arted{background-image:url(/assets/guides/shaman/art/builds_t.webp?v=810dc571)}
}
/* page.css drops a head to 230 px here: a figured head keeps 340 for him, and the tablet picture scales with it (.85) */
@media (min-width:641px) and (max-width:760px){.gd-chhead.figured{min-height:340px;--E:180px;--cx:153px}#damage .gd-chhead.figured{--cx:173px}#builds .gd-chhead.figured{--cx:141px}#new .gd-chhead.figured{--E:173px;--cx:168px}#races .gd-chhead.figured{--E:128px;--cx:92px}#races .gd-chhead.figured .gd-chtext h2{font-size:30px;max-width:270px}}
/* the landing on phones: page.css keeps the eyebrow and the title clear of him; from 400 to 640 the title runs short enough that the
   lede would pass under his robe, so it keeps the same clear column; the title's column is a touch narrower so his pad stays clear
   of "Changed for" at 420 */
@media (max-width:640px){#top .gd-headtext>.gd-title{margin-right:140px}}
@media (min-width:400px) and (max-width:640px){#top .gd-headtext>.gd-lede{margin-right:160px}}
@media (min-width:881px) and (max-width:1100px){#top .gd-headtext>.gd-title{margin-right:230px;text-wrap:balance}}   /* "What changed for / Shamans since Classic": where the title would just fit one line, "Shamans" wraps rather than run into his pad */
@media (min-width:641px) and (max-width:900px){#top .gd-headtext>.gd-lede{text-wrap:balance}}   /* the lede in two even lines beside him, no lone "else." */
/* from 641 to 1100 he stands on the tally: his soles go just behind the plates' row (page.css gives it z-index 3), which cuts him
   cleanly, so the fade is only the last few pixels (behind the plate) instead of a fog over his legs */
@media (min-width:641px) and (max-width:1100px){#top .gd-hero{-webkit-mask-image:linear-gradient(to bottom,#000 90%,transparent 100%);mask-image:linear-gradient(to bottom,#000 90%,transparent 100%)}}
@media (min-width:641px) and (max-width:760px){#top .gd-hero{height:238px}}   /* the plates go two to a row here: a size down, clear of the title */
@media (min-width:1101px){#top .gd-hero{filter:drop-shadow(0 20px 30px rgba(0,0,0,.75)) drop-shadow(0 0 16px rgba(255,170,90,.2))}}   /* a warm rim: the black Earthfury would sink into the glow behind him */
@media (min-width:370px) and (max-width:389px){#top .gd-hero{height:174px}}   /* a 375 phone: him a touch smaller, "Changed" 21 px clear of his pad */
@media (max-width:369px){#top .gd-headtext>.gd-title{font-size:27px}#top .gd-hero{height:150px}}   /* the smallest phones: "Shamans" a size down and him a size down, so the two stay apart */
@media (max-width:339px){#top .gd-hero{height:134px}}
/* the Trees head has no figure: its picture keeps the three trees, each on its own painting, on the right with a calm margin round them
   (1040x230, the head that tall) over the camp at dusk; under 961 px a picture of the trees alone (trees_m.webp, its edges feathered
   into the card's colour) sits centred under the words, as large as the card allows */
#new .gd-chhead.clipped.compact .gd-subch{text-wrap:balance}   /* two even lines where it wraps, no lone "after" */
/* the compact Trees head with its player draws the trees picture the way the Mage and Warlock pages do (page.css), since 3 Oct: the
   picture is art_shaman_heads.py's, drawn for the player beside the words */
@media (max-width:640px){
  .gd-chhead.figured{--E:104px;--cx:84px;--floor:210px;min-height:0;padding-top:226px}
  #new .gd-chhead.figured{--E:104px;--cx:100px}   /* the shield's rim 15 px in from the card's edge, the sword's point 19 px from the totems' ring */
  #damage .gd-chhead.figured{--cx:98px}
  #enhancement .gd-chhead.figured{--cx:70px}
  #races .gd-chhead.figured{--E:96px;--cx:68px}   /* the horns 14 px under the tracker line */
  .gd-chhead.figured.arted{background-size:auto 232px;background-position:right top}
  #new .gd-chhead.figured.arted{background-image:url(/assets/guides/shaman/art/new_m.webp?v=e91baf77)}
  #elemental .gd-chhead.figured.arted{background-image:url(/assets/guides/shaman/art/elemental_m.webp?v=ee61eb4d)}
  #enhancement .gd-chhead.figured.arted{background-image:url(/assets/guides/shaman/art/enhancement_m.webp?v=148df5bf)}
  #restoration .gd-chhead.figured.arted{background-image:url(/assets/guides/shaman/art/restoration_m.webp?v=c47ca6c1)}
  #damage .gd-chhead.figured.arted{background-image:url(/assets/guides/shaman/art/damage_m.webp?v=6224ec3c)}
  #races .gd-chhead.figured.arted{background-image:url(/assets/guides/shaman/art/races_m.webp?v=373c610e)}
  #builds .gd-chhead.figured.arted{background-image:url(/assets/guides/shaman/art/builds_m.webp?v=dd50b78c)}
  .gd-chhead.figured>.gd-figure{top:calc(var(--floor) - var(--s,.97) * var(--H));bottom:auto}
  .gd-chhead.figured.arted::before{background:linear-gradient(to bottom,rgba(14,14,16,0) 186px,#0e0e10 232px)}
  .gd-chhead.figured.arted::after{--py:var(--floor)}
  .gd-chhead.figured .gd-chtext{max-width:none}
}
/* ==== end of heads ==== */
/* the two longest one-word titles: at 5vw "ENHANCEMENT" and "RESTORATION" ran under the player between about 961 and 1200 px; the size
   follows the words' own column (cqi), so each word fits beside the player at every desktop width */
@media (min-width:961px){#enhancement .gd-chhead.clipped .gd-chtext,#restoration .gd-chhead.clipped .gd-chtext{container-type:inline-size}#enhancement .gd-chhead.clipped h2,#restoration .gd-chhead.clipped h2{font-size:clamp(34px,4.1vw,56px);font-size:min(56px,12.2cqi)}}

/* ---- Chapter 6, Your damage and your gear (guides/shaman/damage.js, damage.widgets.js). The chapter's accent is the page gold; the
   eras keep the page's colours (Classic grey, Forever gold), damage left is red and healing left green, as the base chart draws them. ---- */
.gd-ch[data-tree="damage"]{--ac:#ffd75e}
/* a render or plate not made yet leaves no empty box (damage.widgets.js marks it) */
#damage .gd-dam-noimg{display:none!important}
#damage .gd-say.gd-dam-noface{padding-left:0}
#damage .gd-say.gd-dam-noface .gd-lead{padding-left:16px}
/* until his renders and the Camp Taurajo plates land (damage.js swaps each back by itself): the class icon for his face and where he
   stands on the yard, the Elemental tree's painting on the head's right half and behind the yard */
.gd-face.gd-dam-iconface{background:#0b0b0d}
.gd-dam-youface{position:static;display:block;margin:0 auto;transform:none}
.gd-dam-paint::after{opacity:.32;background-position:30% 55%}
.gd-dam-headart{position:absolute;top:0;bottom:0;left:40%;right:0;z-index:1;pointer-events:none;background:var(--tbg) 30% 60%/cover no-repeat;opacity:.7;-webkit-mask-image:linear-gradient(to left,#000 35%,rgba(0,0,0,.55) 65%,transparent);mask-image:linear-gradient(to left,#000 35%,rgba(0,0,0,.55) 65%,transparent)}
/* five short lines in the take, one row on a wide screen */
.gd-ch[data-tree="damage"] .gd-take ul{grid-template-columns:repeat(auto-fit,minmax(136px,1fr))}

/* the race on the yard: two lanes, Classic's bolt over Forever's, combat text over the dummy */
.gd-dam-stage .gd-lane{height:84px}
.gd-dam-stage .gd-bolt{top:6px;filter:grayscale(1) drop-shadow(0 0 7px rgba(220,220,220,.75))}
.gd-dam-stage .gd-bolt img.sm{border-color:#d6d6d6}
.gd-dam-stage .gd-bolt.lance{top:44px;filter:drop-shadow(0 0 10px rgba(255,215,94,.95))}
.gd-dam-stage .gd-bolt.lance img.sm{border-color:#ffe38a}
.gd-dam-stage.fc .gd-bolt:not(.lance),.gd-dam-stage.ff .gd-bolt.lance{animation:gdfly .5s cubic-bezier(.3,0,.7,1) forwards}
.gd-dam-lanetags{position:absolute;left:0;top:0;bottom:0;pointer-events:none}
.gd-dam-lanetags span{position:absolute;left:40px;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;text-shadow:0 1px 3px #000}
.gd-dam-lanetags .c{top:14px;color:#bdbdbd}
.gd-dam-lanetags .f{top:52px;color:#ffd75e}
.gd-dam-stage .gd-lanenote{top:auto;bottom:-14px}
.gd-dam-fcts{position:absolute;inset:0;pointer-events:none;z-index:3}
.gd-dam-zap{position:absolute;left:50%;top:38%;width:130px;height:130px;margin:-65px 0 0 -65px;border-radius:50%;background:radial-gradient(circle,rgba(240,248,255,.95) 0,rgba(150,205,255,.55) 28%,rgba(120,170,255,0) 66%);opacity:0}
.gd-dam-fct{position:absolute;display:grid;justify-items:center;line-height:1;opacity:0;transform:translateY(12px) scale(.6);transition:opacity .25s ease-out,transform .5s cubic-bezier(.2,1.5,.4,1)}
.gd-dam-fct b{font-family:"Open Sans",system-ui,sans-serif;font-weight:800;font-size:27px;letter-spacing:-.01em;font-variant-numeric:tabular-nums;text-shadow:0 0 2px #000,0 0 2px #000,0 2px 3px #000,0 0 10px rgba(0,0,0,.9)}
.gd-dam-fct small{margin-top:2px;font-size:9.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;text-shadow:0 1px 3px #000}
.gd-dam-fct.c{right:-8px;top:2%}
.gd-dam-fct.c b{color:#f2f2f2}.gd-dam-fct.c small{color:#bdbdbd}
.gd-dam-fct.f{left:-14px;top:36%}
.gd-dam-fct.f b{color:#ffd75e;font-size:23px}.gd-dam-fct.f small{color:#ffd75e}
.gd-dam-fcts.c-on .gd-dam-fct.c,.gd-dam-fcts.f-on .gd-dam-fct.f{opacity:1;transform:none}
.gd-dam-castbars{display:grid;gap:2px;margin-top:12px}
.gd-dam-castbars .gd-cast2{grid-template-columns:70px 1fr 56px}
.gd-dam-castbars .gd-cast2.forever .prog{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-dam-castbars .gd-cast2.classic .gd-slow-num output{color:#cfcfcf}
.gd-dam-ctl{flex-wrap:wrap}
.gd-dam-ctl .gd-cast{margin-left:0}
/* the scoreboard under the yard */
.gd-dam-score{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 0}
.gd-dam-cell{display:grid;align-content:start;gap:3px;padding:9px 12px 10px;border-radius:8px;border:1px solid #3a3a3a;border-left:3px solid var(--sc);background:#0b0b0d;min-width:0;--sc:#f08080}
.gd-dam-cell.good{--sc:#7ee787}
.gd-dam-cell small{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-dam-cell .c{font-size:13px;color:#9a9a9a;text-decoration:line-through;text-decoration-color:rgba(240,120,120,.65);font-variant-numeric:tabular-nums}
.gd-dam-cell .f{font-family:Cinzel,Georgia,serif;font-weight:700;font-size:20px;line-height:1.15;color:#ffd75e;font-variant-numeric:tabular-nums}
.gd-dam-cell .gd-chalk{font-size:20px;color:var(--sc);justify-self:start}
/* the card beside the yard: the lines marked cell by cell, the share as its own line */
.gd-dam-plates{grid-template-columns:1fr;gap:16px}
.gd-dam-lines{row-gap:2px}
.gd-dam-lines del,.gd-dam-share del{color:#f0a0a0;text-decoration:line-through;text-decoration-color:rgba(240,120,120,.7)}
.gd-dam-lines ins,.gd-dam-share ins{color:#9be59b;text-decoration:none;background:rgba(80,200,80,.12);border-radius:2px;padding:0 2px}
.gd-plate.forever .gd-dam-lines span.same::after{content:"";display:inline-block;width:5px;height:10px;margin-left:7px;border-right:2px solid #7ee787;border-bottom:2px solid #7ee787;transform:rotate(45deg) translateY(-2px)}
/* the share of spell power is the files' number, not the card's: under the card, behind a dashed rule, with its own label */
.gd-dam-share{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin:10px 0 0;padding-top:7px;border-top:1px dashed #3a3a3a;font-size:12.5px;color:#bdbdbd}
.gd-dam-share small{flex:none;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.gd-dam-share b{color:#e8e8e8;font-weight:600}

/* the shared base chart in this chapter (damage.widgets.js sets the sizes): a rank that went up rises from the Classic line in green,
   with room made above the line for it; one that went down hangs under it in red, as everywhere else on the page */
#damage .gd-basewrap{padding-top:calc(22px + var(--up,0px))}
#damage .gd-basebars{height:var(--dn,190px)}
#damage .gd-basebar i{position:absolute;left:0;right:0;top:0;height:var(--hp,0px)}   /* hung from the line itself: a button centres its content, which floated the short bars mid-chart */
#damage .gd-basebar.zero i{height:3px}
#damage .gd-basebar .v{top:max(6px,calc(var(--hp,0px) - 22px))}
#damage .gd-basebar.up i{top:auto;bottom:100%;margin:0 auto;border-radius:4px 4px 0 0;transform-origin:bottom;background:repeating-linear-gradient(115deg,#9be59b 0 3px,#3f9a4a 3px 6px);box-shadow:0 0 10px rgba(120,230,120,.35)}
#damage .gd-basebar.up .v{top:auto;bottom:calc(100% + max(6px,calc(var(--hp,0px) - 22px)));color:#d4f7d4}
#damage .gd-basebar.up.short .v{bottom:calc(100% + var(--hp,0px) + 3px)}
#damage .gd-basewrap.gd-dam-uplast .gd-zero span{bottom:auto;top:4px}
#damage .gd-basebar:focus-visible{outline:2px solid #ffd75e;outline-offset:2px;border-radius:4px}

/* Chain Lightning against Lightning Bolt: four bars on one scale */
.gd-dam-duel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.gd-dam-side{padding:10px 10px 12px;border-radius:10px;border:1px solid #3a3a3a;background:linear-gradient(180deg,#121214,#0b0b0d)}
.gd-dam-side.forever{border-color:#8a6d16;box-shadow:0 0 0 1px rgba(255,209,0,.14)}
.gd-dam-sidehead{display:flex;align-items:baseline;gap:8px;margin:0;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-dam-side.forever .gd-dam-sidehead{color:#ffd75e}
.gd-dam-sidehead small{letter-spacing:0;text-transform:none;font-weight:400;font-size:12px;color:var(--muted)}
.gd-dam-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.gd-dam-col{display:flex;flex-direction:column;min-width:0;padding:0 0 6px;border:1px solid transparent;border-radius:8px;background:none;font:inherit;color:var(--ink);cursor:pointer;text-align:center}
.gd-dam-col:hover,.gd-dam-col[aria-pressed="true"]{border-color:#3a3a3a;background:rgba(255,255,255,.03)}
.gd-dam-col[aria-pressed="true"]{border-color:#b8901f}
.gd-dam-col:focus-visible{outline:2px solid #ffd75e;outline-offset:2px}
.gd-dam-plot{position:relative;display:block;height:200px;margin:52px 8px 0;border-bottom:2px solid #4a4a4a}
.gd-dam-plot .gd-dam-bar,.gd-dam-plot .gd-dam-ghost{position:absolute;left:20%;right:20%;bottom:0;border-radius:4px 4px 0 0}
.gd-dam-plot .gd-dam-bar{height:var(--h);background:repeating-linear-gradient(115deg,#9a9a9a 0 3px,#5c5c5c 3px 6px);box-shadow:0 0 10px rgba(200,200,200,.12);transform-origin:bottom;transform:scaleY(0);transition:transform .8s cubic-bezier(.2,.7,.2,1) var(--d,0ms)}
.gd-dam-col.forever .gd-dam-bar{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px);box-shadow:0 0 12px rgba(255,209,0,.25)}
.gd-dam-plot .gd-dam-ghost{height:var(--g);border:1px dashed rgba(240,128,128,.65);border-bottom:0;background:rgba(240,120,120,.05);opacity:0;transition:opacity .6s calc(var(--d,0ms) + 500ms)}
.gd-dam-colnum{position:absolute;left:-6px;right:-6px;bottom:calc(var(--h) + 5px);font-size:12px;font-weight:700;line-height:1.1;color:#e8e8e8;font-variant-numeric:tabular-nums;opacity:0;transition:opacity .4s calc(var(--d,0ms) + 600ms)}
.gd-dam-col.forever .gd-dam-colnum{color:#ffd75e}
.gd-dam-bigger{position:absolute;left:50%;bottom:calc(var(--h) + 22px);font-size:22px;color:#9be59b;opacity:0;transform:translateX(-50%) rotate(-5deg) scale(.7);transition:opacity .4s calc(var(--d,0ms) + 900ms),transform .5s cubic-bezier(.2,1.5,.4,1) calc(var(--d,0ms) + 900ms)}
.gd-dam-cut{position:absolute;left:50%;bottom:calc(var(--g) + 4px);font-size:19px;color:#f08080;opacity:0;transform:translateX(-50%) rotate(-3deg);transition:opacity .5s calc(var(--d,0ms) + 700ms)}
.gd-dam-flip.drawn .gd-dam-bar{transform:scaleY(1)}
.gd-dam-flip.drawn .gd-dam-ghost,.gd-dam-flip.drawn .gd-dam-colnum,.gd-dam-flip.drawn .gd-dam-cut{opacity:1}
.gd-dam-flip.drawn .gd-dam-bigger{opacity:1;transform:translateX(-50%) rotate(-5deg)}
.gd-dam-colname{display:grid;justify-items:center;gap:2px;margin-top:8px;padding:0 2px}
.gd-dam-colname img.sm{width:30px;height:30px;border-radius:7px;border:1px solid #000}
.gd-dam-col[aria-pressed="true"] .gd-dam-colname img.sm{box-shadow:0 0 0 2px #ffd75e}
.gd-dam-colname b{font-size:12.5px;line-height:1.15;font-weight:600}
.gd-dam-colname small{font-size:11px;color:var(--muted)}
.gd-dam-read{margin:12px 0 0;min-height:3em;font-size:14px;line-height:1.5;color:var(--ink2)}

/* the gap with gear */
.gd-dam-mode{display:inline-flex;margin:12px 0 0;border:1px solid var(--line);border-radius:999px;overflow:hidden}
.gd-dam-mode button{font:inherit;font-size:13px;font-weight:700;padding:7px 14px;min-height:36px;border:0;background:#111;color:var(--ink2);cursor:pointer}
.gd-dam-mode button+button{border-left:1px solid var(--line)}
.gd-dam-mode button[aria-pressed="true"]{background:var(--gold);color:#1a1408}
.gd-dam-mode button:focus-visible{outline:2px solid #ffd75e;outline-offset:-2px}
.gd-dam-gapgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:22px;margin-top:16px;align-items:start}
.gd-dam-grow{display:grid;grid-template-columns:minmax(0,1fr) 74px;grid-template-areas:"era era" "track val";gap:5px 10px;align-items:center;margin:0 0 12px}
.gd-dam-era{grid-area:era;display:flex;align-items:center;gap:8px;min-width:0}
.gd-dam-era img.sm{flex:none;width:24px;height:24px;border-radius:5px;border:1px solid #000}
.gd-dam-era b{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#9a9a9a}
.gd-dam-grow.forever .gd-dam-era b{color:#ffd75e}
.gd-dam-era small{display:block;font-size:11.5px;color:var(--muted)}
.gd-dam-track{grid-area:track;position:relative;height:24px;border-radius:4px;background:#141414;border:1px solid #3a3a3a;overflow:hidden}
.gd-dam-track i{position:absolute;left:0;top:0;bottom:0;width:100%;transform-origin:left;transform:scaleX(0);transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.gd-dam-grow.classic .all{background:repeating-linear-gradient(115deg,rgba(200,200,200,.42) 0 3px,rgba(140,140,140,.3) 3px 6px)}
.gd-dam-grow.classic .base{background:repeating-linear-gradient(115deg,#9a9a9a 0 3px,#5c5c5c 3px 6px)}
.gd-dam-grow.forever .all{background:repeating-linear-gradient(115deg,rgba(255,227,138,.45) 0 3px,rgba(201,162,39,.3) 3px 6px)}
.gd-dam-grow.forever .base{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-dam-val{grid-area:val;font-family:Cinzel,Georgia,serif;font-size:18px;text-align:right;color:#e8e8e8;font-variant-numeric:tabular-nums;white-space:nowrap}
.gd-dam-grow.forever .gd-dam-val{color:#ffd75e}
.gd-dam-key{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0 0 12px;font-size:12px;color:var(--muted)}
.gd-dam-key span{display:inline-flex;align-items:center;gap:6px}
.gd-dam-key i{display:inline-block;width:18px;height:10px;border-radius:2px}
.gd-dam-key .base i{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-dam-key .all i{background:repeating-linear-gradient(115deg,rgba(255,227,138,.45) 0 3px,rgba(201,162,39,.3) 3px 6px)}
.gd-dam-gapread{position:relative;padding:10px 12px 12px;border-radius:8px;border:1px solid #6b2f2f;background:#0b0b0d;text-align:center}
.gd-dam-gapread .gd-big{color:#ff9a9a}
.gd-dam-other{display:block;margin-top:5px;font-size:12.5px;color:var(--ink2)}
.gd-dam-third{position:absolute;right:10px;top:8px;font-size:21px;opacity:0;transform:rotate(-4deg) translateY(4px);transition:opacity .35s,transform .35s}
.gd-dam-third.on{opacity:1;transform:rotate(-4deg)}
.gd-dam-curve{position:relative;padding:26px 0 0 42px}
.gd-dam-plotbox{position:relative;height:210px;border-left:1px solid #3a3a3a;background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(100% / var(--rows,3) - 1px),rgba(255,255,255,.07) calc(100% / var(--rows,3) - 1px),rgba(255,255,255,.07) calc(100% / var(--rows,3)))}
.gd-dam-plotbox svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.gd-dam-plotbox .area{fill:rgba(240,120,120,.12)}
.gd-dam-plotbox .line{fill:none;stroke-width:2.5;vector-effect:non-scaling-stroke;stroke-linecap:round;transition:opacity .3s}
.gd-dam-plotbox .line.cast{stroke:#ff8f8f}
.gd-dam-plotbox .line.sec{stroke:#ffb36b;stroke-dasharray:7 5}
.gd-dam-gap[data-mode="cast"] .line.sec,.gd-dam-gap[data-mode="sec"] .line.cast{opacity:.3}
.gd-dam-zero{position:absolute;left:0;right:0;top:0;border-top:2px solid #ffd75e;box-shadow:0 0 8px rgba(255,209,0,.35)}
.gd-dam-zero .gd-chalk{position:absolute;right:4px;top:-26px;font-size:20px}
.gd-dam-ylab{position:absolute;left:-42px;top:var(--y);width:36px;transform:translateY(-50%);font-size:11px;text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}
.gd-dam-hair,.gd-dam-dot{position:absolute;inset:0;pointer-events:none;transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.gd-dam-hair i{position:absolute;left:0;top:0;bottom:0;width:1px;background:rgba(255,255,255,.3)}
.gd-dam-dot i{position:absolute;left:-7px;top:-7px;width:14px;height:14px;border-radius:50%;background:#ff8f8f;border:2px solid #fff;box-shadow:0 0 12px rgba(255,120,120,.85)}
.gd-dam-gap[data-mode="sec"] .gd-dam-dot i{background:#ffb36b;box-shadow:0 0 12px rgba(255,170,90,.85)}
.gd-dam-never{position:absolute;right:8px;top:12px;font-size:18px;color:#cfcfcf}
.gd-dam-xlab{display:flex;justify-content:space-between;margin:5px -6px 0 -4px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.gd-dam-axis{margin:2px 0 0;text-align:center;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.gd-dam-sp{margin-top:0}

/* what is left of each top rank */
.gd-dam-lkey{margin:0 0 12px}
.gd-dam-lkey .dmg i{background:linear-gradient(#e05a5a,#8e2323)}
.gd-dam-lkey .heal i{background:linear-gradient(#5fe0a8,#1d8a5a)}
.gd-dam-lkey .c i{background:#141416;border:1px solid #5a5a5a}
.gd-dam-lrows{display:grid;gap:4px}
.gd-dam-lrow{display:grid;grid-template-columns:30px 180px minmax(0,1fr) 58px;align-items:center;gap:10px;width:100%;min-height:44px;padding:5px 8px;border:1px solid transparent;border-radius:8px;background:none;font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.gd-dam-lrow:hover,.gd-dam-lrow[aria-pressed="true"]{border-color:#3a3a3a;background:rgba(255,255,255,.03)}
.gd-dam-lrow[aria-pressed="true"]{border-color:#b8901f}
.gd-dam-lrow:focus-visible{outline:2px solid #ffd75e;outline-offset:1px}
.gd-dam-lrow img.sm{width:30px;height:30px;border-radius:7px;border:1px solid #000}
.gd-dam-lrow b{font-size:14px;line-height:1.2;font-weight:600}
.gd-dam-lrow b small{display:block;font-weight:400;font-size:11.5px;color:var(--muted)}
.gd-dam-ltrack{position:relative;height:22px;border-radius:3px;background:linear-gradient(#18181a,#0c0c0e);border:1px solid #5a5a5a;box-shadow:inset 0 1px 4px rgba(0,0,0,.85),0 0 0 1px #000;overflow:hidden}
.gd-dam-ltrack::after{content:"";position:absolute;left:0;right:0;top:0;height:45%;background:linear-gradient(rgba(255,255,255,.12),transparent);pointer-events:none}
.gd-dam-ltrack i{position:absolute;inset:0;transform-origin:left;transform:scaleX(0);transition:transform 1s cubic-bezier(.2,.7,.2,1)}
.gd-dam-lrow.dmg .gd-dam-ltrack i{background:linear-gradient(#e05a5a,#8e2323)}
.gd-dam-lrow.heal .gd-dam-ltrack i{background:linear-gradient(#5fe0a8,#1d8a5a)}
.gd-dam-lrows+.gd-eralabel+.gd-dam-lrows .gd-dam-ltrack i{transition-delay:.35s}
.gd-dam-left.drawn .gd-dam-ltrack i{transform:scaleX(var(--f))}
.gd-dam-ltrack em{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:11.5px;font-weight:700;color:#fff;text-shadow:0 1px 2px #000,0 0 4px #000}
.gd-dam-lrow .gd-chalk{font-size:21px;text-align:right}
.gd-dam-lrow.dmg .gd-chalk{color:#f08080}
.gd-dam-lrow.heal .gd-chalk{color:#7ee7b8}
.gd-dam-healhead{margin-top:16px;color:#62d9b8}
.gd-dam-verdict{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;margin:16px 0 0;padding:12px 14px;border-radius:10px;border:1px solid #3a3a3a;background:linear-gradient(90deg,rgba(255,209,0,.07),rgba(255,209,0,0) 70%),#0b0b0d}
.gd-dam-verdict img.sm{width:34px;height:34px;border-radius:7px;border:1px solid #000;filter:grayscale(.35)}
.gd-dam-verdict p{margin:0;font-size:15px;line-height:1.45;color:var(--ink)}
.gd-dam-untested{padding:4px 10px;border-radius:999px;border:1px solid #5a5a5a;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#bdbdbd;white-space:nowrap}

@media (max-width:900px){
  .gd-dam-gapgrid{grid-template-columns:minmax(0,1fr)}
  /* the yard needs the width: the two cards go under it, side by side while there's room */
  #damage .gd-beat:has(.gd-dam-race){grid-template-columns:minmax(0,1fr);grid-template-areas:"lead" "w" "aside"}
  #damage .gd-dam-plates{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
}
@media (max-width:760px){
  .gd-ch[data-tree="damage"] .gd-pick.basepick button{width:44px;height:44px}
  .gd-ch[data-tree="damage"] .gd-pick.basepick button img.sm{width:36px;height:36px}
  .gd-dam-ctl button,.gd-dam-mode button{min-height:44px}
  .gd-dam-mode{display:flex}.gd-dam-mode button{flex:1 1 0}
  .gd-dam-score{gap:6px}
  .gd-dam-cell{padding:8px 8px 9px}
  .gd-dam-cell .f{font-size:15px}
  .gd-dam-cell .c{font-size:12px}
  .gd-dam-cell .gd-chalk{font-size:17px}
  .gd-dam-lanetags span{left:0;font-size:9px}
  .gd-dam-lanetags .c{top:-2px}.gd-dam-lanetags .f{top:36px}
  .gd-dam-fct b{font-size:21px}.gd-dam-fct.f b{font-size:18px}
  .gd-dam-fct.c{right:-4px}.gd-dam-fct.f{left:-10px}
  .gd-dam-castbars .gd-cast2{grid-template-columns:62px 1fr}
  .gd-dam-duel{gap:8px}
  .gd-dam-side{padding:8px 4px 8px}
  .gd-dam-cols{gap:2px}
  .gd-dam-plot{height:160px;margin:50px 4px 0}
  .gd-dam-colnum{font-size:11px}
  .gd-dam-bigger{font-size:19px}
  .gd-dam-cut{font-size:17px}
  .gd-dam-colname b{font-size:11.5px}
  .gd-dam-curve{padding-left:36px}
  .gd-dam-ylab{left:-36px;width:30px}
  .gd-dam-plotbox{height:180px}
  .gd-dam-lrow{grid-template-columns:30px minmax(0,1fr) 50px;gap:4px 8px;padding:6px 6px}
  .gd-dam-lrow .gd-dam-ltrack{grid-column:1/-1;grid-row:2}
  .gd-dam-lrow .gd-chalk{font-size:18px}
  .gd-dam-verdict{grid-template-columns:30px minmax(0,1fr);gap:8px 10px}
  .gd-dam-verdict img.sm{width:30px;height:30px}
  .gd-dam-verdict p{font-size:14px}
  .gd-dam-untested{grid-column:2;justify-self:start}
}
@media (prefers-reduced-motion:reduce){
  .gd-dam-stage .gd-bolt,.gd-dam-stage.fc .gd-bolt:not(.lance),.gd-dam-stage.ff .gd-bolt.lance{animation:none;opacity:0}
  #damage .gd-basebar i{transition:none}
  .gd-dam-fct,.gd-dam-plot .gd-dam-bar,.gd-dam-plot .gd-dam-ghost,.gd-dam-colnum,.gd-dam-bigger,.gd-dam-cut,.gd-dam-track i,.gd-dam-third,.gd-dam-hair,.gd-dam-dot,.gd-dam-ltrack i,.gd-dam-plotbox .line{transition:none}
}
/* the narrowest phones: the lane is too short for its tags (the dummy covered "FOREVER"); the cast bars under the yard name both lanes (audit 3 Oct F48) */
@media (max-width:420px){.gd-dam-lanetags{display:none}}

/* ---- Elemental, chapter 3 of the Shaman's page (guides/shaman/elemental.js, elemental.widgets.js). Storm blue for the tree, lava orange
   where Lava Burst and Flame Shock burn, the Elemental tree's own painting behind the talent pieces, the yard behind the loop. ---- */
.gd-ch[data-tree="elemental"]{--ac:#86c8ff;--lava:#ff7a2e;--lava2:#ffb35a}
/* the head, until the chapter's renders and art land: the tree's painting on the right with the chapter's talents set on it */
.gd-chhead.gd-ele-head{background:radial-gradient(60% 80% at 80% 38%,rgba(134,200,255,.2),rgba(14,14,16,0) 62%),radial-gradient(42% 52% at 66% 86%,rgba(255,122,46,.18),rgba(14,14,16,0) 70%),#0b0d12}
.gd-ele-headart{position:absolute;right:0;top:0;bottom:0;width:62%;z-index:1;background:var(--tbg) 58% 40%/cover no-repeat;-webkit-mask-image:linear-gradient(to left,#000 40%,rgba(0,0,0,.55) 72%,transparent);mask-image:linear-gradient(to left,#000 40%,rgba(0,0,0,.55) 72%,transparent)}
.gd-ele-headart img{position:absolute;border-radius:12px;border:2px solid color-mix(in srgb,var(--ac) 70%,#fff);box-shadow:0 0 0 1px #000,0 10px 26px rgba(0,0,0,.7),0 0 24px color-mix(in srgb,var(--ac) 45%,transparent)}
.gd-ele-headart.bare{left:42%;right:0;width:auto;background-position:62% 50%;-webkit-mask-image:linear-gradient(to left,#000 30%,rgba(0,0,0,.6) 60%,transparent);mask-image:linear-gradient(to left,#000 30%,rgba(0,0,0,.6) 60%,transparent);opacity:.75}
.gd-ele-headart .i0{width:124px;height:124px;right:18%;top:24%;border-color:var(--lava2);box-shadow:0 0 0 1px #000,0 14px 30px rgba(0,0,0,.75),0 0 34px rgba(255,122,46,.55)}
.gd-ele-headart .i1{width:68px;height:68px;right:44%;top:13%}
.gd-ele-headart .i2{width:74px;height:74px;right:5%;top:64%}
.gd-ele-headart .i3{width:58px;height:58px;right:46%;top:62%}
.gd-ele-headart .i4{width:54px;height:54px;right:6%;top:9%}
.gd-face.gd-ele-noface{background:#0b0b0d}
span.gd-face.gd-ele-sayface{position:absolute;display:block;background-color:#0b0b0d;background-repeat:no-repeat}
/* his face, cut from the bust render while the face render is still on its way */
.gd-ele-bustface{display:block;background:#0b0b0d no-repeat 51% 16%/300% auto}
span.gd-face.gd-ele-bustface{position:absolute}
/* 1. the bottom of the tree, then and now */
.gd-ele-capera{display:inline-flex;margin:0 0 14px;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:#111}
.gd-ele-capera button{font:inherit;font-size:13px;font-weight:700;min-height:40px;padding:8px 20px;border:0;background:none;color:var(--ink2);cursor:pointer;transition:background .25s,color .25s}
.gd-ele-capera button[aria-pressed="true"]{background:var(--gold);color:#1a1408}
.gd-ele-capera button[data-era="classic"][aria-pressed="true"]{background:#9a9a9a;color:#111}
.gd-ele-capgrid{display:grid;grid-template-columns:230px minmax(0,1fr);gap:16px;align-items:stretch}
.gd-ele-socket{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:16px 10px 14px;border-radius:12px;border:1px solid #2e3a4a;overflow:hidden;background:#07090d;isolation:isolate}
.gd-ele-socket::before{content:"";position:absolute;inset:0;background:var(--tbg) 50% 65%/cover no-repeat;opacity:.6;z-index:-1}
.gd-ele-socket::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(7,9,13,.6),rgba(7,9,13,.15) 45%,rgba(7,9,13,.65));z-index:-1}
.gd-ele-row{margin:6px 0 0;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:#cfe6ff;text-shadow:0 1px 3px #000}
.gd-ele-row:first-child{margin-top:0}
.gd-ele-flip{position:relative;width:52px;height:52px;perspective:600px}
.gd-ele-flip.big{width:80px;height:80px}
.gd-ele-face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;transition:transform .75s cubic-bezier(.3,.7,.2,1)}
.gd-ele-face img.sm,.gd-ele-face .noicon{display:block;width:100%;height:100%;border-radius:10px;border:2px solid #8a8a8a;box-shadow:0 0 0 1px #000,0 8px 18px rgba(0,0,0,.6)}
.gd-ele-face.c img.sm{filter:saturate(.75)}
.gd-ele-face.f{transform:rotateY(180deg)}
.gd-ele-face.f img.sm{border-color:#ffd75e;box-shadow:0 0 0 1px #000,0 0 18px rgba(255,209,0,.35)}
.gd-ele-flip.big .gd-ele-face.f img.sm{border-color:var(--lava2);box-shadow:0 0 0 1px #000,0 0 26px rgba(255,122,46,.6)}
.gd-ele-cap[data-era="forever"] .gd-ele-face.c{transform:rotateY(-180deg)}
.gd-ele-cap[data-era="forever"] .gd-ele-face.f{transform:rotateY(0)}
.gd-ele-name{margin:0;font-size:13px;font-weight:700;text-align:center;text-shadow:0 1px 3px #000,0 0 8px #000}
.gd-ele-name .c{color:#d6d6d6}.gd-ele-name .f{color:#ffd75e}
.gd-ele-name .f,.gd-ele-row .f{display:none}
.gd-ele-cap[data-era="forever"] .gd-ele-name .c,.gd-ele-cap[data-era="forever"] .gd-ele-row .c{display:none}.gd-ele-cap[data-era="forever"] .gd-ele-name .f,.gd-ele-cap[data-era="forever"] .gd-ele-row .f{display:inline}
.gd-ele-reach{margin:6px 0 0;padding:3px 10px;border-radius:999px;background:rgba(7,9,13,.75);border:1px solid #2e3a4a;font-size:11.5px;color:var(--ink2)}
.gd-ele-capplates{display:grid;gap:16px;align-content:center}
.gd-ele-cp{position:relative;transition:opacity .45s}
.gd-ele-cp .gd-plate-lines{margin:0 0 6px}
.gd-ele-cp .gd-meta{margin:6px 2px 0;font-size:12.5px;color:var(--muted)}
.gd-ele-cap[data-era="forever"] .gd-ele-cp.c{opacity:.6}
.gd-ele-cap[data-era="classic"] .gd-ele-cp.f{opacity:.45}
.gd-ele-gonetag{color:#f0a0a0;font-weight:700}
.gd-ele-stamp{position:absolute;right:14px;top:10px;z-index:2;padding:2px 9px;border:2px solid #f08080;border-radius:6px;font-style:normal;font-size:12.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#f08080;background:rgba(24,8,8,.85);transform:rotate(-8deg) scale(.6);opacity:0;transition:opacity .35s .3s,transform .45s cubic-bezier(.2,.8,.2,1.3) .3s}
.gd-ele-cap[data-era="forever"] .gd-ele-stamp{opacity:1;transform:rotate(-8deg) scale(1)}
/* the stamp sits where the plate's rank is: the rank steps aside while it's there */
.gd-ele-cp.c .gd-plate-rank{transition:opacity .25s}
.gd-ele-cap[data-era="forever"] .gd-ele-cp.c .gd-plate-rank{opacity:0}
.gd-ele-captwin>div{transition:opacity .45s}
.gd-ele-cap[data-era="forever"] .gd-ele-captwin>.classic{opacity:.55}
.gd-ele-cap[data-era="classic"] .gd-ele-captwin>.forever{opacity:.5}
.gd-ele-captwin .forever .gd-big{color:var(--lava2)}
/* 2. Flame Shock, then Lava Burst */
.gd-ele-stage .gd-target{width:140px}
.gd-ele-stage .gd-dummyfig{height:160px}
.gd-ele-debuff{position:absolute;left:50%;top:-34px;z-index:3;display:flex;align-items:center;gap:6px;padding:3px 8px 3px 3px;border-radius:8px;background:rgba(10,10,12,.88);border:1px solid #7a4a1c;white-space:nowrap;opacity:0;transform:translate(-50%,6px) scale(.7);transition:opacity .3s,transform .35s cubic-bezier(.2,.8,.2,1.2)}
.gd-ele-debuff.on{opacity:1;transform:translate(-50%,0) scale(1)}
.gd-ele-debuff img.sm{width:24px;height:24px;border-radius:5px;border:1px solid #000}
.gd-ele-debuff .bar{display:block;width:46px;height:5px;border-radius:3px;background:#2a1a10;overflow:hidden}
.gd-ele-debuff .bar i{display:block;height:100%;background:linear-gradient(90deg,var(--lava),var(--lava2));transform-origin:left}
.gd-ele-debuff small{min-width:2.4em;font-size:11.5px;font-weight:700;color:#ffc89a;font-variant-numeric:tabular-nums}
.gd-ele-pop{position:absolute;left:50%;top:16%;z-index:4;display:flex;flex-direction:column;align-items:center;pointer-events:none;opacity:0;transform:translate(-50%,0)}
.gd-ele-pop.still{opacity:1;transform:translate(-50%,-20px)}
.gd-ele-pop b{font-family:Cinzel,Georgia,serif;font-size:32px;font-weight:700;line-height:1;color:#fff;text-shadow:0 2px 0 #000,0 0 12px rgba(0,0,0,.9)}
.gd-ele-pop.lava b{color:var(--lava2);text-shadow:0 2px 0 #000,0 0 16px rgba(255,122,46,.8)}
.gd-ele-pop.fs b{font-size:22px;color:#ffd0a0}
.gd-ele-pop .gd-chalk{margin-top:2px;font-size:21px}
.gd-ele-pop small{margin-top:2px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#e8e8e8;text-shadow:0 1px 3px #000}
.gd-ele-stage .gd-target::after{content:"";position:absolute;left:8%;right:8%;top:22%;bottom:14%;border-radius:50%;background:radial-gradient(circle,rgba(255,190,100,.8),rgba(255,90,20,0) 70%);opacity:0;pointer-events:none;z-index:2}
.gd-stage.ele-lavahit .gd-target::after{animation:eleFlash .8s ease-out}
@keyframes eleFlash{0%{opacity:0;transform:scale(.6)}25%{opacity:1;transform:scale(1.05)}100%{opacity:0;transform:scale(1.2)}}
.gd-ele-stage .gd-bolt.lance img.sm{border-color:var(--lava2);box-shadow:0 0 14px rgba(255,122,46,.8)}
.gd-ele-stage .gd-bolt{filter:drop-shadow(0 0 8px rgba(255,140,60,.9))}
.gd-ele-youface{position:static;display:block;margin:0 auto;transform:none}
.gd-ele-lavaread{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 0}
.gd-ele-lv{position:relative;padding:8px 12px 9px;border-radius:8px;border:1px solid #3a3a3a;background:rgba(11,11,13,.9);transition:border-color .3s,box-shadow .3s}
.gd-ele-lv small{display:block;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-ele-lvn{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 10px;margin-top:2px}
.gd-ele-lv b{display:block;font-family:Cinzel,Georgia,serif;font-size:24px;line-height:1.15;color:#e8e8e8;font-variant-numeric:tabular-nums}
.gd-ele-lv.with{border-color:#7a4a1c}
.gd-ele-lv.with small,.gd-ele-lv.with b{color:var(--lava2)}
.gd-ele-lv .gd-chalk{font-size:22px}
.gd-ele-lv.lit{border-color:#ffd75e;box-shadow:0 0 0 1px rgba(255,209,0,.3),0 0 18px rgba(255,209,0,.2)}
.gd-ele-lv.without.lit{border-color:#cfcfcf;box-shadow:0 0 0 1px rgba(255,255,255,.18)}
.gd-ele-bars{position:relative;z-index:2;min-height:30px;margin-top:10px}
.gd-ele-bars:empty{display:block;min-height:30px;margin-top:10px}   /* the slot stays when the bar is gone, so the buttons under it never jump (audit 3 Oct F28) */
@media (max-width:640px){.gd-ele-bars,.gd-ele-bars:empty{min-height:78px}}
.gd-ele-ctl{flex-wrap:wrap}
.gd-ele-ctl .gd-cast,.gd-ele-overctl .gd-cast{position:relative;overflow:hidden;margin-left:0;min-height:40px;padding:6px 14px 6px 8px;font-size:13.5px}
.gd-ele-ctl .gd-cast img.sm,.gd-ele-overctl .gd-cast img.sm{width:26px;height:26px;border-radius:5px}
.gd-ele-ctl .gd-ele-fs{border-color:#a45a26;background:rgba(255,122,46,.1);color:#ffc89a}
.gd-ele-ctl .gd-ele-lb{border-color:var(--lava2);background:rgba(255,122,46,.16);color:var(--lava2)}
.gd-ele-ctl .gd-cast.cool,.gd-ele-ctl .gd-cast.busy{opacity:.75}
.gd-ele-at{margin-left:8px;font-size:12.5px;color:var(--ink2);white-space:nowrap}
.gd-ele-sweep{position:absolute;inset:0;z-index:0;background:rgba(0,0,0,.55);transform-origin:right;transform:scaleX(0);pointer-events:none}
.gd-ele-cdv{position:relative;z-index:1;font-variant-numeric:tabular-nums;color:#fff}
.gd-ele-ctl .gd-cast img,.gd-ele-ctl .gd-cast{z-index:1}
/* 3. Lightning Overload */
.gd-ele-over{overflow:hidden;isolation:isolate}
.gd-ele-over::before{content:"";position:absolute;inset:0;background:var(--tbg) 30% 35%/cover no-repeat;opacity:.24;z-index:-1}
.gd-ele-over::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,14,20,.55),rgba(14,14,16,.92) 72%);z-index:-1}
.gd-ele-overhead{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.gd-ele-overhead img.sm{width:40px;height:40px;border-radius:8px;border:1px solid #000;box-shadow:0 0 0 1px var(--ac),0 0 16px color-mix(in srgb,var(--ac) 50%,transparent)}
.gd-ele-overhead b{display:block;font-size:16px;color:var(--ink)}
.gd-ele-overhead small{display:block;font-size:12px;color:var(--ac)}
.gd-ele-tip{margin-left:auto;padding:5px 10px;font-size:12px;border-style:dashed;border-color:color-mix(in srgb,var(--ac) 50%,#000);color:var(--ac)}
.gd-ele-overtop{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:14px;align-items:stretch}
.gd-ele-fctbox{position:relative;min-height:176px;border-radius:10px;border:1px solid #26303d;overflow:hidden;background:radial-gradient(70% 90% at 72% 100%,rgba(134,200,255,.16),transparent 70%),rgba(8,10,14,.78)}
.gd-ele-overfig{position:absolute;right:6%;bottom:0;height:158px;width:auto;filter:drop-shadow(0 8px 14px rgba(0,0,0,.7))}
/* the yard's plate behind the two of them (the blurred camp still, as the Flame Shock stage has it), him on the left in the Ten Storms */
.gd-ele-fctbox.me{container-type:inline-size;background:radial-gradient(70% 90% at 72% 100%,rgba(134,200,255,.16),transparent 70%),linear-gradient(to right,rgba(8,10,14,.5),rgba(8,10,14,.62)),var(--chbg,none) center 60%/cover no-repeat,#0b0b0d}
/* the two figures take a share of the box's own width (a phone, a tablet's narrow column), the numbers between them */
.gd-ele-overme{position:absolute;left:-2%;bottom:0;height:min(158px,31cqi);width:auto;max-width:none;filter:drop-shadow(0 8px 14px rgba(0,0,0,.7))}
.gd-ele-fctbox.me .gd-ele-overfig{height:min(158px,33cqi);right:2%}
.gd-ele-fctbox.me .gd-ele-fct{left:35%;right:25%;gap:min(10px,2cqi)}
.gd-ele-fctbox.me .gd-ele-fct .hit b{font-size:clamp(22px,6.2cqi,34px)}
.gd-ele-fctbox.me .gd-ele-fct .copy b{font-size:clamp(18px,4.8cqi,26px)}
.gd-ele-overcap{min-height:1.4em;margin:10px 0 0}
.gd-ele-fctbox::after{content:"";position:absolute;inset:0;background:radial-gradient(55% 75% at 74% 55%,rgba(190,225,255,.65),transparent 70%);opacity:0;pointer-events:none}
.gd-ele-fctbox.zap::after{animation:eleZap .45s ease-out}
.gd-ele-fctbox.zap2::after{animation:eleZap2 .95s ease-out}
@keyframes eleZap{0%{opacity:.75}100%{opacity:0}}
@keyframes eleZap2{0%{opacity:.8}30%{opacity:.1}48%{opacity:.75}100%{opacity:0}}
.gd-ele-fct{position:absolute;left:14px;top:12px;right:42%;z-index:2;display:flex;flex-direction:column;gap:10px}
.gd-ele-fct span{display:block}
.gd-ele-fct b{display:block;font-family:Cinzel,Georgia,serif;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
.gd-ele-fct .hit b{font-size:34px;color:#fff;text-shadow:0 2px 0 #000,0 0 14px rgba(134,200,255,.55)}
.gd-ele-fct .copy b{font-size:26px;color:var(--ac);text-shadow:0 2px 0 #000,0 0 14px color-mix(in srgb,var(--ac) 70%,transparent)}
.gd-ele-fct small{display:block;margin-top:3px;font-size:11px;letter-spacing:.06em;color:#d6e8f8;text-shadow:0 1px 3px #000}
.gd-ele-fct .copy small{color:var(--ac)}
.gd-ele-fct .idle{font-family:Caveat,cursive;font-weight:700;font-size:24px;color:#9fb8d0;transform:rotate(-2deg)}
.gd-ele-tally{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;align-content:start}
.gd-ele-tally>div{padding:8px 10px;border-radius:8px;border:1px solid #2c2c2c;background:rgba(11,11,13,.86)}
.gd-ele-tally dt{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.gd-ele-tally dd{margin:2px 0 0;font-family:Cinzel,Georgia,serif;font-size:22px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.gd-ele-tally .o,.gd-ele-tally .d{color:var(--ac)}
.gd-ele-tally .wide{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.gd-ele-tally .wide dd{color:#ffd75e}
.gd-ele-tally .wide dd.c{color:var(--ac);font-size:18px}
.gd-ele-beads{display:grid;grid-template-columns:repeat(20,minmax(0,1fr));gap:18px 5px;margin:14px 0 0;padding:16px 0 0;list-style:none}
.gd-ele-bead{position:relative;aspect-ratio:1/1;border-radius:7px;border:1px solid #3a3a3a;background:#121418}
.gd-ele-bead.empty{border-style:dashed;border-color:#2c333d;background:rgba(18,20,24,.4)}
.gd-ele-bead img.sm{display:block;width:100%;height:100%;border-radius:6px}
.gd-ele-bead.over{border-color:var(--ac);box-shadow:0 0 0 1px color-mix(in srgb,var(--ac) 60%,transparent),0 0 12px color-mix(in srgb,var(--ac) 55%,transparent)}
.gd-ele-bead .twin{position:absolute;left:50%;top:-15px;width:64%;transform:translateX(-50%);border-radius:5px;border:1px solid var(--ac);box-shadow:0 0 10px color-mix(in srgb,var(--ac) 70%,transparent)}
.gd-ele-bead .twin img.sm{border-radius:4px}
.gd-ele-overctl{flex-wrap:wrap}
.gd-ele-overctl .gd-ele-ten{padding-left:14px;border-color:color-mix(in srgb,var(--ac) 55%,#000);background:color-mix(in srgb,var(--ac) 10%,#111);color:var(--ac)}
.gd-ele-overctl .gd-ele-ten:disabled{opacity:.5;cursor:default}
/* 4. Elemental Alacrity against Lightning Mastery */
.gd-ele-lvctl output{font-family:Cinzel,Georgia,serif;font-size:18px}
.gd-ele-alrows{display:grid;gap:12px;margin:14px 0 0}
.gd-ele-alrow{padding:10px 12px;border-radius:10px;border:1px solid #3a3a3a;background:rgba(11,11,13,.86)}
.gd-ele-alrow.forever{border-color:#8a6d16;background:linear-gradient(120deg,rgba(255,209,0,.05),rgba(11,11,13,.86) 60%)}
.gd-ele-alhead{display:flex;align-items:center;gap:10px}
.gd-ele-alhead img.sm{flex:none;width:36px;height:36px;border-radius:7px;border:1px solid #000}
.gd-ele-alrow.classic .gd-ele-alhead img.sm{filter:grayscale(.55);box-shadow:0 0 0 1px #6a6a6a}
.gd-ele-alrow.forever .gd-ele-alhead img.sm{box-shadow:0 0 0 1px #ffd75e,0 0 12px rgba(255,209,0,.3)}
.gd-ele-alhead>div{min-width:0}
.gd-ele-alhead b{display:block;font-size:15px;color:var(--ink)}
.gd-ele-alhead small{display:block;font-size:11.5px;color:var(--muted)}
.gd-ele-alrow.forever .gd-ele-alhead small{color:#ffd75e}
.gd-ele-alhead .gd-pips{flex:none;margin:0 0 0 auto;align-items:center}
.gd-ele-alhead .gd-pips small{margin-left:6px;font-size:12px;color:var(--ink2)}
.gd-ele-alrow.classic .gd-pips i.on{background:#bdbdbd;border-color:#eee;box-shadow:none}
.gd-ele-alrow.forever .gd-pips i.on{background:#ffd75e;border-color:#fff1b8;box-shadow:0 0 8px rgba(255,215,94,.6)}
.gd-ele-albar{display:grid;grid-template-columns:minmax(0,1fr) 78px;grid-template-areas:"rk rk" "t s";align-items:center;gap:4px 10px;margin:10px 0 0}
.gd-ele-rk{grid-area:rk;font-size:11.5px;color:var(--muted)}
.gd-ele-ghost{grid-area:t;display:block;height:24px;border-radius:4px;transform-origin:left;transition:transform .35s cubic-bezier(.2,.7,.2,1),opacity .3s;opacity:0;background:repeating-linear-gradient(115deg,rgba(255,255,255,.16) 0 3px,rgba(255,255,255,.05) 3px 6px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.gd-ele-alrow.forever .gd-ele-ghost{background:repeating-linear-gradient(115deg,rgba(255,215,94,.22) 0 3px,rgba(255,215,94,.07) 3px 6px);box-shadow:inset 0 0 0 1px rgba(255,215,94,.4)}
.gd-ele-alrow.cut .gd-ele-ghost{opacity:1}
.gd-ele-albar .len{grid-area:t;position:relative;display:block;height:24px;border-radius:4px;overflow:hidden;transform-origin:left;transition:transform .35s cubic-bezier(.2,.7,.2,1);background:repeating-linear-gradient(115deg,#4a4a4a 0 3px,#2e2e2e 3px 6px)}
.gd-ele-alrow.forever .gd-ele-albar .len{background:repeating-linear-gradient(115deg,#6b5a1c 0 3px,#4a3d12 3px 6px)}
.gd-ele-albar .prog{position:absolute;inset:0;display:block;transform-origin:left;background:repeating-linear-gradient(115deg,#8f8f8f 0 3px,#5c5c5c 3px 6px)}
.gd-ele-alrow.forever .gd-ele-albar .prog{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-ele-sec{grid-area:s;font-family:Cinzel,Georgia,serif;font-size:20px;font-weight:700;text-align:right;color:#e8e8e8;font-variant-numeric:tabular-nums;white-space:nowrap}
.gd-ele-alrow.forever .gd-ele-sec{color:#ffd75e}
.gd-ele-also{display:flex;flex-wrap:wrap;gap:6px 16px;margin:8px 0 0;min-height:1.5em;font-size:12.5px;color:var(--ink2)}
.gd-ele-also:empty{min-height:0;margin:0}
.gd-ele-also span{display:inline-flex;align-items:center;gap:6px}
.gd-ele-also img.sm{width:18px;height:18px;border-radius:4px;border:1px solid #000}
.gd-ele-also b{color:var(--ink);font-weight:700}
.gd-ele-alac .gd-cap{min-height:2.8em}
.gd-ele-alac .gd-loopctl .gd-cast{margin-left:0;min-height:40px;padding:6px 14px 6px 8px;font-size:13.5px}
.gd-ele-alac .gd-loopctl .gd-cast img.sm{width:26px;height:26px;border-radius:5px}
.gd-ele-scale{font-family:Caveat,cursive;font-weight:700;font-size:19px;color:var(--muted);margin-left:6px}
/* 5. Earthbound against Earthbind */
.gd-ele-elane{margin:0 0 12px}
.gd-ele-elane .gd-eralabel{margin:0 0 6px}
.gd-ele-elane.forever .gd-eralabel{color:#ffd75e}
.gd-ele-field{position:relative;height:156px;border-radius:10px;border:1px solid #2c2c2c;overflow:hidden;background:radial-gradient(90% 70% at 10% 100%,rgba(92,66,30,.45),transparent 70%),linear-gradient(180deg,rgba(14,14,16,.2),rgba(60,44,24,.35)),#0e0e10}
.gd-ele-elane.forever .gd-ele-field{border-color:#5a4a1a}
.gd-ele-earth.yard .gd-ele-field{background:linear-gradient(180deg,rgba(14,14,16,.55),rgba(40,30,16,.45) 70%,rgba(14,14,16,.7)),var(--ebg) 50% 62%/cover no-repeat,#0e0e10}
.gd-ele-mark{position:absolute;bottom:3px;left:calc(46px + (100% - 72px) * var(--y) / var(--span,32));transform:translateX(-50%);font-family:Caveat,cursive;font-weight:700;font-size:15px;color:#9a9a9a;white-space:nowrap}
.gd-ele-mark::before{content:"";position:absolute;left:50%;bottom:19px;width:1px;height:132px;background:rgba(255,255,255,.07)}
.gd-ele-mark.m0{--y:0}.gd-ele-mark.m10{--y:var(--ry,10);color:#d1aa64}.gd-ele-mark.m20{--y:20}.gd-ele-mark.m30{--y:30}
.gd-ele-field.narrow .gd-ele-mark.m30{display:none}
/* a phone lane: smaller Kolkar a little further apart, so the three close ones the totem is about stay readable */
.gd-ele-field.narrow .gd-ele-foe{top:calc(10px + var(--row) * 40px)}
.gd-ele-field.narrow .gd-ele-foe .fig{height:46px;bottom:-6px}
.gd-ele-treebg::after{opacity:.3;background-position:40% 45%}
.gd-ele-ring{position:absolute;top:0;bottom:22px;left:46px;width:calc((100% - 72px) * var(--ry,10) / var(--span,32));border-right:2px dashed rgba(209,170,100,.75);background:linear-gradient(90deg,rgba(209,170,100,.05),rgba(209,170,100,.2));transform-origin:left;opacity:0}
.gd-ele-earth.dropped .gd-ele-ring{opacity:1}
.gd-ele-you{position:absolute;left:5px;top:50%;margin-top:-30px;width:36px;height:36px}
.gd-ele-you img,.gd-ele-you .gd-ele-bustface{display:block;width:36px;height:36px;border-radius:50%;object-fit:cover;border:2px solid #b8901f;box-shadow:0 0 0 2px #0b0b0d}
.gd-ele-totem{position:absolute;left:30px;top:50%;margin-top:4px;width:26px;opacity:0}
.gd-ele-totem img.sm{display:block;width:24px;height:24px;margin:0 auto;border-radius:5px;border:1px solid #000;box-shadow:0 0 0 1px #d1aa64,0 0 10px rgba(209,170,100,.6)}
.gd-ele-totem::after{content:"";display:block;width:6px;height:16px;margin:1px auto 0;border-radius:2px;background:linear-gradient(#7a5530,#2d1d10);border:1px solid #000}
.gd-ele-earth.dropped .gd-ele-totem{opacity:1}
.gd-ele-foe{position:absolute;left:-17px;top:calc(18px + var(--row) * 36px);width:34px;height:34px;z-index:2;will-change:transform}
.gd-ele-foe .tok img.sm{display:block;width:34px;height:34px;border-radius:50%;border:2px solid #b04a3a;box-shadow:0 0 0 1px #000,0 4px 10px rgba(0,0,0,.6);transition:border-color .3s,box-shadow .3s}
.gd-ele-foe .fig{position:absolute;left:50%;bottom:-10px;height:60px;width:auto;transform:translateX(-50%);filter:drop-shadow(0 4px 6px rgba(0,0,0,.7))}
.gd-ele-foe .root{position:absolute;right:-5px;bottom:-5px;z-index:1;opacity:0;transition:opacity .25s}
.gd-ele-foe.rooted .root{opacity:1}
.gd-ele-foe .root img.sm{display:block;width:17px;height:17px;border-radius:4px;border:1px solid #000;box-shadow:0 0 8px rgba(143,227,107,.8)}
.gd-ele-foe .side{position:absolute;left:100%;top:50%;margin-left:6px;transform:translateY(-50%);display:flex;flex-direction:column;gap:3px}
.gd-ele-foe .side .bar{display:block;width:34px;height:3px;border-radius:2px;background:#1a2a10;overflow:hidden;opacity:0}
.gd-ele-foe.rooted .side .bar{opacity:1}
.gd-ele-foe.held .side .bar{opacity:0}
.gd-ele-foe.held .root{opacity:.85}
.gd-ele-foe .side .bar i{display:block;height:100%;background:#8fe36b;transform-origin:left}
.gd-ele-foe .tag{white-space:nowrap;font-size:10.5px;font-weight:700;line-height:1;color:#cfcfcf;text-shadow:0 1px 2px #000,0 0 4px #000}
.gd-ele-foe.rooted .tag{color:#9be59b}.gd-ele-foe.slowed .tag{color:#e0bd78}.gd-ele-foe.there .tag{color:#f0a0a0}
.gd-ele-foe.rooted .tok img.sm{border-color:#8fe36b;box-shadow:0 0 0 1px #000,0 0 12px rgba(143,227,107,.6)}
.gd-ele-foe.slowed .tok img.sm{border-color:#d1aa64}
.gd-ele-esay{margin:6px 2px 0;min-height:1.4em;font-size:13px;color:var(--ink2)}
.gd-ele-elane.forever .gd-ele-esay{color:#ffd75e}
.gd-ele-earth .gd-cap{min-height:2.6em}
.gd-ele-earth .gd-loopctl{flex-wrap:wrap}
.gd-ele-earth .gd-loopctl .gd-cast{margin-left:0;min-height:40px;padding:6px 14px 6px 8px;font-size:13.5px}
.gd-ele-earth .gd-loopctl .gd-cast img.sm{width:26px;height:26px;border-radius:5px}
.gd-ele-earth .gd-cast:disabled{opacity:.45;cursor:default}
/* 6. the rest of the tree, a deck */
.gd-ele-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;perspective:900px}
.gd-ele-dcard{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-areas:"i n" "b b" "s s";align-items:center;align-content:start;gap:6px 10px;min-height:44px;padding:10px 12px 12px;border-radius:10px;border:1px solid var(--line);background:linear-gradient(160deg,rgba(134,200,255,.13),rgba(11,11,13,.74) 58%);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);font:inherit;text-align:left;color:var(--ink);cursor:pointer;transition:border-color .2s,box-shadow .2s}
.gd-ele-dcard img.sm{grid-area:i;width:34px;height:34px;border-radius:7px;border:1px solid #000;box-shadow:0 0 0 1px #3a3a3a}
.gd-ele-dname{grid-area:n;min-width:0;line-height:1.2}
.gd-ele-dname b{display:block;font-size:13.5px;color:var(--ink)}
.gd-ele-dname small{display:block;font-size:11px;color:var(--muted)}
.gd-ele-dcard .gd-chalk{grid-area:b;justify-self:start;font-size:21px;line-height:1.05;color:var(--ac);transform:rotate(-1.5deg)}
.gd-ele-dsub{grid-area:s;font-size:11.5px;line-height:1.35;color:var(--ink2)}
.gd-ele-dcard:hover,.gd-ele-dcard:focus-visible{border-color:color-mix(in srgb,var(--ac) 70%,#000)}
.gd-ele-dcard[aria-pressed="true"]{border-color:var(--ac);box-shadow:0 0 0 1px color-mix(in srgb,var(--ac) 50%,transparent),0 0 18px color-mix(in srgb,var(--ac) 30%,transparent)}
.gd-ele-dcard[aria-pressed="true"] img.sm{box-shadow:0 0 0 2px var(--ac)}
.gd-ele-deck{overflow:hidden;isolation:isolate}
.gd-ele-deck::before{content:"";position:absolute;inset:0;background:var(--tbg) 60% 40%/cover no-repeat;opacity:.34;z-index:-1}
.gd-ele-deck::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,14,20,.3),rgba(14,14,16,.82) 85%);z-index:-1}
.gd-ele-deck .gd-detail{margin-top:12px;max-width:none}
.gd-ele-deck .gd-detail .gd-meta{margin:8px 2px 0;font-size:12.5px;color:var(--muted)}
@media (max-width:899px){.gd-ele-cards>.gd-detail{grid-column:1/-1;margin:0}}
/* tablets and phones */
@media (max-width:960px){.gd-ele-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .gd-ele-capgrid{grid-template-columns:1fr}
  .gd-ele-socket{padding:12px 10px}
  .gd-ele-flip{width:46px;height:46px}.gd-ele-flip.big{width:68px;height:68px}
  .gd-ele-overtop{grid-template-columns:1fr}
  .gd-ele-beads{grid-template-columns:repeat(10,minmax(0,1fr))}
  .gd-ele-lavaread{grid-template-columns:1fr 1fr;gap:8px}
  .gd-ele-lv b{font-size:19px}
  .gd-ele-lv .gd-chalk{font-size:18px}
  .gd-ele-headart{width:78%;opacity:.85}
  .gd-ele-headart .i0{width:86px;height:86px;right:12%;top:18%}.gd-ele-headart .i1{width:48px;height:48px;right:46%;top:8%}.gd-ele-headart .i2{width:52px;height:52px;right:4%;top:60%}.gd-ele-headart .i3{width:42px;height:42px;right:42%;top:56%}.gd-ele-headart .i4{width:40px;height:40px;right:4%;top:6%}
}
@media (max-width:640px){
  .gd-ele-stage .gd-target{width:96px}.gd-ele-stage .gd-dummyfig{height:116px}
  .gd-ele-pop b{font-size:24px}.gd-ele-pop.fs b{font-size:18px}
  .gd-ele-debuff{top:-30px;padding:2px 6px 2px 2px}.gd-ele-debuff .bar{width:30px}
  .gd-ele-fct .hit b{font-size:28px}.gd-ele-fct .copy b{font-size:22px}
  .gd-ele-fctbox{min-height:150px}.gd-ele-overfig{height:136px;right:2%}
  .gd-ele-overme{left:-6%}.gd-ele-fctbox.me .gd-ele-fct{left:34%;right:22%}
  .gd-ele-overcap{min-height:2.8em}
  .gd-ele-pop{top:26%}.gd-ele-pop .gd-chalk{margin-top:5px}
  .gd-ele-overhead{flex-wrap:wrap}.gd-ele-tip{margin-left:50px}
  .gd-ele-albar{grid-template-columns:minmax(0,1fr) 66px}.gd-ele-sec{font-size:17px}
  .gd-ele-cards{gap:8px}.gd-ele-dcard{padding:9px 10px 10px;gap:5px 8px;grid-template-columns:28px minmax(0,1fr)}.gd-ele-dcard img.sm{width:28px;height:28px}.gd-ele-dcard .gd-chalk{font-size:18px}
  .gd-ele-field{height:150px}
  .gd-ele-foe{left:-14px;width:28px;height:28px}.gd-ele-foe .tok img.sm{width:28px;height:28px}.gd-ele-foe .side{margin-left:4px}.gd-ele-foe .tag{font-size:10px}
  .gd-ele-tally dd{font-size:19px}
  .gd-ele-capera button{padding:8px 16px}
}
@media (max-width:760px),(pointer:coarse){
  .gd-ele-capera button{min-height:44px}
  .gd-ele-ctl .gd-cast,.gd-ele-overctl .gd-cast,.gd-ele-alac .gd-loopctl .gd-cast,.gd-ele-earth .gd-loopctl .gd-cast{min-height:44px}
  .gd-ele-lava .gd-reset,.gd-ele-over .gd-reset,.gd-ele-earth .gd-reset{min-height:44px;min-width:44px}
  .gd-ele-lava .gd-rankpick button,.gd-ele-over .gd-rankpick button{min-width:44px;min-height:44px}
  .gd-ele-dcard{min-height:44px}
}
@media (prefers-reduced-motion:reduce){
  .gd-ele-face,.gd-ele-cp,.gd-ele-stamp,.gd-ele-cp.c .gd-plate-rank,.gd-ele-captwin>div,.gd-ele-debuff,.gd-ele-lv,.gd-ele-albar .len,.gd-ele-ghost,.gd-ele-foe .tok img.sm,.gd-ele-foe .root,.gd-ele-capera button,.gd-ele-dcard{transition:none}
  .gd-stage.ele-lavahit .gd-target::after,.gd-ele-fctbox.zap::after,.gd-ele-fctbox.zap2::after{animation:none}
}

/* ---- Chapter 4, Enhancement (guides/shaman/enhancement.js, enhancement.widgets.js). The chapter's amber (--ac, set in shaman.css),
   the yard behind its stage and its rage box, a WoW-style cast bar, a character sheet, and Maelstrom's blue for the stacks. Motion is
   transform and opacity only, starts when a block scrolls in, and stops under reduced motion. ---- */
.gd-ch[data-tree="enhancement"]{--mw:#8fd0ff}

/* the lead lines' portrait: his face in this chapter's look (helm off, the Warlord's Earthshaker), cut from the stage render by CSS */
span.gd-face.gd-enh-face{position:absolute;display:block;background-color:#0b0b0d;background-repeat:no-repeat}
.gd-face.gd-enh-noface{background:#0b0b0d}

/* Stormstrike on the yard: Classic or Forever, the mark on the raptor, another Shaman's bolt from the side */
.gd-enh-era,.gd-enh-where{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.gd-enh-era{margin:0 0 10px}
.gd-enh-era .gd-ctl-note{margin-right:2px}
.gd-enh-era button,.gd-enh-where button{font:inherit;font-size:13px;font-weight:700;min-height:38px;padding:6px 16px;border-radius:999px;border:1px solid var(--line);background:#111;color:var(--ink2);cursor:pointer}
.gd-enh-era button:hover,.gd-enh-where button:hover{border-color:#777;color:var(--ink)}
.gd-enh-era button[data-era="classic"][aria-pressed="true"]{background:#3a3a3a;border-color:#9a9a9a;color:#fff}
.gd-enh-era button[data-era="forever"][aria-pressed="true"],.gd-enh-where button[aria-pressed="true"]{background:var(--gold);border-color:var(--gold);color:#1a1408}
.gd-enh-storm[data-era="classic"] .gd-stagewrap{filter:saturate(.55)}
.gd-enh-storm[data-era="classic"] .gd-steptitle{color:#e2e2e2}
.gd-enh-ss .gd-target{width:132px}
.gd-enh-storm .gd-stagewrap::after{opacity:.55}
.gd-enh-storm .gd-stagewrap::before{background:linear-gradient(to right,rgba(8,8,10,.6) 0,rgba(8,8,10,.3) 55%,rgba(8,8,10,.2) 100%),linear-gradient(to top,rgba(8,8,10,.75),transparent 45%)}
/* a wide target (the raptor, facing left): the box stays narrow and the raptor reaches back over the lane toward him, never past the frame */
.gd-enh-ss.wide{--rw:min(54cqi,calc(150px * var(--tar,1.3)))}
.gd-enh-ss.wide .gd-target{width:clamp(110px,30cqi,190px);padding-right:0}
.gd-enh-ss.wide .gd-lane{z-index:3}
.gd-enh-ss.wide .gd-dummyfig{width:var(--rw);max-width:none;height:auto;margin-left:calc(100% - var(--rw))}
.gd-enh-ss.wide .gd-enh-mark{left:calc(100% - var(--rw) * .45);top:-30px}
.gd-enh-ss.wide .gd-enh-slash{left:calc(100% - var(--rw) * .62);top:30%}
.gd-enh-ss.wide .gd-enh-zap{left:calc(100% - var(--rw) * .75);top:32%}
.gd-enh-ss.wide .gd-yardlabel{margin-left:calc(100% - var(--rw));width:var(--rw)}
.gd-enh-ss.wide .gd-state{left:calc(100% - var(--rw) * .5)}
.gd-enh-ss .gd-state{top:auto;bottom:44px;right:auto;left:50%;transform:translateX(-50%) rotate(-4deg);font-size:24px;color:#ffe0b8;opacity:0;z-index:3}
.gd-enh-ss.said .gd-state{opacity:1;animation:gdenhpop .45s cubic-bezier(.2,.8,.2,1.3)}
@keyframes gdenhpop{from{opacity:0;transform:translateX(-50%) rotate(-4deg) scale(.6)}to{opacity:1;transform:translateX(-50%) rotate(-4deg)}}
.gd-enh-token{display:block;width:76px;height:76px;margin:0 auto;border-radius:50%;overflow:hidden;border:2px solid #000;box-shadow:0 0 0 2px var(--ac),0 10px 22px rgba(0,0,0,.7)}
.gd-enh-token img{display:block;width:100%;height:100%}
.gd-enh-ss.strike .gd-casterfig,.gd-enh-ss.strike .gd-enh-token{animation:gdenhlunge .6s cubic-bezier(.3,.7,.2,1)}
@keyframes gdenhlunge{0%{transform:none}35%{transform:translateX(26px) rotate(3deg)}100%{transform:none}}
.gd-enh-ss.strike .gd-dummyfig{animation:gdcritpop .55s ease-out .2s}
.gd-enh-mark{position:absolute;left:50%;top:-34px;z-index:3;display:flex;align-items:center;gap:5px;padding:3px 7px 5px 3px;border-radius:8px;background:rgba(0,0,0,.8);border:1px solid var(--ac);box-shadow:0 0 14px color-mix(in srgb,var(--ac) 55%,transparent);white-space:nowrap;opacity:0;transform:translate(-50%,6px) scale(.7);transition:opacity .3s,transform .4s cubic-bezier(.2,.8,.2,1.2)}
.gd-enh-mark.on{opacity:1;transform:translate(-50%,0)}
.gd-enh-mark img.sm{width:24px;height:24px;border-radius:5px;border:1px solid #000}
.gd-enh-mark .pips{display:inline-flex;gap:3px}
.gd-enh-mark .pips i{width:9px;height:9px;border-radius:50%;border:1px solid #555;background:#1a1a1a;transition:background .25s,border-color .25s}
.gd-enh-mark .pips i.on{background:var(--ac);border-color:#fff1dc;box-shadow:0 0 6px var(--ac)}
.gd-enh-mark small{font-size:11px;font-weight:700;letter-spacing:.04em;color:#ffe0b8}
.gd-enh-mark .clock{position:absolute;left:4px;right:4px;bottom:2px;height:2px;border-radius:1px;background:var(--ac);transform-origin:left}
.gd-enh-mark .clock.run{animation:gdenhclock var(--secs,12s) linear forwards}
@keyframes gdenhclock{from{transform:scaleX(1)}to{transform:scaleX(0)}}
.gd-enh-storm[data-era="classic"] .gd-enh-mark{border-color:#a8a8a8;box-shadow:0 0 10px rgba(200,200,200,.3)}
.gd-enh-storm[data-era="classic"] .gd-enh-mark .pips i.on{background:#e6e6e6;box-shadow:0 0 6px #fff}
.gd-enh-storm[data-era="classic"] .gd-enh-mark small{color:#e6e6e6}
.gd-enh-storm[data-era="classic"] .gd-enh-mark .clock{background:#bdbdbd}
.gd-enh-slash{position:absolute;left:50%;top:38%;z-index:2;width:120px;height:6px;margin-left:-60px;border-radius:3px;background:linear-gradient(90deg,transparent,#fff 30%,#ffd29a 62%,transparent);box-shadow:0 0 14px var(--ac);opacity:0;transform:rotate(-38deg) scaleX(.1);pointer-events:none}
.gd-enh-ss.strike .gd-enh-slash{animation:gdenhslash .55s ease-out .18s both}
@keyframes gdenhslash{0%{opacity:0;transform:rotate(-38deg) scaleX(.1)}35%{opacity:1;transform:rotate(-38deg) scaleX(1)}100%{opacity:0;transform:rotate(-38deg) scaleX(1.1)}}
.gd-enh-zap{position:absolute;left:50%;top:44%;z-index:1;width:160px;height:160px;margin:-80px 0 0 -80px;border-radius:50%;background:radial-gradient(circle,rgba(190,225,255,.8) 0,rgba(110,170,255,.35) 34%,transparent 68%);opacity:0;pointer-events:none}
.gd-enh-ss.zapped .gd-enh-zap{animation:gdenhzap .7s ease-out}
@keyframes gdenhzap{0%{opacity:0;transform:scale(.5)}25%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.25)}}
.gd-enh-ally{position:absolute;left:2%;top:-50px;z-index:2;display:flex;align-items:center;gap:6px;padding:2px 9px 2px 2px;border-radius:999px;background:rgba(0,0,0,.66);border:1px solid #4a4a4a;font-size:11px;font-weight:600;color:var(--ink2);white-space:nowrap}
.gd-enh-ally img.sm{width:24px;height:24px;border-radius:50%;border:1px solid #000}
.gd-enh-fbolt{position:absolute;left:calc(2% + 2px);top:-48px;z-index:3;opacity:0;filter:drop-shadow(0 0 8px #8fc8ff)}
.gd-enh-fbolt img.sm{display:block;width:26px;height:26px;border-radius:50%;border:1px solid #cfe8ff}
.gd-enh-ss.fbgo .gd-enh-fbolt{animation:gdenhfb .62s cubic-bezier(.3,0,.7,1) forwards}
@keyframes gdenhfb{0%{opacity:0;transform:translate(0,0) scale(.7)}15%{opacity:1;transform:translate(0,0) scale(1)}88%{opacity:1}100%{opacity:0;transform:translate(var(--dx,200px),var(--dy,40px))}}
.gd-enh-storm{container-type:inline-size}
.gd-enh-tally{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
@container (max-width:520px){.gd-enh-tally{grid-template-columns:1fr}.gd-enh-ally small{display:none}.gd-enh-ally{padding:2px}}
.gd-enh-who{display:flex;align-items:center;gap:8px;min-width:0;padding:6px 10px 6px 6px;border-radius:8px;border:1px solid #333;background:rgba(8,8,10,.78);transition:border-color .3s,box-shadow .3s}
.gd-enh-who>span{min-width:0}
.gd-enh-tally img.sm{flex:none;width:30px;height:30px;border-radius:6px;border:1px solid #000}
.gd-enh-tally small{display:block;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-enh-tally b{display:block;min-height:1.35em;font-size:14px;line-height:1.35;color:var(--ink);font-variant-numeric:tabular-nums}
.gd-enh-tally b s{margin-right:4px;font-weight:400;color:#8a8a8a;text-decoration-color:rgba(240,120,120,.8)}
.gd-enh-who.got{border-color:var(--ac);box-shadow:0 0 12px color-mix(in srgb,var(--ac) 30%,transparent)}
.gd-enh-who.got b{color:#ffd75e}
.gd-enh-who.none b{color:var(--muted);font-weight:500}
.gd-enh-ssctl{flex-wrap:wrap}
.gd-enh-ssctl .gd-cast{margin-left:0;min-height:40px;padding:6px 14px 6px 8px}
.gd-enh-ssctl .gd-cast img.sm{width:26px;height:26px}
.gd-enh-ssctl .gd-cast.friend{border-color:#4d7fa8;background:rgba(127,196,255,.08);color:#cfe8ff}
.gd-enh-yours{display:inline-flex;align-items:center;gap:6px}
.gd-enh-yours button.mine{width:44px;height:44px;min-height:0;padding:3px;border-radius:9px;border:1px solid #b8901f;background:rgba(255,209,0,.1);cursor:pointer}
.gd-enh-yours button.mine img.sm{display:block;width:36px;height:36px;border-radius:6px;border:1px solid #000}
.gd-enh-yours button.mine:hover{box-shadow:0 0 10px rgba(255,209,0,.45)}
.gd-enh-ssctl .gd-reset{margin-left:auto;min-height:40px}

/* Stormstrike over a fight */
.gd-enh-cdctl input[type=range]{max-width:420px}
.gd-enh-lanes{display:grid;gap:10px;margin:16px 0 6px}
.gd-enh-cdrow{display:grid;grid-template-columns:150px minmax(0,1fr) 46px;align-items:center;gap:12px}
.gd-enh-cdrow .lab{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-enh-cdrow.forever .lab{color:#ffd75e}
.gd-enh-cdrow .lab small{display:block;margin-top:3px;letter-spacing:0;text-transform:none;font-weight:400;font-size:12px;line-height:1.3;color:var(--muted)}
.gd-enh-cdrow .track{position:relative;height:46px;border-radius:7px;border:1px solid #2c2c2c;background:linear-gradient(#141416,#0b0b0d)}
.gd-enh-cdrow .win{position:absolute;bottom:5px;height:6px;border-radius:3px;background:linear-gradient(90deg,color-mix(in srgb,var(--ac) 60%,transparent),color-mix(in srgb,var(--ac) 10%,transparent));transform-origin:left}
.gd-enh-cdrow.classic .win{background:linear-gradient(90deg,rgba(185,185,185,.45),rgba(185,185,185,.06))}
.gd-enh-cdrow .ss{position:absolute;top:50%;z-index:2;width:30px;height:30px;margin:-18px 0 0 -2px}
.gd-enh-cdrow .ss img.sm{display:block;width:30px;height:30px;border-radius:6px;border:1px solid #000;box-shadow:0 0 0 1px var(--ac),0 0 10px color-mix(in srgb,var(--ac) 55%,transparent)}
.gd-enh-cdrow.classic .ss img.sm{box-shadow:0 0 0 1px #8a8a8a;filter:saturate(.45)}
.gd-enh-cdrow .gd-big{font-size:28px;text-align:right}
.gd-enh-cdrow.forever .gd-big{color:#ffd75e}
.gd-enh-cdrow .rg{position:absolute;left:0;right:0;bottom:-9px;height:6px}
.gd-enh-cdrow .regen{position:absolute;top:0;bottom:0;border-radius:3px;background:rgba(111,180,255,.5);box-shadow:0 0 6px rgba(111,180,255,.45);transform-origin:left}
.gd-enh-cdrow.forever .track{margin-bottom:4px}
.gd-enh-cdrow.ruler .track{height:16px;border:0;background:none}
.gd-enh-cdrow.ruler i{position:absolute;top:0;transform:translateX(-50%);font-style:normal;font-size:11px;color:var(--muted);white-space:nowrap}
.gd-enh-cdrow.ruler i:first-child{transform:none}
.gd-enh-lanes:not(.in) .ss,.gd-enh-lanes:not(.in) .win,.gd-enh-lanes:not(.in) .regen{opacity:0}
.gd-enh-lanes.in:not(.still):not(.rgonly) .ss{animation:gdenhdrop .45s cubic-bezier(.2,.8,.2,1.2) both;animation-delay:calc(var(--k) * 110ms + 150ms)}
.gd-enh-lanes.in:not(.still):not(.rgonly) .win{animation:gdenhgrow .6s ease-out both;animation-delay:calc(var(--k) * 110ms + 260ms)}
.gd-enh-lanes.in:not(.still) .regen{animation:gdenhgrow .55s ease-out both;animation-delay:calc(var(--k) * 90ms)}
@keyframes gdenhdrop{from{opacity:0;transform:translateY(-12px) scale(.8)}to{opacity:1;transform:none}}
@keyframes gdenhgrow{from{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}
.gd-enh-tog{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:4px 14px 4px 5px;border-radius:999px;border:1px solid var(--line);background:#111;font:inherit;font-size:13px;font-weight:700;color:var(--ink2);cursor:pointer}
.gd-enh-tog img.sm{width:28px;height:28px;border-radius:50%;border:1px solid #000;filter:grayscale(.6)}
.gd-enh-tog[aria-pressed="true"]{border-color:#4d8fbf;background:rgba(111,180,255,.12);color:#dff0ff;box-shadow:0 0 10px rgba(111,180,255,.3)}
.gd-enh-tog[aria-pressed="true"] img.sm{filter:none}
.gd-enh-regennote{color:#bfe0ff}
.gd-enh-sf{display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:6px 12px 6px 6px;border-radius:10px;border:1px solid #3d3322;background:linear-gradient(90deg,rgba(255,178,87,.1),rgba(12,12,14,.6) 60%);font-size:13.5px;line-height:1.4;color:var(--ink2)}
.gd-enh-sf img.sm{flex:none;width:32px;height:32px;border-radius:6px;border:1px solid #000;box-shadow:0 0 0 1px #6a5420}
.gd-enh-sf b{color:var(--ink)}
.gd-enh-flurry>.gd-eralabel{display:flex;align-items:center;gap:8px;color:#ffd29a}
.gd-enh-flurry>.gd-eralabel img.sm{width:22px;height:22px;border-radius:5px;border:1px solid #000}

/* Maelstrom Weapon: the ring, the stack count, Lightning Bolt's bar and mana */
.gd-enh-maelrow{display:grid;grid-template-columns:156px minmax(0,1fr);align-items:center;gap:24px}
.gd-enh-ring{position:relative;width:156px;height:156px}
.gd-enh-ring svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.gd-enh-ring .gd-enh-seg{fill:none;stroke:#232328;stroke-width:9;stroke-linecap:round}
.gd-enh-ring .gd-enh-lit{fill:none;stroke:var(--mw);stroke-width:9;stroke-linecap:round;opacity:0;transition:opacity .3s;transform-box:fill-box;transform-origin:center;filter:drop-shadow(0 0 5px rgba(143,208,255,.85))}
.gd-enh-ring .gd-enh-lit.on{opacity:1}
.gd-enh-ring.full .gd-enh-lit{stroke:#dff2ff}
.gd-enh-ring .swirl{position:absolute;inset:16px;border-radius:50%;background:conic-gradient(from 0deg,transparent 0,rgba(143,208,255,.32) 12%,transparent 34%,rgba(143,208,255,.22) 56%,transparent 78%);opacity:0;transition:opacity .4s}
.gd-enh-ring.live .swirl{opacity:1;animation:gdenhspin 3.6s linear infinite}
.gd-enh-ring.full .swirl{animation-duration:1.6s}
.gd-enh-ring.gd-enh-away .swirl{animation-play-state:paused}
@keyframes gdenhspin{to{transform:rotate(360deg)}}
.gd-enh-ring .core{position:absolute;left:50%;top:50%;width:66px;height:66px;margin:-33px 0 0 -33px}
.gd-enh-ring .core img.sm{display:block;width:66px;height:66px;border-radius:10px;border:1px solid #000;box-shadow:0 0 0 1px #4d7fa8,0 6px 16px rgba(0,0,0,.6)}
.gd-enh-count{position:absolute;right:-2px;bottom:-4px;font-size:24px;font-weight:800;line-height:1;color:#fff;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000,0 0 6px #000;font-variant-numeric:tabular-nums;transition:opacity .3s}
.gd-enh-count.zero{opacity:.35}
.gd-enh-bolt{min-width:0}
.gd-enh-castbar{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:8px;margin:4px 0 0}
.gd-enh-castbar .ic img.sm{display:block;width:36px;height:36px;border-radius:6px;border:1px solid #000;box-shadow:0 0 0 1px #6a5420}
.gd-enh-castbar .bar{position:relative;display:block;height:28px;border-radius:5px;border:2px solid #222;box-shadow:0 0 0 1px #6a5420,inset 0 2px 6px rgba(0,0,0,.7);background:#0a0a0c;overflow:hidden}
.gd-enh-castbar .fill{position:absolute;inset:0;transform-origin:left;background:linear-gradient(#ffe48f,#dca52b 55%,#a5741a);transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.gd-enh-castbar .cut{position:absolute;inset:0;transform-origin:right;transform:scaleX(0);background:repeating-linear-gradient(135deg,rgba(143,208,255,.5) 0 2px,transparent 2px 6px);transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.gd-enh-castbar.casting .fill{transition:none}
.gd-enh-castbar b,.gd-enh-castbar .t{position:absolute;top:0;bottom:0;z-index:2;display:flex;align-items:center;font-size:13px;color:#fff;text-shadow:0 1px 2px #000,0 0 4px #000}
.gd-enh-castbar b{left:10px}
.gd-enh-castbar .t{right:9px;font-style:normal;font-weight:700;font-variant-numeric:tabular-nums}
.gd-enh-castbar.unknown .bar{border-style:dashed;border-color:#4d7fa8}
.gd-enh-mana{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin:12px 0 0;font-size:14px;color:var(--ink2)}
.gd-enh-mana .was{color:#8a8a8a;text-decoration:line-through;text-decoration-color:rgba(240,120,120,.8)}
.gd-enh-mana .now b{font-family:Cinzel,Georgia,serif;font-size:26px;font-weight:700;color:var(--mw);font-variant-numeric:tabular-nums}
.gd-enh-mana .now.unknown b{color:var(--muted)}
.gd-enh-off{font-size:21px;color:var(--mw)}
.gd-enh-stackline{margin:8px 0 0;min-height:1.4em;font-size:13.5px;color:var(--ink2)}
.gd-enh-stackline b{color:var(--ink)}
.gd-enh-maelctl{flex-wrap:wrap}
.gd-enh-maelctl .gd-cast{margin-left:0;min-height:40px;padding:6px 14px 6px 8px}
.gd-enh-maelctl .gd-cast img.sm{width:26px;height:26px}
.gd-enh-maelctl .gd-cast.hit{border-color:#4d7fa8;background:rgba(143,208,255,.1);color:#dff0ff}
.gd-enh-maelctl .gd-cast:disabled{opacity:.5;cursor:default}
.gd-enh-maelctl .gd-rank{flex-wrap:wrap}
.gd-enh-mael .gd-cap{min-height:2.6em}

/* Intellect into power: a character sheet */
.gd-enh-sheet{container-type:inline-size;display:grid;gap:14px;margin:14px 0 0;padding:14px;border-radius:10px;border:1px solid #3d3322;background:linear-gradient(180deg,rgba(46,34,16,.5),rgba(12,12,14,.92) 70%)}
.gd-enh-stat{display:grid;grid-template-columns:40px minmax(0,1fr) auto 78px;grid-template-areas:"ic lab pk v" "ic bar bar bar";align-items:center;gap:6px 12px}
.gd-enh-stat>img.sm{grid-area:ic;align-self:start;width:40px;height:40px;border-radius:8px;border:1px solid #000;box-shadow:0 0 0 1px #4a3d22}
.gd-enh-stat>b{grid-area:lab;min-width:0;font-size:14.5px;color:var(--ink)}
.gd-enh-stat>b small{display:block;margin-top:1px;font-weight:400;font-size:12px;color:var(--muted)}
.gd-enh-stat .bar{grid-area:bar;position:relative;display:block;height:12px;border-radius:6px;border:1px solid #2c2c2c;background:#0a0a0c;overflow:hidden}
.gd-enh-stat .bar i{position:absolute;inset:0;transform-origin:left;transform:scaleX(0);transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.gd-enh-stat.int .bar i{background:linear-gradient(90deg,#2f6a9a,#8fc8ff)}
.gd-enh-stat.ap .bar i{background:linear-gradient(90deg,#9a4a16,#ffb257)}
.gd-enh-stat.sp .bar i{background:linear-gradient(90deg,#4a3a9a,#c0a8ff)}
.gd-enh-stat .v{grid-area:v;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:24px;line-height:1;text-align:right;color:#e8e8e8;font-variant-numeric:tabular-nums}
.gd-enh-stat.ap .v{color:#ffb257}.gd-enh-stat.sp .v{color:#c9b4ff}.gd-enh-stat.int .v{color:#a8d6ff}
.gd-enh-stat.off .v,.gd-enh-stat.off>b{opacity:.5}
.gd-enh-stat .gd-enh-pk{grid-area:pk;display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.gd-enh-stat .gd-enh-pk small{font-size:10px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#9a8a66;white-space:nowrap}
@container (max-width:560px){
  .gd-enh-stat{grid-template-columns:40px minmax(0,1fr) 72px;grid-template-areas:"ic lab v" "bar bar bar" "pk pk pk"}
  .gd-enh-stat .gd-enh-pk{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:4px 10px}
  .gd-enh-stat .v{font-size:21px}
}
.gd-enh-stat .gd-rankpick{margin:0}
.gd-enh-mind .gd-fine b{font-weight:600;color:var(--ink2)}

/* Rage of the Farseer: the axe, the speed, two rows of swings */
.gd-enh-ragehead{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;gap:18px;padding:12px 14px 12px 8px;border-radius:10px;border:1px solid #333;overflow:hidden;background:#0b0b0d}
.gd-enh-ragehead::before{content:"";position:absolute;inset:0;background:var(--enhstill,var(--chbg)) center 65%/cover no-repeat;opacity:.62;z-index:0}
.gd-enh-ragehead::after{content:"";position:absolute;inset:0;background:linear-gradient(to right,rgba(8,8,10,.15),rgba(8,8,10,.55) 32%,rgba(8,8,10,.86) 62%);z-index:0}
.gd-enh-ragehead>*{position:relative;z-index:1}
.gd-enh-ragefig{position:relative;display:block;height:150px;aspect-ratio:var(--ar,.77);max-width:200px}
.gd-enh-ragefig img{position:absolute;left:0;bottom:-6px;height:156px;width:auto;max-width:none;filter:drop-shadow(0 8px 14px rgba(0,0,0,.75));z-index:1}
.gd-enh-ragefig::after{content:"";position:absolute;inset:-6px;border-radius:50%;background:radial-gradient(circle at 50% 58%,rgba(255,70,40,.6),rgba(255,70,40,.12) 45%,transparent 68%);opacity:0;transition:opacity .4s;z-index:0}
.gd-enh-rage.raging .gd-enh-ragefig::after{opacity:1;animation:gdenhpulse .8s ease-in-out infinite alternate}
@keyframes gdenhpulse{from{opacity:.55;transform:scale(.94)}to{opacity:1;transform:scale(1.06)}}
.gd-enh-ragefig.icononly{width:80px;height:80px;display:grid;place-items:center}
.gd-enh-ragefig.icononly img{position:relative;z-index:1;left:auto;bottom:auto;height:72px;width:72px;transform:none;border-radius:12px;border:1px solid #000;box-shadow:0 0 0 1px #7a3020}
.gd-enh-weapon{min-width:0}
.gd-enh-weapon .gd-ctl{margin:4px 0 8px}
.gd-enh-weapon .gd-ctl output{margin-left:0;font-size:15px}
.gd-enh-axebtn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:4px 14px 4px 4px;border-radius:999px;border:1px solid var(--line);background:#111;font:inherit;text-align:left;color:var(--ink2);cursor:pointer}
.gd-enh-axebtn img.sm{width:32px;height:32px;border-radius:50%;border:1px solid #000}
.gd-enh-axebtn span{font-size:13px;font-weight:700;color:var(--ink)}
.gd-enh-axebtn small{display:block;font-weight:400;font-size:11.5px;color:var(--muted)}
.gd-enh-axebtn[aria-pressed="true"]{border-color:#b8901f;background:rgba(255,209,0,.08);box-shadow:0 0 10px rgba(255,209,0,.25)}
.gd-enh-swings{position:relative;display:grid;gap:8px;margin:16px 0 0}
.gd-enh-srow,.gd-enh-sruler{display:grid;grid-template-columns:186px minmax(0,1fr) 46px;align-items:center;gap:12px}
.gd-enh-srow .lab{display:flex;flex-wrap:wrap;align-items:center;gap:2px 7px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-enh-srow.forever .lab{color:#ff9a6a}
.gd-enh-srow .lab img.sm{width:22px;height:22px;border-radius:5px;border:1px solid #000}
.gd-enh-srow .lab small{flex-basis:100%;letter-spacing:0;text-transform:none;font-weight:400;font-size:12px;color:var(--muted)}
.gd-enh-srow .track{position:relative;height:40px;border-radius:7px;border:1px solid #2c2c2c;background:linear-gradient(#141416,#0b0b0d)}
.gd-enh-srow .track i{position:absolute;top:7px;bottom:7px;width:7px;margin-left:-1px;border-radius:3px;background:linear-gradient(#d8d8d8,#7a7a7a);transform-origin:bottom}
.gd-enh-srow.forever .track i{background:linear-gradient(#ffe0b8,#ff6a2a);box-shadow:0 0 8px rgba(255,106,42,.6)}
.gd-enh-swings.playing .track i{opacity:.22}
.gd-enh-swings.playing .track i.hit{opacity:1;animation:gdenhswing .35s cubic-bezier(.2,.8,.2,1.3)}
@keyframes gdenhswing{0%{opacity:.3;transform:scaleY(.3)}60%{transform:scaleY(1.3)}100%{opacity:1;transform:none}}
.gd-enh-srow .gd-big{font-size:28px;text-align:right}
.gd-enh-srow.forever .gd-big{color:#ff9a6a}
.gd-enh-sruler .track{position:relative;height:16px}
.gd-enh-sruler i{position:absolute;top:0;transform:translateX(-50%);font-style:normal;font-size:11px;color:var(--muted);white-space:nowrap}
.gd-enh-sruler i:first-child{transform:none}
.gd-enh-sruler i:last-child{transform:translateX(-100%)}
.gd-enh-sruler>b{font-size:11px;font-weight:400;color:var(--muted);text-align:right}
.gd-enh-head{position:absolute;top:-4px;bottom:20px;z-index:3;width:2px;margin-left:-1px;border-radius:1px;background:#fff;box-shadow:0 0 10px #fff,0 0 18px var(--ac);pointer-events:none;opacity:0}
.gd-enh-swings.playing .gd-enh-head{opacity:1}
.gd-enh-rage .gd-loopctl{flex-wrap:wrap}
.gd-enh-rage .gd-loopctl .gd-cast{margin-left:0;min-height:40px;padding:6px 14px 6px 8px;border-color:#a8442a;background:rgba(255,90,50,.1);color:#ffc0a8}
.gd-enh-rage .gd-loopctl .gd-cast img.sm{width:26px;height:26px}
.gd-enh-clock{font-variant-numeric:tabular-nums;color:var(--ink2)}

/* Improved Ghost Wolf: two cast bars to one scale, outdoors or in */
.gd-enh-wolf .gd-plates.one{grid-template-columns:minmax(0,1fr)}
.gd-enh-wolf .gd-ctl .gd-cast{margin-left:auto;min-height:40px;padding:6px 14px 6px 8px}
.gd-enh-wolf .gd-ctl .gd-cast img.sm{width:26px;height:26px}
.gd-enh-wolfbars{display:grid;gap:8px;margin:16px 0 0}
.gd-enh-wbar{display:grid;grid-template-columns:72px minmax(0,1fr) 66px 36px;align-items:center;gap:10px}
.gd-enh-wbar .era{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-enh-wbar.forever .era{color:#ffd75e}
.gd-enh-wbar .bar{position:relative;display:block;height:28px;border-radius:5px;border:2px solid #222;box-shadow:0 0 0 1px #555,inset 0 2px 6px rgba(0,0,0,.7);background:#0a0a0c;overflow:hidden}
.gd-enh-wbar.forever .bar{box-shadow:0 0 0 1px #6a5420,inset 0 2px 6px rgba(0,0,0,.7)}
.gd-enh-wbar .fill{position:absolute;left:0;top:0;bottom:0;transform-origin:left;background:linear-gradient(#e6e6e6,#a0a0a0 55%,#6a6a6a)}
.gd-enh-wbar.forever .fill{background:linear-gradient(#ffe48f,#dca52b 55%,#a5741a)}
.gd-enh-wbar .cut{position:absolute;top:0;bottom:0;right:0;background:repeating-linear-gradient(135deg,rgba(255,215,94,.35) 0 2px,transparent 2px 6px)}
.gd-enh-wbar.classic .cut{background:repeating-linear-gradient(135deg,rgba(170,170,170,.25) 0 2px,transparent 2px 6px)}
.gd-enh-wbar b{position:absolute;left:8px;top:0;bottom:0;z-index:2;display:flex;align-items:center;gap:6px;font-size:12.5px;color:#fff;text-shadow:0 1px 2px #000,0 0 4px #000;white-space:nowrap}
.gd-enh-wbar b img.sm{width:18px;height:18px;border-radius:4px;border:1px solid #000}
.gd-enh-wbar .num{font-weight:700;text-align:right;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.gd-enh-wbar.forever .num{color:#ffd75e}
.gd-enh-wbar.instant .num{font-family:Caveat,"Segoe Print",cursive;font-size:23px;line-height:1}
.gd-enh-wbar.no .bar{box-shadow:0 0 0 1px #7a2a2a,inset 0 2px 6px rgba(0,0,0,.7)}
.gd-enh-wbar.no .fill{opacity:.25}
.gd-enh-wbar.no b,.gd-enh-wbar.no .num{color:#f08080}
.gd-enh-wbar .wolf{opacity:0;transition:opacity .25s}
.gd-enh-wbar .gd-enh-ws{display:none}
.gd-enh-wbar.shifted .wolf{opacity:1}
.gd-enh-wbar .wolf img.sm{display:block;width:34px;height:34px;border-radius:50%;border:1px solid #000;box-shadow:0 0 0 1px #8fc8ff,0 0 12px rgba(143,200,255,.75)}
.gd-enh-where{margin-left:4px}
.gd-enh-both .gd-plate-era{color:#cfcfcf}

/* the tree's side: the gone two-hander talent, with him holding his axe behind it; no prerequisite arrow over the tiles here */
.gd-ch[data-tree="enhancement"] .gd-onetree .gd-links{display:none}
/* the tree beat: the trees, then the axe card, down the left; the lit tiles down the right; "in short" across the foot of both */
.gd-beat.gd-enh-treebeat{grid-template-areas:"lead lead" "w aside" "under aside" "take take";grid-template-rows:auto auto 1fr auto}
.gd-enh-treebeat>.gd-enh-under{grid-area:under;align-self:start;min-width:0}
.gd-enh-treebeat>.gd-aside>.gd-otside{margin-top:0}
.gd-enh-treebeat>.gd-take-in{margin-top:2px}
/* the axe card lies on its side under the trees where the column is wide enough for its plate beside the picture */
@media (min-width:961px){
  .gd-enh-under .gd-enh-axecard.fig{display:grid;grid-template-columns:minmax(0,250px) minmax(0,1fr);align-items:center}
  .gd-enh-under .gd-enh-axecard.fig .gd-enh-axebody{margin:0;padding:12px 14px 12px 4px}
}
.gd-enh-axecard{position:relative;border-radius:10px}
.gd-enh-axecard.fig{border:1px solid #3a3226;overflow:hidden;background:#0b0b0d}
.gd-enh-axestage{position:relative;height:236px;overflow:hidden;background:#0b0b0d}
.gd-enh-axestage::before{content:"";position:absolute;inset:0;background:var(--enhstill,var(--chbg)) center 70%/cover no-repeat;opacity:.75}
.gd-enh-axestage::after{content:"";position:absolute;inset:0;background:radial-gradient(55% 60% at 50% 70%,rgba(255,178,87,.22),transparent 70%),linear-gradient(to top,#0b0b0d 0,rgba(11,11,13,.2) 38%,rgba(11,11,13,.1) 100%)}
.gd-enh-axestage .gd-enh-axefig{position:absolute;left:50%;bottom:-30px;z-index:1;height:270px;width:auto;max-width:none;transform:translateX(-50%);filter:drop-shadow(0 10px 18px rgba(0,0,0,.7))}
.gd-enh-axestage .gd-chalk{position:absolute;right:14px;top:16px;z-index:2;font-size:26px;transform:rotate(-5deg)}
.gd-enh-axebody{position:relative;z-index:1;padding:0 12px 12px;margin-top:-18px}
.gd-enh-axecard:not(.fig) .gd-enh-axebody{padding:0;margin:0}
.gd-enh-axecard .gd-gonenote{margin:10px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink2)}

@media (max-width:760px){
  .gd-enh-cdrow{grid-template-columns:76px minmax(0,1fr) 34px;gap:8px}
  .gd-enh-cdrow .lab small{font-size:11px}
  .gd-enh-cdrow .ss{width:22px;height:22px;margin:-11px 0 0 -2px}
  .gd-enh-cdrow .ss img.sm{width:22px;height:22px;border-radius:5px}
  .gd-enh-cdrow .gd-big{font-size:22px}
  .gd-enh-maelrow{grid-template-columns:112px minmax(0,1fr);gap:14px}
  .gd-enh-ring{width:112px;height:112px}
  .gd-enh-ring .core{width:50px;height:50px;margin:-25px 0 0 -25px}
  .gd-enh-ring .core img.sm{width:50px;height:50px;border-radius:8px}
  .gd-enh-count{font-size:20px}
  .gd-enh-mana .now b{font-size:22px}
  .gd-enh-srow,.gd-enh-sruler{grid-template-columns:92px minmax(0,1fr) 34px;gap:8px}
  .gd-enh-srow .lab{font-size:10px;letter-spacing:.06em}
  .gd-enh-srow .lab img.sm{display:none}
  .gd-enh-srow .lab small{font-size:11px}
  .gd-enh-srow .track i{width:5px}
  .gd-enh-srow .gd-big{font-size:22px}
  .gd-enh-ragehead{grid-template-columns:84px minmax(0,1fr);gap:10px;padding:10px 10px 10px 4px}
  .gd-enh-ragefig{height:118px;max-width:128px}
  .gd-enh-ragefig img{height:124px}
  .gd-enh-ragefig.icononly{width:64px;height:64px}.gd-enh-ragefig.icononly img{width:58px;height:58px}
  .gd-enh-wbar{grid-template-columns:56px minmax(0,1fr) 54px 30px;gap:8px}
  .gd-enh-wbar.instant .num{font-size:19px}
  .gd-enh-wbar .wolf img.sm{width:28px;height:28px}
  .gd-enh-wolf .gd-ctl .gd-cast{margin-left:0}
  .gd-enh-axestage{height:210px}
  .gd-beat.gd-enh-treebeat{grid-template-areas:"lead" "w" "aside" "under" "take";grid-template-rows:auto}
  .gd-enh-treebeat>.gd-aside:empty{display:none}
  .gd-enh-axestage .gd-enh-axefig{height:240px}
}
@media (max-width:640px){
  .gd-enh-wbar .gd-enh-wl{display:none}.gd-enh-wbar .gd-enh-ws{display:inline}
  .gd-enh-ally small{display:none}
  .gd-enh-ally{padding:2px;top:-44px}
  .gd-enh-fbolt{top:-42px}
  .gd-enh-ss .gd-target{width:104px}
  .gd-enh-ss.wide{--rw:min(50cqi,calc(118px * var(--tar,1.3)))}
  .gd-enh-mark{top:-30px}
  .gd-enh-token{width:58px;height:58px}
  .gd-enh-tally b{font-size:13.5px}
  .gd-enh-ssctl .gd-cast{font-size:12.5px}
  .gd-enh-ssctl .gd-reset{margin-left:0}
  .gd-enh-era .gd-ctl-note{flex-basis:100%}
}
@media (pointer:coarse){
  .gd-enh-ssctl .gd-cast,.gd-enh-maelctl .gd-cast,.gd-enh-rage .gd-loopctl .gd-cast,.gd-enh-wolf .gd-ctl .gd-cast,.gd-enh-era button,.gd-enh-where button,.gd-enh-tog,.gd-enh-ssctl .gd-reset,.gd-enh-mael .gd-reset{min-height:44px}
  .gd-enh-stat .gd-rankpick button,.gd-enh-mael .gd-rankpick button,.gd-enh-wolf .gd-rankpick button{width:44px;height:44px}
  .gd-enh-yours button.mine{width:48px;height:48px}
}
@media (prefers-reduced-motion:reduce){
  .gd-enh-ss.strike .gd-casterfig,.gd-enh-ss.strike .gd-enh-token,.gd-enh-ss.strike .gd-dummyfig,.gd-enh-ss.strike .gd-enh-slash,.gd-enh-ss.zapped .gd-enh-zap,.gd-enh-ss.fbgo .gd-enh-fbolt,.gd-enh-ss.said .gd-state,.gd-enh-mark .clock.run,
  .gd-enh-lanes .ss,.gd-enh-lanes .win,.gd-enh-lanes .regen,.gd-enh-ring.live .swirl,.gd-enh-rage.raging .gd-enh-ragefig::after,.gd-enh-swings .track i.hit{animation:none!important}
  .gd-enh-mark,.gd-enh-castbar .fill,.gd-enh-castbar .cut,.gd-enh-stat .bar i,.gd-enh-ring .gd-enh-lit,.gd-enh-wbar .wolf,.gd-enh-who,.gd-enh-count{transition:none}
  .gd-enh-lanes:not(.in) .ss,.gd-enh-lanes:not(.in) .win,.gd-enh-lanes:not(.in) .regen{opacity:1}
  .gd-enh-ring .swirl{display:none}
}

/* ---- Chapter 5, Restoration (guides/shaman/restoration.js, restoration.widgets.js). Healing gets its own stage: your party in the yard at
   dusk, their unit frames, green numbers, water globes, a minimap for Mana Tide. Every class is .gd-res-* (the site's CSS owns .you, .ghost
   and friends); the chapter's accent is --ac. Motion is transform and opacity only, none of it under prefers-reduced-motion. ---- */
.gd-ch[data-tree="restoration"]{--heal:#57e389;--water:#6fc8ff}
/* the yard: the chapter's own blurred plate when it is on disk, a dusk sky over the Barrens' dirt when it is not (never a black box) */
.gd-res-wrap{border-color:color-mix(in srgb,var(--ac) 30%,#333);background:radial-gradient(70% 60% at 72% 100%,rgba(98,217,184,.18),transparent 70%),radial-gradient(60% 40% at 30% 58%,rgba(255,170,90,.18),transparent 70%),linear-gradient(180deg,#121826 0%,#262838 30%,#5c4330 56%,#2e2419 58%,#17120c 100%)}
.gd-res-wrap::before{background:linear-gradient(to right,rgba(8,8,10,.45) 0,rgba(8,8,10,.2) 60%,rgba(8,8,10,.05) 100%)}
.gd-res-wrap::after{opacity:.42}
.gd-res-stage,.gd-res-wsstage{min-height:0;padding:14px 16px}
.gd-res-ripgrid .gd-res-stage{height:100%;box-sizing:border-box;justify-content:space-between}
.gd-res-stage .gd-steptitle,.gd-res-wsstage .gd-steptitle{min-height:1.3em;margin:0 0 6px}
/* a figure with no render yet: the race's own icon in a portrait ring, standing on its shadow */
.gd-res-token{position:relative;display:block;width:78px;height:78px;margin:0 auto 14px;border-radius:50%;border:3px solid #b8901f;background:#0b0b0d;box-shadow:0 0 0 2px #000,0 10px 16px -6px rgba(0,0,0,.9),0 0 18px color-mix(in srgb,var(--ac) 35%,transparent)}
.gd-res-token img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.gd-res-token::after{content:"";position:absolute;left:10%;right:10%;bottom:-17px;height:9px;border-radius:50%;background:radial-gradient(rgba(0,0,0,.8),transparent 70%)}
.gd-res-metok{width:88px;height:88px}
/* Riptide, then Chain Heal: the yard and your party side by side */
.gd-res-ripgrid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(220px,1fr);gap:12px;align-items:stretch}
.gd-res-ripgrid>.gd-stagewrap{min-height:0}
/* a flex row that shrinks to fit: every figure keeps its own shape (contain) and stands on the same ground line (feet at the bottom) */
.gd-res-field{display:flex;align-items:flex-end;gap:12px;margin-top:30px;min-width:0}
.gd-res-me{position:relative;text-align:center;min-width:0}
.gd-res-field>.gd-res-me{flex:0 1 auto;max-width:36%}
.gd-res-me .gd-casterfig{height:170px;width:auto;max-width:100%;object-fit:contain;object-position:50% 100%}
.gd-res-lane{position:relative;flex:1 1 24px;min-width:12px;height:44px;align-self:center;border-bottom:1px dashed color-mix(in srgb,var(--ac) 40%,transparent)}
.gd-res-shot{position:absolute;left:0;top:6px;opacity:0;filter:drop-shadow(0 0 8px var(--ac))}
.gd-res-shot img.sm{display:block;width:30px;height:30px;border-radius:50%;border:1px solid color-mix(in srgb,var(--ac) 70%,#fff)}
.gd-res-allies{display:flex;align-items:flex-end;gap:10px;flex:0 1 auto;min-width:0}
.gd-res-ally{position:relative;flex:0 1 auto;min-width:0;text-align:center}
/* the Tauren, your tank and the nearest, stands tallest; the Troll and the Dwarf a step further off */
.gd-res-allyfig{display:block;height:170px;width:auto;max-width:100%;margin:0 auto;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 8px 14px rgba(0,0,0,.7))}
.gd-res-ally[data-i="1"] .gd-res-allyfig{height:150px}.gd-res-ally[data-i="2"] .gd-res-allyfig{height:134px}
.gd-res-ally[data-i="1"] .gd-res-allytok{width:72px;height:72px}.gd-res-ally[data-i="2"] .gd-res-allytok{width:66px;height:66px}
/* the tank's "your tank" hangs under its name, so the Tauren's feet stay on the same ground line as the others' */
.gd-res-field{padding-bottom:14px}
.gd-res-ally .gd-yardlabel{position:relative}
.gd-res-ally .gd-yardlabel small{position:absolute;left:50%;top:100%;margin-top:2px;transform:translateX(-50%);white-space:nowrap;font-size:10px;letter-spacing:.06em;color:color-mix(in srgb,var(--ac) 70%,#fff)}
.gd-res-halo{position:absolute;left:50%;bottom:22px;width:118px;height:118px;margin-left:-59px;border-radius:50%;background:radial-gradient(circle,rgba(87,227,137,.6),rgba(87,227,137,.14) 45%,transparent 68%);opacity:0;transform:scale(.6);pointer-events:none}
.gd-res-halo.gd-res-lit{animation:gdreshalo .9s ease-out}
@keyframes gdreshalo{0%{opacity:0;transform:scale(.5)}35%{opacity:1;transform:scale(1.05)}100%{opacity:0;transform:scale(1.2)}}
.gd-res-swirl{position:absolute;left:auto;right:4px;top:2px;z-index:2;opacity:0;transform:scale(.6);transition:opacity .35s,transform .45s cubic-bezier(.2,.8,.2,1.2)}
.gd-res-swirl img.sm{display:block;width:28px;height:28px;border-radius:7px;border:1px solid #000;box-shadow:0 0 0 1px var(--ac),0 0 14px color-mix(in srgb,var(--ac) 70%,transparent)}
.gd-res-ally.gd-res-ripon .gd-res-swirl{opacity:1;transform:none}
.gd-res-pop{position:absolute;left:50%;top:-14px;z-index:3;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:21px;color:var(--heal);text-shadow:0 0 6px rgba(0,0,0,.95),0 1px 2px #000;white-space:nowrap;opacity:0;transform:translateX(-50%);pointer-events:none}
.gd-res-pop.gd-res-go{animation:gdresfloat 1.8s ease-out forwards}
@keyframes gdresfloat{0%{opacity:0;transform:translate(-50%,8px) scale(.8)}15%{opacity:1;transform:translate(-50%,0) scale(1.08)}70%{opacity:1}100%{opacity:0;transform:translate(-50%,-34px) scale(1)}}
.gd-res-castrow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:12px;opacity:0;transition:opacity .3s}
.gd-res-castrow.gd-res-on{opacity:1}
.gd-res-castlab{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:#fff;text-shadow:0 1px 2px #000}
.gd-res-castlab img.sm{width:22px;height:22px;border-radius:5px;border:1px solid #000}
.gd-res-castbar{position:relative;height:16px;border-radius:3px;background:rgba(0,0,0,.7);border:1px solid #4a4a4a;overflow:hidden}
.gd-res-castbar i{position:absolute;inset:0;transform-origin:left;transform:scaleX(0);background:repeating-linear-gradient(115deg,#a6f3dc 0 3px,#3fb894 3px 6px)}
.gd-res-castsec{font-size:12px;font-variant-numeric:tabular-nums;color:#e8e8e8}
/* your party's frames: portrait, name, what each one has taken */
.gd-res-party{display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:0;padding:10px;border-radius:8px;border:1px solid #2c2c2c;background:rgba(8,8,10,.6)}
.gd-res-partyhead{margin:0 0 2px;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:color-mix(in srgb,var(--ac) 80%,#fff)}
.gd-res-frame{display:grid;grid-template-columns:44px minmax(0,1fr);gap:9px;align-items:center;min-width:0;padding:7px 9px;border-radius:10px;border:1px solid #3d3522;background:linear-gradient(#18150f,#0c0b09);box-shadow:inset 0 0 0 1px rgba(255,209,0,.06);transition:border-color .3s}
.gd-res-frame.gd-res-lit{border-color:color-mix(in srgb,var(--heal) 55%,#3d3522)}
.gd-res-port{display:block;width:44px;height:44px;border-radius:50%;border:2px solid #b8901f;overflow:hidden;background:#000;box-shadow:0 0 0 1px #000}
.gd-res-port img{display:block;width:100%;height:100%;object-fit:cover}
.gd-res-fbody{min-width:0}
.gd-res-fname{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;line-height:1.2;min-width:0}
.gd-res-fname b{color:var(--ink);white-space:nowrap}
.gd-res-fname small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-res-fbuff{position:relative;margin-left:auto;flex:none}
.gd-res-fbuff[hidden]{display:none}
.gd-res-fbuff img.sm{display:block;width:20px;height:20px;border-radius:4px;border:1px solid #000;box-shadow:0 0 0 1px var(--ac)}
.gd-res-fbuff i{position:absolute;left:0;right:0;bottom:-4px;height:2px;background:var(--ac);transform-origin:left}
.gd-res-hbar{position:relative;height:14px;margin:5px 0 3px;border-radius:3px;background:#070707;border:1px solid #2f2f2f;overflow:hidden}
.gd-res-hbar i{position:absolute;top:0;bottom:0;left:0;width:0;transform-origin:left;transform:scaleX(0);transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.gd-res-hbar i.gd-res-on{transform:scaleX(1)}
.gd-res-s-rt{background:linear-gradient(#7fe9cd,#2fa784)}
.gd-res-hbar .gd-res-s-hot{background:repeating-linear-gradient(115deg,rgba(127,233,205,.85) 0 3px,rgba(47,167,132,.55) 3px 6px);transition-timing-function:linear}
.gd-res-s-ch{background:linear-gradient(#7af0a2,#2c9e57)}
.gd-res-s-up{background:linear-gradient(#f2ff9e,#b5d93a);box-shadow:inset 0 0 6px rgba(255,255,255,.5)}
.gd-res-s-ghost{box-sizing:border-box;border:1px dashed rgba(242,255,158,.9);border-left:0;background:rgba(242,255,158,.1)}
.gd-res-fnum{display:flex;align-items:baseline;gap:6px;margin:0;min-width:0}
.gd-res-fnum output{flex:none;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:16px;color:var(--heal);font-variant-numeric:tabular-nums}
.gd-res-fnum small{font-size:11px;line-height:1.25;color:var(--muted);min-width:0}
.gd-res-twinlab{display:block;margin:0 0 2px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-twin>.forever .gd-res-twinlab,.gd-res-tidecol.forever .gd-res-twinlab{color:#ffd75e}
.gd-res-riptwin>div,.gd-res-wstwin>div,.gd-res-waytwin>div{min-width:0;transition:border-color .3s,box-shadow .3s}
.gd-res-riptwin>div.gd-res-lit,.gd-res-wstwin>div.gd-res-lit{border-color:var(--ac);box-shadow:0 0 16px color-mix(in srgb,var(--ac) 30%,transparent)}
.gd-res-ripfoot{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:14px;align-items:start;margin-top:4px}
.gd-res-ripfoot .gd-twin{margin-top:14px}
.gd-res-ripcard{margin-top:14px;min-width:0}
.gd-res-ctl{flex-wrap:wrap}
.gd-res-ctl .gd-cast{margin-left:0}
.gd-res-btn small{margin-left:4px;font-weight:400;font-size:11.5px;opacity:.8}
.gd-res-btn:disabled{opacity:.5;cursor:default}
.gd-res-chips{margin:10px 0 0}
.gd-res-chipline{display:inline-flex;align-items:center;gap:8px;padding:6px 10px 6px 6px;border-radius:8px;border:1px solid #444;background:rgba(11,11,13,.9);font-size:13px;color:var(--ink2)}
.gd-res-chipline.gd-res-gold{border-color:#b8901f;color:#ffd75e}
.gd-res-chipline img.sm{width:24px;height:24px;border-radius:5px;border:1px solid #000}
/* Water Shield: the globes riding you, your own frame with its mana bar */
.gd-res-wsfield{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);align-items:center;gap:18px}
.gd-res-mews{padding-top:14px}
.gd-res-orbit{position:absolute;left:50%;top:44%;width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;pointer-events:none;animation:gdresorbit 9s linear infinite}
@keyframes gdresorbit{to{transform:rotate(360deg)}}
.gd-res-away .gd-res-orbit{animation-play-state:paused}
span.gd-face.gd-res-face{position:absolute;display:block;background-color:#0b0b0d;background-repeat:no-repeat}
.gd-res-globe{position:absolute;left:50%;top:50%;width:28px;height:28px;margin:-14px 0 0 -14px;border-radius:50%;background:radial-gradient(circle at 34% 30%,#fff 0 7%,#c9efff 14%,#45a9e6 52%,#0f4f80 100%);box-shadow:0 0 14px rgba(111,200,255,.85),inset 0 -3px 6px rgba(0,20,60,.5);transform:rotate(calc(var(--g) * 120deg)) translateX(72px);transition:opacity .4s,transform .5s cubic-bezier(.2,.7,.2,1)}
.gd-res-globe.gd-res-used{opacity:0;transform:rotate(calc(var(--g) * 120deg)) translateX(72px) scale(.2)}
.gd-res-globe.gd-res-burst{animation:gdresglobe .55s ease-out}
@keyframes gdresglobe{0%{opacity:1;transform:rotate(calc(var(--g) * 120deg)) translateX(72px) scale(1)}40%{opacity:1;transform:rotate(calc(var(--g) * 120deg)) translateX(72px) scale(1.7)}100%{opacity:0;transform:rotate(calc(var(--g) * 120deg)) translateX(40px) scale(.3)}}
.gd-res-bubble{position:absolute;left:50%;top:44%;width:132px;height:132px;margin:-66px 0 0 -66px;border-radius:50%;background:radial-gradient(circle,rgba(111,200,255,0) 55%,rgba(111,200,255,.16) 70%,rgba(160,220,255,.45) 79%,rgba(111,200,255,0) 82%);box-shadow:0 0 22px rgba(111,200,255,.25);opacity:0;transform:scale(.85);transition:opacity .5s,transform .6s cubic-bezier(.2,.7,.2,1);pointer-events:none}
.gd-res-mews.gd-res-shielded .gd-res-bubble{opacity:1;transform:none}
.gd-res-hitword{position:absolute;left:8%;top:6px;z-index:3;font-size:26px;color:#ff7a66;opacity:0;pointer-events:none}
.gd-res-hitword.gd-res-crit{color:var(--heal)}
.gd-res-hitword.gd-res-go{animation:gdresup 1.7s ease-out forwards}
.gd-res-hitflash,.gd-res-critflash{position:absolute;left:50%;top:44%;width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;opacity:0;pointer-events:none}
.gd-res-hitflash{background:radial-gradient(circle,rgba(255,70,50,.6),transparent 65%)}
.gd-res-critflash{background:radial-gradient(circle,rgba(87,227,137,.65),transparent 65%)}
.gd-res-hitflash.gd-res-go,.gd-res-critflash.gd-res-go{animation:gdresflash .7s ease-out}
@keyframes gdresflash{0%{opacity:0;transform:scale(.6)}25%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.15)}}
.gd-res-pframe{position:relative;padding:12px 14px;border-radius:12px;border:1px solid #3d3522;background:rgba(10,10,12,.86);box-shadow:inset 0 0 0 1px rgba(255,209,0,.06),0 8px 22px rgba(0,0,0,.5)}
.gd-res-phead{display:flex;align-items:center;gap:12px}
.gd-res-phead .gd-res-port{flex:none;width:52px;height:52px}
/* your portrait: the head of the Restoration render (T3, helm off), so the frame matches the figure beside it */
.gd-res-portme{position:relative;overflow:hidden}
.gd-res-portme img{position:absolute;left:50%;top:-13%;width:auto;max-width:none;height:300%;transform:translateX(-50.5%)}
.gd-res-phead b{display:block;font-size:15px;color:var(--ink)}
.gd-res-buffs{display:flex;gap:8px;margin-top:5px}
.gd-res-buff{position:relative;display:block;transition:opacity .3s}
.gd-res-buff img.sm{display:block;width:30px;height:30px;border-radius:6px;border:1px solid #000;box-shadow:0 0 0 1px var(--water)}
.gd-res-buff em{position:absolute;right:-5px;bottom:-5px;min-width:16px;padding:0 3px;border-radius:4px;background:#000;border:1px solid #333;font-style:normal;font-size:11px;font-weight:700;line-height:15px;text-align:center;color:#fff}
.gd-res-buff.gd-res-off{opacity:.35}
.gd-res-buff.gd-res-nudge,.gd-res-gap.gd-res-nudge{animation:gdresnudge .4s ease-out}
@keyframes gdresnudge{0%,100%{transform:none}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.gd-res-mbar{position:relative;height:24px;margin-top:12px;border-radius:4px;background:#070b16;border:1px solid #24304a;overflow:hidden}
.gd-res-mbar i{position:absolute;inset:0;transform-origin:left;transform:scaleX(0);background:linear-gradient(#5d9bff,#1f4fb8);transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.gd-res-mbar span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12.5px;font-weight:700;color:#fff;font-variant-numeric:tabular-nums;text-shadow:0 1px 2px #000;white-space:nowrap}
.gd-res-wspop{position:absolute;right:16px;top:10px;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:18px;color:var(--water);text-shadow:0 1px 3px #000;opacity:0;pointer-events:none}
.gd-res-wspop.gd-res-go{animation:gdresup 1.6s ease-out forwards}
.gd-res-wspop small{font-size:inherit}
@keyframes gdresup{0%{opacity:0;transform:translateY(10px)}20%{opacity:1;transform:none}75%{opacity:1}100%{opacity:0;transform:translateY(-18px)}}
.gd-res-gap{display:flex;align-items:center;gap:8px;margin-top:10px;opacity:.25;transition:opacity .3s}
.gd-res-gap.gd-res-on{opacity:1}
.gd-res-gap i{flex:1;height:6px;border-radius:3px;background:var(--water);transform-origin:left;transform:scaleX(0)}
.gd-res-gap.gd-res-on i{transform:scaleX(1)}
.gd-res-gap small{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.gd-res-manactl label{font-weight:600}
.gd-res-maxin{width:110px;height:36px;padding:0 10px;border-radius:6px;border:1px solid var(--line);background:#000;color:var(--gold);font:inherit;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
.gd-res-maxin:focus-visible{outline:2px solid var(--ac);outline-offset:2px}
.gd-twin>.forever .gd-res-wsper{color:var(--water)}
/* Mindfulness: a cast bar, six drops of regen, what keeps falling into your mana */
.gd-res-mindhead{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px}
.gd-res-mindhead img.sm{width:30px;height:30px;border-radius:6px;border:1px solid #000;box-shadow:0 0 0 1px var(--ac)}
.gd-res-mindhead b{font-size:16px;color:var(--ink)}
.gd-res-mindhead .gd-rankpick{margin-left:4px}
.gd-res-tides{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.gd-res-tidecol{min-width:0;padding:12px 12px 14px;border-radius:8px;border:1px solid #3a3a3a;background:#0b0b0d;text-align:center}
.gd-res-tidecol.forever{border-color:#8a6d16;background:radial-gradient(90% 70% at 50% 100%,rgba(74,140,255,.14),transparent 70%),#0b0b0d}
.gd-res-cbar{position:relative;height:24px;margin:8px 0 0;border-radius:4px;background:#111;border:1px solid #3a3a3a;overflow:hidden}
.gd-res-cbar i{position:absolute;inset:0;transform-origin:left;background:repeating-linear-gradient(115deg,#8f8f8f 0 3px,#5c5c5c 3px 6px)}
.forever .gd-res-cbar i{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-res-cbar b{position:absolute;left:6px;top:0;bottom:0;display:flex;align-items:center;gap:6px;font-size:11.5px;color:#fff;text-shadow:0 1px 2px #000;white-space:nowrap}
.gd-res-cbar b img.sm{width:18px;height:18px;border-radius:4px;border:1px solid #000}
.gd-res-cbar small{position:absolute;right:6px;top:0;bottom:0;display:flex;align-items:center;font-size:11px;font-weight:700;color:#fff;text-shadow:0 1px 2px #000}
.gd-res-mind.gd-res-run .gd-res-cbar i{animation:gdrescast var(--cast,3s) linear}
@keyframes gdrescast{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.gd-res-dropslab{margin:12px 0 0;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.gd-res-drops{display:flex;justify-content:center;gap:22px;height:74px;padding-top:12px;box-sizing:border-box}
.gd-res-drops i{display:block;width:24px;height:24px;border-radius:0 50% 50% 50%;transform:rotate(45deg);background:#1c2230;border:1px solid #3a4560}
.classic .gd-res-drops i{background:#18191d;border:1px dashed #4a4a4a}
.forever .gd-res-drops i.gd-res-on{background:radial-gradient(circle at 35% 35%,#e3f4ff 0 12%,#5aa8ff 45%,#1f4fb8 100%);border-color:#8cc4ff;box-shadow:0 0 12px rgba(90,168,255,.65)}
.gd-res-mind.gd-res-run .forever .gd-res-drops i.gd-res-on{animation:gdresdrip var(--cast,3s) ease-in calc(var(--k) * var(--cast,3s) / 9) both}
@keyframes gdresdrip{0%{transform:translateY(0) rotate(45deg);opacity:1}72%{transform:translateY(28px) rotate(45deg);opacity:1}100%{transform:translateY(36px) rotate(45deg);opacity:0}}
.gd-res-pool{position:relative;height:16px;max-width:260px;margin:0 auto 10px;border-radius:5px;background:#070b16;border:1px solid #24304a;overflow:hidden}
.gd-res-pool i{position:absolute;inset:0;transform-origin:left;transform:scaleX(0);background:linear-gradient(#5d9bff,#1f4fb8)}
.gd-res-pool small{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:rgba(255,255,255,.8);text-shadow:0 1px 2px #000}
.forever .gd-res-pool i{transform:scaleX(var(--lit,0));transition:transform .5s}
.gd-res-mind.gd-res-run .forever .gd-res-pool i{animation:gdrespool var(--cast,3s) linear}
@keyframes gdrespool{from{transform:scaleX(0)}to{transform:scaleX(var(--lit,0))}}
.gd-res-tidecol .gd-big{color:#bdbdbd}
.gd-res-tidecol.forever .gd-big{color:#ffd75e}
.gd-res-tidecol .gd-under{min-height:2.6em}
/* Healing Way: four waves, Classic beside Forever */
.gd-res-way .gd-plates{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.gd-res-wayctl{gap:8px 10px}
.gd-res-wayctl .gd-cast{margin-left:6px}
.gd-res-waves{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:6px}
.gd-res-wave{min-width:0;text-align:center;opacity:.4;transition:opacity .4s}
.gd-res-wave.gd-res-on{opacity:1}
.gd-res-wbars{position:relative;display:flex;justify-content:center;align-items:flex-end;gap:6px;height:180px;padding-top:34px;border-bottom:1px solid #3a3a3a;box-sizing:border-box}
.gd-res-wbars>div{position:relative;width:34px;height:100%}
.gd-res-wbars i{position:absolute;left:0;right:0;bottom:0;height:100%;transform-origin:bottom;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.gd-res-wbase{transform:scaleY(var(--b,0));border-radius:3px 3px 0 0;background:repeating-linear-gradient(115deg,#8f8f8f 0 3px,#5c5c5c 3px 6px)}
.gd-res-wf .gd-res-wbase{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-res-wbonus{transform:translateY(calc(-100% * var(--b,0))) scaleY(var(--u,0));border-radius:3px 3px 0 0;background:#e9e9e9;box-shadow:0 0 10px rgba(255,255,255,.35)}
.gd-res-wf .gd-res-wbonus{background:#fff3b0;box-shadow:0 0 12px rgba(255,215,94,.6)}
.gd-res-wbars span{position:absolute;left:-14px;right:-14px;top:0;bottom:0;transform:translateY(calc(-100% * var(--t,0)));transition:transform .6s cubic-bezier(.2,.7,.2,1);pointer-events:none}
.gd-res-wbars em{position:absolute;left:0;right:0;bottom:3px;font-style:normal;font-size:11.5px;font-weight:700;line-height:1.1;color:#cfcfcf;font-variant-numeric:tabular-nums;white-space:nowrap}
.gd-res-wf em{color:#ffd75e}
.gd-res-wbars em small{display:block;font-size:10px;font-weight:600;opacity:.85}
.gd-res-wbars em b{font-weight:inherit}.gd-res-wbars .gd-res-short{display:none}
.gd-res-wave:not(.gd-res-on) .gd-res-wbars span{opacity:0}
.gd-res-wpips{display:flex;justify-content:center;gap:4px;min-height:10px;margin:7px 0 2px}
.gd-res-wpips i{width:9px;height:9px;border-radius:50%;border:1px solid #666;background:#161616}
.gd-res-wpips i.gd-res-on{background:#cfcfcf;border-color:#fff;box-shadow:0 0 6px rgba(255,255,255,.4)}
/* a stack that was only a roll (1 or 2 points in Classic): half lit, dashed */
.gd-res-wpips i.gd-res-maybe{background:linear-gradient(to top,#a8a8a8 50%,#161616 50%);border:1px dashed #d8d8d8}
.gd-res-wave>small{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
/* Mana Tide from above: a round minimap */
.gd-res-tidebox{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:center}
.gd-res-map{position:relative;width:100%;max-width:380px;aspect-ratio:1/1;margin:0 auto;border-radius:50%;border:7px solid #4b3d22;background:radial-gradient(18% 14% at 28% 30%,rgba(120,140,70,.22),transparent 70%),radial-gradient(22% 16% at 72% 66%,rgba(120,140,70,.18),transparent 70%),radial-gradient(14% 20% at 70% 24%,rgba(0,0,0,.18),transparent 70%),radial-gradient(20% 12% at 30% 74%,rgba(0,0,0,.16),transparent 70%),radial-gradient(circle at 50% 50%,#4a3d29 0,#3a3020 45%,#272016 78%,#1a150e 100%);box-shadow:0 0 0 2px #000,inset 0 0 0 2px rgba(0,0,0,.6),inset 0 0 34px rgba(0,0,0,.8),0 10px 24px rgba(0,0,0,.6)}
.gd-res-ring{position:absolute;left:50%;top:50%;border-radius:50%;transform:translate(-50%,-50%);transition:opacity .4s}
.gd-res-rf{width:92%;height:92%;border:2px solid color-mix(in srgb,var(--ac) 80%,#fff);background:rgba(98,217,184,.07)}
.gd-res-rc{width:calc(92% * var(--cy) / var(--fy));height:calc(92% * var(--cy) / var(--fy));border:2px dashed #a8a8a8;background:rgba(200,200,200,.04)}
.gd-res-ring b{position:absolute;left:50%;top:0;transform:translate(-50%,-50%) rotate(-3deg);font-size:18px;padding:0 4px;background:rgba(26,21,14,.85);border-radius:4px}
.gd-res-rc b{color:#cfcfcf;top:auto;bottom:0;transform:translate(-50%,50%) rotate(-3deg)}
.gd-res-rf b{color:color-mix(in srgb,var(--ac) 70%,#fff)}
.gd-res-map[data-era="classic"] .gd-res-rf{opacity:.28}
.gd-res-map[data-era="forever"] .gd-res-rc{opacity:.45}
.gd-res-pulse{position:absolute;left:50%;top:50%;width:92%;height:92%;border-radius:50%;border:3px solid rgba(111,200,255,.95);box-shadow:0 0 18px rgba(111,200,255,.6),inset 0 0 18px rgba(111,200,255,.35);opacity:0;transform:translate(-50%,-50%) scale(.05);pointer-events:none}
.gd-res-totem{position:absolute;left:50%;top:50%;z-index:2;transform:translate(-50%,-50%)}
.gd-res-totem img.sm{display:block;width:32px;height:32px;border-radius:8px;border:1px solid #000;box-shadow:0 0 0 2px var(--water),0 0 16px rgba(111,200,255,.75)}
.gd-res-totem.gd-res-go{animation:gdresdrop .5s cubic-bezier(.2,.8,.2,1.3)}
@keyframes gdresdrop{0%{transform:translate(-50%,-90%) scale(.6);opacity:0}100%{transform:translate(-50%,-50%) scale(1);opacity:1}}
.gd-res-tok{position:absolute;z-index:2;display:flex;flex-direction:column;align-items:center;gap:3px;transform:translate(-50%,-50%)}
.gd-res-tok img{display:block;width:40px;height:40px;border-radius:50%;border:2px solid #b8901f;box-shadow:0 0 0 1px #000,0 4px 10px rgba(0,0,0,.7);transition:filter .4s}
.gd-res-tok small{display:grid;justify-items:center;font-size:10.5px;font-weight:700;line-height:1.2;color:#fff;white-space:nowrap;text-shadow:0 1px 2px #000,0 0 6px #000}
.gd-res-tok small b{font-weight:700}
/* you stand at the totem: it drops at your feet */
.gd-res-tokme{left:calc(50% - 36px);top:calc(50% + 6px)}
.gd-res-tokme>img,.gd-res-tokface{width:34px;height:34px;border-color:color-mix(in srgb,var(--ac) 80%,#fff)}
.gd-res-tok .gd-res-tokface{display:block;box-sizing:border-box;border-radius:50%;border:2px solid color-mix(in srgb,var(--ac) 80%,#fff);background:#000;box-shadow:0 0 0 1px #000,0 4px 10px rgba(0,0,0,.7)}
.gd-res-tok .gd-res-tokface img{width:auto;height:300%;border:0;border-radius:0;box-shadow:none}
.gd-res-tok img{object-fit:cover}
.gd-res-tok.gd-res-out img{filter:grayscale(1) brightness(.6)}
.gd-res-tok.gd-res-out small{color:#f0a0a0}
.gd-res-tok.gd-res-out small::after{content:"out of reach"}
.gd-res-tpop{position:absolute;left:50%;top:-16px;font-style:normal;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:15px;color:var(--water);text-shadow:0 1px 2px #000,0 0 6px #000;white-space:nowrap;opacity:0;pointer-events:none;transform:translateX(-50%)}
.gd-res-tpop.gd-res-go{animation:gdresfloat 1s ease-out forwards}
/* the three take their mana beside their token, so a rising number never crosses a neighbour's name; yours rises above you */
.gd-res-tokally .gd-res-tpop{left:100%;top:0;margin-left:3px;transform:none}
.gd-res-tokally .gd-res-tpop.gd-res-go{animation-name:gdresside}
@keyframes gdresside{0%{opacity:0;transform:translate(0,6px) scale(.8)}15%{opacity:1;transform:translate(2px,0) scale(1.06)}70%{opacity:1}100%{opacity:0;transform:translate(4px,-18px)}}
.gd-res-tideside{min-width:0}
.gd-res-era{display:inline-flex;border-radius:999px;border:1px solid var(--line);overflow:hidden;background:#111}
.gd-res-era button{font:inherit;font-size:13px;font-weight:700;min-height:38px;padding:6px 16px;border:0;background:none;color:var(--ink2);cursor:pointer}
.gd-res-era button[aria-pressed="true"]{background:var(--ac);color:#0b1712}
.gd-res-era button[data-era="classic"][aria-pressed="true"]{background:#cfcfcf;color:#111}
.gd-res-era button:focus-visible{outline:2px solid #fff;outline-offset:-3px}
.gd-res-rankrow{display:flex;align-items:center;gap:4px;margin-top:12px}
.gd-res-rankrow .gd-rankpick{margin-left:4px}
.gd-res-tiderows{display:grid;gap:6px;margin-top:12px}
.gd-res-trow{display:grid;grid-template-columns:62px minmax(0,1fr) 96px;align-items:center;gap:8px;opacity:.7;transition:opacity .3s}
.gd-res-trow.gd-res-here{opacity:1}
.gd-res-trow span{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-res-tf span{color:#ffd75e}
.gd-res-trow i{display:block;height:16px;border-radius:3px;background:#141414;border:1px solid #3a3a3a;overflow:hidden}
.gd-res-trow b{display:block;height:100%;transform-origin:left;transform:scaleX(0);transition:transform .5s cubic-bezier(.2,.7,.2,1);background:repeating-linear-gradient(115deg,#8f8f8f 0 3px,#5c5c5c 3px 6px)}
.gd-res-tf b{background:repeating-linear-gradient(115deg,#9fdcff 0 3px,#3f8fd0 3px 6px)}
.gd-res-trow output{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;color:#cfcfcf;white-space:nowrap}
.gd-res-tf output{color:#9fdcff}
.gd-res-tidesum{margin:12px 0 0;font-size:14px;line-height:1.5;color:var(--ink2)}
.gd-res-tidesum b{color:var(--ink)}
.gd-res-rowmove{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:12px 0 0}
.gd-res-rowmove img.sm{width:26px;height:26px;border-radius:6px;border:1px solid #000}
.gd-res-rowmove small{flex:1 1 100%;font-size:12.5px;color:var(--muted)}
.gd-res-tideside .gd-res-b-drop{margin:14px 0 0}
/* the tree's small print, beside it */
/* the tree beat: the trees, then the three cards, down the left; the lit tiles down the right; "in short" across the foot of both */
.gd-beat.gd-res-treebeat{grid-template-areas:"lead lead" "w aside" "under aside" "take take";grid-template-rows:auto auto 1fr auto}
.gd-res-treebeat>.gd-res-under{grid-area:under;align-self:start;min-width:0}
.gd-res-treebeat>.gd-aside>.gd-otside{margin-top:0}
.gd-res-treebeat>.gd-take-in{margin-top:2px}
.gd-res-notes{display:grid;gap:10px}
.gd-res-note{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:start;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:rgba(20,20,22,.88)}
.gd-res-note>img{width:36px;height:36px;border-radius:7px;border:1px solid #000;box-shadow:0 0 0 1px #3a3a3a}
.gd-res-note h4{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 4px;font-size:14px;color:var(--ink)}
.gd-res-note h4 .gd-rc:first-of-type{margin-left:4px}
.gd-res-note p{margin:0;font-size:13.5px;line-height:1.45;color:var(--ink2)}
.gd-res-note p b{color:var(--ink)}
.gd-res-note.gd-res-gone{border-color:#5a2a2a}
.gd-res-note.gd-res-gone>img{filter:grayscale(.6)}
@media (max-width:960px){
  .gd-res-ripgrid{grid-template-columns:1fr}
  .gd-res-party{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .gd-res-partyhead{grid-column:1/-1}
  .gd-res-tidebox{grid-template-columns:1fr}
  .gd-res-map{max-width:340px}
  .gd-res-ripfoot{grid-template-columns:1fr;gap:0}
}
@media (max-width:760px){
  .gd-beat.gd-res-treebeat{grid-template-areas:"lead" "w" "aside" "under" "take";grid-template-rows:auto}
  .gd-res-treebeat>.gd-aside:empty{display:none}
  .gd-res-stage,.gd-res-wsstage{padding:12px 10px}
  .gd-res-field{gap:6px}
  .gd-res-lane{display:none}
  .gd-res-field>.gd-res-me{max-width:34%}
  .gd-res-field .gd-casterfig{height:112px}
  .gd-res-allies{gap:4px;margin-left:auto}
  .gd-res-allyfig{height:110px}
  .gd-res-ally[data-i="1"] .gd-res-allyfig{height:98px}.gd-res-ally[data-i="2"] .gd-res-allyfig{height:88px}
  .gd-res-ally .gd-yardlabel{font-size:10px;letter-spacing:.06em}
  .gd-res-token{width:56px;height:56px;border-width:2px}
  .gd-res-ally[data-i="1"] .gd-res-allytok{width:52px;height:52px}.gd-res-ally[data-i="2"] .gd-res-allytok{width:48px;height:48px}
  .gd-res-metok{width:64px;height:64px}
  .gd-res-halo{width:90px;height:90px;margin-left:-45px}
  .gd-res-pop{font-size:17px}
  .gd-res-party{display:flex;padding:8px}
  .gd-res-frame{grid-template-columns:38px minmax(0,1fr);padding:6px 8px}
  .gd-res-port{width:38px;height:38px}
  .gd-res-ripfoot{grid-template-columns:1fr;gap:0}
  .gd-res-tides{gap:8px}
  .gd-res-tidecol{padding:10px 8px 12px}
  .gd-res-cbar b{font-size:10.5px}.gd-res-cbar b img.sm{display:none}
  .gd-res-drops{gap:8px;height:62px}.gd-res-drops i{width:15px;height:15px}
  .gd-res-btn small{display:none}
  .gd-res-riptwin .gd-big,.gd-res-wstwin .gd-big,.gd-res-waytwin .gd-big{font-size:21px}
  .gd-res-waves{gap:4px}
  .gd-res-wbars{gap:3px;height:160px}
  .gd-res-wbars>div{width:27px}
  .gd-res-wbars em{font-size:10px}
  .gd-res-wbars span{left:-10px;right:-10px}
  .gd-res-wbars .gd-res-long{display:none}.gd-res-wbars .gd-res-short{display:inline}
  .gd-res-map{max-width:330px;border-width:5px}
  .gd-res-tok img{width:34px;height:34px}
  .gd-res-trow{grid-template-columns:56px minmax(0,1fr) 84px}
}
/* Water Shield in a narrow box (a phone, or beside its card at tablet width): the figure column narrows and your frame keeps its room */
.gd-res-ws{container-type:inline-size}
@container (max-width:560px){
  .gd-res-wsfield{grid-template-columns:minmax(0,120px) minmax(0,1fr);gap:10px}
  .gd-res-wsfield .gd-casterfig{height:124px}
  .gd-res-orbit,.gd-res-hitflash,.gd-res-critflash{width:116px;height:116px;margin:-58px 0 0 -58px}
  .gd-res-bubble{width:100px;height:100px;margin:-50px 0 0 -50px}
  .gd-res-hitword{font-size:21px;left:0}
  .gd-res-globe{width:20px;height:20px;margin:-10px 0 0 -10px;transform:rotate(calc(var(--g) * 120deg)) translateX(54px)}
  .gd-res-globe.gd-res-used{transform:rotate(calc(var(--g) * 120deg)) translateX(54px) scale(.2)}
  .gd-res-pframe{padding:10px}
  .gd-res-phead{gap:8px}.gd-res-phead .gd-res-port{width:40px;height:40px}
  .gd-res-mbar span{font-size:11.5px}
  .gd-res-wspop{top:12px;right:10px;font-size:17px}
  .gd-res-wspop small{display:none}
}
@media (max-width:760px),(pointer:coarse){
  .gd-w .gd-res-btn,.gd-loopctl .gd-res-btn,.gd-res-era button{min-height:44px}
  .gd-res-mind .gd-rankpick button,.gd-res-way .gd-rankpick button,.gd-res-tide .gd-rankpick button{width:44px;height:44px}
  .gd-res-maxin{height:44px}
}
@media (prefers-reduced-motion:reduce){
  .gd-res-orbit{animation:none}
  .gd-res-halo.gd-res-lit,.gd-res-hitflash.gd-res-go,.gd-res-critflash.gd-res-go,.gd-res-globe.gd-res-burst,.gd-res-totem.gd-res-go,.gd-res-buff.gd-res-nudge,.gd-res-gap.gd-res-nudge{animation:none}
  .gd-res-pop.gd-res-go,.gd-res-tpop.gd-res-go,.gd-res-wspop.gd-res-go,.gd-res-hitword.gd-res-go{animation:none;opacity:1}
  .gd-res-bubble{transition:none}
  .gd-res-pop.gd-res-go{transform:translate(-50%,-10px)}
  .gd-res-tpop.gd-res-go{transform:translate(-50%,-4px)}
  .gd-res-tokally .gd-res-tpop.gd-res-go{transform:none}
  .gd-res-swirl,.gd-res-hbar i,.gd-res-mbar i,.gd-res-globe,.gd-res-wbars i,.gd-res-wbars span,.gd-res-trow b,.gd-res-ring,.gd-res-tok img,.forever .gd-res-pool i,.gd-res-castrow,.gd-res-gap,.gd-res-wave,.gd-res-frame{transition:none}
  .gd-res-riptwin>div,.gd-res-wstwin>div,.gd-res-waytwin>div,.gd-res-trow{transition:none}
}

/* ---- What's new, chapter 1 of the Shaman's page (guides/shaman.js wrote it, guides/shaman.widgets.js runs the Totem Bar): the Totem Bar on
   the camp's yard and the buff totems' chart. Every class here is .gd-tb*, so nothing meets an older rule; the server joins this file after
   guides/shaman.css. The yard is the chapters' own stage (page.css .gd-stagewrap: the blurred camp plate behind, the same dark wash), with
   his standing render at the Flame Shock stage's size and his soles on the ground line, and the title in the flow above a field of fixed
   height, so a title on two lines never runs over him. Motion is transform and opacity only, and off under reduced motion. ---- */
.gd-tbar{--ac:#86c8ff}
.gd-tbar [data-el="earth"]{--ec:#d1aa64}.gd-tbar [data-el="fire"]{--ec:#ff8a4c}.gd-tbar [data-el="water"]{--ec:#6fc8ff}.gd-tbar [data-el="air"]{--ec:#dfe9ff}
/* the saved set: four chips; a long name takes a second line before it is ever cut */
.gd-tbslots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px}
.gd-tbslot{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:10px;border:1px solid var(--line);background:#111;min-width:0}
.gd-tbslot img.sm{flex:none;width:34px;height:34px;border-radius:8px;border:1px solid #000;box-shadow:0 0 0 1px var(--ec)}
.gd-tbslot>span{min-width:0}
.gd-tbslot small{display:block;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--ec);font-weight:700}
.gd-tbslot b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12.5px;line-height:1.2;color:var(--ink)}
/* the yard. The field's numbers: --g the ground line above the field's foot, --near and --far the two marks (the far one held inside the
   yard on a narrow screen), --hw half the row of four, so the row centres on its mark */
.gd-tbstage{justify-content:flex-start;min-height:0}
.gd-tbstage .gd-steptitle{min-height:1.3em}
.gd-tbfield{position:relative;overflow:clip;overflow-clip-margin:8px;height:206px;--g:46px;--near:max(30%,236px);--far:min(84%,calc(100% - 118px));--hw:98px}
.gd-tbground{position:absolute;left:0;right:0;bottom:var(--g);height:0;border-top:1px dashed rgba(255,255,255,.26)}
.gd-tbmark{position:absolute;top:7px;transform:translateX(-50%);font-family:Caveat,cursive;font-weight:700;font-size:19px;line-height:1.1;color:#cfcfcf;text-shadow:0 1px 3px #000;white-space:nowrap}
.gd-tbmark.near{left:var(--near)}.gd-tbmark.far{left:var(--far)}
.gd-tbmark.far::before{content:"";position:absolute;left:50%;top:-7px;width:1px;height:7px;background:rgba(255,255,255,.4)}
/* his soles sit 2% above the render's foot (shaman.css .fig-full --s), so the figure stands 3 px into the line; YOU sits on the marks' line */
.gd-tbcaster{position:absolute;left:4px;bottom:calc(var(--g) - 3px)}
.gd-tbcaster .gd-yardlabel{position:absolute;left:0;right:0;top:calc(100% + 12px);margin:0}
.gd-tbyou{display:block;width:34px;height:64px;margin:0 auto;border-radius:17px 17px 6px 6px;background:linear-gradient(#2c3a52,#141b26);border:1px solid #000;box-shadow:0 0 0 1px #3a4a66}
/* the four totems on their posts; Totemic Projection slides the row by transform, from the near mark to the far one (the row's box is
   the field's width, so the field clips at the stage's own padding and the slid box never widens the yard) */
.gd-tbtotems{position:absolute;left:0;right:0;bottom:var(--g);display:flex;align-items:flex-end;gap:12px;padding-left:calc(var(--near) - var(--hw));pointer-events:none;transition:transform 1s cubic-bezier(.2,.7,.2,1)}
.gd-tbyard.far .gd-tbtotems{transform:translateX(calc(var(--far) - var(--near)))}
.gd-tbtotem{position:relative;flex:none;width:40px;opacity:0;transform:translateY(18px);transition:opacity .35s ease-out,transform .5s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--i) * 90ms)}
.gd-tbtotem img.sm{position:relative;z-index:1;display:block;width:36px;height:36px;margin:0 auto;border-radius:7px;border:1px solid #000;box-shadow:0 0 0 1px var(--ec),0 0 14px color-mix(in srgb,var(--ec) 55%,transparent)}
.gd-tbtotem::after{content:"";position:relative;z-index:1;display:block;width:10px;height:42px;margin:2px auto 0;border-radius:3px 3px 1px 1px;background:linear-gradient(#7a5530,#2d1d10);border:1px solid #000}
.gd-tbtotem::before{content:"";position:absolute;left:50%;bottom:-4px;width:30px;height:8px;margin-left:-15px;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.6),rgba(0,0,0,0))}
.gd-tbyard.up .gd-tbtotem{opacity:1;transform:none}
.gd-tbyard.down .gd-tbtotem{opacity:0;transform:translateY(18px);transition-delay:calc(var(--i) * 60ms)}
/* the mana chip rises where the totems were picked up */
.gd-tbchip{position:absolute;left:var(--near);bottom:calc(var(--g) + 104px);transform:translate(-50%,10px);opacity:0;transition:opacity .4s,transform .6s cubic-bezier(.2,.7,.2,1);pointer-events:none;white-space:nowrap;font-size:13px}
.gd-tbchip.far{left:var(--far)}
.gd-tbchip.on{opacity:1;transform:translate(-50%,0)}
.gd-tbar .gd-castbars{margin-top:10px}
.gd-tbar .gd-cap{min-height:2.6em;margin:10px 0 0;font-size:14px;color:var(--ink2)}
.gd-tbctl{flex-wrap:wrap}
.gd-tbctl .gd-cast{margin-left:0}
.gd-tbctl .gd-cast:disabled{opacity:.45;cursor:default}
.gd-tbtwin .gd-under{max-width:none}
/* the buff totems: how long, how far, the one number; the bars grow by transform from the left */
.gd-tbrow{display:grid;grid-template-columns:30px 190px minmax(0,1fr) 120px;align-items:center;gap:10px;padding:6px 0;border-top:1px solid rgba(255,255,255,.05)}
.gd-tbrow img.sm{width:30px;height:30px;border-radius:7px;border:1px solid #000}
.gd-tbrow b{font-size:14px;line-height:1.2;color:var(--ink)}
.gd-tbrow b small{display:block;font-weight:400;font-size:11.5px;color:var(--muted)}
.gd-tbbars{display:grid;gap:3px}
.gd-tbbars>div{display:grid;grid-template-columns:minmax(0,1fr) 92px;align-items:center;gap:8px}
.gd-tbbars i{display:block;height:12px;border-radius:2px;transform:scaleX(0);transform-origin:left center;background:repeating-linear-gradient(115deg,#8f8f8f 0 3px,#5c5c5c 3px 6px);transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.gd-tbbars .classic i{width:var(--c)}
.gd-tbbars .forever i{width:var(--f);background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-cmps.drawn .gd-tbbars i{transform:none}
.gd-tbbars span{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
.gd-tbbars .forever span{color:#ffd75e}
.gd-tbrow .gd-chalk{font-size:19px;text-align:right;color:#bdbdbd}
.gd-tbrow.up .gd-chalk{color:#8fe36b}.gd-tbrow.down .gd-chalk{color:#f08080}
.gd-tbsame{margin-top:10px;padding-top:8px;border-top:1px solid rgba(255,255,255,.05)}
.gd-tbsame b{color:var(--ink)}
@media (max-width:900px){.gd-tbstage .gd-steptitle{min-height:2.6em}}
@media (max-width:760px){
  .gd-tbslots{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gd-tbrow{grid-template-columns:30px minmax(0,1fr) 92px;gap:4px 8px}
  .gd-tbrow .gd-tbbars{grid-column:1/-1;grid-row:2}
  .gd-tbrow .gd-chalk{font-size:16px}
}
/* phones: the Flame Shock stage's figure size (page.css, 120 px), the row of four a size smaller and its near mark clear of him (his
   render is 93 px wide there), the far mark held inside the yard, and the chip on the right half, clear of his head */
@media (max-width:640px){
  .gd-tbstage{padding:12px 8px 10px}
  .gd-tbfield{height:172px;--g:40px;--hw:58px;--near:max(54%,162px);--far:calc(100% - 62px)}
  .gd-tbtotems{gap:4px}
  .gd-tbtotem{width:26px}
  .gd-tbtotem img.sm{width:24px;height:24px;border-radius:5px}
  .gd-tbtotem::after{width:8px;height:28px}
  .gd-tbtotem::before{width:22px;margin-left:-11px}
  .gd-tbmark{font-size:16px}
  .gd-tbcaster .gd-yardlabel{top:calc(100% + 10px)}
  .gd-tbchip,.gd-tbchip.far{left:calc(100% - 80px);bottom:calc(var(--g) + 78px);font-size:12px;padding:6px 9px;white-space:normal;max-width:150px;text-align:center}   /* clear of his render (97 px) at 375 */
  .gd-tbslot b{-webkit-line-clamp:3}   /* "Healing Stream Totem" whole */
}
/* 44 px to tap on a phone or any touch screen */
@media (max-width:767px),(pointer:coarse){.gd-tbctl .gd-cast,.gd-tbctl .gd-reset{min-height:44px}}
@media (prefers-reduced-motion:reduce){.gd-tbtotem,.gd-tbtotems,.gd-tbchip,.gd-tbbars i{transition:none}}
