/* ---- The Priest's page (guides/priest.js, guides/priest.widgets.js). Same plates, same yard, the trees' own colours. Joined onto
   page.css by the server on the Priest's page only, then each chapter's own guides/priest/<id>.css in name order. Every class this file
   adds is .gd-pr-*, so nothing meets an older rule; a chapter file keeps to its own prefix (.gd-di-, .gd-ho-, .gd-sh-, .gd-dm-). ---- */
.gd-ch[data-tree="discipline"]{--ac:#9fd3ff}
.gd-ch[data-tree="holy"]{--ac:#ffe9a8}
.gd-ch[data-tree="shadow"]{--ac:#b78cff}
/* 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}

/* ==== chapter heads before the video and the renders. With no player beside the words and no figure of her, a head is its picture
   (guides/art_priest_heads.py: assets/guides/priest/art/<id>.webp, drawn for the player's layout so it needs no second cut) or, until
   it has one, a quiet band in its chapter's colour; 280 px tall instead of the figure's 400. The video's heads (.clipped) and a head
   with a render (.figured) keep page.css's own rules. ==== */
.gd-chhead:not(.figured):not(.clipped){min-height:280px;background:radial-gradient(120% 150% at 100% 0%,color-mix(in srgb,var(--ac,#ffd75e) 16%,transparent),transparent 62%) #0e0e10}
.gd-chhead.arted:not(.figured):not(.clipped){background:var(--art) left center/cover no-repeat #0e0e10}
@media (min-resolution:1.5dppx){.gd-chhead.arted:not(.figured):not(.clipped)[style*="--art2"]{background-image:var(--art2)}}
.gd-chhead.arted:not(.figured):not(.clipped)::after{background:linear-gradient(to top,rgba(8,8,10,.86) 0,rgba(8,8,10,.35) 50%,rgba(8,8,10,0) 100%)}
@media (max-width:640px){.gd-chhead:not(.figured):not(.clipped){min-height:220px}.gd-chhead.arted:not(.figured):not(.clipped){background-size:auto 100%}}
/* a chapter whose file has not landed yet keeps its place: its head and one line (guides/priest/PAGE_PLAN.md) */
.gd-pr-slot{max-width:820px;margin:18px 0 0;padding:14px 16px;border:1px dashed color-mix(in srgb,var(--ac,#ffd75e) 45%,#333);border-radius:10px;color:var(--muted);font-size:14px}
.gd-pr-slot p{margin:0}.gd-pr-slot b{color:var(--ink2)}

/* ==== What's new ==== */
/* Fear Ward and Devouring Plague: how long, how often; Classic's bar grey, Forever's gold, one scale for the three rows */
.gd-pr-trow{display:grid;grid-template-columns:30px 200px minmax(0,1fr) 150px;align-items:center;gap:10px;padding:6px 0;border-top:1px solid rgba(255,255,255,.05)}
.gd-pr-trow img.sm{width:30px;height:30px;border-radius:7px;border:1px solid #000}
.gd-pr-trow b{font-size:14px;line-height:1.2;color:var(--ink)}
.gd-pr-trow b small{display:block;font-weight:400;font-size:11.5px;color:var(--muted)}
.gd-pr-tbars{display:grid;gap:3px}
.gd-pr-tbars>div{display:grid;grid-template-columns:minmax(0,1fr) 64px;align-items:center;gap:8px}
.gd-pr-tbars 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-pr-tbars .forever i{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-pr-tbars span{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
.gd-pr-tbars .forever span{color:#ffd75e}
.gd-cmps.drawn .gd-pr-tbars .classic i{width:var(--c)}
.gd-cmps.drawn .gd-pr-tbars .forever i{width:var(--f)}
.gd-pr-trow .gd-chalk{font-size:19px;text-align:right;color:#bdbdbd;line-height:1.05}
.gd-pr-trow.up .gd-chalk{color:#8fe36b}.gd-pr-trow.down .gd-chalk{color:#f08080}
/* the bottom of each tree, Classic's row 7 beside Forever's */
.gd-pr-bottoms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gd-pr-bottom{padding:10px 12px;border-radius:10px;border:1px solid var(--line);border-top:2px solid color-mix(in srgb,var(--tc) 70%,#000);background:rgba(11,11,13,.85);min-width:0}
.gd-pr-bt{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:14px}
.gd-pr-bt img.sm{width:24px;height:24px;border-radius:6px;border:1px solid #000}
.gd-pr-bt b{font-family:Cinzel,Georgia,serif;color:var(--tc)}
.gd-pr-bt small{margin-left:auto;font-size:11px;letter-spacing:.06em;color:var(--muted)}
.gd-pr-bpair{display:grid;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);align-items:center;gap:6px}
.gd-pr-bpair>div>small{display:block;margin:0 0 4px;font-size:10px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.gd-pr-bpair>.f>small{color:#ffd75e}
.gd-pr-bi{position:relative;display:flex;align-items:center;gap:7px;min-width:0}
.gd-pr-bi img.sm{flex:none;width:30px;height:30px;border-radius:7px;border:1px solid #000}
.gd-pr-bi>span{display:flex;flex-direction:column;min-width:0}
.gd-pr-bi b{font-size:13px;line-height:1.2;color:var(--ink)}
.gd-pr-bi em{font-style:normal;font-size:11.5px;color:var(--muted)}
.gd-pr-bi.gone{opacity:.72}.gd-pr-bi.gone img.sm{filter:grayscale(.85)}
.gd-pr-tag{position:absolute;left:-4px;top:-6px;padding:1px 4px;border-radius:3px;font-style:normal;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#0b0b0d;box-shadow:0 1px 3px rgba(0,0,0,.6)}
.gd-pr-tag.new{background:#5fd38a}.gd-pr-tag.gone{background:#c86464;color:#fff}
/* how deep a tree goes at level 30: seven rows, three trees, the rows past the points dimmed */
.gd-pr-reachctl button img.sm{width:18px;height:18px;margin-right:6px;border-radius:4px;vertical-align:-4px}
.gd-pr-rgrid{display:grid;gap:3px;margin-top:10px}
.gd-pr-rrow{display:grid;grid-template-columns:62px repeat(var(--n,3),minmax(0,1fr)) 132px;align-items:center;gap:6px;padding:3px 0;border-radius:6px;transition:opacity .35s,filter .35s}
.gd-pr-rrow.head{padding-bottom:6px;border-bottom:1px solid rgba(255,255,255,.08)}
.gd-pr-rrow.head .gd-pr-rcell{gap:6px;font-size:12.5px;justify-content:flex-start}
.gd-pr-rrow.head .gd-pr-rcell b{font-family:Cinzel,Georgia,serif;color:var(--tc);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-pr-rrow.head img.sm{width:22px;height:22px;border-radius:5px;border:1px solid #000}
.gd-pr-rlab{display:flex;flex-direction:column;line-height:1.15}
.gd-pr-rlab b{font-size:12.5px;color:var(--ink)}
.gd-pr-rlab small{font-size:10.5px;color:var(--muted)}
.gd-pr-rcell{display:flex;flex-wrap:wrap;align-items:center;gap:3px;min-height:30px;padding:3px 6px;border-radius:6px;background:color-mix(in srgb,var(--tc) 7%,#0d0d0f);border:1px solid color-mix(in srgb,var(--tc) 22%,transparent)}
.gd-pr-rrow.head .gd-pr-rcell{background:none;border:0;padding:0 6px}
.gd-pr-rcell img{width:24px;height:24px;border-radius:5px;border:1px solid #000}
.gd-pr-rstate{font-style:normal;font-size:12px;color:#ffd75e;white-space:nowrap}
.gd-pr-rrow.off{opacity:.38;filter:grayscale(.8)}
.gd-pr-rrow.off .gd-pr-rstate{color:var(--muted)}
.gd-pr-rgrid[data-p] .gd-pr-rrow.on:has(+ .gd-pr-rrow.off) .gd-pr-rcell{box-shadow:inset 0 -2px 0 #ffd75e}
@media (max-width:760px){
  .gd-pr-trow{grid-template-columns:30px minmax(0,1fr) 104px;gap:4px 8px}
  .gd-pr-trow .gd-pr-tbars{grid-column:1/-1;grid-row:2}
  .gd-pr-trow .gd-chalk{font-size:16px}
  .gd-pr-bottoms{grid-template-columns:1fr}
  .gd-pr-rrow{grid-template-columns:44px repeat(var(--n,3),minmax(0,1fr));gap:4px}
  .gd-pr-rstate{display:none}
  .gd-pr-rcell{padding:3px;gap:2px}
  .gd-pr-rcell img{width:20px;height:20px}
  .gd-pr-rrow.head .gd-pr-rcell{flex-direction:column;align-items:flex-start;gap:2px;font-size:11px}
}
@media (prefers-reduced-motion:reduce){.gd-pr-tbars i,.gd-pr-rrow{transition:none}}

/* ==== Races: the Priest's race spells under each card's racials (guide.js draws them from racials.js CLASS_RACIALS), and one line per
   race on what changed for it (priest.json races.notes) ==== */
.gd-race .gd-racesub{margin:8px 4px 2px;font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#ffd75e}
.gd-race .gd-racenote{margin:8px 4px 2px;padding:7px 9px;border-left:2px solid color-mix(in srgb,var(--fc,#888) 70%,#000);border-radius:0 6px 6px 0;background:rgba(255,255,255,.03);font-size:12.5px;line-height:1.45;color:var(--ink2)}

/* the caster on a yard before her render exists: her face in a ring (priest.js stage) */
.gd-pr-token{display:block;width:84px;height:84px;margin:0 auto 6px;border-radius:50%;overflow:hidden;border:2px solid #b8901f;box-shadow:0 0 0 3px #0b0b0d,0 8px 20px rgba(0,0,0,.6)}
.gd-pr-token img{display:block;width:100%;height:100%;object-fit:cover}

/* ==== heads with her render (6 Oct), until the video puts a player on each: the words bottom-left, her render standing whole on the
   right in a pool of her tree's light, the head's picture (guides/art_priest_heads.py, drawn for the words' side) across the card behind
   both. The Shaman's system (shaman.css heads): each render is placed by where her 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; measured 6 Oct from the raw frames' metas and
   the cut-outs' bounds), so every head shows her at one scale on one baseline: --E her eyes-to-soles height on screen, --base her soles
   above the card's foot, --cx her head from the card's right edge. Phones stack the head: her small on top, the words under. ==== */
.gd-chhead.figured{--hl:255,228,168;--E:226px;--base:26px;--cx:180px;--tw:58%}
#discipline .gd-chhead.figured{--hl:159,211,255;--back:.3}
#holy .gd-chhead.figured{--hl:255,233,168;--back:.3}
#shadow .gd-chhead.figured{--hl:183,140,255;--back:.34;--pool:.8}
#new .gd-chhead.figured{--cx:200px;--E:196px}          /* the cast toward the right: her hands and the bolt swing out, the raised staff a size down so its head stays inside the card */
#discipline .gd-chhead.figured{--E:196px}
#damage .gd-chhead.figured{--cx:170px}
#builds .gd-chhead.figured{--tw:62%}
#races .gd-chhead.figured{--cx:150px}
.gd-chhead.figured.arted{background:var(--art) left center/cover no-repeat #0e0e10}
@media (min-resolution:1.5dppx){.gd-chhead.figured.arted[style*="--art2"]{background-image:var(--art2)}}
.gd-chhead.figured>.gd-figure{--H:calc(var(--E) / var(--e,.8));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,.6));opacity:1;transform:none;filter:drop-shadow(0 10px 14px rgba(0,0,0,.6)) drop-shadow(0 0 22px rgba(var(--hl),.18))}
.gd-figure.fig-full{--e:.833;--s:.975;--hx:.642;--asp:.541}
.gd-figure.fig-talk{--e:.819;--s:.965;--hx:.635;--asp:.543}
.gd-figure.fig-ready{--e:.702;--s:.984;--hx:.641;--asp:.475}
.gd-figure.fig-hurl{--e:.594;--s:.878;--hx:.577;--asp:.751}
.gd-figure.fig-kneel{--e:.560;--s:.956;--hx:.664;--asp:.778}
.gd-figure.fig-disc{--e:.590;--s:.865;--hx:.652;--asp:.669}
.gd-figure.fig-holy{--e:.702;--s:.983;--hx:.620;--asp:.501}
.gd-figure.fig-shadow_full{--e:.833;--s:.975;--hx:.649;--asp:.553}
.gd-figure.fig-shadow{--e:.562;--s:.884;--hx:.601;--asp:.746}
/* 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(760px 330px at 0 100%,rgba(8,8,10,.94) 0,rgba(8,8,10,.7) 40%,rgba(8,8,10,0) 100%)}
/* the pool she stands in and the light behind her, in her 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,.6)) 0,rgba(var(--hl),.2) 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,.22)) 0,rgba(var(--hl),.06) 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}
@media (min-width:641px) and (max-width:900px){
  .gd-chhead.figured{--E:212px}
  #races .gd-chhead.figured .gd-chtext h2{font-size:34px;max-width:320px}
  .gd-chhead.figured.arted{background-size:auto 100%;background-position:left top}
}
@media (min-width:641px) and (max-width:760px){.gd-chhead.figured{min-height:340px;--E:180px;--cx:150px}#races .gd-chhead.figured .gd-chtext h2{font-size:30px;max-width:270px}}
@media (max-width:640px){
  .gd-chhead.figured{--E:104px;--cx:84px;--floor:210px;min-height:0;padding-top:226px}
  .gd-chhead.figured.arted{background-size:auto 232px;background-position:left top}
  .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 ==== */

/* ---- Chapter 6, Your heals and your damage (guides/priest/damage.js, damage.widgets.js). The chapter's accent is the page gold, no
   tree; the eras keep the page's colours (Classic grey, Forever gold), a cut is red and a gain green, as the base chart draws them.
   Every class here is .gd-dm-*; the plates, twins, chalk, picks and the shared charts are page.css's own. ---- */
#damage{--ac:#ffd75e}
/* four short lines in the take, one row on a wide screen */
#damage .gd-take ul{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}

/* the cards: the lines compared cell by cell, a tick where Classic's line is the same (the cost and the cast on every heal), struck
   and green where not; the body diffed as every other plate on the page */
.gd-dm-lines{row-gap:2px}
.gd-dm-lines del{color:#f0a0a0;text-decoration:line-through;text-decoration-color:rgba(240,120,120,.7)}
.gd-dm-lines ins{color:#9be59b;text-decoration:none;background:rgba(80,200,80,.12);border-radius:2px;padding:0 2px}
.gd-plate.forever .gd-dm-lines span.same:not(:empty)::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)}
.gd-dm-pick{margin:0 0 14px}
.gd-dm-pick button{width:auto;height:auto;min-height:36px;padding:3px 10px 3px 4px;display:inline-flex;align-items:center;gap:7px;color:var(--ink2);font:inherit;cursor:pointer}
.gd-dm-pick button small{font-size:12.5px;font-weight:700}
.gd-dm-pick button[aria-pressed="true"] small{color:#ffd75e}
.gd-dm-pick button:focus-visible{outline:2px solid #ffd75e;outline-offset:2px}
.gd-dm-pair .gd-plates{gap:16px}
.gd-dm-pair .gd-twin{margin-top:14px}
.gd-dm-pair[hidden]{display:none}

/* where gear catches Classic up: three rows, a track from 0 to 1,000 spell power, the break-even marked, the slider's place filled */
.gd-dm-spctl{margin-top:0}
.gd-dm-crows{display:grid;gap:6px;margin-top:12px}
.gd-dm-crow{display:grid;grid-template-columns:30px 228px minmax(0,1fr) 118px 96px;align-items:center;gap:10px;padding:8px 0 6px;border-top:1px solid rgba(255,255,255,.05)}
.gd-dm-crow img.sm{width:30px;height:30px;border-radius:7px;border:1px solid #000}
.gd-dm-crow>b{font-size:14px;line-height:1.2;color:var(--ink)}
.gd-dm-crow>b small{display:block;font-weight:400;font-size:11.5px;color:var(--muted)}
.gd-dm-ctrack{position:relative;height:22px;margin-top:18px;border-radius:4px;background:#141414;border:1px solid #3a3a3a}
.gd-dm-ctrack .fill{position:absolute;left:0;top:0;bottom:0;width:var(--now,0%);border-radius:3px 0 0 3px;background:repeating-linear-gradient(115deg,rgba(255,227,138,.5) 0 3px,rgba(201,162,39,.35) 3px 6px);transition:width .25s cubic-bezier(.2,.7,.2,1)}
.gd-dm-ctrack .now{position:absolute;top:-3px;bottom:-3px;left:var(--now,0%);width:3px;margin-left:-1px;border-radius:2px;background:#ffd75e;box-shadow:0 0 8px rgba(255,209,0,.6);transition:left .25s cubic-bezier(.2,.7,.2,1)}
.gd-dm-ctrack .be{position:absolute;top:-5px;bottom:-5px;left:var(--x,50%);width:2px;margin-left:-1px;background:#9be59b;box-shadow:0 0 6px rgba(120,230,120,.5)}
.gd-dm-ctrack .be small{position:absolute;left:6px;top:-18px;font-size:11px;line-height:1;white-space:nowrap;color:#9be59b}
.gd-dm-ctrack .be.late small{left:auto;right:6px}
.gd-dm-cvals{display:grid;gap:2px;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.gd-dm-cvals .c{color:var(--muted)}.gd-dm-cvals .f{color:#ffd75e}
.gd-dm-cvals b{font-weight:700;color:inherit}
.gd-dm-crow .gd-chalk{font-size:19px;line-height:1.05;text-align:right;color:#bdbdbd;min-height:1em}
.gd-dm-crow.ahead .gd-chalk{color:#8fe36b}.gd-dm-crow.behind .gd-chalk{color:#f08080}
.gd-dm-crow.ahead .gd-dm-ctrack .now{background:#9be59b;box-shadow:0 0 8px rgba(120,230,120,.6)}
.gd-dm-sp{margin-top:0}

/* Fade: the same card, then the threat each rank sheds on one scale */
.gd-dm-sameplate .gd-plate-era{color:#9be59b}
.gd-dm-fade .gd-plates.one{max-width:560px}
.gd-dm-fade .gd-spkey{margin-top:14px}
.gd-dm-frows{display:grid;gap:3px;margin-top:6px}
.gd-dm-frow{display:grid;grid-template-columns:30px 96px minmax(0,1fr) 64px;align-items:center;gap:10px;width:100%;padding:5px 8px;border:1px solid transparent;border-radius:8px;background:none;font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.gd-dm-frow:hover,.gd-dm-frow[aria-pressed="true"]{border-color:#3a3a3a;background:rgba(255,255,255,.03)}
.gd-dm-frow[aria-pressed="true"]{border-color:#b8901f}
.gd-dm-frow:focus-visible{outline:2px solid #ffd75e;outline-offset:1px}
.gd-dm-frow img.sm{width:30px;height:30px;border-radius:7px;border:1px solid #000}
.gd-dm-frow>b{font-size:14px;line-height:1.2;font-weight:600}
.gd-dm-frow>b small{display:block;font-weight:400;font-size:11.5px;color:var(--muted)}
.gd-dm-fbars{display:grid;gap:3px}
.gd-dm-fbars>div{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:center;gap:8px}
.gd-dm-fbars i{display:block;height:11px;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-dm-fbars .forever i{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-dm-fbars span{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap;text-align:right}
.gd-dm-fbars .forever span{color:#ffd75e}
.gd-dm-fade.drawn .gd-dm-fbars .classic i{width:var(--c)}
.gd-dm-fade.drawn .gd-dm-fbars .forever i{width:var(--f)}
.gd-dm-frow .gd-chalk{font-size:21px;text-align:right;color:#8fe36b}
.gd-dm-read{margin:12px 0 0;min-height:1.5em;font-size:14px;line-height:1.5;color:var(--ink2)}

/* Blizzard's low-rank line, their words in their own block */
.gd-dm-bq{margin:0;padding:10px 14px 10px 16px;border-left:3px solid #ffd75e;background:rgba(255,209,0,.05);border-radius:0 8px 8px 0}
.gd-dm-bq p{margin:0;font-size:15px;line-height:1.5;color:var(--ink);font-style:italic}
.gd-dm-bq p::before{content:"\201C"}.gd-dm-bq p::after{content:"\201D"}
.gd-dm-bq footer{margin-top:5px;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:#ffd75e}

@media (max-width:760px){
  #damage .gd-pick.basepick button{width:44px;height:44px}
  #damage .gd-pick.basepick button img.sm{width:36px;height:36px}
  .gd-dm-pick button{min-height:44px}
  .gd-dm-crow{grid-template-columns:30px minmax(0,1fr) 92px;gap:4px 8px;padding:8px 0 4px}
  .gd-dm-crow .gd-dm-ctrack{grid-column:1/-1;grid-row:2;margin-top:20px}
  .gd-dm-crow .gd-dm-cvals{grid-column:1/-1;grid-row:3;grid-template-columns:1fr 1fr;white-space:normal}
  .gd-dm-crow .gd-chalk{font-size:17px}
  .gd-dm-frow{grid-template-columns:30px minmax(0,1fr) 52px;gap:4px 8px;padding:6px 6px}
  .gd-dm-frow .gd-dm-fbars{grid-column:1/-1;grid-row:2}
  .gd-dm-frow .gd-chalk{font-size:18px}
  .gd-dm-bq p{font-size:14px}
}
@media (prefers-reduced-motion:reduce){
  .gd-dm-ctrack .fill,.gd-dm-ctrack .now,.gd-dm-fbars i{transition:none}
}

/* ---- Chapter 3, Discipline (guides/priest/discipline.js, discipline.widgets.js). Healing gets its own stage: your party on the Darkshore
   lip in the grey last light, their frames, gold bubbles, green numbers. Every class is .gd-di-*; the chapter's accent is --ac (priest.css
   sets it from data-tree). Motion is transform and opacity only, none of it under prefers-reduced-motion. ---- */
.gd-ch[data-tree="discipline"]{--heal:#57e389;--holy:#ffe9a8;--soul:#c88cff}
/* the yard: the chapter's own blurred plate when it is on disk, the Darkshore lip at 21:30 when it is not (never a black box) */
.gd-di-wrap{border-color:color-mix(in srgb,var(--ac) 30%,#333);background:radial-gradient(60% 40% at 70% 48%,rgba(120,150,190,.16),transparent 70%),linear-gradient(180deg,#1a2230 0%,#2c3a4c 34%,#3b4f63 52%,#1c2733 54%,#36455a 60%,#5a5a58 66%,#6f6a5f 74%,#2b2824 100%)}
.gd-di-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-di-wrap::after{opacity:.42}
.gd-di-stage{min-height:0;padding:14px 16px}
.gd-di-stage .gd-steptitle{min-height:1.3em;margin:0 0 6px}
/* a figure with no render yet: the class's own icon in a portrait ring, standing on its shadow */
.gd-di-token{position:relative;display:block;width:74px;height:74px;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);overflow:hidden}
.gd-di-token img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.gd-di-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-di-me .gd-pr-token{width:84px;height:84px;margin-bottom:14px}
.gd-di-metok{width:84px;height:84px}
.gd-di-mefig{height:170px;width:auto;max-width:100%;object-fit:contain;object-position:50% 100%}
/* the field: you, the lane, your three; every figure stands on the same ground line */
.gd-di-field{display:flex;align-items:flex-end;gap:12px;margin-top:30px;padding-bottom:14px;min-width:0}
.gd-di-me{position:relative;flex:0 1 auto;max-width:36%;text-align:center;min-width:0}
.gd-di-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-di-shot{position:absolute;left:0;top:6px;opacity:0;filter:drop-shadow(0 0 8px var(--ac))}
.gd-di-shot img.sm{display:block;width:30px;height:30px;border-radius:50%;border:1px solid color-mix(in srgb,var(--ac) 70%,#fff)}
.gd-di-shot.heal{filter:drop-shadow(0 0 8px var(--heal))}
.gd-di-shot.heal img.sm{border-color:color-mix(in srgb,var(--heal) 70%,#fff)}
.gd-di-allies{display:flex;align-items:flex-end;gap:14px;flex:0 1 auto;min-width:0}
.gd-di-ally{position:relative;flex:0 1 auto;min-width:0;text-align:center}
.gd-di-ally[data-i="1"] .gd-di-token{width:66px;height:66px}.gd-di-ally[data-i="2"] .gd-di-token{width:60px;height:60px}
.gd-di-ally .gd-yardlabel{position:relative}
.gd-di-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)}
/* the shield: a gold bubble round the figure, snapping on; it glows when a heal lands and bursts on the blow */
.gd-di-bubble{position:absolute;left:50%;bottom:20px;width:110px;height:110px;margin-left:-55px;border-radius:50%;background:radial-gradient(circle,rgba(255,233,168,0) 52%,rgba(255,233,168,.16) 66%,rgba(255,215,94,.55) 78%,rgba(255,233,168,0) 82%);box-shadow:0 0 22px rgba(255,215,94,.35),inset 0 0 18px rgba(255,233,168,.25);opacity:0;transform:scale(.7);transition:opacity .35s,transform .45s cubic-bezier(.2,.8,.2,1.2);pointer-events:none}
.gd-di-ally[data-i="1"] .gd-di-bubble{width:98px;height:98px;margin-left:-49px}.gd-di-ally[data-i="2"] .gd-di-bubble{width:90px;height:90px;margin-left:-45px}
.gd-di-ally.gd-di-shielded .gd-di-bubble{opacity:1;transform:none}
.gd-di-bubble.gd-di-snap{animation:gdidsnap .5s cubic-bezier(.2,.8,.2,1.3)}
@keyframes gdidsnap{0%{opacity:0;transform:scale(.5)}60%{opacity:1;transform:scale(1.08)}100%{opacity:1;transform:none}}
.gd-di-bubble.gd-di-glow{animation:gdidglow .7s ease-out}
@keyframes gdidglow{0%{box-shadow:0 0 22px rgba(255,215,94,.35),inset 0 0 18px rgba(255,233,168,.25)}40%{box-shadow:0 0 34px rgba(87,227,137,.7),inset 0 0 26px rgba(87,227,137,.45)}100%{box-shadow:0 0 22px rgba(255,215,94,.35),inset 0 0 18px rgba(255,233,168,.25)}}
.gd-di-bubble.gd-di-break{animation:gdidbreak .55s ease-out forwards}
@keyframes gdidbreak{0%{opacity:1;transform:scale(1)}40%{opacity:1;transform:scale(1.2)}100%{opacity:0;transform:scale(1.5)}}
.gd-di-soulmark{position:absolute;right:-2px;top:-4px;z-index:2;opacity:0;transform:scale(.6);transition:opacity .35s,transform .45s cubic-bezier(.2,.8,.2,1.2)}
.gd-di-soulmark img.sm{display:block;width:24px;height:24px;border-radius:6px;border:1px solid #000;box-shadow:0 0 0 1px var(--soul),0 0 12px color-mix(in srgb,var(--soul) 70%,transparent)}
.gd-di-ally.gd-di-shielded .gd-di-soulmark,.gd-di-ally.gd-di-souled .gd-di-soulmark{opacity:1;transform:none}
.gd-di-ally.gd-di-hit{animation:gdidhit .45s ease-out}
@keyframes gdidhit{0%{transform:none}30%{transform:translateX(-5px) rotate(-2deg)}60%{transform:translateX(4px) rotate(1.5deg)}100%{transform:none}}
.gd-di-ally.gd-di-healed .gd-di-token,.gd-di-aegframe.gd-di-healed .gd-di-port{animation:gdidheal .7s ease-out}
@keyframes gdidheal{0%{box-shadow:0 0 0 2px #000}40%{box-shadow:0 0 0 2px #000,0 0 26px rgba(87,227,137,.85)}100%{box-shadow:0 0 0 2px #000}}
.gd-di-pop{position:absolute;left:50%;top:-14px;z-index:3;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:21px;color:var(--holy);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-di-pop.heal{color:var(--heal)}.gd-di-pop.dmg{color:#fff}.gd-di-pop.absorb{color:var(--holy);font-size:17px}
.gd-di-pop.gd-di-go{animation:gdidfloat 1.8s ease-out forwards}
@keyframes gdidfloat{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)}}
/* your party's frames: portrait, name, the shield on each and its Weakened Soul running down */
.gd-di-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(220px,1fr);gap:12px;align-items:stretch}
.gd-di-grid>.gd-stagewrap{min-height:0}
.gd-di-grid .gd-di-stage{height:100%;box-sizing:border-box;justify-content:space-between}
.gd-di-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-di-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-di-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)}
.gd-di-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;flex:none}
.gd-di-port img{display:block;width:100%;height:100%;object-fit:cover}
.gd-di-port.big{width:52px;height:52px}
.gd-di-fbody{min-width:0}
.gd-di-fname{display:flex;align-items:baseline;gap:6px;margin:0;font-size:13px;line-height:1.2;min-width:0}
.gd-di-fname b{color:var(--ink);white-space:nowrap}
.gd-di-fname small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-di-fbuffs{display:flex;align-items:center;gap:10px;margin:6px 0 0;min-height:26px}
.gd-di-fbuff{position:relative;display:inline-flex;align-items:center;gap:5px;font-size:11.5px;color:var(--ink2);white-space:nowrap}
.gd-di-fbuff[hidden]{display:none}
.gd-di-fbuff img.sm{display:block;width:24px;height:24px;border-radius:5px;border:1px solid #000;box-shadow:0 0 0 1px var(--holy)}
.gd-di-fbuff.soul img.sm{box-shadow:0 0 0 1px var(--soul)}
.gd-di-fbuff em{font-style:normal;font-weight:700;font-variant-numeric:tabular-nums;color:var(--holy)}
.gd-di-fbuff.soul em{color:var(--soul)}
.gd-di-fbuff.soul i{position:absolute;left:0;width:24px;bottom:-4px;height:2px;background:var(--soul);transform-origin:left}
/* the two lanes under the yard: when each shield lands, Classic's grey against Forever's gold, one scale for both */
.gd-di-lanes{display:grid;gap:8px;margin-top:6px}
.gd-di-tl{display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-areas:"era track" "era out";align-items:center;gap:2px 10px}
.gd-di-tlera{grid-area:era;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-di-tl.forever .gd-di-tlera{color:#ffd75e}
.gd-di-track{grid-area:track;position:relative;height:34px;margin:8px 16px 0 14px;border-bottom:1px solid #3a3a3a}
.gd-di-head{position:absolute;left:0;top:0;bottom:-1px;width:2px;background:rgba(255,255,255,.55);opacity:0}
.gd-di-tl.gd-di-run .gd-di-head{opacity:1}
.gd-di-sweep{position:absolute;left:0;top:14px;height:6px;border-radius:3px;background:repeating-linear-gradient(115deg,#8f8f8f 0 3px,#5c5c5c 3px 6px);transform-origin:right;transform:scaleX(0);opacity:.9}
.gd-di-mark{position:absolute;top:0;transform:translateX(-50%);opacity:.3;transition:opacity .3s}
.gd-di-mark.gd-di-on{opacity:1}
.gd-di-mark img.sm{display:block;width:26px;height:26px;border-radius:6px;border:1px solid #000;box-shadow:0 0 0 1px #8f8f8f}
.gd-di-tl.forever .gd-di-mark img.sm{box-shadow:0 0 0 1px var(--holy),0 0 10px rgba(255,215,94,.5)}
.gd-di-mark small{position:absolute;left:50%;top:100%;margin-top:3px;transform:translateX(-50%);font-size:10.5px;font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
.gd-di-tl output{grid-area:out;font-size:12px;color:var(--muted);margin-left:14px;padding-top:12px}
.gd-di-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-di-twinlab{color:#ffd75e}
.gd-di-swtwin>div,.gd-di-pentwin>div{min-width:0;transition:border-color .3s,box-shadow .3s}
.gd-di-swtwin>div.gd-di-lit,.gd-di-pentwin>div.gd-di-lit{border-color:var(--ac);box-shadow:0 0 16px color-mix(in srgb,var(--ac) 30%,transparent)}
.gd-di-ctl{flex-wrap:wrap}
.gd-di-ctl .gd-cast{margin-left:0}
.gd-di-btn small{margin-left:4px;font-weight:400;font-size:11.5px;opacity:.8}
.gd-di-btn:disabled{opacity:.5;cursor:default}
.gd-di-btn.gd-di-locked{border-color:#5a4a7a;color:#cdb4ff;background:rgba(200,140,255,.08)}
.gd-di-btn.gd-di-nudge,.gd-di-bfbuff.gd-di-nudge{animation:gdidnudge .4s ease-out}
@keyframes gdidnudge{0%,100%{transform:none}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.gd-rankpick.gd-di-wide button{width:auto;padding:0 10px;border-radius:999px;white-space:nowrap}
/* what Discipline is: the loop as five steps, the Smite side as four chips */
.gd-di-idcols{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:14px;align-items:start}
.gd-di-loopcard,.gd-di-smite{min-width:0}
.gd-di-steps{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.gd-di-step{display:inline-flex;align-items:center;gap:7px;padding:6px 9px 6px 6px;border-radius:8px;border:1px solid #444;background:rgba(11,11,13,.9);min-width:0}
.gd-di-step img.sm{width:28px;height:28px;border-radius:6px;border:1px solid #000;flex:none}
.gd-di-step>span{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.gd-di-step b{font-size:12.5px;color:var(--ink)}
.gd-di-step small{font-size:11px;color:var(--muted)}
.gd-di-chips{display:grid;gap:6px}
.gd-di-chip{position:relative;display:flex;align-items:center;gap:8px;width:100%;padding:6px 9px 6px 6px;border-radius:8px;border:1px solid #444;background:rgba(11,11,13,.9);color:var(--ink2);font:inherit;text-align:left;cursor:pointer;min-width:0}
.gd-di-chip:hover,.gd-di-chip:focus-visible{border-color:#777}
.gd-di-chip[aria-pressed="true"]{border-color:var(--ac);box-shadow:0 0 12px color-mix(in srgb,var(--ac) 35%,transparent)}
.gd-di-chip img.sm{width:30px;height:30px;border-radius:7px;border:1px solid #000;flex:none}
.gd-di-chip>span{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.gd-di-chip b{font-size:13px;color:var(--ink)}
.gd-di-chip small{font-size:11.5px;color:var(--muted)}
.gd-di-chip .gd-pr-tag{left:auto;right:6px;top:-6px}
.gd-pr-tag.ch{background:#ffd75e}
/* the shield at every rank */
.gd-di-rankctl{margin-top:0;margin-bottom:12px}
.gd-di-rankctl .gd-rankpick{margin-left:0;flex-wrap:wrap}
.gd-di-shield .gd-plates{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
/* Weakened Soul on the Warrior: his big frame beside the yard, the ring running down */
.gd-di-soulgrid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:12px;align-items:stretch}
.gd-di-soulgrid>.gd-stagewrap{min-height:0}
.gd-di-soulgrid .gd-di-stage{height:100%;box-sizing:border-box;justify-content:space-between}
.gd-di-field.one .gd-di-allies{margin-left:auto}
.gd-di-field.one .gd-di-token{width:84px;height:84px}
.gd-di-field.one .gd-di-bubble{width:124px;height:124px;margin-left:-62px}
.gd-di-bigframe{position:relative;display:flex;flex-direction:column;justify-content:center;gap:10px;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-di-bfhead{display:flex;align-items:center;gap:12px}
.gd-di-bfhead b{display:block;font-size:15px;color:var(--ink)}
.gd-di-bfhead small{font-size:11.5px;color:var(--muted)}
.gd-di-bfbuffs{display:grid;gap:8px;min-height:44px}
.gd-di-bfbuff{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:8px;border:1px solid #2c2c2c;background:rgba(0,0,0,.4)}
.gd-di-bfbuff[hidden]{display:none}
.gd-di-bfbuff img.sm{display:block;width:30px;height:30px;border-radius:6px;border:1px solid #000;box-shadow:0 0 0 1px var(--holy)}
.gd-di-bfbuff.soul img.sm{box-shadow:none}
.gd-di-bfbuff>span:last-child{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.gd-di-bfbuff b{font-size:12.5px;color:var(--ink)}
.gd-di-bfbuff em{font-style:normal;font-size:11.5px;color:var(--holy);font-variant-numeric:tabular-nums}
.gd-di-bfbuff.soul em{color:var(--soul)}
.gd-di-ring{position:relative;display:block;width:34px;height:34px;flex:none;border-radius:8px;padding:2px;background:conic-gradient(var(--soul) var(--left,100%),rgba(255,255,255,.1) 0)}
.gd-di-ring img.sm{width:30px;height:30px;border-radius:6px}
.gd-di-soulsay{margin:0;font-size:13px;line-height:1.45;color:var(--ink2);min-height:2.9em}
.gd-di-hopectl .gd-ctl-note img.sm{width:22px;height:22px;border-radius:5px;border:1px solid #000;vertical-align:-6px;margin-right:6px}
.gd-di-hopectl .gd-rankpick{margin-left:0}
/* Penance: the Warrior on your left, the enemy on your right, the channel bar under you */
.gd-di-penfield{display:grid;grid-template-columns:auto minmax(12px,1fr) auto minmax(12px,1fr) auto;align-items:end;gap:10px;margin-top:30px;padding-bottom:14px}
.gd-di-penfield .gd-di-me{max-width:none}
.gd-di-penfield .gd-di-lane{align-self:center;height:44px}
.gd-di-penfield .gd-di-lane.left{transform:none}
.gd-di-bolt{position:absolute;top:6px;opacity:0;filter:drop-shadow(0 0 8px var(--holy))}
.gd-di-lane.left .gd-di-bolt{right:0}.gd-di-lane.right .gd-di-bolt{left:0}
.gd-di-bolt img.sm{display:block;width:28px;height:28px;border-radius:50%;border:1px solid color-mix(in srgb,var(--holy) 70%,#fff)}
.gd-di-bolt.heal{filter:drop-shadow(0 0 8px var(--heal))}
.gd-di-bolt.heal img.sm{border-color:color-mix(in srgb,var(--heal) 70%,#fff)}
.gd-di-enemy{position:relative;text-align:center;width:110px}
.gd-di-enemy .gd-di-pop{top:-6px;font-size:16px;white-space:normal;max-width:100%;line-height:1.05;text-align:center}   /* "Holy damage" at rank 4 wraps over the enemy instead of running off the stage's right edge */
.gd-di-foe{height:150px;width:auto;margin:0 auto;filter:drop-shadow(0 8px 14px rgba(0,0,0,.7))}
.gd-di-enemy.gd-di-struck .gd-di-foe{animation:gdidstruck .5s ease-out}
@keyframes gdidstruck{0%{filter:drop-shadow(0 8px 14px rgba(0,0,0,.7))}35%{filter:sepia(.6) saturate(2) hue-rotate(10deg) brightness(1.3) drop-shadow(0 0 16px rgba(255,233,168,.9))}100%{filter:drop-shadow(0 8px 14px rgba(0,0,0,.7))}}
.gd-di-chan{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:8px;opacity:0;transition:opacity .3s}
.gd-di-chan.gd-di-on{opacity:1}
.gd-di-chanlab{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:#fff;text-shadow:0 1px 2px #000}
.gd-di-chanlab img.sm{width:22px;height:22px;border-radius:5px;border:1px solid #000}
.gd-di-chanbar{position:relative;height:16px;border-radius:3px;background:rgba(0,0,0,.7);border:1px solid #4a4a4a;overflow:hidden}
.gd-di-chanbar .prog{position:absolute;inset:0;transform-origin:left;transform:scaleX(0);background:repeating-linear-gradient(115deg,#fff3b0 0 3px,#c9a227 3px 6px)}
.gd-di-chanbar .tick{position:absolute;top:0;bottom:0;width:1px;background:rgba(255,255,255,.5)}
.gd-di-chanbar .t1{left:50%}.gd-di-chanbar .t2{left:100%;margin-left:-1px}
.gd-di-chansec{font-size:12px;font-variant-numeric:tabular-nums;color:#e8e8e8}
.gd-di-pen .gd-rank{flex-wrap:wrap}
.gd-di-at{font-size:12px;color:var(--muted);margin-left:8px;white-space:nowrap}
.gd-di-pentwin .forever{padding-right:64px}
.gd-di-x{position:absolute;right:10px;top:50%;transform:translateY(-50%) rotate(-4deg);font-size:28px}
/* Meditation and Divine Aegis */
.gd-di-regen .gd-regenhead .gd-rankpick{margin-left:4px}
.gd-di-aeghead{margin-top:18px}
.gd-di-aegis{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:14px;align-items:center}
.gd-di-aegframe{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;padding:10px 12px;border-radius:10px;border:1px solid #3d3522;background:linear-gradient(#18150f,#0c0b09);min-height:64px}
.gd-di-aegframe b{display:block;font-size:14px;color:var(--ink)}
.gd-di-aegframe>div{position:relative;min-height:44px}
.gd-di-aegpop{position:absolute;left:0;top:-10px;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:18px;color:var(--heal);text-shadow:0 1px 3px #000;opacity:0;white-space:nowrap;pointer-events:none}
.gd-di-aegpop.gd-di-go{animation:gdidup 1.6s ease-out forwards}
@keyframes gdidup{0%{opacity:0;transform:translateY(10px)}20%{opacity:1;transform:none}75%{opacity:1}100%{opacity:0;transform:translateY(-18px)}}
.gd-di-aegshield{position:absolute;left:0;bottom:-2px;display:inline-flex;align-items:center;gap:6px;opacity:0;transform:scale(.7);transition:opacity .35s,transform .45s cubic-bezier(.2,.8,.2,1.2)}
.gd-di-aegshield.gd-di-on{opacity:1;transform:none}
.gd-di-aegshield.gd-di-snap{animation:gdidsnap .5s cubic-bezier(.2,.8,.2,1.3)}
.gd-di-aegshield img.sm{width:26px;height:26px;border-radius:6px;border:1px solid #000;box-shadow:0 0 0 1px var(--holy),0 0 12px rgba(255,215,94,.5)}
.gd-di-aegshield em{font-style:normal;font-weight:700;font-size:13px;color:var(--holy);font-variant-numeric:tabular-nums}
.gd-di-aegsay{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.gd-di-aegline{margin:0;font-size:13.5px;line-height:1.45;color:var(--ink2)}
.gd-di-aegline b{color:var(--ink)}
/* the tree beat: the trees, then the four gone cards, down the left; the lit tiles down the right; "in short" across the foot */
.gd-beat.gd-di-treebeat{grid-template-areas:"lead lead" "w aside" "under aside" "take take";grid-template-rows:auto auto 1fr auto}
.gd-di-treebeat>.gd-di-under{grid-area:under;align-self:start;min-width:0}
.gd-di-treebeat>.gd-aside>.gd-otside{margin-top:0}
.gd-di-treebeat>.gd-take-in{margin-top:2px}
.gd-di-treeside .gd-plate .gd-meta{margin:6px 0 0;font-size:12px;color:var(--muted)}
.gd-di-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gd-di-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-di-note>img{width:36px;height:36px;border-radius:7px;border:1px solid #000;box-shadow:0 0 0 1px #3a3a3a}
.gd-di-note h4{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 4px;font-size:14px;color:var(--ink)}
.gd-di-note p{margin:0;font-size:13px;line-height:1.45;color:var(--ink2)}
.gd-di-note.gd-di-gone{border-color:#5a2a2a}
.gd-di-note.gd-di-gone>img{filter:grayscale(.6)}
@media (max-width:960px){
  .gd-di-grid,.gd-di-soulgrid{grid-template-columns:1fr}
  .gd-di-party{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .gd-di-partyhead{grid-column:1/-1}
  .gd-di-idcols{grid-template-columns:1fr}
  .gd-di-aegis{grid-template-columns:1fr}
}
@media (max-width:760px){
  .gd-beat.gd-di-treebeat{grid-template-areas:"lead" "w" "aside" "under" "take";grid-template-rows:auto}
  .gd-di-treebeat>.gd-aside:empty{display:none}
  .gd-di-stage{padding:12px 10px}
  .gd-di-field{gap:6px}
  .gd-di-lane{display:none}
  .gd-di-field>.gd-di-me{max-width:34%}
  .gd-di-me .gd-pr-token,.gd-di-metok{width:60px;height:60px}
  .gd-di-mefig{height:112px}
  .gd-di-allies{gap:6px;margin-left:auto}
  .gd-di-token{width:54px;height:54px;border-width:2px}
  .gd-di-ally[data-i="1"] .gd-di-token{width:50px;height:50px}.gd-di-ally[data-i="2"] .gd-di-token{width:46px;height:46px}
  .gd-di-field.one .gd-di-token{width:64px;height:64px}
  .gd-di-bubble{width:82px;height:82px;margin-left:-41px}
  .gd-di-ally[data-i="1"] .gd-di-bubble{width:74px;height:74px;margin-left:-37px}.gd-di-ally[data-i="2"] .gd-di-bubble{width:68px;height:68px;margin-left:-34px}
  .gd-di-field.one .gd-di-bubble{width:94px;height:94px;margin-left:-47px}
  .gd-di-ally .gd-yardlabel{font-size:10px;letter-spacing:.06em}
  .gd-di-pop{font-size:17px}
  .gd-di-party{display:flex;padding:8px}
  .gd-di-frame{grid-template-columns:38px minmax(0,1fr);padding:6px 8px}
  .gd-di-port{width:38px;height:38px}
  .gd-di-btn small{display:none}
  .gd-di-swtwin .gd-big,.gd-di-shtwin .gd-big,.gd-di-pentwin .gd-big{font-size:21px}
  .gd-di-tl{grid-template-columns:1fr;grid-template-areas:"era" "track" "out";gap:0}
  .gd-di-track{margin:8px 14px 0}
  .gd-di-tl output{margin-left:0;padding-top:16px}
  .gd-di-penfield{grid-template-columns:auto minmax(6px,1fr) auto minmax(6px,1fr) auto;gap:4px}
  .gd-di-penfield .gd-di-lane{display:block;height:30px}
  .gd-di-bolt img.sm{width:22px;height:22px}
  .gd-di-enemy{width:72px}
  .gd-di-foe{height:104px}
  .gd-di-pentwin .forever{padding-right:12px;padding-bottom:30px}
  .gd-di-x{top:auto;right:8px;bottom:4px;transform:rotate(-4deg);font-size:22px}
  .gd-di-notes{grid-template-columns:1fr}
  .gd-di-regen .gd-regenhead{flex-wrap:wrap;gap:6px 8px}
  .gd-di-regen .gd-regenhead .gd-ctl-note{flex-basis:100%}
  .gd-di-steps{gap:4px 6px}
  .gd-di-step{padding:4px 7px 4px 4px}
  .gd-di-step img.sm{width:24px;height:24px}
  .gd-di-steps .gd-rarr{display:none}
  .gd-rank{margin-left:0;flex-basis:100%}
}
@media (max-width:760px),(pointer:coarse){
  .gd-w .gd-di-btn,.gd-loopctl .gd-di-btn{min-height:44px}
  .gd-di-shield .gd-rankpick button,.gd-di-hopectl .gd-rankpick button,.gd-di-pen .gd-rankpick button,.gd-di-regen .gd-rankpick button{width:40px;height:40px}
  .gd-rankpick.gd-di-wide button{height:40px}
}
@media (prefers-reduced-motion:reduce){
  .gd-di-bubble.gd-di-snap,.gd-di-bubble.gd-di-glow,.gd-di-bubble.gd-di-break,.gd-di-ally.gd-di-hit,.gd-di-ally.gd-di-healed .gd-di-token,.gd-di-aegframe.gd-di-healed .gd-di-port,.gd-di-enemy.gd-di-struck .gd-di-foe,.gd-di-btn.gd-di-nudge,.gd-di-bfbuff.gd-di-nudge,.gd-di-aegshield.gd-di-snap{animation:none}
  .gd-di-bubble.gd-di-break{opacity:0}
  .gd-di-pop.gd-di-go,.gd-di-aegpop.gd-di-go{animation:none;opacity:1}
  .gd-di-pop.gd-di-go{transform:translate(-50%,-10px)}
  .gd-di-aegpop.gd-di-go{left:auto;right:0;top:0;transform:none}   /* with no float to carry it up, the crit number sits beside the name instead of over it */
  .gd-di-bubble,.gd-di-soulmark,.gd-di-mark,.gd-di-chan,.gd-di-aegshield,.gd-di-swtwin>div,.gd-di-pentwin>div,.gd-di-fbuff.soul i{transition:none}
  .gd-di-chanbar .prog{transform:scaleX(1)}
  .gd-di-tl .gd-di-mark{opacity:1}
  .gd-di-sweep{transform:scaleX(1)}
}

/* ---- Chapter 4, Holy (guides/priest/holy.js, holy.widgets.js). Healing gets its own stage: the Darkshore shore under the first moon, your
   party's unit frames, green numbers, a map from above for Prayer of Healing's reach, a line of four for Prayer of Mending. Every class is
   .gd-ho-*; the chapter's accent is --ac (priest.css sets it from data-tree). Motion is transform and opacity only, none under
   prefers-reduced-motion. ---- */
.gd-ch[data-tree="holy"]{--heal:#57e389;--hurt:#ff7a66}
/* the yard: the chapter's own blurred plate when it is on disk, the moonlit shore when it is not (never a black box) */
.gd-ho-wrap{border-color:color-mix(in srgb,var(--ac) 30%,#333);background:radial-gradient(40% 36% at 78% 18%,rgba(230,236,255,.22),transparent 70%),radial-gradient(70% 50% at 50% 100%,rgba(60,90,130,.35),transparent 70%),linear-gradient(180deg,#0b1020 0%,#17213a 42%,#2a3550 60%,#1d2538 62%,#101522 100%)}
.gd-ho-wrap::before{background:linear-gradient(to right,rgba(8,8,10,.4) 0,rgba(8,8,10,.18) 60%,rgba(8,8,10,.05) 100%)}
.gd-ho-wrap::after{opacity:.4}
.gd-ho-stage,.gd-ho-pomstage{min-height:0;padding:14px 16px}
.gd-ho-grid .gd-ho-stage{height:100%;box-sizing:border-box;justify-content:space-between}
.gd-ho-stage .gd-steptitle,.gd-ho-pomstage .gd-steptitle{min-height:1.3em;margin:0 0 6px}
/* a figure with no render yet: her face, or a class icon, in a portrait ring standing on its shadow */
.gd-ho-tok{position:relative;display:block;width:72px;height:72px;margin:0 auto;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);overflow:hidden}
.gd-ho-tok img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.gd-ho-metok{width:84px;height:84px}
.gd-ho-me .gd-casterfig{height:170px;width:auto;max-width:100%;object-fit:contain;object-position:50% 100%}
/* Renew: the yard and the Rogue's frame side by side */
.gd-ho-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr);gap:12px;align-items:stretch}
.gd-ho-grid>.gd-stagewrap{min-height:0}
.gd-ho-field{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:26px;padding-bottom:10px;min-width:0}
.gd-ho-me,.gd-ho-ally{position:relative;text-align:center;min-width:0;flex:0 1 auto}
.gd-ho-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-ho-shot{position:absolute;left:0;top:6px;opacity:0;filter:drop-shadow(0 0 8px var(--ac))}
.gd-ho-shot img.sm{display:block;width:30px;height:30px;border-radius:50%;border:1px solid color-mix(in srgb,var(--ac) 70%,#fff)}
.gd-ho-halo{position:absolute;left:50%;bottom:16px;width:112px;height:112px;margin-left:-56px;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-ho-halo.gd-ho-lit{animation:gdhohalo .9s ease-out}
@keyframes gdhohalo{0%{opacity:0;transform:scale(.5)}35%{opacity:1;transform:scale(1.05)}100%{opacity:0;transform:scale(1.2)}}
.gd-ho-hitflash{position:absolute;left:50%;bottom:16px;width:112px;height:112px;margin-left:-56px;border-radius:50%;background:radial-gradient(circle,rgba(255,70,50,.6),transparent 65%);opacity:0;pointer-events:none}
.gd-ho-hitflash.gd-ho-go{animation:gdhoflash .7s ease-out}
@keyframes gdhoflash{0%{opacity:0;transform:scale(.6)}25%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.15)}}
.gd-ho-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-ho-pop.gd-ho-red{color:var(--hurt);font-family:Caveat,"Segoe Print",cursive;font-size:24px}
.gd-ho-pop.gd-ho-go{animation:gdhofloat 1.8s ease-out forwards}
@keyframes gdhofloat{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)}}
/* a heal the files do not settle: the number drawn hollow */
.gd-ho-pop.gd-ho-hollow,.gd-ho-tpop.gd-ho-hollow{color:transparent;-webkit-text-stroke:1.2px var(--heal);text-shadow:none}
/* unit frames: portrait, name, the bar, what the heal gave */
.gd-ho-side{display:flex;flex-direction:column;justify-content:center;gap:10px;min-width:0;padding:10px;border-radius:8px;border:1px solid #2c2c2c;background:rgba(8,8,10,.6)}
.gd-ho-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-ho-frame.gd-ho-lit{border-color:color-mix(in srgb,var(--heal) 55%,#3d3522)}
.gd-ho-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-ho-port img{display:block;width:100%;height:100%;object-fit:cover}
.gd-ho-fbody{min-width:0}
.gd-ho-fname{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;line-height:1.2;min-width:0}
.gd-ho-fname b{color:var(--ink);white-space:nowrap}
.gd-ho-fbuff{position:relative;margin-left:auto;flex:none}
.gd-ho-fbuff[hidden]{display:none}
.gd-ho-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-ho-fbuff i{position:absolute;left:0;right:0;bottom:-4px;height:2px;background:var(--ac);transform-origin:left}
.gd-ho-fbuff.gd-ho-flash img.sm{animation:gdhobuff .6s ease-out}
@keyframes gdhobuff{0%{transform:scale(.6);opacity:0}60%{transform:scale(1.15);opacity:1}100%{transform:none}}
/* the health bar: the game's green, a hollow dash where Classic's extra would have gone */
.gd-ho-hbar{position:relative;height:14px;margin:5px 0 3px;border-radius:3px;background:#070707;border:1px solid #2f2f2f;overflow:hidden}
.gd-ho-hp{position:absolute;inset:0;transform-origin:left;transform:scaleX(1);background:linear-gradient(#5fd77a,#1f7a35);transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.gd-ho-ghost{position:absolute;top:0;bottom:0;left:100%;width:0;opacity:0;box-sizing:border-box;border:1px dashed rgba(200,200,200,.85);border-left:0;background:repeating-linear-gradient(115deg,rgba(160,160,160,.35) 0 3px,rgba(90,90,90,.25) 3px 6px);transition:width .45s,left .45s,opacity .3s}
.gd-ho-fnum{display:flex;align-items:baseline;gap:6px;margin:0;min-width:0}
.gd-ho-fnum output{flex:none;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:16px;color:var(--heal);font-variant-numeric:tabular-nums}
.gd-ho-fnum small{font-size:11px;line-height:1.25;color:var(--muted);min-width:0}
/* Renew's ticks: Classic's five over Forever's, each tick to scale */
.gd-ho-ticks{display:grid;gap:6px}
.gd-ho-tickrow{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:8px}
.gd-ho-tlab{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-ho-tickrow.forever .gd-ho-tlab{color:#ffd75e}
.gd-ho-tseg{display:flex;gap:3px;height:14px;width:calc(var(--w,1) * 100%);transition:width .4s}
.gd-ho-tseg i{flex:1;border-radius:2px;background:repeating-linear-gradient(115deg,#8f8f8f 0 3px,#5c5c5c 3px 6px);opacity:.28;transition:opacity .3s,transform .3s;transform:scaleY(.6)}
.gd-ho-tickrow.forever .gd-ho-tseg i{background:linear-gradient(#7af0a2,#2c9e57)}
.gd-ho-tseg i.gd-ho-on{opacity:1;transform:none}
.gd-ho-tickrow output{font-size:12px;font-variant-numeric:tabular-nums;color:#cfcfcf;white-space:nowrap}
.gd-ho-tickrow.forever output{color:var(--heal)}
/* the controls, the twins, the chips */
.gd-ho-ctl{flex-wrap:wrap;gap:8px 10px}
.gd-ho-ctl .gd-cast{margin-left:0}
.gd-ho-ctl .gd-rankpick{margin-left:0;flex-wrap:wrap}
.gd-ho-btn small{margin-left:4px;font-weight:400;font-size:11.5px;opacity:.8}
.gd-ho-btn:disabled{opacity:.5;cursor:default}
.gd-ho-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-ho-twinlab{color:#ffd75e}
.gd-ho-twin>div{min-width:0}
.gd-ho-chips{margin:12px 0 0;display:flex;flex-wrap:wrap;gap:8px}
.gd-ho-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-ho-chipline.gd-ho-gold{border-color:#b8901f;color:#ffd75e}
.gd-ho-chipline img.sm{width:24px;height:24px;border-radius:5px;border:1px solid #000}
/* Prayer of Healing from above: the shore as a map, two rings, four tokens */
.gd-ho-reachbox{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(240px,1fr);gap:18px;align-items:center}
.gd-ho-map{position:relative;width:100%;aspect-ratio:100/64;border-radius:12px;overflow:hidden;border:4px solid #4b3d22;background:radial-gradient(30% 40% at 80% 10%,rgba(230,236,255,.14),transparent 70%),linear-gradient(170deg,#1a2233 0%,#2b3346 35%,#3b3a33 55%,#4a4030 75%,#5a4d38 100%);box-shadow:0 0 0 2px #000,inset 0 0 34px rgba(0,0,0,.7),0 10px 24px rgba(0,0,0,.6)}
.gd-ho-map::before{content:"";position:absolute;inset:0;background:radial-gradient(40% 50% at 15% 85%,rgba(120,140,70,.16),transparent 70%),radial-gradient(30% 20% at 60% 80%,rgba(0,0,0,.2),transparent 70%);pointer-events:none}
.gd-ho-ring{position:absolute;width:calc(var(--r) * 2%);height:calc(var(--r) * 2 / var(--fh,60) * 100%);border-radius:50%;transform:translate(-50%,-50%);transition:opacity .4s,width .4s,height .4s;pointer-events:none}
.gd-ho-ring.c{border:2px dashed #a8a8a8;background:rgba(200,200,200,.05)}
.gd-ho-ring.f{border:2px solid color-mix(in srgb,var(--ac) 85%,#fff);background:rgba(255,233,168,.07)}
/* the rings' labels sit inside the map, beside the one each ring is drawn round, so they never leave with a clipped edge */
.gd-ho-rlab{position:absolute;z-index:3;transform:translate(-50%,-50%) rotate(-3deg);font-size:17px;padding:0 5px;border-radius:4px;background:rgba(14,16,24,.85);white-space:nowrap;pointer-events:none;transition:opacity .4s}
.gd-ho-rlab.c{color:#cfcfcf}
.gd-ho-rlab.f{color:color-mix(in srgb,var(--ac) 80%,#fff)}
.gd-ho-map[data-era="classic"] .gd-ho-rlab.f{opacity:.45}
.gd-ho-map[data-era="forever"] .gd-ho-rlab.c{opacity:.55}
.gd-ho-map[data-era="classic"] .gd-ho-ring.f{opacity:.28}
.gd-ho-map[data-era="forever"] .gd-ho-ring.c{opacity:.4}
.gd-ho-ring.gd-ho-pulse{animation:gdhoring .9s ease-out}
@keyframes gdhoring{0%{box-shadow:0 0 0 0 rgba(255,233,168,.6),inset 0 0 0 0 rgba(255,233,168,.3)}100%{box-shadow:0 0 0 14px rgba(255,233,168,0),inset 0 0 30px rgba(255,233,168,0)}}
.gd-ho-mtok{position:absolute;z-index:2;display:flex;flex-direction:column;align-items:center;gap:3px;transform:translate(-50%,-50%)}
.gd-ho-mtok .gd-ho-tok{width:38px;height:38px;border-width:2px;transition:filter .4s,opacity .4s}
.gd-ho-mtok.me .gd-ho-tok{border-color:color-mix(in srgb,var(--ac) 85%,#fff)}
.gd-ho-mtok small{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-ho-mtok.gd-ho-out .gd-ho-tok{filter:grayscale(1) brightness(.55)}
.gd-ho-mtok.gd-ho-out small{color:#f0a0a0}
.gd-ho-mtok.gd-ho-out small::after{content:" · out of reach"}
.gd-ho-mtok.gd-ho-lit .gd-ho-tok{animation:gdhohalo2 .9s ease-out}
@keyframes gdhohalo2{0%{box-shadow:0 0 0 2px #000,0 0 0 0 rgba(87,227,137,.8)}100%{box-shadow:0 0 0 2px #000,0 0 0 16px rgba(87,227,137,0)}}
.gd-ho-tpop{position:absolute;left:50%;top:-18px;font-style:normal;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:15px;color:var(--heal);text-shadow:0 1px 2px #000,0 0 6px #000;white-space:nowrap;opacity:0;pointer-events:none;transform:translateX(-50%)}
.gd-ho-tpop.gd-ho-go{animation:gdhofloat 1.1s ease-out forwards}
.gd-ho-reachside{min-width:0}
.gd-ho-era{display:inline-flex;border-radius:999px;border:1px solid var(--line);overflow:hidden;background:#111}
.gd-ho-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-ho-era button[aria-pressed="true"]{background:var(--ac);color:#1a1408}
.gd-ho-era button[data-era="classic"][aria-pressed="true"]{background:#cfcfcf;color:#111}
.gd-ho-era button:focus-visible{outline:2px solid #fff;outline-offset:-3px}
.gd-ho-rankrow{display:flex;align-items:center;gap:4px;margin-top:12px}
.gd-ho-rrows{display:grid;gap:6px;margin-top:12px}
.gd-ho-rrow{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:8px;opacity:.65;transition:opacity .3s}
.gd-ho-rrow.gd-ho-here{opacity:1}
.gd-ho-rrow span{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-ho-rrow.f span{color:#ffd75e}
.gd-ho-rrow b{font-size:14px;color:var(--ink);white-space:nowrap}
.gd-ho-rrow b::after{content:" in reach";font-weight:400;font-size:12px;color:var(--muted)}
.gd-ho-rrow output{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;color:#cfcfcf;white-space:nowrap}
.gd-ho-rrow.f output{color:var(--heal)}
.gd-ho-rsum{margin:12px 0 0;font-size:14px;line-height:1.5;color:var(--ink2)}
.gd-ho-rsum b{color:var(--ink)}
.gd-ho-reachside .gd-ho-b-pray{margin:14px 0 0}
.gd-ho-map.gd-ho-cast .gd-ho-mtok.me .gd-ho-tok{animation:gdhocast .6s ease-out}
@keyframes gdhocast{0%{transform:none}40%{transform:scale(1.12)}100%{transform:none}}
/* Binding Heal: two frames, one cast bar, the card beside */
.gd-ho-bindgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
.gd-ho-frames{display:grid;gap:8px;padding:10px;border-radius:8px;border:1px solid #2c2c2c;background:rgba(8,8,10,.6)}
.gd-ho-castrow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:4px;opacity:0;transition:opacity .3s}
.gd-ho-castrow.gd-ho-on{opacity:1}
.gd-ho-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-ho-castlab img.sm{width:22px;height:22px;border-radius:5px;border:1px solid #000}
.gd-ho-castbar{position:relative;height:16px;border-radius:3px;background:rgba(0,0,0,.7);border:1px solid #4a4a4a;overflow:hidden}
.gd-ho-castbar i{position:absolute;inset:0;transform-origin:left;transform:scaleX(0);background:repeating-linear-gradient(115deg,#fff3b0 0 3px,#c9a227 3px 6px)}
.gd-ho-castsec{font-size:12px;font-variant-numeric:tabular-nums;color:#e8e8e8}
.gd-ho-bindcard{min-width:0}
.gd-ho-both>.forever:first-child .gd-big{color:var(--heal)}
/* Prayer of Mending: four in a line, the prayer hopping between them */
.gd-ho-line{position:relative;display:flex;justify-content:space-between;align-items:flex-end;gap:8px;margin-top:34px;padding:0 6px 6px}
.gd-ho-ltok{position:relative;flex:1 1 0;min-width:0;text-align:center}
.gd-ho-ltok .gd-ho-tok{width:64px;height:64px;transition:box-shadow .3s,filter .3s}
.gd-ho-ltok.gd-ho-holder .gd-ho-tok{box-shadow:0 0 0 2px #000,0 0 0 4px var(--ac),0 0 22px color-mix(in srgb,var(--ac) 70%,transparent)}
.gd-ho-ltok.gd-ho-done .gd-ho-tok{filter:brightness(.85)}
.gd-ho-badge{position:absolute;right:50%;top:-6px;z-index:2;margin-right:-40px;opacity:0;transform:scale(.6);transition:opacity .3s,transform .4s cubic-bezier(.2,.8,.2,1.2)}
.gd-ho-badge img.sm{display:block;width:24px;height:24px;border-radius:6px;border:1px solid #000;box-shadow:0 0 0 1px var(--ac),0 0 12px color-mix(in srgb,var(--ac) 70%,transparent)}
.gd-ho-ltok.gd-ho-holder .gd-ho-badge{opacity:1;transform:none}
.gd-ho-ltok .gd-ho-halo{bottom:8px;width:96px;height:96px;margin-left:-48px}
.gd-ho-ltok .gd-ho-pop{top:-22px}
.gd-ho-hop{position:absolute;left:0;top:0;z-index:3;opacity:0;transform:translate(-50%,-100%);transition:left .5s cubic-bezier(.3,0,.5,1),top .5s cubic-bezier(.3,0,.5,1),opacity .3s;filter:drop-shadow(0 0 8px var(--ac));pointer-events:none}
.gd-ho-hop img.sm{display:block;width:26px;height:26px;border-radius:50%;border:1px solid color-mix(in srgb,var(--ac) 70%,#fff)}
.gd-ho-pomstat{display:flex;align-items:center;gap:14px;margin-top:12px;font-size:12.5px;color:var(--ink2)}
.gd-ho-jumps{font-weight:700;color:#ffd75e;white-space:nowrap}
.gd-ho-ptimer{display:flex;align-items:center;gap:8px;flex:1;min-width:0;opacity:.3;transition:opacity .3s}
.gd-ho-ptimer.gd-ho-on{opacity:1}
.gd-ho-ptimer i{flex:1;height:6px;border-radius:3px;background:var(--ac);transform-origin:left}
.gd-ho-ptimer small{font-size:11px;letter-spacing:.04em;color:var(--muted);white-space:nowrap}
.gd-ho-pomfoot{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:14px;align-items:start;margin-top:4px}
.gd-ho-pomfoot .gd-twin{margin-top:14px}
.gd-ho-pomfoot .gd-plate{margin-top:14px}
/* the three big heals: the picker, the rows to scale */
.gd-ho-pick{gap:8px;margin:0 0 14px}
.gd-ho-pick button{display:inline-flex;align-items:center;gap:8px;padding:5px 12px 5px 6px;border-radius:999px;border:1px solid var(--line);background:#111;color:var(--ink2);font:inherit;font-size:13px;font-weight:700;cursor:pointer;min-height:36px}
.gd-ho-pick button img.sm{width:24px;height:24px;border-radius:5px;border:1px solid #000}
.gd-ho-pick button span{display:flex;flex-direction:column;line-height:1.15;text-align:left}
.gd-ho-pick button small{font-weight:400;font-size:11px;color:var(--muted)}
.gd-ho-pick button[aria-pressed="true"]{border-color:var(--gold);color:#ffd75e;box-shadow:0 0 10px rgba(255,209,0,.3)}
.gd-ho-mrows{display:grid;gap:2px}
.gd-ho-mrow{display:grid;grid-template-columns:30px 190px minmax(0,1fr) 120px;align-items:center;gap:10px;padding:6px 8px;border-radius:8px;border-top:1px solid rgba(255,255,255,.05);cursor:pointer;transition:background .3s}
.gd-ho-mrow.gd-ho-on{background:rgba(255,209,0,.06)}
.gd-ho-mrow img.sm{width:30px;height:30px;border-radius:7px;border:1px solid #000}
.gd-ho-mrow b{font-size:14px;line-height:1.2;color:var(--ink)}
.gd-ho-mrow b small{display:block;font-weight:400;font-size:11.5px;color:var(--muted)}
.gd-ho-mbars{display:grid;gap:3px}
.gd-ho-mbars>div{display:grid;grid-template-columns:minmax(0,1fr) 52px;align-items:center;gap:8px}
.gd-ho-mbars 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-ho-mbars .forever i{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-ho-mbars span{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
.gd-ho-mbars .forever span{color:#ffd75e}
.gd-ho-mana.drawn .gd-ho-mbars .classic i{width:var(--c)}
.gd-ho-mana.drawn .gd-ho-mbars .forever i{width:var(--f)}
.gd-ho-mrow .gd-chalk{font-size:19px;text-align:right;color:#f08080;line-height:1.05}
/* the tree beat: the tree, then the cards, down the left; the lit tiles down the right; "in short" across the foot of both */
.gd-beat.gd-ho-treebeat{grid-template-areas:"lead lead" "w aside" "under aside" "take take";grid-template-rows:auto auto 1fr auto}
.gd-ho-treebeat>.gd-ho-under{grid-area:under;align-self:start;min-width:0}
.gd-ho-treebeat>.gd-aside>.gd-otside{margin-top:0}
.gd-ho-treebeat>.gd-take-in{margin-top:2px}
.gd-ho-notes{display:grid;gap:10px}
.gd-ho-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-ho-note>img,.gd-ho-note>.noicon{width:36px;height:36px;border-radius:7px;border:1px solid #000;box-shadow:0 0 0 1px #3a3a3a}
.gd-ho-note h4{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 4px;font-size:14px;color:var(--ink)}
.gd-ho-note p{margin:0;font-size:13.5px;line-height:1.45;color:var(--ink2)}
.gd-ho-note p b{color:var(--ink)}
.gd-ho-note .gd-ho-meta{margin-top:4px;font-size:12px;color:var(--muted)}
.gd-ho-note.gd-ho-gone{border-color:#5a2a2a}
.gd-ho-note.gd-ho-gone>img{filter:grayscale(.6)}
@media (max-width:960px){
  .gd-ho-grid,.gd-ho-reachbox,.gd-ho-bindgrid,.gd-ho-pomfoot{grid-template-columns:1fr}
  .gd-ho-reachbox{gap:12px}
}
@media (max-width:760px){
  .gd-beat.gd-ho-treebeat{grid-template-areas:"lead" "w" "aside" "under" "take";grid-template-rows:auto}
  .gd-ho-treebeat>.gd-aside:empty{display:none}
  .gd-ho-stage,.gd-ho-pomstage{padding:12px 10px}
  .gd-ho-field{gap:6px;margin-top:20px}
  .gd-ho-me .gd-casterfig{height:112px}
  .gd-ho-tok{width:56px;height:56px;border-width:2px}
  .gd-ho-metok{width:64px;height:64px}
  .gd-ho-halo,.gd-ho-hitflash{width:90px;height:90px;margin-left:-45px}
  .gd-ho-pop{font-size:17px}
  .gd-ho-side{padding:8px}
  .gd-ho-frame{grid-template-columns:38px minmax(0,1fr);padding:6px 8px}
  .gd-ho-port{width:38px;height:38px}
  .gd-ho-tickrow{grid-template-columns:50px minmax(0,1fr) auto;gap:6px}
  .gd-ho-tickrow output{font-size:11px}
  .gd-ho-btn small{display:none}
  .gd-ho-twin .gd-big{font-size:21px}
  .gd-ho-map{border-width:3px}
  .gd-ho-mtok .gd-ho-tok{width:30px;height:30px}
  .gd-ho-mtok small{font-size:9.5px}
  .gd-ho-rlab{font-size:13px}
  .gd-ho-rlab.f{transform:translate(-78%,-50%) rotate(-3deg)}   /* the ring's label sits to the target's right; on a phone it would leave the map */
  .gd-ho-rrow{grid-template-columns:56px minmax(0,1fr) auto}
  .gd-ho-line{gap:4px;margin-top:30px;padding:0 0 6px}
  .gd-ho-ltok .gd-ho-tok{width:48px;height:48px}
  .gd-ho-ltok .gd-ho-halo{width:72px;height:72px;margin-left:-36px}
  .gd-ho-ltok .gd-yardlabel{font-size:10px;letter-spacing:.06em}
  .gd-ho-badge{margin-right:-30px}
  .gd-ho-pomstat{flex-wrap:wrap;gap:6px 12px}
  .gd-ho-pick button span small{display:none}
  .gd-ho-mrow{grid-template-columns:30px minmax(0,1fr) 96px;gap:4px 8px}
  .gd-ho-mrow .gd-ho-mbars{grid-column:1/-1;grid-row:2}
  .gd-ho-mrow .gd-chalk{font-size:16px}
}
@media (max-width:760px),(pointer:coarse){
  .gd-w .gd-ho-btn,.gd-loopctl .gd-ho-btn,.gd-ho-era button,.gd-ho-pick button{min-height:44px}
  .gd-ho-renew .gd-rankpick button,.gd-ho-reach .gd-rankpick button,.gd-ho-bind .gd-rankpick button,.gd-ho-pom .gd-rankpick button{width:36px;height:36px}
}
@media (prefers-reduced-motion:reduce){
  .gd-ho-halo.gd-ho-lit,.gd-ho-hitflash.gd-ho-go,.gd-ho-ring.gd-ho-pulse,.gd-ho-mtok.gd-ho-lit .gd-ho-tok,.gd-ho-map.gd-ho-cast .gd-ho-mtok.me .gd-ho-tok,.gd-ho-fbuff.gd-ho-flash img.sm{animation:none}
  .gd-ho-pop.gd-ho-go,.gd-ho-tpop.gd-ho-go{animation:none;opacity:1;transform:translate(-50%,-10px)}
  .gd-ho-hp,.gd-ho-ghost,.gd-ho-tseg,.gd-ho-tseg i,.gd-ho-ring,.gd-ho-mtok .gd-ho-tok,.gd-ho-castrow,.gd-ho-hop,.gd-ho-badge,.gd-ho-ltok .gd-ho-tok,.gd-ho-ptimer,.gd-ho-mbars i,.gd-ho-frame,.gd-ho-rrow,.gd-ho-mrow{transition:none}
  .gd-ho-castbar i{transform:scaleX(1)}
}

/* ---- Shadow, chapter 5 of the Priest's page (guides/priest/shadow.js, shadow.widgets.js). Violet for the tree (--ac from priest.css),
   a sick green where Vampiric Embrace heals, Holy gold where Smite and Holy Fire still stand. Plates, twins, chalk, fine print and the
   yard are page.css's own; every class here is .gd-sh-*. Motion is transform, opacity and width only, none under reduced motion. ---- */
.gd-ch[data-tree="shadow"]{--heal:#57e389;--holy:#ffe9a8}
/* 1. Smite and Holy Fire, chalk bars with a rank picker */
.gd-sh-holyctl{margin-top:0;gap:8px 14px}
.gd-sh-holyctl .gd-rankpick{flex-wrap:wrap}
.gd-sh-spells{display:inline-flex;gap:6px}
.gd-sh-spells button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:4px 12px 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-sh-spells button[aria-pressed="true"]{border-color:var(--holy);color:#fff;background:color-mix(in srgb,var(--holy) 12%,#111)}
.gd-sh-spname{display:inline-flex;align-items:center;gap:6px}
.gd-sh-spname img.sm{width:24px;height:24px;border-radius:6px;border:1px solid #000}
.gd-sh-at{font-size:12.5px;color:var(--ink2);white-space:nowrap}
.gd-sh-bars{display:grid;gap:8px;margin:12px 0 0}
.gd-sh-bar{display:grid;grid-template-columns:64px minmax(0,1fr) 72px;align-items:center;gap:10px}
.gd-sh-blab{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-sh-bar.forever .gd-sh-blab{color:#ffd75e}
.gd-sh-track{display:flex;height:26px;border-radius:4px;background:#111;border:1px solid #3a3a3a;overflow:hidden}
.gd-sh-track i{display:block;height:100%;width:0;transition:width .7s cubic-bezier(.2,.7,.2,1)}
.gd-sh-track .hit{background:repeating-linear-gradient(115deg,#8f8f8f 0 3px,#5c5c5c 3px 6px)}
.gd-sh-track .dot{background:repeating-linear-gradient(135deg,rgba(143,143,143,.55) 0 2px,transparent 2px 6px);border-left:1px solid rgba(255,255,255,.35)}
.gd-sh-bar.forever .gd-sh-track .hit{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-sh-bar.forever .gd-sh-track .dot{background:repeating-linear-gradient(135deg,rgba(255,227,138,.6) 0 2px,transparent 2px 6px);border-left:1px solid rgba(255,227,138,.7)}
.gd-sh-bnum{font-family:Cinzel,Georgia,serif;font-size:20px;font-weight:700;text-align:right;color:#e8e8e8;font-variant-numeric:tabular-nums}
.gd-sh-bar.forever .gd-sh-bnum{color:#ffd75e}
.gd-sh-read{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;margin:12px 0 0;min-height:2.6em;font-size:14px;line-height:1.5;color:var(--ink2)}
.gd-sh-read .gd-chalk{flex:none;font-size:30px;color:#f08080}
/* 2. Shadowform, toggled */
.gd-sh-formhead{display:grid;gap:12px}
.gd-sh-era{display:inline-flex;justify-self:start;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:#111}
.gd-sh-era button{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:13px;font-weight:700;min-height:40px;padding:6px 18px;border:0;background:none;color:var(--ink2);cursor:pointer;transition:background .25s,color .25s}
.gd-sh-era button img.sm{width:22px;height:22px;border-radius:5px;border:1px solid #000}
.gd-sh-era button[aria-pressed="true"]{background:#9a9a9a;color:#111}
.gd-sh-era button[data-form="on"][aria-pressed="true"]{background:var(--ac);color:#15082a}
.gd-sh-fchips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.gd-sh-fc{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:10px;border:1px solid #333;background:rgba(11,11,13,.85);font-size:13px;line-height:1.25;color:var(--ink2);box-shadow:none;transition:border-color .35s,box-shadow .35s,color .35s;min-width:0}
.gd-sh-fc img.sm{flex:none;width:28px;height:28px;border-radius:7px;border:1px solid #000;filter:saturate(.4);transition:filter .35s}
.gd-sh-fc>span{display:flex;flex-direction:column;min-width:0}
.gd-sh-fc b{color:var(--ink);font-weight:700}
.gd-sh-fc small{font-size:11px;color:var(--muted)}
.gd-sh-form[data-form="on"] .gd-sh-fc{border-color:color-mix(in srgb,var(--ac) 70%,#000);box-shadow:0 0 0 1px color-mix(in srgb,var(--ac) 35%,transparent),0 0 16px color-mix(in srgb,var(--ac) 25%,transparent);color:var(--ink)}
.gd-sh-form[data-form="on"] .gd-sh-fc b{color:var(--ac)}
.gd-sh-form[data-form="on"] .gd-sh-fc img.sm{filter:none}
.gd-sh-costlab{margin:16px 0 6px}
.gd-sh-costs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gd-sh-costcard{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 10px;border-radius:10px;border:1px solid #333;background:rgba(11,11,13,.85);min-width:0}
.gd-sh-costcard img.sm{width:32px;height:32px;border-radius:7px;border:1px solid #000}
.gd-sh-costcard b{display:block;font-size:13.5px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-sh-costcard small{display:block;font-size:11px;color:var(--muted)}
.gd-sh-cost{display:inline-flex;align-items:baseline;gap:5px;white-space:nowrap}
.gd-sh-cost .was{display:none;font-size:12px;color:#f0a0a0;text-decoration-color:rgba(240,120,120,.7)}
.gd-sh-cost .now{font-family:Cinzel,Georgia,serif;font-size:20px;font-weight:700;color:#e8e8e8;font-variant-numeric:tabular-nums}
.gd-sh-cost small{font-size:11px;color:var(--muted)}
.gd-sh-form[data-form="on"] .gd-sh-cost .was{display:inline}
.gd-sh-form[data-form="on"] .gd-sh-cost .now{color:var(--ac)}
.gd-sh-formplates{margin-top:16px}
.gd-sh-formplates .gd-plate{transition:opacity .4s}
.gd-sh-form[data-form="on"] .gd-sh-formplates .gd-plate.classic{opacity:.55}
.gd-sh-form[data-form="off"] .gd-sh-formplates .gd-plate.forever{opacity:.75}
.gd-sh-casts{display:grid;gap:10px;margin:14px 0 0}
.gd-sh-cl .gd-eralabel{margin:0 0 5px}
.gd-sh-cl.ok .gd-eralabel{color:var(--heal)}.gd-sh-cl.no .gd-eralabel{color:#f08080}.gd-sh-cl.q .gd-eralabel{color:#d1aa64}
.gd-sh-clrow{display:flex;flex-wrap:wrap;gap:6px}
.gd-sh-cchip{display:inline-flex;align-items:center;gap:6px;padding:3px 9px 3px 3px;border-radius:999px;border:1px solid #3a3a3a;background:rgba(11,11,13,.85);font-size:12.5px;color:var(--ink2);transition:opacity .35s,border-color .35s}
.gd-sh-cchip img.sm{width:22px;height:22px;border-radius:50%;border:1px solid #000}
.gd-sh-cchip.ok{border-color:color-mix(in srgb,var(--heal) 45%,#000)}
.gd-sh-cchip.q{border-style:dashed;border-color:#7a6230}
.gd-sh-form[data-form="on"] .gd-sh-cchip.no{opacity:.45}
.gd-sh-form[data-form="on"] .gd-sh-cchip.no img.sm{filter:grayscale(1)}
.gd-sh-form[data-form="on"] .gd-sh-cchip.ok{border-color:var(--heal);color:var(--ink)}
/* 3. Vampiric Embrace on the yard, the party beside it */
.gd-sh-vegrid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr);gap:12px;align-items:stretch}
.gd-sh-vegrid>.gd-stagewrap{min-height:0;border-color:color-mix(in srgb,var(--ac) 30%,#333);background:radial-gradient(70% 60% at 70% 100%,rgba(183,140,255,.16),transparent 70%),radial-gradient(50% 40% at 20% 10%,rgba(255,255,255,.05),transparent 70%),linear-gradient(180deg,#0a0812 0%,#171226 42%,#2a2238 60%,#120d1a 100%)}
.gd-sh-vegrid>.gd-stagewrap::before{background:linear-gradient(to right,rgba(8,8,10,.4) 0,rgba(8,8,10,.15) 60%,rgba(8,8,10,.05) 100%)}
.gd-sh-stage{min-height:0;height:100%;box-sizing:border-box;justify-content:space-between}
.gd-sh-stage .gd-steptitle{min-height:1.3em;margin:0 0 6px}
.gd-sh-stage .gd-target{width:140px}
.gd-sh-stage .gd-dummyfig{height:160px}
.gd-sh-stage .gd-bolt{filter:drop-shadow(0 0 8px color-mix(in srgb,var(--ac) 90%,transparent))}
.gd-sh-stage .gd-bolt img.sm{border-color:color-mix(in srgb,var(--ac) 75%,#fff)}
.gd-sh-stage .gd-state{color:color-mix(in srgb,var(--heal) 80%,#fff)}
.gd-sh-stage.burn .gd-dummyfig{filter:sepia(.6) hue-rotate(215deg) saturate(2) brightness(.95) drop-shadow(0 0 16px rgba(183,140,255,.8))}
.gd-sh-stage.sh-form .gd-pr-token{border-color:var(--ac);box-shadow:0 0 0 3px #0b0b0d,0 0 22px color-mix(in srgb,var(--ac) 70%,transparent)}
.gd-sh-stage.sh-form .gd-pr-token img{filter:saturate(.6) hue-rotate(250deg) brightness(.8)}
.gd-sh-stage.sh-form .gd-casterfig{filter:saturate(.6) hue-rotate(250deg) brightness(.75) drop-shadow(0 0 18px rgba(183,140,255,.8))}
.gd-sh-stage .gd-buff .gd-charges:empty{display:none}
.gd-sh-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 color-mix(in srgb,var(--heal) 50%,#000);white-space:nowrap;opacity:0;transform:translate(-50%,6px) scale(.7);transition:opacity .3s,transform .35s cubic-bezier(.2,.8,.2,1.2)}
.gd-sh-debuff.on{opacity:1;transform:translate(-50%,0) scale(1)}
.gd-sh-debuff img.sm{width:24px;height:24px;border-radius:5px;border:1px solid #000}
.gd-sh-debuff .bar{display:block;width:46px;height:5px;border-radius:3px;background:#0f1f14;overflow:hidden}
.gd-sh-debuff .bar i{display:block;height:100%;background:linear-gradient(90deg,#2fa784,var(--heal));transform-origin:left}
.gd-sh-debuff small{min-width:2.4em;font-size:11.5px;font-weight:700;color:var(--heal);font-variant-numeric:tabular-nums}
.gd-sh-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-sh-pop.still{opacity:1;transform:translate(-50%,-20px)}
.gd-sh-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 14px rgba(183,140,255,.9)}
.gd-sh-pop .gd-chalk{margin-top:2px;font-size:20px;color:var(--ac)}
.gd-sh-pop small{margin-top:2px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#e8e8e8;text-shadow:0 1px 3px #000}
.gd-sh-stage .gd-target::after{content:"";position:absolute;left:8%;right:8%;top:22%;bottom:14%;border-radius:50%;background:radial-gradient(circle,rgba(200,170,255,.8),rgba(120,60,200,0) 70%);opacity:0;pointer-events:none;z-index:2}
.gd-stage.sh-hit .gd-target::after{animation:shFlash .8s ease-out}
@keyframes shFlash{0%{opacity:0;transform:scale(.6)}25%{opacity:1;transform:scale(1.05)}100%{opacity:0;transform:scale(1.2)}}
.gd-sh-cbars{position:relative;z-index:2;min-height:30px;margin-top:10px}
.gd-sh-cbars:empty{display:block;min-height:30px;margin-top:10px}
.gd-sh-cbars .gd-cast2.forever .prog{background:repeating-linear-gradient(115deg,#d7bfff 0 3px,#8a5fd6 3px 6px)}
/* the party frames: portrait ring, name, a health bar, what each one has been healed */
.gd-sh-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-sh-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-sh-frame{position:relative;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 #3a2f52;background:linear-gradient(#17121f,#0c0a10);transition:border-color .3s,box-shadow .3s}
.gd-sh-frame.lit{border-color:color-mix(in srgb,var(--heal) 60%,#3a2f52);box-shadow:0 0 14px color-mix(in srgb,var(--heal) 30%,transparent)}
.gd-sh-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-sh-port img{display:block;width:100%;height:100%;object-fit:cover}
.gd-sh-frame[data-i="0"] .gd-sh-port{border-color:var(--ac)}
.gd-sh-fbody{min-width:0}
.gd-sh-fname{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;line-height:1.2;min-width:0}
.gd-sh-fname b{color:var(--ink);white-space:nowrap}
.gd-sh-fbuff{position:relative;margin-left:auto;flex:none}
.gd-sh-fbuff[hidden]{display:none}
.gd-sh-fbuff img.sm{display:block;width:20px;height:20px;border-radius:4px;border:1px solid #000;box-shadow:0 0 0 1px var(--heal)}
.gd-sh-fbuff i{position:absolute;left:0;right:0;bottom:-4px;height:2px;background:var(--heal);transform-origin:left}
.gd-sh-hbar{position:relative;height:14px;margin:5px 0 3px;border-radius:3px;background:#070707;border:1px solid #2f2f2f;overflow:hidden}
.gd-sh-hbar i{position:absolute;top:0;bottom:0;left:0}
.gd-sh-hbar .base{width:52%;background:linear-gradient(#5fb36b,#2d7a3a)}
.gd-sh-hbar .heal{left:52%;width:calc(var(--h,0) * 1%);background:linear-gradient(#9af7b0,var(--heal));box-shadow:inset 0 0 6px rgba(255,255,255,.35);transition:width .5s cubic-bezier(.2,.7,.2,1)}
.gd-sh-fnum{display:flex;align-items:baseline;gap:6px;margin:0}
.gd-sh-fnum output{font-family:Cinzel,Georgia,serif;font-weight:700;font-size:16px;color:var(--heal);font-variant-numeric:tabular-nums}
.gd-sh-fnum small{font-size:11px;color:var(--muted)}
.gd-sh-fpop{position:absolute;right:38px;top:2px;z-index:2;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:17px;color:var(--heal);text-shadow:0 0 6px rgba(0,0,0,.95),0 1px 2px #000;opacity:0;pointer-events:none}
.gd-sh-fpop.still{opacity:1;transform:translateY(-6px)}
.gd-sh-ctl{flex-wrap:wrap}
.gd-sh-ctl .gd-cast{position:relative;overflow:hidden;margin-left:0;min-height:40px;padding:6px 14px 6px 8px;font-size:13.5px}
.gd-sh-ctl .gd-cast img.sm{width:26px;height:26px;border-radius:5px}
.gd-sh-ctl .gd-sh-b-ve{border-color:color-mix(in srgb,var(--heal) 60%,#000);background:color-mix(in srgb,var(--heal) 10%,#111);color:#bdf5cf}
.gd-sh-ctl .gd-sh-b-mb{border-color:var(--ac);background:color-mix(in srgb,var(--ac) 14%,#111);color:#e2d2ff}
.gd-sh-ctl .gd-cast.cool,.gd-sh-ctl .gd-cast.busy{opacity:.75}
.gd-sh-ctl .gd-cast img,.gd-sh-ctl .gd-cast{z-index:1}
.gd-sh-sweep{position:absolute;inset:0;z-index:0;background:rgba(0,0,0,.55);transform-origin:right;transform:scaleX(0);pointer-events:none}
.gd-sh-cdv{position:relative;z-index:1;font-variant-numeric:tabular-nums;color:#fff}
.gd-sh-formtog{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 14px 6px 8px;border-radius:999px;border:1px dashed color-mix(in srgb,var(--ac) 55%,#000);background:#111;font:inherit;font-size:13px;font-weight:700;color:var(--ink2);cursor:pointer}
.gd-sh-formtog img.sm{width:24px;height:24px;border-radius:5px;border:1px solid #000;filter:saturate(.4)}
.gd-sh-formtog[aria-pressed="true"]{border-style:solid;border-color:var(--ac);background:color-mix(in srgb,var(--ac) 18%,#111);color:var(--ink)}
.gd-sh-formtog[aria-pressed="true"] img.sm{filter:none}
.gd-sh-cdrow{display:grid;grid-template-columns:24px auto minmax(0,1fr) auto;align-items:center;gap:8px;margin:12px 0 0;font-size:12.5px;color:var(--ink2)}
.gd-sh-cdrow img.sm{width:24px;height:24px;border-radius:5px;border:1px solid #000}
.gd-sh-cdlab{font-weight:700;color:var(--ink)}
.gd-sh-cdbar{position:relative;height:10px;border-radius:3px;background:#111;border:1px solid #3a3a3a;overflow:hidden}
.gd-sh-cdbar i{position:absolute;inset:0;transform-origin:left;transform:scaleX(0);background:repeating-linear-gradient(115deg,#8f8f8f 0 3px,#5c5c5c 3px 6px)}
.gd-sh-cdtxt{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--heal)}
.gd-sh-cdrow.cool .gd-sh-cdtxt{color:var(--muted)}
.gd-sh-vetwin>.forever .gd-big{color:var(--heal)}
/* 4. Shadow Weaving */
.gd-sh-weave .gd-ctl{flex-wrap:wrap}
.gd-sh-weave .gd-ctl .gd-cast{margin-left:0;min-height:40px;padding:6px 14px 6px 8px;font-size:13.5px}
.gd-sh-weave .gd-ctl .gd-cast img.sm{width:24px;height:24px;border-radius:5px}
.gd-sh-roll{flex:1 1 100%;min-height:1.3em;font-size:12.5px;color:var(--muted)}
.gd-sh-wtwin{margin-bottom:14px}
.gd-sh-wtwin>div{padding-bottom:22px}
.gd-sh-wtwin>.classic .gd-pips i.on{background:#bdbdbd;border-color:#eee;box-shadow:none}
/* 5. the deck */
.gd-sh-deck{overflow:hidden;isolation:isolate}
.gd-sh-deck::before{content:"";position:absolute;inset:0;background:var(--tbg) 60% 40%/cover no-repeat;opacity:.3;z-index:-1}
.gd-sh-deck::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,10,20,.35),rgba(14,14,16,.84) 85%);z-index:-1}
.gd-sh-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gd-sh-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(183,140,255,.13),rgba(11,11,13,.76) 58%);font:inherit;text-align:left;color:var(--ink);cursor:pointer;transition:border-color .2s,box-shadow .2s}
.gd-sh-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-sh-dname{grid-area:n;min-width:0;line-height:1.2}
.gd-sh-dname b{display:block;font-size:13.5px;color:var(--ink)}
.gd-sh-dname small{display:block;font-size:11px;color:var(--muted)}
.gd-sh-dcard.new .gd-sh-dname small{color:#4ade80}
.gd-sh-dcard .gd-chalk{grid-area:b;justify-self:start;font-size:21px;line-height:1.05;color:var(--ac);transform:rotate(-1.5deg)}
.gd-sh-dsub{grid-area:s;font-size:11.5px;line-height:1.35;color:var(--ink2)}
.gd-sh-dcard:hover,.gd-sh-dcard:focus-visible{border-color:color-mix(in srgb,var(--ac) 70%,#000)}
.gd-sh-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-sh-dcard[aria-pressed="true"] img.sm{box-shadow:0 0 0 2px var(--ac)}
.gd-sh-deck .gd-detail{margin-top:12px;max-width:none}
.gd-sh-deck .gd-detail .gd-meta{margin:8px 2px 0;font-size:12.5px;color:var(--muted)}
.gd-sh-deck .gd-detail .gd-plate-lines{margin:6px 0 4px}
@media (max-width:899px){.gd-sh-cards>.gd-detail{grid-column:1/-1;margin:0}}
/* tablets and phones */
@media (max-width:960px){
  .gd-sh-vegrid{grid-template-columns:1fr}
  .gd-sh-party{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
  .gd-sh-partyhead{grid-column:1/-1}
  .gd-sh-fchips{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gd-sh-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .gd-sh-costs{grid-template-columns:1fr}
  .gd-sh-party{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}
  .gd-sh-frame{grid-template-columns:38px minmax(0,1fr);padding:6px 8px}
  .gd-sh-port{width:38px;height:38px}
  .gd-sh-bar{grid-template-columns:54px minmax(0,1fr) 60px;gap:8px}
  .gd-sh-bnum{font-size:17px}
  .gd-sh-read .gd-chalk{font-size:26px}
}
@media (max-width:640px){
  .gd-sh-stage .gd-target{width:96px}.gd-sh-stage .gd-dummyfig{height:116px}
  .gd-sh-pop b{font-size:24px}
  .gd-sh-debuff{top:-30px;padding:2px 6px 2px 2px}.gd-sh-debuff .bar{width:30px}
  .gd-sh-pop{top:26%}
  .gd-sh-cbars,.gd-sh-cbars:empty{min-height:78px}
  .gd-sh-fchips{grid-template-columns:1fr}
  .gd-sh-era button{padding:6px 14px}
  .gd-sh-cards{gap:8px}.gd-sh-dcard{padding:9px 10px 10px;gap:5px 8px;grid-template-columns:28px minmax(0,1fr)}.gd-sh-dcard img.sm{width:28px;height:28px}.gd-sh-dcard .gd-chalk{font-size:18px}
  .gd-sh-cdrow{grid-template-columns:24px auto minmax(0,1fr);gap:6px}.gd-sh-cdtxt{grid-column:2/-1;justify-self:end}
  .gd-sh-holyctl .gd-rankpick{margin-left:0;gap:3px}
  .gd-sh-holyctl .gd-rankpick button{width:34px;height:34px}
}
@media (max-width:760px),(pointer:coarse){
  .gd-sh-era button,.gd-sh-spells button,.gd-sh-formtog,.gd-sh-ctl .gd-cast,.gd-sh-weave .gd-ctl .gd-cast{min-height:44px}
  .gd-sh-ve .gd-reset,.gd-sh-weave .gd-reset{min-height:44px;min-width:44px}
  .gd-sh-weave .gd-rankpick button{min-width:40px;min-height:40px}
  .gd-sh-dcard{min-height:44px}
}
@media (prefers-reduced-motion:reduce){
  .gd-sh-track i,.gd-sh-fc,.gd-sh-fc img.sm,.gd-sh-formplates .gd-plate,.gd-sh-cchip,.gd-sh-debuff,.gd-sh-frame,.gd-sh-hbar .heal,.gd-sh-era button,.gd-sh-dcard{transition:none}
  .gd-stage.sh-hit .gd-target::after{animation:none}
}
