/* misc.css: lane PAGES-MISC (buff, prefix, armor set, station, achievement pages; the five hubs;
   home, about, "What changed in 1.4.5"). Tokens and atoms from theme.css only; no colour literal. */

/* stat lines in the game's tooltip colours (Main.cs:20820, 20821) */
.good { color: var(--c-tip-good); }
.bad { color: var(--c-tip-bad); }
table.prefix-stats td { font-size: var(--fs-1, 1.125rem); }

ul.facts { margin: 0 0 8px; padding-left: 1.2em; }
ul.facts > li { margin: 2px 0; }

/* filter bar above hub and station tables (urlstate.js, markup A) */
form.filters { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; margin: 0 0 12px; }
form.filters .namebox { flex: 1 1 260px; min-width: 0; }
form.filters fieldset.facet { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 100%; }
form.filters fieldset.facet legend { float: left; width: 100%; margin: 0 0 2px; padding: 0; }
form.filters .sort { display: inline-flex; gap: 6px; align-items: center; }
form.filters .filter-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1 1 100%; }

/* hub and station tables: long lists scroll inside their own box on a phone */
.page-hub .table-wrap, .kind-station .table-wrap { max-width: 100%; overflow-x: auto; }
.page-hub table.data td, .kind-station table.data td { vertical-align: top; }
.page-hub table.data td:nth-child(n+3), .hub-weapons table.data td:nth-child(n+3) { white-space: nowrap; }
.hub-accessories table.data td:nth-child(2), .hub-armor table.data td:nth-child(4) { white-space: normal; min-width: 14em; }
.hub-armor table.data td:nth-child(2) { min-width: 12em; }
.kind-station table.data td:nth-child(2) { min-width: 11em; }
.qty { color: var(--fg-soft); white-space: nowrap; }

/* home: search first, then the jobs */
.k-home .home-search {
  display: flex; gap: 8px; max-width: 40rem; margin: 0 auto 12px; padding: 6px 8px;
  background: var(--c-window-bg); border: 12px solid transparent;
  border-image: var(--s-window) 12 fill / 12px stretch; image-rendering: pixelated;
}
.k-home .home-search input[type="search"] { flex: 1 1 auto; min-width: 0; font-size: 1.25rem; min-height: 48px; }
.k-home .tool .n { display: block; margin-top: 4px; color: var(--fg-soft); font-size: var(--fs-s, 0.875rem); }
.k-home .stamp { font-size: var(--fs-s, 0.875rem); }

/* what changed in 1.4.5 */
.page-changes .cl-version h3 { margin: 16px 0 4px; }
.page-changes .cl-version h4 { margin: 12px 0 4px; color: var(--fg-soft); }
.page-changes .cl-head { margin: 10px 0 2px; font-weight: 700; }
.page-changes ul.cl { margin: 0 0 8px; padding-left: 1.2em; }
.page-changes ul.cl ul { padding-left: 1.2em; }
.page-changes ul.cl li { margin: 2px 0; }

/* seed pages: seed words and server lines read at text size */
.kind-seed code { font-size: 1em; }
