/* warlock.css (18 Nov 2026): the Warlock course's own lift on the shared course.css, for this course's pages only (its index.html, the
   lesson pages and the sheet cut from it load it after ../course/course.css). FALL-POINTS.md 5.3, the brief for the Warlock: nothing under
   14 px, and every control 44 px both ways. The shared stylesheet carries 10 to 13.5 px labels, badges and source lines and a few 30 to
   40 px controls; the live Mage, Shaman, Priest and Druid pages keep them as they are (this file changes none of them). The shapes, colours
   and materials are the shared ones: only sizes move. check_pages.js measures both rules on every page at six widths, every fold and tab open. */

/* text: 14 px floor */
body .src, body .ev-sm, body .who, body .pv-k2, body .pv-n, body .ts-m, body .ts-l p, body .rt-k, body .rt-lv, body .rt-tag, body .rx-k, body .rx-c small,
body .tipbox-h, body .ar-h, body .ar-note, body .ar-x small, body .sh-asp, body .lt-bk, body .sp-n, body .sp-nx, body .sp-drop, body .tp-h, body .kit-n small,
body .sh-ars, body .sh-meh, body .sh-watch small, body .sh-lr, body .sh-n, body .sh-d small, body .sh-d em, body .sh-atl, body .un-ln, body .row-n,
body .atl-s, body .atl-r, body .atl-r i, body .ns-i em, body .stop-t small, body .au-w, body .chip kbd, body td small, body .tc-t th, body .sh-lv th,
body h3 small, body summary small, body summary span, body .tp small, body .tp small i, body .rd-k b, body .rd-k small, body .rt-dn small, body .sh-a pre,
body .ts-c > summary span, body .ln-list small, body .ln-list .row-n, body .sh-lt small, body .sh-ls, body .kit-pr .rt-tag, body .pth-s, body .roads-b,
body .bars-k, body .bars-n, body .bars-v, body .lf-k, body .nx-t small, body .nx-k, body .mc-w, body .kit-z, body .rd-s, body .rd-t, body .ar-n b,
body .buy-np, body .lt-sp kbd, body .ts-l > p, body .ln-b small, body .ts-c summary span, body .au-w, body .sh-ark th, body .sh-l0 th { font-size: 14px !important; }
body .rd-k li b, body .ns li > b, body .stop-t small, body .rl-b small, body .ln-all small, body .sh-ka small, body h3 > small, body td > small, body summary > small, body summary > span, body p.src, body .sp-nx, body .tp-h, body .srcs summary, body .chip kbd { font-size: 14px !important; }
/* small things that sit on a picture's corner keep their box and take the larger number */
body .ns-i em { min-width: 20px; padding: 0 3px; line-height: 18px; }
body .chip kbd { min-width: 18px; line-height: 18px; }

/* controls: 44 px floor */
body summary { min-height: 44px; }
body .ev-s summary, body .srcs summary, body .pv-d summary, body .sp-r summary { min-height: 44px; display: flex; align-items: center; }
body .srcs summary, body .pv-d summary { display: inline-flex; }
body .chip, body .lt-bar .chip { min-height: 44px; }
body .ln-b { height: 44px; }
body .sp-h img { width: 44px; height: 44px; }
body .bars-l li { min-height: 44px; align-items: center; }
body .tc-s { min-height: 44px; }
body .sh-atl, body .sh-up a { display: inline-flex; align-items: center; min-height: 44px; }
body .pth-go a, body .sh-a h3 a, body .ts-l h3 a { display: inline-block; padding: 13px 0; }
/* the scrubber's own hit area (its ::before) grows to 44 px; the bar itself stays 6 px, as drawn */
body .scrub::before { top: -19px; bottom: -19px; }
body .tabs button em, body .ln-k, body .stop-s { font-size: 14px !important; }
/* on a touch screen up to a tablet (check_pages.js measures the 44 px rule at 320 to 768) the player's bar, the tabs and the small links
   take a 44 px box too; a mouse at 1024 and wider keeps the shared sizes */
@media (max-width: 1023px) {
  body .ctl { min-width: 44px; min-height: 44px; }
  body .tabs button, body .rl-b, body .btn, body .nx-b, body .home { min-height: 44px; }
  body .sh-ka, body .sh-b a, body .end-l2 a, body .hero-a, body .un-ln { display: inline-flex; align-items: center; min-height: 44px; }
  body .btn.copy { min-width: 60px; }
}
/* the trainer's new spells under each chapter's kit: at 14 px a name keeps whole words (never "Healthston e"), so the tiles widen, and a
   phone shows three to a row where the shared sheet shows five at 11 px */
body .ns li { width: 104px; }
body .ns b { overflow-wrap: normal; word-break: normal; }
@media (max-width: 699px) { body .ns { grid-template-columns: repeat(3, minmax(0, 1fr)); } body .ns li { width: auto; } }
/* a spell or item named inside a kit card's words keeps the 18 px icon of a term (the shared .kit-g img rule makes it 40 px) */
body .kit-g .term img { width: 18px; height: 18px; box-shadow: 0 0 0 1px #000; }
/* a kit card's route rows: the label column fits a 14 px "Alliance", "Undead" or "Dual spec" tag */
body .kit-pr { grid-template-columns: 92px minmax(0, 1fr); }
@media (max-width: 359px) { body .kit-pr { grid-template-columns: minmax(0, 1fr); } }
/* the hero's six chapter tiles: at 14 px "10 to 19" needs a wider tile than six in a row leave on a 320 screen, so two rows of three there */
@media (max-width: 359px) { body .road-l { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* the top bar's Leveling guides button */
body .toplink { font-size: 14px !important; min-height: 44px; }
/* a 320 screen: the chapter rail's "Chapter 4 / Levels 30 to 39" buttons and the sheet's level table keep inside the page at 14 px */
@media (max-width: 359px) {
  body .rl-f { padding: 8px 4px; gap: 4px; }
  body .rl-b { padding: 0 4px; gap: 4px; }
  body .sh-lv thead th { letter-spacing: 0; padding-left: 6px; padding-right: 4px; }
  body .sh-lv thead th:first-child, body .sh-lv tbody th { padding-left: 8px; }
  body .sh-lv tbody th { width: 34px; padding-right: 4px; }
  body .sh-lv td { padding: 7px 4px; }
}
/* (19 Nov 2026) the player's own pieces that show only once a clip exists, lifted to the floors: the lesson list's clip length on its
   picture (and on the next lesson's card), the "Hear his voice" button (46 tall: at 44 the page check still measured it under 44 on a phone) over the picture, and the strip under the picture on a phone (a card's words and the quiet
   "Remember, 1 of 3" step between cards). At 14 px three lines of a card's words and its name need 96 px, so the strip is 96 tall
   (fixed, as the shared 88: it never changes height with its words) */
body .row-pic em, body .nx-pic em { font-size: 14px !important; line-height: 20px; }
body .unm { min-height: 46px; }
body .unm span { font-size: 14px !important; }
body .osc span:not(.osc-f), body .osc.idle b, body .osc b { font-size: 14px !important; }
@media (max-width: 699px) { body .osc { height: 96px; } }
/* (19 Nov) on a 320 screen the "Hear his voice" button ran into a card the clip shows at its top right: there it is the speaker alone
   (its aria-label still says "Turn on his voice"), as the shared player already shows it once the voice has been offered */
@media (max-width: 359px) { body .unm:not(.sm) { gap: 0; padding: 0 13px; } body .unm:not(.sm) span { max-width: 0; opacity: 0; } }
/* (19 Nov audit) the folded voice button ("unm sm") was 40 wide: 44 both ways */
body .unm { min-width: 44px; }
/* (19 Nov audit) on a 320 screen the seven 44 px buttons and the Autoplay switch left Full screen alone on a second row (the shared bar
   counts on 42 px buttons there). Under 360 the buttons touch (each keeps its own 44 px box) and the Autoplay word sits tight, so the
   row is 3 + 7 x 44 + 3 = 314 px: one row at 320, 360 and 375 */
@media (max-width: 359px) {
  body .bar { gap: 0; }
  body .bar .ctl { min-width: 44px; }
  body .ctl-au { padding: 0 1px; }
  body .ctl-au .au-w { letter-spacing: 0; }
}
/* (19 Nov audit) no title ends on one lonely word ("Open the map and step through your / stops", "Soul Harvest and / Nightfall",
   "Corruption on / mouseover"): the map card's title, the up-next cards, the lesson title, a step's name, the end card's links and the
   macro names take the browser's own rule against a one-word last line (text-wrap: pretty) */
body .atl-t strong, body .nx-t b, body .lf-t, body .lf-t *, body .un-t, body .st-h, body .mc h3, body .nx-b span { text-wrap: pretty; }
/* the end card's "Your talents at 60 in the calculator" (the shared player's words) splits in two even lines */
body .end-l2 a, body .end-l a { text-wrap: balance; }
/* (19 Nov audit) the lesson pages' "Start with 1.1 Affliction, and why" was cut with an ellipsis at 320 (the shared rule keeps it on one
   line): it wraps to two whole lines instead, every word shown */
@media (max-width: 599px) {
  body .hero-go .btn-gold { white-space: normal; padding-top: 8px; padding-bottom: 8px; }
  body .hero-go .btn-gold span { overflow: visible; white-space: normal; text-overflow: clip; text-wrap: balance; }
}
