/* League of Legends pages. The theme roles come from /lol/theme.css
   (GW2 dyes: Midnight Blue / Cyanide / Radiant Brass); everything else is
   the shared static/style.css. */

:root {
  --icon: 40px;
  --meter-dot: var(--gold);
  --meter-track: color-mix(in srgb, var(--border) 70%, transparent);
  /* scaling colours in descriptions and patch notes: GW2 dyes, lifted for dark cards */
  --scale-ap: color-mix(in srgb, var(--glints-rebellion, #c0a8d3) 85%, white);
  --scale-ad: color-mix(in srgb, var(--sunfire-lava, #ff9303) 80%, white);
  --scale-health: color-mix(in srgb, var(--growth, #009400) 55%, white);
  --scale-mana: color-mix(in srgb, var(--sand-shark, #1a8ac5) 70%, white);
  --scale-armor: color-mix(in srgb, var(--aureus, #edb227) 70%, white);
}

.main { padding-bottom: 40px; }
.lol-icon { width: var(--icon); height: var(--icon); border-radius: 6px; display: block; flex-shrink: 0;
  background: color-mix(in srgb, var(--bg-card) 60%, black); object-fit: cover; }
.lol-icon.round { border-radius: 50%; }
.lol-icon.small { --icon: 26px; }
.lol-icon.big { --icon: 72px; border-radius: 10px; }
.muted { color: var(--text-dim); }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; font-family: system-ui, sans-serif; font-size: .92em; }

/* ---------- data status line ---------- */

.data-line {
  display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center;
  max-width: 1280px; margin: 10px auto 0; padding: 0 4px;
  color: var(--text-dim); font-size: .85rem;
}
.data-line:empty { display: none; }
.data-line a { color: var(--text-dim); }

/* ---------- search (landing) ---------- */

.search-hero { text-align: center; padding: 28px 0 8px; }
.search-hero h1 { margin: 0 0 4px; font-weight: 400; font-variant: small-caps; letter-spacing: .05em;
  color: var(--gold); font-size: clamp(1.6rem, 4vw, 2.4rem); }
.search-box { width: min(640px, 100%); font-size: 1.2rem; padding: 12px 16px; border-radius: 10px; }
.search-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 14px auto 18px; }
.search-tools .segmented { max-width: 560px; flex: 1 1 420px; }

.champ-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px;
}
.champ-tile {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px;
  border: 1px solid transparent; border-radius: 10px; color: var(--text); text-decoration: none;
  transition: border-color .15s, background .15s, transform .15s;
}
.champ-tile .lol-icon { --icon: 64px; border-radius: 10px; }
.champ-tile span { font-size: .88rem; text-align: center; line-height: 1.15; }
.champ-tile:hover, .champ-tile:focus-visible, .champ-tile.first {
  border-color: color-mix(in srgb, var(--gold) var(--alpha-soft), var(--border));
  background: color-mix(in srgb, var(--gold) var(--alpha-faint), transparent); outline: none;
}
.champ-tile:hover { transform: translateY(-2px); }
.empty { text-align: center; color: var(--text-dim); padding: 30px 0; }

/* ---------- filters ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters label { display: flex; flex-direction: column; gap: 3px; font-size: .78rem; color: var(--text-dim);
  letter-spacing: .03em; }
.filters select { min-width: 140px; }
.filters .segmented button { padding: 7px 12px; white-space: nowrap; }
.filters .segmented button small { color: var(--text-dim); margin-left: 4px; font-size: .75rem; }

/* ---------- tabs ---------- */

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin: 18px 0 16px; overflow-x: auto; }
.tabs button {
  background: none; border: none; border-bottom: 2px solid transparent; color: var(--text-dim);
  padding: 10px 16px; font-size: 1.05rem; font-variant: small-caps; letter-spacing: .05em; white-space: nowrap;
}
.tabs button:hover { color: var(--text); }
.tabs button.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ---------- champion header ---------- */

.champ-head {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px;
  align-items: center; padding: 20px 22px; min-height: 150px;
}
.champ-head .splash {
  position: absolute; inset: 0; background-size: cover; background-position: 70% 20%; opacity: .35;
  mask-image: linear-gradient(90deg, transparent 15%, black 75%);
  -webkit-mask-image: linear-gradient(90deg, transparent 15%, black 75%);
  pointer-events: none;
}
.champ-head > *:not(.splash) { position: relative; }
.champ-head h1 { margin: 0; font-weight: 400; font-variant: small-caps; letter-spacing: .05em; color: var(--gold);
  font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.1; }
.champ-head .title { color: var(--text-dim); font-style: italic; }
.abilities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ability { position: relative; }
.ability .lol-icon { --icon: 42px; border: 1px solid var(--border); }
.ability b {
  position: absolute; right: -4px; bottom: -4px; font: 600 .7rem system-ui, sans-serif; padding: 1px 4px;
  border-radius: 4px; background: color-mix(in srgb, var(--bg-card) 80%, black); border: 1px solid var(--border);
  color: var(--gold);
}

/* ---------- stat tiles ---------- */

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tile { background: color-mix(in srgb, var(--bg-card) 70%, black); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 14px; }
.tile .label { color: var(--text-dim); font-size: .82rem; letter-spacing: .03em; }
.tile .value { font: 600 1.45rem system-ui, sans-serif; margin-top: 2px; font-variant-numeric: tabular-nums; }
.tile .sub { color: var(--text-dim); font-size: .78rem; font-family: system-ui, sans-serif; }

/* ---------- build layout ---------- */

.build-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.build-grid .wide { grid-column: 1 / -1; }
@media (max-width: 960px) { .build-grid { grid-template-columns: minmax(0, 1fr); } }
.panel h2 small { color: var(--text-dim); font-size: .8rem; font-variant: normal; letter-spacing: 0; margin-left: 8px; }

/* one option with its numbers: icons | win rate meter | numbers */
.opt-list { display: flex; flex-direction: column; gap: 2px; }
.opt-head, .opt {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, 150px) 62px 70px 54px;
  gap: 10px; align-items: center;
}
.opt-head { color: var(--text-dim); font: .72rem system-ui, sans-serif; letter-spacing: .02em; padding: 0 8px 2px; }
.opt-head span:nth-child(n+3) { text-align: right; }
.opt { padding: 5px 8px; border-radius: 6px; }
.opt:hover, .opt:focus-visible { background: color-mix(in srgb, var(--gold) var(--alpha-faint), transparent); outline: none; }
.opt .what { display: flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; }
.opt .what .arrow { color: var(--text-dim); font-size: .8rem; }
.opt .what .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opt .wr, .opt .games, .opt .pick { text-align: right; font: .9rem system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.opt .wr b { font-weight: 600; }
.opt .games, .opt .pick { color: var(--text-dim); }
.opt.thin { opacity: .55; }
.opt .delta { font-size: .72rem; display: block; color: var(--text-dim); }
.delta .up::before { content: "▲ "; color: var(--good); font-size: .65rem; }
.delta .down::before { content: "▼ "; color: var(--bad); font-size: .65rem; }
@media (max-width: 560px) {
  .opt-head, .opt { grid-template-columns: minmax(0, 1fr) 62px 54px; }
  .opt-head .m, .opt .meter, .opt-head .g, .opt .games { display: none; }
}

/* the win rate meter: a dot at the win rate, a line over its 95% interval, a
   hairline at 50% and a tick at the champion's average; scale 30-70% */
.meter { position: relative; height: 18px; }
.meter::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--meter-track); }
.meter .fifty { position: absolute; top: 2px; bottom: 2px; width: 1px; background: var(--text-dim); opacity: .6; }
.meter .avg { position: absolute; top: 4px; bottom: 4px; width: 2px; background: var(--accent); border-radius: 1px; }
.meter .ci { position: absolute; top: calc(50% - 1px); height: 2px; background: var(--meter-dot); opacity: .55; border-radius: 1px; }
.meter .ci.cut-l { border-left: 0; }
.meter .wr-dot { position: absolute; top: calc(50% - 5px); width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: var(--meter-dot); box-shadow: 0 0 0 2px var(--bg-card); }
.meter-scale { position: relative; height: 14px; font: .66rem system-ui, sans-serif; color: var(--text-dim); }
.meter-scale span { position: absolute; transform: translateX(-50%); }

/* ---------- runes ---------- */

.rune-page { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 560px) { .rune-page { grid-template-columns: minmax(0, 1fr); } }
.rune-tree h3 { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.rune-row { display: flex; justify-content: space-around; gap: 6px; padding: 6px 0; }
.rune-row + .rune-row { border-top: 1px solid color-mix(in srgb, var(--border) 50%, transparent); }
.rune { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 52px; cursor: default; }
.rune .lol-icon { --icon: 36px; border-radius: 50%; background: none; filter: grayscale(1) brightness(.6); opacity: .55; transition: filter .15s; }
.rune.keystone .lol-icon { --icon: 46px; }
.rune.shard .lol-icon { --icon: 24px; }
.rune.on .lol-icon { filter: none; opacity: 1; box-shadow: 0 0 0 2px var(--gold); }
.rune small { font: .68rem system-ui, sans-serif; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.rune.on small { color: var(--text); }
.rune:hover .lol-icon, .rune:focus-visible .lol-icon { filter: none; opacity: 1; }

/* ---------- skills ---------- */

.skill-grid { display: grid; grid-template-columns: 34px repeat(18, minmax(0, 1fr)); gap: 3px; margin-top: 8px; }
.skill-grid .key { display: flex; align-items: center; gap: 4px; font: 600 .8rem system-ui, sans-serif; color: var(--gold); }
.skill-grid .key .lol-icon { --icon: 22px; }
.skill-grid .cell { aspect-ratio: 1; border-radius: 4px; background: color-mix(in srgb, var(--border) 35%, transparent);
  font: .68rem system-ui, sans-serif; display: flex; align-items: center; justify-content: center; color: transparent; }
.skill-grid .cell.on { background: color-mix(in srgb, var(--gold) 70%, black); color: var(--text); font-weight: 600; }
.skill-seq { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 2px;
  font: 600 .9rem system-ui, sans-serif; color: var(--gold); }
.skill-seq > span:not(.gt):not(.sp) { display: inline-flex; align-items: center; gap: 3px; }
.skill-seq .sp { width: 6px; }
.skill-seq .gt { color: var(--text-dim); margin: 0 5px; }

/* ---------- patch history ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--border);
  color: var(--text-dim); border-radius: 999px; padding: 4px 12px 4px 6px; font-size: .88rem; }
.chip.text { padding-left: 12px; }
.chip .lol-icon { --icon: 22px; border-radius: 50%; }
.chip:hover { color: var(--text); border-color: var(--gold); }
.chip.on { color: var(--gold); border-color: var(--gold); background: color-mix(in srgb, var(--gold) var(--alpha-faint), transparent); }
.patch { border-left: 2px solid var(--border); padding: 2px 0 6px 16px; margin: 0 0 16px 4px; }
.patch.current { border-left-color: var(--gold); }
.patch h3 { margin: 0 0 4px !important; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.patch h3 .muted { font-size: .8rem; font-variant: normal; letter-spacing: 0; }
.patch ul { margin: 2px 0; padding-left: 20px; line-height: 1.5; list-style: none; }
.patch > ul { padding-left: 0; list-style: none; }
.patch > ul > li { margin: 6px 0; }
.patch > ul > li > .head { font-weight: 600; }
.source { font-size: .8rem; color: var(--text-dim); margin-top: 18px; }
.source a { color: var(--text-dim); }
.wk-ref { color: var(--text); text-decoration: none; white-space: nowrap; }
a.wk-ref:hover { color: var(--gold); }
.wk-icon { width: 20px; height: 20px; border-radius: 4px; vertical-align: -4px; margin-right: 4px; }
.wk-values { font-family: system-ui, sans-serif; font-size: .92em; }
.wk-scale-ap { color: var(--scale-ap); }
.wk-scale-ad { color: var(--scale-ad); }
.wk-scale-health { color: var(--scale-health); }
.wk-scale-mana { color: var(--scale-mana); }
.wk-scale-armor, .wk-scale-mr { color: var(--scale-armor); }
.wk-gold, .dd-gold { color: var(--gold); }
.wk-label { color: var(--gold); font-weight: 600; }
.wk-dim { color: var(--text-dim); font-size: .85em; }

/* Riot's own description markup (ddragon.clean_html) */
.desc { line-height: 1.5; }
.desc .dd-stats { color: var(--text); }
.desc .dd-attention { color: var(--gold); font-weight: 600; }
.desc .dd-passive, .desc .dd-active { color: var(--gold); font-weight: 600; }
.desc .dd-rules, .desc .dd-flavortext { color: var(--text-dim); font-style: italic; }
.desc .dd-scaleap, .desc .dd-magicdamage { color: var(--scale-ap); }
.desc .dd-physicaldamage, .desc .dd-scalead { color: var(--scale-ad); }
.desc .dd-scalehealth, .desc .dd-healing, .desc .dd-shield { color: var(--scale-health); }
.desc .dd-scalemana { color: var(--scale-mana); }
.desc .dd-truedamage { color: var(--text); font-weight: 600; }
.desc .dd-status, .desc .dd-keywordmajor, .desc .dd-keywordstealth { font-style: italic; }

/* ---------- browse (items / runes / spells) ---------- */

.browse { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 16px; align-items: start; }
.browse-side { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
@media (max-width: 960px) { .browse { grid-template-columns: minmax(0, 1fr); } .browse-side { position: static; max-height: none; } }
.icon-group h3 { display: flex; align-items: center; gap: 8px; }
.icon-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.icon-button { background: none; border: 1px solid transparent; border-radius: 8px; padding: 3px; }
.icon-button .lol-icon { --icon: 44px; }
.icon-button:hover, .icon-button:focus-visible { border-color: var(--border); outline: none; }
.icon-button.on { border-color: var(--gold); background: color-mix(in srgb, var(--gold) var(--alpha-faint), transparent); }
.detail-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.detail-head h2 { margin: 0 !important; }
.recipe { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; font-size: .85rem; color: var(--text-dim); }
.recipe a { display: block; }
.recipe .lol-icon { --icon: 32px; }

/* ---------- statistics table ---------- */

.stat-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.stat-table th { text-align: left; font: .75rem system-ui, sans-serif; color: var(--text-dim); padding: 6px 8px;
  border-bottom: 1px solid var(--border); white-space: nowrap; }
.stat-table th button { background: none; border: none; color: inherit; padding: 0; font: inherit; }
.stat-table th button:hover, .stat-table th button.sorted { color: var(--gold); }
.stat-table td { padding: 5px 8px; border-bottom: 1px solid color-mix(in srgb, var(--border) 40%, transparent); }
.stat-table td.r, .stat-table th.r { text-align: right; }
.stat-table td.num { font-family: system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.stat-table tr.thin td { opacity: .55; }
.stat-table a { color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.stat-table a:hover { color: var(--gold); }
.stat-table .meter { min-width: 110px; }
.table-wrap { overflow-x: auto; }

/* ---------- tooltip ---------- */

.tip {
  position: fixed; z-index: 60; max-width: 340px; pointer-events: none; padding: 8px 12px; border-radius: 8px;
  background: color-mix(in srgb, var(--bg-card) 94%, black); border: 1px solid color-mix(in srgb, var(--gold) var(--alpha-soft), var(--border));
  box-shadow: 0 10px 28px rgba(0, 0, 0, .55); font-size: .86rem; line-height: 1.45;
}
.tip b.t { color: var(--gold); font-weight: 600; display: block; margin-bottom: 2px; }
.tip .k { color: var(--text-dim); }
.tip .num { font-size: .86rem; }

/* ---------- empty / notice ---------- */

.notice { border: 1px dashed var(--border); border-radius: 10px; padding: 18px 20px; color: var(--text-dim); line-height: 1.55; }
.notice b { color: var(--text); font-weight: 600; }
.notice code { color: var(--gold); }

/* ---------- about ---------- */

.prose { max-width: 820px; line-height: 1.6; }
.prose h2 { margin-top: 10px; }
.prose code { color: var(--gold); font-size: .9em; }
.prose a { color: var(--gold); }

/* ---------- buff / nerf / adjusted arrows (verdict.py) ----------
   Shape and colour both carry the verdict (▲ green, ▼ red, ↔ grey), the
   tooltip names it. A gold ring: changed in the current patch. */

:root { --adjusted: color-mix(in srgb, var(--silver-satin, #898989) 80%, white); }
.vwrap { position: relative; display: inline-block; line-height: 0; flex-shrink: 0; }
.verdict {
  position: absolute; top: -5px; right: -5px; z-index: 1;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #0b0f18; cursor: pointer;
  box-shadow: 0 0 0 2px var(--bg-card);
  transition: transform .12s ease;
}
.verdict svg { width: 11px; height: 11px; }
.verdict:hover, .verdict:focus-visible { transform: scale(1.18); outline: none; }
.verdict.buff { background: var(--good); }
.verdict.nerf { background: var(--bad); }
.verdict.adjusted { background: var(--adjusted); }
.verdict.now { box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 3.5px var(--gold); }
.verdict.small { width: 13px; height: 13px; top: -4px; right: -4px; }
.verdict.small svg { width: 8px; height: 8px; }
.champ-tile .verdict { width: 21px; height: 21px; top: -6px; right: -6px; }
.champ-tile .verdict svg { width: 12px; height: 12px; }
.champ-head .vwrap > .verdict { width: 24px; height: 24px; top: -7px; right: -7px; }
.champ-head .vwrap > .verdict svg { width: 14px; height: 14px; }
.ability .verdict { top: -6px; right: -6px; }
.icon-button .vwrap { display: block; }

/* the marks in front of patch-note lines, and the verdict of a patch */
.dirmark { display: inline-flex; align-items: center; gap: 3px; margin-right: 5px; vertical-align: -1px; }
.dirmark svg { width: 10px; height: 10px; }
.dirmark.buff { color: var(--good); }
.dirmark.nerf { color: var(--bad); }
.dirmark.adjusted { color: var(--adjusted); }
.verdict-earlier { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: center; }
.verdict-earlier .dirmark { color: var(--text); margin: 0; }
.verdict-earlier .dirmark svg { color: inherit; }
.verdict-earlier .dirmark.buff svg { color: var(--good); }
.verdict-earlier .dirmark.nerf svg { color: var(--bad); }
.verdict-earlier .dirmark.adjusted svg { color: var(--adjusted); }
.verdict-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 1px 9px 1px 7px; border-radius: 999px;
  font: .75rem system-ui, sans-serif; letter-spacing: .02em; font-variant: normal;
  border: 1px solid currentColor; color: var(--adjusted);
}
.verdict-chip svg { width: 9px; height: 9px; }
.verdict-chip.buff { color: var(--good); }
.verdict-chip.nerf { color: var(--bad); }
.tip .verdict-line { margin: 2px 0 6px; }
.tip-lines { margin: 4px 0 6px; padding-left: 0; list-style: none; font-size: .84rem; }
.tip-lines ul { padding-left: 16px; list-style: none; margin: 1px 0; }
.tip-lines li { margin: 2px 0; }
.tip-lines .head { font-weight: 600; }
.tip-lines .wk-icon { width: 16px; height: 16px; }
.tip { max-width: 400px; }

/* ---------- matchups ---------- */

.matchup-table tr.clickable { cursor: pointer; }
.matchup-table tr.clickable:hover td, .matchup-table tr.clickable:focus-visible td {
  background: color-mix(in srgb, var(--gold) var(--alpha-faint), transparent); outline: none;
}
.matchup-table .who { display: flex; align-items: center; gap: 8px; }
.matchup-table .delta { display: inline; font-size: .78rem; }
.delta.lead { display: inline; font-size: inherit; color: var(--text); }
.vs-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--gold) var(--alpha-soft), var(--border)); border-radius: 8px;
  background: color-mix(in srgb, var(--gold) var(--alpha-faint), transparent); }
.vs-note b { color: var(--gold); font-weight: 600; }

/* the logo above the champion search */
.search-hero .landing-game-logo { width: min(70%, 340px); margin: 4px auto 18px; }

/* the switches for bug fixes and minor changes */
.kind-toggles { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.filters .kind-toggles { margin-bottom: 0; }
.kind-toggles .toggle { flex-direction: row; align-items: center; gap: 6px; cursor: pointer; font-size: .85rem;
  color: var(--text-dim); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px 4px 10px; }
.kind-toggles .toggle input { accent-color: var(--gold); margin: 0; }
.kind-toggles .toggle small { font: .72rem system-ui, sans-serif; color: var(--text-dim); }
.kind-toggles .toggle.on { color: var(--gold); border-color: var(--gold); }
.verdict-chip.new { color: var(--gold); }
.dirmark.new { color: var(--gold); }

.role-source { text-align: center; margin: -8px auto 16px; max-width: 760px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--gold); cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px; }
.link-button:hover, .link-button:focus-visible { color: color-mix(in srgb, var(--gold) 80%, white); }
/* the role threshold slider under the role hint */
.role-threshold { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px;
  margin: -6px auto 18px; max-width: 560px; font-size: .9rem; color: var(--text-dim); }
.role-threshold input[type="range"] { flex: 1 1 180px; max-width: 260px; accent-color: var(--gold); }
.role-threshold output { display: inline-block; min-width: 2.4em; text-align: right; color: var(--gold);
  font-variant-numeric: tabular-nums; }
.role-min-text { white-space: nowrap; }
.kind-toggles .toggle { display: inline-flex; }
