/* WoW Forever pages: the addon overview (/wow-forever) and the Zalamander Unitframes FAQ (/wow-forever/zuf).
   They follow the app pages (DESIGN.md, /uhrhealth): Pixelify h1, Manrope sections, square cards with
   1–2px borders and offset pixel shadows, status tags and the closing band from /design/. No panorama band:
   there is no scene for the addons. Mobile first in the site's widths: S under 640px, M from 640px, L from
   1024px. This sheet adds the pages' own blocks only. */
.wow-page main { padding-top: var(--space-6); overflow-wrap: break-word; }
.wow-page code,
.wow-page kbd {
  padding: 0 .3em;
  background: var(--surface-subtle);
  border: 1px solid var(--separator);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: max(.875em, var(--fs-small));
  white-space: nowrap;
}
.wow-page code { white-space: normal; overflow-wrap: anywhere; }
.wow-page kbd { border-bottom-width: 2px; }

/* Hero: the title at the title step, the lead and the platform note (as on /uhrhealth). */
.wow-hero h1 { margin: .75rem 0 0; line-height: 1.1; }
.wow-hero h1 span { display: block; color: var(--accent-text); }
.wow-hero .lead { margin: 1rem 0 0; max-width: 58ch; font-size: var(--fs-lead); line-height: 1.6; }
.wow-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 0; font: 800 var(--fs-h3)/1.3 var(--font-ui); }
.wow-kicker > span { min-width: 0; overflow-wrap: anywhere; }
.wow-kicker img { width: 48px; height: 48px; border: 2px solid var(--image-label); box-shadow: 3px 3px 0 var(--pixel-shadow); }
.platform-note { margin: 1rem 0 0; font-size: var(--fs-small); color: var(--text-secondary); }

.status-tag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--separator);
  background: var(--warm-tint);
  color: var(--warm-text);
  font: 700 var(--fs-small)/1.5 var(--font-ui);
  letter-spacing: .02em;
}
.status-tag--release { background: var(--accent-tint); color: var(--accent-text); }

.wow-section { margin-top: var(--section); }
.wow-page .section-head p { color: var(--text-secondary); }

/* The primary action, like the app pages' hero buttons. */
.wow-button {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  min-height: 48px;
  max-width: 100%;
  padding: .75rem 1.15rem;
  background: var(--action);
  color: var(--on-action);
  border: 2px solid var(--action);
  box-shadow: 3px 3px 0 var(--pixel-shadow);
  font: 750 var(--fs-body)/1.2 var(--font-ui);
  text-decoration: none;
  transition: transform .18s ease-out;
}
.wow-button > span { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.wow-button .ua-icon { width: 1rem; height: 1rem; }
@media (hover: hover) { .wow-button:hover { background: var(--action-hover); border-color: var(--action-hover); transform: translateY(-2px); } }
.wow-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.wow-actions > * { min-width: 0; }
.wow-actions .text-button > span { min-width: 0; }

/* ---------- Overview ---------- */
/* One card per addon: icon in a pixel frame, name and status, what it does, the command and its links. Stacked
   on S, two columns from M; the unit frames span the row. */
.addon-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.addon-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 1rem;
  min-width: 0;
  padding: var(--pad);
  background: var(--surface-card);
  border: 2px solid var(--separator);
  box-shadow: 4px 4px 0 var(--pixel-shadow);
}
.addon-head { display: flex; align-items: center; gap: 1rem; }
.addon-head > div { min-width: 0; }
.addon-icon { width: 64px; height: 64px; flex: none; border: 2px solid var(--image-label); background: var(--image-label); }
.addon-card h3 { margin: 0; }
.addon-head p { margin: .25rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; color: var(--text-secondary); font-size: var(--fs-small); }
.addon-card > p { margin: 0; }
.addon-card ul { margin: 0; padding-left: 1.15rem; color: var(--text-secondary); }
.addon-card li + li { margin-top: .25rem; }
.addon-start { padding-top: .75rem; border-top: 1px solid var(--separator); font-size: var(--fs-small); color: var(--text-secondary); }
@media (min-width: 640px) {
  .addon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .addon-card--wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .addon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .addon-card--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2.5rem; }
  .addon-card--wide > :not(ul) { grid-column: 1; }
  .addon-card--wide > ul { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
}

/* Shared rules of the addons: rows between rules like the data sources of /uhrhealth. */
.wow-rules { max-width: 60rem; margin: 0; }
.wow-rules > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem; padding-block: 1rem; border-top: 1px solid var(--separator); }
.wow-rules > div:last-child { border-bottom: 1px solid var(--separator); }
.wow-rules dt { font-weight: 750; }
.wow-rules dd { margin: 0; color: var(--text-secondary); }
@media (min-width: 640px) { .wow-rules > div { grid-template-columns: 14rem minmax(0, 1fr); gap: 1.5rem; } }

.wow-closing .closing-band-art { width: 48px; height: 48px; border: 2px solid var(--on-image); image-rendering: auto; }
.wow-note { margin: 2rem 0 0; max-width: 70ch; font-size: var(--fs-small); color: var(--text-secondary); }

/* ---------- FAQ ---------- */
:root:has(.faq-search) { scroll-padding-top: calc(var(--header-offset, 5rem) + 5.5rem); }

/* The search stays under the header while reading. */
.faq-search {
  position: sticky;
  top: var(--navigation-height, 4rem);
  z-index: 10;
  margin: var(--space-6) calc(var(--layout-gutter) * -1) 0;
  padding: .75rem var(--layout-gutter);
  background: var(--surface);
  border-bottom: 2px solid var(--separator);
}
.faq-search-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.faq-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.faq-search-field { position: relative; flex: 1 1 18rem; min-width: 0; }
.faq-search-field > svg { position: absolute; left: .85rem; top: 50%; width: 1.25rem; height: 1.25rem; transform: translateY(-50%); color: var(--text-secondary); pointer-events: none; }
.faq-search input {
  width: 100%;
  min-height: 3rem;
  padding: .5rem 3rem .5rem 2.75rem;
  border: 2px solid var(--control-border);
  border-radius: 0;
  background: var(--surface-card);
  color: var(--text);
  font-size: 1.0625rem;
  box-shadow: 3px 3px 0 var(--pixel-shadow);
}
.faq-search input::placeholder { color: var(--text-secondary); opacity: 1; }
.faq-search input:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: 2px; }
.faq-search input::-webkit-search-cancel-button { display: none; }
.faq-clear {
  position: absolute;
  right: .3rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}
.faq-clear svg { width: 1.1rem; height: 1.1rem; }
.faq-clear[hidden] { display: none; }
@media (hover: hover) { .faq-clear:hover { background: var(--surface-subtle); color: var(--text); } }
.faq-status { margin: .25rem 0 0; min-height: 1.5rem; font-size: var(--fs-small); color: var(--text-secondary); }
.faq-tools { display: flex; gap: .5rem; }
@media (max-width: 639px) { .faq-tools { display: none; } }
.faq-tool,
.faq-suggest button {
  min-height: var(--control-min);
  padding: .4rem .8rem;
  border: 2px solid var(--control-border);
  background: var(--surface-card);
  color: var(--text);
  font: 700 var(--fs-small)/1.2 var(--font-ui);
  cursor: pointer;
}
@media (hover: hover) { :is(.faq-tool, .faq-suggest button):hover { background: var(--surface-subtle); } }
.faq-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1rem 0 0; font-size: var(--fs-small); color: var(--text-secondary); }
.faq-suggest[hidden] { display: none; }
.faq-suggest button { color: var(--accent-text); }

/* Topics: a wrapping list on S and M, a sticky column from L. */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: 2rem; }
.faq-toc h2 { margin: 0 0 .5rem; font: 750 var(--fs-small)/1.5 var(--font-ui); letter-spacing: .04em; text-transform: uppercase; color: var(--accent-text); }
.faq-toc ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.faq-toc li[hidden] { display: none; }
.faq-toc li { min-width: 0; max-width: 100%; }
.faq-toc a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  max-width: 100%;
  min-height: var(--control-min);
  padding: .25rem .75rem;
  border: 1px solid var(--separator);
  background: var(--surface-card);
  color: var(--text);
  font-size: var(--fs-small);
  font-weight: 650;
  text-decoration: none;
}
.faq-toc a { flex-wrap: wrap; overflow-wrap: anywhere; }
.faq-toc .count { color: var(--text-secondary); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .faq-toc a:hover { border-color: var(--control-border); } }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: 14rem minmax(0, 1fr); gap: 3rem; }
  .faq-toc nav { position: sticky; top: calc(var(--navigation-height, 4rem) + 6.5rem); }
  .faq-toc ol { display: grid; gap: 0; }
  .faq-toc a { display: flex; border-width: 0 0 0 3px; border-color: transparent; background: none; }
  .faq-toc a[aria-current="true"] { border-color: var(--accent-text); background: var(--surface-card); }
}

.faq-category + .faq-category { margin-top: 3.5rem; }
.faq-category[hidden] { display: none; }
.faq-category > h2 { margin: 0 0 .5rem; }
.faq-intro { margin: 0 0 1.25rem; max-width: 62ch; color: var(--text-secondary); }
.faq-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }

.faq-item { min-width: 0; background: var(--surface-card); border: 1px solid var(--separator); }
.faq-item[hidden] { display: none; }
.faq-item[open] { border: 2px solid var(--control-border); box-shadow: 4px 4px 0 var(--pixel-shadow); }
.faq-item > summary {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 3.25rem;
  padding: .75rem 1rem;
  cursor: pointer;
  list-style: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; flex: none; margin-left: auto; font: 500 1.5rem/1 var(--font-display); color: var(--accent-text); }
.faq-item[open] > summary::after { content: "−"; }
.faq-item > summary:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: 2px; }
.faq-item h3 { flex: 1; min-width: 0; margin: 0; font-size: var(--fs-body); }
@media (hover: hover) { .faq-item > summary:hover h3 { color: var(--accent-text); } }

.faq-answer { padding: 0 1rem 1rem; }
.faq-answer > :first-child { margin-top: 0; }
.faq-answer p, .faq-answer ul, .faq-answer ol { margin: .75rem 0 0; max-width: 70ch; }
.faq-answer ul, .faq-answer ol { padding-left: 1.25rem; }
.faq-answer li + li { margin-top: .25rem; }
.faq-answer a { color: var(--accent-text); }
.table-scroll { margin-top: .75rem; overflow-x: auto; }
.faq-answer table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.faq-answer th, .faq-answer td { padding: .45rem .6rem; border-bottom: 1px solid var(--separator); text-align: left; vertical-align: top; }
.faq-answer th { background: var(--surface-subtle); font-weight: 750; }
.faq-answer td:first-child { white-space: nowrap; }
/* Where the setting lives: a note with an accent rule, like /uhrhealth's notes. */
.faq-where {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .75rem;
  padding: .5rem .75rem;
  border-left: 3px solid var(--accent-text);
  background: var(--surface-subtle);
  font-size: var(--fs-small);
}
.faq-answer .faq-where { margin-top: 1rem; }
.faq-where > span:first-child { font-weight: 800; color: var(--accent-text); text-transform: uppercase; letter-spacing: .04em; }
.faq-where .path { min-width: 0; overflow-wrap: anywhere; font-weight: 650; }
.faq-page mark { background: var(--signal-amber); color: #1e1a10; }

/* Pictures at the answers (faq-views.js): results to compare, the menu with numbered steps. */
.faq-visuals { display: grid; gap: 1.25rem; margin: 0 1rem 1rem; max-width: 70ch; }
.faq-visuals figure { margin: 0; }
.faq-switch { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.faq-switch .faq-tool[aria-pressed="true"] { background: var(--accent-text); color: var(--surface, #111); border-color: var(--accent-text); }
.faq-results-stage { display: grid; place-items: center; padding: .75rem; border: 1px solid var(--separator); background: #111; }
.faq-results-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: 24rem; }
.faq-results-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); gap: .75rem; }
.faq-results-pair .faq-results-stage { gap: .5rem; align-content: start; }
.faq-results-label { font-size: var(--fs-small); font-weight: 700; color: #e9e4d4; }
.faq-visuals figcaption, .faq-view-step { margin: .5rem 0 0; font-size: var(--fs-small); color: var(--text-secondary); }
.faq-view figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.faq-view code { color: inherit; }
.faq-view-frame { position: relative; overflow: hidden; border: 1px solid var(--separator); background: #111; }
.faq-view-canvas { --zoom: 1; position: absolute; inset: 0; transform-origin: 0 0; transition: transform .25s ease; }
.faq-view-frame a, .faq-view-frame img { display: block; }
.faq-view-frame img { width: 100%; height: auto; }
.faq-view-mark {
  position: absolute;
  border: calc(3px / var(--zoom)) solid var(--signal-amber);
  border-radius: calc(6px / var(--zoom));
  box-shadow: 0 0 0 calc(2px / var(--zoom)) rgba(0, 0, 0, .65);
  pointer-events: none;
  transition: opacity .25s ease;
}
.faq-view-mark.is-other { opacity: .25; }
.faq-view-mark[data-step]::before {
  content: attr(data-step);
  position: absolute;
  top: 50%;
  right: calc(100% + .3rem / var(--zoom));
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: calc(1.6rem / var(--zoom));
  height: calc(1.6rem / var(--zoom));
  border-radius: 50%;
  background: var(--signal-amber);
  color: #1e1a10;
  font-weight: 800;
  font-size: calc(var(--fs-small) / var(--zoom));
  box-shadow: 0 0 0 calc(2px / var(--zoom)) rgba(0, 0, 0, .65);
}
@media (max-width: 40rem) {
  .faq-visuals { margin-inline: .5rem; }
  .faq-view-mark { border-width: calc(2px / var(--zoom)); }
  .faq-view-mark[data-step]::before { width: calc(1.25rem / var(--zoom)); height: calc(1.25rem / var(--zoom)); font-size: calc(.75rem / var(--zoom)); }
}
@media (prefers-reduced-motion: reduce) {
  .faq-view-canvas, .faq-view-mark { transition: none; }
}


.faq-empty { padding: 2rem var(--pad); border: 2px dashed var(--separator); text-align: center; }
.faq-empty[hidden] { display: none; }
.faq-empty h2 { margin: 0 0 .5rem; font-size: var(--fs-h3); }
.faq-empty p { margin: 0 auto; max-width: 50ch; color: var(--text-secondary); }

@media (prefers-reduced-motion: reduce) {
  .wow-button { transition: none; }
  .wow-button:hover { transform: none; }
}
@media (forced-colors: active) {
  .wow-button, .addon-card, .faq-search input { box-shadow: none; }
  .faq-page mark { background: Mark; color: MarkText; }
}

/* Building blocks at the answers (faq-widgets.js, #240 in wow-forever-addons): simplified HTML in the
   site's tokens that explains how a setting works. The health bar stands for the dark game frame and
   keeps the addon's Forever colors (Design.lua healPrediction, hotPrediction, shieldPrediction,
   healAbsorbPrediction; TokensGroupExtras.lua ownHeal, healMarks) in both site themes. The table a
   block replaces stays in the answer for the search and without JavaScript. */
.faq-item.has-widget [data-widget-fallback] { display: none; }
.faq-widgets { margin: 0 1rem 1rem; max-width: 70ch; }
.faq-widget { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; min-width: 0; overflow-wrap: anywhere; padding: .75rem; border: 1px solid var(--separator); background: var(--surface); }
.faq-widget > .faq-switch { margin: 0; }
.faq-w-tag { justify-self: start; max-width: 100%; padding: .05rem .45rem; border: 1px solid var(--control-border); background: var(--surface-card); font-size: .8125rem; font-weight: 700; }
.faq-widget > .faq-w-tag:first-child { border-color: var(--separator); background: none; color: var(--text-secondary); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.faq-w-label { margin: 0; font-size: var(--fs-small); font-weight: 700; }
.faq-w-note { margin: 0; font-size: var(--fs-small); color: var(--text-secondary); }
.faq-w-num { font-variant-numeric: tabular-nums; }
.faq-widget input[type="range"] { width: 100%; min-width: 0; margin: 0; accent-color: var(--action); }
.faq-widget p { margin: 0; max-width: none; }

/* tiers: one cell per group size, as wide as its range of players */
.faq-w-ribbon-wrap { overflow-x: auto; padding-top: 1.5rem; }
.faq-w-ribbon { display: flex; min-width: 30rem; border: 2px solid var(--control-border); background: var(--surface-card); }
.faq-w-ribbon.is-edit-all { outline: 3px solid var(--action); outline-offset: 2px; }
.faq-w-tier { position: relative; flex: var(--span) 1 0; display: grid; align-content: start; gap: .3rem; min-width: 0; padding: .45rem .3rem .4rem; border: 0; border-right: 1px solid var(--separator); background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.faq-w-tier:last-child { border-right: 0; }
.faq-w-tier.is-live { background: var(--accent-tint); box-shadow: inset 0 -4px 0 var(--accent-text); }
.faq-w-tier.is-edit::before { content: "editing"; position: absolute; top: -1.45rem; left: -2px; padding: .05rem .35rem; background: var(--action); color: var(--on-action); font-size: .6875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.faq-w-tier-name { font-size: var(--fs-small); font-weight: 800; white-space: nowrap; }
.faq-w-tier-range { overflow-wrap: anywhere; font-size: .75rem; color: var(--text-secondary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.faq-w-tier-frame { display: flex; align-items: flex-end; height: 1.5rem; }
.faq-w-tier-frame i { display: block; border: 1px solid #000; background: #1f9a35; }
.faq-w-scale { display: flex; justify-content: space-between; min-width: 30rem; font-size: .75rem; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.faq-w-readout { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; }
.faq-w-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: .75rem; }
.faq-w-split > div { min-width: 0; padding: .6rem .75rem; border: 1px solid var(--separator); background: var(--surface-card); font-size: var(--fs-small); }
.faq-w-split h4 { margin: 0 0 .25rem; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; }
.faq-w-split .is-dim { opacity: .45; }
@media (max-width: 559px) {
  .faq-w-ribbon, .faq-w-scale { min-width: 0; }
  .faq-w-tier { flex: 1 1 0; }
  .faq-w-upto, .faq-w-scale { display: none; }
  .faq-w-tier-name { font-size: var(--fs-body); }
}

/* clicks: the mouse and the same inputs as a list */
.faq-w-mouse-grid { display: grid; grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr); gap: 1rem; align-items: start; }
.faq-w-mouse svg { display: block; width: 100%; height: auto; }
.faq-w-mouse-body { fill: var(--surface-card); stroke: var(--control-border); stroke-width: 2.5; }
.faq-w-zone { fill: transparent; stroke: var(--control-border); stroke-width: 1.5; cursor: pointer; }
.faq-w-zone.is-free { stroke-dasharray: 3 3; }
.faq-w-zone.is-on { fill: var(--accent-tint); stroke: var(--accent-text); stroke-width: 3; }
.faq-w-zone:focus { outline: none; }
.faq-w-zone:focus-visible { stroke: var(--focus); stroke-width: 4; }
.faq-w-mouse text { fill: var(--text); font: 700 11px var(--font-ui); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.faq-w-binds { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem; min-width: 0; margin: 0; padding: 0; list-style: none; }
.faq-w-binds li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: .5rem; margin: 0; padding: .35rem .5rem; border: 1px solid transparent; cursor: pointer; }
.faq-w-binds li.is-on { border-color: var(--accent-text); background: var(--accent-tint); }
.faq-w-input { font-size: .8125rem; font-weight: 700; }
.faq-w-spell { font-size: var(--fs-small); }
.faq-w-spell small { display: block; font-size: .75rem; color: var(--text-secondary); }
.faq-w-spell.is-free { font-style: italic; color: var(--text-secondary); }
.faq-w-detail { min-height: 3.6rem; padding: .6rem .75rem; border: 1px solid var(--separator); background: var(--surface-card); font-size: var(--fs-small); }
.faq-w-kinds { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .8125rem; }
.faq-w-kinds span { padding: .1rem .45rem; border: 1px dashed var(--control-border); }
@media (max-width: 559px) {
  .faq-w-mouse-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-w-mouse { justify-self: center; width: 9rem; }
}

/* health: the bar in the game's dark frame */
.faq-w-unit { justify-self: center; width: 100%; max-width: 22rem; padding: 6px; border: 1px solid #000; background: #10161b; }
.faq-w-bar { position: relative; height: 3.25rem; overflow: hidden; background: #222b31; }
.faq-w-seg { position: absolute; top: 0; bottom: 0; left: 0; width: 0; box-shadow: inset 1px 0 0 #000; transition: left .25s ease, width .25s ease, background-color .25s ease; }
.faq-w-seg-fill { background: #1f9a35; box-shadow: none; }
.faq-w-seg-absorb { background: #4d0a12; }
.faq-w-seg-own { background: #a7446b; }
.faq-w-seg-other { background: #0d7366; }
.faq-w-seg-hot { background: #5761a8; }
.faq-w-seg-shield { background: #0d66bf; }
.faq-w-seg-mark, .faq-w-mark { background: #bdfaed; }
.faq-w-mark { position: absolute; top: 0; right: 0; bottom: 0; width: 3px; box-shadow: -1px 0 0 #000; }
.faq-w-mark[hidden] { display: none; }
.faq-w-bar-text { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; padding: 0 .55rem; color: #f4f1e6; font-weight: 700; font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 #000, 1px 0 0 #000, -1px 0 0 #000, 0 -1px 0 #000; pointer-events: none; }
.faq-w-name { font-size: .9375rem; }
.faq-w-hp { grid-column: 1; font-size: .8125rem; color: #b9c2c8; }
.faq-w-inc { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: var(--fs-small); color: #4df2e6; }
.faq-w-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(11rem, 100%), 1fr)); gap: .3rem .75rem; margin: 0; padding: 0; list-style: none; font-size: .8125rem; }
.faq-w-legend li { display: flex; align-items: center; gap: .45rem; margin: 0; color: var(--text-secondary); }
.faq-w-legend li.is-on { color: var(--text); font-weight: 700; }
.faq-w-legend li:not(.is-on) .faq-w-swatch { opacity: .3; }
.faq-w-swatch { position: static; flex: none; width: 1.4rem; height: .8rem; border: 1px solid #000; box-shadow: none; }
.faq-w-more > summary { cursor: pointer; font-size: var(--fs-small); font-weight: 700; color: var(--accent-text); }
.faq-w-more[open] > summary { margin-bottom: .75rem; }
.faq-w-sliders { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr)); gap: .5rem 1rem; }
.faq-w-sliders label { display: grid; gap: .1rem; min-width: 0; font-size: .8125rem; font-weight: 600; }
.faq-w-sliders output { font-weight: 400; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.faq-w-switches { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: .75rem; }
.faq-w-switch { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-small); cursor: pointer; }
.faq-w-switch input { width: 1.1rem; height: 1.1rem; accent-color: var(--action); }
@media (prefers-reduced-motion: reduce) {
  .faq-w-seg { transition: none; }
}
