/* The Armory (web/armory.py serves it, armory.js draws it): the site's palette and fonts (site.css),
   the design canvas's structure (tools/armory/prototype/design/Main.dc.html), content up to 1600 px. */
.ar { color: #D9CFBD; font: 16px/1.5 'Alegreya Sans', system-ui, sans-serif; min-height: 60vh; }
.ar a { color: #C9BFAE; }
.ar a:hover { color: #F3E8D4; }
.awrap { max-width: 1600px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }
.ahead { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding: 8px 0 28px; }
/* Alegreya's line box isn't centred on its capitals: pills, tabs and buttons are block containers
   (inline-block) whose one line is trimmed to cap height, as the site's server capsule does
   (site.css .live), and take their height from padding around that one cap: the words sit in the
   middle of the border. A flex box would not do: the trim never reaches its anonymous text. */
.chip, .sb, .kan, .tab, .abtn, .tg { display: inline-block; vertical-align: middle; line-height: 1; white-space: nowrap; text-align: center; text-decoration: none; }
.pb, .stp, .tb, .cm .vote, .ci, .sh, .crumb, .here { line-height: 1; }
@supports (text-box: trim-both cap alphabetic) {
  .chip, .sb, .kan, .tab, .abtn, .tg, .ci, .sh, .crumb, .here { text-box: trim-both cap alphabetic; }
  /* Alegreya's drawn capitals stand half a pixel under its cap metric: the top pad gives it back. */
  .chip, .sb, .kan, .tab, .abtn, .tg { padding-top: calc(var(--pb) - var(--up, .5px)); padding-bottom: calc(var(--pb) + var(--up, .5px)); }
  .sb, .kan { --up: 0px; }
  .chip { --pb: calc((36px - 1cap) / 2 - 1px); }
  .sb { --pb: calc((26px - 1cap) / 2 - 1px); }
  .kan { --pb: calc((24px - 1cap) / 2 - 1px); }
  .tab { --pb: calc((48px - 1cap) / 2); }
  .abtn { --pb: calc((42px - 1cap) / 2 - 1px); }
  .abtn.dark { --pb: calc((40px - 1cap) / 2 - 1px); }
  .tg { --pb: calc((40px - 1cap) / 2 - 1px); }
}
@supports not (text-box: trim-both cap alphabetic) {
  .chip { padding-block: 10px 9px; }
  .sb { padding-block: 6px 5px; }
  .kan { padding-block: 5px 4px; }
  .tab { padding-block: 17px 15px; }
  .abtn { padding-block: 13px 11px; }
  .abtn.dark { padding-block: 12px 10px; }
  .tg { padding-block: 13px 10px; }
  .ci, .sh { padding-top: 2px; }
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 16px; }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: #4A4038; }
.crumb { background: none; border: 0; padding: 4px 2px; font: inherit; color: #C9BFAE; cursor: pointer; border-radius: 2px; }
a.crumb:hover, button.crumb:hover { color: #F3E8D4; text-decoration: underline; text-underline-offset: 3px; }
.here { color: #F3E8D4; font-weight: 500; padding: 4px 2px; }
.asearch { position: relative; flex: 0 1 480px; min-width: 240px; }
.asearch svg { position: absolute; left: 12px; top: 13px; color: #8F8575; pointer-events: none; }
.asearch input { width: 100%; height: 44px; padding: 0 12px 0 38px; border: 1px solid #241B15; border-radius: 3px; background: linear-gradient(#020101, #090706);
  color: #D9CFBD; font: inherit; font-size: 16px; box-shadow: inset 0 1px 3px rgba(0,0,0,.7); }
.asearch input::placeholder { color: #6F665A; }
.asearch input:focus { outline: 2px solid #A88B6C; outline-offset: -1px; }
.hits { position: absolute; z-index: 80; left: 0; right: 0; top: calc(100% + 6px); max-height: 420px; overflow-y: auto; padding: 6px; border-radius: 6px;
  background: #110D0B; border: 1px solid #3A2E25; box-shadow: 0 18px 40px -12px rgba(0,0,0,.8); }
.hits a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 4px; color: #D9CFBD; }
.hits a:hover, .hits a[aria-selected="true"] { background: rgba(243,232,212,.06); color: #F3E8D4; }
.hits a { align-items: center; }
.hits span { font: 700 13px/1.6 'Alegreya Sans SC', sans-serif; letter-spacing: .06em; color: #8F8575; }
.hits .hpic { flex: none; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border: 1px solid #2A211B; border-radius: 3px; background: #0A0706; overflow: hidden; }
.hits .hpic img { width: 28px; height: 28px; object-fit: contain; }
.hits .hn { flex: 1; min-width: 0; display: flex; flex-direction: column; font: 500 16px/1.25 'Alegreya Sans', sans-serif; letter-spacing: 0; color: inherit; }
.hits .hn small { font-size: 13px; color: #9C9282; }
.hits p { margin: 8px 10px; color: #8F8575; }
.cols { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.rail { flex: 0 0 240px; display: flex; flex-direction: column; gap: 32px; }
.rh { margin: 0 0 10px; padding: 0 12px; font: 700 14px/1 'Alegreya Sans SC', sans-serif; letter-spacing: .05em; color: #9C9282; }
.ci { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 3px;
  background: none; color: #C9BFAE !important; font: 500 16px/1.25 'Alegreya Sans', sans-serif; text-align: left; cursor: pointer; }
.ci:hover { background: #130F0C; color: #F3E8D4 !important; }
.ci[aria-current="true"] { background: #1E160F; color: #F2D58A !important; }
.ci.sub { padding-left: 28px; font-size: 15px; min-height: 36px; }
.ci span { font-size: 14px; color: #8F8575; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rail .chips { padding: 0 12px; }
.chip { padding-inline: 14px; border-radius: 18px; border: 1px solid #2E241D; background: #0E0B09; color: #C9BFAE;
  font: 500 15px/1 'Alegreya Sans', sans-serif; cursor: pointer; }
.chip:hover { border-color: #4A3B2F; color: #F3E8D4; }
.chip[aria-pressed="true"] { background: #2A2014; border-color: #6A5426; color: #F2D58A; }
.ci:focus-visible, .chip:focus-visible, .sh:focus-visible, .pb:focus-visible, .crumb:focus-visible, .open:focus-visible, .cm .vote:focus-visible,
.abtn:focus-visible, .tab:focus-visible, .stp:focus-visible, .tg:focus-visible, .sim:focus-visible { outline: 2px solid #A88B6C; outline-offset: 1px; }
.main { flex: 999 1 640px; min-width: 0; }
.ttl { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.ttl h1, .h1 { margin: 0; font: 700 30px/1.15 Cinzel, serif; color: #F3E8D4; }
.h1.big { font-size: 34px; line-height: 1.1; }
.h2 { margin: 0 0 12px; font: 700 24px/1.2 Cinzel, serif; color: #F3E8D4; letter-spacing: 0; text-transform: none; text-align: left; }
.h3 { margin: 0 0 14px; font: 700 15px/1 'Alegreya Sans SC', sans-serif; letter-spacing: .04em; color: #9C9282; }
.mute { color: #9C9282; }
.small { font-size: 14px; }
.tbox { overflow-x: auto; border: 1px solid #221A15; border-radius: 4px; background: #0A0706; }
.tbl { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 16px; }
.tbl.sm { min-width: 0; }
.tbl th { padding: 0; text-align: left; border-bottom: 1px solid #221A15; background: #0E0B09; }
.tbl th.r .sh { justify-content: flex-end; }
.tbl th.plain { height: 44px; padding: 0 16px; font: 700 14px/1 'Alegreya Sans SC', sans-serif; letter-spacing: .04em; color: #9C9282; }
.tbl th.rowh { background: none; width: 34%; border-bottom: 0; border-top: 1px solid #16110E; }
.sh { display: flex; align-items: center; gap: 6px; width: 100%; height: 44px; padding: 0 16px; border: 0; background: none; color: #9C9282;
  font: 700 14px/1 'Alegreya Sans SC', sans-serif; letter-spacing: .04em; cursor: pointer; text-align: left; }
.sh:hover { color: #F3E8D4; }
.sh[aria-sort] { color: #F2D58A; }
.tbl td { height: 56px; padding: 8px 16px; border-top: 1px solid #16110E; vertical-align: middle; white-space: nowrap; line-height: 1.35; }
.tbl.sm td { height: 48px; }
.tbl.wrapc td, .tbl td.wrap { white-space: normal; }
.tbl tr:first-child td { border-top: 0; }
.tbl tbody tr:hover td { background: #120E0B; }
.tbl td.r, .tbl th.r { text-align: right; }
.num { font-variant-numeric: tabular-nums; color: #F3E8D4; }
.sub2 { display: block; font-size: 14px; color: #9C9282; }
.ico { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid #2A211B; border-radius: 3px;
  background: radial-gradient(circle at 50% 40%, #1A1411, #0B0807); flex: none; }
.ico img { width: 40px; height: 40px; object-fit: contain; }
.ico.lg { width: 72px; height: 72px; }
.ico.lg img { width: 66px; height: 66px; }
.nm { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.open { background: none; border: 0; padding: 2px 0; font: 500 16px/1.3 'Alegreya Sans', sans-serif; color: #F3E8D4 !important; cursor: pointer; text-align: left; }
.open:hover { color: #FFE9C2 !important; text-decoration: underline; text-underline-offset: 3px; }
.pop { position: absolute; z-index: 60; left: calc(100% + 16px); top: 50%; transform: translateY(-50%); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .12s, visibility .12s; }
.nm:hover > .pop, .nm:focus-within > .pop { opacity: 1; visibility: visible; }
.scard { width: 300px; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; white-space: normal; background: linear-gradient(#17110E, #0B0807);
  border: 1px solid #3A2D24; border-radius: 4px; box-shadow: 0 14px 34px rgba(0,0,0,.75); font: 400 15px/1.5 'Alegreya Sans', sans-serif; color: #C9BFAE; }
.c-name { font: 700 17px/1.25 Cinzel, serif; color: #F3E8D4; }
.c-rule { height: 1px; background: #2E241D; margin: 6px 0; }
.kan { padding-inline: 8px; border: 1px solid #1E3E48; border-radius: 3px; background: #0B1619;
  font: 700 13px/1 'Alegreya Sans SC', sans-serif; color: #7FD7F0; white-space: nowrap; }
.sb { padding-inline: 10px; border-radius: 13px; border: 1px solid #2E241D; font: 700 13px/1 'Alegreya Sans SC', sans-serif;
  color: #C9BFAE; background: #0E0B09; white-space: nowrap; }
.sb.gold { color: #F2C14E; border-color: #6A5426; }
.pager { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 20px 0 56px; font-size: 15px; }
.pager > span { line-height: 1; }
@supports (text-box: trim-both cap alphabetic) { .pager > span { text-box: trim-both cap alphabetic; } }
.pb { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid #2E241D; border-radius: 3px; background: #0E0B09; color: #C9BFAE; font: 700 18px/1 'Alegreya Sans', sans-serif; cursor: pointer; }
.pb:hover { border-color: #4A3B2F; color: #F3E8D4; }
.pb[aria-disabled="true"] { color: #4A4038; background: transparent; border-color: #1E1814; border-style: dashed; pointer-events: none; cursor: default; }
.pb svg { display: block; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.kv b { color: #F3E8D4; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.stp { width: 40px; height: 40px; border: 1px solid #3A2D24; border-radius: 3px; background: #1A1411; color: #F3E8D4; font: 700 18px/1 'Alegreya Sans', sans-serif; cursor: pointer; }
.stp:disabled { color: #3A322B; border-color: #221A15; cursor: default; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid #221A15; margin-bottom: 28px; }
.tab { position: relative; flex: none; padding-inline: 12px; border: 0; background: none; color: #C9BFAE; font: 700 16px/1 'Alegreya Sans SC', sans-serif; letter-spacing: .02em; cursor: pointer; }
.tab:hover { color: #F3E8D4; }
.tab[aria-selected="true"] { color: #F2D58A; box-shadow: inset 0 -2px 0 #C9A24E; }
.tab .tc { font: 500 14px/1 'Alegreya Sans', sans-serif; color: #8F8575; margin-left: 6px; }
.tab.none { color: #6F665A; }
.tab.none .tc { color: #4A4038; }
.roll { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.rbox { padding: 18px 20px; border: 1px solid #221A15; border-radius: 4px; background: #0A0706; font-size: 16px; line-height: 1.55; }
.rbox > b:first-child { display: block; margin-bottom: 8px; color: #F3E8D4; font-weight: 500; font-size: 17px; }
.absent { padding: 18px 20px; border: 1px dashed #2E241D; border-radius: 4px; color: #8F8575; font-size: 15px; }
.tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tl li { position: relative; padding: 0 0 24px 28px; }
.tl li::before { content: ""; position: absolute; left: 5px; top: 12px; bottom: 0; width: 1px; background: #2E241D; }
.tl li:last-child { padding-bottom: 0; }
.tl li:last-child::before { display: none; }
.pip { position: absolute; left: 0; top: 5px; width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 3px #0D0B0A; background: #F2C14E; }
.diff { display: grid; grid-template-columns: minmax(120px, max-content) minmax(0, 1fr) minmax(0, 1fr); gap: 6px 14px; margin-top: 12px; padding: 16px 18px;
  border: 1px solid #221A15; border-radius: 4px; background: #0A0706; font-size: 15px; overflow-wrap: anywhere; }
.diff .k { font: 700 14px/1.6 'Alegreya Sans SC', sans-serif; letter-spacing: .03em; color: #9C9282; }
.was { color: #8F8575; text-decoration: line-through; text-decoration-color: #5A4E44; }
.afield { width: 100%; padding: 10px 12px; border: 1px solid #241B15; border-radius: 3px; background: linear-gradient(#020101, #090706); color: #D9CFBD; font: inherit; font-size: 16px; resize: vertical; }
.afield:focus { outline: 2px solid #A88B6C; outline-offset: -1px; }
.abtn { padding-inline: 20px; border: 1px solid transparent; border-radius: 4px;
  font: 700 16px/1 'Alegreya Sans SC', sans-serif; cursor: pointer; }
.abtn.red { background: linear-gradient(#7E1C14, #3A0B07) padding-box, linear-gradient(#E05A4A, #8A2418 45%, #4A100A) border-box; color: #F6E7D0; }
.abtn.red:disabled { background: #181210; border-color: #2E251E; color: #6F665A; cursor: default; }
.abtn.dark { background: #1A1411; border-color: #3A2D24; color: #D9CFBD; }
.cm { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid #1E1814; }
/* .cm: the site's footer has a .vote of its own, the RaGEZONE banner (site.css). */
.cm .vote { flex: 0 0 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 56px; border: 1px solid #2E241D; border-radius: 3px;
  background: #0E0B09; color: #C9BFAE; font: 700 15px/1 'Alegreya Sans', sans-serif; cursor: pointer; }
.cm .vote[aria-pressed="true"] { border-color: #6A5426; color: #F2D58A; }
.cm .vote:disabled { cursor: default; }
.cm p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm .acts { display: flex; gap: 14px; font-size: 14px; }
.cm .acts button { background: none; border: 0; padding: 0; color: #8F8575; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cm .acts button:hover { color: #F3E8D4; }
.cbox { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid #221A15; border-radius: 4px; background: #0A0706; margin-bottom: 16px; }
.sim { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 10px 12px; font-size: 16px; border: 0; border-top: 1px solid #16110E; background: none;
  color: #C9BFAE !important; font: inherit; text-align: left; cursor: pointer; }
.sim:hover { background: #120E0B; color: #F3E8D4 !important; }
.sim[aria-current="true"] { background: #1E160F; color: #F2D58A !important; }
.sim.boxed { border: 1px solid #6A5426; border-radius: 3px; color: #F2D58A !important; }
.ctlrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 16px; }
.tg { min-width: 72px; padding-inline: 16px; border: 1px solid #2E241D; border-radius: 20px; background: #0E0B09; color: #C9BFAE; font: 500 15px/1 'Alegreya Sans', sans-serif; cursor: pointer; }
.tbar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; padding: 16px 20px; border: 1px solid #221A15; border-radius: 4px; background: #0A0706; margin-bottom: 24px; }
.tcol { min-width: 0; padding: 14px 10px 18px; border: 1px solid #221A15; border-radius: 4px; background: linear-gradient(#15100D, #0B0807); }
.tcol h2 { margin: 0; font: 700 17px/1.2 'Alegreya Sans SC', sans-serif; color: #F3E8D4; text-align: center; }
.tnode { display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; }
.tnode .ic { display: block; width: 46px; height: 64px; border-radius: 3px; border: 1px solid #2A211B; background: #0E0B09 center / cover no-repeat; }
.tnode.major .ic { width: 52px; height: 72px; border-width: 2px; }
.tnode.off .ic { filter: grayscale(1) brightness(.6); }
.tnode.off { opacity: .5; }
.tnode .ic { padding: 0; cursor: help; }
/* A talent's words where there is no pointer to hover it: a sheet at the foot of the screen. */
.tsheet { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; padding: 14px 44px 14px 16px; border: 1px solid #6A5426; border-radius: 8px;
  background: #15100C; box-shadow: 0 18px 40px rgba(0,0,0,.85); font-size: 16px; line-height: 1.45; color: #D9CFBD; }
.tsheet b { display: block; margin-bottom: 4px; color: #F2D58A; font-weight: 500; }
.tsheet button { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border: 0; background: none; color: #C9BFAE; font-size: 22px; cursor: pointer; }
.ttrees { overflow-x: auto; padding-bottom: 8px; }
.ttrees > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 12px; }
@media (max-width: 720px) {
  .ttrees > div { grid-template-columns: minmax(0, 1fr); }
}
.tb { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; width: 26px; height: 26px; padding: 0; border: 1px solid #3A2D24; border-radius: 3px; background: #1A1411; color: #F3E8D4; font: 700 16px/1 'Alegreya Sans', sans-serif; cursor: pointer; }
.tb:disabled { color: #3A322B; border-color: #221A15; background: #110D0B; cursor: default; }
.ticon { display: block; width: 32px; height: 44px; border-radius: 3px; border: 1px solid #2A211B; background: #0E0B09 center / cover no-repeat; }
blockquote.say { margin: 0; padding: 18px 22px; border: 1px solid #2A211B; border-radius: 4px; background: linear-gradient(#17110E, #0E0A08); font: italic 17px/1.6 'Alegreya Sans', sans-serif; color: #D9CFBD; }
blockquote.say p { margin: 0 0 8px; }
.pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.pay > div { padding: 16px 18px; border: 1px solid #2A211B; border-radius: 4px; background: linear-gradient(#17110E, #0E0A08); }
.pay .k { font: 700 14px/1 'Alegreya Sans SC', sans-serif; letter-spacing: .04em; color: #9C9282; }
.pay .v { font: 700 26px/1.2 'Alegreya Sans', sans-serif; margin-top: 8px; font-variant-numeric: tabular-nums; }
.note { margin: 14px 0 0; font-size: 14px; color: #9C9282; }
.enote { margin: 0 0 16px; padding: 10px 14px; border-left: 2px solid #C9A86A; background: rgba(201, 168, 106, .08); color: #D9CFBD; font-size: 15px; }
.err2 { padding: 12px 14px; border-radius: 3px; background: #9E2A1F; color: #fff; font-size: 15px; }
.loading { color: #8F8575; padding: 24px 0; }
@media (min-width: 900px) { .tbox.pops { overflow: visible; } }
/* The rail's two parts are menus on a phone (armory.js rail()): on a desktop always open, no summary. */
.rmenu > summary { display: none; }
/* The rail becomes a menu before it can push the page under it: a page needs 640px beside its 240. */
@media (max-width: 1180px) {
  .cols { gap: 16px; }
  .rail { position: relative; z-index: 40; flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .rmenu > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid #2E241D; border-radius: 20px;
    background: #0E0B09; color: #C9BFAE; font: 500 15px/1 'Alegreya Sans', sans-serif; cursor: pointer; list-style: none; }
  .rmenu > summary::-webkit-details-marker { display: none; }
  .rmenu > summary::after { content: ""; width: 7px; height: 7px; margin: -3px 0 0 2px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
  .rmenu > summary b { color: #F2D58A; font-weight: 500; }
  .rmenu[open] > summary { border-color: #6A5426; color: #F3E8D4; }
  .rmenu[open] > .rbody { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: flex; flex-direction: column; gap: 20px; max-height: 70vh; overflow-y: auto;
    padding: 14px 6px; border: 1px solid #3A2E25; border-radius: 8px; background: #110D0B; box-shadow: 0 18px 40px -12px rgba(0,0,0,.85); }
  .rmenu .rbody > .rh:first-child { display: none; }
  .main { flex: 1 1 100%; }
}
@media (max-width: 820px) {
  .pop { left: 0; top: calc(100% + 8px); transform: none; }
  .diff { grid-template-columns: 1fr; }
}
/* A wide table gives up its spare room and wraps before it scrolls. */
@media (max-width: 1440px) {
  .tbl { min-width: 0; }
  .tbl td { padding-inline: 10px; }
  .tbl th.plain { padding-inline: 10px; }
  .tbl td.wrap, .tbl td:not(.num):not(.r) { white-space: normal; }
}

/* ---- one entity, one panel: its head (picture, name, the line under it, the facts strip), a row of
   where/which, its tabs or sections, and a foot; nothing about it outside the panel */
.ent { margin-bottom: 56px; background: #100C0A; border: 1px solid #221A15; border-radius: 8px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.ehead { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px 36px; align-items: start; padding: 32px;
  border-radius: 8px 8px 0 0; background: radial-gradient(60% 340px at 0% 0%, rgba(194,54,43,.07), rgba(194,54,43,0) 70%); }
.ehead.nopic { grid-template-columns: minmax(0, 1fr); }
.epicol { display: flex; flex-direction: column; gap: 12px; align-items: center; min-width: 0; }
.epic { position: relative; width: 240px; max-width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 1px solid #2A211B; border-radius: 6px;
  background: radial-gradient(ellipse at 50% 42%, #2A1F17 0%, #120D0A 62%, #0A0706 100%); overflow: hidden; }
.epic img { width: 92%; height: 92%; object-fit: contain; }
/* The item's picture turning in 3D (item3d.js): its canvas over the picture, which goes once the first frame is drawn. */
.epic .e3d { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .35s ease; }
.epic.live3d .e3d { opacity: 1; }
.epic.live3d img { opacity: 0; transition: opacity .35s ease; }
.epic.sm { width: 112px; }
/* A picture borrowed from what a page links to, tinted by its rarity (a rune on its item). */
.epic.toned { border-color: var(--tone); box-shadow: inset 0 0 40px -12px var(--tone); }
.epic.toned img, .toned-in img { filter: drop-shadow(0 0 10px var(--tone)); }
.epic.map { background: #0D0B0A; }
.epic.map .chart { border: 0; border-radius: 0; width: 100%; height: 100%; max-width: none; }
.emeta { min-width: 0; display: flex; flex-direction: column; }
.emeta .h1 { overflow-wrap: anywhere; }
.esub { margin-top: 8px; font-size: 16px; color: #9C9282; }
.elead { margin: 12px 0 0; max-width: 72ch; font-size: 17px; line-height: 1.55; color: #D9CFBD; }
.esub a.open, .callout a.open, .sg a.open { font-size: inherit; }
/* The facts: a label in small capitals over its value, thin rules between, wrapping into rows. A
   cell's left rule sits a pixel outside the strip, so a row's first cell shows none. */
.sgrid { display: flex; flex-wrap: wrap; margin: 22px 0 0 -21px; padding: 0; overflow: hidden; }
.sg { padding: 2px 20px; margin: 8px 0; box-shadow: -1px 0 0 #2A211B; min-width: 0; }
.sg dt { font: 700 13px/1 'Alegreya Sans SC', sans-serif; letter-spacing: .05em; color: #9C9282; white-space: nowrap; }
.sg dd { margin: 8px 0 0; max-width: 34ch; font: 500 20px/1.15 "Alegreya Sans", sans-serif; color: #F3E8D4; font-variant-numeric: tabular-nums; }
.erow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.slabel { font: 700 13px/1 'Alegreya Sans SC', sans-serif; letter-spacing: .05em; color: #9C9282; white-space: nowrap; margin-right: 4px; }
.enote { margin: 16px 0 0; font-size: 15px; color: #F2C14E; }
.callout { margin-top: 18px; padding: 14px 18px; border: 1px solid #2E3A22; border-left: 3px solid #7FD66A; border-radius: 4px; background: rgba(127,214,106,.05); font-size: 16px; }
.callout .slabel { display: block; margin-bottom: 8px; color: #9FD68F; }
.callout p { margin: 6px 0 0; color: #9C9282; font-size: 15px; }
.callout.gold { border-color: #4A3B22; border-left-color: #F2C14E; background: rgba(242,193,78,.05); }
.callout.gold .slabel { color: #F2D58A; }
.looks { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 18px; }
.look { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dotsep { color: #5A4E44; margin: 0 2px; }
.estrip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 16px 32px; border-top: 1px solid #221A15; }
.chip .cn { margin-left: 8px; font-size: 14px; color: #8F8575; }
.chip[aria-pressed="true"] .cn { color: #C9A24E; }
.ent > .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0; padding: 0 20px; border-top: 1px solid #221A15; border-bottom: 1px solid #221A15; background: #0D0A08; }
.ent > .tabs::-webkit-scrollbar { display: none; }
.ebody { padding: 28px 32px 32px; min-width: 0; }
.esec + .esec { margin-top: 32px; padding-top: 28px; border-top: 1px solid #1E1814; }
.esec .ttl .h2 { margin: 0; }
.efoot { padding: 22px 32px 26px; border-top: 1px solid #221A15; background: #0D0A08; border-radius: 0 0 8px 8px; }
.efoot .h3 { margin-bottom: 12px; }
.rel { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.relc { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border: 1px solid #221A15; border-radius: 4px; background: #0A0706; min-width: 0; }
.relc:hover { border-color: #4A3B2F; background: #120E0B; }
.relt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.relc .reln { color: #F3E8D4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.25; }
.scale { display: grid; grid-template-columns: 348px minmax(0, 1fr); gap: 32px; align-items: start; }
.cardcol { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.scalecol { min-width: 0; }
.where { display: grid; grid-template-columns: fit-content(560px) minmax(0, 1fr); gap: 32px; align-items: start; }
.step { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #16110E; }
.step .box { width: 18px; height: 18px; flex: 0 0 18px; border: 1px solid #6A5426; border-radius: 3px; }
/* A world's chart, cut to what it draws (armory.js chart()). */
.chart { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; border: 1px solid #2A211B; border-radius: 4px; overflow: hidden; background: #0D0B0A; }
.chart svg { display: block; width: 100%; height: 100%; }
.chart .box { fill: rgba(242,193,78,.14); stroke: rgba(242,193,78,.8); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.chart .dot { fill: #F2C14E; stroke: rgba(13,11,10,.85); stroke-width: 3px; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px rgba(242,193,78,.8)); }
.chart text { fill: #F2D58A; font-family: 'Alegreya Sans', sans-serif; font-weight: 500; paint-order: stroke; stroke: rgba(13,11,10,.92); stroke-width: .4em; stroke-linejoin: round; }
@media (max-width: 1100px) { .where { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .scale { grid-template-columns: minmax(0, 1fr); } .cardcol { align-items: flex-start; } }
@media (max-width: 720px) {
  .ehead { grid-template-columns: minmax(0, 1fr); padding: 20px 16px; gap: 18px; }
  .epic { width: 200px; }
  .estrip { padding: 14px 16px; }
  /* Every tab in sight on a phone: pills that wrap, not a strip that hides most of them off the edge. */
  .ent > .tabs { flex-wrap: wrap; gap: 6px; padding: 12px 16px; }
  .ent > .tabs .tab { --pb: calc((36px - 1cap) / 2 - 1px); padding-inline: 12px; border: 1px solid #2E241D; border-radius: 18px; background: #0E0B09; font-size: 15px; }
  .ent > .tabs .tab[aria-selected="true"] { border-color: #6A5426; background: #2A2114; box-shadow: none; }
  .ent > .tabs .tab.none { display: none; }
  .ebody { padding: 20px 16px 24px; }
  .efoot { padding: 18px 16px 20px; }
  .sg { padding: 2px 14px 2px 20px; }
  .sg dd { font-size: 18px; }
  .rel { grid-template-columns: minmax(0, 1fr); }
}

/* ---- the home page: the painting with the search, the four ways in, the classes, the latest update and the events.
   Not a panel like every other page: its parts stand on the page itself. */
.ent.home { background: none; border: 0; box-shadow: none; border-radius: 0; }
.home > .ahead { display: none; }
.hhero { position: relative; z-index: 5; display: flex; justify-content: center; padding: 28px 0 8px; margin-bottom: 32px; }
.hcopy { position: relative; width: min(760px, 100%); text-align: center; }
.hh1 { margin: 0; font: 700 56px/1.05 Cinzel, serif; color: #F3E8D4; }
.hlead { margin: 10px 0 22px; font-size: 20px; line-height: 1.35; color: #C9BFAE; }
#homesearch { min-width: 0; }
#homesearch .asearch { text-align: left; }
.asearch.big { flex: none; width: 100%; min-width: 0; }
.asearch.big input { height: 58px; padding-left: 48px; font-size: 18px; border-radius: 6px; border-color: #4A3B2F; background: #0B0807; box-shadow: 0 16px 40px -16px #000; }
.asearch.big svg { left: 16px; top: 20px; }
.hquick { justify-content: center; margin-top: 14px; }
.hday { margin-top: 14px; font-size: 14px; color: #9C9282; }
.hgates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hgate { display: flex; flex-direction: column; min-width: 0; border: 1px solid #221A15; border-radius: 6px; background: #100C0A; overflow: hidden; }
.hgate:hover { border-color: #4A3B2F; }
.hgatea { position: relative; display: block; height: 230px; overflow: hidden; color: inherit; text-decoration: none; }
/* The shots hold the game's HUD along their edges: the crop stays inside it. */
.hgatea img { position: absolute; left: -22%; top: -24%; width: 144%; height: 148%; object-fit: cover; transition: transform .25s ease; }
.hgatea:hover img { transform: scale(1.04); }
.hgatea::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,12,10,0) 30%, rgba(16,12,10,.86) 74%, #100C0A 100%); }
.hgatet { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 12px; display: flex; flex-direction: column; gap: 4px; }
.hgaten { font: 700 28px/1.1 Cinzel, serif; color: #F3E8D4; }
.hgatel { font-size: 16px; line-height: 1.3; color: #C9BFAE; }
.hsubs { flex: 1; margin: 0; padding: 4px 8px 8px; list-style: none; }
.hsubs a, .hclassl a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 10px; border-radius: 3px; text-decoration: none; }
.hsubs a:hover, .hclassl a:hover { background: rgba(243,232,212,.06); }
.hsubs b, .hclassl b { flex: none; font-weight: 400; font-size: 15px; color: #9C9282; font-variant-numeric: tabular-nums; }
.hsec { margin-top: 44px; min-width: 0; }
.hsect { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 14px; }
.hsect .h2 { margin: 0; font-size: 28px; }
.hmore { font-size: 16px; white-space: nowrap; }
.hclasses { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.hclass { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0 10px 16px; border: 1px solid #221A15; border-radius: 6px; text-align: center; text-decoration: none;
  background: radial-gradient(ellipse at 50% 38%, #2A1F17 0%, #120D0A 62%, #0A0706 100%); }
.hclass:hover { border-color: #4A3B2F; }
.hclassp { display: block; width: 100%; height: 320px; }
.hclassp img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; display: block; transform: scale(1.18); transform-origin: 50% 100%; }
.hclassn { margin-top: 10px; font: 700 20px/1.15 Cinzel, serif; color: #F3E8D4; }
.hclassr { margin-top: 4px; min-height: 22px; font-size: 15px; color: #9C9282; }
.hclassl { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
.hclassl a { gap: 8px; }
.hsplit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 40px; margin-bottom: 8px; }
.hsplit.one { grid-template-columns: minmax(0, 1fr); }
.hsplit .upost { margin-bottom: 4px; }
.hearlier { padding: 4px 0 0; }
.hevs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.hevs .evc { min-height: 64px; }
@media (max-width: 1180px) {
  .hgates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hsplit { grid-template-columns: minmax(0, 1fr); }
  .hclassp { height: 240px; }
  .hclassn { font-size: 17px; }
}
@media (max-width: 720px) {
  .hhero { padding-top: 12px; margin-bottom: 20px; }
  .hh1 { font-size: 44px; }
  .hlead { font-size: 17px; margin-bottom: 16px; }
  .hgates { grid-template-columns: minmax(0, 1fr); }
  .hgatea { height: 170px; }
  .hclasses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hclass:last-child { grid-column: 1 / -1; }
  .hclass:last-child .hclassp img { transform: none; }
  .hclassp { height: 220px; }
  .hsec { margin-top: 32px; }
}
.evc { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border: 1px solid #221A15; border-radius: 4px; background: #0A0706; min-width: 0; }
.evc:hover { border-color: #4A3B2F; background: #120E0B; }
.tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tierc { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid #221A15; border-radius: 4px; background: #0A0706; min-width: 0; }
.tierc[aria-current="true"] { border-color: #6A5426; background: #15100B; }
.tierc .reln { font: 700 17px/1.2 Cinzel, serif; color: #F3E8D4 !important; }
.tierc[aria-current="true"] .reln { color: #F2D58A !important; }
.tierc .crumb { align-self: flex-start; padding: 2px 0; font-size: 14px; }
.evpic img { width: 100%; height: 100%; object-fit: contain; }
.evpic { flex: none; width: 48px; height: 48px; border: 1px solid #2A211B; border-radius: 3px; overflow: hidden; background: radial-gradient(ellipse at 50% 42%, #2A1F17 0%, #120D0A 62%, #0A0706 100%); }

/* ---- patch notes (home page, /armory/updates): an update's date, its note, New / Changed / Removed */
.relhead { margin: -4px 0 14px; font: 700 15px/1.3 'Alegreya Sans SC', sans-serif; letter-spacing: .04em; color: #F2C14E; }
.ngroup { margin: 18px 0 10px; }
.ngroup:first-of-type { margin-top: 0; }
.ngroup .mute { font: 500 14px/1 'Alegreya Sans', sans-serif; margin-left: 6px; }
.rel.notes { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.relc.note .relt .mute { white-space: normal; line-height: 1.35; }
.relc.note .reln { white-space: normal; }
.ngrps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.ngrp { border: 1px solid #221A15; border-radius: 4px; background: #0A0706; }
.ngrp > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 14px; cursor: pointer; list-style: none; }
.ngrp > summary::-webkit-details-marker { display: none; }
.ngrp > summary::before { content: ""; width: 7px; height: 7px; border: solid #8F8575; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); transition: transform .12s; }
.ngrp[open] > summary::before { transform: rotate(45deg); }
.ngrp .ngh { flex: 1 1 280px; min-width: 0; color: #F3E8D4; font-size: 16px; }
.ngpics { display: flex; gap: 2px; }
.ngpics img { width: 28px; height: 28px; object-fit: contain; border: 1px solid #2A211B; border-radius: 3px; background: radial-gradient(circle at 50% 40%, #3A2C22, #120D0A); }
.ngrp > :not(summary) { margin: 0 14px; }
.ngrp[open] { padding-bottom: 14px; }
.nlines { display: flex; flex-direction: column; gap: 1px; }
/* The patch notes, set as a game's are: a heading for each part, a plain list, no pictures. */
.pn { max-width: 88ch; color: #D9CFBD; font-size: 16px; line-height: 1.55; }
.pnh { margin: 22px 0 8px; padding-bottom: 6px; border-bottom: 1px solid #2A211B; font: 700 19px/1.2 'Cinzel', serif; letter-spacing: .02em; color: #F2C14E; }
.pn > .pnh:first-child { margin-top: 4px; }
.pnl { margin: 0 0 6px; padding-left: 20px; }
.pnl li { margin: 3px 0; }
.pnl li::marker { color: #8F8575; }
.pnl ul { margin: 2px 0 6px; padding-left: 22px; color: #B5AB9A; font-size: 15px; list-style: circle; }
.pnl a { color: #F3E8D4; text-decoration: none; border-bottom: 1px solid #4A3B2E; }
.pnl a:hover { color: #FFFFFF; border-bottom-color: #F2C14E; }
.pnl b { color: #F3E8D4; font-weight: 500; }
.pnnew { display: inline-block; margin-right: 2px; padding: 0 6px; border-radius: 3px; background: #2F4A1F; color: #A8E08A; font: 700 12px/1.6 'Alegreya Sans SC', sans-serif; letter-spacing: .05em; vertical-align: 1px; }
.pnmore > summary { margin-left: 22px; color: #9C9282; font-size: 15px; cursor: pointer; }
.pnmore > summary:hover { color: #F3E8D4; }
.rnote { margin: 0 0 16px; max-width: 80ch; font-size: 16px; line-height: 1.55; color: #D9CFBD; }
.rnote p { margin: 0 0 8px; } .rnote ul { margin: 0 0 8px; padding-left: 20px; }
.diff .buff { color: #7FD66A; } .diff .nerf { color: #E8A15A; }

/* ---- the game's item card: src/game/ui/tip.cpp, at the 1080-line pixels of card_style.json ---- */
.gcard { position: relative; box-sizing: content-box; width: 346px; border: 1px solid transparent; border-radius: 4px; color: #fff;
  font: 500 14px/21px 'Alegreya Sans', sans-serif; text-shadow: 1px 1px 0 rgba(0,0,0,.75); text-align: left; white-space: normal; letter-spacing: 0;
  background: linear-gradient(transparent, transparent) padding-box, linear-gradient(rgba(13,10,8,.92), rgba(5,3,3,.9)) padding-box,
    linear-gradient(rgba(107,86,69,.94), rgba(42,32,25,.94)) border-box;
  box-shadow: 0 0 0 1px #000, 0 1px 3px rgba(0,0,0,.7), 0 8px 14px rgba(0,0,0,.55), 0 30px 60px rgba(0,0,0,.55); overflow: hidden; }
.gcard.gancient { background: linear-gradient(transparent, transparent) padding-box, linear-gradient(rgba(13,10,8,.92), rgba(5,3,3,.9)) padding-box,
    linear-gradient(rgba(140,230,255,.95), rgba(13,77,140,.9)) border-box;
  box-shadow: 0 0 0 1px #000, 0 0 6px 2px rgba(26,184,255,.4), 0 8px 14px rgba(0,0,0,.55), 0 30px 60px rgba(0,0,0,.55); }
.gcard.gancient::before { content: ''; position: absolute; inset: 3px; border: 1px solid rgba(89,209,255,.45); border-radius: 3px; pointer-events: none; z-index: 2; }
.gcard.gancient .gline { background: linear-gradient(90deg, rgba(255,115,191,0), rgba(255,115,191,.9) 12%, #8ce6ff 42%, #8ce6ff 58%, rgba(115,255,140,.9) 88%, rgba(115,255,140,0)) !important; }
.gcard * { box-sizing: border-box; }
.gcard b { font-weight: 700; }
.gtop { position: relative; }
.gpic { position: absolute; right: 6px; top: 6px; object-fit: contain; z-index: 1; }
.ghead { position: relative; padding: 12px; border-radius: 4px 4px 0 0; }
.gline { position: absolute; left: 4px; right: 4px; top: -1px; height: 2px; }
.gtitle { font: 500 17px/21px Cinzel, serif; text-transform: uppercase; letter-spacing: .06em; opacity: .94; }
.gsub { font-size: 14px; line-height: 22px; opacity: .94; }
.gbound { font-size: 14px; line-height: 21px; opacity: .94; }
.ghero { padding: 0 12px; opacity: .94; }
.ghl { display: flex; align-items: baseline; gap: 8.4px; line-height: 31px; }
.ghl b { font-size: 24px; }
.ghl span { font-size: 15px; color: #c4c1b4; }
.gbr { position: relative; padding: 0 0 0 13px; margin: -4px 0 10px; }
.gbr::before { content: ""; position: absolute; left: 3px; top: 3px; bottom: 3px; width: 1px; background: rgba(255,255,255,.169); }
.gbr div { font-size: 13.5px; line-height: 21px; color: #96998e; }
.gbr b { margin-right: 4.7px; }
.gsec { padding: 8px 12px; border-top: 1px solid rgba(255,255,255,.056); opacity: .94; }
.gkick { font: 700 12px/20px 'Alegreya Sans SC', sans-serif; letter-spacing: .1em; color: #c4c1b4; }
.gopt { position: relative; padding-left: 25px; }
.gopt.gap, .gstat.gap { margin-top: 9px; }
.gmark { position: absolute; left: 0; top: 0; width: 16px; height: 21px; display: flex; align-items: center; justify-content: center; }
.gstat { position: relative; display: flex; justify-content: space-between; gap: 12px; padding-left: 25px; }
.glab { white-space: nowrap; }
.gtags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 2px 6px 2px 12px; }
.gtags.gap { margin-top: 9px; }
.gtags span { min-height: 21px; padding: 0 4px; border-radius: 2px; text-align: center; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gvals { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.gchip { display: inline-block; margin-left: 4px; padding: 0 5px; border: 1px solid; border-radius: 2px; font-size: 11px; line-height: 16px; letter-spacing: .08em; }
.gframe { margin: 4px -6px 4px 19px; padding: 4px 0; background: rgba(255,255,255,.03); box-shadow: 0 0 0 1px rgba(255,255,255,.10); }
.gframe .gopt, .gframe .gstat { padding-left: 12px; padding-right: 6px; }
.gframe .gopt:has(.gmark) { padding-left: 33px; }
.gframe .gmark { left: 12px; }
.gfoot { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: rgba(0,0,0,.376); box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  font-size: 13px; line-height: 20px; opacity: .94; }
.gfoot .r { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: #7d8077; white-space: nowrap; }
.gsell { display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 0 12px; background: rgba(0,0,0,.517); box-shadow: inset 0 1px 0 rgba(107,86,69,.846); }
.gsell span { font-size: 11.96px; letter-spacing: .12em; color: #7d8077; }
.gsell b { display: flex; align-items: center; gap: 5.4px; font-size: 14.56px; color: #ffcc1a; }
@media (max-width: 420px) { .gcard { width: calc(100vw - 72px); max-width: 346px; } }
/* The card in the panel's Stats tab: no wider than its column on a phone. */
.cardcol .gcard { width: min(346px, calc(100% - 2px)); }
/* The Armory's pages end on the panel: no rule over the site's footer (site.css draws one for the rest). */
footer { box-shadow: none; }

/* Tables on a phone: each row a two-line card -- its picture, its name and the one number that
   matters (a drop's chance, a list's level) on the first line, the rest small under it. A table
   marks that number by a td.k, or .kl when it is the last cell. Tables of row headings stay tables. */
@media (max-width: 700px) {
  .pop { display: none; }  /* no hover on a phone: the card is a tap away, on the item's page */
}
@media (max-width: 880px) {
  .tbox:not(:has(th.rowh)) { overflow: visible; }
  .tbl:not(:has(th.rowh)) { min-width: 0; display: block; }
  .tbl:not(:has(th.rowh)) thead { display: none; }
  /* A table that sorts keeps its sortable heads on a phone, as a row of pills over the cards. */
  .tbl:not(:has(th.rowh)) thead:has(a.sh) { display: block; padding: 10px 12px 4px; }
  .tbl:not(:has(th.rowh)) thead:has(a.sh) tr { display: flex; flex-wrap: wrap; gap: 6px; }
  .tbl:not(:has(th.rowh)) thead:has(a.sh) th { display: block; padding: 0; border: 0; background: none; }
  .tbl:not(:has(th.rowh)) thead:has(a.sh) th:not(:has(a.sh)) { display: none; }
  .tbl:not(:has(th.rowh)) thead a.sh { height: 32px; padding: 0 12px; border: 1px solid #2E241D; border-radius: 16px; background: #0E0B09; font-size: 13px; }
  .tbl:not(:has(th.rowh)) thead a.sh[aria-sort] { border-color: #6A5426; background: #2A2114; }
  .tbl:not(:has(th.rowh)) tbody { display: block; }
  .tbl:not(:has(th.rowh)) tbody tr { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 4px; padding: 10px 12px; border-top: 1px solid #16110E; }
  .tbl:not(:has(th.rowh)) tbody tr:first-child { border-top: 0; }
  .tbl:not(:has(th.rowh)) tbody td { order: 3; display: block; height: auto; max-width: none; margin: 0; padding: 0; border: 0; white-space: normal; text-align: left; font-size: 14px; color: #9C9282; }
  .tbl:not(:has(th.rowh)) tbody td:empty { display: none; }
  .tbl:not(:has(th.rowh)) tbody td:has(> :is(.ico, .ticon)) { order: 0; flex: 0 0 44px; width: 44px !important; }
  .tbl:not(:has(th.rowh)) tbody td.long { flex: 0 0 100%; }
  .tbl:not(:has(th.rowh)) tbody tr > td:first-child:not(:has(> :is(.ico, .ticon))), .tbl:not(:has(th.rowh)) tbody td:has(> :is(.ico, .ticon)) + td { order: 1; flex: 1 1 60%; min-width: 0; font-size: 16px; color: #D9CFBD; }
  /* The key number sits top right; the name takes the rest of the first line, the others go under. */
  .tbl:not(:has(th.rowh)) tbody tr > td:first-child:not(:has(> :is(.ico, .ticon))) { flex: 0 0 100% !important; }
  .tbl:not(:has(th.rowh)) tbody td:has(> :is(.ico, .ticon)) + td { flex: 0 0 calc(100% - 56px) !important; }
  .tbl:not(:has(th.rowh)) tbody tr:has(td.k) > td:first-child:not(:has(> :is(.ico, .ticon))), .tbl:not(:has(th.rowh)) tbody tr:has(td.k) td:has(> :is(.ico, .ticon)) + td,
  .tbl.kl:not(:has(th.rowh)) tbody tr > td:first-child:not(:has(> :is(.ico, .ticon))), .tbl.kl:not(:has(th.rowh)) tbody td:has(> :is(.ico, .ticon)) + td { padding-right: 120px; }
  .tbl:not(:has(th.rowh)) tbody tr { position: relative; }
  .tbl.kl:not(:has(th.rowh)) tbody td:last-child, .tbl:not(:has(th.rowh)) tbody td.k { position: absolute; right: 12px; top: 12px; max-width: 116px; text-align: right; font-size: 15px; color: #F3E8D4; }
  .tbl:not(:has(th.rowh)) tbody tr:has(td:has(> :is(.ico, .ticon))) td.k, .tbl.kl:not(:has(th.rowh)) tbody tr:has(td:has(> :is(.ico, .ticon))) td:last-child { top: 31px; }
  .tbl:not(:has(th.rowh)) tbody td.nil { display: none; }
  .tbl:not(:has(th.rowh)) tbody td[data-l]::before { content: attr(data-l) " "; font: 700 12px/1 'Alegreya Sans SC', sans-serif; letter-spacing: .04em; color: #6F665A; }
  .tbl tbody td .sub2 { display: block; margin: 0; }
  .tbl tbody tr:hover td { background: none; }
}
.upost { display: flex; gap: 20px; padding: 18px; margin-bottom: 12px; border: 1px solid #221A15; border-radius: 6px; background: #0A0706; color: inherit; text-decoration: none; }
.upost:hover { border-color: #4A3A28; }
.uppic { flex: none; width: 96px; height: 96px; border: 1px solid #221A15; border-radius: 4px; background: #100C0A; overflow: hidden; }
.uppic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.upb { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.upd { font: 700 13px/1.3 'Alegreya Sans SC', sans-serif; letter-spacing: .04em; color: #9C9282; }
.upt { font: 700 22px/1.25 Cinzel, serif; color: #F3E8D4; overflow-wrap: anywhere; }
.upi { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 16px; line-height: 1.5; color: #BDB2A0; }
.upm { font-size: 15px; color: #F2C14E; }
.upost:hover .upm { text-decoration: underline; }
.uintro { max-width: 80ch; margin: 0 0 24px; font-size: 18px; line-height: 1.55; color: #D9CFBD; }
@media (max-width: 560px) { .upost { gap: 14px; padding: 14px; } .uppic { width: 64px; height: 64px; } .upt { font-size: 19px; } }

/* ---- the bar over every page; a trail only where it says more than the bar does */
.anav { position: sticky; top: 0; z-index: 60; display: flex; gap: 2px; margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
  border-bottom: 1px solid #221A15; background: #0B0908; }
.anav::-webkit-scrollbar { display: none; }
.navt { flex: none; display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
  color: #C9BFAE !important; font: 500 16px/1 'Alegreya Sans', sans-serif; text-decoration: none; }
.navt:hover { color: #F3E8D4 !important; }
.navt[aria-current] { border-bottom-color: #F2C14E; color: #F2D58A !important; }
.navt:focus-visible { outline: 2px solid #A88B6C; outline-offset: -2px; }
.navh { padding: 0 10px; }
.navt { font-size: 17px; padding: 0 16px; }
.rail .subs { display: flex; flex-direction: column; }
@media (max-width: 1180px) {
  .rail .subs { flex: 1 1 100%; flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .rail .subs::-webkit-scrollbar { display: none; }
  .rail .subs .ci { flex: none; width: auto; min-height: 36px; padding: 6px 12px; border: 1px solid #2E241D; border-radius: 18px; white-space: nowrap; font-size: 15px; }
  .rail .subs .ci span { margin-left: 2px; font-size: 13px; }
  .rail .subs .ci[aria-current="true"] { border-color: #6A5426; }
}
@media (max-width: 560px) { .navt { padding: 0 9px; font-size: 16px; } .navh { padding: 0 8px; } }
.ahead:not(:has(li:nth-child(3))) { justify-content: flex-end; }
.ahead nav:not(:has(li:nth-child(3))) { display: none; }
.ahead:not(:has(li:nth-child(3))):not(:has(.asearch)) { display: none; }
@media (max-width: 560px) { .anav { margin-inline: -20px; padding-inline: 8px; } .ahead .asearch { flex: 1 1 100%; } .ahead { padding-bottom: 16px; } }

/* The menu in the site's bar: the logo, the menu, then language and sign-in; sticky on a wide screen, its own row on a narrow one. */
.armory-bar .bar { position: sticky; top: 0; z-index: 60; gap: clamp(16px, 2.5vw, 40px); background: #0B0908; border-bottom: 1px solid #221A15; }
.bar .anav { position: static; flex: 1 1 auto; min-width: 0; align-self: stretch; margin: 0; padding: 0; border: 0; background: none; overflow: visible; }
.bar .anav .navt { min-height: 0; margin-bottom: 0; border-bottom-width: 3px; padding-top: 3px; }
/* What does not fit the bar: More, its menu the language picker's. */
.navmore { position: relative; flex: none; }
.navmore[hidden] { display: none; }
.navmore > summary { box-sizing: border-box; height: 100%; gap: 9px; cursor: pointer; list-style: none; user-select: none; }
.navmore > summary::-webkit-details-marker { display: none; }
.navmore > summary b { width: 6px; height: 6px; margin-top: -4px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); transition: transform .18s ease; }
.navmore[open] > summary b { transform: rotate(-135deg); margin-top: 3px; }
.navmore:has(.lang-menu [aria-current]) > summary { border-bottom-color: #F2C14E; color: #F2D58A !important; }
.navmore .lang-menu { min-width: 168px; }
.bar .anav .navmore .lang-menu .navt { padding: 9px 12px; border: 0; border-radius: 6px; font-size: 16px; }
.navmore .lang-menu .navt:hover, .navmore .lang-menu .navt:focus-visible { background: rgba(243,232,212,.06); }
@media (max-width: 900px) {
  .armory-bar .bar { position: relative; flex-wrap: wrap; height: auto; padding-top: 10px; row-gap: 6px; }
  .bar .anav { order: 3; flex: 1 1 100%; height: 46px; justify-content: space-between; }
}
.rail, .rail .subs { min-width: 0; max-width: 100%; }
.armory-bar .awrap { padding-top: 20px; }
@media (max-width: 420px) { .cardcol, .cardcol .gcard { min-width: 0; max-width: 100%; } .cardcol .gcard { width: calc(100% - 2px) !important; } }
/* On a wide screen the menu stands in the bar's true middle; the two sides only give way when they need the room. */
@media (min-width: 901px) {
  .armory-bar .bar { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); }
  .armory-bar .bar > a { justify-self: start; }
  .armory-bar .bar .bar-links { justify-self: end; }
}
.rbody > div + div { margin-top: 28px; }
.hero { display: flex; flex-direction: column; gap: 12px; }
.hero .rh { margin-bottom: 0; }
.hero > .chips { padding: 0 12px; }
.hboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; padding: 0 12px; }
.hbox { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #9C9282; }
.hbox input { width: 100%; height: 38px; padding: 0 10px; border: 1px solid #2E241D; border-radius: 3px; background: #050403; color: #F3E8D4; font: 500 16px/1 'Alegreya Sans', sans-serif; }
.hbox input:focus { outline: 2px solid #A88B6C; outline-offset: -1px; }
.hnote { margin: 0 0 12px; }
.hero, .hero .rh, .hbox { text-align: left; align-items: stretch; }
@media (min-width: 1181px) { .rail { gap: 20px; } }
.hask { margin: 0; padding: 0 12px; font-size: 15px; line-height: 1.45; color: #BDB2A0; }
.hsign { align-self: flex-start; margin-left: 12px; }
.hero .hbox { padding: 0 12px; }
.hbox select { width: 100%; height: 42px; padding: 0 8px; border: 1px solid #2E241D; border-radius: 3px; background: #050403; color: #F3E8D4; font: 500 15px/1 'Alegreya Sans', sans-serif; }
.hbox select:focus { outline: 2px solid #A88B6C; outline-offset: -1px; }
.main > .ahead { padding: 0 0 20px; }
.ent > .ahead { padding: 20px 32px 0; }
.ent > .ahead + .ehead { padding-top: 20px; }
/* The head's red glow from the panel's own corner, so it runs on behind the breadcrumb and the search, with no edge
   where the head begins (the user, 2026-11-19: "gradient needs improvment so its also behind breadcrumb"). */
.ent:has(> .ahead) { background: radial-gradient(75% 460px at 0% 0%, rgba(194,54,43,.09), rgba(194,54,43,.035) 45%, rgba(194,54,43,0) 75%), #100C0A; }
.ent > .ahead + .ehead { background: none; }
@media (max-width: 720px) { .ent > .ahead { padding: 14px 16px 0; } }
/* Articles: guides and updates. A grid of cards; one reads in a narrow column, as a page of text should. */
.arts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr)); gap: 12px; }
.arts .upost { margin: 0; }
.article .ehead, .article .ebody { max-width: 860px; margin-inline: auto; width: 100%; box-sizing: border-box; }
.article .ehead { padding-bottom: 8px; }
.article .elead { font-size: 19px; }
.article .ebody { font-size: 17px; line-height: 1.6; }
/* A list's title row holds its search. */
.main > .ttl { align-items: center; gap: 12px 16px; }
.main > .ttl .asearch { margin-left: auto; flex: 0 1 420px; }
.main > .ttl h1 + span { align-self: flex-end; padding-bottom: 5px; }
@media (max-width: 720px) { .main > .ttl .asearch { flex: 1 1 100%; margin-left: 0; order: 3; } }
/* Sign in over the page. */
.asign { width: min(420px, calc(100vw - 32px)); padding: 28px; border: 1px solid #3A2E25; border-radius: 8px; background: #100C0A; color: #D9CFBD; box-shadow: 0 30px 80px rgba(0,0,0,.8); }
.asign::backdrop { background: rgba(0,0,0,.72); }
.asign form { position: relative; display: flex; flex-direction: column; gap: 14px; }
.asign label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: #9C9282; }
.asign input { height: 44px; padding: 0 12px; border: 1px solid #2E241D; border-radius: 3px; background: #050403; color: #F3E8D4; font: 500 16px/1 'Alegreya Sans', sans-serif; }
.asign input:focus { outline: 2px solid #A88B6C; outline-offset: -1px; }
.asgo { height: 46px; border: 1px solid #6A5426; border-radius: 4px; background: #2A2014; color: #F2D58A; font: 700 16px/1 'Alegreya Sans', sans-serif; cursor: pointer; }
.asgo:hover { background: #3A2C18; } .asgo:disabled { opacity: .6; cursor: default; }
.asx { position: absolute; top: -12px; right: -10px; width: 36px; height: 36px; border: 0; background: none; color: #9C9282; font-size: 24px; line-height: 1; cursor: pointer; }
.asx:hover { color: #F3E8D4; }
.aserr { margin: 0; color: #fff; background: #8E2A20; padding: 8px 10px; border-radius: 3px; font-size: 15px; }
.asmore { margin: 0; text-align: center; font-size: 14px; } .asmore a { color: #C9BFAE; text-decoration: underline; }
.arts.one { grid-template-columns: minmax(0, 1fr); }
.upmore { display: flex; justify-content: center; padding: 20px 0 8px; }

/* ---- the sidebar: one panel that follows the page, its parts split by a rule, every edge on one line */
@media (min-width: 1181px) {
  .rail { position: sticky; top: 100px; gap: 0; max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2E241D transparent;
    border: 1px solid #221A15; border-radius: 8px; background: #0E0B09; }
  .rail .subs { padding: 8px; gap: 2px; }
  .rail .subs + .rmenu { border-top: 1px solid #221A15; }
  .rail .rmenu > summary { display: none; }
}
.rail .rbody { display: flex; flex-direction: column; }
.rail .rbody > div { margin: 0; padding: 16px 8px; }
.rail .rbody > div + div { margin: 0; border-top: 1px solid #1B1511; }
.rail .rh { margin: 0 0 10px; padding: 0 8px; font-size: 13px; }
.rail .chips, .rail .hero > .chips { gap: 6px; padding: 0 8px; }
.rail .chip { padding-inline: 11px; font-size: 14px; }
.rail .ci { min-height: 36px; padding: 6px 8px; font-size: 15px; }
.rail .ci span { font-size: 13px; }
.rail .ci.sub { min-height: 32px; padding-left: 20px; font-size: 14px; }
@media (min-width: 1181px) { .rail .ci[aria-current="true"] { box-shadow: inset 2px 0 0 #F2C14E; border-radius: 0 3px 3px 0; } }
.rail .hero { gap: 10px; }
.rail .hero .rh { margin: 0; }
.rail .hask { padding: 0 8px; font-size: 14px; line-height: 1.45; color: #9C9282; }
.rail .hsign { align-self: stretch; margin: 0 8px; text-align: center; border-color: #6A5426; background: #2A2014; color: #F2D58A; }
.rail .hsign:hover { background: #3A2C18; color: #F2D58A; }
.rail .hero .hbox { padding: 0 8px; }
@media (max-width: 1180px) { .rail .rmenu[open] > .rbody { gap: 0; padding: 4px 6px; } }
.rail .chip { padding-inline: 9px; }
.rail .chips.clsrow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.rail .clsrow .chip { padding-inline: 0; min-width: 0; font-size: 13px; }
.rail > .hero { flex: 1 1 100%; min-width: 0; }
@media (min-width: 1181px) { .rail > .hero { padding: 16px 8px; border-bottom: 1px solid #221A15; } }
@media (max-width: 1180px) {
  .rail > .hero { padding: 0 0 8px; }
  .rail > .hero .rh, .rail > .hero .hask, .rail > .hero .hbox, .rail > .hero > .chips { padding-inline: 0; }
  .rail > .hero .hsign { margin-inline: 0; align-self: flex-start; }
}

/* ---- a guide: its contents, numbered steps, tips, pictures and links with their pictures */
.gsect + .gsect { margin-top: 32px; }
.gsect .h2 { margin-bottom: 14px; }
.gtoc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 16px; }
.gtoc a { font-size: 15px; }
.esec[id] { scroll-margin-top: 100px; }
.gsteps { margin: 0 0 8px; padding: 0; list-style: none; counter-reset: gstep; }
.gsteps li { position: relative; padding: 6px 0 6px 42px; counter-increment: gstep; }
.gsteps li::before { content: counter(gstep); position: absolute; left: 0; top: 4px; width: 28px; height: 28px; border: 1px solid #4A3B2F; border-radius: 3px; background: #15100D; font: 700 15px/28px Cinzel, serif; color: #F2D58A; text-align: center; }
.gtip { margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid #A88B6C; border-radius: 0 3px 3px 0; background: #15100D; }
.gwarn { margin: 4px 0 0; padding: 12px 16px; border-radius: 3px; background: #7A1F1A; color: #FFFFFF; }
.gwarn p { margin: 0 0 6px; }
.gwarn p:last-child { margin: 0; }
.gtip b { margin-right: 6px; color: #F2D58A; font-weight: 700; }
.gshot { margin: 16px 0 0; }
.gshot img { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid #221A15; }
.gshot figcaption { margin-top: 6px; font-size: 14px; color: #9C9282; }
.glinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-top: 14px; }
.glink { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 10px 6px 6px; border: 1px solid #221A15; border-radius: 4px; background: #0A0706; text-decoration: none; }
.glink:hover { border-color: #4A3B2F; background: #120E0B; }
div.glink:hover { border-color: #221A15; background: #0A0706; }
.gtabs { margin: 16px 0 14px; }
.gtabs .tab { --pb: calc((42px - 1cap) / 2); }
.gpane > p:first-child { margin-top: 0; }
.gpane > ul { margin-bottom: 14px !important; }
.gpane .gtbl + .gtbl, .gpane table + table { margin-top: 12px; }
.glinkp { flex: none; width: 44px; height: 44px; border-radius: 3px; background: radial-gradient(ellipse at 50% 42%, #2A1F17 0%, #120D0A 62%, #0A0706 100%); overflow: hidden; }
.glinkp img { width: 100%; height: 100%; object-fit: contain; display: block; }
.glinkt { display: flex; flex-direction: column; min-width: 0; }
.glinkn { font-weight: 500; color: #F3E8D4; overflow-wrap: anywhere; line-height: 1.2; }
.glinkk { font-size: 13px; color: #9C9282; }
/* What an orb or a scroll teaches. */
.teach { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.teach .ticon { flex: none; width: 46px; height: 64px; }
.teachn { font: 700 20px/1.2 Cinzel, serif; }
.teach p { margin: 4px 0 0; }

/* A recipe at a glance: what goes in, what comes out, its chance and cost. */
.mixg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 300px); gap: 12px; align-items: stretch; }
.mixp { min-width: 0; padding: 14px 16px; border: 1px solid #221A15; border-radius: 4px; background: #0A0706; }
.mixp .h3 { margin: 0 0 10px; }
.mixr { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 3px 0; }
.mixr + .mixr { border-top: 1px solid #1E1814; }
.mixi { flex: none; width: 40px; height: 40px; border: 1px solid #2A211B; border-radius: 3px; overflow: hidden; background: radial-gradient(ellipse at 50% 42%, #2A1F17 0%, #120D0A 62%, #0A0706 100%); }
.mixi img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mixn { flex: 1; min-width: 0; color: #F3E8D4; line-height: 1.25; }
.mixs { flex: none; color: #9C9282; font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; }
.mixt { margin: 0; }
.mixc { font: 700 36px/1.1 Cinzel, serif; color: #F3E8D4; }
.mixc.word { font: 500 17px/1.3 'Alegreya Sans', sans-serif; }
.mixz { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #1E1814; }
.mixz b { font-weight: 500; color: #F3E8D4; font-variant-numeric: tabular-nums; }
.mixf { margin-top: 10px; padding-top: 10px; border-top: 1px solid #1E1814; line-height: 1.35; }
.mixf span { display: block; margin-bottom: 2px; color: #9C9282; font-size: 15px; }
@media (max-width: 1000px) { .mixg { grid-template-columns: minmax(0, 1fr); } }
/* A guide's flat icon, on a plain square. */
.uppic.flat { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: #15100D; border-color: #2A211B; color: #C9B48F; }
.uppic.flat .licon { width: 34px; height: 34px; }
.upost:hover .uppic.flat { color: #F3E8D4; }
.epic.sm.flat { display: flex; align-items: center; justify-content: center; background: #15100D; color: #C9B48F; }
.gtbl { width: 100%; }
.gtbl td.gcell, .gtbl th { white-space: normal; }
/* On a phone: the words first, and things big enough for a thumb. */
@media (max-width: 720px) {
  .article .ehead .epicol { display: none; }
  .article .ehead { grid-template-columns: minmax(0, 1fr); }
  .gtoc { gap: 0 14px; }
  .gtoc .slabel { flex-basis: 100%; }
  .gtoc a { padding: 7px 0; }
  .mixn a { display: block; padding: 8px 0; }
  .tcol a.tb { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; }
}
/* The items list. On a phone every row reads the same: picture; name and level; its stat; what it asks and who wears it. */
.iw { display: none; }
@media (max-width: 880px) {
  .tbl.itbl:not(:has(th.rowh)) tbody tr { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 3px; align-items: baseline; padding: 12px; position: relative; }
  .tbl.itbl:not(:has(th.rowh)) tbody td { order: 0; flex: none; width: auto !important; font-size: 15px; text-align: left; }
  .tbl.itbl:not(:has(th.rowh)) tbody td::before { content: none !important; display: none !important; }
  .tbl.itbl:not(:has(th.rowh)) tbody td.ipic { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
  .tbl.itbl:not(:has(th.rowh)) tbody td.iname { grid-column: 2 / -1; grid-row: 1; padding-right: 72px; font-size: 16px; color: #F3E8D4; }
  .tbl.itbl:not(:has(th.rowh)) tbody td.ilv { position: absolute; top: 12px; right: 12px; white-space: nowrap; text-align: right; color: #9C9282; }
  .tbl.itbl:not(:has(th.rowh)) tbody td.istat { grid-column: 2; grid-row: 2; color: #F3E8D4; }
  .tbl.itbl:not(:has(th.rowh)) tbody td.iwiz { grid-column: 3; grid-row: 2; text-align: right; color: #F3E8D4; }
  .tbl.itbl:not(:has(th.rowh)) tbody td.ireq { grid-column: 2; grid-row: 3; font-size: 14px; }
  .tbl.itbl:not(:has(th.rowh)) tbody td.icls { grid-column: 3; grid-row: 3; text-align: right; font-size: 14px; }
  .tbl.itbl tbody td.itype { display: none; }
  .tbl.itbl .iw { display: inline; margin-right: 6px; color: #9C9282; }
  .tbl.itbl thead th:nth-child(3) { display: none !important; }
}

/* The classes standing in their idle (leaders3d.js stage): drawn over the picture, which goes once the first frame is in. */
.hclassp { position: relative; }
.hclassp .e3d { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; pointer-events: none; opacity: 0; transition: opacity .35s ease; }
/* Every card's canvas is drawn at the first card's size (leaders3d.js); the phone's full-width last card kept that
   shape stretched across it (BloodDemon on Discord, 2026-11-20: "DL image a bit stretched"). object-fit holds it. */
.hclassp img, .epic[data-class] img { transition: opacity .35s ease; }
.hclassp.live .e3d, .epic.live .e3d { opacity: 1; }
.hclassp.live img, .epic.live img { opacity: 0; }
/* A ring in place of the picture while its 3D model loads (the user, 2026-11-19: "use some preloader for threejs object"),
   as the front page's heroes have: an item's or a monster's (item3d.js loading3d), a class's (leaders3d.js, .figs3d). */
.epic.loading3d:not(.live3d) img,
.figs3d .hclassp:not(.live):not(.still) img, .figs3d .epic[data-class]:not(.live):not(.still) img { opacity: 0; }
.epic.loading3d:not(.live3d)::after,
.figs3d .hclassp:not(.live):not(.still)::after, .figs3d .epic[data-class]:not(.live):not(.still)::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; pointer-events: none;
  border-radius: 50%; border: 2px solid rgba(201,162,126,.18); border-top-color: rgba(233,203,138,.85); animation: e3d-spin .9s linear infinite; }
@keyframes e3d-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .epic::after, .hclassp::after { animation-duration: 3s; } }

