/* DaevaMeter Records: the Records, Classes, Builds, fight and clear pages
   (on top of /style.css: the same colours, header and footer as the home page; look A: glass cards with one steel
   edge, the game's blue for what's picked, a switch and filters as joined bars). */

/* (2.0.7: the header's tabs are the site's own now, /style.css) */

.data { padding-top: 32px; padding-bottom: 56px; }
/* Records: its title and its sections' tabs (1.7.8), the same on each of its pages */
/* (2.1, his pick B) the Records' header: the title and Upload a fight; Leaderboards | Classes; that group's tabs */
.rec-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.rec-top h1 { margin: 0; font-size: 30px; font-weight: 600; }
.rec-top .upl { padding: 8px 14px; font-size: 14px; }
.rec-top .upl svg { width: 16px; height: 16px; }
.rec-top .upl[aria-current="page"] { border-color: var(--sel-edge); background: var(--sel); }
.recsw { display: inline-flex; margin: 0 0 12px; }
.recsw a { margin-left: -1px; padding: 7px 18px; border: 1px solid var(--line2); background: var(--well); color: var(--sub); font-weight: 600; font-size: 14.5px; text-decoration: none; text-align: center; white-space: nowrap; }
.recsw a:first-child { margin-left: 0; border-radius: var(--rc) 0 0 var(--rc); }
.recsw a:last-child { border-radius: 0 var(--rc) var(--rc) 0; }
.recsw a:hover { color: var(--fg); background: #131c27; }
.recsw a.on { position: relative; z-index: 1; background: var(--seg-on); border-color: #3f78ad; color: #fff; }
.rectabs { display: flex; gap: 22px; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.rectabs a { padding: 8px 2px 10px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--sub); font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.rectabs a:hover { color: var(--fg); }
.rectabs a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--accent); }
.recsw a:focus-visible, .rectabs a:focus-visible, .rec-top .upl:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) {
  .recsw { display: flex; }
  .recsw a { flex: 1; }
  /* (on a phone the classes are their icons only, their names on hover and to screen readers) */
  .classpick { gap: 5px; }
  .classpick button { padding: 6px 7px; }
  .classpick button span { display: none; }
}
.lead { margin: 0 0 18px; color: var(--sub); max-width: 760px; font-size: 16px; }
/* a page's way back: an arrow by its title */
.titlebar { display: flex; align-items: flex-start; gap: 14px; margin: 6px 0 18px; }
.titlebar h1 { margin: 0 0 4px; font-size: 26px; font-weight: 600; }
.titlebar p { margin: 0; color: var(--sub); }
.back { flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--rc); border: 1px solid var(--line2); background: var(--panel2); color: var(--fg); text-decoration: none; font-size: 20px; line-height: 1; margin-top: 2px; }
.back:hover { border-color: var(--edge); color: #fff; background: #1a2533; }
.back:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.back svg { width: 20px; height: 20px; }
/* a row that opens what it shows (a fight, a clear): the whole row, no "Open" */
tr.go { cursor: pointer; }
tr.go:hover td { background: var(--track); }
tr.go a.rowlink { color: inherit; text-decoration: none; }
tr.go a.rowlink:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.chev { color: var(--dim); font-size: 18px; line-height: 1; }
a.go:hover .chev, tr.go:hover .chev { color: var(--accent); }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin: 0 0 18px; }
.page-head h1 { margin: 0 0 4px; font-size: 30px; font-weight: 600; }
.page-head p { margin: 0; color: var(--sub); max-width: 640px; }
.when-note { color: var(--dim); font-size: 13px; margin: 6px 0 0; }

/* filters: one row above the data */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 22px; }
.filters .fset { display: contents; }
.card-top .lvl { font-size: 12.5px; color: var(--sub); border: 1px solid var(--line2); border-radius: var(--rc); background: var(--well); padding: 1px 8px; white-space: nowrap; }
.seg { display: inline-flex; flex-wrap: nowrap; border: 1px solid var(--line2); border-radius: var(--rc); overflow: hidden; background: var(--well); }
.seg button { margin: 0; border: 0; border-radius: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--sub); background: none; padding: 7px 14px; cursor: pointer; }
.seg button:first-child, .seg button:last-child { border-radius: 0; }
.seg button + button { border-left: 1px solid var(--line2); }
.seg button:hover { color: var(--fg); background: #131c27; }
.seg button.on { background: var(--seg-on); color: #fff; }
.seg button:focus-visible, .rowbtn:focus-visible, .chip:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* icons */
.ci { display: inline-block; width: 20px; height: 21px; object-fit: contain; vertical-align: middle; }
/* (fixed sizes: never squeezed by the page's img max-width, which would let a table's column shrink under them) */
.ci, .si { max-width: none; flex: none; }
.ci.none { display: inline-grid; place-items: center; font-size: 11px; color: var(--dim); border: 1px solid var(--line); border-radius: var(--rc); }
.party { display: inline-flex; gap: 3px; flex-wrap: wrap; vertical-align: middle; }
.si { display: inline-block; width: 26px; height: 26px; border-radius: var(--rc); vertical-align: middle; background: var(--track); box-shadow: 0 0 0 1px var(--line2); object-fit: cover; flex: none; }
.si.glyph { display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--sub); }

/* the records: one card per dungeon */
.dungeons { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 470px), 1fr)); gap: 16px; }
.card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--hi); padding: 16px 18px 12px; min-width: 0; }
.card h2 { font-size: 18px; font-weight: 600; margin: 0; }
.card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0 0 10px; }
.levels { display: inline-flex; flex-wrap: wrap; gap: 4px; }
/* (a kept list shown, the server not reached: said for a few seconds) */
.kept-note { position: fixed; left: 50%; bottom: 18px; z-index: 50; transform: translateX(-50%); max-width: calc(100vw - 32px); margin: 0; padding: 9px 14px; border: 1px solid var(--line2); border-radius: var(--r); background: rgba(14, 20, 29, 0.97); color: var(--sub); font-size: 14px; box-shadow: var(--shadow); }
.kept-note[hidden] { display: none; }
.chip { font: inherit; font-size: 12.5px; border: 1px solid var(--line2); background: var(--well); color: var(--sub); border-radius: var(--rc); padding: 2px 9px; cursor: pointer; }
.chip:hover { color: var(--fg); border-color: var(--edge); }
.chip.on { color: #fff; border-color: var(--sel-edge); background: var(--sel); }
.clear { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; margin: 0 0 8px; border-radius: var(--rc); background: var(--well); }
.clear .lbl { color: var(--sub); font-size: 13px; }
.clear .t { font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--fg); }
.clear a { margin-left: auto; font-size: 13px; }
a.clear.go { color: inherit; text-decoration: none; border: 1px solid transparent; }
a.clear.go:hover { border-color: var(--edge); background: var(--panel2); }
a.clear.go .chev { margin-left: auto; }
a.clear.go:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bosses { width: 100%; border-collapse: collapse; font-size: 14px; }
.bosses th { text-align: left; color: var(--steel); font-weight: 600; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 6px; }
.bosses td { padding: 7px 6px; border-top: 1px solid var(--line); vertical-align: middle; }
.bosses .t { font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.bosses .t .d { display: block; font-family: "Segoe UI", system-ui, sans-serif; font-weight: 400; font-size: 11.5px; color: var(--dim); }
.bosses .n { color: var(--dim); width: 1.5em; text-align: right; font-size: 12px; }
.bosses .when { color: var(--dim); font-size: 12.5px; white-space: nowrap; }
.bosses td.go { text-align: right; white-space: nowrap; width: 1%; }
.bosses .party { flex-wrap: nowrap; gap: 2px; }
.bosses .party .ci { width: 18px; height: 19px; }
.top-list .rowbtn { margin: 8px 0 0; }
.bosses .none td { color: var(--dim); font-size: 13px; }
.bosses tr.more td { padding-top: 5px; padding-bottom: 5px; font-size: 13px; }
.rowbtn { font: inherit; font-size: 12.5px; background: none; border: 0; color: var(--link); cursor: pointer; padding: 2px 0; }
.rowbtn:hover { color: var(--accent2); }
.bossname { font-weight: 600; }

/* tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.tbl th { text-align: right; color: var(--steel); font-weight: 600; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 12px 8px; white-space: nowrap; background: rgba(0, 0, 0, 0.18); }
.tbl td { text-align: right; padding: 9px 12px; border-top: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl th.l, .tbl td.l { text-align: left; }
.tbl tbody tr.row { cursor: pointer; }
.tbl tbody tr.row:hover td { background: var(--track); }
.tbl tbody tr.row[aria-expanded="true"] td { background: var(--sel); }
.tbl tbody tr.row[aria-expanded="true"] td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
.tbl .cls { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.tbl .muted { color: var(--dim); }
.tbl td.chart { width: 34%; min-width: 220px; padding-right: 18px; }
.tbl .caret { color: var(--dim); font-size: 12px; display: inline-block; width: 1em; }

/* each class's range: the middle 80 % (bar), the median (line), the highest (dot); one scale for all */
.range { position: relative; height: 18px; }
.range .trk { position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--track); border-radius: 1px; }
.range .mid { position: absolute; top: 4px; height: 10px; border-radius: 2px; background: rgba(79, 163, 239, 0.35); }
.range .med { position: absolute; top: 1px; width: 2px; height: 16px; margin-left: -1px; background: var(--accent); border-radius: 1px; }
.range .max { position: absolute; top: 5px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--dim); font-size: 12.5px; margin: 10px 2px 0; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; }
.legend .k-mid { width: 18px; height: 10px; border-radius: 2px; background: rgba(79, 163, 239, 0.35); }
.legend .k-med { width: 2px; height: 14px; background: var(--accent); }
.legend .k-max { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--accent); }

/* a class's best players (opened under its row) */
.tbl tr.top-list > td { padding: 0; background: var(--panel2); cursor: default; text-align: left; white-space: normal; }
.tbl-scroll { overflow-x: auto; }
.top-list .inner { padding: 10px 14px 14px; width: 0; min-width: 100%; box-sizing: border-box; }
.top-list h3 { font-size: 11.5px; margin: 4px 0 8px; color: var(--steel); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.mini { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.mini th { color: var(--dim); font-weight: 500; font-size: 12px; text-align: left; padding: 4px 7px; }
.mini td { text-align: left; padding: 6px 7px; border-top: 1px solid var(--line); white-space: nowrap; }
.mini td.num, .mini th.num { text-align: right; font-variant-numeric: tabular-nums; }
.mini .build { display: inline-flex; gap: 4px; align-items: center; }
.mini .build .si { width: 22px; height: 22px; border-radius: var(--rc); }
.mini .build .sp { font-size: 10.5px; color: var(--dim); margin: 0 4px 0 -2px; }
.mini .who { font-weight: 600; }
.mini .who.anon { color: var(--sub); font-weight: 500; }

/* builds */
.classpick { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.classpick button { font: inherit; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 7px; border: 1px solid var(--line2); border-radius: var(--rc); background: var(--well); color: var(--sub); cursor: pointer; font-size: 14px; font-weight: 600; }
.classpick button:hover { color: var(--fg); border-color: var(--edge); }
.classpick button .ci { width: 22px; height: 23px; }
.classpick button.on { color: #fff; border-color: var(--sel-edge); background: var(--sel); }
.bgrid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
.bgrid .card h2 { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.bgrid .card > p { color: var(--dim); font-size: 13px; margin: 0 0 10px; }
.skills { width: 100%; border-collapse: collapse; font-size: 14px; }
.skills th { color: var(--steel); font-weight: 600; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; text-align: left; padding: 4px 6px; }
.skills th.num, .skills td.num { text-align: right; }
.skills td { padding: 7px 6px; border-top: 1px solid var(--line); vertical-align: middle; font-variant-numeric: tabular-nums; }
.skills .nm { display: flex; align-items: center; gap: 9px; min-width: 0; }
.skills .nmt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.skills .nm b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.share .b { width: 70px; height: 5px; border-radius: 1px; background: var(--track); overflow: hidden; flex: none; }
.share .b i { display: block; height: 100%; background: var(--accent); }
.specs { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.spec { font-size: 12px; padding: 1px 7px; border-radius: var(--rc); background: var(--track); box-shadow: inset 0 0 0 1px var(--line); color: var(--sub); white-space: nowrap; }
.spec b { color: var(--fg); font-weight: 600; }
.opener { display: flex; flex-direction: column; gap: 10px; }
.opener .seq { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.opener .seq .arr { color: var(--dim); font-size: 12px; }
.opener .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: var(--rc); background: var(--well); border: 1px solid var(--line); }
.opener .row .p { color: var(--sub); font-size: 13px; white-space: nowrap; }
.gear { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.gear td { padding: 6px 4px; border-top: 1px solid var(--line); }
.gear td.num { text-align: right; color: var(--sub); font-variant-numeric: tabular-nums; }
.grades { display: flex; height: 7px; border-radius: 1px; overflow: hidden; background: var(--track); min-width: 90px; }
.grades i { display: block; height: 100%; }
.grades i + i { box-shadow: -2px 0 0 var(--panel); } /* (a 2px gap between the parts) */
.g-Special { background: #e15f8a; } .g-Unique { background: #e8a33a; } .g-Legend { background: #c06df0; } .g-Rare { background: #5aa2f2; } .g-Common { background: #8d97a8; }
.glegend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--dim); margin: 8px 0 0; }
.glegend span { display: inline-flex; align-items: center; gap: 5px; }
.glegend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.stat { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--hi); padding: 12px 14px; }
.stat b { display: block; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat span { color: var(--dim); font-size: 12.5px; }

/* the clear's page */
.kills { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0; }
.kill { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--glass); }
a.kill.go { color: inherit; text-decoration: none; }
a.kill.go:hover { border-color: var(--edge); background: var(--panel2); }
a.kill.go:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kill .at { font-family: var(--mono); color: var(--sub); font-size: 13px; }
.kill .t { font-family: var(--mono); font-weight: 600; }
/* (2.0.11, his note: each player's DPS under each boss on a clear; the boss row still opens the fight) */
.kblock { border: 1px solid var(--line); border-radius: var(--r); background: var(--glass); box-shadow: var(--hi); overflow: hidden; }
.kblock > .kill { border: 0; border-radius: 0; background: transparent; }
.kblock > a.kill.go:hover { background: var(--track); }
.kp { display: grid; gap: 5px; padding: 8px 14px 12px; border-top: 1px solid var(--line); }
.kpr { display: grid; grid-template-columns: minmax(7em, 13em) minmax(0, 1fr) 4.2em 3.2em; gap: 10px; align-items: center; font-size: 13px; }
.kpn { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--sub); }
.kpn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kpn .nm { color: var(--fg); font-weight: 600; }
.kpb { height: 5px; border-radius: 1px; background: var(--track); overflow: hidden; }
.kpb i { display: block; height: 100%; background: var(--accent); opacity: 0.75; }
.kpd { text-align: right; font-family: var(--mono); font-weight: 600; color: var(--fg); }
.kps { text-align: right; font-family: var(--mono); color: var(--sub); }
.track { position: relative; height: 8px; border-radius: 1px; background: var(--track); margin: 18px 0 4px; }
.track .pin { position: absolute; top: -5px; width: 3px; height: 18px; margin-left: -1.5px; border-radius: 1px; background: var(--accent); }
.track-lbl { display: flex; justify-content: space-between; color: var(--dim); font-size: 12px; }

/* states */
.empty { padding: 28px 22px; border: 1px dashed var(--line2); border-radius: var(--r); color: var(--sub); text-align: center; }
.empty p { margin: 0 0 6px; }
.empty b { color: var(--fg); font-weight: 600; }
.loading { color: var(--dim); padding: 24px 4px; }
.error { color: #f39a94; padding: 18px 4px; }
.small { font-size: 13px; color: var(--dim); }
.note { color: var(--dim); font-size: 13px; margin: 14px 2px 0; max-width: 820px; }
.note b { color: var(--sub); }

@media (max-width: 860px) {
  .bgrid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .page-head h1 { font-size: 25px; }
  .seg button { padding: 7px 10px; font-size: 13px; }
  .card { padding: 14px 12px 10px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .kill { grid-template-columns: minmax(0, 1fr) auto auto; }
  .kill .at { display: none; }
  .kpr { grid-template-columns: minmax(0, 1fr) 4.2em 3.2em; }
  .kpb { display: none; }
  /* the records' cards: narrower cells, smaller party icons, the date may wrap */
  .bosses th, .bosses td { padding-left: 4px; padding-right: 4px; }
  .bosses .party { gap: 1px; }
  .bosses .party .ci { width: 16px; height: 17px; }
  .bosses .t .d { white-space: normal; }
}
.bgrid > div { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* Upload a kill (1.7.7) */
.upl { max-width: 720px; }
.drop { display: grid; gap: 6px; place-items: center; text-align: center; padding: 38px 20px; border: 1px dashed var(--edge); border-radius: var(--r); background: var(--glass); cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop:focus-visible, .drop.over { border-color: var(--sel-edge); background: var(--sel); outline: none; }
.drop b { font-size: 17px; color: var(--fg); }
.drop span { color: var(--sub); font-size: 14px; }
.drop.busy { opacity: .6; pointer-events: none; }
.upl-state { margin: 12px 2px 0; min-height: 1.4em; color: var(--sub); }
.upl-state.err { color: #f39a94; }
.upl-state.ok { color: var(--good); }
.upl-how { max-width: 720px; margin-top: 30px; }
.upl-how h2 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.upl-how ol { margin: 0; padding-left: 1.3em; color: var(--sub); display: grid; gap: 6px; }
.upl-how b { color: var(--fg); font-weight: 600; }
.upl-how .note { margin-top: 14px; }
.upl-wait { max-width: 720px; margin-top: 26px; }
.upl-wait[hidden] { display: none; }
.upl-wait h2 { font-size: 18px; font-weight: 600; margin: 0; }
.upl-wait .note { margin: 4px 2px 10px; }
.upl-wait ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.upl-wait li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--glass); }
.upl-wait a { color: var(--fg); text-decoration: none; }
.upl-wait a:hover b { color: var(--accent); }
.upl-wait .t { font-family: var(--mono); font-weight: 600; color: var(--sub); margin-left: 6px; }
.upl-wait .sub { color: var(--sub); font-size: 13px; }
/* phones: the six sections in two rows by the logo, none out of sight */
@media (max-width: 560px) { .top .top-in { height: auto; min-height: 58px; padding-top: 8px; padding-bottom: 8px; } .top nav { flex-wrap: wrap; justify-content: flex-end; gap: 6px 14px; } }

/* (2.0.7) Popular builds: what the numbers say (DPS by Combat Power band; specializations that go with more damage) */
.igrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; margin: 0 0 16px; }
.insight h2 { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.insight > p { color: var(--dim); font-size: 13px; margin: 0 0 12px; }
.bands { display: grid; gap: 8px; }
.band { display: grid; grid-template-columns: 92px minmax(0, 1fr) 76px 70px; align-items: center; gap: 10px; font-size: 13px; }
.band .bk { color: var(--sub); font-variant-numeric: tabular-nums; white-space: nowrap; }
.band .bb { position: relative; height: 12px; border-radius: 1px; background: var(--track); }
.band .bb .range { position: absolute; top: 0; bottom: 0; border-radius: 1px; background: rgba(79, 163, 239, 0.35); }
.band .bb .mid { position: absolute; top: -3px; bottom: -3px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); }
.band .bv { text-align: right; color: var(--sub); white-space: nowrap; font-variant-numeric: tabular-nums; }
.band .bv b { color: var(--fg); }
.band .bn { color: var(--dim); white-space: nowrap; text-align: right; }
.lifts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lifts li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: 0 10px; padding: 8px 10px; border-radius: var(--rc); background: var(--well); border: 1px solid var(--line); }
.lifts li > .si { grid-row: 1 / 3; }
.lifts .lt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.lifts .lt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lifts .lt span { color: var(--dim); font-size: 12.5px; }
.lifts .lv { color: var(--good); font-weight: 700; font-variant-numeric: tabular-nums; }
.lifts .ln { grid-column: 2 / 4; color: var(--dim); font-size: 12px; }
@media (max-width: 860px) { .igrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .band { grid-template-columns: 78px minmax(0, 1fr) 62px; } .band .bn { display: none; } }

/* (a chart's numbers, shown while the mouse is over it: SITE.hoverCard) */
.hcard { position: fixed; z-index: 60; pointer-events: none; display: grid; gap: 6px; min-width: 220px; max-width: min(320px, calc(100vw - 16px)); padding: 11px 13px 10px; border-radius: var(--r); background: rgba(14, 20, 29, 0.98); border: 1px solid var(--line2); box-shadow: var(--shadow); font-size: 13px; color: var(--sub); }
.hcard[hidden] { display: none; }
.hcard .hc-t { color: var(--fg); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.hcard .hc-r { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.hcard .hc-r b { color: var(--fg); font-weight: 650; font-variant-numeric: tabular-nums; }
.hcard .hc-n { color: var(--dim); font-size: 12px; margin-top: 2px; }
.hcard i { justify-self: center; display: inline-block; }
.hcard .k-mid { width: 18px; height: 10px; border-radius: 2px; background: rgba(79, 163, 239, 0.35); }
.hcard .k-med { width: 2px; height: 14px; background: var(--accent); }
.hcard .k-max { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--accent); }
.range, .band { cursor: default; }

/* (2.0.9, his request) Popular builds: one section under another (skill priority, skills, specializations, DPS by
   Combat Power, openers); the skills sorted by any column; the skill priority in two columns, the first down the left */
.bstack { display: grid; gap: 16px; }
.bstack .card h2 { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.bstack .card > p { color: var(--dim); font-size: 13px; margin: 0 0 12px; max-width: 78ch; }
.bstack .lifts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bstack .opener { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.plist { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 16px; }
.plist li { break-inside: avoid; display: grid; grid-template-columns: 22px auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 10px; margin: 0 0 8px; border-radius: var(--rc); background: var(--well); border: 1px solid var(--line); }
.plist .pn { color: var(--steel); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.plist .pt { display: flex; flex-direction: column; min-width: 0; }
.plist .pt b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plist .pt span { color: var(--dim); font-size: 12px; }
.plist .pr { display: flex; align-items: center; gap: 8px; color: var(--sub); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plist .pr .b { width: 64px; height: 5px; border-radius: 1px; background: var(--track); overflow: hidden; flex: none; }
.plist .pr .b i { display: block; height: 100%; background: var(--good); }
.skills th button.sort { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.skills th button.sort:hover, .skills th[aria-sort] button.sort { color: var(--fg); }
.skills th button.sort:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.skills th .ar { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: 0.25; }
.skills th[aria-sort] .ar { opacity: 1; }
.skills th[aria-sort="ascending"] .ar { border-top: 0; border-bottom: 5px solid currentColor; }
@media (max-width: 760px) { .plist { columns: 1; } .bstack .lifts, .bstack .opener { grid-template-columns: minmax(0, 1fr); } }
/* (his note, Oct 15 late evening) a combo, one skill: its first step's name, then its others, dimmer; long ones wrap */
.nmn { min-width: 0; line-height: 1.35; }
.plist .pt span.nmn, .lifts .lt span.nmn { color: var(--fg); font-size: inherit; }
.skills .nm .nmn b, .plist .pt .nmn b, .lifts .lt .nmn b { font-weight: 600; white-space: normal; overflow: visible; }
.nmn .ch { color: var(--dim); font-weight: 400; font-size: 0.88em; margin-left: 0.3em; }

/* (2.1) Highest DPS: a dungeon's difficulty, each boss's best players */
.dps-picks { margin-top: -8px; }
.dps-pick { display: inline-flex; align-items: center; gap: 8px; color: var(--sub); font-size: 14px; }
.dps-pick select { appearance: auto; border: 1px solid var(--line2); border-radius: var(--rc); padding: 6px 9px; background: var(--well); color: var(--fg); font: inherit; max-width: 100%; }
.dps-picks .classpick { margin: 0; flex-basis: 100%; }
.dps-list { display: grid; gap: 16px; }
.dps-tbl .rank { color: var(--dim); width: 2.2em; }
.dps-tbl .cls { display: inline-flex; align-items: center; gap: 8px; }
.dps-tbl td.who { width: 100%; }
.dps-tbl td.dps { width: 120px; min-width: 110px; }
.dps-tbl .bar { display: block; height: 3px; margin: 4px 0 0 auto; width: 100%; border-radius: 1px; background: var(--track); overflow: hidden; }
.dps-tbl .bar i { display: block; height: 100%; margin-left: auto; background: var(--accent); }
.dps-tbl tr.gone td { color: var(--dim); }
.dps-tbl tr.gone .who { font-weight: 500; }
