/* The /setup page: the sync app's product page (redesigned 2026-10-26, "WoW-themed").  A hero with
 * the download and the app in a window framed like the game's own, the games it works with, feature
 * cards with the game's icons, the four steps, the screenshots, then a tabbed box of help.  Loaded by
 * setup.html only, on top of pq.css and shell.css, and it uses their colours: the page is part of
 * this site and wears its gold.  The `wh-` rules are the page's older parts, the `sx-` rules the new.
 *
 * Nothing here loads anything: no fonts, no images.  The icons are <img>s in the page, and the
 * frames, glows and buttons are gradients and shadows.  Motion only where the reader allows it.
 *
 * The tabs work without JavaScript: tabs.js adds `data-ready` to the tab box, and only then are the
 * inactive panels hidden (they ship with the `hidden` attribute for the benefit of a reader that
 * has the script, and are shown by the rule at the bottom for one that does not).
 */

.wh-crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.wh-crumbs a { color: var(--text-dim); text-decoration: none; }
.wh-crumbs a:hover { color: var(--text); }
.wh-crumbs [aria-current] { color: var(--accent); }

.wh-panel {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1rem, 0.5rem + 2vw, 2.25rem);
}
.wh-panel h1 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-bottom: 0.9rem;
}
.wh-panel h2 {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem);
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}
.wh-lede { font-size: 1.05rem; max-width: 62rem; }

.wh-purposes {
  list-style: none;
  counter-reset: purpose;
  padding: 0;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.35rem;
  max-width: 62rem;
}
.wh-purposes li { counter-increment: purpose; padding-left: 1.9rem; position: relative; color: var(--text-dim); }
.wh-purposes li::before {
  content: counter(purpose) ".";
  position: absolute;
  left: 0.2rem;
  color: var(--warn);
  font-variant-numeric: tabular-nums;
}
.wh-purposes strong { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------------------- the download */

.wh-get { display: grid; gap: 0.7rem; justify-items: start; }

.wh-download {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.1rem;
  font-size: 1.15rem;
  font-weight: 650;
  text-decoration: none;
}
.wh-download:hover { filter: brightness(1.08); color: var(--accent-text); }
.wh-download:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.wh-download.small { font-size: 0.95rem; padding: 0.4rem 0.75rem; font-weight: 600; }
.wh-os { flex: none; }

.wh-fine { color: var(--text-faint); font-size: 0.9rem; margin: 0; overflow-wrap: anywhere; }
.wh-missing { color: var(--warn); margin: 0; }
.wh-also { margin: 0.6rem 0 0; color: var(--text-dim); }

.wh-binaries { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.wh-binaries li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }

.wh-addon {
  margin-top: 1.4rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-left: 3px solid var(--link);
  border-radius: var(--radius-sm);
  max-width: 62rem;
}
.wh-addon h3 { margin-bottom: 0.4rem; }
.wh-addon p { margin: 0 0 0.6rem; }
.wh-addon p:last-child { margin-bottom: 0; }

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

.wh-tabs {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-inset);
  overflow: hidden;
}
.wh-tablist {
  display: flex;
  flex-wrap: wrap;
  background: var(--bg);
  border-bottom: 1px solid var(--border-strong);
}
.wh-tablist [role="tab"] {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--text-dim);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0.85rem 1.1rem 0.7rem;
}
.wh-tablist [role="tab"]:hover { color: var(--text); }
.wh-tablist [role="tab"][aria-selected="true"] {
  color: var(--text);
  background: var(--bg-inset);
  border-bottom-color: var(--accent);
}
.wh-tablist [role="tab"]:focus-visible { outline: 2px solid var(--link); outline-offset: -3px; }

.wh-tabpanel { padding: clamp(0.9rem, 0.5rem + 1.4vw, 1.5rem); }
.wh-tabpanel h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.7rem; }
.wh-tabpanel hr { border: 0; border-top: 1px solid var(--border); margin: 1.4rem 0; }
.wh-tabpanel ol, .wh-tabpanel ul { padding-left: 1.4rem; }
.wh-tabpanel ol > li::marker { color: var(--warn); }
.wh-tabpanel details { margin-top: 0.9rem; border-top: 1px solid var(--border); padding-top: 0.6rem; }
.wh-tabpanel summary { cursor: pointer; font-weight: 600; color: var(--text-dim); }
.wh-tabpanel summary:hover { color: var(--text); }

/* Without the script every panel is a section of one long page, in reading order. */
.wh-tabs:not([data-ready]) .wh-tablist { display: none; }
.wh-tabs:not([data-ready]) .wh-tabpanel[hidden] { display: block !important; }
.wh-tabs:not([data-ready]) .wh-tabpanel + .wh-tabpanel { border-top: 1px solid var(--border-strong); }

/* ---------------------------------------------------------------------------- help + window */

.wh-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 64rem) {
  .wh-help { grid-template-columns: minmax(0, 1fr) minmax(22rem, 34rem); }
}

.wh-help-figure { margin: 0; }
.wh-help-figure img, .wh-step-shot img, .wh-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: 0 0.5rem 1.4rem rgb(0 0 0 / 0.4);
}
.wh-help-figure figcaption { margin-top: 0.4rem; color: var(--text-faint); font-size: 0.85rem; text-align: center; }

/* ------------------------------------------------------------------- commands, FAQ and builds */

.wh-commands { margin-top: 0.4rem; }
.wh-commands td:first-child { white-space: nowrap; }
.wh-commands td { overflow-wrap: anywhere; }

.wh-faq { margin: 0; display: grid; gap: 0.2rem; max-width: 62rem; }
.wh-faq dt { font-weight: 650; margin-top: 0.8rem; }
.wh-faq dt:first-child { margin-top: 0; }
.wh-faq dd { margin: 0.2rem 0 0; color: var(--text-dim); }
.wh-faq dd strong, .wh-faq dd code, .wh-faq dd em { color: var(--text); }

/* ------------------------------------------------------------------- how it works, what you get */

.wh-steps { list-style: none; counter-reset: step; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.wh-step {
  counter-increment: step;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem 1.6rem;
  align-items: start;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.wh-step:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 60rem) {
  .wh-step { grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); }
}
.wh-step-text h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.wh-step-text h3::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1204;
  font-family: var(--font);
  font-variant: normal;
  font-size: 0.9rem;
  font-weight: 700;
  vertical-align: 0.1em;
}
.wh-step-text p { margin: 0 0 0.6rem; color: var(--text-dim); max-width: 40rem; }
.wh-step-text em, .wh-step-text strong { color: var(--text); }
.wh-step-shot { margin: 0; }
.wh-note {
  border-left: 3px solid var(--warn);
  padding: 0.5rem 0.8rem;
  background: var(--bg-raised);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.wh-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem 1.4rem;
  margin: 0.4rem 0 1.6rem;
}
@media (min-width: 48rem) {
  .wh-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.wh-gallery figure { margin: 0; }
.wh-gallery figcaption { margin-top: 0.45rem; font-size: 0.9rem; color: var(--text-dim); }
.wh-gallery img { box-shadow: 0 0 0 1px #000, 0 0 0 2px #3b2f12, 0 0.6rem 1.6rem rgb(0 0 0 / 0.45); }

/* ===================================================================== the redesign (sx-) */

.sx-page {
  --sx-gold-hi: #ffe39a;
  --sx-frame: #7a5d1a;
  --sx-red: #8e1b10;
  --sx-red-deep: #4d0a05;
  position: relative;
  overflow: hidden;
  border-color: #2a2414;
  background:
    radial-gradient(60rem 26rem at 85% -6rem, rgb(230 180 34 / 0.13), transparent 70%),
    radial-gradient(40rem 22rem at -10% 0, rgb(74 144 226 / 0.08), transparent 70%),
    linear-gradient(180deg, #121a2a 0, var(--bg-raised) 34rem);
}
.sx-page h2 { font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); margin: 0 0 0.8rem; }
.sx-section { margin-top: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }
.sx-intro { color: var(--text-dim); max-width: 52rem; margin: -0.2rem 0 1.1rem; }

/* A thin gold rule under each section's heading, the way the game underlines a frame's title. */
.sx-section > h2::after, .sx-page > h2::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 2px;
  margin-top: 0.45rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ---------------------------------------------------------------------------------- icons */

/* One game icon in the frame the game draws around an action button: black edge, a gold ring,
   a shadow.  Without the imported icon, the first letter of its label in the same frame. */
.sx-icon {
  --sx-icon: 44px;
  flex: none;
  display: inline-grid;
  place-items: center;
  width: var(--sx-icon);
  height: var(--sx-icon);
  border-radius: 5px;
  border: 1px solid #000;
  box-shadow: 0 0 0 1px var(--sx-frame, #7a5d1a), 0 0 0 2px #000, 0 4px 12px rgb(0 0 0 / 0.55);
  background: #07090e;
  overflow: hidden;
}
.sx-icon img { display: block; width: 100%; height: 100%; }
.sx-icon-letter {
  background: radial-gradient(circle at 35% 30%, #3a3018, #120e05 75%);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: calc(var(--sx-icon) * 0.5);
  line-height: 1;
}

/* ----------------------------------------------------------------------------------- hero */

.sx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  align-items: center;
}
@media (min-width: 60rem) {
  .sx-hero { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
}

.sx-kicker {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.22rem 0.75rem;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--sx-gold-hi);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sx-hero h1 {
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.5rem);
  line-height: 1.05;
  margin: 0 0 0.9rem;
  color: var(--gold);
  text-shadow: 0 2px 0 #000, 0 0 28px rgb(230 180 34 / 0.25);
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .sx-hero h1 {
    background: linear-gradient(180deg, #fff1c2 0, #f2c94c 45%, #c08a14 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 2px 0 #000) drop-shadow(0 0 18px rgb(230 180 34 / 0.22));
  }
}
@media (forced-colors: active) {
  .sx-hero h1 { color: CanvasText; background: none; filter: none; }
}

.sx-hero .wh-lede { font-size: 1.08rem; color: var(--text); }
.sx-hero .wh-purposes { margin-top: 0.9rem; }
.sx-hero .wh-purposes li::before { color: var(--gold); font-weight: 700; }

.sx-get { margin-top: 1.5rem; gap: 0.75rem; }

/* The one thing to press: the game's own red button with a gold edge. */
.sx-cta.wh-download {
  gap: 0.75rem;
  padding: 0.9rem 1.6rem 0.9rem 1.3rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffe9a8;
  text-shadow: 0 1px 0 #000;
  background: linear-gradient(180deg, #b8321f 0, var(--sx-red) 48%, var(--sx-red-deep) 100%);
  border: 1px solid #000;
  border-radius: 6px;
  box-shadow:
    0 0 0 2px #b88a24,
    0 0 0 3px #000,
    inset 0 1px 0 rgb(255 220 160 / 0.35),
    0 10px 26px rgb(142 27 16 / 0.35);
}
.sx-cta.wh-download:visited { color: #ffe9a8; }
@media (max-width: 40rem) {
  .sx-get { justify-items: stretch; }
  .sx-cta.wh-download { justify-content: center; }
  .sx-card { padding: 0.85rem 0.9rem; }
}
.sx-cta.wh-download:hover { color: #fff6d6; filter: brightness(1.12); }
.sx-cta.wh-download:active { transform: translateY(1px); }
.sx-cta.wh-download:focus-visible { outline: 3px solid var(--sx-gold-hi); outline-offset: 5px; }

.sx-alt { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.sx-alt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: rgb(8 12 20 / 0.7);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.sx-alt-link:visited { color: var(--text); }
.sx-alt-link:hover { border-color: var(--gold-dim); color: #fff; }
.sx-alt-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sx-alt-link svg { color: var(--gold); }
.sx-get .wh-store { margin: 0; font-size: 0.92rem; }

/* The app in a window framed like one of the game's: dark inside, a gold border, a title plate on
   the top edge and the red close button in the corner.  The plate and the button are decoration. */
.sx-window { margin: 0.6rem 0 0; }
.sx-window-frame {
  position: relative;
  padding: 1.15rem 0.55rem 0.55rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #1b1608, #0b0a06);
  border: 1px solid #000;
  box-shadow:
    0 0 0 2px var(--sx-frame),
    0 0 0 3px #000,
    inset 0 0 0 1px rgb(255 214 120 / 0.12),
    0 24px 60px rgb(0 0 0 / 0.6),
    0 0 70px rgb(230 180 34 / 0.08);
}
.sx-window-frame img { display: block; width: 100%; height: auto; border-radius: 3px; border: 1px solid #000; }
.sx-window-title {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -55%);
  padding: 0.2rem 1.3rem;
  border: 1px solid #000;
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--sx-frame), 0 4px 10px rgb(0 0 0 / 0.5);
  background: linear-gradient(180deg, #2b2210, #120e05);
  color: var(--gold);
  font-family: var(--font-heading);
  font-variant: small-caps;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.sx-window-close {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  border: 1px solid #000;
  box-shadow: 0 0 0 1px var(--sx-frame);
  background: radial-gradient(circle at 40% 35%, #d84a32, #6e120a 70%);
}
.sx-window-close::before, .sx-window-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.62rem;
  height: 2px;
  background: #ffd9a0;
  transform: translate(-50%, -50%) rotate(45deg);
}
.sx-window-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.sx-window figcaption { margin-top: 0.75rem; font-size: 0.88rem; color: var(--text-faint); }

/* --------------------------------------------------------------------- every version badges */

.sx-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.9rem;
}
.sx-badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--game, var(--gold));
  border-radius: 8px;
  background: linear-gradient(90deg, rgb(255 255 255 / 0.04), rgb(8 12 20 / 0.6) 70%);
}
.sx-badge-text { display: grid; gap: 0.15rem; min-width: 0; }
.sx-badge-text strong { color: var(--text); font-size: 1.02rem; }
.sx-badge-folder { color: var(--text-faint); font-size: 0.85rem; }
.sx-badge-folder code { font-size: 0.82rem; }
.sx-badge.is-current { border-color: var(--gold-dim); border-left-color: var(--game, var(--gold)); }
.sx-badge-here {
  position: absolute;
  top: -0.6rem;
  right: 0.7rem;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1204;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------------- feature cards */

.sx-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
  gap: 0.9rem;
}
.sx-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 0.9rem;
  row-gap: 0.25rem;
  align-content: start;
  padding: 1rem 1.05rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.025), rgb(0 0 0 / 0.18)), var(--bg-inset);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.sx-card:hover { border-color: var(--gold-dim); }
@media (prefers-reduced-motion: no-preference) {
  .sx-card:hover { transform: translateY(-2px); }
}
.sx-card > .sx-icon { grid-row: 1 / span 2; }
.sx-card h3 { margin: 0.1rem 0 0; font-size: 1.08rem; line-height: 1.25; }
.sx-card p { margin: 0; color: var(--text-dim); font-size: 0.93rem; }
@media (min-width: 60rem) {
  .sx-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------------------------- the steps */

.wh-step-text {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 0.9rem;
  align-content: start;
}
.wh-step-text > * { grid-column: 2; }
.wh-step-text > .sx-step-icon { grid-column: 1; grid-row: 1 / span 4; --sx-icon: 40px; }
@media (max-width: 40rem) {
  .wh-step-text > p { grid-column: 1 / -1; }
}
.wh-step-shot img { box-shadow: 0 0 0 1px #000, 0 0 0 2px #3b2f12, 0 0.6rem 1.6rem rgb(0 0 0 / 0.45); }

/* -------------------------------------------------------------------------------- privacy */

.sx-privacy {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: rgb(8 12 20 / 0.55);
}
.sx-privacy h2 { margin-bottom: 0.5rem; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); }
.sx-privacy h2::after { display: none; }
.sx-privacy p { margin: 0; color: var(--text-dim); max-width: 60rem; }
.sx-privacy em { color: var(--text); }
@media (max-width: 30rem) {
  .sx-privacy { flex-direction: column; }
}

/* The addon note sits between sections now. */
.sx-page .wh-addon { margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); border-left-color: var(--gold); }

/* ------------------------------------------------------------------------ before you install */

.sx-with-icon { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.sx-section > h2.sx-with-icon::after { flex-basis: 100%; margin-top: 0; }
.sx-questions { display: grid; gap: 0.55rem; max-width: 62rem; }
.sx-questions details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-inset);
}
.sx-questions details[open] { border-color: var(--gold-dim); }
.sx-questions summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 0.8rem 2.6rem 0.8rem 1rem;
  font-weight: 650;
  color: var(--text);
}
.sx-questions summary::-webkit-details-marker { display: none; }
.sx-questions summary::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
}
.sx-questions details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.sx-questions summary:hover { color: #fff; }
.sx-questions summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.sx-questions details > :not(summary) { margin: 0 1rem 0.8rem; color: var(--text-dim); }
.sx-questions details em, .sx-questions details strong, .sx-questions details code { color: var(--text); }
.sx-folders { padding-left: 1.2rem; }
.sx-folders code { overflow-wrap: anywhere; }

.sx-more-builds {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.6rem;
  max-width: 62rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgb(8 12 20 / 0.55);
}
.sx-more-builds h3 { margin: 0; font-size: 1.1rem; }
.sx-more-builds .wh-also { margin: 0; }
.sx-more-builds .wh-download.small {
  background: linear-gradient(180deg, #232a3a, #121722);
  color: var(--text);
  border: 1px solid var(--gold-dim);
}
.sx-more-builds .wh-download.small:visited { color: var(--text); }
.sx-more-builds .wh-download.small:hover { color: #fff; border-color: var(--gold); filter: none; }

.sx-page > #related { margin-top: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }

/* A wide table scrolls inside its box on a phone, never the page. */
.sx-table-scroll { overflow-x: auto; max-width: 100%; }
