/* ---- The Druid's page (guides/druid.js, guides/druid.widgets.js). Same plates, same yard, the trees' own colours. Joined onto
   page.css by the server on the Druid's page only, then each chapter's own guides/druid/<id>.css in name order. Every class this file
   adds is .gd-pr-* (the pieces the Priest's and the Warrior's pages share) or .gd-dr-* (the Druid's own), so nothing meets an older rule; a chapter file keeps to its own prefix (.gd-ba-, .gd-fe-, .gd-re-, .gd-fo-). ---- */
.gd-ch[data-tree="balance"]{--ac:#8ea8ff}
.gd-ch[data-tree="feral"]{--ac:#f2a550}
.gd-ch[data-tree="restoration"]{--ac:#62d9b8}
/* 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_warrior_heads.py: assets/guides/warrior/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/warrior/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 Warrior'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 (warrior.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 (warrior.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_warrior_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}
#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 ==== */

/* ==== What's new and The trees, the Druid's own (.gd-dr-) ==== */
/* the two flip switches and the level 30 buttons */
.gd-dr-flipctl button,.gd-pr-reachctl button,.gd-dr-tabs button{font:inherit;font-size:13px;font-weight:700;padding:6px 12px;border-radius:999px;border:1px solid var(--line);background:#0b0b0d;color:var(--ink2);cursor:pointer}
.gd-dr-flipctl button[aria-pressed="true"],.gd-pr-reachctl button[aria-pressed="true"]{border-color:#b8901f;background:rgba(255,209,0,.12);color:#ffd75e}
/* Feral's chapter id is not its tree's name (Feral Combat), so guide.js does not colour its chips: the Watch list and the bar */
.gd-chapters a[href="#feral"],.gd-bar-menu li a[data-place="feral"],.gd-strip a[data-place="feral"]{--tc:#f2a550}
.gd-chapters a[href="#feral"] .gd-cn,.gd-bar-menu li a[data-place="feral"] span{color:var(--tc)}
/* The Druid's chapter names are long ("The trees, before and after"): three chips a row above a phone, so none is cut to an ellipsis */
@media (min-width:761px){.gd-chapters{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}}
/* Watch, until the poster and the video land: a short band with the note in it, no empty black box, and no "Watch this part" in a
   chapter head (there is nothing to play yet). Both go back to page.css's own the moment the poster or the video is on disk */
.gd-video-poster:not(:has(img)){aspect-ratio:auto;background:radial-gradient(120% 240% at 100% 0%,color-mix(in srgb,var(--cc,#ff7d0a) 16%,transparent),transparent 62%) #0e0e10}
.gd-video-poster:not(:has(img)) .gd-video-note{position:static;padding:18px 16px;font-size:14px;background:none}
.gd:has(.gd-video-poster) .gd-chhead .gd-watchpart{display:none}
/* Until the video lands a head has no player, so its words sit at the foot, over the band of icons the head pictures carry for the
   player's layout: that band rests until then (the heads crew's rule, 12 Oct), and comes back by itself with the video */
@media (min-width:641px){.gd:has(.gd-video-poster) .gd-chhead.figured.arted::before{background:linear-gradient(to top,#0e0e10 0,#0e0e10 32%,rgba(14,14,16,0) 50%),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%)}}
/* On a phone the Feral head wears her cat, which is wide where she is tall: a size down and to the right, clear of the icons */
@media (max-width:640px){#feral .gd-chhead.figured{--E:76px;--cx:38px}}
/* Nature's Grasp: "Every time" is words where the twin's other side is a number */
.gd-dr-base .gd-twin .gd-big{font-size:26px}
/* Omen of Clarity: the buff, the casts, what the tooltip says happens */
.gd-dr-ccrow{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin:16px 0 0}
.gd-dr-cc{display:inline-flex;align-items:center;gap:8px;padding:5px 12px 5px 5px;border-radius:999px;border:1px solid #3a3a3a;background:#0b0b0d;color:var(--muted);transition:border-color .25s,box-shadow .25s,opacity .25s}
.gd-dr-cc img.sm{width:28px;height:28px;border-radius:50%;border:1px solid #000;filter:grayscale(1) brightness(.6);transition:filter .25s}
.gd-dr-cc b{font-size:13.5px;color:var(--ink2)}
.gd-dr-cc em{font-style:normal;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.gd-dr-cc.on{border-color:#b8901f;box-shadow:0 0 14px rgba(255,209,0,.25);color:#ffd75e}
.gd-dr-cc.on img.sm{filter:none}
.gd-dr-cc.on b{color:var(--ink)}
.gd-dr-cclog{flex:1 1 260px;margin:0;font-size:14px;line-height:1.4;color:var(--ink2)}
.gd-dr-cclog.kept{color:#8fe36b}.gd-dr-cclog.used{color:#ffd75e}.gd-dr-cclog.gone{color:var(--muted)}
.gd-dr-casts{display:flex;flex-wrap:wrap;gap:6px}
.gd-dr-cast{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:13px;font-weight:600;padding:5px 11px 5px 5px;border-radius:999px;border:1px solid var(--line);background:#0b0b0d;color:var(--ink);cursor:pointer}
.gd-dr-cast img.sm{width:22px;height:22px;border-radius:50%;border:1px solid #000}
.gd-dr-cast:hover,.gd-dr-cast[aria-pressed="true"]{border-color:#b8901f;background:rgba(255,209,0,.08)}
.gd-dr-clear .gd-reset{margin-left:auto}
.gd-dr-clear .gd-reset:disabled{opacity:.4;cursor:default}
/* the spellbook's changed entries, each a jump to its lines in the ledger */
.gd-dr-book .gd-eralabel small{font-weight:400;letter-spacing:0;color:var(--muted)}
.gd-dr-book .gd-eralabel{margin:14px 0 7px}
.gd-dr-book .gd-eralabel:first-child{margin-top:0}
.gd-dr-booklist{display:flex;flex-wrap:wrap;gap:6px}
.gd-dr-sp{display:inline-flex;align-items:center;gap:7px;padding:4px 10px 4px 4px;border-radius:8px;border:1px solid var(--line);background:rgba(11,11,13,.85);font-size:13px;line-height:1.2;color:var(--ink);text-decoration:none}
.gd-dr-sp img.sm{width:24px;height:24px;border-radius:6px;border:1px solid #000}
.gd-dr-sp:hover{border-color:#b8901f;color:#ffd75e}
.gd-dr-sp.new{border-color:color-mix(in srgb,#5fd38a 45%,var(--line))}
/* the three trees, Classic and now: page.css's own trees and tiles, three across */
.gd-dr-tabs{display:none}
.gd-dr-trees{grid-template-columns:repeat(3,minmax(0,1fr));max-width:900px;margin-top:14px}
.gd-dr-trees .gd-tree h3{display:flex;align-items:center;gap:8px;font-family:Cinzel,Georgia,serif;font-size:14.5px;color:var(--tc)}
.gd-dr-trees .gd-tree h3 img.sm{width:22px;height:22px;border-radius:5px;border:1px solid #000}
.gd-dr-flip[data-era="classic"] .gd-tree{filter:saturate(.7)}
.gd-dr-key{max-width:560px;margin:12px 0 0}
.gd-dr-flip .gd-detail{max-width:900px}
/* past the cap of 30: the four, each stamped */
.gd-dr-caps{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px}
.gd-dr-cap{position:relative;display:flex;align-items:center;gap:10px;padding:9px 10px 22px;border-radius:10px;border:1px solid var(--line);background:rgba(11,11,13,.85);overflow:hidden;min-width:0}
.gd-dr-cap img.sm{flex:none;width:36px;height:36px;border-radius:8px;border:1px solid #000;filter:grayscale(.6) brightness(.8)}
.gd-dr-cap>span{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.gd-dr-cap b{font-size:14px;color:var(--ink)}
.gd-dr-cap small{font-size:11.5px;color:var(--muted)}
.gd-dr-stamp{position:absolute;right:8px;bottom:5px;padding:1px 7px;border:1.5px solid #c86464;border-radius:4px;font-style:normal;font-size:9.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#e08a8a;transform:rotate(-3deg);background:rgba(40,10,10,.5)}
@media (max-width:760px){
  /* one tree at a time on a phone: the three share one cell and keep their size, the names switch which one shows */
  .gd-dr-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}
  .gd-dr-tabs button{display:inline-flex;align-items:center;gap:6px;padding:5px 10px 5px 5px;font-size:12.5px}
  .gd-dr-tabs button img.sm{width:20px;height:20px;border-radius:5px;border:1px solid #000}
  .gd-dr-tabs button[aria-pressed="true"]{border-color:var(--tc);color:var(--tc);background:color-mix(in srgb,var(--tc) 10%,#0b0b0d)}
  .gd-dr-trees{grid-template-columns:minmax(0,1fr);max-width:340px}
  .gd-dr-trees .gd-tree{grid-area:1/1;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .25s}
  .gd-dr-flip[data-tab="0"] .gd-tree[data-ti="0"],.gd-dr-flip[data-tab="1"] .gd-tree[data-ti="1"],.gd-dr-flip[data-tab="2"] .gd-tree[data-ti="2"]{visibility:visible;opacity:1;pointer-events:auto}
  .gd-dr-clear .gd-reset{margin-left:0}
  /* the level 30 grid's heads: "Feral Combat" is two words, so it may take two lines */
  .gd-pr-rrow.head .gd-pr-rcell b{font-size:10.5px;line-height:1.1;white-space:normal}
}
@media (prefers-reduced-motion:reduce){.gd-dr-cc,.gd-dr-cc img.sm,.gd-dr-trees .gd-tree{transition:none}}

/* ==== Races: four cards, two a row (one faction a row), and under them the forms each race wears ==== */
@media (min-width:761px){.gd-races{grid-template-columns:repeat(2,minmax(0,1fr))}}
.gd-dr-forms{margin:22px 0 0;padding:16px;border:1px solid var(--line);border-radius:10px;background:rgba(20,20,22,.85)}
.gd-dr-forms h3{margin:0;font-family:Cinzel,Georgia,serif;font-size:18px;color:var(--ink)}
.gd-dr-forms .gd-sub{margin-top:6px}
.gd-dr-fgrid{display:grid;gap:4px;margin:14px 0 0}
.gd-dr-frow{display:grid;grid-template-columns:150px repeat(var(--n,5),minmax(0,1fr));gap:4px;align-items:stretch}
.gd-dr-frow.head{align-items:end;padding-bottom:4px;border-bottom:1px solid rgba(255,255,255,.08)}
.gd-dr-fh{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;column-gap:8px;padding:0 8px;line-height:1.2}
.gd-dr-fh img.sm{grid-row:1/3;width:24px;height:24px;border-radius:6px;border:1px solid #000}
.gd-dr-fh b{font-family:Cinzel,Georgia,serif;font-size:13.5px;color:var(--ink)}
.gd-dr-fh small{font-size:11px;color:var(--muted)}
.gd-dr-fwho{display:flex;align-items:flex-start;gap:9px;padding:8px 6px 8px 2px;min-width:0}
.gd-dr-fwho>img.sm{flex:none;width:34px;height:34px;border-radius:50%;border:2px solid #b8901f;box-shadow:0 0 0 2px #0b0b0d}
.gd-dr-fwho>span{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.2}
.gd-dr-fwho b{font-family:Cinzel,Georgia,serif;font-size:15px;color:var(--ink)}
.gd-dr-fwho small{font-size:11.5px;color:var(--muted)}
.gd-dr-flinks{display:flex;flex-direction:column;gap:2px;margin-top:3px}
.gd-dr-flinks a{font-size:11.5px;color:var(--gold);text-decoration:none}
.gd-dr-flinks a:hover{text-decoration:underline}
.gd-dr-fc{--fk:#8a8a8a;display:grid;grid-template-columns:auto minmax(0,1fr);align-content:start;align-items:center;gap:7px 9px;padding:9px 9px 10px;border-radius:8px;border:1px solid color-mix(in srgb,var(--fk) 30%,transparent);background:color-mix(in srgb,var(--fk) 6%,#0d0d0f);min-width:0}
.gd-dr-fc.new{--fk:#5fd38a}.gd-dr-fc.own{--fk:#ffd75e}.gd-dr-fc.reworked{--fk:#ffb84d}.gd-dr-fc.shared{--fk:#6fb4ff}.gd-dr-fc.classic{--fk:#8a8a8a}
.gd-dr-fc>img.sm{width:34px;height:34px;border-radius:8px;border:1px solid #000;box-shadow:0 0 0 1px #3a3a3a}
.gd-dr-fc.classic>img.sm{filter:saturate(.5) brightness(.8)}
.gd-dr-fc>.gd-dr-ffig{display:block;grid-column:1/-1;justify-self:center;width:auto;max-width:100%;height:112px;object-fit:contain}
.gd-dr-frow.hasfig .gd-dr-fc:not(.figured)>img.sm{grid-column:1/-1;justify-self:center;width:52px;height:52px;margin:30px 0;border-radius:10px}
.gd-dr-fc>span{display:contents}
.gd-dr-fname{display:none;font-size:13.5px;color:var(--ink)}
.gd-dr-ftag{padding:1px 6px;border-radius:3px;font-style:normal;font-size:9.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#0b0b0d;background:var(--fk)}
.gd-dr-ftag{justify-self:start}
.gd-dr-fc em{grid-column:1/-1;font-style:normal;font-size:12.5px;line-height:1.4;color:var(--ink2)}
@media (max-width:900px){
  /* a race a block: its name, then its five forms as rows, each with the form's own name */
  .gd-dr-frow.head{display:none}
  .gd-dr-fgrid{gap:14px}
  .gd-dr-frow{grid-template-columns:minmax(0,1fr)}
  .gd-dr-fwho{padding:0 0 2px}
  .gd-dr-flinks{flex-direction:row;gap:12px}
  .gd-dr-fc{grid-template-columns:auto auto minmax(0,1fr);gap:3px 9px;padding:8px 10px}
  .gd-dr-fc>img.sm,.gd-dr-frow.hasfig .gd-dr-fc:not(.figured)>img.sm{grid-column:1;grid-row:1/3;align-self:start;justify-self:start;width:30px;height:30px;margin:0;border-radius:8px}
  .gd-dr-frow.hasfig .gd-dr-fc:not(.figured)>img.sm{justify-self:center;margin:0 17px}
  .gd-dr-fc>.gd-dr-ffig{grid-column:1;grid-row:1/3;align-self:start;height:64px}
  .gd-dr-fname{display:block}
  .gd-dr-fc em{grid-column:2/-1}
}

/* ---- Balance, chapter 3 of the Druid's page (guides/druid/balance.js, balance.widgets.js). Moon blue for the tree (--ac from
   druid.css), leaf green where Roots and Wrath run, arcane violet where Starfire does. Plates, twins, chalk, fine print and the yard
   are page.css's own; every class here is .gd-ba-*. Motion is transform and opacity (bars change width), none under reduced motion. ---- */
.gd-ch[data-tree="balance"]{--nat:#8fe36b;--arc:#c9b6ff}
.gd-ba-token{width:96px;height:96px}
.gd-ba-token img{display:block;width:100%;height:100%;object-fit:cover}
/* shared: the head row of a widget, the Classic / Forever switch, a talent's points beside its name */
.gd-ba-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:0 0 12px}
.gd-ba-era{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:#111}
.gd-ba-era button{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-ba-era button[aria-pressed="true"][data-era="classic"]{background:#9a9a9a;color:#111}
.gd-ba-era button[aria-pressed="true"][data-era="forever"]{background:#ffd75e;color:#1a1408}
.gd-ba-pts{display:inline-flex;align-items:center;gap:8px}
.gd-ba-pts .gd-rankpick,.gd-ba-hold .gd-rankpick,.gd-ba-thctl .gd-rankpick{margin-left:0}
.gd-ba-pts .gd-ctl-note,.gd-ba-hold .gd-ctl-note{display:inline-flex;align-items:center;gap:6px;color:var(--ink2);font-weight:600}
.gd-ba-pts .gd-ctl-note img.sm,.gd-ba-hold .gd-ctl-note img.sm{width:22px;height:22px;border-radius:5px;border:1px solid #000}
.gd-ba-pts .gd-rankpick button:disabled{opacity:.35;cursor:default}
.gd-ba-holds{margin-left:auto;font-size:13px;color:var(--muted)}
.gd-ba-holds b{font-family:Cinzel,Georgia,serif;font-size:18px;color:var(--ac)}
.gd-ba-ctl{flex-wrap:wrap}
.gd-ba-ctl .gd-cast{margin-left:0;min-height:40px;padding:6px 14px 6px 8px;font-size:13.5px}
.gd-ba-ctl .gd-cast img.sm{width:26px;height:26px;border-radius:5px}
.gd-ba-ctl .gd-reset{margin-left:auto}
.gd-ba-ctl .gd-cast.busy{opacity:.7}
.gd-ba-at{font-size:12.5px;color:var(--ink2);white-space:nowrap}
/* shared: chalk bars, Classic grey over Forever gold */
.gd-ba-bars{display:grid;gap:8px;margin:12px 0 0}
.gd-ba-bar{display:grid;grid-template-columns:64px minmax(0,1fr) 72px;align-items:center;gap:10px}
.gd-ba-blab{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-ba-bar.forever .gd-ba-blab{color:#ffd75e}
.gd-ba-track{display:flex;height:26px;border-radius:4px;background:#111;border:1px solid #3a3a3a;overflow:hidden}
.gd-ba-track i{display:block;height:100%;width:0;transition:width .6s cubic-bezier(.2,.7,.2,1)}
.gd-ba-track .hit,.gd-ba-track .base{background:repeating-linear-gradient(115deg,#8f8f8f 0 3px,#5c5c5c 3px 6px)}
.gd-ba-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-ba-bar.forever .gd-ba-track .hit{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-ba-bar.forever .gd-ba-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-ba-bar.beta .gd-ba-track .hit{background:repeating-linear-gradient(115deg,#b9c8ff 0 3px,#5d74c9 3px 6px)}
.gd-ba-bar.beta .gd-ba-blab,.gd-ba-bar.beta .gd-ba-bnum{color:#b9c8ff}
.gd-ba-bnum{font-family:Cinzel,Georgia,serif;font-size:20px;font-weight:700;text-align:right;color:#e8e8e8;font-variant-numeric:tabular-nums}
.gd-ba-bar.forever .gd-ba-bnum{color:#ffd75e}
.gd-ba-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-ba-read .gd-chalk{flex:none;font-size:30px;color:#f08080}
.gd-ba-read .gd-chalk.up{color:#8fe36b}
.gd-ba-thorns .gd-ba-read .gd-chalk{color:#ffd75e}
.gd-ba-read>span{flex:1 1 260px;min-width:0}
/* shared: fact chips (icon, a bold line, a small line) */
.gd-ba-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 0}
.gd-ba-chips.four{grid-template-columns:repeat(2,minmax(0,1fr))}
.gd-ba-chip{align-items:flex-start;min-width:0;padding:8px 10px;font-size:12.5px;line-height:1.3;box-shadow:none}
.gd-ba-chip>span{display:flex;flex-direction:column;min-width:0}
.gd-ba-chip b{color:var(--ac);font-size:13.5px}
.gd-ba-chip small{font-size:11px;color:var(--muted)}
.gd-ba-chip small:empty{display:none}

/* 1. Entangling Roots: the yard of three, the hold bar */
.gd-ba-yardwrap{min-height:0;border-color:color-mix(in srgb,var(--ac) 30%,#333);background:radial-gradient(60% 50% at 60% 100%,rgba(120,210,120,.14),transparent 70%),radial-gradient(50% 45% at 85% 0%,rgba(142,168,255,.18),transparent 70%),linear-gradient(180deg,#070b14 0%,#0d1626 45%,#12222a 64%,#080d12 100%)}
.gd-ba-yardwrap::before{background:linear-gradient(to bottom,rgba(8,8,10,.3),rgba(8,8,10,.05) 60%,rgba(8,8,10,.3))}
.gd-ba-stage{min-height:0;padding:12px 14px 14px}
.gd-ba-stage .gd-steptitle{min-height:1.3em;margin:0 0 6px}
.gd-ba-field{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;gap:10px}
.gd-ba-you{text-align:center;padding:0 4px}
.gd-ba-fig{display:block;height:170px;width:auto;margin:0 auto;filter:drop-shadow(0 8px 14px rgba(0,0,0,.7))}
.gd-ba-you.cast .gd-ba-token,.gd-ba-you.cast .gd-ba-fig{animation:baCast .5s ease-out}
@keyframes baCast{0%{transform:none}35%{transform:translateX(8px) rotate(3deg)}100%{transform:none}}
.gd-ba-shades{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:6px}
.gd-ba-shade{position:relative;display:block;min-width:0;padding:30px 0 0;border:0;border-radius:10px;background:none;font:inherit;color:inherit;text-align:center;cursor:pointer}
.gd-ba-shade:focus-visible{outline:2px solid var(--ac);outline-offset:2px}
.gd-ba-dummy{display:block;height:140px;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));transition:filter .4s}
.gd-ba-shade:hover .gd-ba-dummy{filter:brightness(1.15) drop-shadow(0 8px 14px rgba(0,0,0,.7))}
.gd-ba-vines{position:absolute;left:10%;right:10%;bottom:22px;height:46%;z-index:1;border-radius:46% 46% 50% 50%;border-bottom:3px solid var(--nat);border-left:2px solid color-mix(in srgb,var(--nat) 70%,transparent);border-right:2px solid color-mix(in srgb,var(--nat) 70%,transparent);background:radial-gradient(ellipse at 50% 100%,rgba(120,220,110,.45),rgba(60,140,60,0) 70%);opacity:0;transform:scaleY(.15);transform-origin:50% 100%;transition:opacity .3s,transform .45s cubic-bezier(.2,.8,.2,1.2);pointer-events:none}
.gd-ba-shade.held .gd-ba-vines{opacity:1;transform:none}
.gd-ba-shade.held .gd-ba-dummy{filter:sepia(.55) hue-rotate(60deg) saturate(1.7) drop-shadow(0 0 12px rgba(120,220,110,.55))}
.gd-ba-held{position:absolute;left:50%;top:0;z-index:2;display:flex;align-items:center;gap:5px;padding:2px 7px 2px 2px;border-radius:8px;background:rgba(10,10,12,.88);border:1px solid color-mix(in srgb,var(--nat) 55%,#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-ba-shade.held .gd-ba-held{opacity:1;transform:translate(-50%,0) scale(1)}
.gd-ba-held img.sm{width:22px;height:22px;border-radius:5px;border:1px solid #000}
.gd-ba-held small{font-size:11.5px;font-weight:700;color:var(--nat)}
.gd-ba-shade.rooting .gd-ba-dummy{animation:baRoot .5s ease-out}
@keyframes baRoot{0%{transform:none}25%{transform:translateY(-5px) rotate(-3deg)}55%{transform:translateY(2px) rotate(2deg)}100%{transform:none}}
.gd-ba-shade.freed .gd-ba-dummy{animation:baFree .7s ease-out}
@keyframes baFree{0%{transform:none}30%{transform:translateX(9px) rotate(4deg)}60%{transform:translateX(-4px) rotate(-2deg)}100%{transform:none}}
.gd-ba-hold{margin:16px 0 0;padding:12px 14px;border-radius:10px;border:1px solid #2c2c2c;background:rgba(8,8,10,.6)}
.gd-ba-hold .gd-ctl{margin-top:0}
.gd-ba-holdbar{display:grid;grid-template-columns:96px minmax(0,1fr) 72px;align-items:center;gap:10px;margin:10px 0 0}
.gd-ba-holdbar .gd-ba-track .more{background:repeating-linear-gradient(115deg,#c6f5b4 0 3px,#4f9a3c 3px 6px);border-left:1px solid rgba(255,255,255,.5)}
.gd-ba-holdbar .gd-ba-bnum{color:var(--nat)}
.gd-ba-holdread{margin:8px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink2)}
.gd-ba-ngtwin{grid-template-columns:1fr;margin-top:14px}
.gd-ba-ngtwin .gd-big{font-size:24px}
.gd-ba-ngtwin>.forever .gd-big{color:var(--nat)}

/* 2. Wrath, Starfire, Moonfire, Insect Swarm by rank */
.gd-ba-softctl{margin-top:0;gap:10px 14px}
.gd-ba-spells{display:inline-flex;flex-wrap:wrap;gap:6px}
.gd-ba-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-ba-spells button img.sm{width:24px;height:24px;border-radius:6px;border:1px solid #000}
.gd-ba-spells button[aria-pressed="true"]{border-color:var(--ac);color:#fff;background:color-mix(in srgb,var(--ac) 14%,#111)}
.gd-ba-rankrow{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.gd-ba-rankrow .gd-rankpick{margin-left:0;flex-wrap:wrap}
.gd-ba-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 0}
.gd-ba-facts>div{min-width:0;padding:8px 10px;border-radius:8px;border:1px solid #2c2c2c;background:rgba(8,8,10,.6)}
.gd-ba-facts b{display:block;font-size:14px;color:var(--ink)}
.gd-ba-facts small{display:block;font-size:11.5px;line-height:1.35;color:var(--muted)}

/* 3. Eclipse: the yard, the charges, the two cast bars on one scale */
.gd-ba-eclwrap{min-height:0;border-color:color-mix(in srgb,var(--ac) 30%,#333);background:radial-gradient(60% 55% at 78% 100%,rgba(201,182,255,.16),transparent 70%),radial-gradient(45% 40% at 18% 8%,rgba(143,227,107,.10),transparent 70%),linear-gradient(180deg,#070914 0%,#101630 44%,#1a2036 62%,#0a0c16 100%)}
.gd-ba-eclwrap::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-ba-eclstage{min-height:0}
.gd-ba-eclstage .gd-steptitle{min-height:1.3em;margin:0 0 6px}
.gd-ba-eclstage .gd-caster{min-width:110px}
.gd-ba-eclstage .gd-bolt:not(.lance){filter:drop-shadow(0 0 8px rgba(143,227,107,.9))}
.gd-ba-eclstage .gd-bolt:not(.lance) img.sm{border-color:#c6f5b4}
.gd-ba-eclstage .gd-bolt.lance{filter:drop-shadow(0 0 10px rgba(201,182,255,.95))}
.gd-ba-eclstage .gd-bolt.lance img.sm{border-color:#e4dbff}
.gd-ba-eclstage.ba-hit .gd-dummyfig{animation:baHit .5s ease-out}
@keyframes baHit{0%{transform:none}25%{transform:translateX(5px) rotate(3deg)}55%{transform:translateX(-3px) rotate(-2deg)}100%{transform:none}}
.gd-ba-ebuff{position:absolute;left:50%;top:0;z-index:2;transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:3px 8px 3px 3px;border-radius:8px;background:rgba(0,0,0,.78);border:1px solid #444;white-space:nowrap;opacity:.6;transition:opacity .3s,border-color .3s,box-shadow .3s}
.gd-ba-ebuff.on{opacity:1;border-color:var(--ac);box-shadow:0 0 14px color-mix(in srgb,var(--ac) 45%,transparent)}
.gd-ba-ebuff.bump{animation:baBump .35s ease-out}
@keyframes baBump{0%{transform:translateX(-50%) scale(1.25)}100%{transform:translateX(-50%) scale(1)}}
.gd-ba-ebuff img.sm{width:26px;height:26px;border-radius:5px;border:1px solid #000}
.gd-ba-echarges{display:inline-flex;gap:3px}
.gd-ba-echarges i{width:9px;height:9px;border-radius:50%;background:#2a2a2a;border:1px solid #555;transition:background .25s,border-color .25s}
.gd-ba-echarges i.on{background:var(--ac);border-color:#e3eaff;box-shadow:0 0 6px color-mix(in srgb,var(--ac) 80%,transparent)}
.gd-ba-eleft{min-width:1.8em;font-size:11.5px;font-weight:700;color:var(--ac);font-variant-numeric:tabular-nums}
.gd-ba-eleft:empty{display:none}
.gd-ba-pop{position:absolute;left:50%;top:8%;z-index:4;display:flex;flex-direction:column;align-items:center;pointer-events:none;opacity:0;transform:translate(-50%,0)}
.gd-ba-pop.still{opacity:1;transform:translate(-50%,-14px)}
.gd-ba-pop b{font-family:Cinzel,Georgia,serif;font-size:30px;font-weight:700;line-height:1;color:#fff;text-shadow:0 2px 0 #000,0 0 14px rgba(142,168,255,.9)}
.gd-ba-pop small{margin-top:2px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#e8e8e8;text-shadow:0 1px 3px #000}
.gd-ba-cbs{position:relative;z-index:2;display:grid;gap:6px;margin:12px 0 0}
.gd-ba-cb{display:grid;grid-template-columns:100px minmax(0,1fr) 60px;align-items:center;gap:10px}
.gd-ba-cblab{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:var(--ink)}
.gd-ba-cblab img.sm{width:20px;height:20px;border-radius:4px;border:1px solid #000}
.gd-ba-cbslot{min-width:0}
.gd-ba-cbtrack{position:relative;width:calc(var(--w,100) * 1%);height:20px;border-radius:4px;background:#111;border:1px solid #3a3a3a;overflow:hidden}
.gd-ba-cbtrack .prog{position:absolute;left:0;top:0;bottom:0;width:calc(100% - var(--cut,0) * 1%);transform-origin:left;background:repeating-linear-gradient(115deg,#c6f5b4 0 3px,#4f9a3c 3px 6px);transition:width .3s}
.gd-ba-cb.starfire .prog{background:repeating-linear-gradient(115deg,#e4dbff 0 3px,#7d68d8 3px 6px)}
.gd-ba-cbtrack .cut{position:absolute;right:0;top:0;bottom:0;width:calc(var(--cut,0) * 1%);background:repeating-linear-gradient(135deg,rgba(240,120,120,.55) 0 2px,transparent 2px 6px);border-left:1px solid #f08080;transition:width .3s}
.gd-ba-cb:not(.short) .cut{display:none}
.gd-ba-cb output{font-family:Cinzel,Georgia,serif;font-weight:700;font-size:15px;text-align:right;color:#e8e8e8;font-variant-numeric:tabular-nums;white-space:nowrap}
.gd-ba-cb.short output{color:#ffd75e}
.gd-ba-ecltwin .gd-under b{font-variant-numeric:tabular-nums}
.gd-ba-eplate{margin-top:14px}

/* 4. Omen of Clarity: Clearcasting, three casts, two tallies */
.gd-ba-tog{display:inline-flex;align-items:center;gap:8px;min-width:184px;min-height:40px;padding:5px 14px 5px 6px;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;text-align:left}
.gd-ba-tog img.sm{width:28px;height:28px;border-radius:6px;border:1px solid #000;filter:saturate(.4)}
.gd-ba-tog>span{display:flex;flex-direction:column;line-height:1.2}
.gd-ba-tog small{font-size:11px;font-weight:400;color:var(--muted)}
.gd-ba-tog[aria-pressed="true"]{border-style:solid;border-color:#ffd75e;background:rgba(255,209,0,.12);color:#ffd75e;box-shadow:0 0 14px rgba(255,209,0,.25)}
.gd-ba-tog[aria-pressed="true"] img.sm{filter:none}
.gd-ba-ocasts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gd-ba-ocast{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:48px;padding:7px 10px 7px 7px;border-radius:10px;border:1px solid var(--line);background:linear-gradient(160deg,rgba(142,168,255,.12),rgba(11,11,13,.85) 60%);font:inherit;text-align:left;color:var(--ink);cursor:pointer;transition:border-color .2s,box-shadow .2s}
.gd-ba-ocast:hover,.gd-ba-ocast:focus-visible{border-color:color-mix(in srgb,var(--ac) 70%,#000)}
.gd-ba-ocast img.sm{width:30px;height:30px;border-radius:6px;border:1px solid #000}
.gd-ba-ocast>span{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.gd-ba-ocast>span b{font-size:13px}
.gd-ba-ocast small{font-size:10.5px;color:var(--muted)}
.gd-ba-ocast em{font-style:normal;font-size:12px;color:var(--ink2);white-space:nowrap}
.gd-ba-ocast em b{font-family:Cinzel,Georgia,serif;font-size:16px;color:#9fc3ff}
.gd-ba-ocast.free{border-color:#ffd75e;box-shadow:0 0 0 1px rgba(255,209,0,.3),0 0 14px rgba(255,209,0,.2)}
.gd-ba-ocast.free em b{color:#ffd75e}
.gd-ba-olog{margin:12px 0 0;padding:10px 12px;border-radius:10px;border:1px solid #2c2c2c;background:rgba(8,8,10,.6)}
.gd-ba-olog .gd-eralabel{margin:0 0 6px}
.gd-ba-ologrow{display:flex;flex-wrap:wrap;gap:5px;min-height:30px}
.gd-ba-oc{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 8px 0 3px;border-radius:6px;border:1px solid #444;background:#111;font-size:11.5px;color:var(--ink2)}
.gd-ba-oc img.sm{width:20px;height:20px;border-radius:4px;border:1px solid #000}
.gd-ba-oc.free{border-color:#b8901f;background:rgba(255,209,0,.12);color:#ffd75e}
.gd-ba-oc.kept{border-color:color-mix(in srgb,var(--ac) 60%,#000);color:#cdd9ff}
.gd-ba-tally{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;margin:4px 0 0}
.gd-ba-tally>div{flex:1 1 150px;min-width:0;padding:8px 12px;border-radius:8px;border:1px solid #3a3a3a;background:#0b0b0d;text-align:center}
.gd-ba-tally b{display:block;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:24px;line-height:1.1;color:#9fc3ff;font-variant-numeric:tabular-nums}
.gd-ba-tally .saved{border-color:#8a6d16}
.gd-ba-tally .saved b{color:#ffd75e}
.gd-ba-tally small{display:block;margin-top:2px;font-size:12px;color:var(--muted)}
.gd-ba-tally .gd-reset{align-self:center;margin-left:0}

/* 5. Moonkin Form: the figure, the aura's reach, the party, the cast lists */
.gd-ba-stamp{display:inline-flex;align-items:center;gap:7px;margin-left:auto;padding:4px 12px 4px 4px;border-radius:999px;border:1px dashed #b8901f;background:rgba(255,209,0,.06);font-size:12.5px;font-weight:700;color:#ffd75e}
.gd-ba-stamp img.sm{flex:none;width:24px;height:24px;border-radius:50%;border:1px solid #000}
.gd-ba-mkgrid{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:12px;align-items:stretch}
.gd-ba-mkfig{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin:0;padding:14px 12px;border-radius:10px;border:1px solid color-mix(in srgb,var(--ac) 30%,#333);background:radial-gradient(80% 60% at 50% 100%,rgba(142,168,255,.20),transparent 70%),linear-gradient(180deg,#070914,#121a34 60%,#0a0c16)}
.gd-ba-mkimg{display:block;width:auto;height:auto;max-width:100%;max-height:230px;filter:drop-shadow(0 8px 14px rgba(0,0,0,.7))}
.gd-ba-mktoken{width:112px;height:112px;margin:0;border-color:var(--ac);box-shadow:0 0 0 3px #0b0b0d,0 0 24px color-mix(in srgb,var(--ac) 55%,transparent)}
.gd-ba-mkfig figcaption{font-size:12.5px;line-height:1.45;text-align:center;color:var(--ink2)}
.gd-ba-aura{min-width:0;padding:12px 14px;border-radius:10px;border:1px solid #2c2c2c;background:rgba(8,8,10,.6)}
.gd-ba-aura .gd-eralabel{margin:0}
.gd-ba-strip{position:relative;height:74px;margin:18px 18px 4px;border-bottom:1px dashed rgba(255,255,255,.2)}
.gd-ba-strip .reach{position:absolute;left:0;top:10px;bottom:0;border-radius:0 44px 0 0;background:linear-gradient(90deg,color-mix(in srgb,var(--ac) 34%,transparent),color-mix(in srgb,var(--ac) 10%,transparent));border-right:2px solid var(--ac);transition:width .5s cubic-bezier(.2,.7,.2,1),background .3s,border-color .3s}
.gd-ba-mk[data-era="classic"] .gd-ba-strip .reach{background:linear-gradient(90deg,rgba(160,160,160,.3),rgba(160,160,160,.08));border-right-color:#9a9a9a}
.gd-ba-rmark{position:absolute;top:-10px;transform:translateX(-50%);font-size:11px;font-weight:700;letter-spacing:.04em;color:var(--ac);white-space:nowrap;transition:left .5s cubic-bezier(.2,.7,.2,1)}
.gd-ba-mk[data-era="classic"] .gd-ba-rmark{color:#bdbdbd}
.gd-ba-tok{position:absolute;top:16px;z-index:1;transform:translateX(-50%);transition:left .25s}
.gd-ba-tok.lo{top:44px}
.gd-ba-tok img.sm{display:block;width:26px;height:26px;border-radius:50%;border:2px solid #555;filter:grayscale(.8) brightness(.8);transition:filter .3s,border-color .3s,box-shadow .3s}
.gd-ba-tok.on img.sm{border-color:#ffd75e;filter:none;box-shadow:0 0 10px rgba(255,215,94,.6)}
.gd-ba-tokme{top:28px}
.gd-ba-tokme img.sm{width:32px;height:32px;border-color:var(--ac);filter:none;box-shadow:0 0 12px color-mix(in srgb,var(--ac) 60%,transparent)}
.gd-ba-tok.mv img.sm{outline:1px dashed rgba(255,255,255,.5);outline-offset:2px}
.gd-ba-dist{display:flex;align-items:center;gap:10px;margin:8px 0 0;font-size:13px;font-weight:600;color:var(--ink)}
.gd-ba-dist>span{white-space:nowrap}
.gd-ba-dist input[type=range]{flex:1 1 auto;min-width:0;accent-color:var(--ac)}
.gd-ba-dist output{min-width:3.6em;padding:1px 8px;border-radius:6px;background:#000;border:1px solid var(--line);color:var(--ac);font-variant-numeric:tabular-nums;text-align:center}
.gd-ba-party{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 0}
.gd-ba-pf{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:7px 9px;border-radius:10px;border:1px solid #333;background:#0c0c0e;transition:border-color .3s,box-shadow .3s,opacity .3s}
.gd-ba-port{display:block;width:36px;height:36px;border-radius:50%;border:2px solid #555;overflow:hidden;background:#000}
.gd-ba-port img{display:block;width:100%;height:100%;object-fit:cover}
.gd-ba-pf b{display:block;font-size:13px;color:var(--ink)}
.gd-ba-pf small{display:block;font-size:11px;color:var(--muted);white-space:nowrap}
.gd-ba-pstate{display:block;margin-top:1px;font-size:12px;font-weight:700;color:var(--muted);white-space:nowrap}
.gd-ba-pf.on{border-color:#8a6d16;box-shadow:0 0 0 1px rgba(255,209,0,.2)}
.gd-ba-pf.on .gd-ba-port{border-color:#ffd75e}
.gd-ba-pf.on .gd-ba-pstate{color:#ffd75e}
.gd-ba-pf.far{opacity:.6}
.gd-ba-casts{display:grid;gap:10px;margin:14px 0 0}
.gd-ba-cl .gd-eralabel{margin:0 0 5px}
.gd-ba-cl.ok .gd-eralabel{color:var(--nat)}.gd-ba-cl.no .gd-eralabel{color:#f08080}.gd-ba-cl.q .gd-eralabel{color:#d1aa64}
.gd-ba-clrow{display:flex;flex-wrap:wrap;gap:6px}
.gd-ba-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 .3s,border-color .3s}
.gd-ba-cchip img.sm{width:22px;height:22px;border-radius:50%;border:1px solid #000;transition:filter .3s}
.gd-ba-cchip.ok{border-color:color-mix(in srgb,var(--nat) 45%,#000);color:var(--ink)}
.gd-ba-cchip.q{border-style:dashed;border-color:#7a6230}
.gd-ba-cchip.no{opacity:.5}
.gd-ba-cchip.no img.sm{filter:grayscale(1)}
.gd-ba-co{display:none}
.gd-ba-mk[data-era="classic"] .gd-ba-co{display:inline}
.gd-ba-mk[data-era="classic"] .gd-ba-fo{display:none}
.gd-ba-mk[data-era="classic"] .gd-ba-cl.q .gd-eralabel{color:#f08080}
.gd-ba-mk[data-era="classic"] .gd-ba-cchip.q{opacity:.5;border-style:solid;border-color:#3a3a3a}
.gd-ba-mk[data-era="classic"] .gd-ba-cchip.q img.sm{filter:grayscale(1)}

/* 6. Thorns */
.gd-ba-thctl{margin-top:0}
.gd-ba-tbars .gd-ba-bar{grid-template-columns:104px minmax(0,1fr) 48px}

/* tablets and phones */
@media (max-width:1100px){
  .gd-ba-ocasts{grid-template-columns:1fr}
  .gd-ba-chips:not(.four){grid-template-columns:1fr}
  .gd-ba-mkgrid{grid-template-columns:1fr}
  .gd-ba-mkfig{flex-direction:row;justify-content:flex-start;gap:14px;padding:10px 12px}
  .gd-ba-mkfig figcaption{text-align:left}
  .gd-ba-mktoken{flex:none;width:72px;height:72px}
  .gd-ba-mkimg{flex:none;max-height:130px;max-width:40%}
  .gd-ba-stage .gd-steptitle,.gd-ba-eclstage .gd-steptitle{min-height:2.8em}
  .gd-ba-roots>.gd-cap,.gd-ba-ecl>.gd-cap,.gd-ba-omen>.gd-cap{min-height:4.7em}
  .gd-ba-mk>.gd-cap{min-height:6.3em}
}
@media (max-width:760px){
  .gd-ba-bar{grid-template-columns:54px minmax(0,1fr) 60px;gap:8px}
  .gd-ba-bnum{font-size:17px}
  .gd-ba-read .gd-chalk{font-size:26px}
  .gd-ba-tbars .gd-ba-bar{grid-template-columns:92px minmax(0,1fr) 40px}
  .gd-ba-holdbar{grid-template-columns:84px minmax(0,1fr) 60px;gap:8px}
  .gd-ba-stamp{margin-left:0}
}
@media (max-width:640px){
  .gd-ba-token{width:64px;height:64px}
  .gd-ba-fig{height:110px}
  .gd-ba-dummy{height:96px}
  .gd-ba-shade{padding-top:28px}
  .gd-ba-held{padding:1px 5px 1px 1px;gap:3px}.gd-ba-held img.sm{width:18px;height:18px}.gd-ba-held small{font-size:10.5px}
  .gd-ba-stage{padding:10px 8px 12px}
  .gd-ba-field{gap:4px}
  .gd-ba-holds{margin-left:0;flex-basis:100%}
  .gd-ba-era button{padding:6px 14px}
  .gd-ba-chips,.gd-ba-chips.four{grid-template-columns:1fr}
  .gd-ba-facts{grid-template-columns:1fr}
  .gd-ba-ocasts{grid-template-columns:1fr}
  .gd-ba-eclstage .gd-caster{min-width:84px}
  .gd-ba-cb{grid-template-columns:86px minmax(0,1fr) 52px;gap:6px}
  .gd-ba-pop b{font-size:24px}
  .gd-ba-ctl .gd-reset{margin-left:0}
  .gd-ba-rankrow{display:flex;width:100%}
  .gd-ba-rankrow .gd-rankpick{order:3;flex-basis:100%;gap:3px}
  .gd-ba-thctl .gd-ba-at{order:1}
  .gd-ba-thctl .gd-rankpick{order:2;flex-basis:100%}
  .gd-ba-pf{padding:6px 7px;gap:6px}
  .gd-ba-rankrow .gd-rankpick button{width:34px;height:34px}
  .gd-ba-strip{margin:18px 14px 4px}
  .gd-ba-dist{flex-wrap:wrap}
  .gd-ba-dist input[type=range]{flex-basis:60%}
}
@media (max-width:340px){
  .gd-ba-party{grid-template-columns:1fr}
}
@media (max-width:760px),(pointer:coarse){
  .gd-ba-era button,.gd-ba-spells button,.gd-ba-tog,.gd-ba-ctl .gd-cast{min-height:44px}
  .gd-ba-roots .gd-reset,.gd-ba-ecl .gd-reset,.gd-ba-omen .gd-reset{min-height:44px;min-width:44px}
  .gd-ba-pts .gd-rankpick button,.gd-ba-hold .gd-rankpick button,.gd-ba-thctl .gd-rankpick button{width:40px;height:40px}
  .gd-ba-ocast{min-height:48px}
}
@media (prefers-reduced-motion:reduce){
  .gd-ba-track i,.gd-ba-vines,.gd-ba-held,.gd-ba-dummy,.gd-ba-era button,.gd-ba-ebuff,.gd-ba-echarges i,.gd-ba-cbtrack .prog,.gd-ba-cbtrack .cut,.gd-ba-ocast,.gd-ba-strip .reach,.gd-ba-rmark,.gd-ba-tok,.gd-ba-tok img.sm,.gd-ba-pf,.gd-ba-cchip,.gd-ba-cchip img.sm{transition:none}
  .gd-ba-you.cast .gd-ba-token,.gd-ba-you.cast .gd-ba-fig,.gd-ba-shade.rooting .gd-ba-dummy,.gd-ba-shade.freed .gd-ba-dummy,.gd-ba-eclstage.ba-hit .gd-dummyfig,.gd-ba-ebuff.bump{animation:none}
}

/* ---- Feral, chapter 4 of the Druid's page (guides/druid/feral.js, feral.widgets.js). The tree's amber is --ac (#f2a550, set by
   druid.css from data-tree); Energy is the game's yellow, the moonlit blue is her forms'. Plates, twins, chalk, fine print and the yard's
   frame are page.css's own; every class here is .gd-fe-*. Motion is transform, opacity, left and width only, none under reduced motion. ---- */
.gd-ch[data-tree="feral"]{--en:#f5d142;--moon:#7fb4ff;--warn:#ff8a7a}

/* shared in the chapter: a form's icon in a ring until its render lands, pops, segmented switches, a button's cooldown sweep */
.gd-fe-token{display:inline-block;width:84px;height:84px;border-radius:50%;overflow:hidden;border:3px solid var(--moon);background:#000;box-shadow:0 0 0 3px #0b0b0d,0 8px 20px rgba(0,0,0,.6),0 0 20px color-mix(in srgb,var(--moon) 45%,transparent)}
.gd-fe-token img{display:block;width:100%;height:100%;object-fit:cover;border:0;border-radius:0}
.gd-fe-fig{height:132px;max-width:100%;object-fit:contain}
.gd-fe-pop{position:absolute;left:50%;top:10%;z-index:4;display:flex;flex-direction:column;align-items:center;pointer-events:none;opacity:0;transform:translate(-50%,0);white-space:nowrap}
.gd-fe-pop.still{opacity:1;transform:translate(-50%,-18px)}
.gd-fe-pop b{font-family:Cinzel,Georgia,serif;font-size:22px;font-weight:700;line-height:1;color:#fff;text-shadow:0 2px 0 #000,0 0 12px rgba(0,0,0,.9)}
.gd-fe-pop small{margin-top:3px;font-size:11.5px;font-weight:700;color:#e8e8e8;text-shadow:0 1px 3px #000}
.gd-fe-pop.good b{color:var(--en)}
.gd-fe-pop.dmg b{color:#fff;text-shadow:0 2px 0 #000,0 0 14px color-mix(in srgb,var(--ac) 80%,transparent)}
.gd-fe-pop.bad small{font-size:13px;color:var(--warn)}
.gd-fe-speed,.gd-fe-era,.gd-fe-via,.gd-fe-pts{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:#111}
.gd-fe-speed button,.gd-fe-era button,.gd-fe-via button,.gd-fe-pts button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:5px 14px;border:0;border-radius:0;background:none;font:inherit;font-size:12.5px;font-weight:700;color:var(--ink2);cursor:pointer;transition:background .25s,color .25s}
.gd-fe-speed button[aria-pressed="true"]{background:#9a9a9a;color:#111}
.gd-fe-era button[aria-pressed="true"][data-era="classic"]{background:#9a9a9a;color:#111}
.gd-fe-era button[aria-pressed="true"][data-era="forever"]{background:#ffd75e;color:#1a1408}
.gd-fe-via button img.sm{width:20px;height:20px;border-radius:4px;border:1px solid #000}
.gd-fe-via button[aria-pressed="true"]{background:var(--ac);color:#1a1206}
.gd-fe-pts button small{font-weight:400;font-size:11px;color:var(--muted)}
.gd-fe-pts button[aria-pressed="true"]{background:var(--ac);color:#1a1206}
.gd-fe-pts button[aria-pressed="true"] small{color:#3a2a10}
.gd-fe-sweep{position:absolute;inset:0;z-index:0;background:rgba(0,0,0,.7);transform:scaleX(0);transform-origin:0 50%;pointer-events:none;border-radius:inherit}
.gd-fe-energy .gd-cast>img,.gd-fe-energy .gd-cast>span,.gd-fe-open .gd-cast>img,.gd-fe-open .gd-cast>span,.gd-fe-act>img,.gd-fe-act>span,.gd-fe-act>.gd-fe-lv{position:relative;z-index:1}
.gd-fe-energy .gd-cast.cool[aria-disabled="true"],.gd-fe-act.cool{opacity:.85}
.gd-fe-act.cool img.sm,.gd-fe-energy .gd-cast.cool img.sm{filter:grayscale(.7) brightness(.7)}
.gd-fe-at30{font-size:12px;color:var(--muted);white-space:nowrap;padding:2px 8px;border:1px dashed #4a4a4a;border-radius:999px}
.gd-ch[data-tree="feral"] .gd-ctl-note{display:inline-flex;align-items:center;gap:6px}
.gd-ch[data-tree="feral"] .gd-ctl-note img.sm{width:22px;height:22px;border-radius:5px;border:1px solid #000}
.gd-ch[data-tree="feral"] .gd-stagewrap{border-color:color-mix(in srgb,var(--moon) 26%,#333);background:radial-gradient(70% 60% at 70% 100%,rgba(127,180,255,.14),transparent 70%),linear-gradient(180deg,#0a0f1c 0%,#131c30 45%,#1a2438 62%,#0b0d14 100%)}
.gd-ch[data-tree="feral"] .gd-cap{min-height:3.2em}
.gd-fe-energy .gd-cast,.gd-fe-open .gd-cast{position:relative;margin-left:0;min-height:42px;padding:5px 14px 5px 7px;font-size:13.5px;gap:8px;overflow:hidden}
.gd-fe-energy .gd-cast img.sm,.gd-fe-open .gd-cast img.sm{width:28px;height:28px;border-radius:6px}
.gd-fe-energy .gd-cast>span,.gd-fe-open .gd-cast>span{display:flex;flex-direction:column;line-height:1.15;text-align:left}
.gd-fe-energy .gd-cast small,.gd-fe-open .gd-cast small{font-weight:400;font-size:11.5px;color:var(--muted)}
.gd-fe-energy .gd-cast[aria-disabled="true"],.gd-fe-open .gd-cast[aria-disabled="true"]{opacity:.6}
.gd-fe-energy .gd-cast[aria-disabled="true"] img.sm,.gd-fe-open .gd-cast[aria-disabled="true"] img.sm{filter:grayscale(.8)}
.gd-fe-energy .gd-reset,.gd-fe-open .gd-reset,.gd-fe-bear .gd-reset{min-height:40px;margin-left:auto}

/* ==== 1. the cat's Energy ==== */
.gd-fe-stage{min-height:0}
.gd-fe-stage .gd-caster{padding-top:26px;min-width:96px}
.gd-fe-stage .gd-target{width:118px}
.gd-fe-stage .gd-dummyfig{height:132px}
.gd-fe-stage .gd-bolt img.sm{border-color:color-mix(in srgb,var(--ac) 70%,#fff)}
.gd-fe-gain{top:28px}
.gd-fe-ebar{position:relative;z-index:2;display:grid;grid-template-columns:auto minmax(0,1fr) 44px;align-items:center;gap:10px;margin-top:14px}
.gd-fe-elab{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--en)}
.gd-fe-etrack{position:relative;height:18px;border-radius:4px;background:#0a0a0c;border:1px solid #4a4220;box-shadow:inset 0 1px 3px #000}
.gd-fe-etrack>i{position:absolute;inset:0;border-radius:3px;transform-origin:left;background:linear-gradient(#ffe86b,#c9a012)}
.gd-fe-emark{position:absolute;top:-5px;bottom:-5px;width:2px;margin-left:-1px;background:#fff;box-shadow:0 0 6px rgba(255,255,255,.7);font-style:normal}
.gd-fe-emark small{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);margin-bottom:1px;font-size:10px;font-weight:700;letter-spacing:.04em;color:#e8e8e8;white-space:nowrap;text-shadow:0 1px 2px #000}
.gd-fe-enum{font-family:Cinzel,Georgia,serif;font-size:20px;font-weight:700;text-align:right;color:var(--en);font-variant-numeric:tabular-nums}
.gd-fe-ctl{flex-wrap:wrap}
.gd-fe-b-sp.lit{border-color:var(--en)!important;box-shadow:0 0 0 1px var(--en),0 0 16px rgba(245,209,66,.5)}
.gd-fe-ectl{gap:8px 12px}
.gd-fe-helm{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:4px 12px 4px 5px;border-radius:9px;border:1px solid var(--line);background:#111;font:inherit;font-size:12.5px;font-weight:700;color:var(--ink2);text-align:left;cursor:pointer}
.gd-fe-helm img.sm{width:26px;height:26px;border-radius:6px;border:1px solid #000}
.gd-fe-helm>span{display:flex;flex-direction:column;line-height:1.15}
.gd-fe-helm small{font-weight:400;font-size:11px;color:var(--muted)}
.gd-fe-helm[aria-pressed="true"]{border-color:var(--en);color:#fff;background:rgba(245,209,66,.1);box-shadow:0 0 12px rgba(245,209,66,.3)}
.gd-fe-tally{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 0}
.gd-fe-tally span{display:flex;flex-direction:column;align-items:center;padding:8px 6px;border-radius:8px;border:1px solid #333;background:#0b0b0d;text-align:center}
.gd-fe-tally b{font-family:Cinzel,Georgia,serif;font-size:24px;line-height:1.1;color:#e8e8e8;font-variant-numeric:tabular-nums}
.gd-fe-tally span:nth-child(2) b{color:var(--en)}
.gd-fe-tally span:nth-child(3) b{color:#8fb9ff}
.gd-fe-tally small{font-size:11px;line-height:1.3;color:var(--muted)}
.gd-fe-gonechip{display:flex;align-items:flex-start;gap:10px;margin:10px 0 0;padding:9px 11px;border-radius:8px;border:1px dashed #6a3a3a;background:rgba(11,11,13,.9)}
.gd-fe-gonechip img.sm{flex:none;width:32px;height:32px;border-radius:7px;border:1px solid #000;filter:grayscale(.85)}
.gd-fe-gonechip>span{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0}
.gd-fe-gonechip b{font-size:14px;color:var(--ink)}
.gd-fe-gonechip .gd-pill{background:#7a3a3a}
.gd-fe-gonechip small{flex-basis:100%;font-size:12.5px;line-height:1.45;color:var(--ink2)}

/* ==== 2. Furor's sum ==== */
.gd-fe-furor .gd-ctl:first-child{margin-top:0}
.gd-fe-furor .gd-ctl label,.gd-fe-inst .gd-ctl label{flex:0 0 auto;min-width:11.5em}
.gd-fe-fctl{gap:8px 12px}
.gd-fe-fctl .gd-fe-via{margin-left:auto}
.gd-fe-k2 i{background:repeating-linear-gradient(135deg,rgba(255,227,138,.75) 0 2px,transparent 2px 6px)!important;border:1px solid rgba(255,227,138,.6)}
.gd-fe-k2{color:var(--ink2)}
.gd-fe-fbars,.gd-fe-rbars,.gd-fe-ibars{display:grid;gap:8px;margin-top:10px}
.gd-fe-fb,.gd-fe-rb{display:grid;grid-template-columns:64px minmax(0,1fr) 52px;align-items:center;gap:10px}
.gd-fe-flab,.gd-fe-rlab{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-fe-fb.forever .gd-fe-flab,.gd-fe-rb.forever .gd-fe-rlab{color:#ffd75e}
.gd-fe-ftrack,.gd-fe-rtrack,.gd-fe-itrack{display:flex;height:26px;border-radius:4px;background:#111;border:1px solid #3a3a3a;overflow:hidden}
.gd-fe-ftrack i,.gd-fe-rtrack i,.gd-fe-itrack i{display:block;height:100%;width:0;transition:width .45s cubic-bezier(.2,.7,.2,1)}
.gd-fe-ftrack .flat,.gd-fe-rb.classic .hit,.gd-fe-itrack .hit{background:repeating-linear-gradient(115deg,#8f8f8f 0 3px,#5c5c5c 3px 6px)}
.gd-fe-ftrack .kept,.gd-fe-rb.forever .hit,.gd-fe-itrack .bonus{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-fe-ftrack .built,.gd-fe-itrack .more{background:repeating-linear-gradient(135deg,rgba(255,227,138,.75) 0 2px,transparent 2px 6px);border-left:1px solid rgba(255,227,138,.8)}
.gd-fe-fnum,.gd-fe-rnum{font-family:Cinzel,Georgia,serif;font-size:20px;font-weight:700;text-align:right;color:#e8e8e8;font-variant-numeric:tabular-nums}
.gd-fe-fb.forever .gd-fe-fnum,.gd-fe-rb.forever .gd-fe-rnum{color:#ffd75e}
.gd-fe-ftwin .gd-under,.gd-fe-etwin .gd-under,.gd-fe-itwin .gd-under,.gd-fe-ttwin .gd-under{line-height:1.4}
.gd-fe-fcap{min-height:3.2em}

/* ==== 3. the opener: in front, behind, and the leap ==== */
.gd-fe-ohead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;margin:0 0 12px}
.gd-fe-ochips{display:flex;flex-wrap:wrap;gap:6px}
.gd-fe-ochips .gd-chip{padding:4px 9px;font-size:12.5px;box-shadow:none}
.gd-fe-ochips .gd-fe-cap{border-style:dashed;color:var(--muted)}
.gd-fe-ostage{min-height:0}
.gd-fe-field{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;min-height:206px;padding-top:30px}
.gd-fe-spot{grid-row:1;justify-self:center;display:flex;flex-direction:column;align-items:center;gap:5px;padding-bottom:0;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#bdbdbd;text-shadow:0 1px 3px #000}
.gd-fe-spot i{display:block;width:96px;height:16px;border-radius:50%;border:1px dashed rgba(255,255,255,.3);background:radial-gradient(closest-side,rgba(127,180,255,.14),transparent)}
.gd-fe-spot.front{grid-column:1}.gd-fe-spot.back{grid-column:3}
.gd-fe-spot.back i{border-color:color-mix(in srgb,var(--ac) 70%,transparent);background:radial-gradient(closest-side,color-mix(in srgb,var(--ac) 22%,transparent),transparent)}
.gd-fe-mid{grid-row:1;grid-column:2;position:relative;width:132px;text-align:center}
.gd-fe-mid .gd-dummyfig{height:150px}
.gd-fe-mid.struck .gd-dummyfig{animation:feStruck .3s ease-out}
@keyframes feStruck{0%{transform:none}40%{transform:translateX(-6px) rotate(-2deg)}100%{transform:none}}
.gd-fe-faces{position:absolute;left:50%;top:-24px;transform:translateX(-50%);padding-left:16px;font-family:Caveat,"Segoe Print",cursive;font-size:17px;font-weight:700;line-height:1;white-space:nowrap;color:#cfd8ea;text-shadow:0 1px 3px #000}
.gd-fe-faces::before{content:"";position:absolute;left:0;top:50%;margin-top:-6px;border:6px solid transparent;border-left:0;border-right:10px solid #cfd8ea}
.gd-fe-opop{top:22%}
.gd-fe-cat{position:absolute;left:17%;bottom:27px;z-index:3;width:max-content;transform:translateX(-50%);text-align:center;transition:left var(--mv,0ms) cubic-bezier(.4,0,.3,1)}
.gd-fe-open[data-pos="back"] .gd-fe-cat{left:83%}
.gd-fe-open.walking .gd-fe-cat{transition-timing-function:linear}
.gd-fe-cat .gd-fe-token{width:66px;height:66px}
.gd-fe-cat .gd-fe-fig{height:96px}
.gd-fe-cat .gd-fe-token,.gd-fe-cat .gd-fe-fig{transition:opacity .35s,filter .35s}
.gd-fe-open[data-pos="back"] .gd-fe-cat .gd-fe-fig{transform:scaleX(-1)}
.gd-fe-open.prowl .gd-fe-cat .gd-fe-token,.gd-fe-open.prowl .gd-fe-cat .gd-fe-fig{opacity:.45;filter:saturate(.5) brightness(1.15)}
.gd-fe-cat .gd-yardlabel{margin:0 0 4px}
.gd-fe-stealth{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);display:flex;align-items:center;gap:5px;margin-bottom:5px;padding:2px 8px 2px 2px;border-radius:999px;background:rgba(0,0,0,.78);border:1px solid var(--moon);font-size:11.5px;font-weight:700;color:#dfe9ff;white-space:nowrap}
.gd-fe-stealth[hidden]{display:none}
.gd-fe-stealth img.sm{width:20px;height:20px;border-radius:50%;border:1px solid #000}
.gd-fe-octl{flex-wrap:wrap}
.gd-fe-open .gd-fe-octl .gd-reset{margin-left:0}
.gd-fe-b-prowl[aria-pressed="true"]{border-color:var(--moon)!important;background:rgba(127,180,255,.14)!important;color:#dfe9ff!important}
.gd-fe-b-oshred.lit{border-color:var(--ac)!important;box-shadow:0 0 0 1px var(--ac),0 0 14px color-mix(in srgb,var(--ac) 50%,transparent)}
.gd-fe-b-leap.no small{color:#ffb0b0!important}
.gd-fe-b-leap.no img.sm{filter:grayscale(1) brightness(.5)}
.gd-fe-shplates{margin-top:14px}

/* ==== 4. Natural Instinct ==== */
.gd-fe-ictl{margin-top:0}
.gd-fe-ib{display:grid;grid-template-columns:96px minmax(0,1fr) 64px;align-items:center;gap:10px}
.gd-fe-ilab{font-size:12px;font-weight:700;color:var(--ink2)}
.gd-fe-ib b{font-family:Cinzel,Georgia,serif;font-size:20px;font-weight:700;text-align:right;color:#e8e8e8;font-variant-numeric:tabular-nums}
.gd-fe-ib.crit b{color:#ffd75e}

/* ==== 5. the bear, three of them and the old druid ==== */
.gd-fe-bstage{min-height:0}
.gd-fe-bfield{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:end;gap:10px 18px;margin-top:4px}
.gd-fe-ward{width:86px;text-align:center}
.gd-fe-port{display:block;width:58px;height:58px;margin:0 auto;border-radius:50%;overflow:hidden;border:2px solid #b8901f;background:#000;box-shadow:0 0 0 2px #000,0 6px 14px rgba(0,0,0,.6);transition:border-color .3s,box-shadow .3s}
.gd-fe-port img{display:block;width:100%;height:100%;object-fit:cover;border:0}
.gd-fe-ward.hurt .gd-fe-port{border-color:#c84646;box-shadow:0 0 0 2px #000,0 0 16px rgba(200,70,70,.6)}
.gd-fe-hbar{position:relative;height:9px;margin:7px 4px 0;border-radius:3px;background:#070707;border:1px solid #2f2f2f;overflow:hidden}
.gd-fe-hbar i{position:absolute;inset:0;transform-origin:0 50%;transform:scaleX(calc(var(--hp,100) / 100));background:linear-gradient(#5fd36b,#2d8a3a)}
.gd-fe-ward.low .gd-fe-hbar i{background:linear-gradient(#e8c25a,#a3761d)}
.gd-fe-byou{padding-top:34px;min-width:104px}
.gd-fe-byou .gd-fe-fig{height:140px}
.gd-fe-bpop{top:38px}
.gd-fe-bz{position:absolute;left:50%;top:0;transform:translateX(-50%);display:flex;align-items:center;gap:5px;padding:2px 8px 2px 2px;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}
.gd-fe-bz[hidden]{display:none}
.gd-fe-bz img.sm{width:22px;height:22px;border-radius:5px;border:1px solid #000}
.gd-fe-bz b{font-size:12px;color:#fff;font-variant-numeric:tabular-nums}
.gd-fe-bstage.berserk .gd-fe-token,.gd-fe-bstage.berserk .gd-fe-byou .gd-fe-fig{filter:drop-shadow(0 0 14px color-mix(in srgb,var(--ac) 80%,transparent))}
.gd-fe-pack{display:flex;justify-content:flex-end;align-items:flex-end;gap:4px;min-width:0}
.gd-fe-foe{position:relative;flex:0 1 96px;min-width:0;padding-top:30px;text-align:center}
.gd-fe-foefig{height:112px;max-width:100%;object-fit:contain}
.gd-fe-on{position:absolute;left:50%;top:0;transform:translateX(-50%);padding:1px 8px;border-radius:999px;font-family:Caveat,"Segoe Print",cursive;font-size:17px;font-weight:700;line-height:1.15;white-space:nowrap;background:rgba(40,8,8,.9);border:1px solid #c84646;color:#ff9d9d;transition:background .3s,border-color .3s,color .3s}
.gd-fe-foe[data-on="you"] .gd-fe-on{background:rgba(10,14,24,.9);border-color:var(--moon);color:#cfe0ff}
.gd-fe-foe.held .gd-fe-on{border-color:var(--ac);color:#ffd9a8;box-shadow:0 0 10px color-mix(in srgb,var(--ac) 45%,transparent)}
.gd-fe-deb{position:absolute;right:2px;bottom:6px;display:flex;align-items:center;gap:3px;padding:1px 5px 1px 1px;border-radius:6px;background:rgba(0,0,0,.82);border:1px solid #555}
.gd-fe-deb[hidden]{display:none}
.gd-fe-deb img.sm{width:18px;height:18px;border-radius:4px;border:1px solid #000}
.gd-fe-deb b{font-size:11.5px;color:var(--warn);font-variant-numeric:tabular-nums}
.gd-fe-crbar{position:relative;z-index:2;display:grid;grid-template-columns:auto minmax(0,1fr) 34px;align-items:center;gap:8px;margin-top:12px;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#cfcfcf;opacity:.28;transition:opacity .3s}
.gd-fe-crbar.on{opacity:1}
.gd-fe-crbar div{position:relative;height:9px;border-radius:3px;background:#111;border:1px solid #3a3a3a;overflow:hidden}
.gd-fe-crbar i{position:absolute;inset:0;transform-origin:left;transform:scaleX(0);background:linear-gradient(90deg,color-mix(in srgb,var(--ac) 60%,#000),var(--ac))}
.gd-fe-crbar b{text-align:right;letter-spacing:0;text-transform:none;font-size:12px;color:#fff;font-variant-numeric:tabular-nums}
.gd-fe-crbar:not(.on) b{visibility:hidden}
.gd-fe-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 0}
.gd-fe-act{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:4px 12px 4px 4px;border-radius:9px;border:1px solid #4a4030;background:#14110c;font:inherit;font-size:13px;font-weight:700;color:var(--ink);cursor:pointer;overflow:hidden}
.gd-fe-act img.sm{width:34px;height:34px;border-radius:6px;border:1px solid #000}
.gd-fe-act>span{display:flex;flex-direction:column;line-height:1.15;text-align:left}
.gd-fe-act small{font-size:11px;font-weight:600;color:var(--muted)}
.gd-fe-act.lit{border-color:var(--ac);box-shadow:0 0 0 1px color-mix(in srgb,var(--ac) 35%,transparent),0 0 14px color-mix(in srgb,var(--ac) 40%,transparent)}
.gd-fe-act.past{border-style:dashed;border-color:#6a6a6a}
.gd-fe-lv{align-self:flex-start;margin-left:2px;padding:1px 6px;border-radius:3px;background:#2a2118;border:1px solid #6a5a3a;font-style:normal;font-size:9.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#e8cf9a;white-space:nowrap}
.gd-fe-ttwin{margin-top:14px}
.gd-fe-twinlab{margin:6px 0 0;text-align:center;font-family:Caveat,"Segoe Print",cursive;font-size:20px;font-weight:700;color:#ffd75e}
.gd-fe-says{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px;margin:12px 0 0}
.gd-fe-said,.gd-fe-note{display:flex;align-items:flex-start;gap:10px;margin:0;padding:9px 11px;border-radius:8px;border:1px solid #333;border-left:2px solid var(--moon);background:rgba(11,11,13,.9);font-size:13.5px;line-height:1.45;color:var(--ink2)}
.gd-fe-said img.sm,.gd-fe-note img.sm{flex:none;width:28px;height:28px;border-radius:6px;border:1px solid #000}

/* ==== 6. Demoralizing Roar by rank, and the two notes under it ==== */
.gd-fe-rctl{margin-top:0}
.gd-fe-rat{font-size:12.5px;color:var(--muted)}
.gd-fe-rtrack .tail{background:repeating-linear-gradient(115deg,#d9d9d9 0 3px,#9a9a9a 3px 6px);border-left:1px solid #fff}
.gd-fe-rread{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-fe-rread .gd-chalk{flex:none;font-size:30px;color:#8fe36b}
.gd-fe-rread>span{flex:1 1 260px;min-width:0}
.gd-fe-notes{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}
.gd-fe-note{border-left-color:var(--ac)}
.gd-fe-note>span{display:block;min-width:0}
.gd-fe-note b{display:inline-block;margin-right:8px;font-size:14px;color:var(--ink)}
.gd-fe-note small{display:inline-block;padding:1px 7px;border-radius:999px;border:1px solid #4a4a4a;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.gd-fe-note b,.gd-fe-note small{vertical-align:middle}
.gd-fe-note em{display:block;margin-top:4px;font-style:normal}
.gd-fe-note.past{border-style:dashed;border-left-style:solid;border-left-color:#8a8a8a}
.gd-fe-note.past img.sm{filter:grayscale(.6)}

/* ==== 7. what left the tree, and how far the points go ==== */
.gd-fe-gone .gd-plates{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.gd-fe-gone .gd-fine b{color:var(--ink2)}
.gd-fe-reach{padding:12px;border-radius:10px;border:1px solid #333;background:rgba(11,11,13,.9)}
.gd-fe-reachhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}
.gd-fe-reachhead .gd-eralabel{margin:0}
.gd-fe-rrow{display:grid;grid-template-columns:128px minmax(0,1fr);align-items:center;gap:10px;padding:6px 0;border-top:1px solid rgba(255,255,255,.06);transition:opacity .35s,filter .35s}
.gd-fe-rrow.off{opacity:.42;filter:grayscale(.85)}
.gd-fe-rrlab{display:flex;flex-direction:column;line-height:1.2}
.gd-fe-rrlab b{font-size:13px;color:var(--ink)}
.gd-fe-rrlab small{font-size:11px;color:var(--muted)}
.gd-fe-rtal{display:flex;flex-wrap:wrap;gap:6px}
.gd-fe-rt{display:inline-flex;align-items:center;gap:7px;padding:3px 10px 3px 3px;border-radius:8px;border:1px solid color-mix(in srgb,var(--ac) 30%,#222);background:color-mix(in srgb,var(--ac) 6%,#0d0d0f);min-width:0}
.gd-fe-rt img.sm{width:28px;height:28px;border-radius:6px;border:1px solid #000}
.gd-fe-rt>span{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.gd-fe-rt b{font-size:12.5px;color:var(--ink)}
.gd-fe-rt small{font-size:11px;color:#8fe36b}
.gd-fe-rt.part small{color:#ffd75e}
.gd-fe-rt .gd-fe-rreq{font-style:normal;font-size:11px;color:var(--muted)}
.gd-fe-rrow.off .gd-fe-rt small{color:var(--muted)}

/* tablets and phones */
@media (max-width:1000px){
  .gd-fe-furor .gd-ctl label{flex-basis:100%;min-width:0}
  .gd-fe-energy .gd-reset,.gd-fe-bear .gd-reset{margin-left:0}
  .gd-fe-fctl .gd-fe-via{margin-left:0}
}
@media (min-width:761px) and (max-width:1000px){
  .gd-fe-bfield{grid-template-columns:auto minmax(0,1fr)}
  .gd-fe-pack{grid-column:1/-1;justify-content:space-around}
  .gd-fe-byou{justify-self:start}
}
@media (max-width:760px){
  .gd-fe-rrow{grid-template-columns:1fr;gap:4px}
  .gd-fe-tally small{font-size:10.5px}
  .gd-fe-fctl .gd-fe-via{margin-left:0}
  .gd-fe-helm{margin-left:0}
  .gd-fe-furor .gd-ctl label,.gd-fe-inst .gd-ctl label{flex-basis:100%;min-width:0}
  .gd-fe-etwin .gd-big,.gd-fe-ftwin .gd-big,.gd-fe-itwin .gd-big,.gd-fe-ttwin .gd-big{font-size:26px}
}
@media (max-width:640px){
  .gd-fe-token{width:60px;height:60px}
  .gd-fe-fig{height:96px}
  .gd-fe-stage .gd-caster{min-width:72px}
  .gd-fe-stage .gd-target{width:88px}.gd-fe-stage .gd-dummyfig{height:104px}
  .gd-fe-pop b{font-size:18px}
  .gd-fe-fb,.gd-fe-rb{grid-template-columns:52px minmax(0,1fr) 40px;gap:7px}
  .gd-fe-fnum,.gd-fe-rnum,.gd-fe-ib b{font-size:17px}
  .gd-fe-ib{grid-template-columns:78px minmax(0,1fr) 52px;gap:7px}
  .gd-fe-field{min-height:170px}
  .gd-fe-mid{width:92px}.gd-fe-mid .gd-dummyfig{height:112px}
  .gd-fe-spot i{width:64px;height:12px}.gd-fe-spot{font-size:10px}
  .gd-fe-cat .gd-fe-token{width:50px;height:50px}.gd-fe-cat .gd-fe-fig{height:70px}
  .gd-fe-faces{font-size:14px;top:-20px}
  .gd-fe-bfield{grid-template-columns:auto minmax(0,1fr);gap:8px 10px}
  .gd-fe-pack{grid-column:1/-1;justify-content:space-around}
  .gd-fe-ward{width:72px}.gd-fe-port{width:48px;height:48px}
  .gd-fe-byou{justify-self:start}
  .gd-fe-foefig{height:88px}
  .gd-fe-act{padding-right:9px;font-size:12px}
  .gd-fe-act img.sm{width:28px;height:28px}
  .gd-fe-rread .gd-chalk{font-size:26px}
  .gd-fe-energy .gd-reset,.gd-fe-open .gd-reset,.gd-fe-bear .gd-reset{margin-left:0}
}
@media (max-width:760px),(pointer:coarse){
  .gd-fe-speed button,.gd-fe-era button,.gd-fe-via button,.gd-fe-pts button,.gd-fe-helm,.gd-fe-energy .gd-cast,.gd-fe-open .gd-cast{min-height:44px}
  .gd-fe-energy .gd-reset,.gd-fe-open .gd-reset,.gd-fe-bear .gd-reset{min-height:44px;min-width:44px}
  .gd-ch[data-tree="feral"] .gd-rankpick button{min-width:40px;min-height:40px}
}
@media (prefers-reduced-motion:reduce){
  .gd-fe-ftrack i,.gd-fe-rtrack i,.gd-fe-itrack i,.gd-fe-cat,.gd-fe-cat .gd-fe-token,.gd-fe-cat .gd-fe-fig,.gd-fe-on,.gd-fe-crbar,.gd-fe-rrow,.gd-fe-port,.gd-fe-speed button,.gd-fe-era button,.gd-fe-via button,.gd-fe-pts button{transition:none}
  .gd-fe-mid.struck .gd-dummyfig{animation:none}
}

/* ---- Chapter 6, Your forms and your gear (guides/druid/forms.js, forms.widgets.js). The chapter's accent is the page gold, no tree;
   the eras keep the page's colours (Classic grey, Forever gold), Blizzard's word wears a blue tag, a fix green, the cap red. Every
   class here is .gd-fo-*; the plates, twins, chalk, rank picks, the stage's backdrop and the take are page.css's own. ---- */
#forms{--ac:#ffd75e;--fo-moon:#8fb8ff}
#forms .gd-take ul{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}

/* whose word a line is */
.gd-fo-tag{display:inline-block;flex:none;padding:1px 7px;border-radius:4px;border:1px solid #4a4a4a;background:#17171a;font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;line-height:1.5;white-space:nowrap;color:#cfcfcf}
.gd-fo-tag.blizzard{border-color:#35568f;background:rgba(70,120,220,.14);color:#a9c8ff}
.gd-fo-tag.tooltip{border-color:#8a6d16;background:rgba(255,209,0,.08);color:#ffd75e}
.gd-fo-tag.fix{border-color:#2f6b3a;background:rgba(80,200,80,.1);color:#9be59b}
.gd-fo-tag.cap,.gd-fo-tag.not{border-color:#8a4040;background:rgba(200,80,80,.1);color:#f0a0a0}
.gd-fo-tag.quest,.gd-fo-tag.atcap{border-color:#6a5a3a;background:#2a2118;color:#e8cf9a}
.gd-fo-tag.look.own{border-color:#2c6f73;background:rgba(80,200,210,.1);color:#8fe3ea}
.gd-fo-tag.look.new{border-color:#2f6b3a;background:rgba(80,200,80,.1);color:#9be59b}
.gd-fo-tag.look.reworked{border-color:#5d4a8a;background:rgba(160,120,255,.1);color:#c9b3ff}
.gd-fo-tag.look.shared{border-color:#35568f;background:rgba(70,120,220,.14);color:#a9c8ff}
.gd-fo-stamp{display:inline-block;padding:1px 7px;border:1.5px solid #c86464;border-radius:4px;background:rgba(40,10,10,.5);font-style:normal;font-size:9.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;color:#e08a8a;transform:rotate(-3deg)}
.gd-fo-pill{display:inline-block;margin-left:8px;padding:2px 7px;border-radius:4px;font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle;white-space:nowrap;background:#3a3a3e;color:#ddd}
.gd-fo-pill.chg{background:#ffd75e;color:#1a1408}
.gd-fo-pill.new{background:#7ee787;color:#0c1408}

/* the forms: six buttons, the figure on the left, the form's card on the right */
.gd-fo-bar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.gd-fo-fbtn{display:flex;align-items:center;gap:8px;min-width:0;min-height:48px;padding:6px 8px;border:1px solid #3a3a3a;border-radius:10px;background:#0b0b0d;font:inherit;color:var(--ink2);text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .2s,background .2s}
.gd-fo-fbtn img.sm{flex:none;width:34px;height:34px;border-radius:8px;border:1px solid #000}
.gd-fo-fbtn>span{min-width:0}
.gd-fo-fbtn b{display:block;font-size:13.5px;line-height:1.2;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-fo-fbtn small{display:block;font-size:11px;line-height:1.3;color:var(--muted);white-space:nowrap}
.gd-fo-fbtn:hover{border-color:#6a6a6a}
.gd-fo-fbtn.past{border-style:dashed}
.gd-fo-fbtn.past small{color:#e08a8a}
.gd-fo-fbtn[aria-pressed="true"]{border-color:#ffd75e;border-style:solid;background:rgba(255,209,0,.07);box-shadow:0 0 14px rgba(255,209,0,.28)}
.gd-fo-fbtn[aria-pressed="true"] b{color:#ffd75e}
.gd-fo-fbtn:focus-visible,.gd-fo-rbtn:focus-visible,.gd-fo-tile:focus-visible,.gd-fo-mrow:focus-visible,.gd-fo-presets button:focus-visible,.gd-fo-seg button:focus-visible,#forms .gd-rankpick button:focus-visible,#forms .gd-cast:focus-visible{outline:2px solid #ffd75e;outline-offset:2px}
.gd-fo-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:16px;margin-top:12px;align-items:start}
.gd-fo-left{min-width:0}
.gd-fo-wrap{min-height:0}
.gd-fo-stage{position:relative;z-index:2;padding:12px 12px 10px;background:radial-gradient(80% 62% at 50% 96%,rgba(143,184,255,.26),rgba(143,184,255,0) 70%),radial-gradient(60% 40% at 78% 4%,rgba(210,225,255,.12),rgba(210,225,255,0) 70%)}
.gd-fo-figbox{display:grid;place-items:center;grid-template:minmax(0,1fr)/minmax(0,1fr);height:300px}
.gd-fo-fig{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain;filter:drop-shadow(0 12px 14px rgba(0,0,0,.65))}
.gd-fo-fig[hidden],.gd-fo-token[hidden]{display:none}
.gd-fo-token{display:block;width:148px;height:148px;border-radius:50%;overflow:hidden;border:3px solid #b8901f;background:#000;box-shadow:0 0 0 4px #0b0b0d,0 10px 26px rgba(0,0,0,.6),0 0 30px rgba(255,209,0,.25)}
.gd-fo-token img{display:block;width:100%;height:100%;object-fit:cover;border:0;border-radius:0}
.gd-fo-token.sm{width:84px;height:84px;border-width:2px}
.gd-fo-figname{display:flex;align-items:baseline;gap:10px;margin:6px 0 0}
.gd-fo-figname b{font-family:Cinzel,Georgia,serif;font-size:19px;color:#ffd75e;text-shadow:0 2px 8px #000}
.gd-fo-figname span{font-size:12.5px;color:var(--ink2)}
.gd-fo-stage>.gd-fo-stamp{position:absolute;top:12px;right:12px;font-size:11px;display:none}
.gd-fo-stage.past>.gd-fo-stamp{display:inline-block}
.gd-fo-stage.shift .gd-fo-fig,.gd-fo-stage.shift .gd-fo-token{animation:foShift .42s cubic-bezier(.2,.7,.2,1)}
@keyframes foShift{0%{opacity:0;transform:scale(.86);filter:brightness(2.4) drop-shadow(0 0 22px rgba(160,200,255,.9))}60%{opacity:1}100%{opacity:1;transform:none}}
.gd-fo-races{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px}
.gd-fo-rbtn{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:3px 12px 3px 4px;border:1px solid var(--line);border-radius:999px;background:#111;font:inherit;font-size:13px;font-weight:700;color:var(--ink2);cursor:pointer}
.gd-fo-rbtn img.sm{width:28px;height:28px;border-radius:50%;border:1px solid #000;object-fit:cover}
.gd-fo-rbtn small{margin-left:5px;font-weight:400;font-size:11.5px;color:var(--muted)}
.gd-fo-rbtn[aria-pressed="true"]{border-color:#b8901f;background:rgba(255,209,0,.08);color:#ffd75e}
.gd-fo-look{display:flex;align-items:flex-start;gap:8px;margin:10px 0 0;min-height:2.9em;font-size:13.5px;line-height:1.45;color:var(--ink2)}
.gd-fo-look[hidden]{display:none}
.gd-fo-look .gd-fo-tag{margin-top:1px}
.gd-fo-panels{min-width:0}
.gd-fo-panel[hidden]{display:none}
.gd-fo-phead{display:flex;align-items:flex-start;gap:12px}
.gd-fo-phead>img{flex:none;width:46px;height:46px;border-radius:10px;border:1px solid #000;box-shadow:0 0 12px rgba(255,209,0,.2)}
.gd-fo-phead h4{margin:0;font-size:18px;line-height:1.25;color:var(--ink)}
.gd-fo-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0 0}
.gd-fo-chips>span{padding:2px 9px;border-radius:999px;border:1px solid #3a3a3a;background:#0b0b0d;font-size:12.5px;color:var(--ink2)}
.gd-fo-chips b{color:var(--ink);font-weight:600}
.gd-fo-stats{display:grid;gap:0;margin:12px 0 0;border:1px solid #2e2e33;border-radius:8px;overflow:hidden;background:#0b0b0d}
.gd-fo-stat{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr);gap:2px 10px;align-items:baseline;padding:6px 10px;font-size:13.5px;line-height:1.35;border-top:1px solid rgba(255,255,255,.05)}
.gd-fo-stat.head{border-top:0;padding:5px 10px;background:#141416;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-fo-stat.head span:last-child{color:#ffd75e}
.gd-fo-stat>span:first-child{color:var(--ink2)}
.gd-fo-stat .c{color:#bdbdbd;font-variant-numeric:tabular-nums}
.gd-fo-stat .f{color:#ffd75e;font-variant-numeric:tabular-nums}
.gd-fo-stat.same .f::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-fo-stat.diff{background:rgba(80,200,80,.06)}
.gd-fo-stat.diff .f{color:#9be59b;font-weight:600}
.gd-fo-stat.warn .f{color:#e8cf9a}
.gd-fo-stat em{grid-column:1/-1;font-style:normal;font-size:12.5px;color:#e8cf9a}
.gd-fo-notes{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}
.gd-fo-notes li{display:grid;grid-template-columns:122px minmax(0,1fr);gap:10px;align-items:start;font-size:14px;line-height:1.45;color:var(--ink2)}
.gd-fo-notes li .gd-fo-tag{justify-self:start;margin-top:2px}
.gd-fo-notes b{color:var(--ink);font-weight:600}
.gd-fo-notes a{color:var(--gold)}

/* the weapon rule: a slider, two named weapons, then a row a form with a block a swing */
.gd-fo-wctl{margin-top:0}
.gd-fo-presets{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px}
.gd-fo-presets button{display:inline-flex;align-items:baseline;gap:8px;min-height:36px;padding:5px 12px;border:1px solid var(--line);border-radius:999px;background:#111;font:inherit;font-size:13px;font-weight:700;color:var(--ink2);cursor:pointer}
.gd-fo-presets button small{font-weight:400;font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.gd-fo-presets button[aria-pressed="true"]{border-color:#b8901f;background:rgba(255,209,0,.08);color:#ffd75e}
.gd-fo-wkey{margin-top:14px}
.gd-fo-swings{display:grid;gap:12px;margin-top:10px}
.gd-fo-srow{display:grid;grid-template-columns:32px 176px minmax(0,1fr) 78px;align-items:end;gap:10px}
.gd-fo-srow>img.sm{width:32px;height:32px;border-radius:7px;border:1px solid #000}
.gd-fo-srow>b{font-size:14px;line-height:1.2;font-weight:600;color:var(--ink)}
.gd-fo-srow>b small{display:block;font-weight:400;font-size:11.5px;color:var(--muted)}
.gd-fo-srow.past>b small{color:#e08a8a}
.gd-fo-track{position:relative;height:66px;border-bottom:1px solid #5a5a5a;background:repeating-linear-gradient(to right,rgba(255,255,255,.09) 0 1px,transparent 1px 20%)}
.gd-fo-blk{position:absolute;left:var(--x);bottom:0;width:calc(var(--w) - 3px);height:var(--h);min-height:20px;display:grid;place-items:center;border-radius:3px 3px 0 0;background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px);box-shadow:0 0 10px rgba(255,209,0,.18);transition:opacity .12s,filter .12s}
.gd-fo-blk em{padding:0 3px;border-radius:3px;background:rgba(11,11,13,.82);font-style:normal;font-size:12px;font-weight:700;line-height:1.35;font-variant-numeric:tabular-nums;color:#ffd75e}
.gd-fo-blk.wait{opacity:.2;filter:grayscale(1)}
.gd-fo-playhead{display:none;position:absolute;top:-4px;bottom:-4px;left:var(--ph,0%);width:2px;margin-left:-1px;background:#fff;box-shadow:0 0 8px rgba(255,255,255,.7)}
.gd-fo-weapon.playing .gd-fo-playhead{display:block}
.gd-fo-sum{text-align:right}
.gd-fo-sum b{display:block;font-family:Cinzel,Georgia,serif;font-size:20px;line-height:1.1;color:#ffd75e;font-variant-numeric:tabular-nums}
.gd-fo-sum small{display:block;font-size:11px;color:var(--muted)}
.gd-fo-wgo{flex-wrap:wrap;gap:8px 14px;margin-top:14px}
#forms .gd-loopctl .gd-cast{margin-left:0;min-height:38px;font-size:13px;border-color:#b8901f;background:rgba(255,209,0,.1);color:#ffd75e}
.gd-fo-wread{flex:1 1 240px;min-height:2.9em;font-size:13.5px;line-height:1.45;color:var(--ink2)}
.gd-fo-wtwin .gd-fo-eq{grid-column:1/-1;justify-self:center;font-size:22px}
.gd-fo-bq{margin:16px 0 0;padding:10px 14px 10px 16px;border-left:3px solid #6f9fe8;background:rgba(70,120,220,.07);border-radius:0 8px 8px 0}
.gd-fo-bq p{margin:0;font-size:14.5px;line-height:1.5;color:var(--ink);font-style:italic}
.gd-fo-bq p::before{content:"\201C"}.gd-fo-bq p::after{content:"\201D"}
.gd-fo-bq footer{margin-top:5px;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:#a9c8ff}

/* what works in form: tiles, and the pressed one's line under its own group */
.gd-fo-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:8px}
.gd-fo-tile{display:grid;grid-template-rows:auto 1fr auto;justify-items:start;gap:6px;min-width:0;padding:10px;border:1px solid #3a3a3a;border-radius:10px;background:#0b0b0d;font:inherit;color:var(--ink2);text-align:left;cursor:pointer;transition:border-color .2s,background .2s}
.gd-fo-tile:hover{border-color:#6a6a6a}
.gd-fo-tile.not{border-style:dashed}
.gd-fo-ticons{display:flex;gap:4px}
.gd-fo-ticons img.sm{width:30px;height:30px;border-radius:7px;border:1px solid #000}
.gd-fo-tile.not .gd-fo-ticons img.sm{filter:grayscale(.7)}
.gd-fo-tile b{font-size:13.5px;line-height:1.25;color:var(--ink)}
.gd-fo-tile[aria-pressed="true"]{border-color:#ffd75e;border-style:solid;background:rgba(255,209,0,.06)}
.gd-fo-tile[aria-pressed="true"] b{color:#ffd75e}
.gd-fo-read{display:flex;align-items:flex-start;gap:12px;margin:10px 0 0;padding:12px 14px;min-height:5.2em;border-radius:0 8px 8px 0;border-left:3px solid #ffd75e;background:rgba(255,209,0,.05)}
.gd-fo-ricons{display:flex;flex:none;gap:4px}
.gd-fo-ricons img.sm{width:36px;height:36px;border-radius:8px;border:1px solid #000}
.gd-fo-rhead{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0}
.gd-fo-rhead b{font-size:15px;color:var(--ink)}
.gd-fo-rline,.gd-fo-rmore{margin:4px 0 0;font-size:14.5px;line-height:1.5;color:var(--ink)}
.gd-fo-rmore{color:var(--ink2);font-size:13.5px}
.gd-fo-rmore[hidden]{display:none}
.gd-fo-fixlabel{margin-top:18px}
.gd-fo-keep .gd-eralabel{margin-bottom:8px}

/* Barkskin: its two cards, one cast timed with it up, the two costs */
.gd-fo-lines{row-gap:2px}
.gd-fo-lines del{color:#f0a0a0;text-decoration:line-through;text-decoration-color:rgba(240,120,120,.7)}
.gd-fo-lines ins{color:#9be59b;text-decoration:none;background:rgba(80,200,80,.12);border-radius:2px;padding:0 2px}
.gd-plate.forever .gd-fo-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-fo-bark .gd-plates{gap:16px}
.gd-fo-race{margin-top:16px;padding:12px 14px;border:1px solid #333;border-radius:8px;background:#0b0b0d}
.gd-fo-race .gd-eralabel{display:flex;align-items:center;gap:8px;margin-bottom:10px;letter-spacing:.08em}
.gd-fo-race .gd-eralabel img.sm{width:22px;height:22px;border-radius:5px;border:1px solid #000}
.gd-fo-cbar{display:grid;grid-template-columns:68px minmax(0,1fr) 62px;align-items:center;gap:10px;margin-top:6px;font-size:13px;color:var(--ink2)}
.gd-fo-cbar>div{height:16px;border:1px solid #3a3a3a;border-radius:3px;background:#141414;overflow:hidden}
.gd-fo-cbar i{display:block;height:100%;background:repeating-linear-gradient(115deg,#8f8f8f 0 3px,#5c5c5c 3px 6px)}
.gd-fo-cbar.forever i{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-fo-cbar b{text-align:right;font-variant-numeric:tabular-nums;color:#bdbdbd}
.gd-fo-cbar.forever>span,.gd-fo-cbar.forever b{color:#ffd75e}
.gd-fo-cbar.done.forever>div{box-shadow:0 0 10px rgba(255,209,0,.35)}
.gd-fo-race .gd-loopctl{margin-top:12px}
.gd-fo-bchalk{margin-left:14px;font-size:22px;color:#8fe36b;opacity:0;transition:opacity .3s}
.gd-fo-race.ran .gd-fo-bchalk{opacity:1}
.gd-fo-said{display:flex;align-items:center;gap:10px;margin:14px 0 0;padding:9px 11px;border-radius:8px;border:1px solid #333;border-left:2px solid var(--fo-moon);background:rgba(11,11,13,.9);font-size:14px;line-height:1.45;color:var(--ink)}
.gd-fo-said img.sm{flex:none;width:28px;height:28px;border-radius:6px;border:1px solid #000}

/* Mark of the Wild: Classic's talent, a row a rank, then the pressed rank's numbers */
.gd-fo-mctl{margin-top:0}
.gd-fo-mctl .gd-ctl-note{display:inline-flex;align-items:center;gap:8px}
.gd-fo-mctl .gd-ctl-note img.sm{width:26px;height:26px;border-radius:6px;border:1px solid #000;filter:grayscale(.5)}
.gd-fo-mpick{margin-left:0}
.gd-fo-mrows{display:grid;gap:3px;margin-top:6px}
.gd-fo-mrow{display:grid;grid-template-columns:30px 132px 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-fo-mrow:hover{border-color:#3a3a3a;background:rgba(255,255,255,.03)}
.gd-fo-mrow[aria-pressed="true"]{border-color:#b8901f;background:rgba(255,209,0,.04)}
.gd-fo-mrow img.sm{width:30px;height:30px;border-radius:7px;border:1px solid #000}
.gd-fo-mrow>b{font-size:14px;line-height:1.2;font-weight:600}
.gd-fo-mrow>b small{display:block;font-weight:400;font-size:11.5px;color:var(--muted)}
.gd-fo-mrow.past:not([aria-pressed="true"]){opacity:.72}
.gd-fo-mrow .gd-chalk{font-size:21px;text-align:right;color:#8fe36b}
.gd-fo-mrow .gd-chalk.even{color:#ffd75e}
.gd-fo-mbars{display:grid;gap:3px;min-width:0}
.gd-fo-mbars>div{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px}
.gd-fo-mbars .bar{display:flex;height:11px;min-width:0}
.gd-fo-mbars .bar i{display:block;height:100%;width:0;border-radius:2px;background:repeating-linear-gradient(115deg,#8f8f8f 0 3px,#5c5c5c 3px 6px);transition:width .6s cubic-bezier(.2,.7,.2,1)}
.gd-fo-mbars .bar i.tail{border-radius:0 2px 2px 0;background:repeating-linear-gradient(115deg,#f2f2f2 0 3px,#a8a8a8 3px 6px)}
.gd-fo-mbars .forever .bar i{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-fo-mark.drawn .gd-fo-mbars .classic .bar i{width:var(--c)}
.gd-fo-mark.drawn .gd-fo-mbars .classic .bar i.tail{width:var(--t)}
.gd-fo-mark.drawn .gd-fo-mbars .forever .bar i{width:var(--f)}
.gd-fo-mbars .v{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted);text-align:right;white-space:nowrap}
.gd-fo-mbars .forever .v{color:#ffd75e}
.gd-fo-mdetail{margin-top:12px;padding:12px 14px;border:1px solid #8a6d16;border-radius:10px;background:#0b0b0d}
.gd-fo-mtitle{display:flex;align-items:center;gap:8px;margin:0}
.gd-fo-mtitle img{width:26px;height:26px;border-radius:6px;border:1px solid #000}
.gd-fo-mtitle b{font-size:15px;color:var(--ink)}
.gd-fo-mtitle small{font-size:12.5px;color:var(--muted)}
.gd-fo-mstats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.gd-fo-mstat{display:grid;grid-template-columns:auto auto auto;justify-content:start;align-items:baseline;gap:2px 8px;padding:8px 10px;border-radius:8px;background:#141416}
.gd-fo-mstat[hidden]{display:none}
.gd-fo-mstat small{grid-column:1/-1;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#9a9a9a}
.gd-fo-mstat .c{font-size:15px;color:#bdbdbd;font-variant-numeric:tabular-nums;white-space:nowrap}
.gd-fo-mstat .f{font-family:Cinzel,Georgia,serif;font-weight:700;font-size:22px;line-height:1.1;color:#ffd75e;font-variant-numeric:tabular-nums;white-space:nowrap}
.gd-fo-mstat.dur .f{font-size:18px}
.gd-fo-mstat.even .c{color:#ffd75e}
.gd-fo-arr{align-self:center;width:14px;height:8px;background:linear-gradient(#8a8a8a,#8a8a8a) left center/9px 2px no-repeat;position:relative}
.gd-fo-arr::after{content:"";position:absolute;right:0;top:50%;width:6px;height:6px;border-top:2px solid #8a8a8a;border-right:2px solid #8a8a8a;transform:translateY(-50%) rotate(45deg);box-sizing:border-box}
.gd-fo-mread{margin:10px 0 0;min-height:1.5em;font-size:14px;line-height:1.5;color:var(--ink2)}

/* Revive beside Rebirth: when, your level, two cards */
.gd-fo-revctl{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}
.gd-fo-seg{display:inline-flex;padding:3px;border-radius:999px;background:#0b0b0d;border:1px solid var(--line)}
.gd-fo-seg button{min-height:34px;padding:4px 16px;border:0;border-radius:999px;background:none;font:inherit;font-size:13.5px;font-weight:700;color:var(--ink2);cursor:pointer}
.gd-fo-seg button[aria-pressed="true"]{background:#3a2f0c;color:#ffd75e;box-shadow:inset 0 0 0 1px #b8901f}
.gd-fo-seg button[data-when="fight"][aria-pressed="true"]{background:#5a1712;color:#ffd2c8;box-shadow:inset 0 0 0 1px #b8322a}
.gd-fo-lv{display:inline-flex;align-items:center;gap:4px}
.gd-fo-lvpick button{width:34px;height:34px}
.gd-fo-rcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.gd-fo-rcard{position:relative;padding:12px 14px;border:1px solid #3a3a3a;border-radius:10px;background:linear-gradient(180deg,#151517,#0b0b0d);transition:opacity .3s,border-color .3s,box-shadow .3s}
.gd-fo-rcard.on{border-color:#ffd75e;box-shadow:0 0 18px rgba(255,209,0,.2)}
.gd-fo-rcard.off{opacity:.55}
.gd-fo-rcard.off .gd-fo-rchead img{filter:grayscale(1)}
.gd-fo-rchead{display:flex;align-items:center;gap:10px;margin:0 0 8px}
.gd-fo-rchead img{flex:none;width:40px;height:40px;border-radius:9px;border:1px solid #000}
.gd-fo-rchead>span{min-width:0;flex:1}
.gd-fo-rchead b{display:block;font-size:16px;color:var(--ink)}
.gd-fo-rchead small{display:block;font-size:12px;color:var(--muted)}
.gd-fo-rchead .gd-fo-pill{margin-left:0;align-self:flex-start}
.gd-fo-rl{display:grid;grid-template-columns:minmax(0,150px) minmax(0,1fr);gap:8px;margin:0;padding:4px 0;border-top:1px solid rgba(255,255,255,.05);font-size:13.5px;line-height:1.4}
.gd-fo-rl[hidden]{display:none}
.gd-fo-rl small{font-size:12.5px;color:var(--muted)}
.gd-fo-rl b{font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.gd-fo-rstate{margin:10px 0 0;min-height:1.3em;font-size:11.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#9a9a9a}
.gd-fo-rcard.on .gd-fo-rstate{color:#ffd75e}
.gd-fo-rev[data-when="fight"] .gd-fo-rcard.revive .gd-fo-rstate{color:#f08080}
.gd-fo-rrule{margin:4px 0 0;font-size:13px;font-style:italic;color:var(--ink2)}
.gd-fo-rev[data-when="fight"] .gd-fo-rrule{color:#f0a0a0}
.gd-fo-rread{margin:12px 0 0;min-height:3em;font-size:14px;line-height:1.5;color:var(--ink2)}

/* how the Skyborne forms look: her four forms, then Blizzard's three dated lines */
.gd-fo-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.gd-fo-thumb{margin:0;padding:10px 8px 8px;border:1px solid #2e2e33;border-radius:10px;background:radial-gradient(80% 60% at 50% 78%,rgba(143,184,255,.2),rgba(143,184,255,0) 70%) #0b0b0d;text-align:center}
.gd-fo-thumb img{display:block;width:100%;height:120px;object-fit:contain;filter:drop-shadow(0 8px 10px rgba(0,0,0,.6))}
.gd-fo-thumb .gd-fo-token{margin:18px auto}
.gd-fo-thumb figcaption{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 8px;margin-top:8px}
.gd-fo-thumb figcaption b{font-size:13.5px;color:var(--ink)}
.gd-fo-line{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:0}
.gd-fo-line li{position:relative;display:grid;grid-template-columns:96px minmax(0,1fr);gap:34px;padding:0 0 16px}
.gd-fo-line li:last-child{padding-bottom:0}
.gd-fo-line li::before{content:"";position:absolute;left:112px;top:8px;bottom:-8px;width:2px;background:#35568f}
.gd-fo-line li:last-child::before{display:none}
.gd-fo-line li::after{content:"";position:absolute;left:107px;top:5px;width:12px;height:12px;border-radius:50%;background:#0e0e10;border:2px solid #a9c8ff;box-sizing:border-box}
.gd-fo-when{font-family:Cinzel,Georgia,serif;font-weight:700;font-size:15px;line-height:1.45;color:#ffd75e;text-align:right;white-space:nowrap}
.gd-fo-line li>div{min-width:0}
.gd-fo-line b{display:block;font-size:15px;line-height:1.45;color:var(--ink)}
.gd-fo-line p{margin:3px 0 0;font-size:14px;line-height:1.5;color:var(--ink2)}

@media (max-width:1000px){
  .gd-fo-fbtn{flex-direction:column;justify-content:center;gap:4px;padding:8px 4px;text-align:center}
}
@media (max-width:900px){
  .gd-fo-main{grid-template-columns:1fr}
  .gd-fo-figbox{height:260px}
}
@media (max-width:760px){
  .gd-fo-bar{grid-template-columns:repeat(3,minmax(0,1fr))}
  .gd-fo-figbox{height:210px}
  .gd-fo-token{width:120px;height:120px}
  .gd-fo-rbtn{min-height:44px}
  .gd-fo-stat{padding:6px 8px;gap:2px 8px;font-size:13px}
  .gd-fo-notes li{grid-template-columns:1fr;gap:3px}
  .gd-fo-presets button,.gd-fo-seg button{min-height:44px}
  .gd-fo-srow{grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:6px 10px}
  .gd-fo-srow .gd-fo-track{grid-column:1/-1;grid-row:2}
  .gd-fo-sum{display:flex;align-items:baseline;gap:6px}
  .gd-fo-sum b{font-size:18px}
  #forms .gd-loopctl .gd-cast{min-height:44px}
  .gd-fo-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gd-fo-read{padding:10px 12px;gap:10px}
  .gd-fo-ricons{flex-direction:column}
  .gd-fo-ricons img.sm{width:30px;height:30px}
  .gd-fo-cbar{grid-template-columns:58px minmax(0,1fr) 56px;gap:8px}
  .gd-fo-race .gd-loopctl{flex-wrap:wrap}
  .gd-fo-bchalk{margin-left:4px}
  .gd-fo-mrow{grid-template-columns:30px minmax(0,1fr) 60px;gap:4px 8px;padding:6px}
  .gd-fo-mrow .gd-fo-mbars{grid-column:1/-1;grid-row:2}
  .gd-fo-mrow .gd-chalk{font-size:18px}
  .gd-fo-mpick button,.gd-fo-lvpick button{width:40px;height:40px}
  .gd-fo-mstats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gd-fo-mstat.dur{grid-column:1/-1}
  .gd-fo-bark .gd-twin .gd-big{font-size:22px}
  .gd-fo-rcards{grid-template-columns:1fr}
  .gd-fo-rl{grid-template-columns:minmax(0,130px) minmax(0,1fr)}
  .gd-fo-thumbs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gd-fo-line li{grid-template-columns:1fr;gap:2px;padding-left:22px}
  .gd-fo-line li::before{left:5px}
  .gd-fo-line li::after{left:0}
  .gd-fo-when{text-align:left}
  .gd-fo-line li>div{padding-left:0}
}
@media (prefers-reduced-motion:reduce){
  .gd-fo-fbtn,.gd-fo-tile,.gd-fo-blk,.gd-fo-mbars .bar i,.gd-fo-rcard,.gd-fo-bchalk{transition:none}
  .gd-fo-stage.shift .gd-fo-fig,.gd-fo-stage.shift .gd-fo-token{animation:none}
}

/* ---- Restoration, chapter 5 of the Druid's page (guides/druid/restoration.js, restoration.widgets.js). The tree's green is --ac
   (#62d9b8, set by druid.css from data-tree); a heal is the game's own green, Mana its blue, Classic grey and Forever gold as on every
   chapter. Plates, twins, chalk, fine print and the yard's frame are page.css's own; every class here is .gd-re-*. Motion is transform,
   opacity and width only, none under reduced motion. ---- */
.gd-ch[data-tree="restoration"]{--heal:#57e389;--hurt:#ff7a66;--mana:#4f9dff}

/* shared in the chapter: figures in a ring until a render lands, unit frames, cast buttons with a cooldown sweep, segmented switches */
.gd-re-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-re-tok img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.gd-re-metok{border-color:color-mix(in srgb,var(--ac) 85%,#fff)}
.gd-re-port{flex:none;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-re-port img{display:block;width:100%;height:100%;object-fit:cover}
/* his render is the whole Keeper: the frame shows his face, which sits at about 31% across and 52% down the render's top square */
.gd-re-remport img{object-position:50% 0;transform-origin:0 0;transform:scale(2.4) translate(-10.2%,-31.2%)}
.gd-re-hbar{position:relative;display:block;height:14px;border-radius:3px;background:#070707;border:1px solid #2f2f2f;overflow:hidden}
.gd-re-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-ch[data-tree="restoration"] .gd-stagewrap{border-color:color-mix(in srgb,var(--ac) 26%,#333);background:radial-gradient(70% 60% at 70% 100%,rgba(98,217,184,.13),transparent 70%),linear-gradient(180deg,#081014 0%,#0f1d22 45%,#132528 62%,#0a0d0f 100%)}
.gd-ch[data-tree="restoration"] .gd-cap{min-height:3.2em}
.gd-ch[data-tree="restoration"] .gd-ctl-note{display:inline-flex;align-items:center;gap:6px}
.gd-ch[data-tree="restoration"] .gd-ctl-note img.sm{width:22px;height:22px;border-radius:5px;border:1px solid #000}
.gd-ch[data-tree="restoration"] .gd-rankpick{margin-left:0;flex-wrap:wrap}
.gd-re-ctl{flex-wrap:wrap;gap:8px 10px}
.gd-re-ctl .gd-cast,.gd-re-ctl .gd-reset{margin-left:0}
.gd-re-btn{position:relative;min-height:42px;overflow:hidden}
.gd-cast.gd-re-btn{padding:5px 14px 5px 7px;font-size:13.5px;gap:8px}
.gd-cast.gd-re-btn img.sm{position:relative;z-index:1;width:28px;height:28px;border-radius:6px}
.gd-cast.gd-re-btn>span{position:relative;z-index:1;display:flex;flex-direction:column;line-height:1.15;text-align:left}
.gd-cast.gd-re-btn small{font-weight:400;font-size:11.5px;color:var(--muted)}
.gd-re-btn:disabled,.gd-re-btn[aria-disabled="true"]{opacity:.55}
.gd-re-btn[aria-disabled="true"] img.sm{filter:grayscale(.8)}
.gd-re-btn.cool img.sm{filter:grayscale(.7) brightness(.7)}
.gd-re-sweep{position:absolute;inset:0;z-index:0;background:rgba(0,0,0,.7);transform:scaleX(0);transform-origin:0 50%;pointer-events:none;border-radius:inherit}
.gd-reset.gd-re-btn{min-height:40px;padding:5px 14px}
.gd-re-at30{font-size:12px;color:var(--muted);white-space:nowrap;padding:2px 8px;border:1px dashed #4a4a4a;border-radius:999px}
.gd-re-rankrow{gap:8px 12px;margin-top:10px}
.gd-re-era,.gd-re-pts{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:#111}
.gd-re-era button,.gd-re-pts button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:5px 14px;border:0;border-radius:0;background:none;font:inherit;font-size:12.5px;font-weight:700;color:var(--ink2);cursor:pointer;transition:background .25s,color .25s}
.gd-re-era button[aria-pressed="true"][data-era="classic"]{background:#9a9a9a;color:#111}
.gd-re-era button[aria-pressed="true"][data-era="forever"]{background:#ffd75e;color:#1a1408}
.gd-re-pts button small{font-weight:400;font-size:11px;color:var(--muted)}
.gd-re-pts button[aria-pressed="true"]{background:var(--ac);color:#06221a}
.gd-re-pts button[aria-pressed="true"] small{color:#0e4435}
.gd-re-chg{color:#9be59b;font-weight:700}
.gd-plate.classic .gd-re-chg{color:#f0a0a0}
.gd-re-keynote{color:var(--ink2)}

/* ==== 1. Rejuvenation into Swiftmend: the yard, and Remulos's frame twice ==== */
.gd-re-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,1fr);gap:12px;align-items:stretch}
.gd-re-grid>.gd-stagewrap{min-height:0}
.gd-re-stage{min-height:0;height:100%;box-sizing:border-box;justify-content:space-between}
.gd-re-field{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:22px;padding-bottom:6px;min-width:0}
.gd-re-me,.gd-re-ally{position:relative;flex:none;text-align:center;min-width:84px}
.gd-re-mefig{height:172px;max-width:100%;object-fit:contain}
.gd-re-remfig{height:184px;max-width:100%;object-fit:contain}
.gd-re-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-re-shot{position:absolute;left:0;top:6px;opacity:0;filter:drop-shadow(0 0 8px var(--ac))}
.gd-re-shot img.sm{display:block;width:30px;height:30px;border-radius:50%;border:1px solid color-mix(in srgb,var(--ac) 70%,#fff)}
.gd-re-halo{position:absolute;left:50%;bottom:22px;width:120px;height:120px;margin-left:-60px;border-radius:50%;background:radial-gradient(circle,rgba(87,227,137,.55),rgba(87,227,137,.14) 45%,transparent 68%);opacity:0;transform:scale(.6);pointer-events:none}
.gd-re-halo.lit{animation:gdrehalo .9s ease-out}
@keyframes gdrehalo{0%{opacity:0;transform:scale(.6)}30%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.15)}}
.gd-re-pop,.gd-re-tpop{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-re-ally .gd-re-pop{top:-30px}
.gd-re-pop.red{color:var(--hurt);font-family:Caveat,"Segoe Print",cursive;font-size:24px}
.gd-re-pop.go,.gd-re-tpop.go{animation:gdrefloat 1.6s ease-out forwards}
@keyframes gdrefloat{0%{opacity:0;transform:translate(-50%,8px)}18%{opacity:1;transform:translate(-50%,-4px)}80%{opacity:1;transform:translate(-50%,-16px)}100%{opacity:0;transform:translate(-50%,-22px)}}
.gd-re-shades{position:absolute;right:-6px;top:4px;z-index:2;display:inline-flex;align-items:center;gap:5px;padding:2px 8px 2px 2px;border-radius:999px;background:rgba(40,8,8,.9);border:1px solid #c84646;font-size:11.5px;font-weight:700;color:#ffb4a8;white-space:nowrap}
.gd-re-shades img.sm{width:18px;height:18px;border-radius:50%;border:1px solid #000}
.gd-re-shades b{color:#fff}
.gd-re-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-re-frame{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;min-width:0;padding:8px 10px;border-radius:10px;border:1px solid #3a3a3a;background:linear-gradient(#17171a,#0c0c0e)}
.gd-re-frame.forever{border-color:#8a6d16;background:linear-gradient(#18150f,#0c0b09);box-shadow:inset 0 0 0 1px rgba(255,209,0,.06)}
.gd-re-fbody{min-width:0}
.gd-re-fname{display:flex;align-items:center;gap:7px;margin:0 0 5px;font-size:13px;line-height:1.2;min-width:0;min-height:22px}
.gd-re-fname em{flex:none;font-style:normal;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-re-frame.forever .gd-re-fname em{color:#ffd75e}
.gd-re-fname b{color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-re-buff{position:relative;margin-left:auto;flex:none}
.gd-re-buff[hidden]{display:none}
.gd-re-buff img.sm{display:block;width:22px;height:22px;border-radius:4px;border:1px solid #000;box-shadow:0 0 0 1px var(--ac),0 0 8px color-mix(in srgb,var(--ac) 60%,transparent)}
.gd-re-buff i{position:absolute;left:0;right:0;bottom:-4px;height:2px;background:var(--ac);transform-origin:left}
.gd-re-pips{display:flex;align-items:center;gap:4px;margin:6px 0 3px}
.gd-re-pips i{flex:1 1 0;height:9px;border-radius:2px;border:1px solid #3d3d3d;background:#0a0a0c;transition:background .3s,border-color .3s}
.gd-re-pips i.on{background:linear-gradient(#5fd77a,#2a8a40);border-color:#7ee79a}
.gd-re-pips i.eaten{border-color:#a84a4a;background:repeating-linear-gradient(135deg,rgba(240,120,120,.55) 0 2px,transparent 2px 6px)}
.gd-re-pips b{flex:none;display:block;width:22px;height:22px;margin-left:4px;border-radius:5px;overflow:hidden;border:1px solid #3d3d3d;opacity:.35;filter:grayscale(1);transition:opacity .3s,filter .3s,box-shadow .3s}
.gd-re-pips b img.sm{display:block;width:100%;height:100%}
.gd-re-pips b.on{opacity:1;filter:none;border-color:#ffd75e;box-shadow:0 0 10px rgba(255,215,94,.55)}
.gd-re-fnum{display:flex;align-items:baseline;gap:7px;margin:0;min-width:0}
.gd-re-fnum output{flex:none;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:17px;color:var(--heal);font-variant-numeric:tabular-nums}
.gd-re-fnum small{font-size:11.5px;line-height:1.25;color:var(--muted);min-width:0}
.gd-re-frame.classic .gd-re-fnum output{color:#cfd8cf}
.gd-re-pipkey{display:flex;flex-wrap:wrap;gap:4px 14px;margin:2px 0 0;font-size:11.5px;color:var(--muted)}
.gd-re-pipkey span{display:inline-flex;align-items:center;gap:5px}
.gd-re-pipkey i{width:18px;height:8px;border-radius:2px}
.gd-re-pipkey i.t{background:linear-gradient(#5fd77a,#2a8a40)}
.gd-re-pipkey i.e{border:1px solid #a84a4a;background:repeating-linear-gradient(135deg,rgba(240,120,120,.55) 0 2px,transparent 2px 6px)}
.gd-re-pipkey i.s{width:9px;height:9px;border:1px solid #ffd75e;background:rgba(255,215,94,.3)}
.gd-re-swift .gd-plates{margin-top:14px}
.gd-re-rowtwin .gd-under,.gd-re-mtwin .gd-under,.gd-re-ttwin .gd-under,.gd-re-rtwin .gd-under,.gd-re-wtwin .gd-under{line-height:1.4}
.gd-re-chipline{display:flex;align-items:flex-start;gap:10px;margin:12px 0 0;padding:9px 11px;border-radius:8px;border:1px solid #333;border-left:2px solid var(--ac);background:rgba(11,11,13,.9)}
.gd-re-chipline img.sm{flex:none;width:32px;height:32px;border-radius:7px;border:1px solid #000}
.gd-re-chipline>span{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0}
.gd-re-chipline b{font-size:14px;color:var(--ink)}
.gd-re-chipline small{flex-basis:100%;font-size:13px;line-height:1.45;color:var(--ink2)}

/* ==== 2. Regrowth's cost: one Mana pool, twice ==== */
.gd-re-poolctl{margin-top:0}
.gd-re-poolctl label{flex:0 0 auto}
.gd-re-mbars,.gd-re-hbars,.gd-re-cbars,.gd-re-rbars{display:grid;gap:8px;margin-top:10px}
.gd-re-mb{display:grid;grid-template-columns:64px minmax(0,1fr) 62px;align-items:center;gap:10px}
.gd-re-mlab,.gd-re-hlab,.gd-re-clab,.gd-re-rlab{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#9a9a9a}
.gd-re-mb.forever .gd-re-mlab,.gd-re-hb.forever .gd-re-hlab,.gd-re-cb.forever .gd-re-clab,.gd-re-rb.forever .gd-re-rlab{color:#ffd75e}
.gd-re-mtrack{position:relative;height:30px;border-radius:5px;background:#0a0a0c;border:1px solid #3a3a3a;overflow:hidden}
.gd-re-mb.forever .gd-re-mtrack{border-color:#8a6d16}
.gd-re-mtrack>i{position:absolute;inset:0;transform-origin:left;background:linear-gradient(#7fb6ff,#2f6fd0);transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.gd-re-mb.classic .gd-re-mtrack>i{background:linear-gradient(#8fa3bd,#52627a)}
.gd-re-mtrack::after{content:"";position:absolute;inset:0;z-index:1;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(var(--seg) - 3px),rgba(255,255,255,.28) calc(var(--seg) - 3px),rgba(255,255,255,.28) calc(var(--seg) - 2px),#05070a calc(var(--seg) - 2px),#05070a var(--seg));pointer-events:none}
.gd-re-mtrack>em{position:absolute;top:0;bottom:0;right:0;z-index:2;background:repeating-linear-gradient(135deg,rgba(10,10,12,.92) 0 3px,rgba(10,10,12,.55) 3px 6px);border-left:1px dashed rgba(255,255,255,.35)}
.gd-re-mnum{display:flex;flex-direction:column;align-items:flex-end;line-height:1.05}
.gd-re-mnum output{font-family:Cinzel,Georgia,serif;font-size:22px;font-weight:700;color:#e8e8e8;font-variant-numeric:tabular-nums}
.gd-re-mb.forever .gd-re-mnum output{color:#ffd75e}
.gd-re-mnum small{font-size:10.5px;font-weight:400;color:var(--muted)}
.gd-re-mb.dry .gd-re-mlab{color:var(--hurt)}
.gd-re-mana .gd-plates{margin-top:14px}

/* ==== 3. Healing Touch and Rejuvenation by rank ==== */
.gd-re-pick{margin-top:0;gap:8px}
.gd-re-pick button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:4px 14px 4px 5px;border-radius:9px;border:1px solid var(--line);background:#111;font:inherit;font-size:13.5px;font-weight:700;color:var(--ink2);text-align:left;cursor:pointer}
.gd-re-pick button img.sm{width:32px;height:32px;border-radius:6px;border:1px solid #000}
.gd-re-pick button>span{display:flex;flex-direction:column;line-height:1.15}
.gd-re-pick button small{font-weight:400;font-size:11px;color:var(--muted)}
.gd-re-pick button[aria-pressed="true"]{border-color:var(--ac);color:#fff;background:color-mix(in srgb,var(--ac) 12%,#0d0d0f);box-shadow:0 0 12px color-mix(in srgb,var(--ac) 30%,transparent)}
.gd-re-colhead{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px;margin:14px 0 6px;font-size:12.5px;color:var(--muted)}
.gd-re-colhead b{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#9a9a9a}
.gd-re-cols{display:grid;grid-template-columns:repeat(var(--n,11),minmax(0,1fr));gap:4px}
.gd-re-cols button{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:3px;min-width:0;padding:4px 2px 5px;border-radius:7px;border:1px solid #2c2c2c;background:#0b0b0d;font:inherit;color:var(--ink2);cursor:pointer;transition:border-color .2s,background .2s}
.gd-re-cols small{font-size:11px;font-weight:700;line-height:1;text-align:center;color:#f0a0a0;font-variant-numeric:tabular-nums}
.gd-re-cols span{display:flex;align-items:flex-end;height:58px;padding:0 3px}
.gd-re-cols i{display:block;width:100%;border-radius:2px 2px 0 0;background:repeating-linear-gradient(115deg,#f09a8a 0 3px,#b85a4c 3px 6px)}
.gd-re-cols b{font-size:12px;line-height:1;text-align:center;color:var(--ink2);font-variant-numeric:tabular-nums}
.gd-re-cols button[aria-pressed="true"]{border-color:#ffd75e;background:rgba(255,215,94,.08)}
.gd-re-cols button[aria-pressed="true"] b{color:#ffd75e}
.gd-re-cols button.at30::after{content:"";position:absolute;left:50%;bottom:-5px;width:7px;height:7px;margin-left:-4px;border-radius:50%;background:var(--ac);box-shadow:0 0 6px var(--ac)}
.gd-re-ranks .gd-spkey{margin-top:16px}
.gd-re-hb,.gd-re-cb,.gd-re-rb{display:grid;grid-template-columns:64px minmax(0,1fr) 72px;align-items:center;gap:10px}
.gd-re-htrack,.gd-re-ctrack,.gd-re-rtrack{display:flex;height:26px;border-radius:4px;background:#111;border:1px solid #3a3a3a;overflow:hidden}
.gd-re-htrack i,.gd-re-ctrack i,.gd-re-rtrack i{display:block;height:100%;width:0;transition:width .45s cubic-bezier(.2,.7,.2,1)}
.gd-re-hb.classic i,.gd-re-cb.classic i,.gd-re-rb.classic i{background:repeating-linear-gradient(115deg,#8f8f8f 0 3px,#5c5c5c 3px 6px)}
.gd-re-hb.forever i,.gd-re-cb.forever i,.gd-re-rb.forever i{background:repeating-linear-gradient(115deg,#ffe38a 0 3px,#c9a227 3px 6px)}
.gd-re-hnum,.gd-re-cnum,.gd-re-rnum{font-family:Cinzel,Georgia,serif;font-size:19px;font-weight:700;text-align:right;color:#e8e8e8;font-variant-numeric:tabular-nums;white-space:nowrap}
.gd-re-hb.forever .gd-re-hnum,.gd-re-cb.forever .gd-re-cnum,.gd-re-rb.forever .gd-re-rnum{color:#ffd75e}
.gd-re-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-re-read .gd-chalk{flex:none;font-size:30px;color:#ff9d8a}
.gd-re-read .gd-chalk.same{color:#8fe36b}
.gd-re-read>span{flex:1 1 260px;min-width:0}
.gd-re-ranks .gd-plates{margin-top:14px}

/* ==== 4. Wild Growth on a raid of two parties ==== */
.gd-re-whead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;margin:0 0 12px}
.gd-re-wrank,.gd-re-trank{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px}
.gd-re-stamp{display:inline-flex;align-items:center;gap:7px;padding:4px 12px 4px 4px;border-radius:999px;border:1px dashed #b8901f;background:rgba(255,209,0,.06);font-size:12.5px;font-weight:700;color:#ffd75e}
.gd-re-stamp img.sm{flex:none;width:24px;height:24px;border-radius:50%;border:1px solid #000}
.gd-re-raid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
.gd-re-party{display:grid;gap:6px;padding:10px;border-radius:8px;border:1px solid #2c2c2c;background:rgba(8,8,10,.6);min-width:0}
.gd-re-party[data-p="1"]{border-color:color-mix(in srgb,var(--ac) 30%,#2c2c2c)}
.gd-re-party .gd-eralabel{margin:0 0 2px}
.gd-re-pf{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:48px;padding:5px 8px 5px 6px;border-radius:9px;border:1px solid #3d3522;background:linear-gradient(#18150f,#0c0b09);font:inherit;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .3s,box-shadow .3s,opacity .3s}
.gd-re-pf .gd-re-port{width:34px;height:34px}
.gd-re-pf.me .gd-re-port{border-color:color-mix(in srgb,var(--ac) 85%,#fff)}
.gd-re-pbody{display:flex;flex-direction:column;gap:4px;min-width:0}
.gd-re-pbody b{font-size:12.5px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-re-pf .gd-re-hbar{height:10px}
.gd-re-pf output{min-width:44px;font-family:Cinzel,Georgia,serif;font-size:14px;font-weight:700;text-align:right;color:var(--heal);font-variant-numeric:tabular-nums;white-space:nowrap}
.gd-re-pf:hover{border-color:#8a6d16}
.gd-re-pf.got{border-color:color-mix(in srgb,var(--heal) 60%,#3d3522)}
.gd-re-pf.tgt{border-color:#ffd75e;box-shadow:0 0 0 1px #ffd75e,0 0 14px rgba(255,215,94,.35)}
.gd-re-pf.miss{opacity:.6}
.gd-re-pf.miss output{font-family:inherit;font-size:11px;font-weight:700;color:var(--hurt)}
.gd-re-pf.far{border-style:dashed}
.gd-re-fartag{position:absolute;right:8px;top:-8px;padding:0 7px;border-radius:999px;background:#201010;border:1px solid #c84646;font-style:normal;font-size:10px;font-weight:700;line-height:1.5;color:#ffb4a8;white-space:nowrap}
.gd-re-fartag[hidden]{display:none}
.gd-re-b-far[aria-pressed="true"]{border-color:#c84646!important;background:rgba(200,70,70,.14)!important;color:#ffd0c8!important}
.gd-re-cdnote{font-size:12px;color:var(--muted)}
.gd-re-shapebox{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;gap:12px;margin:12px 0 0;padding:10px 12px;border-radius:8px;border:1px solid #333;background:rgba(11,11,13,.9)}
.gd-re-shapebox p{margin:0;font-size:12.5px;line-height:1.45;color:var(--ink2)}
.gd-re-shape{display:flex;align-items:flex-end;gap:3px;width:92px;height:54px}
.gd-re-shape i{flex:1 1 0;border-radius:2px 2px 0 0;background:linear-gradient(#5fd77a,#2a8a40)}

/* ==== 5. Tranquility: the party, the channel, the cooldown, and what can crit ==== */
.gd-re-thead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;margin:0 0 12px}
.gd-re-tstage{min-height:0}
.gd-re-tparty{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:20px}
.gd-re-tf{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.gd-re-tf .gd-re-tok{width:58px;height:58px;border-width:2px;transition:box-shadow .3s}
.gd-re-tf.me .gd-re-tok{border-color:color-mix(in srgb,var(--ac) 85%,#fff)}
.gd-re-tf.lit .gd-re-tok{animation:gdretick .5s ease-out}
@keyframes gdretick{0%{box-shadow:0 0 0 2px #000,0 0 0 0 rgba(87,227,137,.9)}100%{box-shadow:0 0 0 2px #000,0 0 0 12px rgba(87,227,137,0)}}
.gd-re-tf .gd-re-hbar{width:100%;max-width:92px;height:11px;overflow:visible}
.gd-re-tf .gd-re-hp{border-radius:2px}
.gd-re-tf .gd-re-hbar u{position:absolute;top:-3px;bottom:-3px;left:90%;width:16%;box-sizing:border-box;border:2px dashed #ffd75e;border-left:0;border-radius:0 4px 4px 0;background:rgba(255,215,94,.12);opacity:0;text-decoration:none;box-shadow:0 0 8px rgba(255,215,94,.5)}
.gd-re-tf.crit .gd-re-hbar u{opacity:1}
.gd-re-tf.crit .gd-yardlabel{color:#ffd75e}
.gd-re-tf.crit .gd-yardlabel::after{content:" · crit"}
.gd-re-tf.crit .gd-re-tok{border-color:#ffd75e;box-shadow:0 0 0 2px #000,0 0 16px rgba(255,215,94,.7)}
.gd-re-tf .gd-yardlabel{margin-top:0}
.gd-re-tpop{top:-18px;font-size:17px}
.gd-re-tpop.crit{color:transparent;-webkit-text-stroke:1.2px #ffd75e;text-shadow:none;font-size:21px}
.gd-re-chan{position:relative;z-index:2;display:grid;grid-template-columns:auto minmax(0,1fr) 52px;align-items:center;gap:10px;margin-top:14px;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#cfcfcf}
.gd-re-chan>span{display:inline-flex;align-items:center;gap:6px}
.gd-re-chan img.sm{width:20px;height:20px;border-radius:4px;border:1px solid #000}
.gd-re-chtrack{position:relative;height:12px;border-radius:3px;background:#0a0a0c;border:1px solid #3a3a3a}
.gd-re-chtrack>i{position:absolute;inset:0;border-radius:2px;transform-origin:left;transform:scaleX(0);background:linear-gradient(90deg,color-mix(in srgb,var(--ac) 55%,#000),var(--ac))}
.gd-re-chtrack>em{position:absolute;top:-4px;bottom:-4px;width:3px;margin-left:-3px;border-radius:2px;background:#5a5a5a;transition:background .2s,box-shadow .2s}
.gd-re-chtrack>em.on{background:#fff;box-shadow:0 0 6px rgba(255,255,255,.8)}
.gd-re-chtrack>em.crit{background:#ffd75e;box-shadow:0 0 10px rgba(255,215,94,.95);width:5px}
.gd-re-chan b{text-align:right;letter-spacing:0;text-transform:none;font-size:12px;color:#fff;font-variant-numeric:tabular-nums}
.gd-re-b-crit[aria-pressed="true"]{border-color:#ffd75e!important;background:rgba(255,215,94,.2)!important;box-shadow:0 0 12px rgba(255,215,94,.35)}
.gd-re-itctl{gap:8px 12px}
.gd-re-tranq .gd-spkey{margin-top:12px}
.gd-re-crithead{margin:18px 0 8px}
.gd-re-notes{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:8px}
.gd-re-note{display:flex;align-items:flex-start;gap:10px;margin:0;padding:9px 11px;border-radius:8px;border:1px solid #333;border-left:2px solid var(--ac);background:rgba(11,11,13,.9);font-size:13.5px;line-height:1.45;color:var(--ink2)}
.gd-re-note img.sm{flex:none;width:28px;height:28px;border-radius:6px;border:1px solid #000}
.gd-re-note>span{display:block;min-width:0}
.gd-re-note b{display:inline-block;margin-right:8px;font-size:14px;color:var(--ink);vertical-align:middle}
.gd-re-note em b{display:inline;margin:0;font-size:inherit;color:#ffd75e;vertical-align:baseline}
.gd-re-tag{display:inline-block;padding:1px 7px;border-radius:999px;border:1px solid #4a4a4a;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;font-weight:700;color:var(--muted);vertical-align:middle;white-space:nowrap}
.gd-re-tag.gd-re-t-blz{border-color:#3f6fb8;color:#9cc4ff}
.gd-re-tag.gd-re-t-unt{border-style:dashed;border-color:#8a8a8a;color:#cfcfcf}
.gd-re-tag.gd-re-t-chg{border-color:#8a6d16;color:#ffd75e}
.gd-re-note em{display:block;margin-top:4px;font-style:normal}
.gd-re-note.gd-re-n-blz{border-left-color:#5b9bff}
.gd-re-note.gd-re-n-unt{border-style:dashed;border-left-style:solid;border-left-color:#8a8a8a}

/* ==== 6. Reflection by point, and the Mana cards ==== */
.gd-re-rfctl{margin-top:0;gap:8px 12px}
.gd-re-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:10px;margin-top:14px}
.gd-re-card{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:start;padding:10px 12px;border-radius:8px;border:1px solid #333;background:rgba(11,11,13,.9)}
.gd-re-card>img{width:36px;height:36px;border-radius:7px;border:1px solid #000}
.gd-re-card h4{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0;font-size:14.5px;color:var(--ink)}
.gd-re-card p{margin:4px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink2)}
.gd-re-card p b{color:#ffd75e;font-weight:600}
.gd-re-card .gd-re-meta{font-size:12.5px;color:var(--muted)}
.gd-re-card.gd-re-gone{border-style:dashed;border-color:#5a3636}
.gd-re-card.gd-re-gone>img{filter:grayscale(.85)}

/* ==== 7. the tree's notes, the pointers, and how far the points go ==== */
.gd-re-pop2{display:flex;align-items:center;gap:10px;max-width:820px;padding:9px 12px;border-radius:9px;border:1px solid color-mix(in srgb,var(--ac) 40%,#222);background:color-mix(in srgb,var(--ac) 7%,#0d0d0f);font-size:14px;line-height:1.45;color:var(--ink2);text-decoration:none}
.gd-re-pop2 img.sm{flex:none;width:30px;height:30px;border-radius:6px;border:1px solid #000}
.gd-re-pop2>span{min-width:0}
.gd-re-pop2 b{color:#ffd75e}
.gd-re-pop2 small{display:block;font-size:12px;color:var(--ac)}
.gd-re-treecards{margin-top:0}
.gd-re-also{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:8px}
.gd-re-also .gd-eralabel{grid-column:1/-1;margin:0}
.gd-re-ptr{display:flex;align-items:center;gap:10px;padding:8px 11px;border-radius:8px;border:1px solid #333;background:rgba(11,11,13,.9);font-size:13.5px;line-height:1.45;color:var(--ink2);text-decoration:none}
.gd-re-ptr:hover{border-color:#666}
.gd-re-ptr img.sm{flex:none;width:28px;height:28px;border-radius:6px;border:1px solid #000}
.gd-re-ptr b{color:var(--ink)}
.gd-re-ptr span b+b,.gd-re-ptr span b:not(:first-child){color:#ffd75e}
.gd-re-reach{padding:12px;border-radius:10px;border:1px solid #333;background:rgba(11,11,13,.9)}
.gd-re-reachhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}
.gd-re-reachhead .gd-eralabel{margin:0}
.gd-re-rrow{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:10px;padding:6px 0;border-top:1px solid rgba(255,255,255,.06);transition:opacity .35s,filter .35s}
.gd-re-rrow.off{opacity:.42;filter:grayscale(.85)}
.gd-re-rrlab{display:flex;flex-direction:column;line-height:1.2}
.gd-re-rrlab b{font-size:13px;color:var(--ink)}
.gd-re-rrlab small{font-size:11px;color:var(--muted)}
.gd-re-rtal{display:flex;flex-wrap:wrap;gap:6px}
.gd-re-rt{display:inline-flex;align-items:center;gap:7px;padding:3px 10px 3px 3px;border-radius:8px;border:1px solid color-mix(in srgb,var(--ac) 30%,#222);background:color-mix(in srgb,var(--ac) 6%,#0d0d0f);min-width:0}
.gd-re-rt img.sm{width:28px;height:28px;border-radius:6px;border:1px solid #000}
.gd-re-rt>span{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.gd-re-rt b{font-size:12.5px;color:var(--ink)}
.gd-re-rt small{font-size:11px;color:#8fe36b}
.gd-re-rt.part small{color:#ffd75e}
.gd-re-rt .gd-re-rreq{font-style:normal;font-size:11px;color:var(--muted)}
.gd-re-rrow.off .gd-re-rt small{color:var(--muted)}

/* tablets and phones */
@media (max-width:900px){
  .gd-re-grid{grid-template-columns:1fr}
  .gd-ch .gd-beat.gd-re-wildbeat{grid-template-columns:minmax(0,1fr);grid-template-areas:"lead" "w" "aside" "take";grid-template-rows:auto}
}
@media (max-width:760px){
  .gd-re-rrow{grid-template-columns:1fr;gap:4px}
  .gd-re-rowtwin .gd-big,.gd-re-mtwin .gd-big,.gd-re-ttwin .gd-big,.gd-re-rtwin .gd-big,.gd-re-wtwin .gd-big{font-size:26px}
  .gd-re-poolctl label{flex-basis:100%}
}
@media (max-width:640px){
  .gd-re-tok{width:56px;height:56px;border-width:2px}
  .gd-re-mefig{height:128px}.gd-re-remfig{height:138px}
  .gd-re-me,.gd-re-ally{min-width:64px}
  .gd-re-field{gap:6px;margin-top:18px}
  .gd-re-halo{width:90px;height:90px;margin-left:-45px}
  .gd-re-pop{font-size:17px}
  .gd-re-shades{right:-2px;font-size:10.5px}
  .gd-re-side{padding:8px}
  .gd-re-frame{grid-template-columns:38px minmax(0,1fr);gap:8px;padding:7px 8px}
  .gd-re-frame .gd-re-port{width:38px;height:38px}
  .gd-re-mb{grid-template-columns:52px minmax(0,1fr) 46px;gap:7px}
  .gd-re-mnum output{font-size:19px}
  .gd-re-hb,.gd-re-cb,.gd-re-rb{grid-template-columns:52px minmax(0,1fr) 58px;gap:7px}
  .gd-re-hnum,.gd-re-cnum,.gd-re-rnum{font-size:16px}
  .gd-re-cols{gap:2px}
  .gd-re-cols button{padding:4px 0 5px;border-radius:5px}
  .gd-re-cols small{font-size:10px}
  .gd-re-cols span{height:46px;padding:0 2px}
  .gd-re-cols b{font-size:11px}
  .gd-re-read .gd-chalk{font-size:26px}
  .gd-re-raid{grid-template-columns:1fr}
  .gd-re-tparty{gap:4px}
  .gd-re-tf .gd-re-tok{width:44px;height:44px}
  .gd-re-tf .gd-yardlabel{font-size:9.5px;letter-spacing:.04em}
  .gd-re-tpop{font-size:14px}
  .gd-re-tpop.crit{font-size:17px}
  .gd-re-chan{grid-template-columns:auto minmax(0,1fr) 44px;gap:7px}
  .gd-cast.gd-re-btn{padding-right:11px;font-size:12.5px}
  .gd-re-whead,.gd-re-thead{justify-content:flex-start}
  /* a phone's caption runs two to five lines by state, and it sits above the buttons: hold room for the longest so a second tap lands on the same button (12 Oct audit) */
  .gd-re-stage .gd-steptitle,.gd-re-tstage .gd-steptitle{min-height:2.8em}
  .gd-ch[data-tree="restoration"] .gd-re-swift .gd-cap,.gd-ch[data-tree="restoration"] .gd-re-mana .gd-cap{min-height:6.2em}
  .gd-ch[data-tree="restoration"] .gd-re-wild .gd-cap,.gd-ch[data-tree="restoration"] .gd-re-tranq .gd-cap{min-height:7.75em}
}
@media (max-width:760px),(pointer:coarse){
  .gd-re-era button,.gd-re-pts button,.gd-cast.gd-re-btn,.gd-reset.gd-re-btn{min-height:44px}
  .gd-reset.gd-re-btn{min-width:44px}
  .gd-ch[data-tree="restoration"] .gd-rankpick button{min-width:40px;min-height:40px}
  .gd-re-cols button{min-height:44px}
  .gd-re-ptr,.gd-re-pop2{min-height:44px}
}
@media (prefers-reduced-motion:reduce){
  .gd-re-hp,.gd-re-mtrack>i,.gd-re-htrack i,.gd-re-ctrack i,.gd-re-rtrack i,.gd-re-pips i,.gd-re-pips b,.gd-re-pf,.gd-re-rrow,.gd-re-era button,.gd-re-pts button,.gd-re-cols button,.gd-re-chtrack>em,.gd-re-tf .gd-re-tok{transition:none}
  .gd-re-halo.lit,.gd-re-tf.lit .gd-re-tok{animation:none}
  .gd-re-pop.go,.gd-re-tpop.go{animation:none;opacity:1;transform:translate(-50%,-10px)}
}
