/* x: arrive-2 */
/* arrive-2: a shared build arrives on a shelf of named parts, in the class banner's own box (absolute, inset 0), so the banner
   keeps its height to the pixel and nothing under it moves. Only while html.x-arrive-2-on stands. Laid out by the shelf's own
   width (a container), not the window's: the banner is 288 px wide on a small phone and 1408 px on a wide computer. */

html.x-arrive-2.x-arrive-2-on #classBanner>:not(.x-arrive-2-band){visibility:hidden}
html.x-arrive-2 .x-arrive-2-band{position:absolute;inset:0;z-index:3;box-sizing:border-box;container:x-arrive-2-shelf/inline-size;border-radius:inherit;color:#e8e8e8;font:400 13px/1.3 "Open Sans",system-ui,sans-serif;
  background:radial-gradient(ellipse 420px 150px at 40px 50%,color-mix(in srgb,var(--cc,#ffd100) 18%,transparent),transparent 70%),linear-gradient(90deg,rgba(18,18,18,.93),rgba(18,18,18,.88));box-shadow:inset 0 0 0 1px #c89b1a}

html.x-arrive-2 .x-arrive-2-in{box-sizing:border-box;height:100%;display:flex;align-items:stretch;padding:6px 40px 6px 14px}

/* ---- the parts: each a column with its small name on top ---- */
html.x-arrive-2 .x-arrive-2-part{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;padding:0 16px;border-left:1px solid #333}
html.x-arrive-2 .x-arrive-2-in>.x-arrive-2-part:first-of-type,html.x-arrive-2 .x-arrive-2-crest+.x-arrive-2-part{border-left:0}
html.x-arrive-2 .x-arrive-2-lab{font:600 10.5px/1.2 "Open Sans",system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#a5a5a5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.x-arrive-2 .x-arrive-2-from .x-arrive-2-lab{color:var(--cc,#c89b1a)}
html.x-arrive-2 .x-arrive-2-lab>b{color:#ffd100;font-weight:700}

html.x-arrive-2 .x-arrive-2-crest{flex:none;align-self:center;width:58px;height:58px;margin-right:2px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 2px #121212,0 0 0 3.5px var(--cc,#ffd100)}
html.x-arrive-2 .x-arrive-2-crest>img{display:block;width:100%;height:100%;object-fit:cover}

html.x-arrive-2 .x-arrive-2-from{flex:1.5 1 0;gap:3px}
html.x-arrive-2 .x-arrive-2-name{font:700 22px/1.12 Cinzel,Georgia,serif;color:#ffd75e;letter-spacing:.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 2px 8px rgba(0,0,0,.8)}
html.x-arrive-2 .x-arrive-2-kind{font-size:12.5px;line-height:1.3;color:#cfcfcf;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

html.x-arrive-2 .x-arrive-2-build{flex:none}
html.x-arrive-2 .x-arrive-2-chips,html.x-arrive-2 .x-arrive-2-mini,html.x-arrive-2 .x-arrive-2-facts{display:flex;align-items:center;gap:5px;flex-wrap:nowrap;white-space:nowrap}
html.x-arrive-2 .x-arrive-2-mini{display:none}
html.x-arrive-2 .x-arrive-2-pt{flex:none;display:inline-flex;align-items:center;gap:5px;padding:2px 9px 2px 2px;border-radius:999px;background:#1e1e1e;box-shadow:inset 0 0 0 1px #3a3a3a;font-size:12px;line-height:1;color:#bdbdbd}
html.x-arrive-2 .x-arrive-2-pt>img{width:20px;height:20px;border-radius:50%}
html.x-arrive-2 .x-arrive-2-pt>b{font-size:14px;color:#fff}
html.x-arrive-2 .x-arrive-2-pt.x-arrive-2-lead{box-shadow:inset 0 0 0 1px #c89b1a}
html.x-arrive-2 .x-arrive-2-pt.x-arrive-2-lead>b{color:#ffd100}
html.x-arrive-2 .x-arrive-2-pt.x-arrive-2-zero{opacity:.55}
html.x-arrive-2 .x-arrive-2-fact{display:inline-flex;align-items:baseline;gap:4px;padding:4px 9px;border-radius:999px;background:#1e1e1e;box-shadow:inset 0 0 0 1px #3a3a3a;font-size:12px;line-height:1;color:#bdbdbd}
html.x-arrive-2 .x-arrive-2-fact>b{font-size:13px;color:#fff}
html.x-arrive-2 .x-arrive-2-fact.x-arrive-2-gold{box-shadow:inset 0 0 0 1px #c89b1a}
html.x-arrive-2 .x-arrive-2-fact.x-arrive-2-gold>b{color:#ffd100}

html.x-arrive-2 .x-arrive-2-yours{flex:1 1 0;max-width:330px}
html.x-arrive-2 .x-arrive-2-cmp{display:flex;flex-direction:column;gap:3px;min-width:0}
html.x-arrive-2 .x-arrive-2-line{font-size:12.5px;color:#e8e8e8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.x-arrive-2 .x-arrive-2-line>b{color:#ffd100}
html.x-arrive-2 .x-arrive-2-line>q{color:#fff;font-weight:600;quotes:"“" "”"}
html.x-arrive-2 .x-arrive-2-safe{font-size:11.5px;line-height:1.3;color:#a5a5a5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html.x-arrive-2 .x-arrive-2-cmpbtns{display:flex;gap:6px}
html.x-arrive-2 .x-arrive-2-cmpbtns:empty{display:none}
html.x-arrive-2 .x-arrive-2-key{display:flex;align-items:center;gap:6px;font-size:11.5px;line-height:16px;color:#cfcfcf;white-space:nowrap;padding:3px 0 0 6px}
/* the legend's marks are small talents marked exactly as the trees mark them */
html.x-arrive-2 .x-arrive-2-key>i{position:relative;flex:none;width:13px;height:13px;border-radius:3px;background:#3a3a3a;margin-left:14px}
html.x-arrive-2 .x-arrive-2-key>i:first-child{margin-left:4px}
html.x-arrive-2 .x-arrive-2-key>i>.x-arrive-2-d{top:-6px;left:-9px;min-width:12px;height:11px;padding:0 2px;font-size:9px;line-height:11px}
html.x-arrive-2 .x-arrive-2-k1{box-shadow:0 0 0 1px #000,0 0 0 2.5px #ffd100,0 0 8px 1px rgba(255,209,0,.6)}
html.x-arrive-2 .x-arrive-2-k2{outline:1.5px dashed #fff;outline-offset:2px;box-shadow:0 0 0 1px #000}
html.x-arrive-2 .x-arrive-2-do{flex:none;width:256px}
html.x-arrive-2 .x-arrive-2-wide,html.x-arrive-2 .x-arrive-2-narrow{display:flex;flex-direction:column;gap:6px}
html.x-arrive-2 .x-arrive-2-narrow{display:none}
html.x-arrive-2 .x-arrive-2-row{display:flex;gap:6px}
html.x-arrive-2 .x-arrive-2-row>button{flex:1 1 auto;min-width:0}
html.x-arrive-2 .x-arrive-2-band .x-arrive-2-wide .x-arrive-2-row>button{padding:0 7px;font-size:12px}

/* ---- the presses: the site's gold pill buttons ---- */
html.x-arrive-2 .x-arrive-2-band button,html.x-arrive-2 .x-arrive-2-panel button{height:28px;padding:0 10px;border:0;border-radius:999px;cursor:pointer;font:700 12.5px/1 "Open Sans",system-ui,sans-serif;color:#ffd100;background:#262626;box-shadow:inset 0 0 0 1px #c89b1a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.x-arrive-2 .x-arrive-2-band button:hover,html.x-arrive-2 .x-arrive-2-panel button:hover{background:#2e2e2e;box-shadow:inset 0 0 0 1px #ffd100}
html.x-arrive-2 .x-arrive-2-band button:focus-visible,html.x-arrive-2 .x-arrive-2-panel button:focus-visible{outline:2px solid #ffd100;outline-offset:2px}
html.x-arrive-2 .x-arrive-2-band button:disabled{cursor:default;color:#a5a5a5;box-shadow:inset 0 0 0 1px #3a3a3a;background:#222}
html.x-arrive-2 .x-arrive-2-band .x-arrive-2-go{height:34px;font-size:14px;color:#121212;background:linear-gradient(180deg,#ffe066,#ffd100 55%,#e0b400)}
html.x-arrive-2 .x-arrive-2-band .x-arrive-2-go:hover{background:linear-gradient(180deg,#ffe680,#ffd633 55%,#e6bd14)}
html.x-arrive-2 .x-arrive-2-band .x-arrive-2-show[aria-pressed="true"]{color:#121212;background:#ffd100}
html.x-arrive-2 .x-arrive-2-cmpbtns>button{height:24px;font-size:12px}
html.x-arrive-2 .x-arrive-2-band .x-arrive-2-x{position:absolute;top:6px;right:6px;width:26px;height:26px;padding:0;font-size:17px;font-weight:400;color:#bdbdbd;background:transparent;box-shadow:none}
html.x-arrive-2 .x-arrive-2-band .x-arrive-2-x:hover{color:#ffd100;background:#262626;box-shadow:none}

/* ---- a narrower shelf: the crest steps aside, then the buttons it gives ---- */
@container x-arrive-2-shelf (max-width:1299px){
  html.x-arrive-2 .x-arrive-2-crest{display:none}
  html.x-arrive-2 .x-arrive-2-in>.x-arrive-2-from{padding-left:2px}
  html.x-arrive-2 .x-arrive-2-pt>small{display:none}
  html.x-arrive-2 .x-arrive-2-name{font-size:20px}
  html.x-arrive-2 .x-arrive-2-in>.x-arrive-2-build .x-arrive-2-gold>span{display:none}
  html.x-arrive-2 .x-arrive-2-yours{min-width:220px}
  html.x-arrive-2 .x-arrive-2-do{width:236px}
  html.x-arrive-2 .x-arrive-2-band .x-arrive-2-wide .x-arrive-2-row>button{padding:0 5px;font-size:11.5px}
}

/* ---- a phone or a tablet: who and the name, the points, and the two main presses; the rest behind More ---- */
@container x-arrive-2-shelf (max-width:999px){
  html.x-arrive-2 .x-arrive-2-in{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"lab mini" "name name" "do do";align-content:center;row-gap:4px;column-gap:8px;padding:6px 10px}
  html.x-arrive-2 .x-arrive-2-in>.x-arrive-2-from{display:contents}
  html.x-arrive-2 .x-arrive-2-crest,html.x-arrive-2 .x-arrive-2-in>.x-arrive-2-build,html.x-arrive-2 .x-arrive-2-in>.x-arrive-2-yours,html.x-arrive-2 .x-arrive-2-band .x-arrive-2-kind{display:none}
  html.x-arrive-2 .x-arrive-2-band .x-arrive-2-lab{grid-area:lab;align-self:center;padding-right:26px}
  html.x-arrive-2 .x-arrive-2-band .x-arrive-2-mini{grid-area:mini;display:flex;gap:3px;margin-right:24px}
  html.x-arrive-2 .x-arrive-2-mini .x-arrive-2-pt{padding:1px 6px 1px 1px;gap:3px}
  html.x-arrive-2 .x-arrive-2-mini .x-arrive-2-pt>img{width:15px;height:15px}
  html.x-arrive-2 .x-arrive-2-mini .x-arrive-2-pt>b{font-size:12px}
  html.x-arrive-2 .x-arrive-2-mini .x-arrive-2-pt>small{display:none}
  html.x-arrive-2 .x-arrive-2-band .x-arrive-2-name{grid-area:name;font-size:18px;line-height:1.15}
  html.x-arrive-2 .x-arrive-2-in>.x-arrive-2-do{grid-area:do;width:auto;padding:0;border:0}
  html.x-arrive-2 .x-arrive-2-wide{display:none}
  html.x-arrive-2 .x-arrive-2-narrow{display:flex;flex-direction:row;gap:6px}
  html.x-arrive-2 .x-arrive-2-narrow>.x-arrive-2-go{flex:1.5 1 0;min-width:0}
  html.x-arrive-2 .x-arrive-2-narrow>.x-arrive-2-row{flex:2 1 0;min-width:0}
  html.x-arrive-2 .x-arrive-2-band .x-arrive-2-narrow button{height:34px;font-size:13.5px}
  html.x-arrive-2 .x-arrive-2-band .x-arrive-2-x{top:3px;right:3px}
}
/* a small phone: the chips keep their numbers only, so who sent it keeps its room */
@container x-arrive-2-shelf (max-width:300px){
  html.x-arrive-2 .x-arrive-2-mini .x-arrive-2-pt>img{display:none}
  html.x-arrive-2 .x-arrive-2-mini .x-arrive-2-pt{padding:1px 6px}
}
/* a tablet's taller shelf has room for the kind of build in words */
@container x-arrive-2-shelf (min-width:560px) and (max-width:999px){
  html.x-arrive-2 .x-arrive-2-in{grid-template-areas:"lab mini" "name name" "kind kind" "do do"}
  html.x-arrive-2 .x-arrive-2-band .x-arrive-2-kind{display:block;grid-area:kind;-webkit-line-clamp:1;white-space:nowrap;text-overflow:ellipsis}
  html.x-arrive-2 .x-arrive-2-band .x-arrive-2-narrow{max-width:420px}
}

/* ---- More, opened in place under the shelf: over the page, never pushing it ---- */
html.x-arrive-2 .x-arrive-2-panel{position:absolute;z-index:45;box-sizing:border-box;display:flex;flex-direction:column;gap:12px;padding:12px;border-radius:10px;background:#1a1a1a;box-shadow:inset 0 0 0 1px #c89b1a,0 12px 30px rgba(0,0,0,.65);color:#e8e8e8;font:400 13px/1.35 "Open Sans",system-ui,sans-serif}
html.x-arrive-2 .x-arrive-2-panel[hidden]{display:none}
html.x-arrive-2 .x-arrive-2-panel>.x-arrive-2-kind{margin:0;font-size:13.5px;color:#e8e8e8;display:block;-webkit-line-clamp:unset}
html.x-arrive-2 .x-arrive-2-panel .x-arrive-2-part{padding:0;border:0;gap:6px}
html.x-arrive-2 .x-arrive-2-panel .x-arrive-2-chips,html.x-arrive-2 .x-arrive-2-panel .x-arrive-2-facts{flex-wrap:wrap}
html.x-arrive-2 .x-arrive-2-panel .x-arrive-2-line,html.x-arrive-2 .x-arrive-2-panel .x-arrive-2-safe{-webkit-line-clamp:unset;display:block}
html.x-arrive-2 .x-arrive-2-panel .x-arrive-2-cmpbtns>button{height:32px;font-size:13px;padding:0 14px}
html.x-arrive-2 .x-arrive-2-panel .x-arrive-2-key{white-space:normal;flex-wrap:wrap}
html.x-arrive-2 .x-arrive-2-prow{display:flex;gap:8px}
html.x-arrive-2 .x-arrive-2-prow>button{flex:1 1 0;min-width:0;height:36px;font-size:13.5px}

/* ---- the difference on the trees, only while Show on trees is pressed ---- */
/* ---- the difference on the trees, only while Show on trees is pressed. Light only: rings are shadows and outlines, the badge
   stands inside the talent's own box (absolute), so nothing moves and no row grows. The page already rings every taken talent
   in 2 px of gold, so the build's own extra talents get find-talent's stronger ring (3 px and a glow) and the shared ones step
   back. !important only where the page's own talent rules set box-shadow and filter. ---- */
/* (the page sets a talent's className again on its own, which drops added classes but keeps children, so each mark is read
   from the badge the talent holds: :has(> .x-arrive-2-d1) and :has(> .x-arrive-2-d2)) */
html.x-arrive-2 #trees.x-arrive-2-cmpon .talent:not(:has(> .x-arrive-2-d)){opacity:.4;filter:grayscale(.6)}
html.x-arrive-2 #trees.x-arrive-2-cmpon .talent:has(> .x-arrive-2-d1){opacity:1;filter:none;box-shadow:0 0 0 1px #000,0 0 0 3px #ffd100,0 0 16px 2px rgba(255,209,0,.6) !important}
html.x-arrive-2 #trees.x-arrive-2-cmpon .talent:has(> .x-arrive-2-d1) :is(img,.ab,.lab-spr){filter:none !important;opacity:1 !important}
html.x-arrive-2 #trees.x-arrive-2-cmpon .talent:has(> .x-arrive-2-d2){opacity:1;filter:none;outline:2px dashed #fff;outline-offset:3px;box-shadow:0 0 0 1px #000,0 0 12px 1px rgba(255,255,255,.35) !important}
html.x-arrive-2 #trees.x-arrive-2-cmpon .talent:has(> .x-arrive-2-d2) :is(img,.ab,.lab-spr){opacity:.9 !important;filter:none !important}
/* the rank difference, small, top left (the page's own rank stands bottom right) */
html.x-arrive-2 .x-arrive-2-d{position:absolute;z-index:4;top:-8px;left:-8px;box-sizing:border-box;min-width:22px;height:18px;padding:0 4px;border-radius:9px;font:800 11.5px/18px "Open Sans",system-ui,sans-serif;text-align:center;pointer-events:none;white-space:nowrap}
/* a phone's tree tabs: the same badges, top right inside the tab */
html.x-arrive-2 #v2tabs button:has(> .x-arrive-2-tb){position:relative}
html.x-arrive-2 .x-arrive-2-tb{position:absolute;z-index:3;top:3px;right:4px;display:flex;gap:3px;pointer-events:none}
/* (the page colours every span of the open tab: the badges keep their own colours) */
html.x-arrive-2 #v2tabs .x-arrive-2-tb>.x-arrive-2-d1{color:#121212}
html.x-arrive-2 #v2tabs .x-arrive-2-tb>.x-arrive-2-d2{color:#fff}
html.x-arrive-2 .x-arrive-2-tb>.x-arrive-2-d{position:static;min-width:20px;height:16px;padding:0 4px;font-size:10.5px;line-height:16px}
html.x-arrive-2 .x-arrive-2-d1{color:#121212;background:#ffd100;box-shadow:0 0 0 1.5px #121212}
html.x-arrive-2 .x-arrive-2-d2{color:#fff;background:#121212;box-shadow:0 0 0 1.5px #fff}

/* the page's own toast for a shared build is hushed while the shelf says it */
html.x-arrive-2.x-arrive-2-hush #toast{visibility:hidden}

/* leaving follows the press that ends it; nothing moves by itself */
@media (prefers-reduced-motion:no-preference){
  html.x-arrive-2 .x-arrive-2-band.x-arrive-2-out,html.x-arrive-2 .x-arrive-2-panel.x-arrive-2-out{transition:opacity 150ms ease-out;opacity:0}
}
/* (29 Nov 2026) Make it yours focuses the trees' box (x.js keysOnTrees), not a talent: no ring after a mouse press, a quiet gold one
   for a keyboard reader so they see where the keys are */
html.x-arrive-2 #trees.x-arrive-2-keys:focus{outline:none}
html.x-arrive-2 #trees.x-arrive-2-keys:focus-visible{outline:2px solid rgba(255,209,0,.55);outline-offset:4px;border-radius:8px}

/* x: bar-tips */
/* bar-tips (2 Dec 2026). Chris, on a computer, the class banner's "Buttons from talents" circled: "this needs improved on desktop - i feel
   like if i click it - it should show me where that ability is or something? and the spacing of it up there looks good or not well
   intentional & detailed & thought out". Then: "perhaps you could show the tooltip of those abilities to the left in a small tooltip of
   those buttons? if i have over them? so it has a hover & a click functionality?". NOTES.md has the three layouts tried.
   The block is drawn by lab/v2.js actionBar() and styled by lab/v2.css; this only lays it out again. The banner's height never changes:
   the block is never taller than the words beside the crest (80 px). A phone's bar under the trees is not touched. */

/* ---------- 1. the block, from 1100 px ---------- */
@media (min-width: 1100px) {
  /* the words stand beside the squares, in the same two lines as the wordmark in the middle of the banner (a 25 px line, 3 px, a 15 px
     line, centred), so the count sits on the wordmark's own line; the squares are centred on the crest. The right edge of the last
     square's gold ring is 14 px from the banner's edge, as the crest's gold ring is at the other end. */
  html.x-bar-tips #classBanner[data-v2bar="1"] > #v2bar { --z: 36px; --x-bar-tips-c: var(--cols, 4); display: grid; grid-template-columns: auto repeat(var(--x-bar-tips-c), var(--z)); grid-template-rows: none;
    grid-auto-rows: var(--z); gap: 10px 8px; justify-content: end; align-content: center; align-items: center; max-height: none; margin: 0 0 0 auto; padding: 0; }
  /* (2 Dec 2026, Chris, the four squares cut out: "make these all a touch smaller", "for all the classes": 42, 38, 32 and 30 before)
     up to four at 36, five in a row at 33; six and more in two rows of 28, eleven and twelve at 27 (lab/v2.js writes the count in --cols: the squares
     up to seven, half of them, rounded up, past that, and 26px for the two-row sizes) */
  html.x-bar-tips #classBanner[data-v2bar="1"] > #v2bar[style*="--cols: 5;"]:not([style*="26px"]) { --z: 33px; }
  html.x-bar-tips #classBanner[data-v2bar="1"] > #v2bar[style*="32px"] { --z: 28px; --x-bar-tips-c: 4; }
  html.x-bar-tips #classBanner[data-v2bar="1"] > #v2bar[style*="32px"][style*="--cols: 6;"] { --x-bar-tips-c: 3; }
  html.x-bar-tips #classBanner[data-v2bar="1"] > #v2bar[style*="26px"] { --z: 28px; }
  html.x-bar-tips #classBanner[data-v2bar="1"] > #v2bar[style*="26px"][style*="--cols: 6;"] { --z: 27px; column-gap: 7px; }
  /* the narrowest banner of these widths (1068 px): five stay as clear of the wordmark as the rest */
  @media (max-width: 1199.98px) { html.x-bar-tips #classBanner[data-v2bar="1"] > #v2bar[style*="--cols: 5;"]:not([style*="26px"]) { --z: 32px; column-gap: 7px; } }

  html.x-bar-tips #classBanner > #v2bar > .v2bl { grid-column: 1; grid-row: 1; align-self: center; justify-self: end; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 3px; height: auto; margin: 0 8px 0 0;
    color: #d8d8d8; font-size: 10px; font-weight: 400; line-height: 15px; letter-spacing: .14em; text-shadow: 0 1px 2px #000, 0 0 6px rgba(0, 0, 0, .9); }
  html.x-bar-tips #classBanner > #v2bar:is([style*="32px"], [style*="26px"]) > .v2bl { grid-row: 1 / span 2; }
  html.x-bar-tips #classBanner > #v2bar > .v2bl::after { margin: 0; color: #ffd75e; font: 700 16px/25px Cinzel, Georgia, serif; letter-spacing: .05em; text-shadow: 0 1px 0 #7a5a10, 0 2px 8px rgba(0, 0, 0, .9); }

  /* a square: a black hair, a gold ring, its own shadow; its tree's colour is a short line under it, clear of the ring */
  html.x-bar-tips #classBanner > #v2bar > button { border-radius: 7px; box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--gold2, #c89b1a), 0 3px 8px 1px rgba(0, 0, 0, .6); }
  html.x-bar-tips #classBanner > #v2bar > button > img { border-radius: 7px; }
  html.x-bar-tips #classBanner > #v2bar > button::before { content: ""; position: absolute; left: 5px; right: 5px; bottom: -6px; height: 2px; border-radius: 1px; background: var(--c, #c89b1a); box-shadow: 0 1px 2px rgba(0, 0, 0, .7); pointer-events: none; }
  html.x-bar-tips #classBanner > #v2bar > button > b { top: 0; left: 0; box-sizing: border-box; min-width: 14px; padding: 0 3px 1px; border-radius: 7px 0 6px 0; background: rgba(8, 7, 5, .82); color: #fff; font-size: 10.5px; line-height: 12px; text-align: center; text-shadow: none; }
  html.x-bar-tips #classBanner > #v2bar:is([style*="32px"], [style*="26px"]) > button > b { min-width: 12px; padding: 0 2px; font-size: 9.5px; }
  /* pointing changes only the light */
  html.x-bar-tips #classBanner > #v2bar > button:is(:hover, :focus-visible, .x-bar-tips-at) { box-shadow: 0 0 0 1px #000, 0 0 0 3px var(--gold, #ffd100), 0 0 14px 3px rgba(255, 209, 0, .38); }
  html.x-bar-tips #classBanner > #v2bar > button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
}
/* 641 to 1099 px: the block keeps its exact size (its width decides where the words beside the crest wrap, so the banner's height); its
   right edge comes to the crest's own distance from the banner's edge, and the square being pointed at or shown is lit */
@media (min-width: 641px) and (max-width: 1099.98px) {
  html.x-bar-tips #classBanner[data-v2bar="1"] > #v2bar { padding: 0 0 3px 2px; }
  html.x-bar-tips #classBanner > #v2bar > button:is(:hover, :focus-visible, .x-bar-tips-at) { box-shadow: inset 0 0 0 1px #000, 0 0 0 2px var(--gold, #ffd100), 0 0 12px 2px rgba(255, 209, 0, .4); }
}

/* ---------- 2. the tooltip ---------- */
/* the page's own tooltip look (.tip), smaller, and darker behind its words, since it stands over the banner's art */
html.x-bar-tips .tip.x-bar-tips-tip { z-index: 60; box-sizing: border-box; width: 300px; max-width: none; padding: 8px 11px 8px; background: #0c0b09; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 12.5px; line-height: 1.36; }
html.x-bar-tips .tip.x-bar-tips-tip[hidden] { display: none; }
html.x-bar-tips .x-bar-tips-tip .hd { gap: 8px; margin-bottom: 5px; padding-bottom: 6px; }
html.x-bar-tips .x-bar-tips-tip .hd img { width: 30px; height: 30px; }
html.x-bar-tips .x-bar-tips-tip .n { font-size: 14px; }
html.x-bar-tips .x-bar-tips-tip .r { margin-top: 1px; font-size: 11.5px; line-height: 1.3; }
html.x-bar-tips .x-bar-tips-tip .d { margin-top: 0; }
html.x-bar-tips .x-bar-tips-tip .x-bar-tips-go { margin-top: 5px; color: #a9a9a9; font-size: 11.5px; line-height: 1.3; }
html.x-bar-tips .x-bar-tips-tip .x-bar-tips-go b { color: #e8e8e8; font-weight: 600; }
/* lab/v2.js loadTips opens the same ability's box at once, over the square: this piece's box is the one for the banner's buttons */
html.x-bar-tips .tip.v2ltip.x-bar-tips-off { visibility: hidden; }

/* ---------- 3. a press shows the talent ---------- */
@media (min-width: 641px) {
  html.x-bar-tips #trees .talent.v2barhit { animation: none; outline: none; }
  html.x-bar-tips #trees.x-bar-tips-dim .talent:not(.x-bar-tips-now) { opacity: .42; }
  html.x-bar-tips #trees.x-bar-tips-dim .arrows { opacity: .3; }
  /* !important: the page's own lit, maxed and class-coloured tiles each set their ring with their own (as lab/x/find-talent says) */
  html.x-bar-tips #trees .talent.x-bar-tips-now { z-index: 6; opacity: 1; box-shadow: 0 0 0 2px #000, 0 0 0 5px #ffd100, 0 0 0 6px #3a2a08, 0 6px 26px 9px rgba(255, 209, 0, .5) !important; }
}
@media (min-width: 641px) and (prefers-reduced-motion: no-preference) {
  html.x-bar-tips #trees.x-bar-tips-ease :is(.talent, .arrows) { transition: opacity .28s ease, transform .2s ease-out, box-shadow .2s ease-out; }
  html.x-bar-tips #trees .talent.x-bar-tips-now { transform: translateY(-3px) scale(1.1); }
}

/* x: book-wings */
/* book-wings: the dark space beside the spellbook holds the player's build. Every rule needs #book.x-book-yours-side (book-yours
   beside the book, from 1280 wide) and a node only this feature writes, so phones, tablets and every other page are untouched.
   The page's own materials: its dark card (--panel2, --line), gold, parchment ink, Cinzel for the small heads, the book's green
   New and gold rim. Pointing changes only light; nothing moves by itself. Every box sits in space that was already there. */

/* ---- the left: under the level card, in the same column (book-yours' column holds its height with contain: size) ---- */
@media (min-width: 1280px) {
  html.x-book-wings #book.x-book-yours-side > .x-book-yours-lvl { display: flex; flex-direction: column; gap: 12px; }
  html.x-book-wings #book.x-book-yours-side > .x-book-yours-lvl > .x-book-yours-in { flex: 0 0 auto; }
  html.x-book-wings #book.x-book-yours-side > .x-book-yours-lvl > .x-book-wings-left { flex: 0 1 auto; min-height: 0; overflow: hidden; }
}
html.x-book-wings #book .x-book-wings-left { display: none; }
html.x-book-wings #book .x-book-wings-left.x-book-wings-none > .x-book-wings-card { visibility: hidden; }
@media (min-width: 1280px) {
  html.x-book-wings #book.x-book-yours-side .x-book-wings-left { display: block; }
}
html.x-book-wings #book .x-book-wings-card {
  box-sizing: border-box; padding: 12px 12px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel2); color: var(--ink); text-align: left;
}
html.x-book-wings #book .x-book-wings-h { margin: 0 0 4px; font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 14px; line-height: 1.3; color: #ffd75e; }
html.x-book-wings #book .x-book-wings-gh { margin: 8px 0 4px; font-size: 13px; font-weight: 600; color: #bdbdbd; }
html.x-book-wings #book .x-book-wings-gh[hidden], html.x-book-wings #book .x-book-wings-ul[hidden], html.x-book-wings #book .x-book-wings-ul li[hidden] { display: none; }
html.x-book-wings #book .x-book-wings-ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
html.x-book-wings #book .x-book-wings-sp {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 3px 5px; margin: 0; border: 1px solid transparent; border-radius: 6px; background: transparent;
  color: var(--ink); font: 13px/1.25 "Open Sans", system-ui, sans-serif; text-align: left; cursor: pointer; transform: none;
}
html.x-book-wings #book .x-book-wings-sp:hover,
html.x-book-wings #book .x-book-wings-sp:focus-visible { border-color: var(--gold2); background: var(--panel); outline: none; }
html.x-book-wings #book .x-book-wings-sp:active { background: #262626; }
html.x-book-wings #book .x-book-wings-sp img,
html.x-book-wings #book .x-book-wings-sp > i { flex: none; width: 26px; height: 26px; border-radius: 4px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #3a3a3a; background: #111; }
html.x-book-wings #book .x-book-wings-sp.x-book-wings-yours img { box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--gold), 0 0 8px rgba(255, 209, 0, .45); }
html.x-book-wings #book .x-book-wings-sp.x-book-wings-dim img { filter: grayscale(.7); opacity: .6; }
html.x-book-wings #book .x-book-wings-sp > span { display: block; min-width: 0; }
html.x-book-wings #book .x-book-wings-sp b { display: block; font-weight: 600; }
html.x-book-wings #book .x-book-wings-sp small { display: block; font-size: 12px; line-height: 1.3; color: #9a9a9a; }
html.x-book-wings #book .x-book-wings-rw, html.x-book-wings #book .x-book-wings-more { margin: 8px 0 0; }
html.x-book-wings #book .x-book-wings-go {
  padding: 0; margin: 0; border: 0; background: transparent; color: var(--gold); font: 600 12.5px/1.35 "Open Sans", system-ui, sans-serif; text-align: left;
  text-decoration: underline; text-decoration-color: rgba(255, 209, 0, .45); text-underline-offset: 3px; cursor: pointer; transform: none;
}
html.x-book-wings #book .x-book-wings-go:hover, html.x-book-wings #book .x-book-wings-go:focus-visible { color: #ffe27a; text-decoration-color: var(--gold); outline: none; }

/* ---- the right, from 1440 wide: a third column right of the book's tabs; the book keeps its 920 px, centred between ---- */
html.x-book-wings #book .x-book-wings-road { display: none; }
@media (min-width: 1440px) {
  html.x-book-wings #book.x-book-yours-side.x-book-wings-on:has(> .x-book-wings-road) { grid-template-columns: minmax(210px, 250px) 920px minmax(170px, 250px); max-width: none; }
  html.x-book-wings #book.x-book-yours-side > .x-book-wings-road { display: block; grid-column: 3; grid-row: 1 / span 2; contain: size; min-width: 0; }
  html.x-book-wings #book.x-book-yours-side:has(> .bookcover[hidden]) > .x-book-wings-road,
  html.x-book-wings #book.x-book-yours-side.x-book-yours-vforms > .x-book-wings-road { visibility: hidden; }
  /* (wave nine) By level: the level card stands over the list, as wide as it; the From your talents card is the book's, not the list's */
  html.x-book-wings #book.x-book-yours-side.x-book-yours-vlevel > .x-book-yours-lvl > .x-book-wings-left { display: none; }
}
html.x-book-wings #book .x-book-wings-rc { display: flex; flex-direction: column; height: 100%; padding: 12px 10px 10px 8px; }
html.x-book-wings #book .x-book-wings-rc > .x-book-wings-h { padding-left: 4px; }
html.x-book-wings #book .x-book-wings-key { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 10px; margin: 0 0 8px; padding-left: 4px; font-size: 11.5px; line-height: 1.3; color: #9a9a9a; }
html.x-book-wings #book .x-book-wings-key > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
html.x-book-wings #book .x-book-wings-key i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; }
html.x-book-wings #book .x-book-wings-kt { box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--gold); }
html.x-book-wings #book .x-book-wings-kn { box-shadow: 0 0 0 1px #000, 0 0 0 2px #7fe07a; }
html.x-book-wings #book .x-book-wings-rul { position: relative; flex: 1 1 0; min-height: 0; overflow: hidden; }
html.x-book-wings #book .x-book-wings-lines { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
html.x-book-wings #book .x-book-wings-lines path { fill: none; stroke: rgba(255, 209, 0, .35); stroke-width: 1; }
html.x-book-wings #book .x-book-wings-lines path.x-book-wings-ahead { stroke: rgba(255, 255, 255, .14); }
html.x-book-wings #book .x-book-wings-lines circle { fill: #c89b1a; stroke: #262626; stroke-width: 1.5; }
html.x-book-wings #book .x-book-wings-lines circle.x-book-wings-ahead { fill: #5a5a5a; }
html.x-book-wings #book .x-book-wings-line { position: absolute; left: 29px; top: 10px; bottom: 10px; width: 2px; border-radius: 1px; background: #3a3a3a; }
html.x-book-wings #book .x-book-wings-lb { position: absolute; left: 0; width: 22px; transform: translateY(-50%); text-align: right; font-size: 11.5px; line-height: 1; color: #9a9a9a; font-variant-numeric: tabular-nums; }
html.x-book-wings #book .x-book-wings-lb[hidden] { display: none; }
html.x-book-wings #book .x-book-wings-you { position: absolute; left: 0; width: 40px; height: 0; z-index: 1; }
html.x-book-wings #book .x-book-wings-you::after { content: ""; position: absolute; left: 22px; top: -1.5px; width: 16px; height: 3px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 6px rgba(255, 209, 0, .6); }
html.x-book-wings #book .x-book-wings-you b { position: absolute; right: 20px; top: 0; transform: translateY(-50%); font-size: 13px; line-height: 1; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
html.x-book-wings #book .x-book-wings-rul ol { list-style: none; margin: 0; padding: 0; }
html.x-book-wings #book .x-book-wings-rul ol > li { position: absolute; left: 42px; right: 0; top: 0; }
html.x-book-wings #book .x-book-wings-rul ol > li[hidden] { display: none; }
html.x-book-wings #book .x-book-wings-mk {
  display: flex; align-items: center; gap: 7px; width: 100%; padding: 2px 4px 2px 2px; margin: 0; border: 1px solid transparent; border-radius: 6px; background: transparent;
  color: var(--ink); font: 12px/1.2 "Open Sans", system-ui, sans-serif; text-align: left; cursor: pointer; transform: none;
}
html.x-book-wings #book .x-book-wings-mk:hover,
html.x-book-wings #book .x-book-wings-mk:focus-visible { border-color: var(--gold2); background: var(--panel); outline: none; }
html.x-book-wings #book .x-book-wings-mk:active { background: #262626; }
html.x-book-wings #book .x-book-wings-mk img,
html.x-book-wings #book .x-book-wings-mk > i { flex: none; width: 24px; height: 24px; border-radius: 4px; background: #111; }
html.x-book-wings #book .x-book-wings-mt img { box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--gold), 0 0 8px rgba(255, 209, 0, .4); }
html.x-book-wings #book .x-book-wings-mn img { box-shadow: 0 0 0 1px #000, 0 0 0 2px #7fe07a; }
html.x-book-wings #book .x-book-wings-mk > span { display: block; min-width: 0; }
html.x-book-wings #book .x-book-wings-mk b { display: block; font-weight: 600; overflow-wrap: anywhere; }
html.x-book-wings #book .x-book-wings-mk small { display: block; font-size: 11px; line-height: 1.25; color: #9a9a9a; }
html.x-book-wings #book .x-book-wings-mk.x-book-wings-ahead img { filter: grayscale(.6); opacity: .6; }
html.x-book-wings #book .x-book-wings-mk.x-book-wings-ahead b { color: #a8a8a8; }

/* ---- the switch at the top of the right card (the book's own "The book | By level" look, smaller), and the At 60 list ---- */
html.x-book-wings #book .x-book-wings-sw { display: flex; flex: none; margin: 0 0 10px; padding: 3px; border-radius: 5px; background: #1b1b1b; box-shadow: inset 0 0 0 1px #333; }
html.x-book-wings #book .x-book-wings-sw button {
  flex: 1 1 0; min-width: 0; padding: 5px 4px; margin: 0; border: 0; border-radius: 4px; background: none; color: #bdbdbd;
  font: 700 12px/1.4 "Open Sans", system-ui, sans-serif; white-space: nowrap; cursor: pointer; transform: none;
}
html.x-book-wings #book .x-book-wings-sw button:hover { color: var(--ink); }
html.x-book-wings #book .x-book-wings-sw button:focus-visible { outline: 1px solid var(--gold2); outline-offset: 1px; }
html.x-book-wings #book .x-book-wings-sw button[aria-pressed="true"] { background: #5a4a1e; color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold2); }
html.x-book-wings #book .x-book-wings-rc { padding-left: 10px; }
html.x-book-wings #book .x-book-wings-sub { margin: 0 0 4px; padding-left: 4px; font-size: 12.5px; line-height: 1.35; color: #bdbdbd; }
html.x-book-wings #book .x-book-wings-ismax .x-book-wings-gh { padding-left: 4px; }
html.x-book-wings #book .x-book-wings-ismax .x-book-wings-more { padding-left: 4px; }
html.x-book-wings #book .x-book-wings-mx { position: relative; flex: 1 1 0; min-height: 0; overflow: hidden; }
html.x-book-wings #book .x-book-wings-mxi .x-book-wings-sp { padding: 3px 4px; gap: 7px; font-size: 12.5px; }
html.x-book-wings #book .x-book-wings-mxi .x-book-wings-sp img, html.x-book-wings #book .x-book-wings-mxi .x-book-wings-sp > i { width: 24px; height: 24px; }
html.x-book-wings #book .x-book-wings-mxi .x-book-wings-sp small { font-size: 11px; }
html.x-book-wings #book .x-book-wings-empty { position: absolute; left: 44px; right: 0; top: 40%; }

/* (19 Nov 2026, later, Chris: "new right side feels like too much now".) At 60 the card is a small grid of icons, not a list. */
html.x-book-wings #book .x-book-wings-ul.x-book-wings-grid { display: flex; flex-wrap: wrap; gap: 8px; padding: 3px 4px 10px; }
html.x-book-wings #book .x-book-wings-mxi .x-book-wings-sp.x-book-wings-ic { display: block; width: 32px; height: 32px; padding: 1px; border: 0; border-radius: 5px; background: transparent; line-height: 0; }
html.x-book-wings #book .x-book-wings-mxi .x-book-wings-sp.x-book-wings-ic img, html.x-book-wings #book .x-book-wings-mxi .x-book-wings-sp.x-book-wings-ic > i { display: block; width: 30px; height: 30px; }
html.x-book-wings #book .x-book-wings-mxi .x-book-wings-sp.x-book-wings-ic:not(.x-book-wings-yours) img { opacity: .78; }
html.x-book-wings #book .x-book-wings-mxi .x-book-wings-sp.x-book-wings-ic:is(:hover, :focus-visible) { background: transparent; border: 0; }
html.x-book-wings #book .x-book-wings-mxi .x-book-wings-sp.x-book-wings-ic:is(:hover, :focus-visible) img { opacity: 1; box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--gold), 0 0 8px rgba(255, 209, 0, .45); }
html.x-book-wings #book .x-book-wings-ismax .x-book-wings-gh { margin-top: 2px; }

/* 20 Nov 2026: no line ends on one lonely word ("And 4 more on the Your build / page", "Missile / Barrage") */
html.x-book-wings #book .x-book-wings-go,
html.x-book-wings #book .x-book-wings-sub,
html.x-book-wings #book .x-book-wings-sp small { text-wrap: pretty; }

/* 20 Nov 2026, wave six: under "7 new Druid spells", what makes it differ from the New abilities fold's count, in one quiet line
   ("1 is an old spell with a new rank."), so the two never read as a disagreement. The spells' names are its hover text. */
html.x-book-wings #book .x-book-wings-gh > .x-book-wings-nb { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; line-height: 1.35; color: #9a9a9a; text-wrap: pretty; }

/* x: book-yours */
/* book-yours: the spellbook that is yours. Every rule needs a mark only the class pages' book has (#foldSpellbook / #book with
   x-book-yours-on, set by x.js), or a node only this feature writes, so nothing changes on any other page. The book's own materials
   only: its parchment inks (#3a2812, #4a2f10, #7a5a2a), its leather tab, its gold diamond (.rule i), and the site's tokens outside it.
   Pointing changes only light (colour, border, glow); nothing here moves or grows by itself. */

/* ---- the fold's head ---- */
html.x-book-yours #foldSpellbook.x-book-yours-on > summary .ltitle > span:not(.x-book-yours-sub) { display: none; }
html.x-book-yours #foldSpellbook.x-book-yours-on > summary .ltitle > .x-book-yours-sub b { color: var(--ink); font-weight: 700; }
html.x-book-yours #foldSpellbook.x-book-yours-on > summary .ltitle > .x-book-yours-sub .x-book-yours-new { font-style: normal; color: var(--gold); }
html.x-book-yours #foldSpellbook.x-book-yours-on > summary .ltitle > .x-book-yours-sub .x-book-yours-new b { color: var(--gold); }
html.x-book-yours #foldSpellbook.x-book-yours-on:not(.x-book-yours-fanon) > summary > .x-book-yours-fan { display: none; }
html.x-book-yours #foldSpellbook.x-book-yours-fanon > summary > .lfan:not(.x-book-yours-fan) { display: none; }
/* "Your Mage spellbook" once a point is spent; the page's own title as it was before */
html.x-book-yours #foldSpellbook .ltitle-h > .x-book-yours-ttl { display: none; }
html.x-book-yours #foldSpellbook.x-book-yours-own .ltitle-h > strong:not(.x-book-yours-ttl) { display: none; }
html.x-book-yours #foldSpellbook.x-book-yours-own .ltitle-h > .x-book-yours-ttl { display: inline; }

/* ---- the book's rows: yours, changed by your talents, not yet trainable ---- */
html.x-book-yours #book.x-book-yours-on li.x-book-yours-yours > .tal,
html.x-book-yours #book.x-book-yours-on li.x-book-yours-soon > .tal { display: none; }
html.x-book-yours #book.x-book-yours-on li > .x-book-yours-tag {
  position: absolute; left: 3px; top: -3px; z-index: 1; font-family: Cinzel, Georgia, serif; font-size: 8px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; line-height: 1.3; padding: 1px 4px; border-radius: 3px; color: #3a2612; background: linear-gradient(#ffe08a, #c9973a);
  box-shadow: 0 0 0 1px var(--gold), 0 0 8px rgba(255, 209, 0, .7); white-space: nowrap;
}
html.x-book-yours #book.x-book-yours-on li > .x-book-yours-tag.x-book-yours-tsoon { color: #4a2f10; background: #e9d6a8; box-shadow: 0 0 0 1px #7a5a2a; }
html.x-book-yours #book.x-book-yours-on li.x-book-yours-yours .ico,
html.x-book-yours #book.x-book-yours-on li.x-book-yours-chg .ico {
  box-shadow: 0 0 0 1px #1a1008, 0 0 0 2px var(--gold), 0 0 0 3px #3a2612, 0 0 10px 2px rgba(255, 209, 0, .5);
}
/* the gold diamond on the icon's corner: a button that shows the talent in the trees */
html.x-book-yours #book.x-book-yours-on li > .x-book-yours-mk {
  position: absolute; left: 32px; top: calc(50% + 6px); z-index: 2; width: 22px; height: 22px; padding: 0; margin: 0; border: 0; background: transparent;
  cursor: pointer; display: grid; place-items: center; transform: none;
}
html.x-book-yours #book.x-book-yours-on li > .x-book-yours-mk::before {
  content: ""; width: 9px; height: 9px; transform: rotate(45deg); background: linear-gradient(135deg, #ffe08a, #b0842e);
  box-shadow: 0 0 0 1px #6b4a1a, 0 0 6px rgba(255, 209, 0, .6); transition: box-shadow .15s;
}
html.x-book-yours #book.x-book-yours-on li > .x-book-yours-mk:hover::before,
html.x-book-yours #book.x-book-yours-on li > .x-book-yours-mk:focus-visible::before { box-shadow: 0 0 0 1px #3a2612, 0 0 0 2px #ffd75e, 0 0 10px 3px rgba(255, 209, 0, .8); }
html.x-book-yours #book.x-book-yours-on li > .x-book-yours-mk:focus-visible { outline: 2px solid #8a5a10; outline-offset: 0; border-radius: 4px; }
html.x-book-yours #book.x-book-yours-on .bylv li > .x-book-yours-mk { left: 32px; }
html.x-book-yours #book.x-book-yours-on li.x-book-yours-nott > .ico,
html.x-book-yours #book.x-book-yours-on li.x-book-yours-nott > .txt,
html.x-book-yours #book.x-book-yours-on li.x-book-yours-notyet > .ico,
html.x-book-yours #book.x-book-yours-on li.x-book-yours-notyet > .txt { opacity: .5; }
html.x-book-yours #book.x-book-yours-on li.x-book-yours-nott > .ico img,
html.x-book-yours #book.x-book-yours-on li.x-book-yours-notyet > .ico img { filter: grayscale(.7); }
html.x-book-yours #book.x-book-yours-on .sgrid .lv i.x-book-yours-later { opacity: .38; }
html.x-book-yours #book.x-book-yours-on .sgrid .lv i.x-book-yours-later.cur { opacity: .55; }

/* ---- the Your build tab, the book's own leather tab ---- */
html.x-book-yours #book.x-book-yours-on .btabs > .x-book-yours-tab {
  position: relative; width: 54px; height: 54px; border: 0; padding: 0; cursor: pointer; border-radius: 0 9px 9px 0; color: inherit;
  background: linear-gradient(90deg, #170c07, #3a2415); box-shadow: inset 0 0 0 1px #6b4a22, 2px 2px 6px rgba(0, 0, 0, .55); transform: none;
}
html.x-book-yours #book.x-book-yours-on .x-book-yours-mos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 36px; height: 36px; margin: 0 auto; border-radius: 4px; overflow: hidden;
  background: #0a0704; box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--gold2); opacity: .85;
}
html.x-book-yours #book.x-book-yours-on .x-book-yours-mos[data-n="1"] { grid-template-columns: 1fr; gap: 0; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-mos img { width: 100%; height: 100%; display: block; object-fit: cover; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-tab.x-book-yours-dim .x-book-yours-mos { opacity: .55; box-shadow: 0 0 0 1px #000, 0 0 0 2px #7a5a2a; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-tab:hover .x-book-yours-mos,
html.x-book-yours #book.x-book-yours-on .x-book-yours-tab:focus-visible .x-book-yours-mos,
html.x-book-yours #book.x-book-yours-on .x-book-yours-tab.x-book-yours-sel .x-book-yours-mos { opacity: 1; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-tab.x-book-yours-sel { box-shadow: inset 0 0 0 1px #ffd75e, 0 0 14px rgba(255, 200, 80, .5); }
html.x-book-yours #book.x-book-yours-on .x-book-yours-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-tl2 {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: #170c07; color: #ffd75e;
  font-family: Cinzel, Georgia, serif; font-size: 11px; padding: 4px 9px; border-radius: 4px; box-shadow: 0 0 0 1px #7a5a2a, 0 4px 10px rgba(0, 0, 0, .6);
  opacity: 0; pointer-events: none;
}
html.x-book-yours #book.x-book-yours-on .x-book-yours-tab:hover .x-book-yours-tl2,
html.x-book-yours #book.x-book-yours-on .x-book-yours-tab:focus-visible .x-book-yours-tl2 { opacity: 1; }
/* while the Your build page is open, the school tab it came from rests */
html.x-book-yours #book.x-book-yours-pg .btab.on { transform: none; animation: none; box-shadow: inset 0 0 0 1px #6b4a22, 2px 2px 6px rgba(0, 0, 0, .55); }
html.x-book-yours #book.x-book-yours-pg .btab.on img { opacity: .7; }
html.x-book-yours #book.x-book-yours-pg .btab.on span { opacity: 0; }
html.x-book-yours #book.x-book-yours-pg .btab:hover span { opacity: 1; }

/* ---- the Your build page, drawn on the book's own page: what your talents add, then each talent and the spells it changes ---- */
html.x-book-yours #book.x-book-yours-on .page > .x-book-yours-face { display: none; }
html.x-book-yours #book.x-book-yours-pg .page > .pgface { display: none; }
html.x-book-yours #book.x-book-yours-pg .page > .x-book-yours-face {
  display: flex; flex-direction: column; flex: 1; position: relative; z-index: 1; min-width: 0; padding: 22px 26px 16px 32px; color: #3a2812; outline: none;
}
html.x-book-yours #book.x-book-yours-pg .x-book-yours-ents { list-style: none; margin: 10px 0 0; padding: 0; columns: 2; column-gap: 64px; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-ent { break-inside: avoid; margin: 0 0 14px; padding: 0; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-eh { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-family: Cinzel, Georgia, serif; font-size: 13px; font-weight: 700; color: #4a2f10; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-et {
  display: flex; align-items: center; gap: 9px; min-width: 0; padding: 2px 6px 2px 2px; margin: 0; border: 1px solid transparent; border-radius: 6px; background: transparent;
  color: #3a2812; font: inherit; text-align: left; cursor: pointer; transform: none; transition: border-color .15s, background-color .15s;
}
html.x-book-yours #book.x-book-yours-pg .x-book-yours-et img { flex: none; width: 28px; height: 28px; border-radius: 4px; box-shadow: 0 0 0 1px #1a1008, 0 0 0 2px var(--gold), 0 0 0 3px #3a2612; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-et b { font-family: Cinzel, Georgia, serif; font-size: 14px; color: #2a1a08; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-et small { font-family: "Open Sans", system-ui, sans-serif; font-size: 11px; font-weight: 600; color: #7a5a2a; white-space: nowrap; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-et:hover,
html.x-book-yours #book.x-book-yours-pg .x-book-yours-et:focus-visible { border-color: #b0842e; background: rgba(255, 236, 180, .55); outline: none; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-rd,
html.x-book-yours #book.x-book-yours-pg .x-book-yours-take {
  flex: none; margin-left: auto; padding: 2px 9px; border: 1px solid rgba(176, 132, 46, .75); border-radius: 999px; background: rgba(90, 60, 20, .08);
  font: 600 11px/1.3 "Open Sans", system-ui, sans-serif; color: #4a2f10; cursor: pointer; transform: none; transition: border-color .15s, background-color .15s;
}
html.x-book-yours #book.x-book-yours-pg .x-book-yours-rd:hover, html.x-book-yours #book.x-book-yours-pg .x-book-yours-rd:focus-visible,
html.x-book-yours #book.x-book-yours-pg .x-book-yours-take:hover, html.x-book-yours #book.x-book-yours-pg .x-book-yours-take:focus-visible { border-color: #8a5a10; background: rgba(255, 236, 180, .8); color: #2a1a08; outline: none; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-eq { margin: 0 0 8px 2px; padding: 6px 9px; border-left: 2px solid #b0842e; font-size: 12.5px; line-height: 1.45; color: #3a2812; background: rgba(255, 236, 180, .35); border-radius: 0 6px 6px 0; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-eq[hidden] { display: none; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-scs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-ent:not(.x-book-yours-adds) > .x-book-yours-scs { padding-left: 39px; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-ent:not(.x-book-yours-adds) > .x-book-yours-eq { margin-left: 39px; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-cv { font-size: 11px; font-weight: 600; color: #7a5a2a; margin-right: 2px; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-sc {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 2px 8px 2px 2px; margin: 0; border: 1px solid rgba(176, 132, 46, .6); border-radius: 6px;
  background: rgba(90, 60, 20, .08); color: #3a2812; font: 600 12px/1.25 "Open Sans", system-ui, sans-serif; text-align: left; cursor: pointer; transform: none;
  transition: border-color .15s, background-color .15s;
}
html.x-book-yours #book.x-book-yours-pg .x-book-yours-sc img { flex: none; width: 24px; height: 24px; border-radius: 3px; box-shadow: 0 0 0 1px #1a1008; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-sc small { font-weight: 600; font-size: 10.5px; color: #7a5a2a; white-space: nowrap; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-sc:hover,
html.x-book-yours #book.x-book-yours-pg .x-book-yours-sc:focus-visible { border-color: #8a5a10; background: rgba(255, 236, 180, .8); outline: none; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-adds .x-book-yours-sc:not(.x-book-yours-scd) img { box-shadow: 0 0 0 1px #1a1008, 0 0 0 2px var(--gold), 0 0 8px rgba(255, 209, 0, .55); }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-scd img { filter: grayscale(.6); opacity: .75; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-cw { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 6px 4px 0; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-cw .x-book-yours-take { margin-left: 0; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-ent.x-book-yours-adds { column-span: none; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-face .pgfoot { margin-top: auto; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-face .pgfoot button:hover:not(:disabled) { transform: none; }
@media (max-width: 760px) {
  html.x-book-yours #book.x-book-yours-pg .page > .x-book-yours-face { padding: 16px 12px 12px 16px; }
  html.x-book-yours #book.x-book-yours-pg .x-book-yours-ents { columns: 1; }
}

/* ---- your level and what you train next ---- */
html.x-book-yours #book.x-book-yours-on .x-book-yours-lvl { box-sizing: border-box; color: var(--ink); text-align: left; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-in { box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel2); }
html.x-book-yours #book.x-book-yours-on .x-book-yours-lh { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-lh label { display: flex; align-items: baseline; gap: 7px; font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 14px; color: #ffd75e; white-space: nowrap; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-lh label b { font-size: 18px; color: var(--gold); font-variant-numeric: tabular-nums; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-ls { font-size: 12.5px; color: var(--muted); }
html.x-book-yours #book.x-book-yours-on .x-book-yours-ls:empty { display: none; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-lvb {
  margin-left: auto; padding: 4px 12px; border: 1px solid var(--gold2); border-radius: 999px; background: transparent; color: var(--gold);
  font: 600 12px/1.2 "Open Sans", system-ui, sans-serif; cursor: pointer; white-space: nowrap; transform: none; transition: border-color .15s, background-color .15s;
}
html.x-book-yours #book.x-book-yours-on .x-book-yours-lvb:hover,
html.x-book-yours #book.x-book-yours-on .x-book-yours-lvb:focus-visible { border-color: var(--gold); background: rgba(255, 209, 0, .12); outline: none; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-dial { display: none; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-lvl.x-book-yours-open .x-book-yours-dial { display: block; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-dial input { display: block; width: 100%; margin: 8px 0 2px; accent-color: var(--gold); cursor: pointer; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-need { margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--ink); }
html.x-book-yours #book.x-book-yours-on .x-book-yours-need b { color: var(--gold); }
html.x-book-yours #book.x-book-yours-on .x-book-yours-nh { margin: 10px 0 6px; font-size: 13px; color: var(--ink); }
html.x-book-yours #book.x-book-yours-on .x-book-yours-nh b { color: var(--gold); }
html.x-book-yours #book.x-book-yours-on .x-book-yours-next ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-next button {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 4px 6px; border: 1px solid transparent; border-radius: 6px; background: transparent;
  color: var(--ink); font: 13px/1.25 "Open Sans", system-ui, sans-serif; text-align: left; cursor: pointer; transform: none; transition: border-color .15s, background-color .15s;
}
html.x-book-yours #book.x-book-yours-on .x-book-yours-next button:hover,
html.x-book-yours #book.x-book-yours-on .x-book-yours-next button:focus-visible { border-color: var(--gold2); background: var(--panel); outline: none; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-next img,
html.x-book-yours #book.x-book-yours-on .x-book-yours-next button > i { flex: none; width: 26px; height: 26px; border-radius: 4px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #5a4a2a; background: #111; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-next b { font-weight: 600; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-next small { color: var(--muted); font-size: 12px; white-space: nowrap; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-src { margin: 8px 0 0; font-size: 11px; color: var(--muted); }
html.x-book-yours #book.x-book-yours-on .x-book-yours-next:empty { display: none; }
/* on the parchment (the Your build page, 641 to 1279 wide): the book's inks, one band over the entries */
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot > .x-book-yours-lvl { margin: 0 0 6px; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-in {
  padding: 4px 0 10px; border: 0; border-bottom: 1px solid rgba(90, 60, 20, .3); border-radius: 0; background: transparent; color: #3a2812;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 4px 26px; align-items: start;
}
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-lvl.x-book-yours-all .x-book-yours-in { display: block; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-next { grid-column: 2; grid-row: 1 / span 2; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-lh label,
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-lh label b { color: #4a2f10; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-ls,
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-need { color: #3a2812; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-need b,
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-nh b { color: #4a2f10; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-lvb { color: #4a2f10; border-color: rgba(176, 132, 46, .75); }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-lvb:hover,
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-lvb:focus-visible { border-color: #8a5a10; background: rgba(255, 236, 180, .8); }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-dial input { accent-color: #8a5a10; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-nh { margin-top: 0; color: #3a2812; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-next ul { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-next button { color: #3a2812; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-next button:hover,
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-next button:focus-visible { border-color: #b0842e; background: rgba(255, 236, 180, .6); }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-next small,
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-src { color: #7a5a2a; }
/* craft pass, 17 Nov (lab/x/craft): one rhythm in Train next (each spell's rank on its own line under its name, so every row
   is the same height), the site's icon frame (#000 and #3a3a3a, no brown ring), 13 px for what the reader reads and 12 px
   for the one quiet source line, a press on every button. */
html.x-book-yours #book.x-book-yours-on .x-book-yours-next button { align-items: center; padding: 4px 6px; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-next button > span { display: block; min-width: 0; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-next small { display: block; font-size: 12px; line-height: 1.3; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-next img,
html.x-book-yours #book.x-book-yours-on .x-book-yours-next button > i { box-shadow: 0 0 0 1px #000, 0 0 0 2px #3a3a3a; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-next button:active { background: #262626; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-need { font-size: 13px; color: #bdbdbd; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-nh { font-weight: 600; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-nh b { font-size: 15px; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-src { font-size: 12px; line-height: 1.4; color: #9a9a9a; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-ls { font-size: 13px; color: #bdbdbd; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-lvb:active { background: rgba(255, 209, 0, .2); }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-et small { font-size: 12px; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-rd,
html.x-book-yours #book.x-book-yours-pg .x-book-yours-take { font-size: 12px; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-cv { font-size: 12px; font-style: italic; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-sc { font-size: 12.5px; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-sc small { font-size: 11px; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-sc:active,
html.x-book-yours #book.x-book-yours-pg .x-book-yours-rd:active { background: rgba(255, 236, 180, 1); }
html.x-book-yours #book > .bkctl > .x-book-yours-bi { display: none; }
/* beside the book from 1280 wide: the margin that stood empty holds it, only as tall as what it says, and the fold is no taller */
@media (min-width: 1280px) {
  html.x-book-yours #book.x-book-yours-side { display: grid; grid-template-columns: 210px minmax(0, 920px); column-gap: 18px; justify-content: center; max-width: 1180px; }
  html.x-book-yours #book.x-book-yours-side > * { grid-column: 2; min-width: 0; }
  html.x-book-yours #book.x-book-yours-side > .bkctl { margin: 0; max-width: none; }
  html.x-book-yours #book.x-book-yours-side > .bkctl > .v2bi { flex: 0 0 auto; }
  /* the school's name is the open page's own title: beside the book the bar says "This tab:" and its counts (x.js bar(), which
     follows every tab press), so the search keeps its room and the counts never read as the whole class's (20 Nov 2026) */
  html.x-book-yours #book.x-book-yours-side > .bkctl > .v2bi { display: none; }
  html.x-book-yours #book.x-book-yours-side > .bkctl > .x-book-yours-bi { display: inline; flex: 0 0 auto; font-size: 12.5px; color: #a69f8c; white-space: nowrap; text-align: center; }
  html.x-book-yours #book.x-book-yours-side > .bkctl > .x-book-yours-bi em { font-style: normal; font-weight: 700; }
  html.x-book-yours #book.x-book-yours-side > .bkctl > .x-book-yours-bi em.n { color: #7fe07a; }
  html.x-book-yours #book.x-book-yours-side > .bkctl > .x-book-yours-bi em.r { color: #ffb84d; }
  html.x-book-yours #book.x-book-yours-side > .x-book-yours-lvl { grid-column: 1; grid-row: 1 / span 2; contain: size; }
  html.x-book-yours #book.x-book-yours-side > .x-book-yours-lvl > .x-book-yours-in { max-height: 100%; overflow: auto; scrollbar-width: thin; padding: 12px 14px; }
  html.x-book-yours #book.x-book-yours-side > .x-book-yours-lvl .x-book-yours-dial { display: block; }
  html.x-book-yours #book.x-book-yours-side > .x-book-yours-lvl .x-book-yours-lvb { display: none; }
  html.x-book-yours #book.x-book-yours-side > .x-book-yours-lvl .x-book-yours-lh label b { font-size: 22px; }
  html.x-book-yours #book.x-book-yours-side > .x-book-yours-lvl .x-book-yours-ls { flex-basis: 100%; }
  html.x-book-yours #book.x-book-yours-side.x-book-yours-vpet > .x-book-yours-lvl,
  html.x-book-yours #book.x-book-yours-side.x-book-yours-vforms > .x-book-yours-lvl { visibility: hidden; }
  /* (wave nine) By level: the card stands over the list, the list's width, and holds what it says */
  html.x-book-yours #book.x-book-yours-side.x-book-yours-vlevel > .x-book-yours-lvl { grid-column: 2; grid-row: auto; contain: none; visibility: visible; }
  html.x-book-yours #book.x-book-yours-side.x-book-yours-vlevel > .x-book-yours-lvl > .x-book-yours-in { max-height: none; overflow: visible; }
  html.x-book-yours #book.x-book-yours-side.x-book-yours-vlevel > .x-book-yours-lvl .x-book-yours-ls { flex-basis: auto; }
}
/* a phone: one line between the book's controls and the book, once the reader opens the fold; the dial opens on Change level */
@media (max-width: 640px) {
  html.x-book-yours #book.x-book-yours-on > .x-book-yours-lvl { margin: 10px 0 12px; }
  html.x-book-yours #book.x-book-yours-on > .x-book-yours-lvl .x-book-yours-in { padding: 8px 10px; }
  html.x-book-yours #book.x-book-yours-on.x-book-yours-vpet > .x-book-yours-lvl,
  html.x-book-yours #book.x-book-yours-on.x-book-yours-vforms > .x-book-yours-lvl { display: none; }
  html.x-book-yours #book.x-book-yours-on .sgrid .txt b { white-space: normal; }
}

/* ---- the tooltip's Your talents ---- */
html.x-book-yours .stt .x-book-yours-tt { margin-top: 8px; padding-top: 7px; border-top: 1px solid rgba(200, 186, 140, .35); }
html.x-book-yours .stt .x-book-yours-tth { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 12px; letter-spacing: .04em; color: #ffd75e; margin-bottom: 3px; }
html.x-book-yours .stt .x-book-yours-tth span { font-family: "Open Sans", system-ui, sans-serif; font-weight: 400; letter-spacing: 0; font-size: 11px; color: #a8a8a8; }
html.x-book-yours .stt .x-book-yours-tl { display: grid; grid-template-columns: 22px 1fr; gap: 5px 8px; align-items: start; margin: 5px 0; }
html.x-book-yours .stt .x-book-yours-tl img { width: 22px; height: 22px; border-radius: 3px; box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--gold2); }
html.x-book-yours .stt .x-book-yours-tl p { margin: 0; font-size: 12.5px; line-height: 1.4; color: #fff; }
html.x-book-yours .stt .x-book-yours-tl b { color: var(--gold); }
html.x-book-yours .stt .x-book-yours-tl small { font-size: 11px; font-weight: 700; color: #c8a64a; }
html.x-book-yours .stt .x-book-yours-tl.x-book-yours-not p { color: var(--ink); }
html.x-book-yours .stt .x-book-yours-tn {
  display: inline; padding: 0 2px; margin: 0 0 0 -2px; border: 0; border-radius: 3px; background: transparent; color: var(--gold); font: 700 12.5px/1.4 "Open Sans", system-ui, sans-serif;
  text-decoration: underline dotted rgba(255, 209, 0, .7); text-underline-offset: 3px; cursor: pointer; transform: none; transition: background-color .15s;
}
html.x-book-yours .stt .x-book-yours-tn:hover, html.x-book-yours .stt .x-book-yours-tn:focus-visible { background: rgba(255, 209, 0, .14); outline: none; }
html.x-book-yours .stt .x-book-yours-all,
html.x-book-yours .stt .x-book-yours-more {
  padding: 0 2px; margin: 0; border: 0; background: transparent; color: #c8c8c8; font: 600 11.5px/1.4 "Open Sans", system-ui, sans-serif;
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer; transform: none;
}
html.x-book-yours .stt .x-book-yours-more { display: block; margin: 2px 0 0 30px; }
html.x-book-yours .stt .x-book-yours-all:hover, html.x-book-yours .stt .x-book-yours-all:focus-visible,
html.x-book-yours .stt .x-book-yours-more:hover, html.x-book-yours .stt .x-book-yours-more:focus-visible { color: var(--gold); outline: none; }
html.x-book-yours .stt .x-book-yours-oth { margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: #c8c8c8; }

/* ---- the talent's own tooltip in the tree: the line that says it writes in your book ---- */
html.x-book-yours #tip .x-book-yours-tg,
html.x-book-yours #ghost .x-book-yours-tg { margin: 6px 0 2px; font-size: 12.5px; line-height: 1.35; color: #e8d9a8; }
html.x-book-yours #tip .x-book-yours-tg::before,
html.x-book-yours #ghost .x-book-yours-tg::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 1px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 6px rgba(255, 209, 0, .6);
}
html.x-book-yours #tip .x-book-yours-tg b,
html.x-book-yours #ghost .x-book-yours-tg b { color: var(--gold); }
html.x-book-yours #tip .x-book-yours-tg.x-book-yours-tgon,
html.x-book-yours #ghost .x-book-yours-tg.x-book-yours-tgon { color: var(--gold); }

/* ---- Show the talent: a gold light on it in the tree, that fades by itself ---- */
html.x-book-yours #trees .talent > .x-book-yours-ring {
  position: absolute; inset: -4px; z-index: 5; border-radius: 8px; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 2px var(--gold), 0 0 18px 5px rgba(255, 209, 0, .6);
}
html.x-book-yours #trees .talent > .x-book-yours-ring.x-book-yours-lit { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  html.x-book-yours #trees .talent > .x-book-yours-ring { transition: opacity .2s ease-out; }
  html.x-book-yours #foldSpellbook.x-book-yours-on .x-book-yours-new { animation: x-book-yours-in .18s ease-out; }
}
@keyframes x-book-yours-in { from { opacity: 0; } to { opacity: 1; } }

/* 20 Nov 2026, wave six: the schools are named and at the top of the book on a phone and a small tablet (to 760 wide, where the
   book stands in one column). The page's own tab buttons, only placed and lit by these rules (order within the book's own box):
   each its real icon whole as a box and its name whole, the open one lit in gold, 36 px tall. Under them the page, as before.
   Nothing moves when one is pressed: the open tab only changes its light. */
@media (max-width: 760px) {
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs {
    order: -1; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 5px; padding: 0 0 10px;
  }
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs > .btab,
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs > .x-book-yours-tab {
    flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: flex-start; gap: 5px; width: auto; min-width: 0; height: 34px;
    padding: 0 7px 0 4px; border-radius: 7px; transform: none; animation: none; transition: box-shadow .15s ease-out, background-color .15s ease-out;
    background: linear-gradient(180deg, #2a1810, #170c07); box-shadow: inset 0 0 0 1px #6b4a22;
  }
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs > .btab:active,
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs > .x-book-yours-tab:active { transform: none; background: #120904; }
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs > .btab > img {
    flex: none; width: 24px; height: 24px; max-width: none; max-height: none; margin: 0; border-radius: 3px; opacity: .8; box-shadow: 0 0 0 1px #000, 0 0 0 2px #7a5a2a;
  }
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs > .btab > span,
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs > .x-book-yours-tab > .x-book-yours-tl2 {
    display: inline; position: static; transform: none; opacity: 1; padding: 0; background: none; box-shadow: none; border-radius: 0; pointer-events: none;
    font-family: Cinzel, Georgia, serif; font-size: 11px; font-weight: 700; line-height: 1.15; color: #e3cf9c; white-space: nowrap;
  }
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs > .btab.on,
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs > .x-book-yours-tab.x-book-yours-sel {
    background: linear-gradient(180deg, #4a2e16, #2a170b); box-shadow: inset 0 0 0 1px #ffd75e, 0 0 10px rgba(255, 200, 80, .45);
  }
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs > .btab.on > img { opacity: 1; box-shadow: 0 0 0 1px #000, 0 0 0 2px #ffd75e; }
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs > .btab.on > span,
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs > .x-book-yours-tab.x-book-yours-sel > .x-book-yours-tl2 { color: #ffd75e; }
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs > .btab:focus-visible,
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs > .x-book-yours-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  /* while the Your build page is open, the school it came from rests (its name stays) */
  html.x-book-yours #book.x-book-yours-pg > .bookcover > .btabs > .btab.on { background: linear-gradient(180deg, #2a1810, #170c07); box-shadow: inset 0 0 0 1px #6b4a22; }
  html.x-book-yours #book.x-book-yours-pg > .bookcover > .btabs > .btab.on > span { opacity: 1; color: #e3cf9c; }
  html.x-book-yours #book.x-book-yours-on > .bookcover > .btabs > .x-book-yours-tab .x-book-yours-mos { flex: none; width: 24px; height: 24px; margin: 0; }
  /* the page under the tabs: the cover's top padding now sits above the tabs */
  html.x-book-yours #book.x-book-yours-on > .bookcover { padding-bottom: 12px; }
}
/* The Hunter's pet and the Warlock's demons have one door: the "Pet" / "Demons" switch at the top of the book (their own page,
   grouped by family or by demon, with the pet's level), on phones and computers alike. The book's own Pets or Demons tab, which
   opened the same spells as plain pages, rests (the pager still turns to those pages). x.js marks it. */
html.x-book-yours #book.x-book-yours-on .btabs > .btab.x-book-yours-pettab { display: none; }

/* 20 Nov 2026: no line ends on one lonely word ("Every rank the trainer sells is / yours." beside the book at 1440) */
html.x-book-yours #book.x-book-yours-on .x-book-yours-ls,
html.x-book-yours #book.x-book-yours-on .x-book-yours-need,
html.x-book-yours #book.x-book-yours-on .x-book-yours-src { text-wrap: pretty; }
/* 21 Nov 2026: the door to the video leveling guide at this level, a plain gold link in the source line */
html.x-book-yours #book.x-book-yours-on .x-book-yours-src .x-book-yours-lvg { display: inline-block; color: #ffd100; font-weight: 600; text-decoration: none; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-src .x-book-yours-lvg:hover { text-decoration: underline; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-src .x-book-yours-lvg { color: #6b3a00; }

/* 20 Nov 2026 (level-7): the trainer list says the level's own ranks ("At 24 your trainer has") and keeps a talent's own spell apart */
html.x-book-yours #book.x-book-yours-on .x-book-yours-tlh { margin: 8px 0 4px; font-size: 12px; font-weight: 600; color: #bdbdbd; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-next ul + .x-book-yours-nh { margin-top: 12px; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-tlh { color: #7a5a2a; }

/* ---- 20 Nov 2026, wave nine: the book for a leveling player ---- */
/* By level: the level card stands over the list (x.js place()), so the list's own slider rests; its talent box and count stay */
html.x-book-yours #book.x-book-yours-vlevel > .x-book-yours-lvl { margin: 10px 0 12px; }
html.x-book-yours #book.x-book-yours-vlevel > .bylv > .lvhead > label:first-child { display: none; }
html.x-book-yours #book.x-book-yours-vlevel .x-book-yours-next ul { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
/* "New in Forever" in the trainer list: the book's own green, a word, not a tag */
html.x-book-yours #book.x-book-yours-on .x-book-yours-next small .x-book-yours-nf { font-style: normal; font-weight: 600; color: #7fe07a; white-space: nowrap; }
html.x-book-yours #book.x-book-yours-pg .x-book-yours-slot .x-book-yours-next small .x-book-yours-nf { color: #2f6a1e; }

/* One look for every level setting: the pet's (and the Demons') slider wears the book card's look, its label on one line */
html.x-book-yours #book.x-book-yours-on > .bypet > .lvhead {
  display: block; box-sizing: border-box; padding: 10px 12px; margin: 10px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel2);
}
html.x-book-yours #book.x-book-yours-on > .bypet > .lvhead > label:first-child {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 7px; width: 100%; margin: 0; font-family: Cinzel, Georgia, serif; font-weight: 700;
  font-size: 14px; line-height: 1.3; color: #ffd75e; white-space: nowrap;
}
html.x-book-yours #book.x-book-yours-on > .bypet > .lvhead > label:first-child > b { font-size: 18px; color: var(--gold); font-variant-numeric: tabular-nums; min-width: 0; }
html.x-book-yours #book.x-book-yours-on > .bypet > .lvhead > label:first-child > input {
  flex: 1 0 100%; width: 100%; max-width: none; margin: 8px 0 2px; accent-color: var(--gold); cursor: pointer;
}
html.x-book-yours #book.x-book-yours-on > .bypet > .lvhead > .lvsum { display: block; margin: 4px 0 0; font-size: 13px; color: #bdbdbd; }

/* the pet page's note: one line, the rest behind a small plus fold (the page's own note rests, x.js) */
html.x-book-yours #book.x-book-yours-on > .bypet > p.petnote.x-book-yours-pnr { display: none; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-pn { margin: 0 0 12px; font-size: 13px; line-height: 1.45; color: #bdbdbd; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-pn > p { margin: 0; text-wrap: pretty; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-pn summary {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; list-style: none; cursor: pointer; color: #c8c8c8; font-weight: 600; font-size: 12.5px;
}
html.x-book-yours #book.x-book-yours-on .x-book-yours-pn summary::-webkit-details-marker { display: none; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-pls {
  display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--gold2); color: var(--gold); font-size: 13px; line-height: 1;
}
html.x-book-yours #book.x-book-yours-on .x-book-yours-pn details[open] .x-book-yours-pls { transform: rotate(45deg); }
html.x-book-yours #book.x-book-yours-on .x-book-yours-pn summary:hover,
html.x-book-yours #book.x-book-yours-on .x-book-yours-pn summary:focus-visible { color: var(--gold); outline: none; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-pn details > p { margin: 6px 0 0; text-wrap: pretty; }

/* ---- a Druid's forms: the Forms switch (the page's own switch look) and its page, the same make as the pet page ---- */
html.x-book-yours #book.x-book-yours-vforms > .bookcover,
html.x-book-yours #book.x-book-yours-vforms > .bylv,
html.x-book-yours #book.x-book-yours-vforms > .bypet { display: none; }
html.x-book-yours #book .x-book-yours-forms[hidden] { display: none; }
html.x-book-yours #book.x-book-yours-on:not(.x-book-yours-vforms) > .x-book-yours-forms { display: none; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-forms { box-sizing: border-box; margin: 10px 0 0; color: var(--ink); text-align: left; }
html.x-book-yours #book .x-book-yours-fsub { margin: 0 0 10px; font-size: 13px; line-height: 1.45; color: #bdbdbd; text-wrap: pretty; }
html.x-book-yours #book .x-book-yours-fl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
html.x-book-yours #book .x-book-yours-fm { box-sizing: border-box; min-width: 0; padding: 10px 12px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel2); }
html.x-book-yours #book .x-book-yours-fh {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 2px; margin: 0 0 8px; border: 1px solid transparent; border-radius: 7px; background: transparent;
  color: var(--ink); font: inherit; text-align: left; cursor: pointer; transform: none; transition: border-color .15s, background-color .15s;
}
html.x-book-yours #book .x-book-yours-fh img, html.x-book-yours #book .x-book-yours-fh > i { flex: none; width: 36px; height: 36px; border-radius: 5px; box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--gold2); background: #111; }
html.x-book-yours #book .x-book-yours-fh > span { display: block; min-width: 0; }
html.x-book-yours #book .x-book-yours-fh b { display: block; font-family: Cinzel, Georgia, serif; font-size: 15px; font-weight: 700; color: #ffd75e; line-height: 1.25; }
html.x-book-yours #book .x-book-yours-fh small { display: block; font-size: 12.5px; line-height: 1.3; color: #bdbdbd; }
html.x-book-yours #book .x-book-yours-fh:hover, html.x-book-yours #book .x-book-yours-fh:focus-visible { border-color: var(--gold2); background: var(--panel); outline: none; }
html.x-book-yours #book .x-book-yours-fmd .x-book-yours-fh img { filter: grayscale(.7); opacity: .6; }
html.x-book-yours #book .x-book-yours-fn { margin: 0 0 0 2px; font-size: 12.5px; line-height: 1.4; color: #9a9a9a; }
html.x-book-yours #book .x-book-yours-fb { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
html.x-book-yours #book .x-book-yours-fc {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 2px 8px 2px 2px; margin: 0; border: 1px solid var(--line); border-radius: 6px; background: #1b1b1b;
  color: var(--ink); font: 600 12.5px/1.25 "Open Sans", system-ui, sans-serif; text-align: left; cursor: pointer; transform: none; transition: border-color .15s, background-color .15s;
}
html.x-book-yours #book .x-book-yours-fc img, html.x-book-yours #book .x-book-yours-fc > i { flex: none; width: 26px; height: 26px; border-radius: 4px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #3a3a3a; background: #111; }
html.x-book-yours #book .x-book-yours-fc:hover, html.x-book-yours #book .x-book-yours-fc:focus-visible { border-color: var(--gold2); background: var(--panel); outline: none; }
html.x-book-yours #book .x-book-yours-fc:active, html.x-book-yours #book .x-book-yours-fh:active { background: #262626; }
html.x-book-yours #book .x-book-yours-fcd { color: #9a9a9a; }
html.x-book-yours #book .x-book-yours-fcd img { filter: grayscale(.7); opacity: .6; }
/* the level line: "Your level 30" and Change level on one row, what it is set to on the row under them */
html.x-book-yours #book.x-book-yours-on .x-book-yours-lh > .x-book-yours-ls { order: 3; flex-basis: 100%; }
html.x-book-yours #book.x-book-yours-on .x-book-yours-pn summary { border: 0; padding: 0; }
/* the forms page has no tab open: the bar's "This tab:" count rests while it shows */
html.x-book-yours #book.x-book-yours-vforms > .bkctl > .x-book-yours-bi,
html.x-book-yours #book.x-book-yours-vforms > .bkctl > .v2bi { visibility: hidden; }
/* the Druid's switch holds three words (The book, By level, Forms): on a phone its buttons sit a little closer, so the search box
   keeps its place beside it as on the Hunter's (The book, By level, Pet) */
@media (max-width: 640px) {
  html.x-book-yours #book.x-book-yours-on > .bkctl > .seg.x-book-yours-fseg > button { padding-left: 6px; padding-right: 6px; }
}

/* x: build-picture */
/* build-picture: your build as a picture (15 Nov 2026). NOTES.md says what and why. */

/* the button, beside Copy link, in the place of the read-only link box, so the row is no longer than it was. */
/* until the button is in, the box holds its exact place unseen, so nothing in the row moves when the two swap */
html.x-build-picture #yours #shareLink { visibility: hidden; }
html.x-build-picture.x-build-picture-in #yours #shareLink { display: none; }
@media (min-width: 641px) {
  /* (24 Nov 2026, the staging build) 100 px, the live page's own link box (index.html: #yours #shareLink{flex:0 1 100px;min-width:100px}).
     At 90 the row was 10 px shorter than live's, and at 1920 wide that let the "What's it for?" row up beside it, squeezed onto
     three lines: every card under the trees sat 14 px lower than on live (research/stage/stage_check.py). */
  html.x-build-picture #yours #shareLink { flex: 0 0 100px; min-width: 100px; width: 100px; }
  html.x-build-picture #yours .x-build-picture-btn { flex: 0 0 100px; width: 100px; justify-content: center; padding-left: 0; padding-right: 0; }
}
html.x-build-picture .x-build-picture-btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
html.x-build-picture .x-build-picture-btn svg { flex: none; color: var(--gold); }
html.x-build-picture .x-build-picture-btn[aria-disabled="true"] { opacity: .45; cursor: default; }
/* a phone: the button takes the link box's own place in the second line (index.html: #shareLink{order:4;flex:1 1 60px}) */
@media (max-width: 640px) {
  html.x-build-picture #yours .x-build-picture-btn { order: 4; flex: 1 1 60px; min-width: 0; justify-content: center; }
}
/* (28 Nov 2026) x.js fit(): the icon shows only while icon and word fit with room each side (it touched both edges at 401 to 430 and 600 to 640) */
html.x-build-picture .x-build-picture-btn { gap: 5px; }
html.x-build-picture .x-build-picture-btn.x-build-picture-tight svg { display: none; }
/* (29 Nov 2026) a phone's button words are 12.5 px: the icon is their size, so a 430 px phone's 82 px button has room for it inside its padding */
@media (max-width: 640px) {
  html.x-build-picture #yours .x-build-picture-btn { gap: 4px; }
  html.x-build-picture #yours .x-build-picture-btn svg { width: 12px; height: 12px; }
}

/* the page behind stays still while the window is open (x.js lock()); where the page had a scrollbar its room is kept, so nothing shifts */
html.x-build-picture.x-build-picture-lock { overflow: hidden; }
html.x-build-picture.x-build-picture-gutter { scrollbar-gutter: stable; }

/* the picture's own window: the reader asked for it; the X in its corner, Esc or a click outside closes it.
   Its width is the picture's: never wider than the screen, and on a short screen (a phone held sideways) no taller than it */
html.x-build-picture .x-build-picture-dlg { padding: 0; border: 1px solid rgba(255, 209, 0, .45); border-radius: 12px; background: #161514; color: var(--ink, #e8e8e8); box-sizing: border-box;
  width: min(1040px, calc(100vw - 24px), calc((100vh - 166px) * 1.905 + 28px)); min-width: min(330px, calc(100vw - 24px)); max-width: none; max-height: calc(100vh - 24px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .7); overflow: auto; overscroll-behavior: contain; }
@supports (height: 100dvh) {
  html.x-build-picture .x-build-picture-dlg { width: min(1040px, calc(100vw - 24px), calc((100dvh - 166px) * 1.905 + 28px)); max-height: calc(100dvh - 24px); }
}
html.x-build-picture .x-build-picture-dlg:focus { outline: 0; }
html.x-build-picture .x-build-picture-dlg::backdrop { background: rgba(8, 7, 6, .82); }
html.x-build-picture .x-build-picture-box { padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
/* the head: what this picture is for, and the way out where players look for it */
html.x-build-picture .x-build-picture-head { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
html.x-build-picture .x-build-picture-say { flex: 1 1 auto; min-width: 0; margin: 0; padding: 7px 0 0 2px; font-size: 14px; line-height: 1.45; color: var(--ink2, #cfcfcf); overflow-wrap: break-word; }
html.x-build-picture .x-build-picture-check { color: var(--gold, #ffd100); }
html.x-build-picture .x-build-picture-more { color: #7fe067; font-weight: 700; }
html.x-build-picture .x-build-picture-less { color: #ff8a80; font-weight: 700; }
html.x-build-picture .x-build-picture-x { flex: none; width: 36px; height: 36px; margin: -4px -4px 0 0; padding: 0; display: grid; place-items: center; border: 1px solid #4a4640; border-radius: 6px; background: #211f1d; color: var(--ink, #e8e8e8); cursor: pointer; }
html.x-build-picture .x-build-picture-x:hover { border-color: var(--gold); color: var(--gold); }
html.x-build-picture .x-build-picture-x:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* the picture; a tap shows it at its own size inside the same frame (x.js zoom()) */
html.x-build-picture .x-build-picture-frame { position: relative; aspect-ratio: 1200 / 630; border-radius: 8px; background: #0f0e0c; overflow: hidden; }
html.x-build-picture .x-build-picture-ready .x-build-picture-frame { cursor: zoom-in; }
html.x-build-picture .x-build-picture-img { display: block; width: 100%; height: 100%; opacity: 0; }
html.x-build-picture .x-build-picture-zoom .x-build-picture-frame { overflow: auto; overscroll-behavior: contain; cursor: zoom-out; }
html.x-build-picture .x-build-picture-zoom .x-build-picture-img { width: auto; height: auto; max-width: none; }
/* the square one: as wide as the screen's height lets it be, so the whole picture and its buttons show at once */
html.x-build-picture .x-build-picture-sq { width: min(700px, calc(100vw - 24px), calc(100vh - 170px)); }
@supports (height: 100dvh) {
  html.x-build-picture .x-build-picture-sq { width: min(700px, calc(100vw - 24px), calc(100dvh - 170px)); }
}
html.x-build-picture .x-build-picture-sq .x-build-picture-frame { aspect-ratio: 1; }
/* the tall one (4 by 5): as wide as the screen's height lets it be, the whole picture and its buttons on show at once */
html.x-build-picture .x-build-picture-tall { width: min(600px, calc(100vw - 24px), calc((100vh - 176px) * var(--x-build-picture-tr, 1.082) + 28px)); }
@supports (height: 100dvh) {
  html.x-build-picture .x-build-picture-tall { width: min(600px, calc(100vw - 24px), calc((100dvh - 176px) * var(--x-build-picture-tr, 1.082) + 28px)); }
}
/* (30 Nov 2026, night, Chris on his phone: "This looks so stretched") the frame was 4 by 5 whatever the picture was, and the
   picture fills its frame: since the morning the picture has been as tall as its trees need (not 4 by 5), so it was pulled a
   sixth taller on the screen. The frame has the picture's own shape now: x.js writes width over height into
   --x-build-picture-tr when the picture is drawn (1.082 is seven rows of talents, the usual tree), and the window's widths
   that are worked out from the screen's height use the same number. */
html.x-build-picture .x-build-picture-tall .x-build-picture-frame { aspect-ratio: var(--x-build-picture-tr, 1.082); }
html.x-build-picture .x-build-picture-ready .x-build-picture-img { opacity: 1; }
html.x-build-picture .x-build-picture-wait { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; color: var(--muted, #8a8a8a); font-size: 14px; }
html.x-build-picture .x-build-picture-ready .x-build-picture-wait { display: none; }
/* the buttons: the shape on the left, what to do with the picture on the right, one line on a computer */
html.x-build-picture .x-build-picture-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
html.x-build-picture .x-build-picture-tools,
html.x-build-picture .x-build-picture-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
html.x-build-picture .x-build-picture-acts { margin-left: auto; justify-content: flex-end; }
html.x-build-picture .x-build-picture-seg { display: inline-flex; border: 1px solid #4a4640; border-radius: 6px; overflow: hidden; }
html.x-build-picture .x-build-picture-seg button { min-height: 34px; padding: 0 12px; border: 0; background: #211f1d; color: var(--ink2, #cfcfcf); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
html.x-build-picture .x-build-picture-seg button[aria-pressed="true"] { background: rgba(255, 209, 0, .16); color: var(--gold); }
html.x-build-picture .x-build-picture-row .btn { box-sizing: border-box; text-decoration: none; white-space: nowrap; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid #4a4640; border-radius: 6px; background: #211f1d; color: var(--ink, #e8e8e8); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
html.x-build-picture .x-build-picture-row .btn[hidden] { display: none; }
html.x-build-picture .x-build-picture-row .btn:hover { border-color: var(--gold); }
/* a button whose word changes keeps its width: its words stand in one place and one shows */
html.x-build-picture .x-build-picture-row .btn:has(> .x-build-picture-w) { display: inline-grid; grid-template-areas: "w"; place-items: center; }
html.x-build-picture .x-build-picture-row .btn[hidden]:has(> .x-build-picture-w) { display: none; }
html.x-build-picture .x-build-picture-w { grid-area: w; }
html.x-build-picture .x-build-picture-w[hidden] { display: block; visibility: hidden; }
html.x-build-picture .x-build-picture-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Zoom in: for a phone, where the picture is drawn small; a computer shows it near its own size */
html.x-build-picture .x-build-picture-row .btn.x-build-picture-zb { display: none; }
@media (max-width: 640px), (hover: none) {
  html.x-build-picture .x-build-picture-row .btn.x-build-picture-zb { display: inline-grid; }
}
html.x-build-picture .x-build-picture-row .x-build-picture-zb[aria-pressed="true"] { border-color: rgba(255, 209, 0, .5); color: var(--gold); }
html.x-build-picture .x-build-picture-row .x-build-picture-save,
html.x-build-picture .x-build-picture-row :is(.x-build-picture-load, .x-build-picture-copy, .x-build-picture-share):not([hidden]) { background: var(--gold); color: #1a1500; border-color: var(--gold); font-weight: 700; }
/* a popular build on show: Load is the one gold button, the picture's own buttons step back */
html.x-build-picture .x-build-picture-other .x-build-picture-row :is(.x-build-picture-copy, .x-build-picture-share, .x-build-picture-save):not([hidden]) { background: #211f1d; color: var(--gold); border-color: rgba(255, 209, 0, .5); }
html.x-build-picture .x-build-picture-row :is(.x-build-picture-copy, .x-build-picture-share):not([hidden]) ~ .x-build-picture-save { background: #211f1d; color: var(--gold); border-color: rgba(255, 209, 0, .5); }
/* a phone: "All three" beside the next-tree button opens the whole build as the picture (the button is lab/v2.js tabs()'s) */
html.x-build-picture .v2next button.v2all:not([hidden]) { display: block; flex: 0 0 auto; padding: 0 14px; color: var(--ink, #e8e8e8); box-shadow: inset 0 0 0 1px rgba(255, 209, 0, .45); }
/* the narrowest phones: "All 3", so a long tree name beside it ("Beast Mastery") is never cut */
@media (max-width: 359px) {
  html.x-build-picture .v2next button.v2all:not([hidden]) { padding: 0 9px; font-size: 0; }
  html.x-build-picture .v2next button:not(.v2all) { flex: 1 1 auto; padding: 0 6px; }
  html.x-build-picture .v2next button.v2all:not([hidden])::after { content: "All 3"; font-size: 13px; }
}
/* the banner's "2 points from #1" chip opens that build */
html.x-build-picture #bannerSum [data-open] { cursor: pointer; }
html.x-build-picture #bannerSum [data-open]:is(:hover, :focus-visible) { background: rgba(255, 209, 0, .14); outline: 0; }
/* on the builds pages a build drawn as its trees opens big too */
html.x-build-picture .v2print.art { cursor: zoom-in; }
/* a popular card's drawing opens big */
html.x-build-picture #popHost ol.poptop > li > .v2art { cursor: zoom-in; }
/* a phone: thumb-sized buttons, each row filled: the shape and Zoom in, then Load on its own line, then Copy and Save side by side */
@media (max-width: 640px) {
  html.x-build-picture .x-build-picture-box { padding: 10px; gap: 10px; }
  html.x-build-picture .x-build-picture-x { width: 44px; height: 44px; margin: -2px -2px 0 0; }
  html.x-build-picture .x-build-picture-say { padding-top: 10px; }
  html.x-build-picture .x-build-picture-row { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  html.x-build-picture .x-build-picture-tools { flex-wrap: nowrap; }
  html.x-build-picture .x-build-picture-seg { flex: 2 1 0; min-width: 0; }
  html.x-build-picture .x-build-picture-seg button { flex: 1 1 0; min-height: 44px; padding: 0 8px; }
  html.x-build-picture .x-build-picture-acts { margin: 0; flex-wrap: wrap; }
  html.x-build-picture .x-build-picture-row .btn { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 10px; }
  html.x-build-picture .x-build-picture-row .x-build-picture-load { flex-basis: 100%; }
}
/* (17 Nov) three shapes now, Character first: on a phone the three share three parts of the row to Zoom in's one, and never wrap */
@media (max-width: 640px) {
  html.x-build-picture .x-build-picture-seg { flex: 3.4 1 0; }
  html.x-build-picture .x-build-picture-seg button { padding: 0 4px; white-space: nowrap; }
}
@media (max-width: 400px) {
  html.x-build-picture .x-build-picture-seg button { font-size: 12px; padding: 0 2px; }
  html.x-build-picture .x-build-picture-row .btn.x-build-picture-zb { padding: 0 4px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: no-preference) {
  html.x-build-picture .x-build-picture-img { transition: opacity .18s ease-out; }
}
/* (20 Nov) the window's words never leave one word alone on a line */
html.x-build-picture .x-build-picture-say { text-wrap: pretty; }
/* (20 Nov) a computer: pressing Character, Tall or Wide re-centred the whole window, so its buttons jumped out from under the
   pointer. Now the buttons stand under the window's words, over the picture; the window keeps one width for every shape (the
   widest's) and one top (x.js place(): where the tallest shape would be centred), so a new shape only grows or shrinks the picture
   downward. The tall picture stands in the middle of that width. A phone is as it was. */
@media (min-width: 641px) {
  html.x-build-picture .x-build-picture-dlg { margin-top: var(--x-build-picture-top, auto); margin-bottom: auto; }
  html.x-build-picture .x-build-picture-row { order: 1; }
  html.x-build-picture .x-build-picture-frame { order: 2; }
  html.x-build-picture .x-build-picture-tall { width: min(1040px, calc(100vw - 24px), calc((100vh - 166px) * 1.905 + 28px)); }
  html.x-build-picture .x-build-picture-tall .x-build-picture-frame { justify-self: center; width: min(100%, 572px, calc((100vh - 176px) * var(--x-build-picture-tr, 1.082))); }
}
/* (20 Nov) no points yet: Save and Copy wait for the first point, plainly dimmed (the window's words say why) */
html.x-build-picture .x-build-picture-empty .x-build-picture-row :is(.x-build-picture-save, .x-build-picture-copy):not([hidden]) { background: #211f1d; color: #8f8a80; border-color: #3a3733; cursor: not-allowed; }
html.x-build-picture .x-build-picture-empty .x-build-picture-row :is(.x-build-picture-save, .x-build-picture-copy):not([hidden]):hover { border-color: #3a3733; }
@supports (height: 100dvh) {
  @media (min-width: 641px) {
    html.x-build-picture .x-build-picture-tall { width: min(1040px, calc(100vw - 24px), calc((100dvh - 166px) * 1.905 + 28px)); }
    html.x-build-picture .x-build-picture-tall .x-build-picture-frame { width: min(100%, 572px, calc((100dvh - 176px) * var(--x-build-picture-tr, 1.082))); }
  }
}

/* x: char-pick */
/* char-pick: one small button in the head of the Picture, card and clip windows; its list opens in place, over the picture */
html.x-char-pick .x-char-pick-box { position: relative; flex: none; align-self: flex-start; }
html.x-char-pick .x-char-pick-box[hidden] { display: none; }
/* the Picture's Wide shape has no one standing in it: the button keeps its place, unseen */
html.x-char-pick .x-build-picture-dlg:has([data-shape="wide"][aria-pressed="true"]) .x-char-pick-box { visibility: hidden; }
html.x-char-pick .x-char-pick-btn { box-sizing: border-box; display: inline-flex; align-items: center; gap: 7px; min-height: 34px; max-width: 220px; padding: 0 11px 0 12px; border: 1px solid #4a4640; border-radius: 6px; background: #211f1d; color: var(--ink, #e8e8e8); font: inherit; font-size: 13.5px; line-height: 1.2; cursor: pointer; white-space: nowrap; }
html.x-char-pick .x-char-pick-btn:hover, html.x-char-pick .x-char-pick-btn[aria-expanded="true"] { border-color: var(--gold, #ffd100); }
html.x-char-pick .x-char-pick-btn:focus-visible { outline: 2px solid var(--gold, #ffd100); outline-offset: 2px; }
html.x-char-pick .x-char-pick-who { color: #9a958a; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
html.x-char-pick .x-char-pick-now { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 700; color: #f2ecdc; }
html.x-char-pick .x-char-pick-btn svg { flex: none; color: #9a958a; }
html.x-char-pick .x-char-pick-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

html.x-char-pick .x-char-pick-list { position: absolute; z-index: 5; top: calc(100% + 6px); right: 0; box-sizing: border-box; width: max-content; min-width: 236px; max-width: min(380px, calc(100vw - 48px)); padding: 10px 12px 12px; border: 1px solid #4a4640; border-radius: 8px; background: #1c1b19; box-shadow: 0 10px 28px rgba(0, 0, 0, .6); text-align: left; }
html.x-char-pick .x-char-pick-list[hidden] { display: none; }
html.x-char-pick .x-char-pick-head { margin: 0 0 8px; font-family: Cinzel, Georgia, serif; font-size: 13px; font-weight: 700; color: var(--gold, #ffd100); letter-spacing: .04em; }
html.x-char-pick .x-char-pick-grp { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 6px 8px; margin-top: 8px; }
html.x-char-pick .x-char-pick-grp.x-char-pick-last { grid-template-columns: minmax(0, 1fr); padding-top: 9px; border-top: 1px solid #2f2d2a; }
html.x-char-pick .x-char-pick-side { padding-top: 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9a958a; }
html.x-char-pick .x-char-pick-opts { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
html.x-char-pick .x-char-pick-opts button { box-sizing: border-box; min-height: 30px; padding: 0 10px; border: 1px solid #3a3733; border-radius: 15px; background: #242220; color: #e6dcc4; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
html.x-char-pick .x-char-pick-opts button:hover { border-color: rgba(255, 209, 0, .6); }
html.x-char-pick .x-char-pick-opts button:focus-visible { outline: 2px solid var(--gold, #ffd100); outline-offset: 1px; }
html.x-char-pick .x-char-pick-opts button[aria-pressed="true"] { border-color: var(--gold, #ffd100); background: rgba(255, 209, 0, .12); color: var(--gold, #ffd100); }

/* a phone: the word Who goes, the buttons grow to a thumb's size, the list stands under the head across the window */
@media (max-width: 640px) {
  html.x-char-pick .x-char-pick-who { display: none; }
  html.x-char-pick .x-char-pick-btn { min-height: 40px; max-width: 150px; padding: 0 10px; }
  html.x-char-pick .x-char-pick-opts button { min-height: 38px; padding: 0 12px; }
  html.x-char-pick .x-char-pick-list { right: -52px; }
}

/* x: class-colours */
/* class-colours (24 Nov 2026, the staging build). Chris, on the nine names in their colours: "i do like their color updated.
   thats easy on the eyes." On the live page's own class row each class name is written in its class colour (the game's own,
   the same ones server.js LVG_COLOR and the Guides panel use). Only the colour of the word changes: no box moves, the chosen
   class keeps the live page's gold box, and the Priest's white stays readable on the dark buttons. */
html.x-class-colours #classes > a[href="/warrior"] > span { color: #c79c6e; }
html.x-class-colours #classes > a[href="/paladin"] > span { color: #f58cba; }
html.x-class-colours #classes > a[href="/hunter"] > span { color: #abd473; }
html.x-class-colours #classes > a[href="/rogue"] > span { color: #fff569; }
html.x-class-colours #classes > a[href="/priest"] > span { color: #ffffff; }
html.x-class-colours #classes > a[href="/shaman"] > span { color: #3d95ff; }
html.x-class-colours #classes > a[href="/mage"] > span { color: #69ccf0; }
html.x-class-colours #classes > a[href="/warlock"] > span { color: #9482c9; }
html.x-class-colours #classes > a[href="/druid"] > span { color: #ff7d0a; }

/* x: classic-trees */
/* classic-trees (24 Nov 2026, the staging build): Classic's trees as they were. NOTES.md says who asked and why. */

/* the press: in vs Classic's key line only (the key exists only while vs Classic is on); a quiet pill like the key's own press */
html.x-classic-trees .x-classic-trees-go { display: inline-flex; align-items: center; gap: 5px; box-sizing: border-box; height: 22px; margin: -2px 0; /* takes no more height than a line of the key */ padding: 0 9px 0 7px; border: 0; border-radius: 11px; background: #2a2a2a; box-shadow: inset 0 0 0 1px #4a4a4a; color: #e0e0e0; font: 600 12px/1 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; white-space: nowrap; cursor: pointer; }
html.x-classic-trees .x-classic-trees-go svg { flex: none; color: #ffd100; }
html.x-classic-trees .x-classic-trees-go:hover { box-shadow: inset 0 0 0 1px #c89b1a; color: #ffd100; }
html.x-classic-trees .x-classic-trees-go:focus-visible { outline: 2px solid #ffd100; outline-offset: 2px; }
html.x-classic-trees .x-classic-trees-go.x-classic-trees-short { padding: 0 7px 0 6px; }

/* while Classic's trees are shown, a bar lies OVER the key line (it takes no room; the key keeps its height): what the reader is
   looking at, and the way back */
html.x-classic-trees .legend:has(> .x-classic-trees-bar) { position: relative; }
html.x-classic-trees .x-classic-trees-bar[hidden] { display: none; }
html.x-classic-trees .x-classic-trees-bar { position: absolute; z-index: 6; inset: 0; display: flex; align-items: center; gap: 6px 12px; box-sizing: border-box; padding: 0 12px; background: #1b1b1b; box-shadow: inset 0 0 0 1px #c89b1a; color: #d8d8d8; font: 400 12.5px/1.3 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; }
html.x-classic-trees .x-classic-trees-say { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.x-classic-trees .x-classic-trees-say b { color: #ffd75e; font-weight: 700; }
html.x-classic-trees .x-classic-trees-back { flex: none; box-sizing: border-box; height: 24px; margin: 0; padding: 0 12px; border: 0; border-radius: 12px; background: #ffd100; color: #121212; font: 700 12px/1 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; white-space: nowrap; cursor: pointer; }
html.x-classic-trees .x-classic-trees-back:hover { background: #ffd75e; }
html.x-classic-trees .x-classic-trees-back:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* the page's own trees stay where they are, unseen and untouchable, under Classic's */
html.x-classic-trees.x-classic-trees-on #trees > .tree { visibility: hidden; }

/* the layer of Classic trees, exactly over the page's trees */
html.x-classic-trees .x-classic-trees-lay { position: absolute; z-index: 4; pointer-events: none; }
html.x-classic-trees .x-classic-trees-t { position: absolute; display: flex; flex-direction: column; box-sizing: border-box; overflow: hidden; border-radius: 4px; background: #262626; box-shadow: inset 0 0 0 1px #c89b1a; pointer-events: auto; }
html.x-classic-trees .x-classic-trees-t[hidden] { display: none; }
html.x-classic-trees .x-classic-trees-h { flex: none; display: flex; align-items: center; gap: 8px; box-sizing: border-box; height: 46px; padding: 8px 10px; background: #333 linear-gradient(90deg, color-mix(in srgb, var(--x-classic-trees-tc, #ffd100) 30%, transparent), transparent 70%); }
html.x-classic-trees .x-classic-trees-h img { flex: none; width: 30px; height: 30px; box-sizing: border-box; border-radius: 5px; border: 2px solid var(--x-classic-trees-tc, #c89b1a); box-shadow: 0 0 0 1px #000; filter: sepia(.35); }
html.x-classic-trees .x-classic-trees-hn { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
html.x-classic-trees .x-classic-trees-hn b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e8e8e8; font: 700 15px/1.15 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; }
html.x-classic-trees .x-classic-trees-hn small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #ffd75e; font: 400 10px/1.15 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; letter-spacing: .04em; }
html.x-classic-trees .x-classic-trees-hc { flex: none; color: #bdbdbd; font: 600 12px/1 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; white-space: nowrap; }
/* the tree's own art, a little older: greyed toward sepia, so the eye knows at once this is not today's tree */
html.x-classic-trees .x-classic-trees-b { position: relative; flex: 1 1 auto; box-sizing: border-box; background: #111 center / cover no-repeat; }
html.x-classic-trees .x-classic-trees-b::before { content: ""; position: absolute; inset: 0; background: rgba(18, 18, 18, .45); pointer-events: none; }
html.x-classic-trees .x-classic-trees-g { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(7, 64px); row-gap: 4px; }
html.x-classic-trees .x-classic-trees-ar { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
html.x-classic-trees .x-classic-trees-ln { fill: none; stroke: #d9c27a; stroke-width: 2; opacity: .8; }
html.x-classic-trees .x-classic-trees-ar marker path { fill: #d9c27a; }

/* a Classic talent: its icon in full colour, its Classic ranks, nothing spent */
html.x-classic-trees .x-classic-trees-c { position: relative; z-index: 1; width: 44px; height: 44px; margin: 4px auto 0; padding: 0; border: 0; border-radius: 5px; background: #000; box-shadow: 0 0 0 1px #000, 0 0 0 2px #7a6a3a; cursor: help; }
html.x-classic-trees .x-classic-trees-ab { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 5px; background: linear-gradient(135deg, #3a3a3a, #1a1a1a); color: #ddd; font: 700 12px/1 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; }
html.x-classic-trees .x-classic-trees-ic { position: absolute; inset: 0; border-radius: 5px; background: center / cover no-repeat; }
html.x-classic-trees .x-classic-trees-rk { position: absolute; right: -8px; bottom: -8px; min-width: 26px; height: 17px; box-sizing: border-box; padding: 0 4px; border: 1px solid #444; border-radius: 3px; background: #000; color: #bdbdbd; font: 400 11px/15px "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; text-align: center; font-variant-numeric: tabular-nums; }
html.x-classic-trees .x-classic-trees-c:hover, html.x-classic-trees .x-classic-trees-c.x-classic-trees-hot { box-shadow: 0 0 0 1px #000, 0 0 0 2px #ffd100; }
html.x-classic-trees .x-classic-trees-c:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* its Classic text */
html.x-classic-trees .x-classic-trees-tip[hidden] { display: none; }
html.x-classic-trees .x-classic-trees-tip { position: absolute; z-index: 7; box-sizing: border-box; padding: 10px 12px; border: 1px solid #6b5a2a; border-radius: 6px; background: rgba(10, 10, 12, .95); box-shadow: 0 12px 34px rgba(0, 0, 0, .75); color: #e8e8e8; font: 400 13px/1.4 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; pointer-events: none; }
html.x-classic-trees .x-classic-trees-th { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid #2c2618; }
html.x-classic-trees .x-classic-trees-th img { flex: none; width: 34px; height: 34px; border-radius: 5px; border: 1px solid #6b5a2a; }
html.x-classic-trees .x-classic-trees-th b { display: block; color: #ffd75e; font: 700 15px/1.15 Cinzel, Georgia, serif; letter-spacing: .02em; }
html.x-classic-trees .x-classic-trees-th small { display: block; margin-top: 2px; color: #9a9a9a; font-size: 12px; }
html.x-classic-trees .x-classic-trees-tip p { margin: 0 0 6px; }
html.x-classic-trees .x-classic-trees-tip p:last-child { margin-bottom: 0; }
html.x-classic-trees .x-classic-trees-tip em { margin-right: 4px; color: #ffd100; font-style: normal; font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
html.x-classic-trees .x-classic-trees-nd { color: #bdbdbd; font-size: 12px; }
html.x-classic-trees .x-classic-trees-fo { padding-top: 6px; border-top: 1px solid #333; color: #c9c9c9; font-size: 12px; }

@media (max-width: 640px) {
  /* a phone's key is three short lines: the bar's words may take two */
  html.x-classic-trees .x-classic-trees-bar { flex-wrap: wrap; align-content: center; padding: 6px 10px; }
  html.x-classic-trees .x-classic-trees-say { flex-basis: 100%; white-space: normal; }
}
@media (hover: none) {
  html.x-classic-trees .x-classic-trees-c { cursor: pointer; }
}

/* x: creator-stamp */
/* creator-stamp: the creator's stamp on the top edge of a popular build card (x.js has his words and the rule).
   The page's own parts: the creators door's chip (a 16:9 video picture with a gold line, the name in #ffd75e, small grey
   words), on the site's dark panel with the gold inset line its pills wear. Pointing changes its light only. */

/* room above the cards for the stamp to stand on their top edge: 11 px more than the list's own 3 px, always there, so a
   class with creators and a class without sit at the same height and nothing jumps when the stamps arrive */
html.x-creator-stamp #foldPopular ol.poptop.v2cards { padding-top: 14px; }

/* a build wears one credit: the page's own small one is put away on cards */
html.x-creator-stamp #foldPopular ol.poptop.v2cards .crin { display: none !important; }

html.x-creator-stamp #foldPopular ol.poptop.v2cards > li > .x-creator-stamp-w { position: absolute; top: -12px; right: 9px; z-index: 3; display: block; line-height: 0; pointer-events: none; }
html.x-creator-stamp .x-creator-stamp-s { pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; height: 24px; padding: 0 9px 0 3px; border-radius: 6px;
  background: linear-gradient(180deg, #2b2618, #1c1a14); box-shadow: inset 0 0 0 1px rgba(226, 180, 48, .9), 0 2px 6px rgba(0, 0, 0, .55);
  color: #ffd75e; text-decoration: none; white-space: nowrap; font: 700 12px/18px "Open Sans", system-ui, sans-serif; overflow: hidden; }
html.x-creator-stamp .x-creator-stamp-s:hover,
html.x-creator-stamp .x-creator-stamp-s:focus-visible { background: linear-gradient(180deg, #3a321d, #262217); box-shadow: inset 0 0 0 1px #ffd100, 0 2px 6px rgba(0, 0, 0, .55); }
html.x-creator-stamp .x-creator-stamp-p { display: block; flex: none; width: 32px; height: 18px; border-radius: 3px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(200, 155, 26, .85); }
html.x-creator-stamp .x-creator-stamp-p img { display: block; width: 100%; height: 100%; object-fit: cover; }
html.x-creator-stamp .x-creator-stamp-m { flex: none; width: 0; height: 0; margin: 0 2px 0 6px; border: 5px solid transparent; border-left: 8px solid #ffd100; border-right: 0; }
html.x-creator-stamp .x-creator-stamp-t { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
html.x-creator-stamp .x-creator-stamp-t b { font-weight: 700; color: #ffd75e; }
html.x-creator-stamp .x-creator-stamp-t small { font-size: 11.5px; font-weight: 600; color: #cfc8b0; }
html.x-creator-stamp .x-creator-stamp-t em { font-style: normal; font-size: 11.5px; font-weight: 600; color: #cfc8b0; }
/* the forms x.js falls back to where a card is narrow: the name alone, then the name cut with dots */
html.x-creator-stamp .x-creator-stamp-s[data-f] .x-creator-stamp-t small { display: none; }

/* (28 Nov) on a computer the cards stack in rows once "Show more builds" is pressed: the list's 10 px between rows left a
   stamp of a second or third row 2 px over the card above it. 16 px between rows gives the stamp 4 px of clear dark. A list
   of one row (every list before a press) does not move. */
@media (min-width: 1100px) {
  html.x-creator-stamp #foldPopular ol.poptop.v2cards { row-gap: 16px; }
}

@media (max-width: 760px) {
  /* a thumb's size on a phone: a 28 px tab with a bigger picture */
  html.x-creator-stamp #foldPopular ol.poptop.v2cards { padding-top: 17px; }
  html.x-creator-stamp #foldPopular ol.poptop.v2cards > li > .x-creator-stamp-w { top: -15px; right: 10px; }
  html.x-creator-stamp .x-creator-stamp-s { height: 28px; font-size: 13px; padding: 0 10px 0 3px; gap: 7px; }
  html.x-creator-stamp .x-creator-stamp-p { width: 39px; height: 22px; }
  html.x-creator-stamp .x-creator-stamp-t small, html.x-creator-stamp .x-creator-stamp-t em { font-size: 12.5px; }
}

/* the side column's rows: the creator on a line of its own, small, in the stamp's gold (x.js rail()) */
html.x-creator-stamp #v2rail .x-creator-stamp-r { display: inline-flex; align-items: center; gap: 6px; justify-self: start; max-width: 100%; margin-top: 1px; padding: 1px 7px 1px 2px; border-radius: 5px;
  background: rgba(226, 180, 48, .1); box-shadow: inset 0 0 0 1px rgba(226, 180, 48, .45); color: #d9cfa8; font: 600 11.5px/16px "Open Sans", system-ui, sans-serif; white-space: nowrap; overflow: hidden; cursor: pointer; }
html.x-creator-stamp #v2rail .x-creator-stamp-r > img { flex: none; width: 28px; height: 16px; border-radius: 3px; object-fit: cover; }
html.x-creator-stamp #v2rail .x-creator-stamp-r > span { overflow: hidden; text-overflow: ellipsis; }
html.x-creator-stamp #v2rail .x-creator-stamp-r b { color: #ffd75e; font-weight: 700; }
html.x-creator-stamp #v2rail .x-creator-stamp-r em { font-style: normal; color: #a9a08a; }
html.x-creator-stamp #v2rail .x-creator-stamp-r:hover { background: rgba(255, 209, 0, .18); box-shadow: inset 0 0 0 1px #ffd100; }

/* x: creators-door */
/* creators-door: on a phone the Popular builds head's creators door is a strip of its own under the head (26 Nov 2026, Chris:
   "There a way to improve the all creators button somehow"). The box is the computer door's own look (.crdoor in
   seo/creators.js: the faint gold fill and the gold hairline); the chips inside are the page's own .crd-c parts. */
@media (max-width: 640px) {
  html.x-creators-door #foldPopular.x-creators-door-on > summary { flex-wrap: wrap; }
  /* the page's own one-or-two-word pill, wherever its script found room for it, is put away while the strip shows */
  html.x-creators-door #foldPopular.x-creators-door-on .crd-x { display: none !important; }
  html.x-creators-door .x-creators-door-s {
    order: 9; flex: 0 0 100%; grid-column: 1 / -1; box-sizing: border-box; display: flex; align-items: center; gap: 10px; min-width: 0;
    margin: 0; padding: 5px 12px 5px 6px; border-radius: 8px; background: rgba(255, 209, 0, .05); box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .65);
    font-size: 12px; font-weight: 400; line-height: 1.2; color: var(--muted); cursor: default; overflow: hidden; white-space: nowrap;
  }
  html.x-creators-door .x-creators-door-s .crd-c { position: relative; min-width: 0; flex: 0 0 auto; }
  html.x-creators-door .x-creators-door-s .crd-c::after { content: ""; position: absolute; inset: -8px -4px; }   /* a thumb's worth to press */
  html.x-creators-door .x-creators-door-s .crd-p { width: 50px; height: 28px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .6); }
  html.x-creators-door .x-creators-door-s .crd-t { display: grid; gap: 1px; }
  html.x-creators-door .x-creators-door-s .crd-t small { margin: 0; }
  /* pictures alone (a class with no creator builds yet): they sit close, as one row of videos */
  html.x-creators-door .x-creators-door-s .x-creators-door-f + .x-creators-door-f { margin-left: -4px; }
  html.x-creators-door .x-creators-door-s .crd-all { position: relative; margin-left: auto; padding: 7px 0 7px 4px; font-size: 13px; }
  html.x-creators-door .x-creators-door-s .crd-all::before { content: ""; position: absolute; inset: -6px -8px; }
  html.x-creators-door .x-creators-door-s .crd-all:only-child { margin-left: 0; }
}
@media (min-width: 641px) {
  html.x-creators-door .x-creators-door-s { display: none; }
}

/* x: data-hub */
/* data-hub (24 Nov 2026, the staging build): the Data page (/data, server.js dataHub) and its press in the top menu. First version:
   a door to every view of the site's numbers. Chris: "People LOVE DATA." NOTES.md says what is still to build. */

/* the press in the menu: the same pill as Guides and Training Grounds, with its own icon */
/* (.x-top-menu in the selector: lab/x/top-menu's "background:" for every pill's icon is joined after this file and would wipe the picture) */
html.x-data-hub.x-top-menu .v2nav > a[data-k="data"]::before { background-image: url(/assets/icons/spell_nature_crystalball.jpg?i=4); }
/* a phone: three pills and the search in one line of 358 px. Training Grounds takes its short word there, or the row runs 11 px
   past the screen (measured at 390 wide, 24 Nov) */
@media (max-width: 767px) {
  html.x-data-hub.x-top-menu .v2nav > a[data-k="tg"] .lg { display: none; }
  html.x-data-hub.x-top-menu .v2nav > a[data-k="tg"] .sm { display: inline; }
}
/* the smallest phones (to 374 px): the same three pills and the search, a little tighter, so the row ends inside the screen
   (at 320 it ran 23 px past it) */
@media (max-width: 374px) {
  html.x-data-hub.x-top-menu .masthead.v2m > .v2nav { gap: 4px; }
  html.x-data-hub.x-top-menu .v2nav > a[data-k] { padding: 2px 8px 2px 3px; gap: 4px; font-size: 12px; }
  html.x-data-hub.x-top-menu .v2nav > a[data-k]::before { width: 22px; height: 22px; }
}
html.x-data-hub .v2nav > a[data-k="data"] .lg { display: inline; }
html.x-data-hub .v2nav > a[data-k="data"] .sm { display: none; }
@media (min-width: 768px) {
  html.x-data-hub .masthead.v2m > #v2nav > a[data-k="data"] { margin-left: -6px; }
}

/* the page */
html.x-data-hub .dh .dh-h { margin: 22px 0 10px; font: 700 15px/1.2 Cinzel, Georgia, serif; letter-spacing: .08em; text-transform: uppercase; color: #ffd75e; }
html.x-data-hub .dh .dh-h:first-of-type { margin-top: 14px; }
html.x-data-hub .dh .dh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
html.x-data-hub .dh a.dh-door { display: flex; align-items: center; gap: 14px; min-height: 84px; box-sizing: border-box; padding: 14px 16px; border-radius: 8px; background: #1e1e1e; box-shadow: inset 0 0 0 1px #333; color: #e8e8e8; text-decoration: none; }
html.x-data-hub .dh a.dh-door:hover, html.x-data-hub .dh a.dh-door:focus-visible { box-shadow: inset 0 0 0 1px #c89b1a; background: #23201a; outline: none; }
html.x-data-hub .dh a.dh-door img { flex: none; width: 56px; height: 56px; border-radius: 8px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #5a4a1e; }
html.x-data-hub .dh .dh-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
html.x-data-hub .dh .dh-t b { font: 700 18px/1.2 Cinzel, Georgia, serif; color: #ffd100; letter-spacing: .02em; }
html.x-data-hub .dh .dh-t span { font-size: 14px; line-height: 1.4; color: #c9c9c9; }
html.x-data-hub .dh a.dh-door em { margin-left: auto; flex: none; padding: 3px 10px; border-radius: 999px; background: #2a2410; box-shadow: inset 0 0 0 1px #5a4a1e; font-style: normal; font-size: 12px; font-weight: 600; color: #ffd75e; white-space: nowrap; }
@media (max-width: 760px) {
  html.x-data-hub .dh .dh-grid { grid-template-columns: minmax(0, 1fr); }
  html.x-data-hub .dh a.dh-door { padding: 12px; gap: 12px; }
  html.x-data-hub .dh a.dh-door img { width: 44px; height: 44px; }
  html.x-data-hub .dh .dh-t b { font-size: 16px; }
  html.x-data-hub .dh a.dh-door em { display: none; }
}
@media (max-width: 339px) {
  html.x-data-hub.x-top-menu .v2nav > a[data-k] { padding: 2px 6px 2px 3px; gap: 3px; }
  html.x-data-hub.x-top-menu .masthead.v2m > .v2nav { gap: 3px; }
}

/* ---- second version (24 Nov 2026): the two figures are on the page itself ---- */
html.x-data-hub .dh > .fhead .ltitle strong { font: 700 30px/1.15 Cinzel, Georgia, serif; letter-spacing: .02em; color: #ffd75e; }
html.x-data-hub .dh > .fhead .ltitle > span { font-size: 14px; }
html.x-data-hub .dh .dh-time { margin-top: 26px; }
html.x-data-hub .dh .dh-time .bp-glance[hidden] { display: none; }
@media (max-width: 760px) {
  html.x-data-hub .dh > .fhead .ltitle strong { font-size: 22px; }
}
/* on this page the spec ranking has no All / Leveling / PvE / PvP buttons to copy (they are the Popular page's), so their empty row steps out */
html.x-data-hub .dh .x-p8-specs-tabs:empty { display: none; }
/* ...and with that row gone, the board's grid has one row for the view, or the field sits in the 40 px row meant for the buttons and
   draws nothing (measured 24 Nov at 1440: the field 0 px tall) */
html.x-data-hub .dh .x-p8-specs-board:has(> .x-p8-specs-tabs:empty) { grid-template-rows: minmax(0, 1fr); }

/* ---- third version (24 Nov 2026, x.js): the freshness line, the band of numbers, the index, the whole game at a glance, and a
   live number on each door. Pressing changes only light and opens in place; nothing moves by itself. ---- */
html.x-data-hub .dh .x-data-hub-fresh { display: block; margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #a9a9a9; }
html.x-data-hub .dh .x-data-hub-fresh[hidden] { display: none; }
/* (29 Nov 2026) the page stands still from the first paint. x.js runs after it (it is deferred) and puts the band, the index, the
   spec board (lab/x/p8-specs) and the changes grid (lab/x/p10-time) under the title; until it has run, a window's height is held
   under the title, so the doors and the foot start out of sight and nothing seen moves when the parts come in (layout shift 0.63 at
   1280 before). Then the freshness line and the band keep the room of their final words while the numbers arrive (x.js): the
   stand-in words are never seen. */
html.x-data-hub:not(.x-data-hub-ready) .dh > .fhead::after { content: ""; display: block; flex: 0 0 100%; height: 100vh; }
html.x-data-hub .dh .x-data-hub-ph { visibility: hidden; }
/* the freshness line's own room in the lines it takes once Open Sans has loaded (the fallback font is narrower and would take a
   line less, so the swap would push the band down; measured 29 Nov: three lines to 395 px, two to 695 px, one above) */
html.x-data-hub .dh .x-data-hub-fresh { min-height: 1.5em; }
@media (max-width: 459px) { html.x-data-hub .dh .x-data-hub-fresh { min-height: 3em; } }   /* (2 Dec 2026) the line is shorter: two lines on a phone, one from 460 px */
html.x-data-hub .dh .x-data-hub-fresh i { display: inline-block; vertical-align: 1px; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #ffd100; box-shadow: 0 0 0 3px rgba(255, 209, 0, .16); }
html.x-data-hub .dh .x-data-hub-fresh b { color: #e8e8e8; font-weight: 600; }

/* the band: four big true numbers, each saying where it comes from */
html.x-data-hub .dh .x-data-hub-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 12px; }
html.x-data-hub .dh .x-data-hub-stat { display: flex; flex-direction: column; gap: 4px; min-width: 0; min-height: 118px; box-sizing: border-box; padding: 14px 16px 12px; border-radius: 8px; background: #1e1e1e; box-shadow: inset 0 0 0 1px #333; }
html.x-data-hub .dh .x-data-hub-stat[hidden] { display: none; }
html.x-data-hub .dh .x-data-hub-v { display: flex; align-items: center; gap: 8px; font: 700 34px/1.1 Cinzel, Georgia, serif; color: #ffd100; letter-spacing: .01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.x-data-hub .dh .x-data-hub-v:empty::before { content: "\2026"; color: #5a4a1e; }
html.x-data-hub .dh .x-data-hub-v img { flex: none; width: 30px; height: 30px; border-radius: 6px; box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--cc, #5a4a1e); }
html.x-data-hub .dh .x-data-hub-l { font-size: 14px; line-height: 1.4; color: #d6d6d6; }
html.x-data-hub .dh .x-data-hub-src { margin-top: auto; padding-top: 4px; font-size: 12px; line-height: 1.4; color: #8f8f8f; }
html.x-data-hub .dh .x-data-hub-src a { color: #c89b1a; }
html.x-data-hub .dh .x-data-hub-src a:hover { color: #ffd75e; }

/* the index: one press to each part */
html.x-data-hub .dh .x-data-hub-idx { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
html.x-data-hub .dh .x-data-hub-idx a { display: inline-flex; align-items: center; gap: 8px; height: 34px; box-sizing: border-box; padding: 0 14px 0 4px; border-radius: 999px; background: #1e1e1e; box-shadow: inset 0 0 0 1px #3a3a3a; color: #e8e8e8; font-size: 14px; font-weight: 600; text-decoration: none; }
html.x-data-hub .dh .x-data-hub-idx a:hover, html.x-data-hub .dh .x-data-hub-idx a:focus-visible { box-shadow: inset 0 0 0 1px #c89b1a; color: #ffd75e; outline: none; }
html.x-data-hub .dh .x-data-hub-idx img { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 1px #000; }
html.x-data-hub .dh .x-data-hub-at { display: block; height: 0; }
html.x-data-hub .dh .x-data-hub-at, html.x-data-hub .dh #x-data-hub-classes, html.x-data-hub .dh #x-data-hub-changes, html.x-data-hub .dh #x-data-hub-more { scroll-margin-top: 12px; }

/* the whole game at a glance */
html.x-data-hub .dh .x-data-hub-cls { margin: 26px 0 0; padding: 14px 16px 16px; border-radius: 10px; background: #1c1c1c; border: 1px solid rgba(200, 155, 26, .5); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
html.x-data-hub .dh .x-data-hub-cls[hidden] { display: none; }
html.x-data-hub .dh .x-data-hub-ttl { display: flex; align-items: baseline; gap: 10px; margin: 0; }
html.x-data-hub .dh .x-data-hub-ttl small { font: 700 10px/1 'Open Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #c89b1a; white-space: nowrap; }
html.x-data-hub .dh .x-data-hub-ttl b { font: 700 20px/1.1 Cinzel, Georgia, serif; color: #ffd75e; letter-spacing: .01em; }
html.x-data-hub .dh .x-data-hub-cls .x-data-hub-sub { margin: 6px 0 12px; font-size: 13.5px; line-height: 1.5; color: #b5b5b5; }
html.x-data-hub .dh .x-data-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
html.x-data-hub .dh .x-data-hub-card { display: flex; flex-direction: column; min-width: 0; border-radius: 8px; background: #222; box-shadow: inset 3px 0 0 var(--cc), inset 0 0 0 1px #333; }
html.x-data-hub .dh .x-data-hub-card:hover { background: #262626; }
html.x-data-hub .dh .x-data-hub-card.x-data-hub-on { background: #262420; box-shadow: inset 3px 0 0 var(--cc), inset 0 0 0 1px #c89b1a; }
html.x-data-hub .dh .x-data-hub-hit { display: flex; flex-direction: column; gap: 9px; width: 100%; margin: 0; padding: 12px 14px 10px 16px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 8px 8px 0 0; }
html.x-data-hub .dh .x-data-hub-hit:focus-visible { outline: 2px solid #ffd75e; outline-offset: -2px; }
html.x-data-hub .dh .x-data-hub-ch { display: flex; align-items: center; gap: 10px; min-width: 0; }
html.x-data-hub .dh .x-data-hub-ch > img { flex: none; width: 38px; height: 38px; border-radius: 6px; box-shadow: 0 0 0 1px #000; }
html.x-data-hub .dh .x-data-hub-cn { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html.x-data-hub .dh .x-data-hub-cn b { font: 700 18px/1.1 Cinzel, Georgia, serif; color: var(--cc); }
html.x-data-hub .dh .x-data-hub-cn small, html.x-data-hub .dh .x-data-hub-cb small { font-size: 12px; color: #9a9a9a; }
html.x-data-hub .dh .x-data-hub-cb { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin-left: auto; }
html.x-data-hub .dh .x-data-hub-cb b { font-size: 17px; font-weight: 700; color: #f2f2f2; font-variant-numeric: tabular-nums; }
html.x-data-hub .dh .x-data-hub-bar { display: flex; gap: 2px; height: 20px; border-radius: 4px; overflow: hidden; }
html.x-data-hub .dh .x-data-hub-bar i { display: flex; align-items: center; justify-content: center; flex-basis: 0; min-width: 4px; background: var(--c); font-style: normal; }
html.x-data-hub .dh .x-data-hub-bar b { font-size: 11.5px; font-weight: 700; color: #141414; }
html.x-data-hub .dh .x-data-hub-bar.x-data-hub-big { height: 28px; margin: 14px 0 0; }
html.x-data-hub .dh .x-data-hub-bar.x-data-hub-big b { font-size: 13px; }
html.x-data-hub .dh .x-data-hub-hit .x-data-hub-say { font-size: 13.5px; color: #e0e0e0; }
html.x-data-hub .dh .x-data-hub-hit .x-data-hub-say small { font-size: 12.5px; color: #9a9a9a; }
html.x-data-hub .dh a.x-data-hub-one { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 9px 14px 11px 16px; border-top: 1px solid #2f2f2f; color: #e8e8e8; text-decoration: none; border-radius: 0 0 8px 8px; }
html.x-data-hub .dh a.x-data-hub-one img { flex: none; width: 28px; height: 28px; border-radius: 5px; box-shadow: 0 0 0 1px #000; }
html.x-data-hub .dh a.x-data-hub-one span { display: flex; flex-direction: column; min-width: 0; }
html.x-data-hub .dh a.x-data-hub-one small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #9a9a9a; }
html.x-data-hub .dh a.x-data-hub-one b { font-size: 14px; color: #f2f2f2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-data-hub .dh a.x-data-hub-one em, html.x-data-hub .dh .x-data-hub-tops a, html.x-data-hub .dh button.x-data-hub-x { flex: none; margin-left: auto; padding: 4px 12px; border: 0; border-radius: 999px; background: #2a2410; box-shadow: inset 0 0 0 1px #5a4a1e; font: 600 12.5px/1.2 'Open Sans', sans-serif; font-style: normal; color: #ffd75e; text-decoration: none; cursor: pointer; }
html.x-data-hub .dh a.x-data-hub-one:hover em, html.x-data-hub .dh a.x-data-hub-one:focus-visible em, html.x-data-hub .dh .x-data-hub-tops a:hover, html.x-data-hub .dh button.x-data-hub-x:hover { box-shadow: inset 0 0 0 1px #c89b1a; color: #ffe58a; }
html.x-data-hub .dh a.x-data-hub-one:hover b { color: #ffd75e; }

/* the open class, in place: a whole row of the grid */
html.x-data-hub .dh .x-data-hub-open { position: relative; grid-column: 1 / -1; padding: 16px 18px 18px 20px; border-radius: 8px; background: #191919; box-shadow: inset 3px 0 0 var(--cc), inset 0 0 0 1px #c89b1a; }
html.x-data-hub .dh .x-data-hub-oh { display: flex; align-items: center; gap: 14px; }
html.x-data-hub .dh .x-data-hub-oh > img { flex: none; width: 52px; height: 52px; border-radius: 8px; box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--cc); }
html.x-data-hub .dh .x-data-hub-oh h3 { margin: 0; font: 700 24px/1.1 Cinzel, Georgia, serif; color: var(--cc); }
html.x-data-hub .dh .x-data-hub-oh p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: #c9c9c9; }
html.x-data-hub .dh .x-data-hub-oh p b { color: #f2f2f2; }
html.x-data-hub .dh button.x-data-hub-x { align-self: flex-start; padding: 6px 14px; font-size: 13px; }
html.x-data-hub .dh ul.x-data-hub-key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 10px 0 0; padding: 0; list-style: none; }
html.x-data-hub .dh ul.x-data-hub-key li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
html.x-data-hub .dh ul.x-data-hub-key li::before { content: none; }
html.x-data-hub .dh ul.x-data-hub-key img { width: 30px; height: 30px; border-radius: 6px; box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--c); }
html.x-data-hub .dh ul.x-data-hub-key span { font-size: 14px; color: #e8e8e8; }
html.x-data-hub .dh ul.x-data-hub-key b { color: var(--c); }
html.x-data-hub .dh ul.x-data-hub-key small { display: block; font-size: 12px; color: #9a9a9a; }
html.x-data-hub .dh .x-data-hub-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; margin-top: 18px; }
html.x-data-hub .dh .x-data-hub-open h4 { margin: 0 0 6px; font: 700 13px/1.2 Cinzel, Georgia, serif; letter-spacing: .08em; text-transform: uppercase; color: #ffd75e; }
html.x-data-hub .dh .x-data-hub-tops ol, html.x-data-hub .dh .x-data-hub-tl ul { margin: 0; padding: 0; list-style: none; }
html.x-data-hub .dh .x-data-hub-tops li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 0; border-bottom: 1px solid #2a2a2a; }
html.x-data-hub .dh .x-data-hub-tops li::before, html.x-data-hub .dh .x-data-hub-tl li::before { content: none; }
html.x-data-hub .dh .x-data-hub-rk { flex: none; width: 24px; font-size: 13px; font-weight: 700; color: #9a9a9a; }
html.x-data-hub .dh .x-data-hub-tops li > img { flex: none; width: 32px; height: 32px; border-radius: 6px; box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--c); }
html.x-data-hub .dh .x-data-hub-tops li > span { display: flex; flex-direction: column; min-width: 0; }
html.x-data-hub .dh .x-data-hub-tops li b { font-size: 14.5px; color: #f2f2f2; }
html.x-data-hub .dh .x-data-hub-tops li small { font-size: 12.5px; color: #a9a9a9; }
html.x-data-hub .dh .x-data-hub-tls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 18px; align-content: start; }
html.x-data-hub .dh .x-data-hub-tl li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: baseline; gap: 2px 8px; margin: 0 0 8px; padding: 0; }
html.x-data-hub .dh .x-data-hub-tl li > b { font-size: 14px; color: var(--c); font-variant-numeric: tabular-nums; }
html.x-data-hub .dh .x-data-hub-tl li > span { font-size: 13.5px; color: #e8e8e8; min-width: 0; }
html.x-data-hub .dh .x-data-hub-tl li small { display: block; font-size: 11.5px; color: #9a9a9a; }
html.x-data-hub .dh .x-data-hub-tl li > i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--c); opacity: .85; }
html.x-data-hub .dh .x-data-hub-note { grid-column: 1 / -1; margin: 2px 0 0; font-size: 12px; line-height: 1.45; color: #8f8f8f; }
html.x-data-hub .dh .x-data-hub-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 16px 0 0; }
html.x-data-hub .dh .x-data-hub-go a { color: #ffd75e; font-size: 14px; font-weight: 600; }
html.x-data-hub .dh .x-data-hub-go a.x-data-hub-calc { display: inline-flex; align-items: center; gap: 8px; height: 38px; box-sizing: border-box; padding: 0 16px 0 4px; border-radius: 999px; background: #2a2410; box-shadow: inset 0 0 0 1px #c89b1a; text-decoration: none; }
html.x-data-hub .dh .x-data-hub-go a.x-data-hub-calc:hover { background: #3a3014; color: #ffe58a; }
html.x-data-hub .dh .x-data-hub-go a.x-data-hub-calc img { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 1px #000; }

/* the doors: a live number each */
html.x-data-hub .dh a.dh-door em.x-data-hub-num { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding: 0; background: none; box-shadow: none; font-size: 12px; font-weight: 400; color: #a9a9a9; }
html.x-data-hub .dh a.dh-door em.x-data-hub-num b { font: 700 22px/1.1 Cinzel, Georgia, serif; color: #ffd100; font-variant-numeric: tabular-nums; }
html.x-data-hub .dh a.dh-door { min-height: 96px; }

@media (max-width: 1100px) {
  html.x-data-hub .dh .x-data-hub-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.x-data-hub .dh .x-data-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.x-data-hub .dh .x-data-hub-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  html.x-data-hub .dh .x-data-hub-band { gap: 8px; margin: 12px 0 10px; }
  html.x-data-hub .dh .x-data-hub-stat { min-height: 0; padding: 10px 12px; }
  html.x-data-hub .dh .x-data-hub-v { font-size: 21px; gap: 6px; }
  html.x-data-hub .dh .x-data-hub-v img { width: 22px; height: 22px; }
  html.x-data-hub .dh .x-data-hub-l { font-size: 12.5px; line-height: 1.35; }
  html.x-data-hub .dh .x-data-hub-src { font-size: 11px; padding-top: 2px; }
  html.x-data-hub .dh .x-data-hub-stat { gap: 2px; }
  html.x-data-hub .dh .x-data-hub-idx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
  html.x-data-hub .dh .x-data-hub-idx a { flex-direction: column; justify-content: center; gap: 3px; height: 54px; padding: 4px 2px; border-radius: 8px; font-size: 13px; }
  html.x-data-hub .dh .x-data-hub-idx img { width: 24px; height: 24px; }
  html.x-data-hub .dh .x-data-hub-cls { margin-top: 18px; padding: 12px 10px; }
  html.x-data-hub .dh .x-data-hub-ttl { flex-direction: column; gap: 8px; }
  html.x-data-hub .dh .x-data-hub-ttl b { font-size: 18px; }
  html.x-data-hub .dh .x-data-hub-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  html.x-data-hub .dh .x-data-hub-open { padding: 14px 12px 16px 14px; }
  html.x-data-hub .dh .x-data-hub-oh { align-items: flex-start; gap: 10px; }
  html.x-data-hub .dh .x-data-hub-oh > img { width: 40px; height: 40px; }
  html.x-data-hub .dh .x-data-hub-oh > div { flex: 1 1 0; min-width: 0; }
  html.x-data-hub .dh .x-data-hub-oh h3 { min-height: 40px; display: flex; align-items: center; padding-right: 84px; }
  html.x-data-hub .dh .x-data-hub-oh p { margin-left: -50px; }
  html.x-data-hub .dh button.x-data-hub-x { position: absolute; top: 18px; right: 12px; padding: 8px 16px; }
  html.x-data-hub .dh .x-data-hub-oh h3 { font-size: 20px; }
  html.x-data-hub .dh .x-data-hub-oh p { font-size: 13.5px; }
  html.x-data-hub .dh ul.x-data-hub-key { gap: 10px 14px; }
  html.x-data-hub .dh .x-data-hub-cols { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  html.x-data-hub .dh .x-data-hub-tls { grid-template-columns: minmax(0, 1fr); }
  html.x-data-hub .dh .x-data-hub-tops li a { padding: 8px 14px; }
  html.x-data-hub .dh a.dh-door { flex-wrap: wrap; min-height: 0; }
  html.x-data-hub .dh a.dh-door em.x-data-hub-num { display: flex; flex-direction: row; align-items: baseline; gap: 6px; flex: 0 0 calc(100% - 56px); box-sizing: border-box; margin: -4px 0 0 56px; }
  html.x-data-hub .dh a.dh-door em.x-data-hub-num b { font-size: 18px; }
}
@media (max-width: 374px) {
  html.x-data-hub .dh .x-data-hub-band { grid-template-columns: minmax(0, 1fr); }
  html.x-data-hub .dh .x-data-hub-idx a { font-size: 12px; }
  html.x-data-hub .dh a.x-data-hub-one b { white-space: normal; }
  html.x-data-hub .dh a.x-data-hub-one small { white-space: nowrap; }
}

/* x: door-peek */
/* door-peek: Training Grounds, Data and Addon open a preview of what is behind them, as the Guides pill does (25 and 27 Nov 2026).
   The panel and the phone sheet are lab/x/top-menu's own (its classes); this file draws what is inside. Depth is scale, colour,
   gloss and glow: a wide picture that melts into the panel at the head, big gold numbers, purple for fighting someone (the live
   Arena PvP purple), gold for practice. Pointing changes only a door's light; nothing moves by itself. */
html.x-door-peek .x-door-peek-panel:not(.x-top-menu-sheet) { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #4a4a4a transparent; }
html.x-door-peek .x-door-peek-panel a { -webkit-tap-highlight-color: transparent; }
html.x-door-peek .x-door-peek-panel a:active { transform: translateY(1px); }

/* the head: title, one line, the door to the whole place; the picture melts in, no hard edge */
html.x-door-peek .x-door-peek-hero { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 96px; margin: -16px -16px 4px; padding: 26px 16px 12px; border-radius: 10px 10px 0 0; overflow: hidden; isolation: isolate; }
html.x-door-peek .x-door-peek-heroim { position: absolute; inset: 0; z-index: -1; background-repeat: no-repeat; opacity: .85;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
html.x-door-peek .x-door-peek-h-tg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 18, 16, .9) 0%, rgba(20, 18, 16, .55) 45%, rgba(20, 18, 16, .15) 100%); }
html.x-door-peek .x-door-peek-h-data { min-height: 0; padding-top: 18px; background: radial-gradient(120% 140% at 0% 0%, rgba(255, 209, 0, .13), transparent 60%); }
html.x-door-peek .x-door-peek-ht { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 260px; }
html.x-door-peek .x-door-peek-title { color: #ffd75e; font: 700 24px/1.1 Cinzel, Georgia, serif; text-shadow: 0 2px 10px rgba(0, 0, 0, .8), 0 0 18px rgba(255, 190, 40, .25); }
html.x-door-peek .x-door-peek-ht span { color: #e6e1d6; font-size: 13.5px; text-shadow: 0 1px 4px rgba(0, 0, 0, .9); }
html.x-door-peek .x-door-peek-open { display: inline-flex; align-items: center; justify-content: center; flex: none; min-height: 36px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 13px; white-space: nowrap;
  color: #1a1408 !important; background: linear-gradient(180deg, #ffe27a, #ffd100 45%, #c89b1a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 2px 10px rgba(0, 0, 0, .5), 0 0 14px rgba(255, 209, 0, .22); transition: box-shadow .12s ease-out, filter .12s ease-out; }
html.x-door-peek .x-door-peek-open:is(:hover, :focus-visible) { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 2px 10px rgba(0, 0, 0, .5), 0 0 22px rgba(255, 209, 0, .45); }

html.x-door-peek .x-door-peek-lab { margin: 12px 0 7px; color: #c89b1a; font: 700 11.5px/1 "Open Sans", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
html.x-door-peek .x-door-peek-lab-pu { color: #b98ae6; }
html.x-door-peek .x-door-peek-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
html.x-door-peek .x-door-peek-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
html.x-door-peek .x-door-peek-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
html.x-door-peek .x-door-peek-im { display: block; background-repeat: no-repeat; background-color: #121212; }

/* every door: a dark card with a 1 px rim; pointing lights the rim and the picture */
html.x-door-peek :is(.x-door-peek-pvp, .x-door-peek-bot, .x-door-peek-pr, .x-door-peek-num, .x-door-peek-chart, .x-door-peek-mini, .x-door-peek-shot, .x-door-peek-adpic) {
  position: relative; display: flex; min-width: 0; border-radius: 10px; overflow: hidden; color: inherit; text-decoration: none; background: linear-gradient(180deg, #1b1b1b, #151515);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 2px 8px rgba(0, 0, 0, .35); transition: box-shadow .12s ease-out, background .12s ease-out; }
html.x-door-peek :is(.x-door-peek-pvp, .x-door-peek-bot, .x-door-peek-pr, .x-door-peek-num, .x-door-peek-chart, .x-door-peek-mini, .x-door-peek-shot, .x-door-peek-adpic):is(:hover, :focus-visible) {
  box-shadow: inset 0 0 0 1px #c89b1a, 0 0 16px rgba(255, 209, 0, .2), 0 2px 8px rgba(0, 0, 0, .35); }
html.x-door-peek :is(.x-door-peek-pvp, .x-door-peek-shot, .x-door-peek-mini) .x-door-peek-im { filter: brightness(.9) saturate(.95); transition: filter .15s ease-out; }
html.x-door-peek :is(.x-door-peek-pvp, .x-door-peek-shot, .x-door-peek-mini):is(:hover, :focus-visible) .x-door-peek-im { filter: none; }
html.x-door-peek .x-door-peek-panel b, html.x-door-peek .x-door-peek-panel em, html.x-door-peek .x-door-peek-panel small { overflow-wrap: anywhere; }

/* Training: fighting someone (purple) */
html.x-door-peek .x-door-peek-pvp { flex-direction: column; background: linear-gradient(180deg, #221a2c, #17131d); box-shadow: inset 0 0 0 1px rgba(168, 104, 222, .55), 0 0 14px rgba(163, 53, 238, .14), 0 2px 8px rgba(0, 0, 0, .4); }
html.x-door-peek .x-door-peek-pvp:is(:hover, :focus-visible) { box-shadow: inset 0 0 0 1px #c18cf0, 0 0 20px rgba(163, 53, 238, .35), 0 2px 8px rgba(0, 0, 0, .4); }
html.x-door-peek .x-door-peek-pvp .x-door-peek-im { height: 124px;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
/* Arena 1v1: two whole standing fighters, head to foot, facing off on the arena floor (the renders the /duel share card is made of) */
html.x-door-peek .x-door-peek-pvp .x-door-peek-duo { position: relative; overflow: hidden; background-size: cover; background-position: center 70%;
  -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent); mask-image: linear-gradient(180deg, #000 86%, transparent); }
html.x-door-peek .x-door-peek-duo img { position: absolute; bottom: 16%; height: 76%; width: auto; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .6)); }
html.x-door-peek .x-door-peek-duo .x-door-peek-f1 { left: 24%; }
html.x-door-peek .x-door-peek-duo .x-door-peek-f2 { right: 14%; }
html.x-door-peek .x-door-peek-tx { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-top: -14px; padding: 0 12px 12px; position: relative; }
html.x-door-peek .x-door-peek-tx b { color: #f1e6ff; font: 700 18px/1.15 Cinzel, Georgia, serif; text-shadow: 0 2px 6px rgba(0, 0, 0, .9); }
html.x-door-peek .x-door-peek-tx em { color: #c9c0d3; font-style: normal; font-size: 13px; line-height: 1.35; }
html.x-door-peek .x-door-peek-btn { margin-top: 8px; padding: 8px 13px; border-radius: 999px; font-style: normal; font-weight: 700; font-size: 13px; line-height: 1; white-space: nowrap; color: #fff;
  background: linear-gradient(180deg, #8c35c9, #5e1e8f); box-shadow: inset 0 0 0 1px #a868de, inset 0 1px 0 rgba(255, 255, 255, .16), 0 0 10px rgba(163, 53, 238, .35); }
html.x-door-peek .x-door-peek-bots { margin-top: 8px; }
html.x-door-peek .x-door-peek-bot { align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px 6px 6px; }
html.x-door-peek .x-door-peek-bot img { flex: none; width: 64px; height: 36px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
html.x-door-peek .x-door-peek-bot > span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
html.x-door-peek .x-door-peek-bot b { color: #f0f0f0; font-size: 13.5px; }
html.x-door-peek .x-door-peek-bot em { color: #a9a9a9; font-style: normal; font-size: 12.5px; }
html.x-door-peek .x-door-peek-arr { flex: none; color: #c89b1a; font-style: normal; font-weight: 700; font-size: 18px; line-height: 1; }

/* Training: practice alone (gold) */
html.x-door-peek .x-door-peek-pr { flex-direction: column; align-items: center; text-align: center; gap: 6px; min-height: 132px; padding: 12px 6px 10px; }
html.x-door-peek .x-door-peek-ico { width: 40px; height: 40px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(214, 168, 40, .75), 0 2px 8px rgba(0, 0, 0, .6); }
html.x-door-peek .x-door-peek-prt { display: flex; flex-direction: column; align-items: center; gap: 2px; }
html.x-door-peek .x-door-peek-pr small { color: #c89b1a; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
html.x-door-peek .x-door-peek-pr b { color: #ffd75e; font: 700 14px/1.15 Cinzel, Georgia, serif; }
html.x-door-peek .x-door-peek-pr em { color: #a9a9a9; font-style: normal; font-size: 12px; line-height: 1.3; }
html.x-door-peek .x-door-peek-first { background: radial-gradient(90% 80% at 50% 100%, #3e3218, #1b1712 70%); box-shadow: inset 0 0 0 1.5px #d6a828, 0 0 16px rgba(255, 209, 0, .2), 0 2px 8px rgba(0, 0, 0, .4); flex-direction: row; text-align: left; align-items: stretch; padding: 0 8px 0 0; gap: 4px; }
html.x-door-peek .x-door-peek-first .x-door-peek-prt { align-items: flex-start; justify-content: center; padding: 8px 0; }
html.x-door-peek .x-door-peek-dum { flex: none; width: 46px; align-self: stretch; overflow: hidden; }
html.x-door-peek .x-door-peek-dum img { display: block; width: 56px; height: auto; margin: 6px 0 0 -4px; }
html.x-door-peek .x-door-peek-start { margin-top: 5px; padding: 4px 8px; border-radius: 4px; font-style: normal; font-weight: 700; font-size: 11px; line-height: 1; color: #1a1408; background: linear-gradient(180deg, #ffe27a, #e0b020); }
html.x-door-peek .x-door-peek-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
html.x-door-peek .x-door-peek-ft { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 140px; min-height: 38px; padding: 0 12px; border-radius: 999px; background: #262626; box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .45); color: #ffd100 !important; font-weight: 700; font-size: 13px; white-space: nowrap; transition: background .12s ease-out; }
html.x-door-peek .x-door-peek-ft:is(:hover, :focus-visible) { background: #332d1e; box-shadow: inset 0 0 0 1px #ffd100; }

/* Data: big numbers, two small charts, three doors */
html.x-door-peek .x-door-peek-nums { margin-top: 8px; }
html.x-door-peek .x-door-peek-num { flex-direction: column; gap: 3px; padding: 12px 14px; background: radial-gradient(120% 120% at 0% 0%, rgba(255, 209, 0, .1), transparent 60%), linear-gradient(180deg, #1d1b16, #151515); box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .45), 0 2px 8px rgba(0, 0, 0, .35); }
html.x-door-peek .x-door-peek-num b { min-height: 34px; color: #ffd100; font: 700 30px/1.1 Cinzel, Georgia, serif; letter-spacing: .01em; text-shadow: 0 0 18px rgba(255, 209, 0, .3); }
html.x-door-peek .x-door-peek-num:not(.x-door-peek-on) b { background: linear-gradient(90deg, rgba(200, 155, 26, .18), rgba(200, 155, 26, .06)); border-radius: 6px; width: 60%; }
html.x-door-peek .x-door-peek-num span { color: #cfcfcf; font-size: 12.5px; line-height: 1.35; }
html.x-door-peek .x-door-peek-charts { margin-top: 10px; }
html.x-door-peek .x-door-peek-chart { flex-direction: column; gap: 7px; padding: 11px 12px 10px; }
html.x-door-peek .x-door-peek-chart > small { color: #ffd75e; font: 700 14px/1.1 Cinzel, Georgia, serif; }
html.x-door-peek .x-door-peek-chart > em { color: #8f8f8f; font-style: normal; font-size: 11.5px; line-height: 1.3; }
html.x-door-peek .x-door-peek-bars { display: flex; flex-direction: column; gap: 4px; min-height: 124px; margin: 0; padding: 0; list-style: none; }
html.x-door-peek .x-door-peek-bars li { position: relative; display: flex; align-items: center; gap: 7px; height: 22px; padding-right: 4px; border-radius: 5px; overflow: hidden; background: rgba(255, 255, 255, .03); }
html.x-door-peek .x-door-peek-bars li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 5px; background: linear-gradient(90deg, color-mix(in srgb, var(--cc) 42%, transparent), color-mix(in srgb, var(--cc) 16%, transparent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
/* (30 Nov 2026, audit) a bar's length is its number: it starts where the icon ends, so its coloured part is the share (before, the
   22 px under the icon counted too, and Shadow Priest's 48% of the top drew as 43%) */
html.x-door-peek .x-door-peek-bars li::before { left: 22px; width: calc((100% - 22px) * var(--w)); border-radius: 0 5px 5px 0; }
/* the reader's own class, on a class page: its rows carry a gold rim */
html.x-door-peek .x-door-peek-bars li.x-door-peek-me { outline: 1px solid rgba(255, 215, 94, .8); outline-offset: -1px; }

/* your class (on a class page): the class, its place of 9, and its three specs' places of 27, one row under the two numbers */
html.x-door-peek .x-door-peek-you { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; margin-top: 10px; padding: 9px 12px 9px 10px; border-radius: 10px; color: inherit; text-decoration: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--cc) 16%, #1b1b1b), #161616 55%); box-shadow: inset 3px 0 0 var(--cc), inset 0 0 0 1px rgba(255, 255, 255, .09), 0 2px 8px rgba(0, 0, 0, .35); transition: box-shadow .12s ease-out; }
html.x-door-peek .x-door-peek-you:is(:hover, :focus-visible) { box-shadow: inset 3px 0 0 var(--cc), inset 0 0 0 1px #c89b1a, 0 0 16px rgba(255, 209, 0, .2), 0 2px 8px rgba(0, 0, 0, .35); outline: none; }
html.x-door-peek .x-door-peek-you > img { flex: none; width: 40px; height: 40px; border-radius: 8px; box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--cc); }
html.x-door-peek .x-door-peek-yn { display: flex; flex-direction: column; gap: 1px; flex: none; width: 138px; min-width: 0; }
html.x-door-peek .x-door-peek-yn small { color: #c89b1a; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
html.x-door-peek .x-door-peek-yn b { color: var(--cc); font: 700 18px/1.1 Cinzel, Georgia, serif; }
html.x-door-peek .x-door-peek-yn em { min-height: 16px; color: #cfcfcf; font-style: normal; font-size: 12px; line-height: 1.3; }
html.x-door-peek .x-door-peek-ysp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; }
html.x-door-peek .x-door-peek-ysp li { display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 36px; margin: 0; padding: 0; }
html.x-door-peek .x-door-peek-ysp li::before { content: none; }
html.x-door-peek .x-door-peek-ysp img { flex: none; width: 28px; height: 28px; border-radius: 6px; box-shadow: 0 0 0 1px #000; }
html.x-door-peek .x-door-peek-ysp span { display: flex; flex-direction: column; min-width: 0; }
html.x-door-peek .x-door-peek-ysp b { color: #f0f0f0; font-size: 12.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
html.x-door-peek .x-door-peek-ysp em { color: #a9a9a9; font-style: normal; font-size: 11.5px; line-height: 1.3; white-space: nowrap; }
html.x-door-peek .x-door-peek-ysp em i { color: #ffd100; font-style: normal; font-weight: 700; }
html.x-door-peek .x-door-peek-ysp em small { white-space: nowrap; font-size: inherit; }
@media (max-width: 560px) {
  html.x-door-peek .x-top-menu-sheet .x-door-peek-you { flex-wrap: wrap; row-gap: 8px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-yn { flex: 1 1 0; width: auto; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-ysp { flex: 0 0 100%; gap: 6px; }
  /* three narrow cells: the tree's icon above its name, the share and the place under it, nothing cut */
  html.x-door-peek .x-top-menu-sheet .x-door-peek-ysp li { flex-direction: column; align-items: flex-start; gap: 4px; padding: 6px 6px 7px; border-radius: 8px; background: rgba(0, 0, 0, .25); }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-ysp img { width: 26px; height: 26px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-ysp b { white-space: normal; overflow: visible; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-ysp em { white-space: normal; }
}
html.x-door-peek .x-door-peek-bars img { position: relative; flex: none; width: 22px; height: 22px; border-radius: 5px 0 0 5px; }
html.x-door-peek .x-door-peek-bars span { position: relative; flex: 1; min-width: 0; color: var(--cc); font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, .9); }
html.x-door-peek .x-door-peek-bars b { position: relative; flex: none; color: #eaeaea; font-size: 12px; font-variant-numeric: tabular-nums; }
html.x-door-peek .x-door-peek-mini { align-items: center; gap: 9px; padding: 8px 10px 8px 8px; }
html.x-door-peek .x-door-peek-mini > img { flex: none; width: 32px; height: 32px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(214, 168, 40, .6); }
html.x-door-peek .x-door-peek-mini > span:last-child { display: flex; flex-direction: column; min-width: 0; }
html.x-door-peek .x-door-peek-mini b { color: #f0f0f0; font-size: 13px; }
html.x-door-peek .x-door-peek-mini em { color: #a0a0a0; font-style: normal; font-size: 11.5px; line-height: 1.3; }
html.x-door-peek .x-door-peek-wr .x-door-peek-im { flex: none; width: 56px; height: 40px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(214, 168, 40, .6); }

/* Addon: the picture of it in game, its numbers, what it does */
html.x-door-peek .x-door-peek-ad { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 14px; align-items: center; }
html.x-door-peek .x-door-peek-adpic { display: block; aspect-ratio: 14 / 9; box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .5), 0 0 18px rgba(255, 209, 0, .12), 0 4px 14px rgba(0, 0, 0, .5); }
html.x-door-peek .x-door-peek-adpic img { display: block; width: 100%; height: 100%; object-fit: cover; }
html.x-door-peek .x-door-peek-adt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
html.x-door-peek .x-door-peek-adt > small { color: #c89b1a; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
html.x-door-peek .x-door-peek-adt .x-door-peek-title { font-size: 21px; }
html.x-door-peek .x-door-peek-adt > span { color: #d0d0d0; font-size: 13px; line-height: 1.4; }
html.x-door-peek .x-door-peek-proof { display: flex; flex-wrap: wrap; gap: 4px 12px; min-height: 22px; margin: 2px 0 0; color: #bdbdbd; font-size: 12.5px; }
html.x-door-peek .x-door-peek-proof b { color: #ffd100; font: 700 17px/1.1 Cinzel, Georgia, serif; text-shadow: 0 0 12px rgba(255, 209, 0, .3); }
html.x-door-peek .x-door-peek-ver { min-height: 16px; margin: 0; color: #8f8f8f; font-size: 11.5px; }
html.x-door-peek .x-door-peek-adb { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
html.x-door-peek .x-door-peek-adb > a { flex: 1 1 auto; }
html.x-door-peek .x-door-peek-shot { flex-direction: column; }
html.x-door-peek .x-door-peek-shot .x-door-peek-im { height: 84px; }
html.x-door-peek .x-door-peek-shot > span:last-child { display: flex; flex-direction: column; gap: 1px; padding: 7px 8px 8px; }
html.x-door-peek .x-door-peek-shot b { color: #ffd75e; font: 700 13.5px/1.15 Cinzel, Georgia, serif; }
html.x-door-peek .x-door-peek-shot em { color: #a9a9a9; font-style: normal; font-size: 11.5px; line-height: 1.3; }

/* the phone sheet: the head picture sits under the sheet's own title row, one column where two do not fit */
@media (max-width: 760px) {
  html.x-door-peek .x-top-menu-sheet .x-door-peek-hero { margin: 0 -12px 4px; padding: 16px 12px 10px; border-radius: 0; min-height: 0; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-hero .x-door-peek-title { display: none; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-h-tg { min-height: 92px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-open { flex: 1 1 100%; min-height: 42px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-pvp .x-door-peek-im { height: 104px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-tx { padding: 0 10px 10px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-duo .x-door-peek-f1 { left: 10%; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-duo .x-door-peek-f2 { right: 2%; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-tx b { font-size: 16px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-btn { padding: 9px 11px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-four { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-four.x-door-peek-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-first .x-door-peek-dum { width: 64px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-first .x-door-peek-dum img { width: 72px; margin-top: 4px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-first { grid-column: 1 / -1; min-height: 96px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-pr:not(.x-door-peek-first) { min-height: 0; padding: 10px 6px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-shots .x-door-peek-shot .x-door-peek-im { height: 96px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-ft { min-height: 42px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-three { grid-template-columns: minmax(0, 1fr); }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-mini { min-height: 48px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-ad { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 4px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-ad .x-door-peek-title { display: none; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-adb > a { min-height: 42px; flex: 1 1 100%; }
}
@media (max-width: 560px) {
  html.x-door-peek .x-top-menu-sheet .x-door-peek-charts, html.x-door-peek .x-top-menu-sheet .x-door-peek-bots { grid-template-columns: minmax(0, 1fr); }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-bot { min-height: 52px; }
}
@media (max-width: 359px) {
  html.x-door-peek .x-top-menu-sheet .x-door-peek-pvp .x-door-peek-im { height: 88px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-tx b { font-size: 15px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-btn { padding: 8px 9px; font-size: 12px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-tx em { font-size: 12.5px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-num b { font-size: 24px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-nums { gap: 8px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-num { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html.x-door-peek .x-door-peek-panel * { transition: none !important; }
}

/* (27 Nov 2026) the Training Dummy's card beside Arena 1v1: the same card in the site's gold, the dummy whole in the arena */
html.x-door-peek .x-door-peek-pvp.x-door-peek-dmy { background: linear-gradient(180deg, #2a2416, #1a1710); box-shadow: inset 0 0 0 1px rgba(226, 180, 48, .7), 0 0 14px rgba(255, 209, 0, .1), 0 2px 8px rgba(0, 0, 0, .4); }
html.x-door-peek .x-door-peek-pvp.x-door-peek-dmy:is(:hover, :focus-visible) { box-shadow: inset 0 0 0 1px #ffd100, 0 0 20px rgba(255, 209, 0, .28), 0 2px 8px rgba(0, 0, 0, .4); }
html.x-door-peek .x-door-peek-dmy .x-door-peek-btn { background: linear-gradient(180deg, #ffe14d, #ffd100 45%, #c89b1a); color: #1a1400; box-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
html.x-door-peek .x-door-peek-duo img.x-door-peek-f0 { left: 50%; right: auto; bottom: 8%; height: 86%; transform: translateX(-50%); }

/* ==== (1 Dec 2026, the audit: Chris, "Audit everything to subtle detailed improvements you can make across everything on the website
   to make the user experience as enjoyable and fluid as possible") ==== */
/* "Arena 1v1" read "ARENA IVI": Cinzel draws a 1 as an I. The 1v1 is set in Open Sans. And the two cards' buttons stand on one line
   (they sat 18 px apart): the words take the room, the button sits at the card's foot */
html.x-door-peek .x-door-peek-tx b .x-door-peek-n { font-family: "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; font-weight: 800; font-size: .9em; letter-spacing: .01em; }
html.x-door-peek .x-door-peek-pvp > .x-door-peek-tx { flex: 1 1 auto; }
html.x-door-peek .x-door-peek-tx em { margin-bottom: 8px; }
html.x-door-peek .x-door-peek-tx .x-door-peek-btn { margin-top: auto; }

/* the doors at a card's foot: one kind in every card, the menu's gold pill with its round picture (as Guides' two doors,
   lab/x/top-menu .x-top-menu-all), 36 px on a computer, 40 on a phone with a thumb's 44 px unseen */
html.x-door-peek .x-door-peek-panel .x-door-peek-ft { position: relative; gap: 8px; min-height: 36px; padding: 2px 14px 2px 5px; border-radius: 999px; color: var(--gold, #ffd100) !important; font-weight: 700; font-size: 13px;
  background: linear-gradient(180deg, #332d1e, #25211a); box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .6), 0 2px 8px rgba(0, 0, 0, .35); }
html.x-door-peek .x-door-peek-panel .x-door-peek-ft::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #000 var(--ic) center/120% no-repeat; box-shadow: 0 0 0 1.5px #b8901f, 0 2px 6px rgba(0, 0, 0, .5); }
html.x-door-peek .x-door-peek-panel .x-door-peek-ft:is(:hover, :focus-visible) { background: linear-gradient(180deg, #3d3522, #2b261c); box-shadow: inset 0 0 0 1px var(--gold, #ffd100), 0 0 12px rgba(255, 209, 0, .25); }
html.x-door-peek .x-door-peek-panel .x-door-peek-ft .x-door-peek-sm { display: none; }
html.x-door-peek .x-door-peek-adb { align-items: center; }
html.x-door-peek .x-door-peek-foot3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
html.x-door-peek .x-door-peek-foot3 > .x-door-peek-ft { min-width: 0; }
@media (max-width: 760px) {
  html.x-door-peek .x-top-menu-sheet .x-door-peek-ft { min-height: 40px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-ft::after { content: ""; position: absolute; inset: -2px 0; }
}
/* Training's three on a phone: one row of three, each its short word ("The rules" stood alone on a third row at 390 px) */
@media (max-width: 560px) {
  html.x-door-peek .x-top-menu-sheet .x-door-peek-foot3 { gap: 6px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-foot3 > .x-door-peek-ft { padding: 2px 8px 2px 4px; gap: 5px; font-size: 12.5px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-foot3 > .x-door-peek-ft::before { width: 24px; height: 24px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-foot3 .x-door-peek-lg { display: none; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-foot3 .x-door-peek-sm { display: inline; }
}
@media (max-width: 399px) {
  html.x-door-peek .x-top-menu-sheet .x-door-peek-foot3 > .x-door-peek-ft { padding: 2px 6px; }
  html.x-door-peek .x-top-menu-sheet .x-door-peek-foot3 > .x-door-peek-ft::before { display: none; }
}

/* the Addon card's numbers line holds its full height before the numbers come (it wrapped to two lines and the card grew 20 px) */
html.x-door-peek .x-door-peek-panel:not(.x-top-menu-sheet) .x-door-peek-proof { min-height: 42px; align-content: flex-start; }
/* (2 Dec 2026, Chris, the Data sheet on his phone: "Shorten this so it doesn't take up 2 lines") the line lost ", counted by this site" (x.js); on the
   narrowest phones the sheets' opening lines are a size down, so it is one line there too */
@media (max-width: 359.98px) { html.x-door-peek .x-door-peek-ht span { font-size: 12.5px; } }

/* x: find-talent */
/* find-talent (24 Nov 2026, the staging build): find a talent, right at the trees. NOTES.md says who asked and why. */

/* the press in the trees' bar: a quiet pill like the bar's own buttons; where it would not fit, the magnifier alone */
html.x-find-talent .x-find-talent-w { display: inline-flex; align-items: center; min-width: 0; }
html.x-find-talent .x-find-talent-go { display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; height: 26px; margin: 0; padding: 0 10px 0 8px; border: 0; border-radius: 5px; background: #2a2a2a; box-shadow: inset 0 0 0 1px #3d3d3d; color: #cfcfcf; font: 600 12px/1 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; white-space: nowrap; cursor: pointer; }
html.x-find-talent .x-find-talent-go svg { flex: none; color: #ffd100; }
html.x-find-talent .x-find-talent-go:hover { background: #333; box-shadow: inset 0 0 0 1px #c89b1a; color: #ffd100; }
html.x-find-talent .x-find-talent-go:focus-visible { outline: 2px solid #ffd100; outline-offset: 2px; }
html.x-find-talent .x-find-talent-ico .x-find-talent-go { padding: 0 6px; }
html.x-find-talent .x-find-talent-ico .x-find-talent-go span { display: none; }

/* the box itself opens OVER the bar, from its left edge to its right: it takes no room of its own, the bar keeps its height,
   and nothing under the bar moves. The bar's own things come back when it is cleared. */
/* (24 Nov 2026, Chris, from his phone, the bar under the trees' strip circled: "Doesn't seem to sit at the top?") On a phone the
   site pins this strip to the top of the screen (index.html, 820 px and under: position sticky), and the sections bar parks
   itself right under it. This rule used to say position relative at every width, which unpinned the strip on a phone and left
   the sections bar hanging 41 px down with nothing above it. A pinned strip already holds the search box in place, so the rule
   is only for the widths where the strip is not pinned. */
@media (min-width: 821px) { html.x-find-talent .status:has(.x-find-talent-w) { position: relative; } }
html.x-find-talent .x-find-talent-f { display: none; }
html.x-find-talent .x-find-talent-open .x-find-talent-f { position: absolute; z-index: 5; inset: 0; display: flex; align-items: center; gap: 8px; box-sizing: border-box; padding: 0 10px; border-radius: inherit; background: #1b1b1b; box-shadow: inset 0 0 0 1px #c89b1a; }
html.x-find-talent .x-find-talent-f > svg { flex: none; color: #ffd100; }
html.x-find-talent .x-find-talent-in { flex: 0 1 220px; min-width: 90px; height: 28px; box-sizing: border-box; margin: 0; padding: 0 8px; border: 0; border-radius: 5px; background: #0f0f0f; box-shadow: inset 0 0 0 1px #3d3d3d; color: #f2f2f2; font: 600 14px/1 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; -webkit-appearance: none; appearance: none; }
html.x-find-talent .x-find-talent-in::placeholder { color: #777; font-weight: 400; }
html.x-find-talent .x-find-talent-in::-webkit-search-cancel-button { display: none; }
html.x-find-talent .x-find-talent-in:focus { outline: none; box-shadow: inset 0 0 0 1px #ffd100; }
html.x-find-talent .x-find-talent-say { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #ffd75e; font: 600 13px/1.2 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; }
html.x-find-talent .x-find-talent-none .x-find-talent-say { color: #bdbdbd; font-weight: 400; }
html.x-find-talent .x-find-talent-f > button { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 0; padding: 0; border: 0; border-radius: 5px; background: #2a2a2a; box-shadow: inset 0 0 0 1px #3d3d3d; color: #e8e8e8; font-size: 11px; cursor: pointer; }
html.x-find-talent .x-find-talent-f > button:hover { box-shadow: inset 0 0 0 1px #c89b1a; color: #ffd100; }
html.x-find-talent .x-find-talent-f > button:focus-visible { outline: 2px solid #ffd100; outline-offset: 1px; }
html.x-find-talent .x-find-talent-none .x-find-talent-pv, html.x-find-talent .x-find-talent-none .x-find-talent-nx { visibility: hidden; }

/* on the trees: a talent that matches keeps its light and gets a gold ring; the rest step back; the one being walked to gets a
   second, white ring. Light only: no box changes size or place. */
html.x-find-talent #trees.x-find-talent-on .talent:not(.x-find-talent-hit) { opacity: .26; filter: grayscale(.7); }
html.x-find-talent #trees.x-find-talent-on .arrows { opacity: .25; }
html.x-find-talent #trees.x-find-talent-on .talent.x-find-talent-hit { opacity: 1; filter: none; box-shadow: 0 0 0 1px #000, 0 0 0 3px #ffd100, 0 0 16px 2px rgba(255, 209, 0, .6) !important; }
html.x-find-talent #trees.x-find-talent-on .talent.x-find-talent-hit :is(img, .ab, .lab-spr) { filter: none !important; opacity: 1 !important; }
html.x-find-talent #trees.x-find-talent-on .talent.x-find-talent-now { box-shadow: 0 0 0 1px #000, 0 0 0 3px #ffd100, 0 0 0 5px #fff, 0 0 20px 4px rgba(255, 209, 0, .75) !important; }

@media (max-width: 760px) {
  /* a phone's bar has no room beside Talents and Reset: the magnifier alone, and the open box drops the arrow before */
  html.x-find-talent .x-find-talent-go { height: 26px; padding: 0 6px; }
  html.x-find-talent .x-find-talent-go span { display: none; }
  html.x-find-talent .x-find-talent-open .x-find-talent-f { gap: 6px; padding: 0 6px; }
  html.x-find-talent .x-find-talent-in { flex: 0 1 120px; min-width: 70px; font-size: 16px; }
  html.x-find-talent .x-find-talent-pv { display: none; }
  html.x-find-talent .x-find-talent-say { font-size: 12px; }
}

/* the fit (x.js fit()): not shown at all where even the magnifier would cost the bar a line; and where the magnifier takes the
   place of the bar's own word, the word stays in the page for a screen reader but takes no room */
html.x-find-talent .x-find-talent-w.x-find-talent-gone:not(.x-find-talent-open) { display: none; }
html.x-find-talent .status.x-find-talent-nolabel > strong:first-child { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.x-find-talent .status.x-find-talent-nolabel > .x-find-talent-w { order: -1; }
/* the press never sets the bar's height: 2 px less above and below than it draws, so a bar whose own things are 25 px tall stays
   25 px tall (at 430 wide the 26 px press made the bar 42 px where live's is 41, and the fit then hid it) */
html.x-find-talent .x-find-talent-w { margin-top: -2px; margin-bottom: -2px; }

/* ---- (24 Nov 2026, Chris: "Search function above talents could work a little more cleanly") ----
   1. The box says one short thing (a count in gold, then a word or the talent's name). 2. Each tree's own count is on the tree:
   a small gold badge by its name, and on a phone's tab. 3. On a computer the box stops before the points at the bar's right end,
   so "34/9/8, Points left" stays readable while you search. 4. On a phone the word box takes the room and both arrows are there. */
html.x-find-talent .x-find-talent-open .x-find-talent-f { inset: 0 var(--x-find-talent-keep, 0px) 0 0; border-radius: 6px; }
html.x-find-talent .x-find-talent-in { flex: 0 1 260px; }
html.x-find-talent .x-find-talent-say { display: flex; align-items: baseline; gap: 5px; }
html.x-find-talent .x-find-talent-say b { flex: none; min-width: 20px; padding: 2px 7px; border-radius: 999px; background: #3a3000; box-shadow: inset 0 0 0 1px #c89b1a; color: #ffd100; font-weight: 700; font-size: 12px; line-height: 1.2; text-align: center; }
html.x-find-talent .x-find-talent-say span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e8e8e8; font-weight: 600; }
html.x-find-talent .x-find-talent-none .x-find-talent-say b { background: #2a2a2a; box-shadow: inset 0 0 0 1px #4a4a4a; color: #bdbdbd; }
html.x-find-talent .x-find-talent-none .x-find-talent-say span { color: #bdbdbd; font-weight: 400; }
/* the count on the tree itself */
html.x-find-talent .x-find-talent-n { display: inline-block; vertical-align: 1px; min-width: 16px; box-sizing: border-box; height: 16px; margin: -2px 8px -2px 0; padding: 0 6px; border-radius: 999px; background: #ffd100; color: #1a1400; font: 700 11px/16px "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; letter-spacing: 0; text-align: center; text-shadow: none; }
html.x-find-talent #v2tabs [data-i] { position: relative; }
html.x-find-talent .x-find-talent-n.x-find-talent-nt { position: absolute; top: -5px; right: -3px; z-index: 2; margin: 0; padding: 0 5px; box-shadow: 0 0 0 2px #121212; }
@media (max-width: 760px) {
  html.x-find-talent .x-find-talent-in { flex: 1 1 auto; min-width: 60px; }
  html.x-find-talent .x-find-talent-pv { display: inline-flex; }
  html.x-find-talent .x-find-talent-say { flex: none; }
  html.x-find-talent .x-find-talent-say span { display: none; }
  html.x-find-talent .x-find-talent-none .x-find-talent-say span { display: none; }
}
/* a phone shows one tree at a time and its tabs carry the counts: the badge in the tree's own head stays off there (beside
   "all rows open" it made the head wrap, and every card under the trees sat 27 px lower at 375 and 390) */
@media (max-width: 760px) {
  html.x-find-talent #trees .thead .x-find-talent-n { display: none; }
}
/* the box is one line tall, the bar's first line: where the bar has a second line (a phone's "Build ready" card) that line stays
   in view under it. And a tab's count sits inside the tab's corner, where the tab does not clip it. */
html.x-find-talent .x-find-talent-open .x-find-talent-f { bottom: auto; height: min(100%, 44px); }
html.x-find-talent .x-find-talent-n.x-find-talent-nt { top: 3px; right: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .7); }

/* ---- (1 Dec 2026, the audit) ----
   1. A phone's bar has no free corner under "Talents" in 2.0 (42 px tall, live's is 61): the page's "Made 1 Dec" lay over the
      word and over the press. Where it would lie over anything, x.js leaves it out (the date is in the page's title too). */
@media (max-width: 820px) { html.x-find-talent .status.x-find-talent-nomade .r .madeon { display: none; } }
/* 2. The press says what it does: "Find a talent" on a computer, "Find" on a phone (when the bar is pinned to the top it sits right
      over the section strip's own gold magnifier, the site search, which does something else); the magnifier alone where the
      word has no room. */
html.x-find-talent .x-find-talent-go .x-find-talent-sh { display: none; }
@media (max-width: 760px) {
  html.x-find-talent .x-find-talent-w:not(.x-find-talent-ico) .x-find-talent-go { padding: 0 8px 0 6px; }
  html.x-find-talent .x-find-talent-w:not(.x-find-talent-ico) .x-find-talent-go .x-find-talent-sh { display: inline; }
}
/* 3. A tab's count sits on the tab's second line, after its points: in the tab's corner it covered the name ("Feral Comba") */
html.x-find-talent #v2tabs .x-find-talent-n.x-find-talent-nt { position: static; top: auto; right: auto; display: inline-flex; align-items: center; gap: 2px; height: 18px; min-width: 18px; max-width: none; margin: 0; padding: 0 5px 0 4px; overflow: visible; font-size: 11px; line-height: 18px; box-shadow: none; background: #ffd100; color: #1a1400; }
html.x-find-talent #v2tabs .x-find-talent-n.x-find-talent-nt svg { flex: none; }
/* 4. On touch the press and the box's arrows and cross reach 44 px without looking any bigger (as Reset and the guide pills do);
      the three small buttons stand 16 px apart there so their reaches do not cross */
@media (pointer: coarse) {
  html.x-find-talent .x-find-talent-go, html.x-find-talent .x-find-talent-f > button { position: relative; }
  html.x-find-talent .x-find-talent-go::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%); }
  html.x-find-talent .x-find-talent-f > button::after { content: ""; position: absolute; inset: -8px; }
  html.x-find-talent .x-find-talent-f > button + button { margin-left: 10px; }
}

/* x: finish-2 */
/* finish-2: the trees' own box turned over to show the finished build. Absolute on the body at the trees' place and size (x.js
   place()), so it takes no room: nothing under the trees moves and no partner card is lower. No dim, no window, no frame. */
html.x-finish-2 .x-finish-2-lay {
  position: absolute; z-index: 6; box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden;
  background: #141414; border: 1px solid #2a2a2a; border-radius: 6px; color: #e8e4d8;
  font-family: "Open Sans", system-ui, sans-serif; font-size: 13.5px; line-height: 1.45;
  container-type: inline-size; container-name: x-finish-2;
}
html.x-finish-2 .x-finish-2-lay[hidden] { display: none; }
html.x-finish-2 .x-finish-2-lay:focus { outline: none; }
@media (prefers-reduced-motion: no-preference) {
  html.x-finish-2 .x-finish-2-lay:not([hidden]) { animation: x-finish-2-in .16s ease-out; }
}
@keyframes x-finish-2-in { from { opacity: 0; } to { opacity: 1; } }

/* ---- head: the build's name over its lead tree's own art ---- */
html.x-finish-2 .x-finish-2-hd {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px 10px; flex: none;
  background: linear-gradient(90deg, rgba(18,18,18,.92) 0%, rgba(18,18,18,.72) 60%, rgba(18,18,18,.88) 100%), var(--bg, none) center 30% / cover no-repeat, #1b1b1b;
}
html.x-finish-2 .x-finish-2-ci { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #c89b1a; flex: none; }
html.x-finish-2 .x-finish-2-tt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
html.x-finish-2 .x-finish-2-kick { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffd75e; }
html.x-finish-2 .x-finish-2-nm { margin: 1px 0 2px; font-family: Cinzel, Georgia, serif; font-size: 22px; font-weight: 700; line-height: 1.15; color: #ffd100; overflow-wrap: anywhere; }
html.x-finish-2 .x-finish-2-sub { font-size: 12.5px; color: #c9c4b6; }
html.x-finish-2 .x-finish-2-back {
  flex: none; align-self: flex-start; font: 600 12px/1 "Open Sans", sans-serif; color: #e8e4d8; background: #222; border: 1px solid #3a3a3a;
  border-radius: 4px; padding: 7px 10px; cursor: pointer;
}
html.x-finish-2 .x-finish-2-back:hover { border-color: #c89b1a; color: #ffd75e; }
html.x-finish-2 .x-finish-2-seg { display: flex; height: 4px; flex: none; background: #222; }
html.x-finish-2 .x-finish-2-seg i { display: block; height: 100%; }

/* ---- body: what it is, and among players; scrolls inside the box when the box is short (a phone) ---- */
html.x-finish-2 .x-finish-2-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: 1fr; gap: 6px 22px; padding: 10px 14px 12px; }
@container x-finish-2 (min-width: 700px) {
  html.x-finish-2 .x-finish-2-body { grid-template-columns: 1fr 1fr; padding: 12px 18px 14px; }
  html.x-finish-2 .x-finish-2-nm { font-size: 26px; }
}
html.x-finish-2 .x-finish-2-col { min-width: 0; }
html.x-finish-2 .x-finish-2-col h4 { margin: 6px 0 6px; font-family: Cinzel, Georgia, serif; font-size: 14px; font-weight: 700; color: #ffd75e; letter-spacing: .02em; }
html.x-finish-2 .x-finish-2-story { margin: 0 0 8px; color: #e8e4d8; }
html.x-finish-2 .x-finish-2-story b, html.x-finish-2 .x-finish-2-facts b { color: #fff; font-weight: 700; }
html.x-finish-2 .x-finish-2-gl { margin: 0 0 8px; color: #c9c4b6; font-size: 12.5px; }
html.x-finish-2 .x-finish-2-btns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
html.x-finish-2 .x-finish-2-btns li { display: flex; align-items: center; gap: 8px; min-width: 0; background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 4px; padding: 4px 8px 4px 4px; font-size: 12.5px; }
html.x-finish-2 .x-finish-2-btns img { width: 30px; height: 30px; border-radius: 3px; border: 1px solid #c89b1a; flex: none; }
html.x-finish-2 .x-finish-2-btns span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

html.x-finish-2 .x-finish-2-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
html.x-finish-2 .x-finish-2-facts > li { display: flex; align-items: flex-start; gap: 10px; }
html.x-finish-2 .x-finish-2-facts b.x-finish-2-big { flex: none; min-width: 46px; text-align: right; font-family: Cinzel, Georgia, serif; font-size: 19px; line-height: 1.2; color: #ffd100; }
html.x-finish-2 .x-finish-2-facts > li > img { width: 30px; height: 30px; border-radius: 3px; border: 1px solid #c89b1a; flex: none; margin-left: 16px; }
html.x-finish-2 .x-finish-2-facts > li > img.x-finish-2-off { filter: grayscale(1) brightness(.75); border-color: #3a3a3a; }
html.x-finish-2 .x-finish-2-facts > li.x-finish-2-share { flex-direction: column; gap: 3px; padding-left: 56px; }
html.x-finish-2 .x-finish-2-shl { font-size: 11.5px; color: #a8a396; }
html.x-finish-2 .x-finish-2-sh { align-self: stretch; display: grid; grid-template-columns: 116px 1fr 36px; align-items: center; gap: 8px; font-size: 12px; color: #c9c4b6; }
html.x-finish-2 .x-finish-2-sh > i { display: block; height: 6px; background: #262626; border-radius: 3px; overflow: hidden; }
html.x-finish-2 .x-finish-2-sh > i > i { display: block; height: 100%; opacity: .55; }
html.x-finish-2 .x-finish-2-sh.x-finish-2-you { color: #fff; font-weight: 600; }
html.x-finish-2 .x-finish-2-sh.x-finish-2-you > i > i { opacity: 1; }
html.x-finish-2 .x-finish-2-sh b { text-align: right; }
html.x-finish-2 .x-finish-2-src { margin: 10px 0 0; font-size: 11.5px; color: #a8a396; }

/* ---- the next steps: real buttons, right under the name, so they are on the screen where the last point was placed ---- */
html.x-finish-2 .x-finish-2-seg { order: 1; }
html.x-finish-2 .x-finish-2-acts { order: 2; flex: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #2a2a2a; background: #181818; }
html.x-finish-2 .x-finish-2-body { order: 3; }
html.x-finish-2 .x-finish-2-acts > a, html.x-finish-2 .x-finish-2-acts > button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; box-sizing: border-box; padding: 6px 14px;
  font: 600 13px/1.2 "Open Sans", sans-serif; border-radius: 4px; cursor: pointer; text-decoration: none; color: #e8e4d8; background: #222; border: 1px solid #3a3a3a;
}
html.x-finish-2 .x-finish-2-acts > button:hover { border-color: #c89b1a; color: #ffd75e; }
html.x-finish-2 .x-finish-2-acts > a.x-finish-2-dum { background: #ffd100; border-color: #ffd100; color: #121212; font-weight: 700; }
html.x-finish-2 .x-finish-2-acts > a.x-finish-2-dum:hover { background: #ffd75e; border-color: #ffd75e; }
html.x-finish-2 .x-finish-2-dum img { width: 24px; height: 24px; border-radius: 50%; background: #121212; }
html.x-finish-2 .x-finish-2-acts > button.x-finish-2-on { border-color: #c89b1a; color: #ffd75e; }
html.x-finish-2 .x-finish-2-nodum { font-size: 12px; color: #a8a396; }
@container x-finish-2 (max-width: 520px) {
  html.x-finish-2 .x-finish-2-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 10px; }
  html.x-finish-2 .x-finish-2-acts > button:only-of-type { grid-column: 1 / -1; }
  html.x-finish-2 .x-finish-2-acts > a.x-finish-2-dum, html.x-finish-2 .x-finish-2-nodum { grid-column: 1 / -1; }
  html.x-finish-2 .x-finish-2-acts > a, html.x-finish-2 .x-finish-2-acts > button { padding: 6px 6px; font-size: 12.5px; }
  html.x-finish-2 .x-finish-2-hd { padding: 10px 10px 8px; gap: 10px; }
  html.x-finish-2 .x-finish-2-ci { width: 36px; height: 36px; }
  html.x-finish-2 .x-finish-2-nm { font-size: 19px; }
  html.x-finish-2 .x-finish-2-back { padding: 7px 8px; }
  html.x-finish-2 .x-finish-2-sh { grid-template-columns: 92px 1fr 34px; }
  html.x-finish-2 .x-finish-2-facts > li.x-finish-2-share { padding-left: 0; }
}

/* (1 Dec 2026, the audit) a tap that lands the last point keeps the tree: the talent's own sheet (#ghost) says the build is finished,
   with one press to see it. The sheet takes no touches; this button does (as the page's own door buttons in the sheet do). */
html.x-finish-2 #ghost .x-finish-2-gl1 {
  pointer-events: auto; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px;
  box-sizing: border-box; margin: 8px 0 0; padding: 0 12px; border-radius: 7px; border: 1px solid #c89b1a; background: #1c1c1c;
  font: 600 13.5px/1.3 "Open Sans", system-ui, sans-serif; color: #e8e4d8; text-align: center;
}
html.x-finish-2 #ghost .x-finish-2-gl1 b { color: #ffd100; font-weight: 700; }
html.x-finish-2 #ghost .x-finish-2-gl1:active { background: #262626; }

/* the live card's words "Your build is ready." bring the panel back on a finished build: they say so when pointed at */
html.x-finish-2 .status .tfr .m { cursor: pointer; }
html.x-finish-2 .status .tfr .m:hover .ml, html.x-finish-2 .status .tfr .m:hover .ms { text-decoration: underline; text-underline-offset: 2px; }

/* x: guide-hero */
/* guide-hero (2 Dec 2026): a class's What changed page opens on its video. Chris: "the landing hero zone should be this view".
   Every rule names body.gd:not(.hub), a mark only a class guide has. The old box (section #top) stays in the page and keeps its
   place in the chapter bar; what is drawn of it is the page's own H1 and the calculator link, as the line over the video. Plain CSS,
   so it stands that way from the first paint; x.js only writes the quiet line of facts under the partner card, in kept room. */

/* ---- 1. The old box is a plain row: the title, and at its right the calculator link (#top: guides/shaman.css gives the title a right
   margin of its own through that id, to keep it off the figure that stood there) ---- */
html.x-guide-hero body.gd:not(.hub) .gd-head { display: block; min-height: 0; margin: 14px 0 0; padding: 0; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; scroll-margin-top: 300px; }
html.x-guide-hero body.gd:not(.hub) .gd-head::before,
html.x-guide-hero body.gd:not(.hub) .gd-head::after { content: none; }
html.x-guide-hero body.gd:not(.hub) .gd-head > :is(.gd-hero, .gd-tally, .gd-headfoot, .hw-web),
html.x-guide-hero body.gd:not(.hub) #top > .gd-headtext > :is(.gd-eyebrow, .gd-lede) { display: none; }
html.x-guide-hero body.gd:not(.hub) #top > .gd-headtext { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: none; padding: 0; }
html.x-guide-hero body.gd:not(.hub) #top > .gd-headtext > * { margin: 0; }
/* (!important: lab/v2.css gives the title its phone size with one) */
html.x-guide-hero body.gd:not(.hub) #top > .gd-headtext > .gd-title { font-size: 26px !important; line-height: 1.2 !important; text-shadow: none; text-wrap: balance; }
html.x-guide-hero body.gd:not(.hub) #top > .gd-headtext > .gd-cta { flex: none; margin-top: 4px; line-height: 20px; }
html.x-guide-hero body.gd:not(.hub) #top > .gd-headtext > .gd-cta > a { display: inline; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--gold, #ffd100); font-size: 14px; font-weight: 700; line-height: 20px; text-shadow: none; text-decoration: none; transform: none; }
html.x-guide-hero body.gd:not(.hub) #top > .gd-headtext > .gd-cta > a:is(:hover, :focus-visible) { color: #ffe680; text-decoration: underline; text-underline-offset: 3px; }

/* ---- 2. The video's section follows on: its own "Watch it first" gives way to the title over it. A jump to it ("Watch" in the
   chapter bar) lands with the title under the bar, over the video. ---- */
html.x-guide-hero body.gd:not(.hub) #watch { margin-top: 0; padding-top: 0; border-top: 0; scroll-margin-top: 94px; }
html.x-guide-hero body.gd:not(.hub) #watch > h2 { display: none; }
html.x-guide-hero body.gd:not(.hub) #watch > .gd-sub { margin-top: 4px; line-height: 22px; }
html.x-guide-hero body.gd:not(.hub) #watch > .gd-video { margin-top: 12px; }
/* the first thing on the screen is simply there: page.js fades each block in as it is scrolled to, and this one is never scrolled to
   (!important: page.css gives each list item its own delay with a stronger selector) */
html.x-guide-hero body.gd:not(.hub) #watch > .gd-video,
html.x-guide-hero body.gd:not(.hub) #watch > .gd-chapters > li { opacity: 1; transform: none; transition: none !important; }

/* ---- 3. A computer: video and chapters share the first screen. The video is as wide as the row lets it be (292 px kept for the
   chapters) and no taller than the window leaves it; what it gives up in a short window the chapters take. The list is exactly the
   video's height, its rows sharing it. 278 px = the page down to the video's top (260) and the air the partner card keeps under it. ---- */
@media (min-width: 1100px) {
  html.x-guide-hero body.gd:not(.hub) #watch { grid-template-columns: min(100% - 308px, max(720px, (100vh - 278px) * 16 / 9)) minmax(0, 1fr); }
  html.x-guide-hero body.gd:not(.hub) #watch > .gd-sub { grid-row: 1; }
  html.x-guide-hero body.gd:not(.hub) #watch > .gd-video { grid-row: 2; }
  html.x-guide-hero body.gd:not(.hub) #watch > .gd-video video { height: 100%; }
  html.x-guide-hero body.gd:not(.hub) #watch > .gd-chapters { grid-row: 2; align-self: stretch; display: flex; flex-direction: column; gap: 6px; margin: 12px 0 0; }
  html.x-guide-hero body.gd:not(.hub) #watch > .gd-chapters > li { flex: 1 1 0; display: flex; min-height: 0; }
  html.x-guide-hero body.gd:not(.hub) #watch > .gd-chapters > li > a { flex: 1 1 auto; box-sizing: border-box; min-width: 0; min-height: 0; padding-top: 0; padding-bottom: 0; }
  html.x-guide-hero body.gd:not(.hub) #watch > .gd-vsince { grid-row: 3; }
  html.x-guide-hero body.gd:not(.hub) #watch > section.guildcard { grid-row: 4; }
  html.x-guide-hero body.gd:not(.hub) #watch > .x-guide-hero-facts { grid-column: 1 / -1; grid-row: 5; }
}
@media (min-width: 1100px) and (max-height: 700px) {
  html.x-guide-hero body.gd:not(.hub) #watch > .gd-chapters { gap: 4px; }
}
/* a tablet on its side, or a narrow window: the video is not taller than the window leaves it */
@media (min-width: 761px) and (max-width: 1099px) and (min-height: 640px) {
  html.x-guide-hero body.gd:not(.hub) #watch > .gd-video { box-sizing: border-box; width: 100%; max-width: min(960px, max(600px, (100vh - 278px) * 16 / 9)); }
  html.x-guide-hero body.gd:not(.hub) #watch > .gd-chapters { max-width: min(960px, max(600px, (100vh - 278px) * 16 / 9)); }
}
/* and its chapters two across under it, so no chapter's name is cut with dots */
@media (min-width: 761px) and (max-width: 1099px) {
  html.x-guide-hero body.gd:not(.hub) #watch > .gd-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- 4. The facts line under the partner card (x.js writes it from the old box's own words). Its room is kept from the first
   paint, so nothing under it moves. ---- */
html.x-guide-hero body.gd:not(.hub) #watch:not(.x-guide-hero-in) { padding-bottom: 34px; }
html.x-guide-hero body.gd:not(.hub) #watch > .x-guide-hero-facts { order: 4; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 24px; margin: 0; padding: 14px 0 0; min-height: 20px; font-size: 13px; line-height: 20px; color: var(--ink2, #bdbdbd); }
html.x-guide-hero body.gd:not(.hub) .x-guide-hero-facts a { color: var(--gold, #ffd100); text-decoration: none; }
html.x-guide-hero body.gd:not(.hub) .x-guide-hero-facts a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 3px; }
html.x-guide-hero body.gd:not(.hub) .x-guide-hero-stamp { color: var(--muted, #8a8a8a); }
html.x-guide-hero body.gd:not(.hub) .x-guide-hero-calc { display: none; }
html.x-guide-hero body.gd:not(.hub) .x-guide-hero-since { flex: 1 0 100%; color: var(--ink, #e8e8e8); }

/* ---- 5. A tablet: the title on one line, the calculator link goes down to the facts line. A phone: the title in two lines, then the
   video across the screen, then the length sentence over its chapters. ---- */
@media (max-width: 1099px) {
  html.x-guide-hero body.gd:not(.hub) #top > .gd-headtext > .gd-title { font-size: 22px !important; }
  html.x-guide-hero body.gd:not(.hub) #top > .gd-headtext > .gd-cta { display: none; }
  html.x-guide-hero body.gd:not(.hub) .x-guide-hero-calc { display: block; }
  html.x-guide-hero body.gd:not(.hub) #watch:not(.x-guide-hero-in) { padding-bottom: 56px; }
}
@media (max-width: 760px) {
  html.x-guide-hero body.gd:not(.hub) .gd-head { margin-top: 12px; }
  html.x-guide-hero body.gd:not(.hub) #top > .gd-headtext > .gd-title { font-size: 20px !important; }
  html.x-guide-hero body.gd:not(.hub) #watch { scroll-margin-top: 112px; }
  html.x-guide-hero body.gd:not(.hub) #watch > .gd-video { margin-top: 10px; }
  html.x-guide-hero body.gd:not(.hub) #watch > .gd-sub { order: 1; margin-top: 10px; font-size: 14px; line-height: 20px; text-wrap: balance; }
  html.x-guide-hero body.gd:not(.hub) #watch > .gd-chapters { margin-top: 8px; }
  html.x-guide-hero body.gd:not(.hub) #watch > .x-guide-hero-facts { flex-direction: column; gap: 6px; }
  html.x-guide-hero body.gd:not(.hub) .x-guide-hero-since { flex: none; }
  html.x-guide-hero body.gd:not(.hub) #watch:not(.x-guide-hero-in) { padding-bottom: 106px; }
}
@media (max-width: 374px) {
  html.x-guide-hero body.gd:not(.hub) #top > .gd-headtext > .gd-title { font-size: 17px !important; }
}

/* ---- 6. "Back to where you were": after a jump the site hangs this tab under the chapter bar (html.gd-backon while it is there), and at
   the top of the page it would lie on the title. While it hangs, the title steps to its right on a computer; narrower, the tab has
   the title's place and "Watch" lands with the video just under it. Nothing changes height. ---- */
@media (min-width: 1100px) {
  html.x-guide-hero.gd-backon body.gd:not(.hub) #top > .gd-headtext > .gd-title { padding-left: 204px; }
  html.x-guide-hero.gd-backon body.gd:not(.hub) #top > .gd-headtext > .gd-cta { display: none; }
}
@media (max-width: 1099px) {
  html.x-guide-hero.gd-backon body.gd:not(.hub) #top > .gd-headtext > .gd-title { visibility: hidden; }
}
@media (max-width: 640px) {
  html.x-guide-hero.gd-backon body.gd:not(.hub) #watch { scroll-margin-top: 0; }
}

/* ---- 7. The chapter bar now opens on "Watch it first" (it said "Start"). Where a class's chapter names leave the words no room beside
   them they ended in dots ("Hunter ..."), at every chapter; the lit chapter in the same bar says it, so there the words step out. ---- */
@media (min-width: 1180px) {
  html.x-guide-hero body.gd:is([data-class="Hunter"], [data-class="Shaman"], [data-class="Warlock"], [data-class="Priest"], [data-class="Rogue"]) .gd-bar-now { visibility: hidden; }
}

/* x: more-builds */
/* more-builds: one press under the Popular builds cards pulls up more builds in place (27 Nov 2026, Chris: "I feel like you should
   be able to pull up more builds than just the top 5 right there"). The control sits in the line that is already there (p.tfgo),
   in the look of the cards' own "More" press (lab/v2.css .v2more: gold, dotted underline), so the line keeps its height. */
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b {
  position: relative; margin: 0 0 0 16px; padding: 0; border: 0; background: none; color: var(--gold, #ffd100);
  font: inherit; font-weight: 600; line-height: inherit; white-space: nowrap; cursor: pointer;
  text-decoration: underline dotted; text-underline-offset: 3px;
}
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b[hidden] { display: none; }
html.x-more-builds #foldPopular p.tfgo { position: relative; }   /* only so a small phone's press can stand at the line's end */
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b.x-more-builds-abs { position: absolute; top: 0; margin: 0; }
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b.x-more-builds-abs::before { left: -4px; }
/* a thumb's worth to press (44 px tall), drawn outside the line so the line does not grow */
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b::before { content: ""; position: absolute; left: -10px; right: -10px; top: 50%; height: 44px; margin-top: -22px; }
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b:hover { color: #ffd75e; text-decoration-style: solid; }
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b:focus-visible { outline: 2px solid var(--gold, #ffd100); outline-offset: 2px; border-radius: 2px; }
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b:disabled { color: var(--muted, #9a9a9a); text-decoration: none; cursor: default; }

/* the one plain label before the All tab's extra cards: a line across the cards on a computer, a narrow stop on a shelf */
html.x-more-builds #popHost ol.poptop > li:is(.x-more-builds-lab, .x-more-builds-klab) {
  display: flex; align-items: center; margin: 0; padding: 4px 2px 0; background: none; box-shadow: none;
  color: var(--ink2, #bdbdbd); font-size: 13px; font-weight: 600; line-height: 1.35; list-style: none;
}
html.x-more-builds #popHost ol.poptop.v2cards > li:is(.x-more-builds-lab, .x-more-builds-klab),
html.x-more-builds #popHost ol.poptop.v2cards > li:is(.x-more-builds-lab, .x-more-builds-klab):hover { background: none; box-shadow: none; transform: none; padding: 4px 2px 0; }
html.x-more-builds #popHost ol.poptop > li:is(.x-more-builds-lab, .x-more-builds-klab) > span { display: block; }
@media (min-width: 1100px) {
  html.x-more-builds #popHost ol.poptop.v2cards > li:is(.x-more-builds-lab, .x-more-builds-klab) { grid-column: 1 / -1; }
}
@media (max-width: 1099px) {
  html.x-more-builds #popHost ol.poptop.v2cards > li:is(.x-more-builds-lab, .x-more-builds-klab) {
    flex: 0 0 104px; padding: 0 4px; justify-content: center; text-align: center; scroll-snap-align: start;
  }
}
@media (max-width: 640px) {
  html.x-more-builds #popHost ol.poptop.v2cards > li:is(.x-more-builds-lab, .x-more-builds-klab) { flex-basis: 96px; scroll-margin-left: 12px; }
}

/* (27 Nov 2026, the lead) the press reads as a button, not as a link in a line of links: the site's own gold pill (the top
   menu's plate and line), with an arrow that turns when the builds are open. It still takes no height of its own: what it adds
   above and under the words is taken back in margins, so the line and everything under it stay where they were. */
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b {
  margin: -4px 0 -4px 14px; padding: 4px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 46%), linear-gradient(180deg, #3b3222, #29231a);
  box-shadow: inset 0 0 0 1px rgba(226,180,48,.95), 0 2px 6px rgba(0,0,0,.45);
}
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b::after { content: ""; display: inline-block; width: 0; height: 0; margin-left: 7px; vertical-align: 2px; border: 4px solid transparent; border-top: 5px solid currentColor; border-bottom: 0; }
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b[aria-expanded="true"]::after { border-top: 0; border-bottom: 5px solid currentColor; }
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b:hover { text-decoration: none; background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,0) 46%), linear-gradient(180deg, #4a3f28, #332b1e); box-shadow: inset 0 0 0 1px #ffd100, 0 2px 6px rgba(0,0,0,.45); }
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b.x-more-builds-abs { margin: -4px 0; }
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b:disabled { background: none; box-shadow: inset 0 0 0 1px #4a4a4a; }
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b:disabled::after { display: none; }
html.x-more-builds #foldPopular p.tfgo .x-more-builds-b:focus-visible { border-radius: 999px; }

/* a 320 px phone: the line of words fills the screen, and the pill's padding left the press no room at all (it hid itself, and
   opened builds could not be folded away). There it stays the plain gold word it was, standing at the line's end. */
@media (max-width: 359px) {
  html.x-more-builds #foldPopular p.tfgo .x-more-builds-b,
  html.x-more-builds #foldPopular p.tfgo .x-more-builds-b:hover { margin: 0 0 0 16px; padding: 0; border-radius: 0; font-size: inherit; font-weight: 600; background: none; box-shadow: none; text-decoration: underline dotted; text-underline-offset: 3px; }
  html.x-more-builds #foldPopular p.tfgo .x-more-builds-b.x-more-builds-abs { margin: 0; }
  html.x-more-builds #foldPopular p.tfgo .x-more-builds-b::after { display: none; }
}

/* (28 Nov 2026) ranks #6 to #10 by popularity (x.js mergeMore, from the counter's "more"). On a shelf (a phone, a tablet) the cards
   stand in rank order and the new ones are there to swipe to. On a computer's grid they wait behind the press under the cards (the
   five stay, and nothing under the list moves down by itself), and come in after the five, in rank order, so no card on screen moves. */
html.x-more-builds #foldPopular ol.poptop.x-more-builds-grid:not(.x-more-builds-kopen) > li:is(.x-more-builds-k, .x-more-builds-klab) { display: none; }
/* (29 Nov 2026, QA: the phone's row read #1 #2 #3 #4 #7 #5 #6 #8 to a screen reader and in the page's own order, the CSS order showed
   another) the cards stand in the page's order on a shelf too: live's five ("Top Fire build", #7, in the fifth place, with its words
   back on its line, x.js seatedSays), then the label "More popular builds" and the ranks after it in rank order (x.js mark) */
/* the Top Fire build card's one line (x.js seatedSays): its words, then its number only where both fit the line; never two lines */
html.x-more-builds #foldPopular ol.poptop > li.seated .v2one[data-xtop] { display: flex; flex-wrap: wrap; align-content: flex-start; column-gap: .3em; min-width: 0; max-height: 1.4em; max-height: 1lh; overflow: hidden; }
html.x-more-builds #foldPopular ol.poptop > li.seated .v2one[data-xtop] > :is(.x-more-builds-top, .x-more-builds-n) { white-space: nowrap; }

/* ---- a shelf's end card (30 Nov 2026, night: "This button and how they load are just confusing me. Doesn't seem as seamless as
   it could be"). On a shelf of cards there is no More / Fewer press: the shelf ends in this narrow card, and reaching it brings
   the rest (x.js). It has the label card's place and width, so when the builds arrive their own label stands exactly where it
   stood. Gold words and an arrow, the site's "there is more this way". ---- */
html.x-more-builds #popHost ol.poptop > li.x-more-builds-end {
  display: flex; flex: 0 0 104px; align-items: center; justify-content: center; margin: 0; padding: 0 6px; box-sizing: border-box; list-style: none; text-align: center;
  border-radius: 8px; background: rgba(255, 209, 0, .05); box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .45); scroll-snap-align: end;
  color: var(--gold, #ffd100); font: 700 13.5px/1.35 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
html.x-more-builds #popHost ol.poptop.v2cards > li.x-more-builds-end,
html.x-more-builds #popHost ol.poptop.v2cards > li.x-more-builds-end:hover { transform: none; padding: 0 6px; background: rgba(255, 209, 0, .05); box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .45); }
html.x-more-builds #popHost ol.poptop > li.x-more-builds-end > span { display: block; }
html.x-more-builds #popHost ol.poptop > li.x-more-builds-end > span::after { content: "\203A"; display: block; margin-top: 4px; font-size: 22px; line-height: 1; }
html.x-more-builds #popHost ol.poptop > li.x-more-builds-end:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
@media (max-width: 640px) { html.x-more-builds #popHost ol.poptop > li.x-more-builds-end { flex-basis: 96px; scroll-margin-left: 12px; } }
/* the label that takes the end card's place rests against the shelf's right edge as the end card did, so the shelf does not move
   when the builds arrive (x.js) */
html.x-more-builds #popHost ol.poptop.v2cards > li.x-more-builds-lab.x-more-builds-lend { scroll-snap-align: end; scroll-margin-left: 0; }

/* (1 Dec 2026, the audit, at 1440) the way to fold the opened builds stands at the right end of their first label line, where the
   press was, in the press's own gold pill; what it adds above and under the words is taken back in margins (the line keeps its height) */
html.x-more-builds #popHost ol.poptop > li:is(.x-more-builds-klab, .x-more-builds-lab) > .x-more-builds-fold {
  position: relative; flex: none; margin: -4px 0 -4px auto; padding: 4px 13px; border: 0; border-radius: 999px; cursor: pointer;
  color: var(--gold, #ffd100); font: 700 13px/1.35 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 46%), linear-gradient(180deg, #3b3222, #29231a);
  box-shadow: inset 0 0 0 1px rgba(226,180,48,.95), 0 2px 6px rgba(0,0,0,.45);
}
html.x-more-builds #popHost ol.poptop > li > .x-more-builds-fold::after { content: ""; display: inline-block; width: 0; height: 0; margin-left: 7px; vertical-align: 2px; border: 4px solid transparent; border-bottom: 5px solid currentColor; border-top: 0; }
html.x-more-builds #popHost ol.poptop > li > .x-more-builds-fold::before { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; margin-top: -22px; }
html.x-more-builds #popHost ol.poptop > li > .x-more-builds-fold:hover { color: #ffd75e; background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,0) 46%), linear-gradient(180deg, #4a3f28, #332b1e); box-shadow: inset 0 0 0 1px #ffd100, 0 2px 6px rgba(0,0,0,.45); }
html.x-more-builds #popHost ol.poptop > li > .x-more-builds-fold:focus-visible { outline: 2px solid var(--gold, #ffd100); outline-offset: 2px; }

/* (1 Dec 2026, the audit, a phone: after the narrow "More popular builds" label the shelf came to rest with #4 cut at the edge, and
   at the end card with #7 cut on the left) On a phone's shelf every card rests in the middle, its neighbours showing at the edges.
   The labels and the end card are an upright strip exactly as wide as that edge (a card is 80% of the shelf, so the edge is 10% of
   it, less the gap), so they are read whole beside a resting card and are never a resting place of their own: the shelf rests only
   on cards, and none is ever cut. The end card still rests against the shelf's right edge (scroll-snap-align: end, so the shelf does
   not move when the builds arrive late, x.js), and that place is now exactly where the last card rests in the middle. */
@media (max-width: 640px) {
  html.x-more-builds #popHost ol.poptop.v2cards > li:is(.x-more-builds-lab, .x-more-builds-klab, .x-more-builds-end),
  html.x-more-builds #popHost ol.poptop.v2cards > li:is(.x-more-builds-lab, .x-more-builds-klab, .x-more-builds-end):hover {
    flex: 0 0 calc(10% + 2px); min-width: 0; padding: 0; scroll-margin-left: 0; justify-content: center; align-items: center; overflow: hidden;
    writing-mode: vertical-rl; white-space: nowrap; font-size: 13px; line-height: 1.2; letter-spacing: .02em;
  }
  html.x-more-builds #popHost ol.poptop.v2cards > li:is(.x-more-builds-lab, .x-more-builds-klab) { scroll-snap-align: none; }
  html.x-more-builds #popHost ol.poptop.v2cards > li.x-more-builds-lab.x-more-builds-lend,
  html.x-more-builds #popHost ol.poptop.v2cards > li.x-more-builds-end { scroll-snap-align: end; }
  html.x-more-builds #popHost ol.poptop.v2cards > li:is(.x-more-builds-lab, .x-more-builds-klab) { border-radius: 8px; box-shadow: inset 0 0 0 1px #2c2c2c; }
  html.x-more-builds #popHost ol.poptop.v2cards > li.x-more-builds-end > span::after { writing-mode: horizontal-tb; display: block; margin: 6px 0 0; text-align: center; }
}

/* x: p10-time */
/* p10-time (22 Nov 2026): the whole beta's patch history as one thing you work, on /talent-changes. Every rule under html.x-p10-time. */

/* the box's place is held from the first paint (x.js is deferred): only the changes page's glance (its bar's label ends in " gone",
   which only seo/overview.js's /talent-changes writes) gets the reserved room, until the box is in */
html.x-p10-time:not(.x-p10-time-in) #sectionPage .ltree:has(> .bp-glance > div > .bp-bar[aria-label$=" gone"])::before {
  content: ""; display: block; height: 596px; margin: 4px 0 18px;
}

html.x-p10-time .x-p10-time-box {
  --x-p10-time-body: 476px;
  position: relative; display: flex; flex-direction: column; gap: 6px; height: 596px; box-sizing: border-box; margin: 4px 0 18px; padding: 12px 16px 10px;
  background: #1c1c1c; border: 1px solid rgba(200, 155, 26, .5); border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  font-family: 'Open Sans', system-ui, sans-serif; color: #ddd; overflow: hidden;
}
html.x-p10-time .x-p10-time-box.x-p10-time-opened { height: auto; overflow: visible; }

/* head: the title and the quiet Grid / River choice */
html.x-p10-time .x-p10-time-hd { display: flex; align-items: center; gap: 12px; height: 34px; flex: none; }
html.x-p10-time .x-p10-time-ttl { margin: 0; display: flex; align-items: baseline; gap: 10px; min-width: 0; }
html.x-p10-time .x-p10-time-ttl small { font: 700 10px/1 'Open Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2, #c89b1a); white-space: nowrap; }
html.x-p10-time .x-p10-time-ttl b { font: 700 20px/1.1 Cinzel, Georgia, serif; color: #ffd75e; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-p10-time .x-p10-time-views { margin-left: auto; display: inline-flex; padding: 2px; border-radius: 999px; background: #121212; box-shadow: inset 0 0 0 1px #3a3a3a; flex: none; }
html.x-p10-time .x-p10-time-views button { border: 0; background: none; color: #9a9a9a; font: 600 12px/24px 'Open Sans', sans-serif; padding: 0 12px; border-radius: 999px; cursor: pointer; }
html.x-p10-time .x-p10-time-views button:hover { color: #fff; }
html.x-p10-time .x-p10-time-views button[aria-pressed="true"] { color: var(--gold, #ffd100); background: #2e2a1f; box-shadow: inset 0 0 0 1px var(--gold2, #c89b1a); cursor: default; }

/* the line that says what is under the pointer, and the key */
html.x-p10-time .x-p10-time-sub { display: flex; align-items: center; gap: 16px; height: 22px; flex: none; }
html.x-p10-time .x-p10-time-say { margin: 0; flex: 1; min-width: 0; font-size: 13px; line-height: 22px; color: #cfcfcf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-p10-time .x-p10-time-say b { color: #fff; }
html.x-p10-time .x-p10-time-say em { font-style: normal; color: var(--gold, #ffd100); }
html.x-p10-time .x-p10-time-key { margin: 0; display: flex; align-items: center; gap: 12px; flex: none; font-size: 11px; color: #9a9a9a; white-space: nowrap; }
html.x-p10-time .x-p10-time-key span { display: inline-flex; align-items: center; gap: 5px; }
html.x-p10-time .x-p10-time-key i { width: 9px; height: 9px; border-radius: 50%; background: var(--k); }
html.x-p10-time .x-p10-time-ksz i { background: #777; }
html.x-p10-time .x-p10-time-ksz i:nth-child(1) { width: 5px; height: 5px; }
html.x-p10-time .x-p10-time-ksz i:nth-child(2) { width: 8px; height: 8px; margin-left: -2px; }
html.x-p10-time .x-p10-time-ksz i:nth-child(3) { width: 12px; height: 12px; margin-left: -2px; }
html.x-p10-time .x-p10-time-bz { display: inline-block; vertical-align: -1px; margin-right: 4px; opacity: .9; }

html.x-p10-time .x-p10-time-how { margin: 0; height: 16px; flex: none; font-size: 11px; line-height: 16px; color: #8a8a8a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-p10-time .x-p10-time-how a { color: var(--gold2, #c89b1a); }

/* the body: the grid or the river, the same height */
html.x-p10-time .x-p10-time-body { height: var(--x-p10-time-body); flex: none; position: relative; }
html.x-p10-time .x-p10-time-opened .x-p10-time-body { height: auto; }
html.x-p10-time .x-p10-time-box[data-view="grid"] .x-p10-time-river,
html.x-p10-time .x-p10-time-box[data-view="river"] .x-p10-time-grid { display: none; }

/* ---------- the grid ---------- */
html.x-p10-time .x-p10-time-grid { overflow-x: auto; overflow-y: hidden; container-type: inline-size; scrollbar-width: thin; scrollbar-color: #444 transparent; }
html.x-p10-time .x-p10-time-gs { width: 100%; min-width: calc(158px + var(--n, 15) * 56px); }
html.x-p10-time .x-p10-time-row { display: grid; grid-template-columns: 158px repeat(var(--n, 15), minmax(56px, 1fr)); height: 48px; border-top: 1px solid #262626; }
html.x-p10-time .x-p10-time-row.x-p10-time-top { height: 44px; border-top: 0; }
html.x-p10-time .x-p10-time-corner { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 5px 2px; font: 700 10px/1.3 'Open Sans', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #8a8a8a; background: #1c1c1c; }
html.x-p10-time .x-p10-time-corner small { font-size: 9px; letter-spacing: .04em; text-transform: none; font-weight: 600; color: #6d6d6d; }
html.x-p10-time .x-p10-time-cold { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 1px; padding: 0 2px 5px; border: 0; border-radius: 6px 6px 0 0; background: none; color: #d8d8d8; font: 600 11.5px/1.15 'Open Sans', sans-serif; text-align: center; cursor: pointer; user-select: none; touch-action: pan-x; }
html.x-p10-time .x-p10-time-cold small { font-size: 8.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7f7f7f; }
html.x-p10-time .x-p10-time-cold:hover, html.x-p10-time .x-p10-time-cold.x-p10-time-lit { color: var(--gold, #ffd100); background: rgba(255, 209, 0, .07); }
html.x-p10-time .x-p10-time-cold.x-p10-time-lit small { color: var(--gold2, #c89b1a); }
html.x-p10-time .x-p10-time-sweep .x-p10-time-cold, html.x-p10-time .x-p10-time-sweep .x-p10-time-rd { cursor: ew-resize; }

html.x-p10-time .x-p10-time-rowh { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 0 8px 0 2px; border: 0; background: #1c1c1c; color: inherit; font: inherit; text-align: left; cursor: pointer; }
html.x-p10-time .x-p10-time-ch { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
html.x-p10-time .x-p10-time-ch img { width: 28px; height: 28px; flex: none; border-radius: 4px; box-shadow: 0 0 0 1px #000, 0 0 0 2px rgba(200, 155, 26, .55); }
html.x-p10-time .x-p10-time-ch b { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-p10-time .x-p10-time-rowh em { font-style: normal; font-size: 12px; font-weight: 700; color: #bdbdbd; text-align: right; line-height: 1.15; }
html.x-p10-time .x-p10-time-myt { display: block; font-size: 10px; font-weight: 700; color: var(--gold, #ffd100); white-space: nowrap; }
html.x-p10-time .x-p10-time-rowh:hover, html.x-p10-time .x-p10-time-rowh.x-p10-time-lit { background: #262318; }
html.x-p10-time .x-p10-time-rowh:hover em, html.x-p10-time .x-p10-time-rowh.x-p10-time-lit em { color: var(--gold, #ffd100); }

html.x-p10-time .x-p10-time-cell { position: relative; display: flex; align-items: center; justify-content: center; border: 0; border-left: 1px solid rgba(255, 255, 255, .035); background: none; padding: 0; color: inherit; }
html.x-p10-time button.x-p10-time-cell { cursor: pointer; }
html.x-p10-time button.x-p10-time-cell:hover { background: rgba(255, 255, 255, .07); }
html.x-p10-time .x-p10-time-cell.x-p10-time-lit { background: rgba(255, 209, 0, .06); }
html.x-p10-time button.x-p10-time-cell.x-p10-time-on { background: rgba(255, 209, 0, .14); box-shadow: inset 0 -2px 0 var(--gold, #ffd100); }
html.x-p10-time .x-p10-time-mk { position: relative; display: grid; place-items: center; flex: none; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
html.x-p10-time .x-p10-time-mk.x-p10-time-num::before { content: ""; position: absolute; inset: 24%; border-radius: 50%; background: #191919; }
html.x-p10-time .x-p10-time-mk b { position: relative; font: 700 11px/1 'Open Sans', sans-serif; color: #f4f4f4; }
html.x-p10-time .x-p10-time-mk.x-p10-time-nil { width: 8px; height: 8px; background: none; box-shadow: inset 0 0 0 1.5px #5a5a5a; }
html.x-p10-time .x-p10-time-mine .x-p10-time-mk { box-shadow: 0 0 0 2px #1c1c1c, 0 0 0 4px var(--gold, #ffd100); }
html.x-p10-time .x-p10-time-yb { position: absolute; top: 3px; right: 3px; min-width: 15px; height: 15px; padding: 0 3px; box-sizing: border-box; border-radius: 999px; background: var(--gold, #ffd100); color: #1a1400; font: 800 10px/15px 'Open Sans', sans-serif; text-align: center; }
html.x-p10-time .x-p10-time-dim .x-p10-time-cell:not(.x-p10-time-lit) .x-p10-time-mk { opacity: .22; }
html.x-p10-time .x-p10-time-dim .x-p10-time-cell:not(.x-p10-time-lit) .x-p10-time-yb { opacity: .35; }

/* ---------- the river: time down the page ---------- */
html.x-p10-time .x-p10-time-river { height: 100%; display: flex; flex-direction: column; }
html.x-p10-time .x-p10-time-opened .x-p10-time-river { height: auto; }
html.x-p10-time .x-p10-time-rs { display: grid; grid-template-columns: 128px 34px 1fr; align-items: center; height: calc(var(--x-p10-time-body) / var(--n, 15)); flex: none; border-radius: 6px; }
html.x-p10-time .x-p10-time-rs.x-p10-time-lit { background: rgba(255, 209, 0, .06); }
html.x-p10-time .x-p10-time-rd { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; height: 100%; padding: 0 4px; border: 0; background: none; color: #d8d8d8; font: 600 12.5px/1 'Open Sans', sans-serif; cursor: pointer; user-select: none; white-space: nowrap; align-items: center; }
html.x-p10-time .x-p10-time-rd small { font-size: 8.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7f7f7f; }
html.x-p10-time .x-p10-time-rd:hover, html.x-p10-time .x-p10-time-rd.x-p10-time-lit { color: var(--gold, #ffd100); }
html.x-p10-time .x-p10-time-rl { position: relative; height: 100%; display: grid; place-items: center; }
html.x-p10-time .x-p10-time-rl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(var(--gold2, #c89b1a), rgba(200, 155, 26, .55)); }
html.x-p10-time .x-p10-time-rs:first-child .x-p10-time-rl::before { top: 50%; }
html.x-p10-time .x-p10-time-rs:last-of-type .x-p10-time-rl::before { bottom: 50%; }
html.x-p10-time .x-p10-time-rl i { position: relative; border-radius: 50%; background: var(--gold, #ffd100); box-shadow: 0 0 0 2px #1c1c1c; }
html.x-p10-time .x-p10-time-ri { display: flex; align-items: center; gap: 7px; min-width: 0; padding-left: 6px; }
html.x-p10-time .x-p10-time-rc { position: relative; width: var(--s); height: var(--s); flex: none; padding: 0; border: 0; border-radius: 4px; background: #000; cursor: pointer; box-shadow: 0 0 0 1px #000, 0 0 0 2px color-mix(in srgb, var(--cc) 70%, transparent); }
html.x-p10-time .x-p10-time-rc img { display: block; width: 100%; height: 100%; border-radius: 3px; }
html.x-p10-time .x-p10-time-rc b { position: absolute; right: -6px; bottom: -4px; min-width: 14px; height: 14px; padding: 0 3px; box-sizing: border-box; border-radius: 999px; background: #121212; box-shadow: inset 0 0 0 1px #4a4a4a; color: #eee; font: 700 9.5px/14px 'Open Sans', sans-serif; text-align: center; }
html.x-p10-time .x-p10-time-rc.x-p10-time-nil { opacity: .45; box-shadow: 0 0 0 1px #000; }
html.x-p10-time .x-p10-time-rc.x-p10-time-mine { box-shadow: 0 0 0 1px #000, 0 0 0 3px var(--gold, #ffd100); }
html.x-p10-time .x-p10-time-rc:hover { filter: brightness(1.2); }
html.x-p10-time .x-p10-time-rc.x-p10-time-on { box-shadow: 0 0 0 2px #1c1c1c, 0 0 0 4px #fff; }
html.x-p10-time .x-p10-time-dim .x-p10-time-rc:not(.x-p10-time-lit) { opacity: .25; }
html.x-p10-time .x-p10-time-rt { font-style: normal; font-size: 12px; font-weight: 700; color: #bdbdbd; margin-left: 8px; white-space: nowrap; }
html.x-p10-time .x-p10-time-rti { min-width: 0; font-size: 11.5px; color: #7d7d7d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-p10-time .x-p10-time-rs.x-p10-time-lit .x-p10-time-rti, html.x-p10-time .x-p10-time-rs:hover .x-p10-time-rti { color: #b5b5b5; }

/* ---------- a cell opened in place ---------- */
html.x-p10-time .x-p10-time-open { box-sizing: border-box; padding: 12px 14px 14px; margin: 2px 0 6px; background: #151515; border: 1px solid rgba(200, 155, 26, .45); border-radius: 8px; }
html.x-p10-time .x-p10-time-grid .x-p10-time-open { position: sticky; left: 0; width: 100cqw; }
html.x-p10-time .x-p10-time-oh { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
html.x-p10-time .x-p10-time-oh img { width: 34px; height: 34px; flex: none; border-radius: 4px; box-shadow: 0 0 0 1px #000, 0 0 0 2px rgba(200, 155, 26, .55); }
html.x-p10-time .x-p10-time-oh p { margin: 0; min-width: 0; font-size: 15px; line-height: 1.3; }
html.x-p10-time .x-p10-time-oh p span { color: #fff; font-weight: 600; }
html.x-p10-time .x-p10-time-oh small { display: block; font-size: 12px; color: #a8a8a8; }
html.x-p10-time .x-p10-time-oh small em { font-style: normal; color: var(--gold, #ffd100); font-weight: 700; }
html.x-p10-time .x-p10-time-ods { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
html.x-p10-time .x-p10-time-door { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; font: 700 12.5px/30px 'Open Sans', sans-serif; color: var(--gold, #ffd100); text-decoration: none; background: #221e14; box-shadow: inset 0 0 0 1px var(--gold2, #c89b1a); white-space: nowrap; }
html.x-p10-time .x-p10-time-door:hover { background: #2e2a1f; color: #fff2b0; }
html.x-p10-time .x-p10-time-door.x-p10-time-gold { color: #1a1400; background: linear-gradient(#ffd84a, #e9b90f); box-shadow: inset 0 0 0 1px #8a6a0a; }
html.x-p10-time .x-p10-time-x { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #262626; color: #ccc; font: 400 20px/30px 'Open Sans', sans-serif; cursor: pointer; }
html.x-p10-time .x-p10-time-x:hover { color: #fff; background: #333; }
html.x-p10-time .x-p10-time-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; align-items: start; }
html.x-p10-time .x-p10-time-open:not(.x-p10-time-all) .x-p10-time-tc:nth-child(n+13) { display: none; }
html.x-p10-time .x-p10-time-tc { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 10px 11px; background: #1e1e1e; border: 1px solid #2c2c2c; border-left: 3px solid var(--k); border-radius: 7px; min-width: 0; }
html.x-p10-time .x-p10-time-tch { display: flex; align-items: center; gap: 9px; }
html.x-p10-time .x-p10-time-tch img { width: 36px; height: 36px; flex: none; border-radius: 4px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #3a3a3a; }
html.x-p10-time .x-p10-time-tch span { min-width: 0; flex: 1; }
html.x-p10-time .x-p10-time-tch b { display: block; font-size: 13.5px; color: #fff; }
html.x-p10-time .x-p10-time-tch small { display: block; font-size: 11px; color: #9a9a9a; }
html.x-p10-time .x-p10-time-tch small i { font-style: normal; font-weight: 700; }
html.x-p10-time .x-p10-time-yt { flex: none; font-style: normal; font: 800 10.5px/20px 'Open Sans', sans-serif; padding: 0 8px; border-radius: 999px; color: #1a1400; background: var(--gold, #ffd100); }
html.x-p10-time .x-p10-time-blz { margin: 0; font-size: 12px; line-height: 1.45; color: #d4d4d4; }
html.x-p10-time .x-p10-time-chg { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; }
html.x-p10-time .x-p10-time-chg del, html.x-p10-time .x-p10-time-pair del { color: #ff9a9a; text-decoration: line-through; text-decoration-color: rgba(255, 154, 154, .6); }
html.x-p10-time .x-p10-time-chg ins, html.x-p10-time .x-p10-time-pair ins { color: #8ef0a8; text-decoration: none; background: rgba(74, 222, 128, .1); border-radius: 2px; }
html.x-p10-time .x-p10-time-chg i { font-style: normal; color: #777; }
html.x-p10-time .x-p10-time-chg em { font-style: italic; color: #888; }
html.x-p10-time .x-p10-time-pair { font-size: 11.5px; line-height: 1.45; color: #bdbdbd; }
html.x-p10-time .x-p10-time-pair summary { cursor: pointer; color: var(--gold2, #c89b1a); font-weight: 600; }
html.x-p10-time .x-p10-time-pair p { margin: 5px 0 0; }
html.x-p10-time .x-p10-time-pair small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7f7f7f; }
html.x-p10-time .x-p10-time-trk { margin: 0; font-size: 11.5px; color: #9a9a9a; }
html.x-p10-time .x-p10-time-tdoor { align-self: flex-end; margin-top: auto; font-size: 11.5px; font-weight: 700; color: var(--gold2, #c89b1a); text-decoration: none; }
html.x-p10-time .x-p10-time-tdoor:hover { color: var(--gold, #ffd100); }
html.x-p10-time .x-p10-time-more { display: block; margin: 10px auto 0; height: 30px; padding: 0 16px; border: 0; border-radius: 999px; background: #221e14; box-shadow: inset 0 0 0 1px var(--gold2, #c89b1a); color: var(--gold, #ffd100); font: 700 12.5px/30px 'Open Sans', sans-serif; cursor: pointer; }
html.x-p10-time .x-p10-time-of { margin: 10px 0 0; font-size: 11.5px; color: #8a8a8a; }

/* ---------- a phone: the class column pinned, the dates under the thumb, a cell opens as a sheet ---------- */
html.x-p10-time .x-p10-time-shade { position: fixed; inset: 0; z-index: 9998; background: rgba(0, 0, 0, .6); }
html.x-p10-time .x-p10-time-open.x-p10-time-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; max-height: 84vh; overflow: auto; overscroll-behavior: contain; margin: 0; padding: 14px 14px calc(18px + env(safe-area-inset-bottom)); border: 0; border-top: 2px solid var(--gold2, #c89b1a); border-radius: 14px 14px 0 0; background: #191919; box-shadow: 0 -10px 30px rgba(0, 0, 0, .6); }
html.x-p10-time.x-p10-time-sheeton body { overflow: hidden; }
@media (max-width: 760px) {
  html.x-p10-time:not(.x-p10-time-in) #sectionPage .ltree:has(> .bp-glance > div > .bp-bar[aria-label$=" gone"])::before { height: 682px; margin: 2px 0 16px; }
  /* a phone: the box takes the screen's width less a 16 px gutter each side (the section's own padding is wider) */
  html.x-p10-time .x-p10-time-box { width: calc(100vw - 32px); margin: 2px 0 16px calc((100% - 100vw + 32px) / 2); height: 682px; padding: 10px 10px 8px; gap: 6px; border-radius: 8px; }
  html.x-p10-time .x-p10-time-hd { height: 54px; align-items: flex-start; }
  html.x-p10-time .x-p10-time-ttl { flex-direction: column; gap: 12px; padding-top: 2px; }
  html.x-p10-time .x-p10-time-ttl b { font-size: 18px; }
  html.x-p10-time .x-p10-time-tlong { display: none; }
  html.x-p10-time .x-p10-time-views { position: absolute; top: 5px; right: 8px; }
  html.x-p10-time .x-p10-time-views button { padding: 0 10px; line-height: 22px; }
  /* a thumb's 44 px: an unseen press area from the box's top edge down, the pill itself unchanged (it sits 7 px under that edge) */
  html.x-p10-time .x-p10-time-views button { position: relative; }
  html.x-p10-time .x-p10-time-views button::after { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 44px; }
  html.x-p10-time .x-p10-time-sub { flex-direction: column; align-items: stretch; gap: 4px; height: 76px; }
  html.x-p10-time .x-p10-time-say { flex: none; height: 52px; white-space: normal; line-height: 17px; font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
  html.x-p10-time .x-p10-time-key { flex-wrap: wrap; gap: 3px 10px; height: 20px; overflow: hidden; font-size: 10.5px; }
  html.x-p10-time .x-p10-time-key span.x-p10-time-ksz { display: none; }
  html.x-p10-time .x-p10-time-how { height: 32px; white-space: normal; line-height: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  html.x-p10-time .x-p10-time-grid { touch-action: pan-x pan-y; }
  html.x-p10-time .x-p10-time-row { grid-template-columns: 96px repeat(var(--n, 15), 54px); }
  html.x-p10-time .x-p10-time-gs { min-width: calc(96px + var(--n, 15) * 54px); }
  html.x-p10-time .x-p10-time-corner, html.x-p10-time .x-p10-time-rowh { position: sticky; left: 0; z-index: 2; box-shadow: 6px 0 8px -6px rgba(0, 0, 0, .8); }
  html.x-p10-time .x-p10-time-rowh { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 0 4px 0 2px; }
  html.x-p10-time .x-p10-time-ch { flex: none; gap: 6px; max-width: 100%; }
  html.x-p10-time .x-p10-time-ch img { width: 22px; height: 22px; }
  html.x-p10-time .x-p10-time-ch b { font-size: 12.5px; }
  html.x-p10-time .x-p10-time-rowh em { font-size: 10.5px; text-align: left; padding-left: 28px; display: flex; gap: 6px; }
  html.x-p10-time .x-p10-time-myt { display: inline; font-size: 10px; }
  html.x-p10-time .x-p10-time-rs { grid-template-columns: 76px 18px 1fr; }
  html.x-p10-time .x-p10-time-rt, html.x-p10-time .x-p10-time-rti { display: none; }
  html.x-p10-time .x-p10-time-rc { width: calc(6px + var(--s) * .45); height: calc(6px + var(--s) * .45); }
  html.x-p10-time .x-p10-time-rc b { display: none; }
  html.x-p10-time .x-p10-time-rd { flex-direction: column; align-items: flex-end; justify-content: center; gap: 1px; font-size: 11.5px; }
  html.x-p10-time .x-p10-time-ri { gap: 4px; padding-left: 2px; }
  html.x-p10-time .x-p10-time-rt { font-size: 10.5px; padding-right: 2px; }
  html.x-p10-time .x-p10-time-oh { flex-wrap: wrap; }
  html.x-p10-time .x-p10-time-oh p { flex: 1; font-size: 14px; }
  html.x-p10-time .x-p10-time-ods { width: 100%; order: 3; }
  html.x-p10-time .x-p10-time-ods .x-p10-time-x { position: absolute; top: 10px; right: 10px; }
  html.x-p10-time .x-p10-time-oh { padding-right: 34px; }
  html.x-p10-time .x-p10-time-cards { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  html.x-p10-time .x-p10-time-key { gap: 3px 8px; font-size: 10px; }
  html.x-p10-time .x-p10-time-rs { grid-template-columns: 64px 14px 1fr; }
  html.x-p10-time .x-p10-time-ri { gap: 3px; }
  html.x-p10-time .x-p10-time-rc { width: calc(4px + var(--s) * .4); height: calc(4px + var(--s) * .4); }
}

/* x: p11-clip */
/* p11-clip: Play my build (24 Nov 2026). NOTES.md says what and why. */

/* the page behind stays still while the player is open */
html.x-p11-clip.x-p11-clip-lock { overflow: hidden; scrollbar-gutter: stable; }

/* the door in the Picture window: one press beside Make it a card; only for the reader's own build with points */
html.x-p11-clip .x-build-picture-row .btn.x-p11-clip-go { display: inline-flex; align-items: center; gap: 7px; color: var(--gold, #ffd100); border-color: rgba(255, 209, 0, .6); background: rgba(255, 209, 0, .08); }
html.x-p11-clip .x-build-picture-row .btn.x-p11-clip-go:hover { border-color: var(--gold, #ffd100); background: rgba(255, 209, 0, .14); }
html.x-p11-clip .x-build-picture-other .x-p11-clip-go,
html.x-p11-clip .x-build-picture-empty .x-p11-clip-go { display: none; }
html.x-p11-clip .x-p11-clip-tri { display: inline-block; width: 10px; height: 12px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
@media (max-width: 640px) {
  html.x-p11-clip .x-build-picture-row .btn.x-p11-clip-go { flex: 1 1 100%; justify-content: center; }
}
/* the item in the deck's More (its own button make; the pocket watch, then the words) */
html.x-p11-clip .x-p11-clip-fitem { color: var(--gold, #ffd100); }

/* the player */
html.x-p11-clip .x-p11-clip-dlg { padding: 0; border: 1px solid rgba(255, 209, 0, .45); border-radius: 12px; background: #161616; color: var(--ink, #e8e8e8); box-sizing: border-box;
  width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 24px); box-shadow: 0 24px 80px rgba(0, 0, 0, .7); overflow: auto; overscroll-behavior: contain; }
html.x-p11-clip .x-p11-clip-dlg:focus { outline: 0; }
html.x-p11-clip .x-p11-clip-dlg::backdrop { background: rgba(8, 8, 8, .84); }
html.x-p11-clip .x-p11-clip-box { padding: 14px 16px 16px; display: grid; gap: 12px; }
html.x-p11-clip .x-p11-clip-head { display: flex; align-items: flex-start; gap: 12px; }
html.x-p11-clip .x-p11-clip-grip { display: none; }
html.x-p11-clip .x-p11-clip-say { flex: 1 1 auto; min-width: 0; margin: 0; padding: 7px 0 0 2px; font-size: 14px; line-height: 1.45; color: #cfcfcf; text-wrap: pretty; }
html.x-p11-clip .x-p11-clip-say b { color: var(--gold, #ffd100); font-family: Cinzel, Georgia, serif; font-size: 16px; letter-spacing: .02em; margin-right: 4px; }
html.x-p11-clip .x-p11-clip-x { flex: none; width: 36px; height: 36px; margin: -2px -4px 0 0; padding: 0; display: grid; place-items: center; border: 1px solid #4a4640; border-radius: 6px; background: #222; color: var(--ink, #e8e8e8); cursor: pointer; }
html.x-p11-clip .x-p11-clip-x:hover { border-color: var(--gold, #ffd100); color: var(--gold, #ffd100); }
html.x-p11-clip .x-p11-clip-main { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; align-items: start; }
html.x-p11-clip .x-p11-clip-left { display: grid; gap: 10px; min-width: 0; }
/* the stage keeps one size for both shapes: only the picture inside it changes */
html.x-p11-clip .x-p11-clip-stage { position: relative; height: min(560px, calc(100vh - 200px)); min-height: 280px; border-radius: 8px; background: #0c0c0c; box-shadow: inset 0 0 0 1px #2a2a2a; overflow: hidden; cursor: pointer; }
html.x-p11-clip .x-p11-clip-cv { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; opacity: 0; }
html.x-p11-clip .x-p11-clip-ready .x-p11-clip-cv { opacity: 1; }
html.x-p11-clip .x-p11-clip-wait { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; color: var(--muted, #8a8a8a); font-size: 14px; pointer-events: none; }
html.x-p11-clip .x-p11-clip-ready .x-p11-clip-wait { display: none; }
/* the big Play mark over a still frame (never over a playing one) */
html.x-p11-clip .x-p11-clip-big { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 0; display: grid; place-items: center; border: 2px solid var(--gold, #ffd100); border-radius: 50%; background: rgba(18, 18, 18, .72); color: var(--gold, #ffd100); cursor: pointer; box-shadow: 0 6px 24px rgba(0, 0, 0, .6); }
html.x-p11-clip .x-p11-clip-big[hidden] { display: none; }
html.x-p11-clip .x-p11-clip-big svg { width: 34px; height: 34px; }
html.x-p11-clip .x-p11-clip-big[data-k="play"] svg { margin-left: 4px; }
html.x-p11-clip .x-p11-clip-stage:hover .x-p11-clip-big { background: rgba(40, 34, 12, .85); }
html.x-p11-clip .x-p11-clip-dlg:not(.x-p11-clip-ready) .x-p11-clip-big { display: none; }
/* the hand's controls: Play or Pause, the scrub bar, the time */
html.x-p11-clip .x-p11-clip-ctl { display: flex; align-items: center; gap: 12px; }
html.x-p11-clip .x-p11-clip-pp { flex: none; width: 42px; height: 42px; padding: 0; display: grid; place-items: center; border: 1px solid var(--gold, #ffd100); border-radius: 50%; background: rgba(255, 209, 0, .1); color: var(--gold, #ffd100); cursor: pointer; }
html.x-p11-clip .x-p11-clip-pp:hover { background: rgba(255, 209, 0, .2); }
html.x-p11-clip .x-p11-clip-scrub { flex: 1 1 auto; min-width: 0; height: 28px; margin: 0; accent-color: var(--gold, #ffd100); cursor: pointer; }
html.x-p11-clip .x-p11-clip-time { flex: none; min-width: 92px; text-align: right; font: 600 13px/1 'Open Sans', sans-serif; color: #bdbdbd; font-variant-numeric: tabular-nums; }
html.x-p11-clip .x-p11-clip-recording .x-p11-clip-ctl,
html.x-p11-clip .x-p11-clip-recording .x-p11-clip-seg,
html.x-p11-clip .x-p11-clip-recording .x-p11-clip-mode,
html.x-p11-clip .x-p11-clip-making .x-p11-clip-seg,
html.x-p11-clip .x-p11-clip-making .x-p11-clip-mode { opacity: .45; pointer-events: none; }
html.x-p11-clip .x-p11-clip-recording .x-p11-clip-stage { cursor: default; box-shadow: inset 0 0 0 2px #c0392b; }

html.x-p11-clip .x-p11-clip-side { display: grid; gap: 12px; align-content: start; min-width: 0; }
/* the two shapes: one press switches; the pressed one is gold */
html.x-p11-clip .x-p11-clip-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
html.x-p11-clip .x-p11-clip-seg button { display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 74px; padding: 8px 4px; border: 1px solid #3a3a3a; border-radius: 8px; background: #1e1e1e; color: #cfcfcf; font: inherit; cursor: pointer; }
html.x-p11-clip .x-p11-clip-seg button:hover { border-color: rgba(255, 209, 0, .6); }
html.x-p11-clip .x-p11-clip-seg button[aria-pressed="true"] { border-color: var(--gold, #ffd100); background: rgba(255, 209, 0, .12); color: var(--gold, #ffd100); }
html.x-p11-clip .x-p11-clip-gl { display: inline-block; flex: none; height: 18px; border-radius: 2px; background: currentColor; opacity: .85; margin-bottom: 3px; }
html.x-p11-clip .x-p11-clip-gl-wide { aspect-ratio: 16 / 9; }
html.x-p11-clip .x-p11-clip-gl-tall { aspect-ratio: 9 / 16; }
html.x-p11-clip .x-p11-clip-seg b { font-size: 14px; font-weight: 700; }
html.x-p11-clip .x-p11-clip-seg small { font-size: 11.5px; color: #9a9a9a; white-space: nowrap; }
html.x-p11-clip .x-p11-clip-seg button[aria-pressed="true"] small { color: #d9c06a; }
/* the style: a small quiet choice of two */
html.x-p11-clip .x-p11-clip-mode { display: grid; gap: 4px; padding: 4px; border-radius: 8px; background: #1b1b1b; }
html.x-p11-clip .x-p11-clip-mode button { display: block; width: 100%; padding: 7px 10px; border: 0; border-radius: 6px; background: transparent; color: #a9a49a; font: 400 13px 'Open Sans', sans-serif; text-align: left; cursor: pointer; }
html.x-p11-clip .x-p11-clip-mode button b { color: #d6d0c2; font-weight: 700; margin-right: 4px; }
html.x-p11-clip .x-p11-clip-mode button:hover { background: #242424; }
html.x-p11-clip .x-p11-clip-mode button[aria-pressed="true"] { background: #2a2618; color: #d9c06a; }
html.x-p11-clip .x-p11-clip-mode button[aria-pressed="true"] b { color: var(--gold, #ffd100); }
html.x-p11-clip .x-p11-clip-names { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html.x-p11-clip .x-p11-clip-f { display: grid; gap: 4px; min-width: 0; font-size: 11.5px; font-weight: 700; color: #bdbdbd; text-transform: uppercase; letter-spacing: .06em; }
html.x-p11-clip .x-p11-clip-f input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 38px; padding: 0 10px; border: 1px solid #3a3a3a; border-radius: 6px; background: #121212; color: #fff; font: 600 14px Cinzel, Georgia, serif; letter-spacing: .02em; text-transform: none; }
html.x-p11-clip .x-p11-clip-f input.x-p11-clip-by { color: #ffd75e; }
html.x-p11-clip .x-p11-clip-f input:focus { outline: 0; border-color: var(--gold, #ffd100); }
html.x-p11-clip .x-p11-clip-f input::placeholder { color: #6f6f6f; }
html.x-p11-clip .x-p11-clip-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html.x-p11-clip .x-p11-clip-btn { box-sizing: border-box; display: inline-grid; grid-template-areas: "w"; place-items: center; min-height: 42px; padding: 0 12px; border: 1px solid #4a4640; border-radius: 6px; background: #222; color: var(--ink, #e8e8e8); font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
html.x-p11-clip .x-p11-clip-btn[hidden] { display: none; }
html.x-p11-clip .x-p11-clip-btn:hover { border-color: var(--gold, #ffd100); }
html.x-p11-clip .x-p11-clip-btn:disabled { color: #7d7a74; border-color: #333; cursor: not-allowed; }
html.x-p11-clip .x-p11-clip-rec { grid-column: 1 / -1; background: var(--gold, #ffd100); border-color: var(--gold, #ffd100); color: #1a1500; }
html.x-p11-clip .x-p11-clip-recording .x-p11-clip-rec { background: #2a1512; border-color: #c0392b; color: #ff8d7a; }
html.x-p11-clip .x-p11-clip-gif { grid-column: 1 / -1; }
html.x-p11-clip .x-p11-clip-canshare .x-p11-clip-share { grid-column: 1 / -1; background: var(--gold, #ffd100); border-color: var(--gold, #ffd100); color: #1a1500; }
html.x-p11-clip .x-p11-clip-canshare .x-p11-clip-rec { background: #222; color: var(--gold, #ffd100); border-color: rgba(255, 209, 0, .5); }
html.x-p11-clip .x-p11-clip-w { grid-area: w; }
html.x-p11-clip .x-p11-clip-w[hidden] { display: block; visibility: hidden; }
html.x-p11-clip .x-p11-clip-note { margin: -2px 0 0; font-size: 12.5px; line-height: 1.45; color: #a9a49a; }
html.x-p11-clip .x-p11-clip-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.x-p11-clip .x-p11-clip-dl { position: fixed; left: -9999px; top: 0; }
html.x-p11-clip .x-p11-clip-dlg :is(button, input):focus-visible { outline: 2px solid var(--gold, #ffd100); outline-offset: 2px; }

/* a phone: the same player as a sheet from the bottom; Tall first, the film on top, then the hand's controls, then save */
@media (max-width: 760px) {
  html.x-p11-clip .x-p11-clip-dlg { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 14px 14px 0 0; border-bottom: 0; max-height: 94vh; }
  html.x-p11-clip .x-p11-clip-box { padding: 6px 12px 14px; gap: 10px; }
  html.x-p11-clip .x-p11-clip-grip { display: block; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: #4a4a4a; }
  html.x-p11-clip .x-p11-clip-head { position: relative; padding-top: 8px; }
  html.x-p11-clip .x-p11-clip-say { font-size: 13px; padding-top: 10px; }
  html.x-p11-clip .x-p11-clip-say b { display: block; }
  html.x-p11-clip .x-p11-clip-x { width: 44px; height: 44px; }
  html.x-p11-clip .x-p11-clip-main { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  html.x-p11-clip .x-p11-clip-stage { height: 52vh; min-height: 240px; }
  html.x-p11-clip .x-p11-clip-cv { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
  html.x-p11-clip .x-p11-clip-pp { width: 46px; height: 46px; }
  html.x-p11-clip .x-p11-clip-scrub { height: 40px; }
  html.x-p11-clip .x-p11-clip-time { min-width: 80px; font-size: 12px; }
  html.x-p11-clip .x-p11-clip-seg button { min-height: 56px; }
  html.x-p11-clip .x-p11-clip-mode { grid-template-columns: 1fr 1fr; }
  html.x-p11-clip .x-p11-clip-mode button { padding: 8px; font-size: 12px; min-height: 44px; }
  html.x-p11-clip .x-p11-clip-acts .x-p11-clip-btn { min-height: 46px; }
  /* Save clip right under the film's controls, where the thumb already is; the shape, style and names after it */
  html.x-p11-clip .x-p11-clip-acts { order: -1; }
}
@media (max-width: 360px) {
  html.x-p11-clip .x-p11-clip-seg small { font-size: 10.5px; }
  html.x-p11-clip .x-p11-clip-names { grid-template-columns: 1fr; }
}
@supports (height: 100dvh) {
  html.x-p11-clip .x-p11-clip-dlg { max-height: calc(100dvh - 24px); }
  html.x-p11-clip .x-p11-clip-stage { height: min(560px, calc(100dvh - 200px)); }
  @media (max-width: 760px) {
    html.x-p11-clip .x-p11-clip-dlg { max-height: 94dvh; }
    html.x-p11-clip .x-p11-clip-stage { height: 52dvh; }
  }
}

/* x: p6-card */
/* p6-card: the Picture as a card you send (22 Nov 2026). NOTES.md says what and why. */

/* the page behind stays still while the card's window is open */
html.x-p6-card.x-p6-card-lock { overflow: hidden; scrollbar-gutter: stable; }

/* the door: one button of ours at the head of the Picture window's actions; only for the reader's own build with points */
html.x-p6-card .x-build-picture-row .btn.x-p6-card-go { display: inline-flex; gap: 7px; color: var(--gold, #ffd100); border-color: rgba(255, 209, 0, .6); background: rgba(255, 209, 0, .08); }
html.x-p6-card .x-build-picture-row .btn.x-p6-card-go:hover { border-color: var(--gold, #ffd100); background: rgba(255, 209, 0, .14); }
html.x-p6-card .x-build-picture-other .x-p6-card-go,
html.x-p6-card .x-build-picture-empty .x-p6-card-go { display: none; }
html.x-p6-card .x-p6-card-go .x-p6-card-gl { margin-right: -3px; }
@media (max-width: 640px) {
  html.x-p6-card .x-build-picture-row .btn.x-p6-card-go { flex: 1 1 100%; }
}

/* a shape's mark: a small solid box of the card's own proportions */
html.x-p6-card .x-p6-card-gl { display: inline-block; flex: none; border-radius: 2px; background: currentColor; opacity: .85; vertical-align: middle; }
html.x-p6-card .x-p6-card-gl-wide { width: 16px; height: 9px; }
html.x-p6-card .x-p6-card-gl-square { width: 11px; height: 11px; }
html.x-p6-card .x-p6-card-gl-tall { width: 7px; height: 12px; }

/* the card's window */
html.x-p6-card .x-p6-card-dlg { padding: 0; border: 1px solid rgba(255, 209, 0, .45); border-radius: 12px; background: #161616; color: var(--ink, #e8e8e8); box-sizing: border-box;
  width: min(1140px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 24px); box-shadow: 0 24px 80px rgba(0, 0, 0, .7); overflow: auto; overscroll-behavior: contain; }
html.x-p6-card .x-p6-card-dlg:focus { outline: 0; }
html.x-p6-card .x-p6-card-dlg::backdrop { background: rgba(8, 8, 8, .82); }
html.x-p6-card .x-p6-card-box { padding: 14px 16px 16px; display: grid; gap: 12px; }
html.x-p6-card .x-p6-card-head { display: flex; align-items: flex-start; gap: 12px; }
html.x-p6-card .x-p6-card-grip { display: none; }
html.x-p6-card .x-p6-card-say { flex: 1 1 auto; min-width: 0; margin: 0; padding: 7px 0 0 2px; font-size: 14px; line-height: 1.45; color: #cfcfcf; text-wrap: pretty; }
html.x-p6-card .x-p6-card-say b { color: var(--gold, #ffd100); font-family: Cinzel, Georgia, serif; font-size: 16px; letter-spacing: .02em; margin-right: 4px; }
html.x-p6-card .x-p6-card-x { flex: none; width: 36px; height: 36px; margin: -2px -4px 0 0; padding: 0; display: grid; place-items: center; border: 1px solid #4a4640; border-radius: 6px; background: #222; color: var(--ink, #e8e8e8); cursor: pointer; }
html.x-p6-card .x-p6-card-x:hover { border-color: var(--gold, #ffd100); color: var(--gold, #ffd100); }
html.x-p6-card .x-p6-card-main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
/* the stage keeps one size for every shape: a new shape changes only the picture inside it, nothing else moves */
html.x-p6-card .x-p6-card-stage { position: relative; height: min(600px, calc(100vh - 130px)); min-height: 300px; border-radius: 8px; background: #0c0c0c; box-shadow: inset 0 0 0 1px #2a2a2a; overflow: hidden; }
html.x-p6-card .x-p6-card-img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; opacity: 0; }
html.x-p6-card .x-p6-card-ready .x-p6-card-img { opacity: 1; }
html.x-p6-card .x-p6-card-wait { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; color: var(--muted, #8a8a8a); font-size: 14px; }
html.x-p6-card .x-p6-card-ready .x-p6-card-wait { display: none; }
html.x-p6-card .x-p6-card-side { display: grid; gap: 12px; align-content: start; min-width: 0; }
/* the three shapes: one press switches; the pressed one is gold */
html.x-p6-card .x-p6-card-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
html.x-p6-card .x-p6-card-seg button { display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 74px; padding: 8px 4px; border: 1px solid #3a3a3a; border-radius: 8px; background: #1e1e1e; color: #cfcfcf; font: inherit; cursor: pointer; }
html.x-p6-card .x-p6-card-seg button:hover { border-color: rgba(255, 209, 0, .6); }
html.x-p6-card .x-p6-card-seg button[aria-pressed="true"] { border-color: var(--gold, #ffd100); background: rgba(255, 209, 0, .12); color: var(--gold, #ffd100); }
html.x-p6-card .x-p6-card-seg .x-p6-card-gl { height: 18px; width: auto; aspect-ratio: 16 / 9; margin-bottom: 3px; }
html.x-p6-card .x-p6-card-seg .x-p6-card-gl-square { aspect-ratio: 1; }
html.x-p6-card .x-p6-card-seg .x-p6-card-gl-tall { aspect-ratio: 9 / 16; }
html.x-p6-card .x-p6-card-seg b { font-size: 14px; font-weight: 700; }
html.x-p6-card .x-p6-card-seg small { font-size: 11.5px; color: #9a9a9a; white-space: nowrap; }
html.x-p6-card .x-p6-card-seg button[aria-pressed="true"] small { color: #d9c06a; }
html.x-p6-card .x-p6-card-f { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: #bdbdbd; text-transform: uppercase; letter-spacing: .06em; }
html.x-p6-card .x-p6-card-f input { box-sizing: border-box; width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid #3a3a3a; border-radius: 6px; background: #121212; color: #fff; font: 600 16px Cinzel, Georgia, serif; letter-spacing: .02em; text-transform: none; }
html.x-p6-card .x-p6-card-f input.x-p6-card-by { color: #ffd75e; }
html.x-p6-card .x-p6-card-f input:focus { outline: 0; border-color: var(--gold, #ffd100); }
html.x-p6-card .x-p6-card-f input::placeholder { color: #6f6f6f; }
html.x-p6-card .x-p6-card-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html.x-p6-card .x-p6-card-btn { box-sizing: border-box; display: inline-grid; grid-template-areas: "w"; place-items: center; min-height: 40px; padding: 0 12px; border: 1px solid #4a4640; border-radius: 6px; background: #222; color: var(--ink, #e8e8e8); font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; }
html.x-p6-card .x-p6-card-btn[hidden] { display: none; }
html.x-p6-card .x-p6-card-btn:hover { border-color: var(--gold, #ffd100); }
html.x-p6-card .x-p6-card-btn:disabled { color: #7d7a74; border-color: #333; cursor: not-allowed; }
html.x-p6-card .x-p6-card-save,
html.x-p6-card .x-p6-card-share:not([hidden]) { grid-column: 1 / -1; background: var(--gold, #ffd100); border-color: var(--gold, #ffd100); color: #1a1500; }
/* with the phone's share sheet, Share is the gold one and Save steps back beside Copy link */
html.x-p6-card .x-p6-card-canshare .x-p6-card-save { grid-column: auto; background: #222; color: var(--gold, #ffd100); border-color: rgba(255, 209, 0, .5); }
html.x-p6-card .x-p6-card-w { grid-area: w; }
html.x-p6-card .x-p6-card-w[hidden] { display: block; visibility: hidden; }
html.x-p6-card .x-p6-card-note { margin: -2px 0 0; font-size: 12.5px; line-height: 1.45; color: #a9a49a; }
html.x-p6-card .x-p6-card-friend { margin: 0; padding: 10px 12px; border-radius: 6px; background: #1e1e1e; font-size: 13px; line-height: 1.45; color: #cfcfcf; }
html.x-p6-card .x-p6-card-friend b { color: #ffd75e; }
html.x-p6-card .x-p6-card-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.x-p6-card .x-p6-card-tmp { position: fixed; left: -9999px; top: 0; opacity: 0; }

/* a phone: the same window as a sheet from the bottom; the card on top, the three shapes, the two names, Share or Save */
@media (max-width: 760px) {
  html.x-p6-card .x-p6-card-dlg { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 14px 14px 0 0; border-bottom: 0; max-height: 94vh; }
  html.x-p6-card .x-p6-card-box { padding: 6px 12px 14px; gap: 10px; }
  html.x-p6-card .x-p6-card-grip { display: block; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: #4a4a4a; }
  html.x-p6-card .x-p6-card-head { position: relative; padding-top: 8px; }
  html.x-p6-card .x-p6-card-say { font-size: 13px; padding-top: 10px; }
  html.x-p6-card .x-p6-card-say b { display: block; }
  html.x-p6-card .x-p6-card-x { width: 44px; height: 44px; }
  html.x-p6-card .x-p6-card-main { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  html.x-p6-card .x-p6-card-stage { height: 46vh; min-height: 240px; }
  html.x-p6-card .x-p6-card-img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
  html.x-p6-card .x-p6-card-seg button { min-height: 60px; }
  html.x-p6-card .x-p6-card-acts .x-p6-card-btn { min-height: 46px; }
  html.x-p6-card .x-p6-card-copy:disabled { display: none; }
}
@media (max-width: 360px) {
  html.x-p6-card .x-p6-card-seg small { font-size: 10.5px; }
}
@supports (height: 100dvh) {
  html.x-p6-card .x-p6-card-dlg { max-height: calc(100dvh - 24px); }
  html.x-p6-card .x-p6-card-stage { height: min(600px, calc(100dvh - 130px)); }
  @media (max-width: 760px) {
    html.x-p6-card .x-p6-card-dlg { max-height: 94dvh; }
    html.x-p6-card .x-p6-card-stage { height: 46dvh; }
  }
}

/* x: p7-road */
/* p7-road: the Leveling guides page as one road from level 1 to 60 (x.js draws it). The page's own section (picture, class doors,
   chapters) stays in the page, hidden only while our road stands in front of it; if no course can be read the road takes itself
   out and the page is as it was. One panel, three bands: the road (six chapters named over their stops), the lesson under the
   hand, the chapter it is in. Brand: near-black ground, grey panels, gold for the hand and the one press, the class's own colour
   for its words, real game pictures and icons whole as boxes. Pointing changes only light; things move only with the hand. */
html.x-p7-road #x-p7-road ~ section.lvg { display: none; }
/* (29 Nov 2026, the sweep) from the first paint the page's own section holds the road's room, unseen, until the road stands in
   front of it: the page's section (726 px at 1920), then the road empty (671), then drawn (1080) moved everything under it 360 px
   in the first quarter second. If the road never comes, the page's own section shows after 3 s (or at once when x.js gives up). */
html.x-p7-road { --x-p7-road-h: 1080px; }
@media (max-width: 960px) { html.x-p7-road { --x-p7-road-h: 1304px; } }
@media (max-width: 760px) { html.x-p7-road { --x-p7-road-h: 1857px; } }
html.x-p7-road:not(.x-p7-road-gone) section.lvg { visibility: hidden; box-sizing: border-box; min-height: calc(var(--x-p7-road-h) + 6px); animation: x-p7-road-late 0s 3s forwards; }
@keyframes x-p7-road-late { to { visibility: visible; } }
html.x-p7-road .x-p7-road-sec:not(.x-p7-road-drawn) { min-height: var(--x-p7-road-h); }
html.x-p7-road .x-p7-road-sec { --sw: 34px; --c: #ffd75e; margin: 6px 0 22px; color: #e8e8e8; font-family: "Open Sans", system-ui, sans-serif; }
html.x-p7-road .x-p7-road-sec [hidden] { display: none !important; }
html.x-p7-road .x-p7-road-sec svg { display: block; }
html.x-p7-road .x-p7-road-k { margin: 0 0 7px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9a948a; }

/* ---- the head: the course's own title, its count and length, the nine classes, the quiet Road or Wall choice ---- */
html.x-p7-road .x-p7-road-head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: 10px 26px; margin: 0 0 16px; }
html.x-p7-road .x-p7-road-eye { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
html.x-p7-road .x-p7-road-eye i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--c); color: #0b0a09; }
html.x-p7-road .x-p7-road-eye svg { width: 12px; height: 12px; margin-left: 1px; }
html.x-p7-road .x-p7-road-head h2 { margin: 8px 0 6px; font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: clamp(25px, 2.9vw, 36px); line-height: 1.1; color: #ffd75e; }
html.x-p7-road .x-p7-road-sum { margin: 0; font-size: 15px; line-height: 1.45; color: #bdbdbd; }
html.x-p7-road .x-p7-road-sum a { color: #ffd100; font-weight: 700; text-underline-offset: 3px; text-decoration-color: rgba(255, 209, 0, .45); white-space: nowrap; }
html.x-p7-road .x-p7-road-sum a:hover { color: #ffe066; }
html.x-p7-road .x-p7-road-pick { display: flex; gap: 6px; }
html.x-p7-road .x-p7-road-cls { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; box-sizing: border-box; width: 60px; padding: 7px 2px 6px; margin: 0; border: 0; border-radius: 8px; background: #1b1b1b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); color: inherit; font: inherit; }
html.x-p7-road .x-p7-road-cls img { display: block; width: 40px; height: 40px; border-radius: 4px; border: 1px solid #000; }
html.x-p7-road .x-p7-road-cls > span { font-family: Cinzel, Georgia, serif; font-size: 11.5px; font-weight: 700; line-height: 1.1; color: #8b867d; }
html.x-p7-road button.x-p7-road-cls { cursor: pointer; }
html.x-p7-road button.x-p7-road-cls > span { color: var(--cc); }
html.x-p7-road button.x-p7-road-cls > i { position: absolute; right: 7px; top: 34px; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #ffd100; color: #1a1400; box-shadow: 0 0 0 1px #000; }
html.x-p7-road button.x-p7-road-cls > i svg { width: 9px; height: 9px; margin-left: 1px; }
html.x-p7-road button.x-p7-road-cls:hover { background: #222; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cc) 55%, transparent); }
html.x-p7-road button.x-p7-road-cls[aria-pressed="true"] { background: linear-gradient(180deg, color-mix(in srgb, var(--cc) 22%, #1b1b1b), #1b1b1b 85%); box-shadow: inset 0 0 0 1px var(--cc), 0 0 14px color-mix(in srgb, var(--cc) 30%, transparent); }
html.x-p7-road button.x-p7-road-cls:focus-visible { outline: 2px solid #ffd100; outline-offset: 2px; }
html.x-p7-road .x-p7-road-no { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); cursor: default; }
html.x-p7-road .x-p7-road-no img { filter: grayscale(.95) brightness(.5); }
html.x-p7-road .x-p7-road-no > span { color: #6f6b64; }
html.x-p7-road .x-p7-road-nope { margin: 6px 0 0; font-size: 12.5px; line-height: 1.35; color: #8a8a8a; text-align: right; }
html.x-p7-road .x-p7-road-view { display: inline-flex; align-self: start; padding: 3px; border-radius: 999px; background: #1b1b1b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
html.x-p7-road .x-p7-road-view button { min-height: 30px; padding: 4px 13px; border: 0; border-radius: 999px; background: none; color: #a9a39a; font: 700 12.5px/1 "Open Sans", system-ui, sans-serif; cursor: pointer; }
html.x-p7-road .x-p7-road-view button:hover { color: #fff; }
html.x-p7-road .x-p7-road-view button[aria-pressed="true"] { background: #2e2a1f; color: #ffd100; box-shadow: inset 0 0 0 1px #c89b1a; }
html.x-p7-road .x-p7-road-view button:focus-visible { outline: 2px solid #ffd100; outline-offset: 1px; }
/* (29 Nov 2026, the sweep) a thumb's room round the small presses, unseen: Road and Wall (30 px tall) and Where this comes from */
html.x-p7-road .x-p7-road-view button, html.x-p7-road .x-p7-road-src summary { position: relative; }
html.x-p7-road .x-p7-road-view button::after { content: ""; position: absolute; inset: -7px 0; }
html.x-p7-road .x-p7-road-src summary::after { content: ""; position: absolute; inset: -13px -6px; }

/* ---- the panel that holds the three bands ---- */
html.x-p7-road .x-p7-road-stage { position: relative; }
html.x-p7-road .x-p7-road-roadview { position: relative; padding: 14px 18px 0; border-radius: 12px; background: #161616; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }

/* ---- band 1, the road: the line from 1 to 60, each chapter named over its stops, a stop for each lesson ---- */
html.x-p7-road .x-p7-road-road { position: relative; height: 176px; overflow: hidden; touch-action: pan-y; cursor: grab; outline: none; border-radius: 8px; user-select: none; -webkit-user-select: none; }
html.x-p7-road .x-p7-road-road.x-p7-road-held { cursor: grabbing; }
html.x-p7-road .x-p7-road-road:focus-visible { box-shadow: inset 0 0 0 1px rgba(255, 209, 0, .45); }
html.x-p7-road .x-p7-road-track { position: absolute; left: 0; top: 0; height: 100%; will-change: transform; }
html.x-p7-road .x-p7-road-line { position: absolute; left: 0; right: 0; top: 128px; height: 4px; border-radius: 2px; background: rgba(200, 155, 26, .26); overflow: hidden; }
html.x-p7-road .x-p7-road-fill { position: absolute; inset: 0; background: linear-gradient(90deg, #c89b1a, #ffd100); transform-origin: 0 50%; transform: scaleX(0); }
html.x-p7-road .x-p7-road-segs { position: absolute; inset: 0; }
html.x-p7-road .x-p7-road-seg { position: absolute; top: 0; height: 100%; }
/* the chapter you are in has a faint ground of its own: the six read as the chapters of one road */
html.x-p7-road .x-p7-road-seg::before { content: ""; position: absolute; left: -7px; right: -7px; top: 0; bottom: 0; border-radius: 8px; background: transparent; pointer-events: none; }
html.x-p7-road .x-p7-road-seg.x-p7-road-on::before { background: rgba(255, 255, 255, .035); box-shadow: inset 0 2px 0 color-mix(in srgb, var(--c) 70%, transparent); }
html.x-p7-road .x-p7-road-leg { position: absolute; left: 0; right: 0; top: 10px; display: flex; flex-direction: column; gap: 2px; margin: 0; pointer-events: none; }
html.x-p7-road .x-p7-road-leg small { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7f7a72; white-space: nowrap; font-variant-numeric: tabular-nums; }
html.x-p7-road .x-p7-road-leg b { font-family: Cinzel, Georgia, serif; font-size: 12.5px; font-weight: 700; line-height: 1.2; color: #a39e95; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.x-p7-road .x-p7-road-on .x-p7-road-leg small { color: var(--c); }
html.x-p7-road .x-p7-road-on .x-p7-road-leg b { color: #fff; }
html.x-p7-road .x-p7-road-stop { position: absolute; bottom: 52px; box-sizing: border-box; width: var(--sw); height: calc(var(--sw) * .9); margin-left: calc(var(--sw) / -2); border-radius: 4px; background: #262626; box-shadow: 0 0 0 1px #000, 0 0 0 2px rgba(255, 255, 255, .1); transform-origin: 50% 100%; }
html.x-p7-road .x-p7-road-stop img { display: block; width: 100%; height: 100%; border-radius: 4px; object-fit: cover; pointer-events: none; filter: brightness(.8) saturate(.9); }
html.x-p7-road .x-p7-road-stop:hover img { filter: none; }
html.x-p7-road .x-p7-road-stop.x-p7-road-cur { z-index: 3; box-shadow: 0 0 0 1px #000, 0 0 0 3px #ffd100, 0 6px 14px rgba(0, 0, 0, .6); }
html.x-p7-road .x-p7-road-stop.x-p7-road-cur img { filter: none; }
/* a lesson this browser has watched on the course: a small gold tick on its corner */
html.x-p7-road .x-p7-road-tick { position: absolute; right: -4px; top: -4px; display: none; place-items: center; width: 13px; height: 13px; border-radius: 50%; background: #ffd100; color: #1a1400; box-shadow: 0 0 0 1px #000; pointer-events: none; }
html.x-p7-road .x-p7-road-tick svg { width: 9px; height: 9px; }
html.x-p7-road .x-p7-road-seen .x-p7-road-tick { display: grid; }
/* the level at the start of each chapter, as a marker on the line; the last chapter's end says 60 */
html.x-p7-road .x-p7-road-lo, html.x-p7-road .x-p7-road-hi { position: absolute; top: 121px; z-index: 1; min-width: 14px; padding: 0 5px; border-radius: 9px; background: #121212; box-shadow: inset 0 0 0 1px #c89b1a; color: #ffd75e; font: 700 11px/18px "Open Sans", system-ui, sans-serif; text-align: center; font-variant-numeric: tabular-nums; pointer-events: none; }
html.x-p7-road .x-p7-road-lo { left: -7px; transform: translateX(-50%); }
html.x-p7-road .x-p7-road-seg:first-child .x-p7-road-lo { left: 0; transform: none; }
html.x-p7-road .x-p7-road-hi { display: none; right: 0; }
html.x-p7-road .x-p7-road-hi.x-p7-road-end { display: block; background: #ffd100; color: #1a1400; box-shadow: 0 0 0 1px #000; }
html.x-p7-road .x-p7-road-sl { position: absolute; left: 0; right: 0; top: 150px; margin: 0; font-size: 11.5px; color: #7f7a72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; font-variant-numeric: tabular-nums; }
html.x-p7-road .x-p7-road-on .x-p7-road-sl { color: #bdb7ad; }
/* the hand: a gold mark under the line, exactly where the pointer is while it is down */
html.x-p7-road .x-p7-road-hand { position: absolute; left: 22px; top: 134px; width: 0; height: 0; pointer-events: none; will-change: transform; }
html.x-p7-road .x-p7-road-hand::before { content: ""; position: absolute; left: -7px; top: 0; border: solid transparent; border-width: 0 7px 9px; border-bottom-color: #ffd100; filter: drop-shadow(0 1px 0 #000); }
html.x-p7-road .x-p7-road-pager { display: none; }
html.x-p7-road .x-p7-road-wait .x-p7-road-stage { opacity: .6; }

/* ---- band 2, the lesson under the hand ---- */
html.x-p7-road .x-p7-road-card { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 22px; box-sizing: border-box; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
html.x-p7-road .x-p7-road-left { min-width: 0; }
html.x-p7-road .x-p7-road-pic { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #0b0a09; box-shadow: 0 0 0 1px #000, 0 0 0 2px rgba(255, 255, 255, .06); }
html.x-p7-road .x-p7-road-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
html.x-p7-road .x-p7-road-pic i { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(9, 8, 7, .62); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85); color: #fff; }
html.x-p7-road .x-p7-road-pic i svg { width: 16px; height: 16px; margin-left: 2px; }
html.x-p7-road .x-p7-road-pic em { position: absolute; right: 10px; bottom: 10px; padding: 1px 7px; border-radius: 4px; background: rgba(9, 8, 7, .78); color: #fff; font: 700 12.5px/20px "Open Sans", system-ui, sans-serif; font-style: normal; font-variant-numeric: tabular-nums; }
html.x-p7-road .x-p7-road-pic em:empty { display: none; }
html.x-p7-road .x-p7-road-pic:hover img { filter: brightness(1.08); }
/* the clip's own poster carries its own play mark: ours steps aside once it has arrived */
html.x-p7-road .x-p7-road-pic img[data-big^="/"] + i { display: none; }
/* the next lesson's picture, laid over the last one while it fades in (x.js setPic); the marks stay on top */
html.x-p7-road .x-p7-road-pic img.x-p7-road-over { position: absolute; inset: 0; z-index: 1; }
html.x-p7-road .x-p7-road-pic i, html.x-p7-road .x-p7-road-pic em { z-index: 2; }
html.x-p7-road .x-p7-road-press { margin-top: 12px; }
html.x-p7-road .x-p7-road-press .x-p7-road-k { margin-bottom: 6px; }
html.x-p7-road .x-p7-road-press ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
html.x-p7-road .x-p7-road-press li { display: flex; align-items: center; gap: 6px; padding: 2px 9px 2px 2px; border-radius: 6px; background: #1e1e1e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); font-size: 12.5px; font-weight: 600; color: #ddd8cf; white-space: nowrap; }
html.x-p7-road .x-p7-road-press img { display: block; width: 24px; height: 24px; border-radius: 4px; box-shadow: 0 0 0 1px #000; }
html.x-p7-road .x-p7-road-txt { display: flex; flex-direction: column; min-width: 0; }
html.x-p7-road .x-p7-road-ch { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-p7-road .x-p7-road-card h3 { margin: 5px 0 6px; font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 25px; line-height: 1.15; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.x-p7-road .x-p7-road-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 8px; font-size: 13px; color: #a9a39a; }
html.x-p7-road .x-p7-road-meta b { padding: 1px 7px; border-radius: 4px; background: #2e2a1f; box-shadow: inset 0 0 0 1px #c89b1a; color: #ffd100; font-variant-numeric: tabular-nums; }
html.x-p7-road .x-p7-road-got { display: inline-flex; align-items: center; gap: 4px; color: #ffd75e; font-weight: 700; }
html.x-p7-road .x-p7-road-got svg { width: 13px; height: 13px; }
html.x-p7-road .x-p7-road-what { margin: 0 0 12px; font-size: 15px; line-height: 1.45; color: #d6d1c8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.x-p7-road .x-p7-road-rem { min-height: 0; }
html.x-p7-road .x-p7-road-rem .x-p7-road-k { margin-bottom: 5px; }
html.x-p7-road .x-p7-road-rem ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
html.x-p7-road .x-p7-road-rem li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.4; color: #c9c4bb; }
html.x-p7-road .x-p7-road-rem li > img, html.x-p7-road .x-p7-road-rem li > i { flex: none; display: block; width: 22px; height: 22px; margin-top: -1px; border-radius: 4px; box-shadow: 0 0 0 1px #000; background: #262626; }
html.x-p7-road .x-p7-road-rem li > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.x-p7-road .x-p7-road-rem li b { color: #fff; }
html.x-p7-road .x-p7-road-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: auto 0 0; padding-top: 12px; }
html.x-p7-road .x-p7-road-watch { display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box; min-height: 42px; padding: 8px 18px 8px 13px; border-radius: 6px; background: #ffd100; color: #1a1405; font-size: 15.5px; font-weight: 800; text-decoration: none; box-shadow: 0 2px 0 #8a6d00, 0 6px 16px rgba(0, 0, 0, .45); }
html.x-p7-road .x-p7-road-watch svg { width: 18px; height: 18px; }
html.x-p7-road .x-p7-road-watch:hover { background: #ffdc3d; }
html.x-p7-road .x-p7-road-watch:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
html.x-p7-road .x-p7-road-step { display: inline-flex; gap: 6px; }
html.x-p7-road .x-p7-road-step button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 6px; background: #1e1e1e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #ffd100; cursor: pointer; }
html.x-p7-road .x-p7-road-step button:hover { background: #262626; }
html.x-p7-road .x-p7-road-step button:disabled { color: #4a4740; cursor: default; background: #1a1a1a; }
html.x-p7-road .x-p7-road-step button:focus-visible { outline: 2px solid #ffd100; outline-offset: 2px; }
html.x-p7-road .x-p7-road-step svg { width: 16px; height: 16px; }
html.x-p7-road .x-p7-road-hint { font-size: 12px; color: #8a8a8a; }

/* ---- band 3, the chapter the lesson stands in ---- */
html.x-p7-road .x-p7-road-band { padding: 18px 0 16px; border-top: 1px solid rgba(255, 255, 255, .07); }
html.x-p7-road .x-p7-road-bh { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; margin: 0 0 14px; }
html.x-p7-road .x-p7-road-ico { flex: none; display: block; width: 40px; height: 40px; border-radius: 5px; background: #262626 center / cover no-repeat; box-shadow: 0 0 0 1px #000; }
html.x-p7-road .x-p7-road-bh .x-p7-road-k { margin: 0 0 2px; color: var(--c); }
html.x-p7-road .x-p7-road-bh h3 { margin: 0; font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 21px; line-height: 1.15; color: #fff; }
html.x-p7-road .x-p7-road-bf { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin: 0; font-size: 13px; color: #bdb7ad; text-align: right; }
html.x-p7-road .x-p7-road-bf span { color: #9a948a; }
html.x-p7-road .x-p7-road-bf span b { color: #ddd8cf; font-weight: 700; }
html.x-p7-road .x-p7-road-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
html.x-p7-road .x-p7-road-col { min-width: 0; padding: 12px 14px 14px; border-radius: 10px; background: #1b1b1b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
html.x-p7-road .x-p7-road-none { margin: 0; font-size: 13.5px; line-height: 1.45; color: #9a948a; }
/* new at the trainer: each spell with its level; one with its own lesson is a press that takes the road there */
html.x-p7-road .x-p7-road-ns { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; margin: 0; padding: 0; }
html.x-p7-road .x-p7-road-ns button, html.x-p7-road .x-p7-road-nb { position: relative; display: flex; align-items: center; gap: 8px; box-sizing: border-box; width: 100%; min-height: 38px; padding: 4px 6px 4px 4px; margin: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; text-align: left; }
html.x-p7-road .x-p7-road-ns button { cursor: pointer; background: #222; box-shadow: inset 0 0 0 1px rgba(255, 209, 0, .22); padding-right: 44px; }
html.x-p7-road .x-p7-road-ns button:hover { background: #2a2a2a; box-shadow: inset 0 0 0 1px rgba(255, 209, 0, .6); }
html.x-p7-road .x-p7-road-ns button:focus-visible { outline: 2px solid #ffd100; outline-offset: 1px; }
html.x-p7-road .x-p7-road-ns button > i { position: absolute; right: 6px; top: 50%; display: flex; align-items: center; gap: 1px; transform: translateY(-50%); font-style: normal; font-size: 11.5px; font-weight: 700; color: #ffd100; font-variant-numeric: tabular-nums; }
html.x-p7-road .x-p7-road-ns button > i svg { width: 12px; height: 12px; }
html.x-p7-road .x-p7-road-ns img, html.x-p7-road .x-p7-road-tp img { flex: none; display: block; width: 28px; height: 28px; border-radius: 4px; box-shadow: 0 0 0 1px #000; }
html.x-p7-road .x-p7-road-ns li { min-width: 0; }
html.x-p7-road .x-p7-road-ns button > span, html.x-p7-road .x-p7-road-nb > span, html.x-p7-road .x-p7-road-tp span { display: flex; flex-direction: column; min-width: 0; }
html.x-p7-road .x-p7-road-ns b { font-size: 13px; font-weight: 700; line-height: 1.2; color: #ece8e0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.x-p7-road .x-p7-road-tp b { font-size: 13px; font-weight: 700; line-height: 1.25; color: #ece8e0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-p7-road .x-p7-road-ns small, html.x-p7-road .x-p7-road-tp small { font-size: 11.5px; line-height: 1.3; color: #8f8a81; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the course's talent points, a row per talent, in the order the lessons take them */
html.x-p7-road .x-p7-road-tp { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; }
html.x-p7-road .x-p7-road-tp li { display: flex; align-items: center; gap: 8px; min-width: 0; }
html.x-p7-road .x-p7-road-tp img { width: 26px; height: 26px; }
html.x-p7-road .x-p7-road-tp span { flex: 1; }
html.x-p7-road .x-p7-road-tp em { flex: none; font-style: normal; font-size: 12px; font-weight: 700; color: #ffd75e; font-variant-numeric: tabular-nums; }
html.x-p7-road .x-p7-road-bd { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 13px; line-height: 1.45; color: #bdb7ad; }
html.x-p7-road .x-p7-road-bd a { color: #ffd100; font-weight: 700; text-underline-offset: 3px; text-decoration-color: rgba(255, 209, 0, .45); }
html.x-p7-road .x-p7-road-bd a:hover { color: #ffe066; }
/* where to level: each side's zones in order, the dungeons down by level */
html.x-p7-road .x-p7-road-rt { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; }
html.x-p7-road .x-p7-road-rt > li { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.4; color: #c9c4bb; }
html.x-p7-road .x-p7-road-rt > li > b { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ddd8cf; }
html.x-p7-road .x-p7-road-rt > li > span i { font-style: normal; color: #c89b1a; padding: 0 2px; }
html.x-p7-road .x-p7-road-rt > li > span small { display: block; font-size: 12px; color: #8f8a81; }
html.x-p7-road .x-p7-road-dg ul { list-style: none; display: flex; flex-direction: column; gap: 2px; margin: 2px 0 0; padding: 0; }
html.x-p7-road .x-p7-road-dg ul li { display: flex; justify-content: space-between; gap: 10px; }
html.x-p7-road .x-p7-road-dg ul li > span { min-width: 0; }
html.x-p7-road .x-p7-road-dg ul li > i { flex: none; font-style: normal; color: #9a948a; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.x-p7-road .x-p7-road-dg em { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 0 5px; border-radius: 3px; background: #2e2a1f; color: #ffd75e; box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .6); }
html.x-p7-road .x-p7-road-dg small { font-size: 11.5px; color: #8f8a81; }
html.x-p7-road .x-p7-road-src { margin: 12px 0 0; font-size: 12px; color: #8a8a8a; }
html.x-p7-road .x-p7-road-src summary { cursor: pointer; width: max-content; max-width: 100%; }
html.x-p7-road .x-p7-road-src summary:hover { color: #ddd; }
html.x-p7-road .x-p7-road-src p { margin: 6px 0 0; line-height: 1.5; max-width: 80ch; }

/* ---- the wall: the same lessons, every picture at once, a row for each chapter ---- */
html.x-p7-road .x-p7-road-wall { padding: 4px 16px 10px; border-radius: 12px; background: #161616; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
html.x-p7-road .x-p7-road-wrow { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
html.x-p7-road .x-p7-road-wrow:first-child { border-top: 0; }
html.x-p7-road .x-p7-road-wrow header { display: grid; grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 9px; align-content: start; }
html.x-p7-road .x-p7-road-wrow header .x-p7-road-ico { grid-row: 1 / span 3; width: 32px; height: 32px; }
html.x-p7-road .x-p7-road-wrow header small { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
html.x-p7-road .x-p7-road-wrow header b { font-family: Cinzel, Georgia, serif; font-size: 14.5px; line-height: 1.2; color: #fff; }
html.x-p7-road .x-p7-road-wrow header span { margin-top: 3px; font-size: 12px; color: #9a948a; }
html.x-p7-road .x-p7-road-wrow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
html.x-p7-road .x-p7-road-wrow a { display: flex; flex-direction: column; gap: 3px; height: 100%; color: inherit; text-decoration: none; border-radius: 6px; }
html.x-p7-road .x-p7-road-wpic { position: relative; display: block; aspect-ratio: 16 / 9; margin: 0 0 4px; border-radius: 6px; overflow: hidden; background: #0b0a09; box-shadow: 0 0 0 1px #000, 0 0 0 2px rgba(255, 255, 255, .06); }
html.x-p7-road .x-p7-road-wpic img { display: block; width: 100%; height: 100%; object-fit: cover; }
html.x-p7-road .x-p7-road-wpic i { position: absolute; left: 6px; bottom: 6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(9, 8, 7, .62); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85); color: #fff; }
html.x-p7-road .x-p7-road-wpic i svg { width: 11px; height: 11px; margin-left: 1px; }
html.x-p7-road .x-p7-road-wpic i.x-p7-road-tick { left: auto; right: 6px; top: 6px; bottom: auto; width: 16px; height: 16px; background: #ffd100; color: #1a1400; box-shadow: 0 0 0 1px #000; display: none; }
html.x-p7-road .x-p7-road-wpic i.x-p7-road-tick svg { width: 11px; height: 11px; margin: 0; }
html.x-p7-road .x-p7-road-wrow a.x-p7-road-seen .x-p7-road-tick { display: grid; }
html.x-p7-road .x-p7-road-wrow a b { font-size: 12.5px; font-weight: 700; line-height: 1.3; color: #ece8e0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.x-p7-road .x-p7-road-wrow a > span:last-child { font-size: 11.5px; line-height: 1.3; color: #8f8a81; }
html.x-p7-road .x-p7-road-wrow a:hover .x-p7-road-wpic { box-shadow: 0 0 0 1px #000, 0 0 0 2px #ffd100; }
html.x-p7-road .x-p7-road-wrow a:hover b { color: #fff; }
html.x-p7-road .x-p7-road-wrow a:focus-visible { outline: 2px solid #ffd100; outline-offset: 3px; }

/* ---- narrower computers and tablets ---- */
@media (max-width: 1100px) {
  html.x-p7-road .x-p7-road-head { grid-template-columns: minmax(0, 1fr) auto; }
  html.x-p7-road .x-p7-road-tt { grid-column: 1 / -1; }
  html.x-p7-road .x-p7-road-nope { text-align: left; }
  html.x-p7-road .x-p7-road-wrow ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html.x-p7-road .x-p7-road-card { grid-template-columns: 340px minmax(0, 1fr); }
  html.x-p7-road .x-p7-road-card h3 { font-size: 22px; }
  html.x-p7-road .x-p7-road-hint { display: none; }
  html.x-p7-road .x-p7-road-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.x-p7-road .x-p7-road-where { grid-column: 1 / -1; }
}
@media (max-width: 960px) and (min-width: 761px) {
  html.x-p7-road .x-p7-road-card { grid-template-columns: 280px minmax(0, 1fr); }
  html.x-p7-road .x-p7-road-rem li > span, html.x-p7-road .x-p7-road-what { -webkit-line-clamp: 3; }
  html.x-p7-road .x-p7-road-leg b { font-size: 11.5px; }
}

/* ---- a phone: one chapter a screen, a road you swipe, stops a thumb can hit, then the lesson, then the chapter ---- */
@media (max-width: 760px) {
  html.x-p7-road .x-p7-road-sec { margin-top: 2px; }
  html.x-p7-road .x-p7-road-head { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 10px; margin-bottom: 12px; }
  html.x-p7-road .x-p7-road-head h2 { font-size: 25px; }
  html.x-p7-road .x-p7-road-sum { font-size: 14px; }
  html.x-p7-road .x-p7-road-tt { grid-column: 1; grid-row: 1; }
  html.x-p7-road .x-p7-road-view { grid-column: 2; grid-row: 1; align-self: start; }
  html.x-p7-road .x-p7-road-side { grid-column: 1 / -1; grid-row: 2; }
  html.x-p7-road .x-p7-road-pick { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; }
  html.x-p7-road .x-p7-road-cls { width: auto; min-height: 56px; padding: 6px 0 5px; gap: 3px; }
  html.x-p7-road .x-p7-road-cls img { width: 30px; height: 30px; }
  html.x-p7-road .x-p7-road-cls > span { font-size: 8.5px; letter-spacing: -.01em; }
  html.x-p7-road button.x-p7-road-cls > i { right: 50%; top: 23px; margin-right: -19px; width: 13px; height: 13px; }
  html.x-p7-road .x-p7-road-nope { text-align: left; font-size: 12px; }
  html.x-p7-road .x-p7-road-roadview { display: flex; flex-direction: column; padding: 8px 12px 0; }
  html.x-p7-road .x-p7-road-road { height: 124px; }
  html.x-p7-road .x-p7-road-seg::before { display: none; }
  html.x-p7-road .x-p7-road-leg { top: 2px; left: 4px; right: 4px; flex-direction: row; align-items: baseline; gap: 8px; }
  html.x-p7-road .x-p7-road-leg small { color: var(--c); }
  html.x-p7-road .x-p7-road-leg b { font-size: 15px; color: #fff; -webkit-line-clamp: 1; }
  html.x-p7-road .x-p7-road-line { top: 88px; }
  html.x-p7-road .x-p7-road-stop { bottom: 40px; height: calc(var(--sw) * .78); }
  html.x-p7-road .x-p7-road-stop.x-p7-road-cur { transform: scale(1.12); }
  html.x-p7-road .x-p7-road-lo, html.x-p7-road .x-p7-road-hi { top: 81px; }
  html.x-p7-road .x-p7-road-lo, html.x-p7-road .x-p7-road-seg:first-child .x-p7-road-lo { left: 4px; transform: none; }
  html.x-p7-road .x-p7-road-hi { display: block; right: 4px; }
  html.x-p7-road .x-p7-road-sl { top: 104px; left: 4px; right: 4px; text-align: center; }
  html.x-p7-road .x-p7-road-hint, html.x-p7-road .x-p7-road-hand { display: none; }
  html.x-p7-road .x-p7-road-pager { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 12px; }
  html.x-p7-road .x-p7-road-pager button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: #1e1e1e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #ffd100; cursor: pointer; }
  html.x-p7-road .x-p7-road-pager button svg { width: 18px; height: 18px; }
  html.x-p7-road .x-p7-road-pager button:disabled { color: #4a4740; cursor: default; }
  html.x-p7-road .x-p7-road-pager [data-p] { display: flex; flex-direction: column; align-items: center; font-size: 12px; color: #9a948a; }
  html.x-p7-road .x-p7-road-pager [data-p] b { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
  html.x-p7-road .x-p7-road-card { display: flex; flex-direction: column; gap: 0; padding: 14px 0 16px; }
  html.x-p7-road .x-p7-road-left, html.x-p7-road .x-p7-road-txt { display: contents; }
  /* (29 Nov 2026, his phone: "a little fidgety ... from scene to scene within the chapter") Watch and the two arrows stand right
     under the picture, which never changes size, so they never move under the thumb; the lesson's words follow under them */
  html.x-p7-road .x-p7-road-pic { order: 0; margin-bottom: 10px; }
  html.x-p7-road .x-p7-road-acts { order: 1; margin: 0 0 14px; padding-top: 0; }
  html.x-p7-road .x-p7-road-ch { order: 2; }
  html.x-p7-road .x-p7-road-card h3 { order: 3; }
  html.x-p7-road .x-p7-road-meta { order: 4; }
  html.x-p7-road .x-p7-road-what { order: 5; }
  html.x-p7-road .x-p7-road-rem { order: 6; }
  html.x-p7-road .x-p7-road-press { order: 7; margin-top: 12px; }
  html.x-p7-road .x-p7-road-card h3 { font-size: 21px; -webkit-line-clamp: 3; margin: 4px 0; }
  html.x-p7-road .x-p7-road-what { font-size: 14.5px; -webkit-line-clamp: 4; }
  html.x-p7-road .x-p7-road-rem li > span { -webkit-line-clamp: unset; display: block; }
  html.x-p7-road .x-p7-road-acts { flex-wrap: nowrap; }
  html.x-p7-road .x-p7-road-watch { flex: 1; justify-content: center; min-height: 46px; }
  html.x-p7-road .x-p7-road-step button { width: 46px; height: 46px; }
  html.x-p7-road .x-p7-road-bh { grid-template-columns: 36px minmax(0, 1fr); }
  html.x-p7-road .x-p7-road-bh .x-p7-road-ico { width: 36px; height: 36px; }
  html.x-p7-road .x-p7-road-bh h3 { font-size: 19px; }
  html.x-p7-road .x-p7-road-bf { grid-column: 1 / -1; align-items: flex-start; text-align: left; margin-top: 6px; }
  html.x-p7-road .x-p7-road-cols { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  html.x-p7-road .x-p7-road-ns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.x-p7-road .x-p7-road-ns button, html.x-p7-road .x-p7-road-nb { min-height: 44px; }
  html.x-p7-road .x-p7-road-wall { padding: 2px 10px 8px; }
  html.x-p7-road .x-p7-road-wrow { display: block; padding: 12px 0; }
  html.x-p7-road .x-p7-road-wrow header { margin: 0 0 10px; }
  html.x-p7-road .x-p7-road-wrow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
}
@media (max-width: 359px) {
  html.x-p7-road .x-p7-road-cls > span { display: none; }
  html.x-p7-road .x-p7-road-ns { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html.x-p7-road .x-p7-road-stop, html.x-p7-road .x-p7-road-track { transition: none; }
}
/* (29 Nov 2026, the sweep) under 420 px two spells a row left a name 59 to 68 px, and a long one was cut off mid-word ("Polymorp",
   "Consecratio"): one a row there, so every name stands whole */
@media (max-width: 419px) {
  html.x-p7-road .x-p7-road-ns { grid-template-columns: minmax(0, 1fr); }
}

/* x: p8-specs */
/* p8-specs: every spec in the game, ranked (22 Nov 2026, ideas board).
   A second view of the Popular page beside p2-popular's nine classes: the 27 specs as one ladder of bars (or one field of
   tiles sized by share), each in its class colour with its tree's icon whole as a box. The reader's spec steps forward with
   its rank, "1 build in N", its neighbours and its number one build drawn as three trees with Load.
   Colours are the site's own: ground #121212, panels #1e1e1e / #262626 with the #3a3a3a line, gold #ffd100 / #c89b1a,
   the wordmark gold #ffd75e, the class colours as p2-popular lifts them, the tree colours the page gives. */

html.x-p8-specs .x-p8-specs-view { display: none; }
html.x-p8-specs .x-p8-specs-board [hidden][hidden][hidden], html.x-p8-specs .x-p8-specs-view [hidden][hidden][hidden] { display: none; }
html.x-p8-specs .x-p8-specs-slot, html.x-p8-specs .x-p8-specs-fcol { display: none; }

/* the Classes | Specs switch: quiet, two words */
html.x-p8-specs .x-p8-specs-sw { display: inline-flex; flex: none; gap: 2px; padding: 3px; border-radius: 8px; background: #181818; box-shadow: inset 0 0 0 1px #3a3a3a; }
html.x-p8-specs .x-p8-specs-swb {
  min-width: 70px; height: 32px; margin: 0; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: #a8a8a8;
  font: 700 13.5px/1 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; cursor: pointer; transition: background-color .12s, color .12s;
}
html.x-p8-specs .x-p8-specs-swb:hover { color: #e8e8e8; }
html.x-p8-specs .x-p8-specs-swb[aria-pressed="true"] { background: #4a4229; color: #ffd100; box-shadow: inset 0 0 0 1px #c89b1a; cursor: default; }
html.x-p8-specs .x-p8-specs-swb:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

/* beside p2-popular: Specs takes the board's main area; the line about classes gives way to the switch */
html.x-p8-specs.x-p8-specs-specs #x-p2-popular-board .x-p2-popular-main,
html.x-p8-specs.x-p8-specs-specs #x-p2-popular-board .x-p2-popular-say { display: none; }
html.x-p8-specs.x-p8-specs-specs .x-p8-specs-view { display: grid; }

@media (min-width: 760px) {
  /* on its own: room under the title from the first paint, so nothing jumps when the board is drawn. Only on /popular (told by
     the page's canonical link, 30 Nov 2026): /talents and /leveling carry the same hub list, and held this room empty until the
     script let go of it, a 730 px jump on a computer and 1,950 px of nothing under the title on a phone. */
  html.x-p8-specs:not(.x-p8-specs-ready):not(.x-p2-popular):has(link[rel="canonical"][href$="/popular"]) #sectionPage.v2bh:has(ul.bp-hub) > .fhead::after {
    content: ""; display: block; flex: 0 0 100%; width: 100%; height: calc(clamp(600px, calc(100vh - 198px), 724px) + 18px);
  }
  html.x-p8-specs .x-p8-specs-board {
    order: 2; display: grid; grid-template-rows: 40px minmax(0, 1fr); gap: 10px; box-sizing: border-box;
    height: clamp(600px, calc(100vh - 198px), 724px); margin: 0 0 18px; padding: 12px 14px 14px;
    background: #1e1e1e; border-radius: 8px; box-shadow: inset 0 0 0 1px #3a3a3a;
    font-family: "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; color: var(--ink, #e8e8e8);
  }
  html.x-p8-specs .x-p8-specs-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 440px; }
  html.x-p8-specs .x-p8-specs-tab {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 40px; margin: 0; padding: 4px 6px;
    border: 0; border-radius: 7px; background: #1f1a12; box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .5); color: var(--gold, #ffd100);
    font: 700 14px/1.2 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; cursor: pointer; white-space: nowrap;
  }
  html.x-p8-specs .x-p8-specs-tab img { width: 20px; height: 20px; border-radius: 4px; box-shadow: 0 0 0 1px #000; flex: none; }
  html.x-p8-specs .x-p8-specs-tab:hover { box-shadow: inset 0 0 0 1px var(--gold, #ffd100); }
  html.x-p8-specs .x-p8-specs-tab[aria-pressed="true"] { background: #ffd100; color: #121212; box-shadow: none; cursor: default; }

  /* the view: the ladder (or field) on the left, the ends and "yours" on the right */
  html.x-p8-specs .x-p8-specs-view {
    grid-template-columns: minmax(0, 1fr) 400px; grid-template-rows: 28px minmax(0, 1fr) auto;
    grid-template-areas: "head pan" "stage pan" "note pan"; gap: 6px 16px; min-width: 0; min-height: 0;
    font-family: "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; color: var(--ink, #e8e8e8);
  }
  html.x-p8-specs .x-p8-specs-head { grid-area: head; }
  html.x-p8-specs .x-p8-specs-stage { grid-area: stage; }
  html.x-p8-specs .x-p8-specs-note { grid-area: note; }
  html.x-p8-specs .x-p8-specs-pan { grid-area: pan; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
}

/* ---------- shared by every width ---------- */
html.x-p8-specs .x-p8-specs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
html.x-p8-specs .x-p8-specs-h { margin: 0; font: 700 17px/1.1 "Cinzel", Georgia, serif; color: #ffd75e; white-space: nowrap; letter-spacing: .2px; }
html.x-p8-specs .x-p8-specs-opts { display: flex; align-items: center; gap: 14px; }
html.x-p8-specs .x-p8-specs-grp { display: inline-flex; gap: 2px; }
html.x-p8-specs .x-p8-specs-opt {
  height: 26px; margin: 0; padding: 0 8px; border: 0; border-radius: 5px; background: transparent; color: #9a9a9a;
  font: 600 12.5px/1 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; cursor: pointer;
}
html.x-p8-specs .x-p8-specs-opt:hover { color: #e8e8e8; }
html.x-p8-specs .x-p8-specs-opt[aria-pressed="true"] { color: #ffd100; background: #262626; box-shadow: inset 0 -2px 0 #c89b1a; cursor: default; }
html.x-p8-specs .x-p8-specs-opt:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
html.x-p8-specs .x-p8-specs-stage { position: relative; min-width: 0; min-height: 0; }
html.x-p8-specs .x-p8-specs-view[data-look="ladder"] .x-p8-specs-field,
html.x-p8-specs .x-p8-specs-view[data-look="field"] .x-p8-specs-lad { display: none; }
html.x-p8-specs .x-p8-specs-note { margin: 0; font-size: 11.5px; line-height: 1.4; color: #9a9a9a; }

/* the ladder: 27 rows, one a spec */
html.x-p8-specs .x-p8-specs-lad { display: grid; grid-auto-rows: minmax(0, 1fr); gap: 1px; height: 100%; margin: 0; padding: 0; list-style: none; }
html.x-p8-specs .x-p8-specs-row { position: relative; min-width: 0; min-height: 0; margin: 0; padding: 0; border-radius: 4px; transition: background-color .12s; }
html.x-p8-specs .x-p8-specs-row.x-p8-specs-gstart { box-shadow: 0 -1px 0 #3a3a3a; }
html.x-p8-specs .x-p8-specs-hit {
  display: grid; grid-template-columns: 26px 20px 196px minmax(0, 1fr); align-items: center; gap: 8px; width: 100%; height: 100%; min-height: 0;
  margin: 0; padding: 0 8px 0 2px; border: 0; border-radius: 4px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
html.x-p8-specs .x-p8-specs-hit:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
html.x-p8-specs .x-p8-specs-row:hover { background: #262626; }
html.x-p8-specs .x-p8-specs-row.x-p8-specs-near { background: #232323; }
html.x-p8-specs .x-p8-specs-row.x-p8-specs-on { background: #4a4229; box-shadow: inset 0 0 0 1px #ffd100; z-index: 2; }
html.x-p8-specs .x-p8-specs-rk { font-size: 12px; font-weight: 700; color: #9a9a9a; text-align: right; font-variant-numeric: tabular-nums; }
html.x-p8-specs .x-p8-specs-row.x-p8-specs-on .x-p8-specs-rk { color: #ffd100; }
html.x-p8-specs .x-p8-specs-ic { display: block; width: 20px; height: 20px; max-height: 100%; aspect-ratio: 1; border-radius: 3px; box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--cc); }
html.x-p8-specs .x-p8-specs-nm { min-width: 0; font-size: 13px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-p8-specs .x-p8-specs-nm b { color: #fff; font-weight: 700; }
html.x-p8-specs .x-p8-specs-nm span { color: var(--cc); font-weight: 600; }
html.x-p8-specs .x-p8-specs-tr { display: flex; align-items: center; gap: 7px; min-width: 0; height: 100%; }
html.x-p8-specs .x-p8-specs-bar {
  display: block; flex: none; width: calc((100% - 150px) * var(--v, 0) / 100); height: 64%; min-height: 6px; max-height: 18px; border-radius: 3px;
  background: linear-gradient(180deg, var(--bc, var(--cc)), color-mix(in srgb, var(--bc, var(--cc)) 62%, #000)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35);
}
/* the bars' lengths ease only under a press that changes them (x.js, ease()): the first fill on arrival draws them at once */
html.x-p8-specs .x-p8-specs-view.x-p8-specs-ease .x-p8-specs-bar { transition: width .16s ease-out; }
html.x-p8-specs .x-p8-specs-pc { flex: none; font-style: normal; font-size: 12.5px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* the card's rarity word on the first spec of each tier (its item-quality colour, set from the data) */
html.x-p8-specs .x-p8-specs-tier { flex: none; font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; }
html.x-p8-specs .x-p8-specs-tier:empty { display: none; }
html.x-p8-specs .x-p8-specs-row.x-p8-specs-out { opacity: .5; }
html.x-p8-specs .x-p8-specs-row.x-p8-specs-out .x-p8-specs-pc { font-weight: 600; color: #9a9a9a; }
html.x-p8-specs .x-p8-specs-cut { display: flex; align-items: center; margin: 0; padding: 0 0 0 36px; font-size: 11.5px; font-weight: 700; color: #9a9a9a; box-shadow: 0 -1px 0 #3a3a3a inset; }
/* until the count has arrived the ladder and the panel keep their room unseen (nothing drawn can then jump into order) */
html.x-p8-specs .x-p8-specs-view:not(.x-p8-specs-data) .x-p8-specs-stage, html.x-p8-specs .x-p8-specs-view:not(.x-p8-specs-data) .x-p8-specs-pan,
html.x-p8-specs .x-p8-specs-view:not(.x-p8-specs-data) .x-p8-specs-note { visibility: hidden; }

/* the field: tiles as big as their share, the largest at the top left, each the tree's own art edged in its class colour */
html.x-p8-specs .x-p8-specs-field { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; height: 100%; min-height: 0; }
html.x-p8-specs .x-p8-specs-fbox { position: relative; min-height: 0; overflow: hidden; border-radius: 6px; }
html.x-p8-specs .x-p8-specs-tile {
  position: absolute; display: flex; flex-direction: column; align-items: flex-start; box-sizing: border-box; margin: 0; padding: 7px 9px 6px; overflow: hidden;
  border: 2px solid #1e1e1e; border-radius: 7px;
  background: linear-gradient(180deg, rgba(10, 10, 10, .2), rgba(10, 10, 10, .78)), var(--bg) center / cover no-repeat, #262626;
  box-shadow: inset 0 0 0 2px var(--cc); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: filter .12s, box-shadow .12s;
}
html.x-p8-specs .x-p8-specs-tile:hover { filter: brightness(1.18); }
html.x-p8-specs .x-p8-specs-tile:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-on { box-shadow: inset 0 0 0 3px #ffd100, inset 0 0 0 5px rgba(0, 0, 0, .6); filter: brightness(1.12); }
html.x-p8-specs .x-p8-specs-tile > img { display: block; flex: none; width: 26px; height: 26px; border-radius: 4px; box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--cc); }
html.x-p8-specs .x-p8-specs-tw { display: block; max-width: 100%; margin-top: 6px; line-height: 1.15; text-shadow: 0 1px 2px #000; }
html.x-p8-specs .x-p8-specs-tw b { display: block; font-size: 15px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-p8-specs .x-p8-specs-tw span { display: block; font-size: 12.5px; font-weight: 700; color: var(--cc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-p8-specs .x-p8-specs-tp { display: block; margin-top: auto; font-style: normal; font-size: 24px; font-weight: 800; line-height: 1.1; color: #fff; text-shadow: 0 1px 3px #000; font-variant-numeric: tabular-nums; letter-spacing: -.3px; white-space: nowrap; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-m { padding: 6px 7px 4px; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-m > img { width: 20px; height: 20px; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-m .x-p8-specs-tw { margin-top: 4px; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-m .x-p8-specs-tw b { font-size: 13px; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-m .x-p8-specs-tw span { display: none; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-m .x-p8-specs-tp { font-size: 16px; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-s { padding: 5px 6px 3px; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-s > img { width: 18px; height: 18px; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-s .x-p8-specs-tw { display: none; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-s .x-p8-specs-tp { font-size: 13px; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-row { flex-direction: row; align-items: center; gap: 8px; padding: 0 10px; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-row .x-p8-specs-tw { margin: 0; min-width: 0; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-row .x-p8-specs-tw b { font-size: 14px; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-row .x-p8-specs-tw span { font-size: 12px; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-row .x-p8-specs-tp { margin: 0 0 0 auto; font-size: 17px; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-xs { align-items: center; justify-content: center; padding: 0; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-xs > img { width: 18px; height: 18px; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-xs .x-p8-specs-tw, html.x-p8-specs .x-p8-specs-tile.x-p8-specs-xs .x-p8-specs-tp { display: none; }
html.x-p8-specs .x-p8-specs-few { display: flex; align-items: center; gap: 10px; min-width: 0; }
html.x-p8-specs .x-p8-specs-fewl { flex: none; font-size: 11.5px; font-weight: 700; color: #9a9a9a; }
html.x-p8-specs .x-p8-specs-fewi { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-tiny { position: relative; width: 34px; height: 34px; border-width: 0; opacity: .6; }
html.x-p8-specs .x-p8-specs-tile.x-p8-specs-tiny.x-p8-specs-on { opacity: 1; }

/* the ends of the list */
html.x-p8-specs .x-p8-specs-ends { display: grid; gap: 6px; padding: 10px 12px; border-radius: 6px; background: #262626; box-shadow: inset 0 0 0 1px #3a3a3a; }
html.x-p8-specs .x-p8-specs-end { margin: 0; font-size: 13.5px; line-height: 1.55; color: #d6d6d6; }
html.x-p8-specs .x-p8-specs-end > b { display: block; color: #ffd75e; font-size: 12.5px; font-weight: 700; }
html.x-p8-specs .x-p8-specs-ek {
  display: inline-flex; align-items: center; gap: 5px; margin: 0; padding: 0; border: 0; background: none; color: var(--cc);
  font: 700 13.5px/1.3 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; vertical-align: baseline; cursor: pointer; white-space: nowrap;
}
html.x-p8-specs .x-p8-specs-ek img { width: 18px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px #000; vertical-align: middle; }
html.x-p8-specs .x-p8-specs-ek:hover span { text-decoration: underline; }

/* how rare is yours */
html.x-p8-specs .x-p8-specs-you {
  display: flex; flex-direction: column; gap: 6px; min-height: 0; flex: 1 1 auto; padding: 12px 14px; border-radius: 6px;
  background: #262626; box-shadow: inset 0 0 0 1px #3a3a3a, inset 0 3px 0 var(--cc, #c89b1a);
}
html.x-p8-specs .x-p8-specs-you p { margin: 0; }
html.x-p8-specs .x-p8-specs-ask { font: 700 15px/1.2 "Cinzel", Georgia, serif; color: #ffd75e; }
html.x-p8-specs .x-p8-specs-big { font-size: 19px; font-weight: 700; line-height: 1.3; color: #fff; }
html.x-p8-specs .x-p8-specs-big2 { font-size: 15px; line-height: 1.35; color: #e8e8e8; }
html.x-p8-specs .x-p8-specs-job { font-size: 13px; line-height: 1.35; color: #d6d6d6; }
html.x-p8-specs .x-p8-specs-job:empty, html.x-p8-specs .x-p8-specs-src:empty, html.x-p8-specs .x-p8-specs-big2:empty { display: none; }
html.x-p8-specs .x-p8-specs-src { font-size: 12px; color: #9a9a9a; }
html.x-p8-specs .x-p8-specs-you.x-p8-specs-none { flex: 0 0 auto; }
html.x-p8-specs .x-p8-specs-you.x-p8-specs-none .x-p8-specs-nb, html.x-p8-specs .x-p8-specs-you.x-p8-specs-none .x-p8-specs-bd { display: none; }
html.x-p8-specs .x-p8-specs-you.x-p8-specs-none .x-p8-specs-big { font-size: 16px; font-weight: 600; color: #d6d6d6; }
html.x-p8-specs .x-p8-specs-nb { display: grid; gap: 2px; margin: 2px 0 0; padding: 0; list-style: none; }
html.x-p8-specs .x-p8-specs-nb > li {
  display: grid; grid-template-columns: 22px 18px minmax(0, 1fr) 64px 50px; align-items: center; gap: 7px; height: 24px; padding: 0 6px 0 0;
  border-radius: 4px; font-size: 12.5px; cursor: pointer;
}
html.x-p8-specs .x-p8-specs-nb > li:hover { background: #303030; }
html.x-p8-specs .x-p8-specs-nb > li.x-p8-specs-me { background: #4a4229; box-shadow: inset 0 0 0 1px #c89b1a; cursor: default; }
html.x-p8-specs .x-p8-specs-nr { text-align: right; font-weight: 700; color: #9a9a9a; font-variant-numeric: tabular-nums; }
html.x-p8-specs .x-p8-specs-nb img { width: 18px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px #000, 0 0 0 1.5px var(--cc); }
html.x-p8-specs .x-p8-specs-nn { min-width: 0; color: var(--cc); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-p8-specs .x-p8-specs-nt { display: block; height: 8px; border-radius: 3px; background: #1a1a1a; overflow: hidden; }
html.x-p8-specs .x-p8-specs-nt i { display: block; height: 100%; background: var(--cc); }
html.x-p8-specs .x-p8-specs-nb em { font-style: normal; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }

/* its build, drawn as its three trees, with Load */
html.x-p8-specs .x-p8-specs-bd { display: flex; flex-direction: column; gap: 6px; min-height: 0; flex: 1 1 auto; margin-top: 4px; }
html.x-p8-specs .x-p8-specs-bh { display: flex; align-items: center; gap: 10px; min-width: 0; }
html.x-p8-specs .x-p8-specs-bh > span { min-width: 0; flex: 1 1 auto; }
html.x-p8-specs .x-p8-specs-bh b { display: block; font-size: 13.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-p8-specs .x-p8-specs-bh small { display: block; font-size: 12px; color: #9a9a9a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-p8-specs .x-p8-specs-load {
  display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 34px; padding: 2px 14px 2px 4px; border-radius: 999px;
  background: linear-gradient(180deg, #332d1e, #25211a); box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .7), 0 2px 8px rgba(0, 0, 0, .4);
  color: #ffd100; font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
html.x-p8-specs .x-p8-specs-load:hover { background: linear-gradient(180deg, #3d3524, #2b261c); box-shadow: inset 0 0 0 1px #ffd100, 0 0 12px rgba(255, 209, 0, .22); }
html.x-p8-specs .x-p8-specs-load img { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 1.5px #b8901f; }
html.x-p8-specs .x-p8-specs-trees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; min-height: 0; flex: 1 1 auto; }
html.x-p8-specs .x-p8-specs-tt { display: grid; grid-template-rows: 22px minmax(0, 1fr); min-width: 0; min-height: 0; border-radius: 4px; overflow: hidden; background: #121212; box-shadow: inset 0 0 0 1px #3a3a3a; }
html.x-p8-specs .x-p8-specs-tt.x-p8-specs-lead { box-shadow: inset 0 0 0 1px #c89b1a; }
html.x-p8-specs .x-p8-specs-th { display: flex; align-items: center; gap: 4px; min-width: 0; padding: 0 5px; background: #1e1e1e; border-bottom: 1px solid #000; font-size: 11.5px; }
html.x-p8-specs .x-p8-specs-th img { width: 14px; height: 14px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px #000; }
html.x-p8-specs .x-p8-specs-th b { min-width: 0; font-weight: 700; color: #e8e8e8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-p8-specs .x-p8-specs-th em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--c); }
html.x-p8-specs .x-p8-specs-tg {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(7, minmax(0, 1fr)); gap: 3px; min-height: 0; padding: 5px;
  background: var(--bg) center / cover no-repeat, #121212;
}
html.x-p8-specs .x-p8-specs-tc { position: relative; display: block; min-width: 0; min-height: 0; }
html.x-p8-specs .x-p8-specs-tc img { display: block; height: 100%; max-width: 100%; aspect-ratio: 1; margin: 0 auto; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px #000; }
html.x-p8-specs .x-p8-specs-tc.x-p8-specs-o img { filter: grayscale(1) brightness(.45); }
html.x-p8-specs .x-p8-specs-tc.x-p8-specs-p img { box-shadow: 0 0 0 1px #000, 0 0 0 2px #4fbf3a; }
html.x-p8-specs .x-p8-specs-tc.x-p8-specs-m img { box-shadow: 0 0 0 1px #000, 0 0 0 2px #ffd100; }
html.x-p8-specs .x-p8-specs-tc b { position: absolute; right: 0; bottom: -2px; padding: 0 3px; border-radius: 3px; background: #000; font-size: 10px; font-weight: 700; line-height: 13px; color: #4fbf3a; }
html.x-p8-specs .x-p8-specs-tc.x-p8-specs-m b { color: #ffd100; }
html.x-p8-specs .x-p8-specs-tt.x-p8-specs-wait .x-p8-specs-tg { visibility: hidden; }

/* motion (29 Nov 2026, calm): a press changes only light and colour, and the bars' own lengths in one short step (.16s above).
   Nothing slides: the chosen row stays in its place, "yours" fills in place, and a new order (a tab, By share / By class) takes
   its places at once. */
@media (prefers-reduced-motion: reduce) {
  html.x-p8-specs .x-p8-specs-view.x-p8-specs-ease .x-p8-specs-bar { transition: none; }
}

/* ---------- a phone (under 760 px) ----------
   The ladder as 27 thumb-sized rows; the reader's spec opens in place under its own row and stays pinned in sight while the
   page scrolls; or the field as two columns of tiles. */
@media (max-width: 759.98px) {
  html.x-p8-specs:not(.x-p8-specs-ready):not(.x-p2-popular):has(link[rel="canonical"][href$="/popular"]) #sectionPage.v2bh:has(ul.bp-hub) > .fhead::after { content: ""; display: block; flex: 0 0 100%; width: 100%; height: 1951px; }
  @media (max-width: 359.98px) { html.x-p8-specs:not(.x-p8-specs-ready):not(.x-p2-popular):has(link[rel="canonical"][href$="/popular"]) #sectionPage.v2bh:has(ul.bp-hub) > .fhead::after { height: 2063px; } }   /* (1 Dec 2026) +70: the tier words' own lines under 360 px, at the end */
  @media (min-width: 410px) { html.x-p8-specs:not(.x-p8-specs-ready):not(.x-p2-popular):has(link[rel="canonical"][href$="/popular"]) #sectionPage.v2bh:has(ul.bp-hub) > .fhead::after { height: 1927px; } }
  html.x-p8-specs .x-p8-specs-board {
    order: 2; display: block; box-sizing: border-box; margin: 0 0 16px; padding: 10px 10px 12px;
    background: #1e1e1e; border-radius: 8px; box-shadow: inset 0 0 0 1px #3a3a3a;
    font-family: "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; color: var(--ink, #e8e8e8);
  }
  html.x-p8-specs .x-p8-specs-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 0 10px; }
  html.x-p8-specs .x-p8-specs-tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; height: 44px; margin: 0; padding: 2px;
    border: 0; border-radius: 7px; background: #1f1a12; box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .5); color: var(--gold, #ffd100);
    font: 700 13px/1.15 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; cursor: pointer; white-space: nowrap; touch-action: manipulation;
  }
  html.x-p8-specs .x-p8-specs-tab img { width: 18px; height: 18px; border-radius: 4px; box-shadow: 0 0 0 1px #000; flex: none; }
  html.x-p8-specs .x-p8-specs-tab[aria-pressed="true"] { background: #ffd100; color: #121212; box-shadow: none; }
  html.x-p8-specs .x-p8-specs-sw { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 8px; }
  html.x-p8-specs .x-p8-specs-swb { height: 40px; font-size: 14px; touch-action: manipulation; }

  html.x-p8-specs.x-p8-specs-specs .x-p8-specs-view { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; font-family: "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; }
  html.x-p8-specs .x-p8-specs-head { flex-wrap: wrap; row-gap: 6px; }
  html.x-p8-specs .x-p8-specs-h { font-size: 18px; width: 100%; }
  html.x-p8-specs .x-p8-specs-opts { width: 100%; justify-content: space-between; gap: 8px; }
  html.x-p8-specs .x-p8-specs-opt { height: 40px; padding: 0 10px; font-size: 13.5px; touch-action: manipulation; }
  /* a phone reads: the head, "yours" (until a spec is chosen; then it opens under its own row), the ladder, the ends, the count */
  html.x-p8-specs .x-p8-specs-pan { display: contents; }
  html.x-p8-specs .x-p8-specs-head { order: 1; }
  html.x-p8-specs .x-p8-specs-pan > .x-p8-specs-you { order: 2; }
  html.x-p8-specs .x-p8-specs-stage { order: 3; }
  html.x-p8-specs .x-p8-specs-ends { order: 4; }
  html.x-p8-specs .x-p8-specs-note { order: 5; }
  html.x-p8-specs .x-p8-specs-end { font-size: 14px; }
  html.x-p8-specs .x-p8-specs-ek { font-size: 14px; white-space: normal; }

  /* 27 rows a thumb can hit */
  html.x-p8-specs .x-p8-specs-lad { display: flex; flex-direction: column; gap: 3px; height: auto; }
  html.x-p8-specs .x-p8-specs-row { background: #181818; box-shadow: inset 3px 0 0 var(--cc); }
  html.x-p8-specs .x-p8-specs-row.x-p8-specs-gstart { margin-top: 6px; }
  html.x-p8-specs .x-p8-specs-hit {
    grid-template-columns: 22px 34px minmax(0, 1fr) auto; grid-template-rows: 22px 14px; gap: 2px 9px; height: auto; min-height: 50px;
    padding: 6px 10px 6px 4px; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  }
  html.x-p8-specs .x-p8-specs-rk { grid-row: 1 / 3; font-size: 13px; }
  html.x-p8-specs .x-p8-specs-ic { grid-row: 1 / 3; width: 34px; height: 34px; }
  html.x-p8-specs .x-p8-specs-nm { grid-column: 3; grid-row: 1; font-size: 14.5px; }
  html.x-p8-specs .x-p8-specs-tr { display: contents; }
  html.x-p8-specs .x-p8-specs-bar { grid-column: 3 / 5; grid-row: 2; width: calc(100% * var(--v, 0) / 100); height: 10px; min-height: 0; }
  html.x-p8-specs .x-p8-specs-pc { grid-column: 4; grid-row: 1; font-size: 14px; }
  html.x-p8-specs .x-p8-specs-tier { grid-column: 4; grid-row: 2; justify-self: end; align-self: center; font-size: 10px; }
  html.x-p8-specs .x-p8-specs-row:has(.x-p8-specs-tier:not(:empty)) .x-p8-specs-bar { grid-column: 3; }
  html.x-p8-specs .x-p8-specs-cut { min-height: 34px; padding-left: 8px; font-size: 13px; }
  /* the reader's own spec stays in sight while the page scrolls. The page's section clips with overflow: hidden, which makes
     it a scroll box and stops a sticky row; clip cuts exactly the same and lets the row stick (only while Specs is shown) */
  html.x-p8-specs.x-p8-specs-specs #sectionPage.v2bh { overflow: clip; }
  html.x-p8-specs .x-p8-specs-row.x-p8-specs-on { position: sticky; top: 0; bottom: 0; z-index: 4; background: #4a4229; box-shadow: inset 0 0 0 1px #ffd100, 0 0 0 2px #121212; }
  html.x-p8-specs .x-p8-specs-row.x-p8-specs-near { background: #202020; }
  html.x-p8-specs .x-p8-specs-slot { display: block; margin: 0 0 6px; padding: 0; list-style: none; }
  html.x-p8-specs .x-p8-specs-you { padding: 12px; }
  html.x-p8-specs .x-p8-specs-big { font-size: 18px; }
  html.x-p8-specs .x-p8-specs-nb > li { height: 40px; grid-template-columns: 22px 20px minmax(0, 1fr) 48px 56px; font-size: 13.5px; }
  html.x-p8-specs .x-p8-specs-bh { flex-wrap: wrap; }
  html.x-p8-specs .x-p8-specs-bh > span { flex-basis: 100%; }
  html.x-p8-specs .x-p8-specs-bh small { white-space: normal; font-size: 13px; }
  html.x-p8-specs .x-p8-specs-load { min-height: 44px; font-size: 14px; }
  html.x-p8-specs .x-p8-specs-th { font-size: 13px; height: 24px; container-type: inline-size; }
  html.x-p8-specs .x-p8-specs-tt { grid-template-rows: 24px auto; }
  html.x-p8-specs .x-p8-specs-tg { grid-template-rows: repeat(7, auto); }
  html.x-p8-specs .x-p8-specs-tc img { width: 100%; height: auto; }
  @container (max-width: 96px) { html.x-p8-specs .x-p8-specs-th b { display: none; } }
  html.x-p8-specs .x-p8-specs-note { font-size: 13px; }

  /* the field: two columns, each tile as tall as its share */
  html.x-p8-specs .x-p8-specs-field { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 6px; height: auto; }
  html.x-p8-specs .x-p8-specs-view[data-look="ladder"] .x-p8-specs-field { display: none; }
  html.x-p8-specs .x-p8-specs-fbox { display: none; }
  html.x-p8-specs .x-p8-specs-fcol { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
  html.x-p8-specs .x-p8-specs-few { grid-column: 1 / 3; flex-wrap: wrap; }
  html.x-p8-specs .x-p8-specs-fcol .x-p8-specs-tile { position: relative; width: 100%; border: 0; touch-action: manipulation; }
  html.x-p8-specs .x-p8-specs-tile.x-p8-specs-s .x-p8-specs-tw { display: block; margin-top: 4px; }
  html.x-p8-specs .x-p8-specs-tile.x-p8-specs-s { padding: 6px 8px; }
  html.x-p8-specs .x-p8-specs-tile.x-p8-specs-s .x-p8-specs-tw b { font-size: 13px; }
  html.x-p8-specs .x-p8-specs-tile.x-p8-specs-s .x-p8-specs-tw span { display: none; }
  html.x-p8-specs .x-p8-specs-tile.x-p8-specs-s > img { position: absolute; right: 7px; top: 7px; }
  html.x-p8-specs .x-p8-specs-tile.x-p8-specs-s .x-p8-specs-tp { font-size: 15px; }
  html.x-p8-specs .x-p8-specs-tile.x-p8-specs-m .x-p8-specs-tw span { display: block; }
  html.x-p8-specs .x-p8-specs-tile.x-p8-specs-tiny { width: 44px; height: 44px; }
}

/* ---------- (1 Dec 2026, the audit) ----------
   The field on a computer: every tile says which spec it is. A middle tile shows its class under the name ("Holy" / "Priest"); a
   small one shows the short name players use and its class ("Destro" / "Warlock"); a strip too short for two lines puts them on
   one; a narrow column stacks them small. The full name is in each tile's title. (A phone's tiles are in their own columns.) */
html.x-p8-specs .x-p8-specs-tw b i { font-style: normal; }
html.x-p8-specs .x-p8-specs-sn { display: none; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-m .x-p8-specs-tw span { display: block; font-size: 11px; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile:is(.x-p8-specs-s, .x-p8-specs-xs, .x-p8-specs-xrow) .x-p8-specs-fn { display: none; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile:is(.x-p8-specs-s, .x-p8-specs-xs, .x-p8-specs-xrow) .x-p8-specs-sn { display: inline; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-s .x-p8-specs-tw { display: block; margin-top: 4px; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-s .x-p8-specs-tw b { font-size: 12px; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-s .x-p8-specs-tw span { font-size: 10.5px; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-sw > img { position: absolute; right: 6px; top: 6px; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-sw .x-p8-specs-tw { margin-top: 0; max-width: calc(100% - 22px); }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-xs { justify-content: flex-start; padding: 5px 2px 3px; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-xs .x-p8-specs-tw { display: block; margin-top: 4px; text-align: center; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-xs .x-p8-specs-tw b { font-size: 10.5px; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-xs .x-p8-specs-tw span { font-size: 9.5px; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-xs .x-p8-specs-tp { display: block; align-self: center; font-size: 11px; letter-spacing: 0; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-xrow { flex-direction: row; align-items: center; gap: 6px; padding: 0 8px; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-xrow > img { width: 18px; height: 18px; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-xrow .x-p8-specs-tw { display: flex; align-items: baseline; gap: 4px; min-width: 0; margin: 0; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-xrow .x-p8-specs-tw b { font-size: 12px; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-xrow .x-p8-specs-tw span { font-size: 11px; }
html.x-p8-specs .x-p8-specs-fbox .x-p8-specs-tile.x-p8-specs-xrow .x-p8-specs-tp { margin: 0 0 0 auto; font-size: 13px; }
/* The ladder on a phone: names whole. They were cut at 320 ("Enhancem...", "Feral Comba...", the class lost) and at 360 and 375
   ("Marksmanship Hun..."). The share's column has one width on every row and a tier's word ("Uncommon") sits at the row's right
   foot without widening it, so every bar is measured against the same length and the name gets the room. Under 360 px the name
   takes the row's whole width, the share moves beside the bar, and a tier's word gets a short line of its own under its bar (5
   rows, 70 px in all); from 360 to 389 px the longest names fit at 13 px and the rows keep their height. */
@media (max-width: 759.98px) {
  html.x-p8-specs .x-p8-specs-hit { grid-template-columns: 22px 34px minmax(0, 1fr) 48px; }
  html.x-p8-specs .x-p8-specs-pc { justify-self: end; }
  html.x-p8-specs .x-p8-specs-bar, html.x-p8-specs .x-p8-specs-row:has(.x-p8-specs-tier:not(:empty)) .x-p8-specs-bar { grid-column: 3; }
  html.x-p8-specs .x-p8-specs-tier { position: absolute; right: 10px; bottom: 7px; font-size: 9.5px; line-height: 14px; }
}
@media (min-width: 360px) and (max-width: 389.98px) { html.x-p8-specs .x-p8-specs-nm { font-size: 13px; } }
@media (max-width: 359.98px) {
  html.x-p8-specs .x-p8-specs-hit { grid-auto-rows: auto; }
  html.x-p8-specs .x-p8-specs-nm { grid-column: 3 / 5; font-size: 14px; }
  html.x-p8-specs .x-p8-specs-pc { grid-column: 4; grid-row: 2; align-self: center; font-size: 13px; line-height: 14px; }
  html.x-p8-specs .x-p8-specs-tier { position: static; grid-column: 3 / 5; grid-row: 3; justify-self: start; line-height: 12px; }
  html.x-p8-specs .x-p8-specs-tier:empty { display: none; }
}
/* (2 Dec 2026) /popular on a computer and a tablet: the intro's last line stood on the board's edge (half a pixel between them; live keeps 23 px to
   its first block). The room is the title's own, so the board and the room kept for it before it is drawn move by the same 12 px. */
@media (min-width: 760px) { html.x-p8-specs:has(link[rel="canonical"][href$="/popular"]) #sectionPage.v2bh > .fhead .ltitle { padding-bottom: 12px; } }

/* x: search-2 */
/* search-2 (24 Nov 2026, the staging build): the site search, made plain. Words around the header's own search row (#tfsRow);
   the box, its answers and their order are the site's. Pointing changes only light; nothing moves by itself. */

/* ---------- the first screen, before any typing ---------- */
html.x-search-2 #tfsRow.x-search-2-typed .x-search-2-first { display: none; }
html.x-search-2 .x-search-2-first { margin: 10px 4px 2px; font-family: "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; }
html.x-search-2 .x-search-2-h { margin: 0 0 3px; font: 700 15px/1.25 Cinzel, Georgia, serif; color: #ffd75e; letter-spacing: .01em; }
html.x-search-2 .x-search-2-say { margin: 0 0 10px; font-size: 13px; line-height: 1.45; color: #cfcfcf; }
html.x-search-2 .x-search-2-try { display: flex; align-items: flex-start; gap: 10px; }
html.x-search-2 .x-search-2-try[hidden] { display: none; }
html.x-search-2 .x-search-2-lab { flex: none; padding-top: 9px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c89b1a; }
html.x-search-2 .x-search-2-chips { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 6px; }
html.x-search-2 .x-search-2-chip { display: flex; align-items: center; gap: 8px; min-width: 0; box-sizing: border-box; height: 40px; margin: 0; padding: 0 10px 0 6px; border: 0; border-radius: 6px; background: #222; box-shadow: inset 0 0 0 1px #3d3d3d; color: #f2f2f2; font: inherit; text-align: left; cursor: pointer; }
html.x-search-2 .x-search-2-chip:hover { background: #2a2a2a; box-shadow: inset 0 0 0 1px #c89b1a; }
html.x-search-2 .x-search-2-chip:focus-visible { outline: 2px solid #ffd100; outline-offset: 1px; }
html.x-search-2 .x-search-2-chip img, html.x-search-2 .x-search-2-pg { flex: none; width: 26px; height: 26px; box-sizing: border-box; border-radius: 4px; border: 1px solid #000; box-shadow: 0 0 0 1px #4a4a4a; background: #111; }
html.x-search-2 .x-search-2-pg { background: #1f1f1f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 3h7l3 3v11H5z' fill='none' stroke='%23c89b1a' stroke-width='1.4'/%3E%3Cpath d='M7.5 9h5M7.5 12h5' stroke='%23c89b1a' stroke-width='1.2'/%3E%3C/svg%3E") center/16px no-repeat; }
html.x-search-2 .x-search-2-ct { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
html.x-search-2 .x-search-2-ct b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; font-weight: 700; }
html.x-search-2 .x-search-2-ct small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11.5px; color: #9a9a9a; }
html.x-search-2 .x-search-2-ft { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid #333; font-size: 13px; line-height: 1.5; color: #bdbdbd; }
html.x-search-2 .x-search-2-ft[hidden] { display: none; }
html.x-search-2 .x-search-2-ftgo { display: inline-flex; align-items: center; gap: 5px; height: 24px; margin: 0 2px; padding: 0 9px 0 7px; border: 0; border-radius: 5px; background: #2a2a2a; box-shadow: inset 0 0 0 1px #3d3d3d; color: #e8e8e8; font: 600 12px/1 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; vertical-align: 1px; cursor: pointer; }
html.x-search-2 .x-search-2-ftgo svg { color: #ffd100; }
html.x-search-2 .x-search-2-ftgo:hover { box-shadow: inset 0 0 0 1px #c89b1a; color: #ffd100; }
html.x-search-2 .x-search-2-ftgo:focus-visible { outline: 2px solid #ffd100; outline-offset: 2px; }

/* ---------- the hand-off line, while the words find talents of this class ---------- */
html.x-search-2 .x-search-2-ftl[hidden] { display: none; }
html.x-search-2 .x-search-2-ftl { display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box; min-height: 38px; margin: 6px 0 0; padding: 6px 10px 6px 9px; border: 0; border-radius: 6px; background: #1e1e1e; box-shadow: inset 0 0 0 1px #3d3d3d; color: #e8e8e8; font: 600 13px/1.3 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; text-align: left; cursor: pointer; }
html.x-search-2 .x-search-2-ftl:hover { box-shadow: inset 0 0 0 1px #c89b1a; }
html.x-search-2 .x-search-2-ftl:focus-visible { outline: 2px solid #ffd100; outline-offset: 1px; }
html.x-search-2 .x-search-2-ftl i { font-style: normal; }
html.x-search-2 .x-search-2-fti { flex: none; display: grid; place-items: center; width: 30px; height: 26px; color: #ffd100; }
html.x-search-2 .x-search-2-ftt { flex: 1 1 auto; min-width: 0; }
html.x-search-2 .x-search-2-ftk { flex: none; font-size: 12px; font-weight: 700; color: #ffd100; white-space: nowrap; }

/* ---------- the answers: a heading over each run of one kind, and what picking it does ---------- */
html.x-search-2 .tfs-list > li { display: flex; flex-direction: column; }
html.x-search-2 .x-search-2-rh { order: -1; display: block; padding: 9px 8px 3px; font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #c89b1a; }
html.x-search-2 .x-search-2-rh i { font-style: normal; }
html.x-search-2 .tfs-list > li:first-child > .x-search-2-rh { padding-top: 4px; }
html.x-search-2 .tfs-list > li > a:has(> .x-search-2-do) { grid-template-columns: 30px minmax(0, 1fr) auto; }
html.x-search-2 .x-search-2-do { justify-self: end; font-size: 12px; font-weight: 700; color: #c89b1a; white-space: nowrap; }
html.x-search-2 .tfs-list li[aria-selected="true"] .x-search-2-do, html.x-search-2 .tfs-list li a:hover .x-search-2-do { color: #ffd100; }

@media (max-width: 560px) {
  html.x-search-2 .x-search-2-first { margin: 8px 2px 0; }
  html.x-search-2 .x-search-2-try { display: block; }
  html.x-search-2 .x-search-2-lab { display: block; padding: 0 0 5px; }
  html.x-search-2 .x-search-2-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.x-search-2 .x-search-2-chip { height: auto; min-height: 44px; padding: 5px 6px; }
  html.x-search-2 .x-search-2-ct b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; line-height: 1.2; }
  html.x-search-2 .x-search-2-ftl { align-items: flex-start; }
  html.x-search-2 .x-search-2-ftk { display: none; }
  /* a phone: what picking does goes on its own short line under the name, so the name keeps its room */
  html.x-search-2 .tfs-list > li > a:has(> .x-search-2-do) { grid-template-columns: 30px minmax(0, 1fr); }
  html.x-search-2 .x-search-2-do { grid-column: 2; justify-self: start; margin-top: -6px; font-size: 11.5px; }
}

/* (1 Dec 2026, the audit) the hand-off line is one line on a phone, as on a computer: "on the trees" goes, and a long word ends in
   an ellipsis rather than wrapping (it took a second line and pushed the answers 8 px lower) */
@media (max-width: 560px) {
  html.x-search-2 .x-search-2-ftl { align-items: center; }
  html.x-search-2 .x-search-2-ftt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  html.x-search-2 .x-search-2-ftx { display: none; }
}

/* (1 Dec 2026, Chris on his phone: "make it less vertical ... if you can shorten it by another line somehow even better") the
   opening now says "Pick one to see where it is.", right above the examples, so their own "Try one" label is said already: it
   steps out (the group keeps its aria-label for a screen reader), a line less on every screen */
html.x-search-2 .x-search-2-lab { display: none !important; }
html.x-search-2 .x-search-2-say { margin-bottom: 8px; }

/* x: tg-top */
/* tg-top (2 Dec 2026): the site's top on the Training Grounds, and the landing's ladder filter. Chris: "i think we need to find a way so
   that the top menu bar you see on the home page exists anywhere including on the traiing grounds. also that class icons area to the right
   looks pretty imbalanced & not organized well. empty boxes & such. find a better way to organize it?" Everything here is for .dl-page. */

/* ---- one header, two lines: the site's own line (book, name, search, the five doors) exactly where it is on every page, and the
   Training Grounds' menu under it on the same header, over the same gold line. The menu's frame goes (a box inside a bar read as a second
   bar), and so does its way back to the calculator: the book and the name are that, one line up. */
html.x-tg-top:not(#_):not(#__):not(#___) .dl-page header.masthead.v2m { position: relative; flex-wrap: nowrap !important; }
html.x-tg-top .dl-page .dn .dn-calc,
html.x-tg-top .dl-page .dn .dn-sep { display: none; }
html.x-tg-top .dl-page header.masthead > .dn { position: absolute; box-sizing: border-box; left: 0; z-index: 2; margin: 0; padding: 0; gap: 2px; border-radius: 0; background: none; box-shadow: none; flex: none; justify-content: flex-start; }
html.x-tg-top .dl-page header.masthead > .dn a { color: #c9bfa8; }
html.x-tg-top .dl-page header.masthead > .dn a:hover { color: #fff; }
html.x-tg-top .dl-page header.masthead > .dn a[aria-current] { color: #ffd75e; }
html.x-tg-top .dl-page header.masthead > .dn a.dn-rk { color: #e3c6ff; }
html.x-tg-top .dl-page header.masthead > .dn-lang { position: absolute; z-index: 2; margin: 0; }
html.x-tg-top .dl-page header.masthead > .dn .dn-upd { margin-left: auto; }

@media (min-width: 768px) {
  html.x-tg-top:not(#_):not(#__):not(#___) .dl-page header.masthead.v2m { padding-bottom: 39px !important; margin-bottom: 8px; }
  html.x-tg-top .dl-page header.masthead > .dn { right: 100px; bottom: 0; height: 32px; }
  html.x-tg-top .dl-page header.masthead > .dn a,
  html.x-tg-top .dl-page header.masthead > .dn button { min-height: 32px; height: 32px; }
  html.x-tg-top .dl-page header.masthead > .dn > a:first-of-type { margin-left: 0; }
  html.x-tg-top .dl-page header.masthead > .dn-lang { right: 0; bottom: 4px; height: 26px; min-height: 0; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  html.x-tg-top:not(#_):not(#__):not(#___) .dl-page .masthead.v2m > .gift.addon { gap: 0; padding: 4px !important; }
  html.x-tg-top:not(#_):not(#__):not(#___) .dl-page .masthead.v2m > .gift.addon .gt { display: none; }
}
/* a phone: the third line of the same header, its words scroll sideways as before, the language and the speaker at its end */
@media (max-width: 767px) {
  html.x-tg-top:not(#_):not(#__):not(#___) .dl-page header.masthead.v2m { padding-bottom: 46px !important; margin-bottom: 6px; }
  html.x-tg-top .dl-page header.masthead > .dn { right: auto; bottom: 0; width: calc(100% - 116px); max-width: none; height: 42px; }
  /* the small "Talents Forever" over the landing's title is the name in the header right above it: its line is given back */
  html.x-tg-top .dl-page .dl .dx-login .dx-title > small { display: none; }
  html.x-tg-top .dl-page header.masthead > .dn a { min-height: 42px; height: 42px; }
  html.x-tg-top .dl-page header.masthead > .dn-lang { right: 52px; bottom: 5px; height: 34px; min-height: 0; width: 58px; }
  html.x-tg-top .dl-page header.masthead > .tf-snd-m { position: absolute; z-index: 2; right: 0; bottom: 1px; width: 44px; height: 42px; min-height: 0; margin: 0; background: none; box-shadow: none; }
}
html.x-tg-top .dl-page header.masthead.x-tg-top-bare > .dn { right: 0; width: 100%; }
/* a row that has more to show sideways fades at that end instead of cutting a word */
@media (max-width: 767px) {
  html.x-tg-top .dl-page header.masthead > .dn { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent); padding-right: 20px; }
}
/* the arena gives the second line's height, so "How a duel works" still closes the first screen */
@media (min-width: 900px) and (min-height: 600px) {
  html.x-tg-top .dl-page .dl { height: calc(100svh - 120px - var(--dl-how, 52px)); }
}

/* on a screen of a laptop's height the landing's own book and small "Talents Forever" step back: the header right above says both, and
   their 80 px are the room the second line took, so a landing with a fighter on it no longer runs into its own foot */
@media (min-width: 768px) and (max-height: 860px) {
  html.x-tg-top .dl-page .dl .dx-login .dx-lg-book,
  html.x-tg-top .dl-page .dl .dx-login .dx-title > small { display: none; }
}
/* ---- the landing's ladder filter: All and the nine classes, two full rows of five, every press the same size (on a touch screen the
   ten stood six and four, the four pulled apart to fill their line). It shows where it shows on live: a landing 1270 px wide and up;
   under that the ladder there has no filter, and the ladder's own page has the nine classes. */
@media (min-width: 1270px) and (min-height: 600px) {
  html.x-tg-top .dl-ui .dx-login .dtp .dtp-f { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  html.x-tg-top .dl-ui .dx-login .dtp .dtp-f button,
  html.x-tg-top .dl-ui .dx-login .dtp .dtp-f .dtp-all-f { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; height: 30px; padding: 0; background: linear-gradient(#1c1813, #0c0a08); }
  html.x-tg-top .dl-ui .dx-login .dtp .dtp-f button img { width: 24px; height: 24px; }
}
@media (min-width: 1270px) and (min-height: 600px) and (pointer: coarse) {
  html.x-tg-top .dl-ui .dx-login .dtp .dtp-f button,
  html.x-tg-top .dl-ui .dx-login .dtp .dtp-f .dtp-all-f { height: 38px; }
  html.x-tg-top .dl-ui .dx-login .dtp .dtp-f button img { width: 30px; height: 30px; }
}
/* nothing from a partner on these pages: the search leaves out the PC page, which carries one */
html.x-tg-top .dl-page .tfs-list li:has(> a[href^="/wow-forever-pc"]) { display: none !important; }

/* x: tip-words */
/* tip-words: a site line this feature has said again in fewer words (or cut) is put away; its copy stands in its place */
html.x-tip-words .x-tip-words-cut { display: none; }

/* the talent tooltip's Classic comparison as one line, with the Classic and Forever key beside its heading like the spellbook's */
html.x-tip-words .x-tip-words-snip { margin-top: 4px; color: #c9c9c9; line-height: 1.4; }
html.x-tip-words .x-tip-words-key { float: right; margin-left: 8px; font-size: 10px; font-weight: 400; color: #8a8a8a; }
html.x-tip-words .x-tip-words-key del,
html.x-tip-words .x-tip-words-key ins { padding: 0 2px; }

/* x: tool-row */
/* tool-row (27 Nov 2026, Chris on a computer: "Something about the leveling order, my builds, restore, picture, copy link, bars
   doesn't sit right with me right now. Feels like it's bleeding over like the banner edges").
   What it was: from 641 px the row (#yours) is one 30 px line and its buttons are 30 px tall too, so each button covered the bar
   from its top edge to its foot. Live's bar is flat grey and nobody saw it; the 2.0 page gives the bar a gold top line and a gold
   wash (lab/v2.css, #yours.yours), and the buttons ran over both.
   What it is now: the bar is 34 px with 4 px of its own above and under the buttons, the buttons are 26 px. The bar starts 4 px
   nearer the trees (6 px, was 10), so its foot is where it was and nothing under it moves by a pixel.
   Not while the row is boxed (#yours[data-box], the Leveling order open): that shape has its own padding already. */
@media (min-width: 641px) {
  html.x-tool-row #yours.yours:not([data-box]) { margin-top: 6px; padding-top: 4px; padding-bottom: 4px; }
  html.x-tool-row #yours.yours:not([data-box]) .yrow .btn { padding-top: 4px; padding-bottom: 4px; min-height: 0; height: 26px; box-sizing: border-box; line-height: 18px; }
  html.x-tool-row #yours.yours:not([data-box]) .yrow input { padding-top: 3px; padding-bottom: 3px; height: 26px; box-sizing: border-box; }
  html.x-tool-row #yours.yours:not([data-box]) > #levelOrder:not([open]) > summary { height: 26px; }
  html.x-tool-row #yours.yours:not([data-box]) > #levelOrder:not([open]) > summary .lfan img { width: 22px; height: 22px; }
  html.x-tool-row #yours.yours:not([data-box]) .yrow .tcico { width: 18px; height: 18px; }
  /* (30 Nov 2026, Chris: "the banner shifted a ton and my eyes were really confused about where things were at or how I should be
     able to simply save ... without jumbling things up from what it was before") Save this build no longer turns the row into a
     form. The row stays exactly as it was (x.js moves the page's form out of it, into a line of its own under it): Save this build
     stays in its place, lit while the form is open, and the form is one line under the row, in the row's own look. */
  html.x-tool-row #yours.yours.x-tool-row-saving #saveBuild[hidden] { display: inline-flex !important; }
  html.x-tool-row #yours.yours.x-tool-row-saving #saveBuild { box-shadow: 0 0 0 2px #1b1b1b, 0 0 0 3px var(--gold, #ffd100); }
  html.x-tool-row .x-tool-row-mine { margin: 6px 0 0; padding: 8px 12px; border-radius: 8px; background: #1e1d1a linear-gradient(180deg, rgba(200, 155, 26, .12), rgba(200, 155, 26, 0) 70%);
    box-shadow: inset 0 1px 0 rgba(255, 209, 0, .38), inset 0 -1px 0 rgba(0, 0, 0, .5); }
  html.x-tool-row .x-tool-row-mine[hidden], html.x-tool-row .x-tool-row-mine > [hidden] { display: none !important; }
  html.x-tool-row .x-tool-row-mine { display: flex; flex-direction: column; gap: 8px; }
  /* the saved builds, one line: the names, Back up, and the page's own hint under them */
  html.x-tool-row .x-tool-row-list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
  html.x-tool-row .x-tool-row-list > #buildList { flex: 0 1 auto; }
  html.x-tool-row .x-tool-row-list > #copyBuilds { flex: none; }
  html.x-tool-row .x-tool-row-list > #buildHint { display: block; flex-basis: 100%; margin: 0; color: var(--muted, #9a9a9a); font-size: 12px; }
  html.x-tool-row .x-tool-row-mine > #pasteBox { display: flex; }
  html.x-tool-row .x-tool-row-mine > #bname { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; width: 100%; }
  html.x-tool-row .x-tool-row-mine > #bname > input { height: 32px; box-sizing: border-box; padding: 5px 10px; font: 400 14px "Open Sans", system-ui, "Segoe UI", Arial, sans-serif;
    color: #ddd; background: #111; border: 1px solid #3a3a3a; border-radius: 4px; }
  html.x-tool-row .x-tool-row-mine > #bname > input:focus { outline: 2px solid var(--gold, #ffd100); outline-offset: 0; border-color: transparent; }
  html.x-tool-row .x-tool-row-mine > #bname > input::placeholder { color: #8a8a8a; }
  html.x-tool-row .x-tool-row-mine .btn { padding: 5px 14px; border: 0; border-radius: 4px; font: 600 14px "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; background: #3a3a3a; color: #fff; cursor: pointer; }
  html.x-tool-row .x-tool-row-mine .btn.primary { background: var(--gold, #ffd100); color: #1a1400; }
  html.x-tool-row .x-tool-row-mine .btn:hover { filter: brightness(1.12); }
  html.x-tool-row .x-tool-row-mine .btn:focus-visible { outline: 2px solid var(--gold, #ffd100); outline-offset: 2px; }
  html.x-tool-row .x-tool-row-mine > #bname > #bnameIn { flex: 0 1 280px; max-width: 280px; }
  html.x-tool-row .x-tool-row-mine > #bname > #bnoteIn { flex: 1 1 200px; max-width: none; }
  html.x-tool-row .x-tool-row-mine .btn { height: 32px; box-sizing: border-box; flex: none; white-space: nowrap; }
  html.x-tool-row .x-tool-row-mine > #bname > .tfq { flex: none; display: inline-flex; align-items: center; gap: 6px; }
  /* (30 Nov 2026, evening, Chris on a computer, the form open with the row's three tags above it: "i feel like the what's it for
     needs to be after a name is attached. not before it. so the natural process of things is like oh okay named it, note w/e &
     might as well tag it too on desktop - on mobile I think this works properly in that manner already") Until now the row's own
     three asked while the form was open and the form's own were put away, so the question stood ABOVE the name. Now it is the
     phone's order on a computer too: the name, the note, then the form's own "What's it for?" with its three (they glow until one
     is picked, the page's own .tfq.lit), then Save and Cancel. The row's three go dark while the form is open, so the question
     is asked once, and they KEEP their room: the page's fitting of this row measures what stands in it, and with them taken
     out it gave the row another shape (longer words, Theorycraft on another line), every press in a new place, which is what
     he asked never to see. They are the row's LAST part at every width from 641 px (they were its middle line under 1100 px).
     Where they have that last line to themselves (x-tool-row-tagsline, measured by x.js) the form is drawn up over the empty
     line, so it stands right under the presses with no empty band; where they share a line (about 1500 px and wider) the
     form stands under the row and their place at the line's end is empty while it is open. */
  html.x-tool-row #yours.yours > #tfor { order: 9; }
  /* (30 Nov 2026, evening, Chris: "Fix it") A tag pressed, or a build saved with one, changed the sentence after the three
     ("153 tags on Warrior builds so far. Tap one so ..." became "Tagged PvE. It's #2 on the Warrior PvE list. ..."), which is
     93 px shorter. The row's fitting (index.html fitOrder) measures the row with whatever stands in it, so with the shorter
     sentence it chose another shape: at 1020 to 1080 and near 1280 px Leveling order grew its line of words and Theorycraft
     dropped to the second line, every press in a new place; at 900 the row lost a line and the page under it rose 24 px. The
     sentence keeps the room of its first form now: the page leaves that first sentence in the element's title, and an unseen
     copy of it, no height, stands under whatever the sentence says. Same room, same shape, nothing moves; an untagged row is
     to the pixel what it was. */
  html.x-tool-row #yours.yours > #tfor > .tfsay::after { content: attr(title); display: block; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; }
  /* a save rewrites the title as well, so x.js keeps the first sentence in an attribute of its own */
  html.x-tool-row #yours.yours > #tfor > .tfsay[data-x-tool-row-hint]::after { content: attr(data-x-tool-row-hint); }
  html.x-tool-row #yours.yours.x-tool-row-saving > #tfor { visibility: hidden; }
  html.x-tool-row #yours.yours.x-tool-row-saving.x-tool-row-tagsline + .x-tool-row-mine { position: relative; z-index: 1; margin-top: calc(6px - var(--x-tool-row-up, 0px)); }
  html.x-tool-row .x-tool-row-mine > #bname > .tfq { margin: 0; padding: 0; }
  html.x-tool-row .x-tool-row-mine > #bname > .tfq > .tfql { flex: none; margin: 0 2px 0 4px; color: var(--muted, #9a9a9a); font: 700 12px/1 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
  html.x-tool-row .x-tool-row-mine > #bname > .tfq > .tfqb { display: inline-flex; flex: none; align-items: center; gap: 6px; }
  /* where the line has no room for all five parts (under 1100 px), the tags, Save and Cancel take a second line, in the same order */
  @media (max-width: 1099.98px) {
    html.x-tool-row .x-tool-row-mine > #bname { flex-wrap: wrap; }
    html.x-tool-row .x-tool-row-mine > #bname > #bnoteIn { flex: 1 1 260px; }
    html.x-tool-row .x-tool-row-mine > #bname > .tfq { margin-right: auto; }
  }

  /* (2 Dec 2026, Chris on a computer: "i feel like the show/hide button here on desktop should exist in the same place? if i click show
     & then the hide button ran away to the top right hand side I would be annoyed") The Leveling order open: the row keeps its shut
     shape (x.js order()); the list opens under it. Show and Hide stand on one another, so the pill is as wide as the wider word. */
  html.x-tool-row #levelOrder .lpill { display: inline-grid; justify-items: center; }
  html.x-tool-row #levelOrder .lpill > span { grid-area: 1 / 1; display: inline; }
  html.x-tool-row #levelOrder:not([open]) .lpill > .hide, html.x-tool-row #levelOrder[open] .lpill > .show { display: inline; visibility: hidden; }
  html.x-tool-row #levelOrder[open] .lpill > .hide { display: inline; }
  html.x-tool-row #yours > .x-tool-row-hole { display: none; flex: 0 0 auto; box-sizing: border-box; max-width: 100%; }
  /* (the row's gold wash stays as tall as the row: over the whole list it turned the panel brown) */
  html.x-tool-row #yours.yours.x-tool-row-ord { position: relative; background-size: 100% 68px; background-repeat: no-repeat; }
  html.x-tool-row #yours.yours.x-tool-row-ord > .x-tool-row-hole { display: block; }
  html.x-tool-row #yours.yours.x-tool-row-ord[data-box] > .x-tool-row-hole { background: #1b1b1b; border-radius: 6px; box-shadow: inset 0 0 0 1px #333; }
  html.x-tool-row #yours.yours.x-tool-row-ord > #levelOrder#levelOrder { order: 99; flex: 1 1 100%; margin: calc(-36px - var(--x-tool-row-h, 0px)) 0 0; padding: calc(var(--x-tool-row-h, 0px) + 45px) 0 4px;
    background: linear-gradient(var(--line, #333), var(--line, #333)) 0 calc(var(--x-tool-row-h, 0px) + 36px) / 100% 1px no-repeat; border-radius: 0; box-shadow: none; pointer-events: none; }
  /* (its box starts 36 px over the row, under the presses, unseen, so the section bar's link, which parks a section's top right under the
     window's edge with the bar over it, brings the row with its Hide clear of the bar; the box takes no press itself, its own parts do) */
  html.x-tool-row #yours.yours.x-tool-row-ord > #levelOrder > * { pointer-events: auto; }
  html.x-tool-row #yours.yours.x-tool-row-ord > #levelOrder#levelOrder > summary { position: absolute; z-index: 1; width: max-content; max-width: none; height: 26px; margin: 0; padding: 0; border: 0; }
  html.x-tool-row #yours.yours.x-tool-row-ord[data-box] > #levelOrder#levelOrder > summary { height: 30px; }
  html.x-tool-row #yours.yours.x-tool-row-ord:not([data-box]) > #levelOrder > summary .lfan img { width: 22px; height: 22px; }
  html.x-tool-row #yours.yours.x-tool-row-ord > #levelOrder .lpill { margin-left: 0; }
  /* the two shorter forms the row can give it (the page's own, which it writes for the shut order alone) */
  html.x-tool-row #yours.yours.x-tool-row-ord > #levelOrder:is([data-v="1"], [data-v="2"]) .lsub, html.x-tool-row #yours.yours.x-tool-row-ord > #levelOrder[data-v="2"] .lpill { display: none; }
  html.x-tool-row #yours.yours.x-tool-row-ord > #levelOrder#levelOrder[data-v="2"] > summary { padding: 0 10px 0 4px; border-radius: 4px; background: #3a3323; box-shadow: inset 0 0 0 1px var(--gold, #ffd100); }
  html.x-tool-row #yours.yours.x-tool-row-ord > #levelOrder[data-v="2"] .ltitle strong { color: var(--gold, #ffd100); font-size: 13px; }
  /* where the name itself is the press (no room for a pill) it says what a second press does, in the same room */
  html.x-tool-row #yours.yours.x-tool-row-ord > #levelOrder[data-v="2"] .olw { position: relative; visibility: hidden; }
  html.x-tool-row #yours.yours.x-tool-row-ord > #levelOrder[data-v="2"] .olw::after { content: "Hide order"; position: absolute; left: 0; top: 0; visibility: visible; white-space: nowrap; }
  /* the Save form while the order is open: in the row, over the list (x.js), not under it */
  html.x-tool-row #yours.yours.x-tool-row-ord > .x-tool-row-mine { order: 98; flex: 1 1 100%; box-sizing: border-box; margin: 0; }
  /* !important: the page's own rule for its form inside the row (#yours:has(#bname...) #tfor) takes the three away and the row would change shape */
  html.x-tool-row #yours.yours.x-tool-row-ord.x-tool-row-saving:not([data-svo]) > #tfor { display: flex !important; }
  html.x-tool-row #yours.yours.x-tool-row-ord.x-tool-row-tagsline > .x-tool-row-mine { position: relative; z-index: 1; margin-top: calc(0px - var(--x-tool-row-up, 0px)); }
}

/* (30 Nov 2026, Chris on his phone, the Save form open: "Two come up") the form asks "What's it for?" with its own three buttons, which
   glow until one is picked, and the row under it asked again (the page's 17 Nov rule that sends the row away, #yours:has(#bname...)
   #tfor, loses to a phone rule that sets the row's display; live's twin shows both too). While the form is open in the row (a phone,
   where the form stays the page's own), the row's question steps aside; on a computer the form stands under the row, which asks. */
/* (1 Dec 2026, the audit) these were :has(#... :not([hidden])) on html and body. With them every hidden change anywhere on the page (the talent tooltip on each show) made the browser restyle the whole page: about 0.3 s on every talent press, and the creator credits' tries froze a slower phone for seconds. The piece's script says it with a class on html instead (x.js, mirror) */
/* (2 Dec 2026) only there: until today this rule had no width, so since the 1 Dec change it took the three out of a computer's row too whenever the
   Save form opened, and the row changed shape (68 to 34 px at 1280), which is what the 30 Nov evening work above had ended */
@media (max-width: 640.98px) { html.x-tool-row.x-tool-row-naming #yours.yours > #tfor { display: none !important; } }

/* x: top-menu */
/* top-menu: the header menu of every page, as the owner asked on 22 Nov 2026 ("I still don't feel we need the calculator
   button. I feel like class guides and leveling is a little frustrating to me. I love the training grounds button, search bar
   is good. Add-ons okay. What's new is okay. The sizing looks weird.").
   The pills keep their look (gold rim, round game-icon medallion, the same colours). What changes: which pills there are, what
   Guides opens, and how their sizes agree. Everything below sits under html.x-top-menu, which is on <html> before the first
   paint, so the first paint already shows the new menu. A phone gets the same menu in the same pills (section 5 below). */

@media all {
  /* 1. No Calculator pill: the book and the Talents Forever name are the way to the calculator (x.js makes them one link).
     2. Class guides and Leveling are one pill, Guides (its short word, already in the page). */
  html.x-top-menu .v2nav > a[data-k="calc"],
  html.x-top-menu .v2nav > a[data-k="leveling"] { display: none; }
  html.x-top-menu .v2nav > a[data-k="guide"] .lg { display: none; }
  html.x-top-menu .v2nav > a[data-k="guide"] .sm { display: inline; }

  /* on a leveling page (the Leveling hub, the leveling guides page) the Guides pill is the one lit, the way the page you are on
     is lit (the same values as lab/v2.css gives a[aria-current]) */
  html.x-top-menu .v2nav:has(> a[data-k="leveling"][aria-current]) > a[data-k="guide"] { background: rgba(255, 209, 0, .12); color: var(--gold, #ffd100); box-shadow: inset 0 0 0 1px var(--gold2, #c89b1a); }

  /* the book and the name: pointing only lights them (no wisps, no grow), as one thing */
  html.x-top-menu .hs-home:is(:hover, :focus-visible, .hs-hot) .hs-wrap:not(.casting) .hs-fx { opacity: 0; }
  html.x-top-menu .hs-home:is(:hover, :focus-visible, .hs-hot) .hs-wrap:not(.casting) .hs-fx u { animation-play-state: paused; }
  html.x-top-menu .hs-home:is(:hover, :focus-visible, .hs-hot) .hs-wrap:not(.casting)::after { opacity: 0; }
  html.x-top-menu .hs-home:is(:hover, :focus-visible, .hs-hot, :active) .hs-wrap:not(.casting) img { transform: none; }
  html.x-top-menu .mbookw:hover .mbook { animation: none; }
  html.x-top-menu .mbookw img { transition: filter .15s ease-out; }
  html.x-top-menu .x-top-menu-hot .mbookw img,
  html.x-top-menu .mbookw:is(:hover, :focus-visible) img { filter: brightness(1.12) drop-shadow(0 0 6px rgba(255, 209, 0, .55)); }
  html.x-top-menu .masthead .mtext .brand.x-top-menu-door { cursor: pointer; transition: text-shadow .15s ease-out; }
  html.x-top-menu .x-top-menu-hot .mtext .brand,
  html.x-top-menu .x-top-menu-hot > .brand { text-shadow: 0 0 12px rgba(255, 209, 0, .45); }
  /* on a class's other pages (its guide, its builds) one link over the book and the name leads to that class's calculator */
  html.x-top-menu .x-top-menu-home { position: absolute; z-index: 5; display: block; border-radius: 8px; }
  html.x-top-menu .x-top-menu-home:focus-visible { outline: 2px solid var(--gold, #ffd100); outline-offset: 2px; }

  /* the Guides pill while its panel is open: lit as under the pointer */
  html.x-top-menu .v2nav > a[data-k="guide"][aria-expanded="true"] { color: var(--gold, #ffd100); }
}
@media (min-width: 900px) {
  html.x-top-menu .v2nav:has(> a[data-k="leveling"][aria-current]) > a[data-k="guide"] { background: linear-gradient(180deg, #5a4a1e, #3f3415); color: #ffe36b; box-shadow: inset 0 0 0 1.5px var(--gold, #ffd100), 0 0 12px rgba(255, 209, 0, .25); }
  html.x-top-menu .v2nav > a[data-k="guide"][aria-expanded="true"] { background: linear-gradient(180deg, #3d3522, #2b261c); box-shadow: inset 0 0 0 1px var(--gold, #ffd100), 0 0 12px rgba(255, 209, 0, .25); }
}

/* 4. One row that agrees, 1024 px wide and up (wherever the menu pills wear their medallions): every door is a pill of the same height (32 px), the same type (13 px bold), the
   same 24 px medallion, the same padding and the same 6 px gap; the search stays its round glass between them, as today.
   The Addon and What's new were pills only from a 1300 px header and round icons of 28 and 36 px under it (lab/v2.css
   @container tfm): they are pills at every width now. The !important below answer the !important of that @container rule
   (lab/v2.css "the pills are wider than the grey words were") and of lab/v2.css's margin-left:0!important on these two. */
@media (min-width: 1024px) {
  html.x-top-menu .masthead.v2m > .gift.addon { box-sizing: border-box; min-height: 32px; height: 32px; padding: 2px 13px 2px 4px !important; gap: 7px; margin-left: -6px !important; font-size: 13px; }
  html.x-top-menu .masthead.v2m > .gift.addon .pico,
  html.x-top-menu .masthead.v2m > .gift.addon img { width: 24px; height: 24px; }
  html.x-top-menu .masthead.v2m > .gift.addon .gt { display: inline; font-size: 0; }
  html.x-top-menu .masthead.v2m > .gift.addon .gt::before { content: "Addon"; font-size: 13px; }

  html.x-top-menu .masthead.v2m > #whatsNew { position: relative; box-sizing: border-box; width: auto; height: 32px; min-height: 32px; margin-left: -6px !important; padding: 2px 13px 2px 4px !important; gap: 7px; font-size: 13px !important; border-radius: 999px; justify-content: center; background: #26231a; box-shadow: inset 0 0 0 1px #6b5a2a; }
  html.x-top-menu .masthead.v2m > #whatsNew::before { content: ""; display: block; flex: none; box-sizing: border-box; width: 24px; height: 24px; border-radius: 50%; background: #000 url(/assets/icons/inv_scroll_03.jpg?i=4) center/120% no-repeat; box-shadow: 0 0 0 1.5px #d9b24a, 0 2px 6px rgba(0, 0, 0, .5); }
  html.x-top-menu .masthead.v2m > #whatsNew::after { display: none; }
  html.x-top-menu .masthead.v2m > #whatsNew > *:not(.dot) { display: revert; }
  html.x-top-menu .masthead.v2m > #whatsNew .dot { position: static; width: 8px; height: 8px; box-shadow: 0 0 6px var(--gold, #ffd100); }
  html.x-top-menu .masthead.v2m > #whatsNew:is(:hover, :focus-visible) { background: #332d1e; box-shadow: inset 0 0 0 1px var(--gold2, #c89b1a); color: #ffe58a; }
  html.x-top-menu .masthead.v2m > #whatsNew[aria-expanded="true"] { background: #3a3323; box-shadow: inset 0 0 0 1px var(--gold, #ffd100); }
}

/* 2b. The Guides panel (x.js builds it on the first click). It hangs under the pill over the page, so nothing on the page moves. */
html.x-top-menu .x-top-menu-panel { position: absolute; z-index: 70; box-sizing: border-box; width: 640px; max-width: calc(100vw - 32px); padding: 16px; border-radius: 10px; background: #1e1e1e; color: #e8e8e8; font: 400 13px/1.35 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; text-align: left; box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .55), 0 16px 40px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .5); }
html.x-top-menu .x-top-menu-panel[hidden] { display: none; }
html.x-top-menu .x-top-menu-panel a { color: inherit; text-decoration: none; }
html.x-top-menu .x-top-menu-panel a:focus-visible { outline: 2px solid var(--gold, #ffd100); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  html.x-top-menu .x-top-menu-panel { animation: x-top-menu-in .12s ease-out; }
}
@keyframes x-top-menu-in { from { opacity: 0; } to { opacity: 1; } }

/* the class you are on: first and biggest, its two guides as the pictures they are */
html.x-top-menu .x-top-menu-lead { margin: 0 0 14px; }
html.x-top-menu .x-top-menu-lh { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
html.x-top-menu .x-top-menu-lh img { width: 36px; height: 36px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .8), 0 0 0 2px rgba(255, 255, 255, .08); }
html.x-top-menu .x-top-menu-lh b { font: 700 22px/1.1 Cinzel, Georgia, serif; color: var(--cc, #ffd75e); }
html.x-top-menu .x-top-menu-lh span { margin-left: auto; color: #8a8a8a; font-size: 12px; }
html.x-top-menu .x-top-menu-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
html.x-top-menu .x-top-menu-pic { display: block; border-radius: 8px; background: #262626; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: box-shadow .15s ease-out, background .15s ease-out; }
html.x-top-menu .x-top-menu-pic img { display: block; width: 100%; aspect-ratio: 1200 / 630; height: auto; object-fit: cover; }
html.x-top-menu .x-top-menu-pic > span { display: block; padding: 8px 10px 9px; }
html.x-top-menu .x-top-menu-pic b { display: flex; align-items: center; gap: 6px; color: var(--gold, #ffd100); font-size: 14px; font-weight: 700; }
html.x-top-menu .x-top-menu-pic em { display: block; margin-top: 1px; color: #bdbdbd; font-style: normal; font-size: 12px; }
html.x-top-menu .x-top-menu-pic:is(:hover, :focus-visible) { background: #2c2a24; box-shadow: inset 0 0 0 1px var(--gold2, #c89b1a), 0 0 12px rgba(255, 209, 0, .18); }
html.x-top-menu .x-top-menu-none { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 14px 16px; border-radius: 8px; background: #262626; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); color: #bdbdbd; }
html.x-top-menu .x-top-menu-none b { color: #e8e8e8; font-size: 14px; }
html.x-top-menu .x-top-menu-none a { align-self: flex-start; color: var(--gold, #ffd100); font-weight: 700; }
html.x-top-menu .x-top-menu-none a:hover { color: #ffe58a; }
html.x-top-menu .x-top-menu-play { display: inline-block; flex: none; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }

/* every class: its class icon whole as a box, its name in its colour, its doors */
html.x-top-menu .x-top-menu-h { margin: 0 0 8px; color: #8a8a8a; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
html.x-top-menu .x-top-menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
html.x-top-menu .x-top-menu-grid.x-top-menu-g9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html.x-top-menu .x-top-menu-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 6px; border-radius: 7px; background: #262626; }
html.x-top-menu .x-top-menu-g { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 2px; border-radius: 5px; transition: background .15s ease-out; }
html.x-top-menu .x-top-menu-g img { flex: none; width: 32px; height: 32px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .8); }
html.x-top-menu .x-top-menu-g9 .x-top-menu-g img { width: 36px; height: 36px; }
html.x-top-menu .x-top-menu-g span { min-width: 0; }
html.x-top-menu .x-top-menu-g b { display: block; color: var(--cc, #e8e8e8); font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.x-top-menu .x-top-menu-g em { display: block; color: #8a8a8a; font-style: normal; font-size: 11.5px; white-space: nowrap; }
html.x-top-menu .x-top-menu-g:is(:hover, :focus-visible) { background: #333; }
html.x-top-menu .x-top-menu-g:is(:hover, :focus-visible) em { color: #e8e8e8; }
html.x-top-menu .x-top-menu-v,
html.x-top-menu .x-top-menu-nov { display: flex; align-items: center; gap: 6px; min-height: 22px; padding: 1px 6px; border-radius: 5px; font-size: 12px; font-weight: 700; white-space: nowrap; }
html.x-top-menu .x-top-menu-panel .x-top-menu-v { color: var(--gold, #ffd100); transition: background .15s ease-out; }
html.x-top-menu .x-top-menu-panel .x-top-menu-v:is(:hover, :focus-visible) { background: rgba(255, 209, 0, .1); color: #ffe58a; }
html.x-top-menu .x-top-menu-nov { visibility: hidden; }

/* the two doors to every guide */
html.x-top-menu .x-top-menu-foot { display: flex; gap: 8px; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(255, 255, 255, .07); }
html.x-top-menu .x-top-menu-all { display: flex; align-items: center; gap: 7px; min-height: 32px; box-sizing: border-box; padding: 2px 13px 2px 4px; border-radius: 999px; color: var(--gold, #ffd100); font-weight: 700; background: linear-gradient(180deg, #332d1e, #25211a); box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .6), 0 2px 8px rgba(0, 0, 0, .35); }
html.x-top-menu .x-top-menu-all::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #000 var(--ic) center/120% no-repeat; box-shadow: 0 0 0 1.5px #b8901f, 0 2px 6px rgba(0, 0, 0, .5); }
html.x-top-menu .x-top-menu-all:is(:hover, :focus-visible) { background: linear-gradient(180deg, #3d3522, #2b261c); box-shadow: inset 0 0 0 1px var(--gold, #ffd100), 0 0 12px rgba(255, 209, 0, .25); }


/* 5. A phone (22 Nov 2026, his "Looks sad" of the old phone top: a line of bare words). Under 761 px the menu is the same as on a
   computer, in the same pills: Guides, Training Grounds, the search, and on the calculator's head the Addon and What's new as round
   medallions of the pills' height beside the name. Every door is 32 px tall with a 40 px tap (its ::after), type 13 px. The head
   is no taller than before (measured in NOTES.md). */
@media (max-width: 767px) {
  html.x-top-menu .masthead.v2m > .v2nav,
  html.x-top-menu .top.tfs-top > .v2nav { justify-content: flex-start; gap: 6px; }
  html.x-top-menu .v2nav > a[data-k] { position: relative; flex: none; box-sizing: border-box; height: 32px; min-height: 32px; padding: 2px 13px 2px 4px; gap: 7px; border-radius: 999px; color: var(--gold, #ffd100); font-size: 13px; font-weight: 700; background: linear-gradient(180deg, #332d1e, #25211a); box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .6), 0 2px 8px rgba(0, 0, 0, .35); }
  html.x-top-menu .v2nav > a[data-k]::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #000 center/120% no-repeat; box-shadow: 0 0 0 1.5px #b8901f, 0 2px 6px rgba(0, 0, 0, .5); }
  html.x-top-menu .v2nav > a[data-k="guide"]::before { background-image: url(/assets/icons/inv_misc_book_07.jpg?i=4); }
  html.x-top-menu .v2nav > a[data-k="tg"]::before { background-image: url(/assets/icons/achievement_bg_winwsg.jpg?i=4); }
  html.x-top-menu .v2nav > a[data-k]::after { content: ""; position: absolute; inset: -4px 0; }
  /* (lab/v2.css narrows the words under 341 px by the menu's id: the same padding and type here, by the same id) */
  html.x-top-menu #v2nav > a[data-k] { padding: 2px 13px 2px 4px; font-size: 13px; }
  html.x-top-menu .v2nav > a[data-k]:active { background: linear-gradient(180deg, #5a4a1e, #3f3415); box-shadow: inset 0 0 0 1.5px var(--gold, #ffd100); }
  html.x-top-menu .v2nav > a[data-k][aria-current="page"],
  html.x-top-menu .v2nav:has(> a[data-k="leveling"][aria-current]) > a[data-k="guide"],
  html.x-top-menu .v2nav > a[data-k="guide"][aria-expanded="true"] { background: linear-gradient(180deg, #5a4a1e, #3f3415); color: #ffe36b; box-shadow: inset 0 0 0 1.5px var(--gold, #ffd100), 0 0 12px rgba(255, 209, 0, .25); }
  /* Training Grounds by its full name wherever it fits (360 px and up), "Training" under that */
  html.x-top-menu .v2nav > a[data-k="tg"] .lg { display: inline; }
  html.x-top-menu .v2nav > a[data-k="tg"] .sm { display: none; }
  /* the search: its round glass, the pills' height */
  html.x-top-menu .v2nav > a.tfs-door { flex: none; width: 32px; height: 32px; min-height: 32px; margin: 0; padding: 0; border-radius: 50%; }
  html.x-top-menu .v2nav > a.tfs-door { margin-left: auto; }
  html.x-top-menu .v2nav > a.tfs-door i { width: 30px; height: 30px; border: 1px solid #000; background: radial-gradient(circle at 50% 38%, #2c2416, #120d07 70%); box-shadow: 0 0 0 1.5px #b8901f, 0 2px 6px rgba(0, 0, 0, .5); }
  html.x-top-menu .v2nav > a.tfs-door i svg { width: 15px; height: 15px; }
  html.x-top-menu .v2nav > a.tfs-door::after { inset: -4px -4px; }
  /* What's new and the Addon: round medallions of the same 32 px, their pictures in their own rings */
  html.x-top-menu .masthead.v2m > #whatsNew { position: relative; box-sizing: border-box; width: 32px; height: 32px; min-height: 0; padding: 0 !important; gap: 0; font-size: 0 !important; border-radius: 50%; justify-content: center; background: none; box-shadow: none; }
  html.x-top-menu .masthead.v2m > #whatsNew::before { content: ""; display: block; flex: none; box-sizing: border-box; width: 30px; height: 30px; border-radius: 50%; background: #000 url(/assets/icons/inv_scroll_03.jpg?i=4) center/120% no-repeat; box-shadow: 0 0 0 1.5px var(--gold2, #c89b1a), 0 2px 6px rgba(0, 0, 0, .5); }
  html.x-top-menu .masthead.v2m > #whatsNew > *:not(.dot) { display: none; }
  html.x-top-menu .masthead.v2m > #whatsNew .dot { position: absolute; top: -2px; right: -2px; width: 9px; height: 9px; box-shadow: 0 0 0 2px #1b1b1b, 0 0 8px var(--gold, #ffd100); }
  html.x-top-menu .masthead.v2m > #whatsNew::after { content: ""; position: absolute; inset: -4px; }
  html.x-top-menu .masthead.v2m > #addonBtn { box-sizing: border-box; width: 32px; height: 32px; min-height: 0; padding: 1px !important; }
  html.x-top-menu .masthead.v2m > #addonBtn .pico,
  html.x-top-menu .masthead.v2m > #addonBtn img { width: 30px; height: 30px; }
  html.x-top-menu .masthead.v2m > #addonBtn::after { content: ""; position: absolute; inset: -4px; }
  /* the book and the name are the way home: one press lights both */
  html.x-top-menu .masthead .mtext .brand.x-top-menu-door { cursor: pointer; }
  html.x-top-menu .x-top-menu-press .mbookw img,
  html.x-top-menu .mbookw:active img { filter: brightness(1.25) drop-shadow(0 0 9px rgba(255, 209, 0, .8)); }
  html.x-top-menu .x-top-menu-press .mtext .brand,
  html.x-top-menu .x-top-menu-press > .brand { text-shadow: 0 0 14px rgba(255, 209, 0, .7); }
}
@media (max-width: 480px) {
  /* the calculator's head: the round medallions beside the name are 4 px smaller than the old icons, so the head is 2 px shorter
     than before even with the pills' row 2 px taller than the words' row; the taps reach 2 px up as before */
  html.x-top-menu .masthead.v2m.tfs-wnid.tfs-gift > .v2nav { margin-top: 6px; }
  html.x-top-menu .masthead.v2m.tfs-wnid.tfs-gift > .v2nav > a[data-k]::after { top: -2px; bottom: -6px; }
  html.x-top-menu .masthead.v2m.tfs-wnid.tfs-gift > #whatsNew { align-self: center; width: 32px; height: 32px; }
  html.x-top-menu .masthead.v2m.tfs-wnid.tfs-gift > #whatsNew::before { width: 30px; height: 30px; }
  html.x-top-menu .masthead.v2m.tfs-wnid.tfs-gift > #addonBtn { align-self: center; }
  /* every other page's head: the pills' row is 2 px taller than the words' row was; it gives the 2 px back at its foot */
  html.x-top-menu .masthead.v2m:not(.tfs-gift) > .v2nav,
  html.x-top-menu .top.tfs-top > .v2nav { margin-bottom: -2px; }
}
@media (max-width: 359px) {
  html.x-top-menu .v2nav > a[data-k="tg"] .lg { display: none; }
  html.x-top-menu .v2nav > a[data-k="tg"] .sm { display: inline; }
}

/* 5b. The Guides panel on a phone is a sheet from the screen's foot: the class on the page first, every other class as a thumb-sized
   box, the two doors to every guide. It scrolls inside itself; it closes by Close, a tap outside, Back, or a drag down that follows
   the finger (x.js). */
@media (max-width: 767px) {
  html.x-top-menu .x-top-menu-scrim { position: fixed; inset: 0; z-index: 998; background: rgba(0, 0, 0, .6); touch-action: none; }
  html.x-top-menu .x-top-menu-scrim[hidden] { display: none; }
  html.x-top-menu .x-top-menu-panel.x-top-menu-sheet { position: fixed; z-index: 999; left: 0; right: 0; top: auto; bottom: 0; display: flex; flex-direction: column; width: auto; max-width: none; max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); padding: 0; border-radius: 14px 14px 0 0; box-shadow: inset 0 1px 0 rgba(200, 155, 26, .7), 0 -10px 30px rgba(0, 0, 0, .6); animation: none; }
  html.x-top-menu .x-top-menu-panel.x-top-menu-sheet[hidden] { display: none; }
  html.x-top-menu .x-top-menu-sh { flex: none; padding: 6px 12px 4px; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
  html.x-top-menu .x-top-menu-grab { display: block; width: 44px; height: 5px; margin: 0 auto 4px; border-radius: 3px; background: #5a5a5a; }
  html.x-top-menu .x-top-menu-shr { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
  html.x-top-menu .x-top-menu-sht { font: 700 19px/1.1 Cinzel, Georgia, serif; color: #ffd75e; }
  html.x-top-menu .x-top-menu-x { position: relative; display: flex; align-items: center; gap: 7px; box-sizing: border-box; height: 32px; padding: 2px 13px; border: 0; border-radius: 999px; color: var(--gold, #ffd100); font: 700 13px/1 "Open Sans", system-ui, sans-serif; background: linear-gradient(180deg, #332d1e, #25211a); box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .6); cursor: pointer; }
  html.x-top-menu .x-top-menu-x::after { content: ""; position: absolute; inset: -4px -2px; }
  html.x-top-menu .x-top-menu-x:active { background: linear-gradient(180deg, #5a4a1e, #3f3415); }
  html.x-top-menu .x-top-menu-bd { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 4px 12px 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-lead { margin-bottom: 12px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-lh { margin-bottom: 8px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-lh span { font-size: 13px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-pics { gap: 8px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-pic > span { padding: 7px 8px 8px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-pic b { font-size: 13px; gap: 5px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-pic em { font-size: 13px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-none { padding: 10px; font-size: 13px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-none b { font-size: 13px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-none a { display: flex; align-items: center; min-height: 40px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-h { font-size: 13px; letter-spacing: .08em; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-grid,
  html.x-top-menu .x-top-menu-sheet .x-top-menu-grid.x-top-menu-g9 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-cell { padding: 4px; gap: 0; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-g { flex-direction: column; gap: 4px; padding: 8px 2px 6px; text-align: center; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-g img { width: 40px; height: 40px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-g span { width: 100%; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-g b { font-size: 13px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-g em { font-size: 13px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-v,
  html.x-top-menu .x-top-menu-sheet .x-top-menu-nov { justify-content: center; min-height: 40px; padding: 0 4px; font-size: 13px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-vw { display: none; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-g:active,
  html.x-top-menu .x-top-menu-sheet .x-top-menu-v:active { background: #3a3a3a; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-foot { flex-wrap: wrap; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-all { position: relative; flex: 1 1 140px; justify-content: center; font-size: 13px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-all::after { content: ""; position: absolute; inset: -4px 0; }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  html.x-top-menu .x-top-menu-panel.x-top-menu-sheet.x-top-menu-up { animation: x-top-menu-up .2s cubic-bezier(.2, .8, .3, 1); }
}
@keyframes x-top-menu-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (max-width: 359px) {
  html.x-top-menu .x-top-menu-sheet .x-top-menu-lh span { display: none; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-all { flex-basis: 100%; white-space: nowrap; }
}

/* ---- (24 Nov 2026, the staging build) Chris on the search button: "too tall & wrong place". ----
   It was 36 px in a row of 32 px pills, in the middle of the row. Now it is 32 px like the rest and it is the row's last stop, at
   the right end, after What's new. The menu's links join the header's own line for that (display:contents), so the search can take
   its place after the header's own buttons; the 6 px between pills is kept. A computer only: a phone's row already ends on it. */
@media (min-width: 768px) {
  html.x-top-menu .masthead.v2m > #v2nav { display: contents; }
  html.x-top-menu .masthead.v2m > #v2nav > a { order: 1; }
  html.x-top-menu .masthead.v2m > #v2nav > a[data-k="tg"] { margin-left: -6px; }
  html.x-top-menu .masthead.v2m > #v2nav > a.tfs-door { order: 3; flex: none; box-sizing: border-box; width: 32px; height: 32px; min-height: 32px; margin: 0 0 0 -6px; padding: 0; border-radius: 50%; }
  html.x-top-menu .masthead.v2m > #v2nav > a.tfs-door i { width: 28px; height: 28px; }
}

/* ---- (24 Nov 2026, the staging build) the Guides panel: a class press swaps the card. ----
   Chris: "work on the function & feel of these buttons inside this. i'd like if you click the other class icon. you'll swap how
   this pop out card looks & then can pick a direction you want to go down." Nine presses in one row, the picked one lit in gold
   with a bar of its class colour; pointing changes only a press's light; a press goes down a pixel under the finger. The two
   doors of the card (class guide, leveling video) light their own picture and a play mark when pointed at. */
html.x-top-menu .x-top-menu-row { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
html.x-top-menu .x-top-menu-row > li { display: block; min-width: 0; }
html.x-top-menu .x-top-menu-c { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 100%; min-width: 0; box-sizing: border-box; margin: 0; padding: 7px 2px 6px; border: 0; border-radius: 8px; background: #262626; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .12s ease-out, box-shadow .12s ease-out; }
html.x-top-menu .x-top-menu-c img { display: block; width: 40px; height: 40px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .85), 0 2px 5px rgba(0, 0, 0, .45); filter: saturate(.85) brightness(.9); transition: filter .12s ease-out; }
html.x-top-menu .x-top-menu-c b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cc, #e8e8e8); font-size: 12px; font-weight: 700; line-height: 1.2; }
html.x-top-menu .x-top-menu-c em { display: flex; align-items: center; gap: 4px; min-height: 13px; color: #9a8a4a; font-style: normal; font-size: 10.5px; font-weight: 700; line-height: 1; }
html.x-top-menu .x-top-menu-c em .x-top-menu-play { border-width: 3.5px 0 3.5px 6px; }
html.x-top-menu .x-top-menu-c em.x-top-menu-cn { visibility: hidden; }
html.x-top-menu .x-top-menu-c:hover { background: #313131; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
html.x-top-menu .x-top-menu-c:hover img, html.x-top-menu .x-top-menu-c:focus-visible img { filter: none; }
html.x-top-menu .x-top-menu-c:focus-visible { outline: 2px solid var(--gold, #ffd100); outline-offset: 2px; }
html.x-top-menu .x-top-menu-c:active { transform: translateY(1px); background: #2a2a2a; }
html.x-top-menu .x-top-menu-c[aria-pressed="true"] { background: linear-gradient(180deg, #332d1e, #25211a); box-shadow: inset 0 0 0 1px var(--gold2, #c89b1a), inset 0 -3px 0 var(--cc, #ffd100), 0 0 14px rgba(255, 209, 0, .14); cursor: default; }
html.x-top-menu .x-top-menu-c[aria-pressed="true"] img { filter: none; box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--gold2, #c89b1a), 0 2px 6px rgba(0, 0, 0, .5); }
html.x-top-menu .x-top-menu-c[aria-pressed="true"] em { color: var(--gold, #ffd100); }
/* the card of the picked class */
html.x-top-menu .x-top-menu-lead { margin: 0; }
html.x-top-menu .x-top-menu-ask { position: relative; display: block; padding: 0; border-radius: 8px; background: #262626; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); color: #bdbdbd; }
html.x-top-menu .x-top-menu-askt b { color: #ffd75e; font: 700 18px/1.2 Cinzel, Georgia, serif; }
html.x-top-menu .x-top-menu-pic { position: relative; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 -2px 0 rgba(0, 0, 0, 0); }
html.x-top-menu .x-top-menu-im { position: relative; display: block; overflow: hidden; }
html.x-top-menu .x-top-menu-im img { filter: brightness(.9); transition: filter .15s ease-out; }
html.x-top-menu .x-top-menu-go { position: absolute; left: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(12, 12, 12, .78); box-shadow: 0 0 0 1.5px rgba(200, 155, 26, .8), 0 2px 8px rgba(0, 0, 0, .6); transition: background .15s ease-out, box-shadow .15s ease-out; }
html.x-top-menu .x-top-menu-go::before { content: ""; position: absolute; left: 13px; top: 10px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #ffd100; }
html.x-top-menu .x-top-menu-pic:is(:hover, :focus-visible) .x-top-menu-im img { filter: none; }
html.x-top-menu .x-top-menu-pic:is(:hover, :focus-visible) .x-top-menu-go { background: #ffd100; box-shadow: 0 0 0 1.5px #fff3b0, 0 0 16px rgba(255, 209, 0, .55); }
html.x-top-menu .x-top-menu-pic:is(:hover, :focus-visible) .x-top-menu-go::before { border-left-color: #1a1400; }
html.x-top-menu .x-top-menu-pic:is(:hover, :focus-visible) { box-shadow: inset 0 0 0 1px var(--gold2, #c89b1a), inset 0 -3px 0 var(--cc, #ffd100), 0 0 14px rgba(255, 209, 0, .2); }
html.x-top-menu .x-top-menu-pic:active { transform: translateY(1px); }
@media (max-width: 767px) {
  html.x-top-menu .x-top-menu-sheet .x-top-menu-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-c { flex-direction: row; justify-content: flex-start; gap: 8px; min-height: 48px; padding: 6px 8px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-c img { width: 32px; height: 32px; flex: none; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-c b { font-size: 13px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-c em { display: none; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-go { width: 28px; height: 28px; left: 7px; bottom: 7px; }
  html.x-top-menu .x-top-menu-sheet .x-top-menu-go::before { left: 11px; top: 8px; border-width: 6px 0 6px 9px; }
}
/* until a door's picture is here, its place is the class's own colour over the dark, never an empty box */
html.x-top-menu .x-top-menu-im { aspect-ratio: 1200 / 630; background: #161616 linear-gradient(135deg, color-mix(in srgb, var(--cc, #c89b1a) 38%, #161616), #161616 70%); }
html.x-top-menu .x-top-menu-im img { width: 100%; height: 100%; object-fit: cover; }

/* ---- (24 Nov 2026, Chris, from his phone, the top of the page circled: "Top menu on mobile can be balanced better") ----
   The pills sat bunched at the left with an empty stretch before the search. Now the row is one even line: the pills share its
   whole width equally, each with its icon and word in the middle, and the search closes the row at the right at the same
   height. Nothing gets taller: every door is still 32 px. */
@media (max-width: 767px) {
  html.x-top-menu .masthead.v2m > .v2nav { justify-content: space-between; gap: 6px; }
  html.x-top-menu .masthead.v2m > .v2nav > a[data-k] { flex: 1 1 0; min-width: 0; justify-content: center; }
  html.x-top-menu .masthead.v2m > .v2nav > a.tfs-door { flex: none; margin-left: 0; }
}

/* ---- (24 Nov 2026, Chris, from his phone on a creator's page, the top circled: "Overlap") ----
   The book is 54 px tall but counts for 38 in the header's line (it has 8 px of give above and below). On a page whose line
   under the name is a single line, the header's first line was only 39 px tall, so the book hung 8 px out of it and the menu
   row started 4 px inside the book. The words beside the book now hold the line as tall as the book, so the menu row always
   starts 4 px under it, on every page (the calculator's own header is laid out another way and was already right). */
@media (max-width: 767px) {
  html.x-top-menu .masthead.v2m > .mtext { min-height: 54px; }
}

/* ---- (24 Nov 2026, Chris, from his phone, the top of the calculator circled: "Up here just looks so bland and not lined up
   well. How can we improve this? It's hands down what people see a lot") ----
   LINED UP. One grid for every page's head on a phone (760 px and under). The book's gold ring, the pills and the cards under them start on one
   left edge; the two round doors and the search end on one right edge, the Addon straight above the search; the book, the name
   with its line, and the round doors share one centre line; the gaps are one size (8 px book to pills, 8 px between pills,
   8 px between the round doors). Every door is 34 px.
   (THE SCENE BEHIND THE TOP WAS TAKEN OUT THE SAME NIGHT, see the last block of this file. What it said then:)
   NOT BLAND. The top of the screen is lit by the picked class's own scene (the trees' art, already loaded), soft, behind the
   name, melting down into the page with no edge; where a page has no class it is the book's own gold light. Nothing moves by
   itself: the light changes only when the reader picks another class. */
@media (max-width: 767px) {
  html.x-top-menu:not(#_) header.masthead.v2m { display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto auto !important; grid-template-rows: auto auto !important; column-gap: 8px !important; row-gap: 0 !important; align-items: center; padding-bottom: 8px; margin-bottom: 10px; }
  /* the book: its ring (5 px outside the picture) starts on the content's left edge */
  html.x-top-menu:not(#_) header.masthead.v2m > .mbookw { grid-column: 1 !important; grid-row: 1 !important; align-self: center; width: 46px; height: 46px; margin: 5px 3px 5px 5px; }
  html.x-top-menu:not(#_) header.masthead.v2m > .mbookw .hs-wrap,
  html.x-top-menu:not(#_) header.masthead.v2m > .mbookw img.mbook { width: 46px; height: 46px; }
  /* the name and its line: one block beside the book, centred on it whether the line is there, is one line or is two */
  html.x-top-menu:not(#_) header.masthead.v2m > .mtext { grid-column: 2 / -1 !important; grid-row: 1 !important; display: flex !important; flex-direction: column; justify-content: center; align-self: center; min-width: 0; min-height: 0; }
  html.x-top-menu:not(#_) header.masthead.v2m:has(> #whatsNew, > #addonBtn) > .mtext { grid-column: 2 !important; }
  html.x-top-menu:not(#_) header.masthead.v2m > .mtext > .brand { align-self: stretch; min-width: 0; margin: 0; white-space: nowrap; font-size: 21px; line-height: 1.15; }
  html.x-top-menu:not(#_) header.masthead.v2m > .mtext > .tag { align-self: stretch; min-width: 0; }
  html.x-top-menu:not(#_) header.masthead.v2m:has(> #whatsNew):has(> #addonBtn) > .mtext > .brand { font-size: clamp(14px, calc((100vw - 186px) / 9.5), 21px); }
  /* the two round doors: on the book's centre line, at the right edge */
  html.x-top-menu:not(#_) header.masthead.v2m > #whatsNew { grid-column: 3 !important; grid-row: 1 !important; align-self: center !important; justify-self: end !important; width: 34px; height: 34px; margin: 0 !important; }
  html.x-top-menu:not(#_) header.masthead.v2m > #whatsNew::before { width: 32px; height: 32px; }
  /* (between 481 and 760 px the old head drew a short dividing line beside What's new: the round doors stand alone now, and that
     place is the door's wider tap instead) */
  html.x-top-menu:not(#_) header.masthead.v2m > #whatsNew::after { content: ""; position: absolute; inset: -4px; width: auto; height: auto; background: none; }
  html.x-top-menu:not(#_) header.masthead.v2m > #addonBtn { grid-column: 4 !important; grid-row: 1 !important; align-self: center !important; justify-self: end !important; width: 34px; height: 34px; margin: 0 !important; }
  html.x-top-menu:not(#_) header.masthead.v2m > #addonBtn .pico,
  html.x-top-menu:not(#_) header.masthead.v2m > #addonBtn img { width: 32px; height: 32px; }
  /* the pills' row: edge to edge, 8 px under the book. Where the three pills fit at one width they share the row equally (400 px
     and up); under that each is as wide as its own word needs and they share what is left, so no icon ever leaves its pill */
  html.x-top-menu:not(#_) header.masthead.v2m > .v2nav { grid-column: 1 / -1 !important; grid-row: 2 !important; height: 34px; margin: 8px 0 0 !important; gap: 8px; }
  /* (29 Nov 2026, the sweep) the Training Grounds pages (the ladder, the rules, the update log) carry their own strip (nav.dn) in the
     same head: with no place of its own it took the grid's first column and stretched it to 334 px, so the page scrolled sideways
     on every phone (484 to 594 px wide). It takes the row under the menu, as wide as the page, and scrolls inside itself. */
  html.x-top-menu:not(#_) header.masthead.v2m > nav.dn { grid-column: 1 / -1 !important; grid-row: 3 !important; min-width: 0; max-width: 100%; margin: 8px 0 0 !important; }
  html.x-top-menu:not(#_) header.masthead.v2m > .v2nav > a[data-k] { flex: 1 1 auto; height: 34px; min-height: 34px; }
  html.x-top-menu:not(#_) header.masthead.v2m > .v2nav > a[data-k]::before { width: 26px; height: 26px; }
  html.x-top-menu:not(#_) header.masthead.v2m > .v2nav > a.tfs-door { width: 34px; height: 34px; min-height: 34px; }
  html.x-top-menu:not(#_) header.masthead.v2m > .v2nav > a.tfs-door i { width: 32px; height: 32px; }
}
@media (min-width: 400px) and (max-width: 767px) {
  html.x-top-menu:not(#_) header.masthead.v2m > .v2nav > a[data-k] { flex: 1 1 0; }
}
@media (max-width: 374px) {
  html.x-top-menu:not(#_) header.masthead.v2m > .v2nav { gap: 6px; }
  html.x-top-menu:not(#_) header.masthead.v2m > .v2nav > a[data-k] { padding: 2px 10px 2px 4px; gap: 5px; }
  html.x-top-menu:not(#_) header.masthead.v2m > .v2nav > a[data-k]::before { width: 24px; height: 24px; }
}
@media (max-width: 349px) {
  /* the smallest phones: the words alone, in the same pills */
  html.x-top-menu:not(#_) header.masthead.v2m > .v2nav > a[data-k] { padding: 2px 8px; }
  html.x-top-menu:not(#_) header.masthead.v2m > .v2nav > a[data-k]::before { display: none; }
  /* and the line under the name says the game build without its date, whole, instead of being cut */
  html.x-top-menu:not(#_) header.masthead.v2m.tfs-wnid.tfs-gift .tag a.upsrc { font-size: 0; }
  html.x-top-menu:not(#_) header.masthead.v2m.tfs-wnid.tfs-gift .tag a.upsrc::before { content: "game build "; font-size: 12px; line-height: 1.4; }
}
/* ---- (24 Nov 2026, later. Chris on the class scene that was drawn behind the phone's top: "That back ground style was a
   decent idea but it doesn't feel right", and, shown six ideas, "Show me the absolut best version".) ----
   No picture. Three things, each small:
   1. THE BOOK'S OWN LIGHT. A soft gold glow from behind the book, the same on every page, gone to nothing before it reaches any
      edge (on his phone the scene had started with a hard line under Safari's status bar).
   2. THE CLASS, BY NAME AND COLOUR. On the calculator the line under the name says where you are: the class in its own colour,
      then how many builds players planned for it (the page's own counter, the same number and words as under Popular builds).
      x.js writes that line and picks the longest wording that fits the phone; the page's own heading is kept for screen readers
      and search, only moved out of sight.
   3. THE LINE UNDER THE MENU TAKES THE CLASS'S COLOUR, so the top answers a tap on another class. Nothing moves by itself. */
html.x-top-menu .x-top-menu-line { display: none; }
@media (max-width: 767px) {
  html.x-top-menu:not(#_) header.masthead.v2m { position: relative; isolation: isolate; }
  html.x-top-menu:not(#_) header.masthead.v2m::before { content: ""; position: absolute; z-index: -1; top: -28px; bottom: -18px; left: calc(50% - 50vw); width: 100vw; pointer-events: none;
    background: radial-gradient(ellipse 72% 58% at 9% 41%, rgba(255, 184, 64, .32), rgba(255, 184, 64, .10) 48%, rgba(255, 184, 64, 0) 100%);
    /* (30 Nov 2026, Chris on his phone: "The top color is like too drastic against the no color cut off lines on phones. Blend it
       softly?") the glow still stood at a third of its light where the page begins, under the phone's dark status strip, so the
       two met in a line. It fades in from nothing at the page's top edge to its full light by the middle of the site's name. */
    -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 12px, rgba(0, 0, 0, .35) 40px, #000 92px); mask-image: linear-gradient(180deg, transparent 0, transparent 12px, rgba(0, 0, 0, .35) 40px, #000 92px); }
  html.x-top-menu:not(#_) header.masthead.v2m.x-top-menu-cls > .mtext > .tag { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; }
  html.x-top-menu:not(#_) header.masthead.v2m.x-top-menu-cls > .mtext > .x-top-menu-line { display: block; align-self: stretch; min-width: 0; margin: 2px 0 0; overflow: hidden; white-space: nowrap; color: var(--ink2, #bdbdbd); font: 400 13px/1.4 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; letter-spacing: 0; }
  html.x-top-menu:not(#_) header.masthead.v2m .x-top-menu-line b { color: var(--x-top-menu-cc, #e8e8e8); font-weight: 700; }
  html.x-top-menu:not(#_) header.masthead.v2m .x-top-menu-line em { font-style: normal; font-weight: 700; color: var(--ink, #e8e8e8); font-variant-numeric: tabular-nums; }
  html.x-top-menu:not(#_) header.masthead.v2m .x-top-menu-line i { margin: 0 5px; font-style: normal; color: #6f6f6f; }
  html.x-top-menu:not(#_) header.masthead.v2m.x-top-menu-cls { border-bottom-width: 2px; border-image: linear-gradient(90deg, var(--x-top-menu-cc, #c89b1a), transparent 72%) 1; }
  @supports (color: color-mix(in srgb, red 50%, transparent)) {
    html.x-top-menu:not(#_) header.masthead.v2m.x-top-menu-cls { border-image: linear-gradient(90deg, var(--x-top-menu-cc, #c89b1a), color-mix(in srgb, var(--x-top-menu-cc, #c89b1a) 40%, transparent) 50%, transparent) 1; }
  }
}

/* >>> the search field in the top (26 Nov 2026, his pick of the sixteen; made by research/stage/make_top_13.py, do not edit by hand) */
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m > .v2nav > a[data-k][aria-current="page"] { background: linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,0) 46%), linear-gradient(180deg, #5a4a1e, #3f3415) !important; color: #ffe36b !important; box-shadow: inset 0 0 0 1.5px #ffd100, 0 0 12px rgba(255, 209, 0, .25), 0 3px 9px rgba(0, 0, 0, .5) !important; }
@media (max-width: 767px) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m.x-top-menu-cls { border-image:linear-gradient(90deg,#c89b1a,rgba(200,155,26,.4) 50%,transparent) 1!important }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m.x-top-menu-cls > .mtext > .x-top-menu-line,
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m .ti-c .x-top-menu-line { display:none!important }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m > .mtext > .tag { position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m .ti-find { position:relative;display:flex;align-items:center;gap:7px;box-sizing:border-box;min-width:0;margin:0;padding:0 11px;border:0;border-radius:999px;background:linear-gradient(180deg,#0b0b0b,#171717);box-shadow:inset 0 0 0 1px rgba(200,155,26,.62),inset 0 2px 5px rgba(0,0,0,.85),0 1px 0 rgba(255,255,255,.05);color:#a8a8a8;font:400 13px/1 'Open Sans',system-ui,'Segoe UI',Arial,sans-serif;text-align:left;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m .ti-find::after { content:'';position:absolute;inset:-7px 0 }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m .ti-find svg { flex:none;width:14px;height:14px;color:#ffd100 }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m .ti-find span { flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m .ti-find kbd { flex:none;padding:2px 7px;border-radius:5px;background:#242424;box-shadow:inset 0 0 0 1px #3a3a3a;color:#bdbdbd;font:600 11.5px/1.2 'Open Sans',system-ui,sans-serif }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m .ti-find:is(:hover,:focus-visible) { color:#e2e2e2;box-shadow:inset 0 0 0 1.5px #ffd100,inset 0 2px 5px rgba(0,0,0,.85),0 0 12px rgba(255,209,0,.2) }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m .ti-find { align-self:stretch;height:28px;margin-top:2px }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m > .v2nav > a.tfs-door { display:none!important }
}
@media (min-width: 768px) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m { position:relative;isolation:isolate }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m { padding-bottom:11px!important;border-bottom:2px solid transparent!important;border-image:linear-gradient(90deg,#c89b1a,rgba(200,155,26,.45) 42%,rgba(200,155,26,.3)) 1!important }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m .ti-find { position:relative;display:flex;align-items:center;gap:7px;box-sizing:border-box;min-width:0;margin:0;padding:0 11px;border:0;border-radius:999px;background:linear-gradient(180deg,#0b0b0b,#171717);box-shadow:inset 0 0 0 1px rgba(200,155,26,.62),inset 0 2px 5px rgba(0,0,0,.85),0 1px 0 rgba(255,255,255,.05);color:#a8a8a8;font:400 13px/1 'Open Sans',system-ui,'Segoe UI',Arial,sans-serif;text-align:left;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m .ti-find::after { content:'';position:absolute;inset:-7px 0 }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m .ti-find svg { flex:none;width:14px;height:14px;color:#ffd100 }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m .ti-find span { flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m .ti-find kbd { flex:none;padding:2px 7px;border-radius:5px;background:#242424;box-shadow:inset 0 0 0 1px #3a3a3a;color:#bdbdbd;font:600 11.5px/1.2 'Open Sans',system-ui,sans-serif }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m .ti-find:is(:hover,:focus-visible) { color:#e2e2e2;box-shadow:inset 0 0 0 1.5px #ffd100,inset 0 2px 5px rgba(0,0,0,.85),0 0 12px rgba(255,209,0,.2) }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m > .ti-find { display:none }
}
@media (min-width: 1001px) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m > .mtext { flex:0 1 auto!important }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m > .ti-find { display:flex;order:0;flex:0 1 400px;min-width:120px;height:34px;margin:0 auto;padding:0 8px 0 13px }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m > .v2nav > a.tfs-door { display:none!important }
}
@media (min-width: 1101px) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m > .v2nav > a[data-k]:not([aria-current]),
  html.x-top-menu:not(.x-top-try):not(#_):not(#__) header.masthead.v2m > #addonBtn { background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,0) 46%),linear-gradient(180deg,#3b3222,#29231a)!important;box-shadow:inset 0 0 0 1px rgba(226,180,48,.95),0 3px 9px rgba(0,0,0,.5)!important }
}
/* <<< the search field in the top */
/* (29 Nov 2026, the sweep) the server writes the field twice (server.js v2Menu): in the name's block for a phone, beside it for a
   computer. Each window shows its own, so nothing is moved in after the page shows. Written by hand, outside the block above. */
@media (max-width: 767px) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m > .ti-find { display: none !important; }
}
@media (min-width: 768px) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m > .mtext > .ti-find { display: none !important; }
}
/* the field's words: a 13 px line in a box that hides its overflow cut the bottoms off p, g and the commas */
html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m .ti-find span { line-height: 18px; }
/* (29 Nov 2026, the sweep) the line under the name beside the search field ran out of room on the guides, Data, Popular and
   talent-changes pages and ended in an ellipsis mid-word ("Back to Class, what changed for your class since ..."). Its two halves
   (the bold name and the words after the comma) now stand as two pieces on one line: the second shows only whole, else the line
   is the name alone. Nothing else moves: the line keeps its one-line height and the same width as before. */
@media (min-width: 768px) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m > .mtext > .tag:has(> b) { display: flex; flex-wrap: wrap; align-items: baseline; height: 1lh; overflow: hidden; text-overflow: clip; }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m > .mtext > .tag:has(> b) > b { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* (29 Nov 2026, the sweep) inside a guide's "Try it here" frame (html.lab-part) the page's head is put away (lab/lab-guides.css,
   .lab-away), but the phone head's display:grid above outranked it, so every frame on a phone showed the whole site head again */
html.lab-part.x-top-menu:not(#_):not(#__):not(#___) header.masthead.lab-away { display: none !important; }

/* (29 Nov 2026, the sweep) a thumb's 44 px on a phone, unseen: the three pills (34 px tall, 42 with their old room), the Addon
   door (34 px) and the search field (28 px) */
@media (max-width: 767px) {
  html.x-top-menu:not(#_):not(#__):not(#___) header.masthead.v2m > .v2nav > a[data-k]::after { top: -4px; bottom: -6px; }
  html.x-top-menu:not(#_):not(#__):not(#___) header.masthead.v2m > #addonBtn::after { inset: -5px; }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m .ti-find::after { inset: -8px 0; }
}

/* (29 Nov 2026, the sweep) pressing What's new spent its unread dot, the pill lost the dot's 15 px and every pill beside it slid
   over: the dot's room stays and only its light goes. And pointing at the Addon door lifted it 2 px: its glow says it alone. */
html.x-top-menu:not(#_):not(#__) .whatsnew .dot { display: block; visibility: hidden; }
html.x-top-menu:not(#_):not(#__) .whatsnew.unread .dot, html.x-top-menu:not(#_):not(#__) .whatsnew.beta .dot.on { visibility: visible; }
html.x-top-menu:not(#_):not(#__) .gift:hover { transform: none; }

/* (30 Nov 2026, Chris on a computer: "the addon inner circle should not be teal") the Addon's picture kept the live button's own
   teal ring (index.html .gift.addon --c) inside a gold pill. Its ring is the gold of What's new's beside it, at every width. */
html.x-top-menu:not(#_):not(#__) .masthead.v2m > #addonBtn .pico { box-shadow: 0 0 0 1.5px var(--gold2, #c89b1a), 0 2px 6px rgba(0, 0, 0, .5); }
@media (min-width: 1024px) {
  html.x-top-menu:not(#_):not(#__) .masthead.v2m > #addonBtn .pico { box-shadow: 0 0 0 1.5px #d9b24a, 0 2px 6px rgba(0, 0, 0, .5); }
  /* (30 Nov 2026, Chris on a computer: "what's new seems long horizontal. like a lot of empty space on the right in that button.
     maybe thats for when the button arrives or something but anyways i think you can do better here") it was: the unread dot stood
     after the words, and since 29 Nov its 15 px stayed when the dot went out, so the pill would not shrink under the hand. The dot
     is a small light on the scroll picture's corner now, as on the round door of narrower screens: it takes no room, so the pill
     is as wide as its words whether there is news or not, and still nothing moves when the news is read. */
  html.x-top-menu:not(#_):not(#__) .masthead.v2m > #whatsNew .dot { position: absolute; left: 21px; top: 1px; width: 9px; height: 9px; box-shadow: 0 0 0 2px #26231a, 0 0 8px var(--gold, #ffd100); }
}

/* (29 Nov 2026, the sweep) under 360 px the simple pages' head (About, Ideas, Contact, Terms: .top.tfs-top) held the three pills
   and the search door in 305 px of a 292 px row, so the page scrolled 3 px sideways: a little less room at each pill's end */
@media (max-width: 359px) {
  html.x-top-menu:not(#_):not(#__) .top.tfs-top > #v2nav { gap: 5px; }
  html.x-top-menu:not(#_):not(#__) .top.tfs-top > #v2nav > a[data-k] { padding-right: 9px; }
}

/* (29 Nov 2026, the sweep) the round play mark on the two pictures in the Guides panel sat on the pictures' own words ("CLASSIC"
   read "LASSIC", "Levels 1 to 9" hidden): the line under each picture already starts with its play mark, so the picture is whole */
html.x-top-menu:not(#_) .x-top-menu-pic .x-top-menu-go { display: none; }

/* (30 Nov 2026, Chris: "i like expect to just type into it. but it opens a lower level bar ... and has like a duplicate") From 768 px
   the site's search row stands on the field in the top menu (x.js sets where): its box is the field, in the field's own look, and
   what it shows (the first lines, Find a talent's line, the answers) is one panel right under it, over the page. The field itself
   steps out of sight while its box is on it, so there is only ever one. (30 Nov, later) A phone too: the answers' panel is the
   screen's width less a 10 px edge, and what it shows scrolls inside the room above the keyboard (x.js, --x-top-menu-ph). */
@media all {
  html.x-top-menu.x-top-menu-drop #tfsRow { position: absolute; z-index: 90; left: var(--x-top-menu-fx); top: var(--x-top-menu-fy); width: var(--x-top-menu-fw);
    margin: 0; padding: 0; border: 0; background: none; box-shadow: none; overflow: visible; }
  html.x-top-menu.x-top-menu-drop #tfsRow[hidden] { display: none; }
  /* (1 Dec 2026, the audit) these were :has(#... :not([hidden])) on html and body. With them every hidden change anywhere on the page (the talent tooltip on each show) made the browser restyle the whole page: about 0.3 s on every talent press, and the creator credits' tries froze a slower phone for seconds. The piece's script says it with a class on html instead (x.js, mirror) */
  html.x-top-menu.x-top-menu-drop.x-top-menu-finding header.masthead.v2m .ti-find { visibility: hidden; }
  html.x-top-menu.x-top-menu-drop #tfsRow > .tfs-form { box-sizing: border-box; width: var(--x-top-menu-fw); height: var(--x-top-menu-fh); margin: 0; padding: 0 10px 0 12px; gap: 8px;
    border: 1.5px solid var(--gold, #ffd100); border-radius: 999px; background: #14110b; box-shadow: 0 0 0 3px rgba(255, 209, 0, .14); }
  html.x-top-menu.x-top-menu-drop #tfsRow > .tfs-form > input { height: 100%; min-width: 0; padding: 0; border: 0; background: none; font-size: 15px; box-shadow: none; outline: none; }
  html.x-top-menu.x-top-menu-drop #tfsRow > .tfs-form > .tfs-x { width: 24px; height: 24px; }
  /* the x only once there are words to clear (Escape and a tap outside close it before), so the hint has the field's room */
  html.x-top-menu.x-top-menu-drop #tfsRow > .tfs-form:has(> input:placeholder-shown) > .tfs-x { display: none; }
  html.x-top-menu.x-top-menu-drop #tfsRow > :not(.tfs-form):not(.tfs-sr) { box-sizing: border-box; width: var(--x-top-menu-pw); margin-left: var(--x-top-menu-px); max-width: none;
    background: #17140f; border-left: 1px solid rgba(255, 209, 0, .3); border-right: 1px solid rgba(255, 209, 0, .3); }
  html.x-top-menu.x-top-menu-drop #tfsRow > .tfs-form + :not(.tfs-sr) { margin-top: 8px; border-top: 1px solid rgba(255, 209, 0, .3); border-radius: 10px 10px 0 0; padding-top: 6px; }
  html.x-top-menu.x-top-menu-drop #tfsRow > #tfsList { max-height: min(62vh, 560px, var(--x-top-menu-ph, 560px)); overflow: auto; overscroll-behavior: contain; border-bottom: 1px solid rgba(255, 209, 0, .3);
    border-radius: 0 0 10px 10px; padding-bottom: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
  html.x-top-menu.x-top-menu-drop #tfsRow > #tfsList:empty, html.x-top-menu.x-top-menu-drop #tfsRow > #tfsList[hidden] { display: none; }
  html.x-top-menu.x-top-menu-drop #tfsRow > .x-search-2-first { max-height: var(--x-top-menu-ph, none); overflow: auto; overscroll-behavior: contain; padding: 10px 14px 12px; border-bottom: 1px solid rgba(255, 209, 0, .3); border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
}
/* a phone's box: the words at 16 px so the phone does not zoom in on them */
@media (max-width: 767px) {
  html.x-top-menu.x-top-menu-drop #tfsRow > .tfs-form > input { font-size: 16px; }
  html.x-top-menu.x-top-menu-drop #tfsRow > .x-search-2-first { padding: 8px 12px 10px; }
}

/* ---- What's new, in the other doors' shape (30 Nov 2026, Chris: "i feel like the what's new panel is really good but it needs to
   be slightly updated to the feel & function of the press of the other buttons where it doesn't dominate your whole screen. can you
   do that somehow while it remains in its functional state?") It was the page's drawer: the whole right side of the screen, top to
   bottom, the page behind it dimmed. Everything in it is as it was; it only stands as the Guides, Training and Data panels do.
   A computer: a card under its own door (x.js sets where), its own width (Expand and its drag still widen it), no taller than
   720 px with its list scrolling inside, the same rim and shadow as the other panels, and the page behind it is not dimmed (a press
   outside still closes it; the top's other doors stay pressable, x.js). */
@media (min-width: 768px) {
  html.x-top-menu #logDrawer.drawer { top: var(--x-top-menu-wn-top, 69px); right: var(--x-top-menu-wn-right, 16px); bottom: auto; max-width: calc(100vw - 24px - var(--x-top-menu-wn-right, 16px));
    max-height: min(720px, calc(100vh - var(--x-top-menu-wn-top, 69px) - 16px)); border-left: 0; border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .55), 0 16px 40px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .5); animation: none; }
  html.x-top-menu #logBack.dback { background: transparent; }
  html.x-top-menu.x-top-menu-log header.masthead.v2m { z-index: 72; }
}
/* A phone: the other doors' sheet. It rises from the foot with the page still seen above it, has their grab bar, follows the finger
   from its head or from its list at the top, and a pull down closes it (x.js, the shared sheetDrag). */
@media (max-width: 767px) {
  html.x-top-menu #logDrawer.drawer { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); border-left: 0; border-radius: 14px 14px 0 0;
    box-shadow: inset 0 1px 0 rgba(200, 155, 26, .7), 0 -10px 30px rgba(0, 0, 0, .6); animation: none; }
  html.x-top-menu #logDrawer.drawer > .dhead { position: relative; padding-top: 20px; touch-action: none; }
  html.x-top-menu #logDrawer.drawer > .dhead::before { content: ""; position: absolute; left: 50%; top: 8px; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: #5a5a5a; }
  html.x-top-menu #logBack.dback { background: rgba(0, 0, 0, .6); touch-action: none; }
}

/* ==== (1 Dec 2026, the audit: Chris, "Audit everything to subtle detailed improvements you can make across everything on the website
   to make the user experience as enjoyable and fluid as possible") Small things found walking every door, each fixed below. ==== */

/* the Guides card when no class is picked: as tall as a class's card (an unseen card of the same parts under its words, x.js) */
html.x-top-menu .x-top-menu-ghost { visibility: hidden; }
html.x-top-menu .x-top-menu-ghost .x-top-menu-lh i { display: block; flex: none; width: 36px; height: 36px; }
html.x-top-menu .x-top-menu-askt { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 18px 16px; }

/* a sheet's Close pill and its two doors to every guide: a thumb's 44 px, unseen (the pills keep their look) */
@media (max-width: 767px) {
  html.x-top-menu:not(#_) .x-top-menu-x::after { inset: -6px -2px; }
  html.x-top-menu:not(#_) .x-top-menu-sheet .x-top-menu-all::after { inset: -2px 0; }
}
/* the doors at a card's foot: one kind in every card (Guides here, Training and Addon in lab/x/door-peek): the menu's own gold pill
   with its round picture, 36 px on a computer, 40 on a phone */
html.x-top-menu:not(#_) .x-top-menu-all { min-height: 36px; gap: 8px; padding: 2px 14px 2px 5px; color: var(--gold, #ffd100); }
html.x-top-menu:not(#_) .x-top-menu-all::before { width: 26px; height: 26px; }
@media (max-width: 767px) {
  html.x-top-menu:not(#_) .x-top-menu-sheet .x-top-menu-all { min-height: 40px; }
}

/* the nine class presses of a phone's sheet under 360 px: the icon over the name, so no name is cut ("War..." for Warrior) */
@media (max-width: 359px) {
  html.x-top-menu:not(#_) .x-top-menu-sheet .x-top-menu-c { flex-direction: column; justify-content: center; gap: 3px; min-height: 58px; padding: 6px 2px 5px; }
  html.x-top-menu:not(#_) .x-top-menu-sheet .x-top-menu-c img { width: 28px; height: 28px; }
  html.x-top-menu:not(#_) .x-top-menu-sheet .x-top-menu-c b { font-size: 12.5px; }
}

/* the search's answers: one panel of rows, whichever rows show (x.js marks the first and the last seen). The foot ("See all
   results", "Nothing by that name.") is the panel's last row, not a bare strip under it */
@media all {
  html.x-top-menu.x-top-menu-drop:not(#_) #tfsRow > :not(.tfs-form):not(.tfs-sr) { margin-top: 0; border-top: 0; border-bottom: 0; border-radius: 0; }
  html.x-top-menu.x-top-menu-drop:not(#_) #tfsRow > :is(#tfsList, .x-search-2-first, .tfs-foot):not(.x-top-menu-pl):not(.tfs-form):not(.tfs-sr) { box-shadow: none; }
  html.x-top-menu.x-top-menu-drop:not(#_) #tfsRow > .x-top-menu-pf:not(.tfs-form):not(.tfs-sr) { margin-top: 8px; border-top: 1px solid rgba(255, 209, 0, .3); border-top-left-radius: 10px; border-top-right-radius: 10px; }
  html.x-top-menu.x-top-menu-drop:not(#_) #tfsRow > #tfsList.x-top-menu-pf:not(.tfs-form) { padding-top: 6px; }
  html.x-top-menu.x-top-menu-drop:not(#_) #tfsRow > .x-top-menu-pl:not(.tfs-form):not(.tfs-sr) { border-bottom: 1px solid rgba(255, 209, 0, .3); border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
  html.x-top-menu.x-top-menu-drop:not(#_) #tfsRow > .tfs-foot:not(.tfs-form) { display: flex; align-items: center; box-sizing: border-box; min-height: 40px; margin-bottom: 0; padding: 9px 14px; background: #17140f; color: #a8a8a8; font-size: 13px; line-height: 1.4; }
  html.x-top-menu.x-top-menu-drop:not(#_) #tfsRow > .tfs-foot:empty { display: none; }
  html.x-top-menu.x-top-menu-drop:not(#_) #tfsRow > .tfs-foot:not(.x-top-menu-pf) { border-top: 1px solid rgba(255, 209, 0, .14); }
  html.x-top-menu.x-top-menu-drop:not(#_) #tfsRow > .tfs-foot a { color: #ffd100; font-weight: 700; text-decoration: none; }
  html.x-top-menu.x-top-menu-drop:not(#_) #tfsRow > .tfs-foot a:is(:hover, :focus-visible) { color: #ffe58a; text-decoration: underline; }
}
@media (max-width: 767px) {
  html.x-top-menu.x-top-menu-drop:not(#_) #tfsRow > .tfs-foot:not(.tfs-form) { min-height: 44px; padding: 0 12px; }
  html.x-top-menu.x-top-menu-drop:not(#_) #tfsRow > .tfs-foot a { display: flex; align-items: center; align-self: stretch; flex: 1 1 auto; }
}

/* every round door of the top shows where the keyboard is (What's new had no ring) */
html.x-top-menu:not(#_):not(#__) .masthead.v2m > :is(#whatsNew, #addonBtn):focus-visible,
html.x-top-menu:not(#_):not(#__) .v2nav > a:focus-visible { outline: 2px solid #ffd100; outline-offset: 1px; }

/* a press the page's early script holds before the doors are wired (server.js, staging): the pill's pressed light, nothing moving */
html.x-top-menu:not(#_):not(#__) .x-early-held { background: linear-gradient(180deg, #5a4a1e, #3f3415) !important; color: #ffe36b !important; box-shadow: inset 0 0 0 1.5px #ffd100, 0 0 12px rgba(255, 209, 0, .25) !important; }

/* /popular and the other pages whose line under the name is two pieces (a bold half, then words): the bold half keeps its space */
@media (min-width: 768px) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m > .mtext > .tag:has(> b) > b.x-top-menu-sp { margin-right: .27em; }
}

/* a phone's search field: its words at 16 px, the size of the box that takes its place when pressed, in that box's wording. The
   stylesheet draws them so the first paint fits the width (by the room the head leaves, measured 1 Dec: "Talent, spell, racial or
   page" needs 198 px of 16 px words, "Talent, spell or page" 150); x.js then sets the exact longest wording that fits (data-w). */
@media (max-width: 767px) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m .ti-find span { font-size: 0; line-height: 20px; }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m .ti-find span::before { content: "Talent, spell, racial or page"; font: 400 16px/20px "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m:has(> #whatsNew):has(> #addonBtn) .ti-find span::before { content: "Talent, spell or page"; }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) header.masthead.v2m .ti-find span[data-w]::before { content: attr(data-w); }
}
@media (max-width: 429px) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m:has(> #whatsNew):has(> #addonBtn) .ti-find span::before { content: "Talent, spell or page"; }
}
@media (max-width: 374px) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m:has(> #whatsNew):has(> #addonBtn) .ti-find span::before { content: "Search"; }
}
@media (max-width: 339px) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m .ti-find span::before { content: "Talent, spell or page"; }
}
@media (min-width: 430px) and (max-width: 767px) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m:has(> #whatsNew):has(> #addonBtn) .ti-find span::before { content: "Talent, spell, racial or page"; }
}

/* the site's name on the narrowest phones: about 17 px on every page (it was 14 px on the calculator, where the two round doors
   share its line, and 21 px everywhere else). Under 390 px the name loses its letter spacing, and on the calculator's line the
   gaps are 6 px and the book gives back its 3 px, which is the room 17 px needs at 320 */
@media (max-width: 389px) {
  html.x-top-menu:not(#_):not(#__) header.masthead.v2m > .mtext > .brand,
  html.x-top-menu:not(#_):not(#__) header.masthead.v2m:has(> #whatsNew):has(> #addonBtn) > .mtext > .brand { font-size: clamp(14px, calc((100vw - 169px) / 9), 21px); letter-spacing: 0; }
  html.x-top-menu:not(#_):not(#__) header.masthead.v2m:has(> #whatsNew):has(> #addonBtn) { column-gap: 6px !important; }
  html.x-top-menu:not(#_):not(#__) header.masthead.v2m:has(> #whatsNew):has(> #addonBtn) > .mbookw { margin-right: 0; }
}

/* the simple pages' head on a phone (/ideas, /about, /contact: .top.tfs-top) as every other page's: the pills share the row's whole
   width, 34 px tall with 26 px pictures, the search closes the row at the right, and the row starts 8 px under the book's ring
   (it touched the Guides pill) */
@media (max-width: 767px) {
  html.x-top-menu:not(#_):not(#__):not(#___) .top.tfs-top > #v2nav { justify-content: space-between; gap: 8px; height: 34px; margin-top: 10px; }
  html.x-top-menu:not(#_):not(#__):not(#___) .top.tfs-top > #v2nav > a[data-k] { flex: 1 1 auto; min-width: 0; justify-content: center; height: 34px; min-height: 34px; padding: 2px 13px 2px 4px; }
  html.x-top-menu:not(#_):not(#__):not(#___) .top.tfs-top > #v2nav > a[data-k]::before { width: 26px; height: 26px; }
  html.x-top-menu:not(#_):not(#__):not(#___) .top.tfs-top > #v2nav > a[data-k]::after { top: -4px; bottom: -6px; }
  html.x-top-menu:not(#_):not(#__):not(#___) .top.tfs-top > #v2nav > a.tfs-door { flex: none; width: 34px; height: 34px; min-height: 34px; margin-left: 0; }
  html.x-top-menu:not(#_):not(#__):not(#___) .top.tfs-top > #v2nav > a.tfs-door i { width: 32px; height: 32px; }
}
@media (min-width: 400px) and (max-width: 767px) {
  html.x-top-menu:not(#_):not(#__):not(#___) .top.tfs-top > #v2nav > a[data-k] { flex: 1 1 0; }
}
@media (max-width: 374px) {
  html.x-top-menu:not(#_):not(#__):not(#___) .top.tfs-top > #v2nav { gap: 6px; }
  html.x-top-menu:not(#_):not(#__):not(#___) .top.tfs-top > #v2nav > a[data-k] { padding: 2px 10px 2px 4px; gap: 5px; }
  html.x-top-menu:not(#_):not(#__):not(#___) .top.tfs-top > #v2nav > a[data-k]::before { width: 24px; height: 24px; }
}
@media (max-width: 349px) {
  html.x-top-menu:not(#_):not(#__):not(#___) .top.tfs-top > #v2nav > a[data-k] { padding: 2px 8px; }
  html.x-top-menu:not(#_):not(#__):not(#___) .top.tfs-top > #v2nav > a[data-k]::before { display: none; }
}

/* What's new on a computer: a card as the other four are. The same width (640 px), and it scrolls away with the page as they do
   (x.js sets its place on the page). Its Expand tab hung 25 px out of the card's left side: it is a small pill in the card's own
   head now, beside the x, and still widens it on a press or a drag. Its arrow no longer nudges by itself. */
@media (min-width: 768px) {
  html.x-top-menu:not(#_) #logDrawer.drawer { position: absolute; top: var(--x-top-menu-wn-top, 69px); max-height: min(720px, calc(100vh - var(--x-top-menu-wn-vtop, 69px) - 16px)); }
  html.x-top-menu:not(#_) #logDrawer.drawer:not(.wide) { width: var(--dw, 640px); }
  html.x-top-menu:not(#_) #logDrawer.drawer > .dhead { padding-right: 12px; }
  html.x-top-menu:not(#_) #logDrawer.drawer .dhandle { left: auto; right: 58px; top: 12px; transform: none; flex-direction: row; gap: 4px; width: auto; height: 28px; padding: 0 10px 0 8px; border: 0; border-radius: 999px; background: #262626; box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .45); }
  html.x-top-menu:not(#_) #logDrawer.drawer .dhandle:hover { background: #332d1e; box-shadow: inset 0 0 0 1px #ffd100; }
  html.x-top-menu:not(#_) #logDrawer.drawer .dhandle:focus-visible { outline: 2px solid #ffd100; outline-offset: 1px; }
  html.x-top-menu:not(#_) #logDrawer.drawer .dhandle i { font-size: 18px; animation: none; }
  html.x-top-menu:not(#_) #logDrawer.drawer .dhandle span { writing-mode: horizontal-tb; transform: none; font-size: 11px; letter-spacing: .08em; }
  html.x-top-menu:not(#_) #logDrawer.drawer .dhandle[aria-pressed="true"] i { transform: scaleX(-1); }
}

/* What's new on a phone: the other four sheets' ways. It slides up as they do (on the open press), its foot and its tiles hold the
   page behind still (a drag there moves the sheet, x.js), and its x is their Close pill with a thumb's 44 px */
@media (max-width: 767px) {
  html.x-top-menu:not(#_) #logDrawer.drawer > :is(.dswitch, .dfoot) { touch-action: none; }
  html.x-top-menu:not(#_) #logDrawer.drawer > .dbody { overscroll-behavior: contain; }
  html.x-top-menu:not(#_) #logDrawer.drawer #logClose { position: relative; display: flex; align-items: center; box-sizing: border-box; height: 32px; padding: 2px 13px; border: 0; border-radius: 999px; color: var(--gold, #ffd100); font: 700 0/1 "Open Sans", system-ui, sans-serif; background: linear-gradient(180deg, #332d1e, #25211a); box-shadow: inset 0 0 0 1px rgba(200, 155, 26, .6); cursor: pointer; }
  html.x-top-menu:not(#_) #logDrawer.drawer #logClose::before { content: "Close"; font-size: 13px; line-height: 1; }
  html.x-top-menu:not(#_) #logDrawer.drawer #logClose::after { content: ""; position: absolute; inset: -6px -2px; }
  html.x-top-menu:not(#_) #logDrawer.drawer #logClose:active { background: linear-gradient(180deg, #5a4a1e, #3f3415); }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  html.x-top-menu:not(#_) #logDrawer.drawer.x-top-menu-wnup { animation: x-top-menu-up .2s cubic-bezier(.2, .8, .3, 1); }
}

/* What's new's class, race and legacy presses on a phone: their tap reaches up and down into the room between the rows (4 px each
   way, so neighbours never share a spot: the rows stand 9 px apart), the pictures keep their size */
@media (max-width: 767px) {
  html.x-top-menu:not(#_) #logDrawer .lens-icons button::after { content: ""; position: absolute; inset: -4px -1.5px; }
}

/* ==== 2 Dec 2026: the same five doors on every page (server: five.js beside this file). Chris, on the Hunter class guide: "the top
   toolbar should work just like it does on the home page as if you were on any other page in the website". ==== */
/* the Addon door on the addon's own page: lit, as the menu's doors are on theirs */
html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m > #addonBtn[aria-current="page"] { background: linear-gradient(180deg, #5a4a1e, #3f3415) !important; color: #ffe36b; box-shadow: inset 0 0 0 1.5px var(--gold, #ffd100), 0 0 12px rgba(255, 209, 0, .25) !important; }
@media (max-width: 767px) {
  html.x-top-menu:not(#_):not(#__):not(#___) header.masthead.v2m > #addonBtn[aria-current="page"] .pico { box-shadow: 0 0 0 2px var(--gold, #ffd100), 0 0 12px rgba(255, 209, 0, .4); }
}
/* the Addon's picture is round on every page, as on the calculator (its own stylesheet, lab/lab.css "chips", did that there and only
   there: elsewhere the picture stood square in its ring) */
html.x-top-menu:not(#_):not(#__):not(#___) .masthead.v2m > #addonBtn .pico { border-radius: 50%; background: #000; overflow: visible; }
html.x-top-menu:not(#_):not(#__):not(#___) .masthead.v2m > #addonBtn .pico img { border: 0; border-radius: 50%; box-shadow: none; transform: scale(1.2); clip-path: circle(41.6%); }
/* the plain pages (/ideas, /about, /contact, /terms): their column is narrower than the site's, and the header stands where it stands
   on every other page (1168 px, centred), so the doors do not change place from page to page */
@media (min-width: 1000px) {
  html.x-top-menu header.masthead.x-top-menu-plain { --x-top-menu-pw5: min(1168px, calc(100vw - 48px)); width: var(--x-top-menu-pw5); margin-left: calc((100% - var(--x-top-menu-pw5)) / 2); margin-right: calc((100% - var(--x-top-menu-pw5)) / 2); }
}
/* the header's gold line no longer shows through the top of What's new's card */
@media (min-width: 768px) {
  html.x-top-menu:not(#_) #logDrawer.drawer { z-index: 73; }
}
@media (max-width: 1000px) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m > #addonBtn[aria-current="page"] { background: none !important; box-shadow: none !important; }
  html.x-top-menu:not(#_):not(#__):not(#___) header.masthead.v2m > #addonBtn[aria-current="page"] .pico { box-shadow: 0 0 0 2px var(--gold, #ffd100), 0 0 12px rgba(255, 209, 0, .4); }
}
/* What's new's card in the moment before its words are in (the first press on a page that is not the calculator): the card's own
   size, one quiet line, nothing moving */
html.x-top-menu #logDrawer.x-top-menu-wnwait { height: 720px; }
html.x-top-menu #logDrawer .x-top-menu-wait { margin: 0; padding: 28px 18px; color: #a8a8a8; font-size: 14px; text-align: center; }
html.x-top-menu #logDrawer .x-top-menu-wait a { color: #ffd100; font-weight: 700; }
/* 768 to 1023 px, where the doors are words and round pictures: What's new is the same round picture on every page, its light on the
   corner (off the calculator it was an empty pill with the light alone; on the calculator a pill too wide for what it held) */
@media (min-width: 768px) and (max-width: 1023px) {
  html.x-top-menu:not(#_):not(#__):not(#___):not(#____) header.masthead.v2m > #whatsNew { position: relative; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 34px !important; height: 34px; min-height: 0; padding: 0 !important; gap: 0; font-size: 0 !important; border-radius: 50%; background: none; box-shadow: none; }
  html.x-top-menu:not(#_):not(#__):not(#___):not(#____) header.masthead.v2m > #whatsNew::before { content: ""; display: block; flex: none; box-sizing: border-box; width: 28px; height: 28px; border-radius: 50%; background: #000 url(/assets/icons/inv_scroll_03.jpg?i=4) center/120% no-repeat; box-shadow: 0 0 0 1.5px #d9b24a, 0 2px 6px rgba(0, 0, 0, .5); }
  html.x-top-menu:not(#_):not(#__):not(#___):not(#____) header.masthead.v2m > #whatsNew::after { content: ""; display: block; position: absolute; inset: -5px; width: auto; height: auto; background: none; }
  html.x-top-menu:not(#_):not(#__):not(#___):not(#____) header.masthead.v2m > #whatsNew .dot { position: absolute; left: auto; top: 0; right: 0; width: 9px; height: 9px; margin: 0; box-shadow: 0 0 0 2px #1b1b1b, 0 0 8px var(--gold, #ffd100); }
  html.x-top-menu:not(#_):not(#__):not(#___):not(#____) header.masthead.v2m > #whatsNew[aria-expanded="true"]::before { box-shadow: 0 0 0 2px var(--gold, #ffd100), 0 0 12px rgba(255, 209, 0, .4); }
}

/* (2 Dec 2026) A phone's top has a third line, the search field, so a page that starts with its crumbs stood 8 px lower than on live, the PC
   guide's partner links with it (from 390 px up; measured on a second visit, when live has its font too). The crumbs' line gives the 8 px back. */
@media (max-width: 767px) { html.x-top-menu header.masthead.v2m ~ p.tnav { margin-top: -3px; margin-bottom: 7px; } }

/* (2 Dec 2026) The same top on every page, to the pixel (research/stage/tools-1130/topsame.py). The class guides wrote the line under the name at
   15 px in white, which also pushed the search field 15 px to the right: it is the other pages' 12 px grey line now. The plain pages (about,
   contact, terms, the addon's) stand in a box with its own room, 18 px on a computer and 14 on a phone where every other page has 16: the top
   takes the 2 px back and the words under it stay where they are. */
@media (min-width: 768px) {
  html.x-top-menu body.gd header.masthead.v2m .tag { font-size: 12px; color: var(--muted, #8a8a8a); }
  html.x-top-menu body.gd header.masthead.v2m .tag b { color: var(--ink2, #bdbdbd); }
  html.x-top-menu:not(#_):not(#__) div.wrap > header.masthead.v2m { margin-top: -2px; margin-bottom: 14px; }
}
@media (max-width: 767px) { html.x-top-menu:not(#_):not(#__) div.wrap > header.masthead.v2m { margin: 2px 2px 8px; } }
/* ... and from 768 to 999 px, where every other page leaves that line out and the Addon door is the narrow one */
@media (min-width: 768px) and (max-width: 999.98px) {
  html.x-top-menu body.gd header.masthead.v2m .tag { font-size: 0; line-height: 0; }
  html.x-top-menu:not(#_):not(#__):not(#___) body.gd header.masthead.v2m > #addonBtn { padding-left: 4px; padding-right: 4px; }
}
/* the Talent Workshop's title on a phone stood right on the top's line; the room its own top kept under it */
@media (max-width: 767px) { html.x-top-menu:not(#_):not(#__):not(#___) div.wrap > header.masthead.x-top-menu-ws { margin-bottom: 18px; } }

/* (2 Dec 2026, Chris: "all of the top menu bar buttons should have the same hover over effect that what's new has too") What's new answers the hand:
   its words go cream, its fill a step lighter, its ring to full gold, in an eighth of a second. The other four did nothing. The same three
   steps from where each stands (their fill is a gradient and their ring is gold already, so both go one step up). A keyboard's focus too. */
@media (hover: hover) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m > .v2nav > a[data-k],
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m > #addonBtn { transition: background .12s, box-shadow .12s, color .12s; }
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m > .v2nav > a[data-k]:is(:hover, :focus-visible),
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m > #addonBtn:is(:hover, :focus-visible) { color: #ffe58a; }
}
@media (hover: hover) and (min-width: 1001px) {
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m > .v2nav > a[data-k]:is(:hover, :focus-visible):not([aria-current]),
  html.x-top-menu:not(.x-top-try):not(#_):not(#__):not(#___) header.masthead.v2m > #addonBtn:is(:hover, :focus-visible):not([aria-current]) { background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .03) 46%), linear-gradient(180deg, #51452d, #3b3323) !important; box-shadow: inset 0 0 0 1px #ffd84a, 0 3px 9px rgba(0, 0, 0, .5) !important; }
}

/* x: tree-glass */
/* tree-glass: the small trees in the Popular build cards as panes of coloured glass with every talent on them (30 Nov 2026; his
   words and the story are in x.js). x.js marks each drawing the page made (.v2art) with x-tree-glass-on, -d2 and -d3 and gives it
   the height the page gave it (--x-tree-glass-h), each tree its cell size (--x-tree-glass-cs), row count (--x-tree-glass-r), share
   of the width (--x-tree-glass-g) and art (--x-tree-glass-bg). The rules are lab/x/trees-try's design 3 without its bar. */

/* ---- the drawing keeps the height the page gave it ---- */
html.x-tree-glass #popHost .v2art.x-tree-glass-on { height: var(--x-tree-glass-h); box-sizing: border-box; overflow: hidden; position: relative; }
html.x-tree-glass #popHost .v2art.x-tree-glass-on .t > b > img { display: block; flex: none; border-radius: 50%; border: 1px solid #000; }
html.x-tree-glass #popHost .v2art.x-tree-glass-on .t > b > span { display: block; }
html.x-tree-glass #popHost .v2art .x-tree-glass-cap { display: none; }
html.x-tree-glass #popHost .v2art.x-tree-glass-on > .t > i[data-x-tree-glass-ic] { background-image: var(--x-tree-glass-ic); background-size: cover; }

/* ---- the panes ---- */
html.x-tree-glass #popHost .v2art.x-tree-glass-d2 { display: flex; gap: 5px; align-items: stretch; }
html.x-tree-glass #popHost .v2art.x-tree-glass-d2 > .t { flex: var(--x-tree-glass-g, 1) 1 0; min-width: 0; min-height: 0; display: grid; grid-template-columns: repeat(var(--n, 4), var(--x-tree-glass-cs)); grid-template-rows: repeat(var(--x-tree-glass-r), var(--x-tree-glass-cs)) minmax(0, 1fr); gap: 2px; padding: 4px; box-sizing: border-box; justify-content: center; align-content: stretch; border-radius: 7px; container-type: inline-size;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 40%, rgba(10, 10, 10, .45)), color-mix(in srgb, var(--c) 16%, rgba(10, 10, 10, .86)) 78%), var(--x-tree-glass-bg, none) center 30% / cover no-repeat, #0d0d0d;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, #1a1a1a), inset 0 1px 0 rgba(255, 255, 255, .16); }
html.x-tree-glass #popHost .v2art.x-tree-glass-d2 > .t.x-tree-glass-L { box-shadow: inset 0 0 0 1.5px var(--c), inset 0 1px 0 rgba(255, 255, 255, .24), inset 0 0 16px color-mix(in srgb, var(--c) 32%, transparent); }
html.x-tree-glass #popHost .v2art.x-tree-glass-d2 > .t.z { background: linear-gradient(180deg, rgba(30, 30, 30, .9), rgba(14, 14, 14, .95)); box-shadow: inset 0 0 0 1px #2a2a2a; }
/* the talents it takes: lit, with a ring and a glow in the tree's colour */
html.x-tree-glass #popHost .v2art.x-tree-glass-d2 > .t > i:is(.m, .p) { filter: saturate(1.1) brightness(1.08); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 75%, #fff), 0 0 8px color-mix(in srgb, var(--c) 70%, transparent); z-index: 1; }
html.x-tree-glass #popHost .v2art.x-tree-glass-d2 > .t > i.p { box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 60%, #000), 0 0 5px color-mix(in srgb, var(--c) 45%, transparent); }
/* its points at the foot of the pane */
html.x-tree-glass #popHost .v2art.x-tree-glass-d2 > .t > b { grid-column: 1 / -1; grid-row: -2 / -1; align-self: end; display: flex; align-items: center; justify-content: center; gap: 4px; height: 19px; margin: 0; padding: 0; overflow: hidden; color: #fff; font: 800 15px/1 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; text-shadow: 0 0 8px color-mix(in srgb, var(--c) 85%, transparent), 0 1px 2px #000; white-space: nowrap; }
html.x-tree-glass #popHost .v2art.x-tree-glass-d2 > .t > b > img { width: 14px; height: 14px; }
html.x-tree-glass #popHost .v2art.x-tree-glass-d2 > .t > b > span { display: none; }
html.x-tree-glass #popHost .v2art.x-tree-glass-d2 > .t.x-tree-glass-L > b { color: #ffd75e; font-size: 17px; }
html.x-tree-glass #popHost .v2art.x-tree-glass-d2 > .t.z > b { color: #8a8a8a; text-shadow: none; }
html.x-tree-glass #popHost .v2art.x-tree-glass-d2 > .t.z > b > img { filter: grayscale(1) brightness(.7); }
/* a pane with room names its tree too */
@container (min-width: 112px) {
  html.x-tree-glass #popHost .v2art.x-tree-glass-d2 > .t > b > span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: color-mix(in srgb, var(--c) 72%, #fff); font: 700 11px/1.2 "Open Sans", system-ui, "Segoe UI", Arial, sans-serif; text-shadow: 0 1px 2px #000; }
  html.x-tree-glass #popHost .v2art.x-tree-glass-d2 > .t.z > b > span { color: #8a8a8a; }
}

/* ---- every talent on the glass (30 Nov 2026, night, Chris: "Can you show me the colored builds but with like the
   silhouettes of the non-selected talent buttons?") Design 2, and the talents the build leaves are not dots: each is its own icon
   as a dark shape on the glass, so the whole tree is there and what the build takes still stands out lit. Pointing at one shows
   it in colour. ---- */
html.x-tree-glass #popHost .v2art.x-tree-glass-d3 > .t > i:not(.m):not(.p) { filter: grayscale(1) brightness(.42) contrast(1.15); opacity: .62; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55); }
html.x-tree-glass #popHost .v2art.x-tree-glass-d3 > .t > i:not(.m):not(.p):hover { filter: none; opacity: 1; }
html.x-tree-glass #popHost .v2art.x-tree-glass-d3 > .t.z > i:not(.m):not(.p) { filter: grayscale(1) brightness(.34); opacity: .5; }

/* ---- (1 Dec 2026, the audit) the Popular builds hub (/popular): a card's sprite sheet loads only when the card comes within about
   one screen of sight (x.js nearHub puts x-tree-glass-near on it). Until then its squares keep their size and their dark ground. The rule
   stands from the first paint (a rule set later would come after the nine sheets had already been asked for). ---- */
html.x-tree-glass .sb .bp-hub .bp-leads .v2print.art:not(.x-tree-glass-near) .g i::before { background-image: none; }
