/* Shadow Empire modding-reference site — local tweaks.
   Copied into docs/assets/ by build.py (docs/ is regenerated, so the source lives here). */

/* Wider content on desktop (capped at 2000px) — the big reference tables are far easier to read with
   the room, without getting absurdly wide on ultra-wide monitors. */
@media screen and (min-width: 76.25em) {
  .md-grid {
    max-width: 2000px;
  }
}

/* Wide reference tables scroll horizontally instead of squishing. */
.md-typeset__table {
  overflow-x: auto;
}
.md-typeset table:not([class]) {
  display: table;
  width: 100%;
}

/* Sortable tables (tablesort): show the sort affordance on header cells. */
.md-typeset table:not([class]) th[role="columnheader"] {
  cursor: pointer;
}

/* Lookup-id lists: the Roman-numeral level appended to disambiguate duplicate names. It is a
   doc-only marker (the game shows the bare name for every level), so colour it distinctly — the
   accent colour, slightly smaller — and the title attribute carries the caveat tooltip. */
.md-typeset .roman-level {
  color: var(--md-accent-fg-color, #7c4dff);
  font-size: 0.85em;
  font-weight: 700;
  cursor: help;
}
