@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --bg: #0d0d14;
  --bg-section: #14131c;
  --bg-card: #1b1924;
  --surface: #1b1924;
  --paper: #e8e0d1;
  --muted: #bbb5c4;
  --line: #33323e;
  --purple: #b685f4;
  --green: #a7bc84;
  --orange: #dfa365;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height, 100px) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font: 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--purple);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
p {
  margin: 0 0 1.2em;
  color: var(--muted);
}
h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1,
h2,
h3 {
  font-family: var(--serif);
}
h1 {
  letter-spacing: -0.05em;
}
h2 {
  font-size: 36px;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 25px;
  letter-spacing: -0.02em;
}
em {
  font-weight: 400;
  color: var(--purple);
}
strong {
  color: var(--paper);
}
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}
.container {
  width: min(1280px, calc(100% - 96px));
  margin: auto;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1440px;
  padding: 24px 40px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.03em;
}
.brand i {
  color: var(--purple);
}
.brand small {
  display: block;
  font: 9px/1.5 var(--body);
  letter-spacing: 0.17em;
  color: var(--muted);
  margin-top: 6px;
}
.header-inner nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
}
.header-inner nav a {
  font-size: 13px;
  color: #bfbdc7;
  position: relative;
  padding: 8px 0;
}
.header-inner nav a:hover,
.header-inner nav a[aria-current] {
  color: var(--paper);
}
.header-inner nav a[aria-current]:after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--purple);
  bottom: 0;
  left: 0;
  right: 0;
}
.steam-link {
  font-size: 12px;
  border: 1px solid #4c485b;
  padding: 9px 13px;
  white-space: nowrap;
}
.steam-link span {
  padding-left: 13px;
  color: var(--purple);
}
.menu-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 10px 14px;
  display: none;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  background: var(--paper);
  color: var(--bg);
  z-index: 99;
  padding: 12px 20px;
}
.skip-link:focus {
  top: 12px;
}
.eyebrow,
.small-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  line-height: 1.6;
  font-weight: 600;
}
.eyebrow {
  color: var(--purple);
}
.small-label {
  color: var(--muted);
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 8px;
  vertical-align: middle;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 505px;
  align-items: center;
  padding: 56px 0 49px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(56px, 5.7vw, 82px);
  line-height: 0.98;
  margin: 25px -70px 24px 0;
}
.hero-copy > p {
  font-size: 17px;
  line-height: 1.7;
  color: #b9b6c4;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}
.button {
  display: inline-flex;
  justify-content: center;
  gap: 22px;
  align-items: center;
  border: 1px solid transparent;
  min-height: 48px;
  padding: 12px 20px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
}
.primary {
  background: var(--purple);
  color: #191123;
}
.primary:hover {
  background: #c8aaf4;
  color: #191123;
}
.secondary {
  border-color: #55505f;
  color: var(--paper);
  background: transparent;
}
.secondary:hover {
  border-color: var(--purple);
  color: var(--purple);
}
.hero-topics {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #96939e;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 35px;
}
.hero-topics span {
  color: #746386;
}
.hero-art {
  margin: 0 -20px 0 0;
  position: relative;
  min-width: 0;
}
.hero-art > img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  object-position: 54% center;
  clip-path: polygon(2% 5%, 96% 0, 100% 94%, 5% 100%);
  filter: brightness(0.78) saturate(0.8);
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 10px 10px 40px;
  transform: rotate(3deg);
  border: 1px solid #514456;
  z-index: -1;
}
.hero-art figcaption {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #aaa6b6;
  margin-top: 20px;
}
.art-stamp {
  position: absolute;
  right: 18px;
  top: 16px;
  transform: rotate(8deg);
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: #dcc8b3;
  border: 1px solid #c49d72;
  padding: 10px;
  background: #17151fe6;
}
.edition-strip {
  border-block: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 12px;
  color: #aaa6b5;
  letter-spacing: 0.02em;
}
.edition-strip a {
  color: var(--purple);
}
.edition-strip strong {
  font-weight: 400;
  color: #bac9a5;
}
.section-heading {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading > div > .eyebrow {
  display: block;
  margin-bottom: 13px;
}
.section-heading > .eyebrow {
  color: #9791a6;
}
.start-section {
  padding: 49px 0;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.action {
  display: block;
  border: 1px solid #3b3449;
  background: #1b1925;
  padding: 24px 22px 20px;
  transition:
    border-color 0.2s,
    transform 0.2s;
  position: relative;
}
.action:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
}
.action-top {
  display: flex;
  justify-content: space-between;
  color: var(--purple);
  align-items: center;
  margin-bottom: 26px;
}
.action-top > span {
  font-size: 12px;
  color: #92869e;
}
.action h3 {
  display: flex;
  justify-content: space-between;
  font-size: 22px;
  align-items: center;
  color: var(--paper);
}
.action h3 > span {
  font-size: 16px;
  color: #a18ab8;
}
.action p {
  font-size: 12px;
  line-height: 1.8;
  margin: 12px 0 0;
  color: #b1aaba;
}
.action-cards {
  background: #19211f;
  border-color: #334437;
}
.action-cards .action-top {
  color: var(--green);
}
.action-builds {
  background: #24201f;
  border-color: #463a32;
}
.action-builds .action-top {
  color: var(--orange);
}
.action-characters {
  background: #1d1c26;
  border-color: #3f3c50;
}
.answers-section {
  padding: 29px 0 55px;
}
.answers-section h2 {
  font-size: 32px;
}
.text-link {
  font-size: 12px;
  color: var(--purple);
}
.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  padding: 26px 0;
}
.answer-grid article {
  padding: 0 28px;
  border-right: 1px solid var(--line);
}
.answer-grid article:first-child {
  padding-left: 0;
}
.answer-grid article:last-child {
  padding-right: 0;
  border: 0;
}
.answer-grid h3 {
  font-size: 23px;
  margin-top: 14px;
}
.answer-grid p {
  font-size: 13px;
  line-height: 1.9;
}
.answer-grid a {
  font-size: 12px;
  color: var(--green);
}
.source-line {
  font-size: 12px;
  margin: 13px 0 0;
}
.source-line a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wiki-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  background: #17161d;
  border: 1px solid #302c3b;
  margin: 0 0 55px;
}
.wiki-intro {
  padding: 35px;
  border-right: 1px solid var(--line);
  position: relative;
}
.wiki-intro h2 {
  font-size: 53px;
  line-height: 1.02;
  margin: 24px 0 18px;
}
.wiki-intro p {
  font-size: 13px;
}
.shelf-mark {
  position: absolute;
  right: 30px;
  bottom: 20px;
  font: 64px var(--serif);
  color: #625075;
}
.wiki-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 16px 28px;
  gap: 0 35px;
}
.wiki-links > a {
  display: flex;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.wiki-links > a:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.wiki-links svg {
  color: var(--purple);
  width: 24px;
}
.wiki-links > a > span:nth-child(2) {
  flex: 1;
}
.wiki-links strong {
  display: block;
  font: 22px var(--serif);
  margin-bottom: 7px;
}
.wiki-links small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  display: block;
}
.wiki-links > a > span:last-child {
  color: var(--purple);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature {
  display: grid;
  grid-template-columns: 44% 1fr;
  border: 1px solid var(--line);
  background: #17171f;
  overflow: hidden;
}
.feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}
.feature > div {
  padding: 25px;
}
.feature h3 {
  font-size: 25px;
  margin: 13px 0;
}
.feature p {
  font-size: 12px;
}
.feature:hover {
  border-color: var(--purple);
}
.field-notes {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  margin: 55px 0;
  padding: 35px 0;
  border-block: 1px solid var(--line);
}
.field-notes h2 {
  font-size: 39px;
  margin-top: 18px;
}
.field-notes p {
  font-size: 13px;
}
.faq {
  padding-bottom: 65px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: "+";
  font: 22px var(--serif);
  color: var(--purple);
}
.faq details[open] summary:after {
  content: "−";
}
.faq details p {
  font-size: 14px;
  max-width: 780px;
  padding: 18px 0 0;
  margin: 0;
}
.faq details a {
  color: var(--purple);
  text-decoration: underline;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 35px 48px 25px;
  background: #13131b;
}
.footer-top,
.footer-bottom {
  max-width: 1240px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 35px;
}
.footer-top nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 12px;
}
.footer-top .brand {
  font-size: 16px;
}
.footer-bottom {
  border-top: 1px solid #292832;
  padding-top: 24px;
  margin-top: 28px;
  font-size: 12px;
  color: #95909f;
  line-height: 1.9;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom > span {
  text-align: right;
}
.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  color: var(--muted);
  padding-top: 32px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--purple);
}
.page-heading {
  max-width: 940px;
  padding: 34px 0 40px;
}
.page-heading h1 {
  font-size: clamp(40px, 4.7vw, 64px);
  margin: 16px 0 19px;
}
.lead {
  font-size: 18px;
  max-width: 740px;
}
.verification {
  font-size: 12px;
  color: #a8a2b4;
  line-height: 1.9;
}
.divider {
  padding: 0 13px;
}
.note {
  background: #242019;
  border: 1px solid #51422c;
  border-left: 3px solid var(--orange);
  padding: 22px 26px;
  margin: 0 0 35px;
}
.note .eyebrow {
  color: var(--orange);
}
.note p {
  margin: 10px 0 0;
  max-width: 950px;
  font-size: 14px;
  color: #c4b8a8;
}
.note strong {
  color: #e9dac7;
}
.reading-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 70px;
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--header-height, 100px) + 24px);
  max-height: calc(100dvh - var(--header-height, 100px) - 48px);
  overflow-y: auto;
  border-left: 1px solid var(--line);
  padding: 10px 0 10px 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.toc .eyebrow {
  margin-bottom: 8px;
}
.toc a {
  font-size: 12px;
  color: #b9b2c3;
}
.toc a:hover {
  color: var(--purple);
}
.prose {
  max-width: 720px;
}
.prose section {
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 35px;
  scroll-margin-top: 30px;
}
.prose h2 {
  font-size: 32px;
  margin: 26px 0 20px;
}
.prose h3 {
  font-size: 23px;
  margin: 24px 0 14px;
}
.prose p,
.prose li {
  font-size: 15px;
  line-height: 1.85;
}
.prose a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose ul,
.prose ol {
  padding-left: 24px;
  color: var(--muted);
}
.prose li {
  padding-left: 5px;
  margin: 12px 0;
}
.prose li::marker {
  color: var(--purple);
}
.quick-answer {
  border-left: 2px solid var(--green);
  padding: 10px 0 10px 22px;
  font-size: 18px !important;
  color: #d0d4c6;
  max-width: 950px;
}
.sources {
  padding: 25px 0;
  margin-top: 38px;
  border-top: 1px solid var(--line);
  max-width: 950px;
}
.sources h2 {
  font: 17px var(--body);
  letter-spacing: 0;
}
.sources p,
.sources li {
  font-size: 12px;
  line-height: 1.9;
}
.sources ul {
  padding-left: 18px;
}
.sources a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.related {
  padding: 28px 0 60px;
}
.related h2 {
  font-size: 26px;
}
.related-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.related-links a {
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
.related-links svg {
  width: 20px;
  color: var(--purple);
}
.related-links a > span:last-child {
  margin-left: auto;
  color: var(--purple);
}
.card-tools {
  display: flex;
  gap: 20px;
  align-items: end;
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-top: 25px;
}
.search-field {
  flex: 1;
  min-width: 0;
}
.card-tools label {
  display: block;
  font-size: 12px;
  margin-bottom: 9px;
}
.search-input {
  display: flex;
  align-items: center;
  border: 1px solid #5c5768;
  background: var(--bg);
  padding-left: 15px;
}
.search-input svg {
  width: 20px;
  color: var(--purple);
}
input[type="search"] {
  width: 100%;
  background: transparent;
  border: 0;
  min-height: 49px;
  padding: 12px;
  color: var(--paper);
  font-size: 14px;
}
input::placeholder {
  color: #aaa3b6;
}
.search-input:focus-within {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
input[type="search"]:focus-visible {
  outline: none;
}
select {
  appearance: auto;
  border: 1px solid #5c5768;
  background: var(--bg);
  color: var(--paper);
  height: 51px;
  min-width: 160px;
  padding: 10px 15px;
  font-size: 13px;
  color-scheme: dark;
}
.card-tools button {
  min-height: 51px;
}
.results-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 24px 0;
  font-size: 12px;
}
.results-line p {
  margin: 0;
  color: var(--paper);
}
.results-line > span {
  color: var(--muted);
  font-size: 12px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.reference-card {
  border: 1px solid #4d405e;
  background: #1c1925;
  padding: 23px;
  position: relative;
  min-width: 0;
}
.reference-card:has(.explore) {
  border-color: #3e5143;
  background: #19211f;
}
.card-top,
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border: 1px solid #695781;
  color: #d2b7f3;
}
.tag.explore {
  border-color: #526945;
  color: #bad59c;
}
.card-symbol {
  margin: 28px auto 18px;
  width: 75px;
  height: 75px;
  display: grid;
  place-items: center;
  border: 1px solid #4e415e;
  transform: rotate(-5deg);
  color: var(--purple);
  background: #22202c;
}
.card-symbol svg {
  width: 35px;
  height: 35px;
}
.reference-card:has(.explore) .card-symbol {
  color: var(--green);
  background: #202921;
  border-color: #435c44;
}
.reference-card h2 {
  text-align: center;
  font-size: 31px;
}
.card-status {
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.card-foot {
  border-top: 1px solid #43374e;
  padding-top: 15px;
  font-size: 12px;
  align-items: end;
}
.card-foot > span {
  color: var(--muted);
}
.card-foot a {
  color: var(--purple);
}
.empty-state {
  text-align: center;
  border: 1px dashed var(--line);
  padding: 55px 20px;
  margin-bottom: 45px;
}
.empty-state p {
  max-width: 550px;
  margin: 20px auto;
}
.build-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.build-panel {
  border: 1px solid #4c3d5e;
  padding: 32px;
  background: #1a1722;
}
.build-panel.green {
  border-color: #3c5140;
  background: #18201b;
}
.build-panel h2 {
  margin: 20px 0;
}
.build-panel p,
.build-panel dd {
  font-size: 14px;
}
.build-panel dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-top: 17px;
}
.build-panel.green dt {
  color: var(--green);
}
.build-panel dd {
  margin: 6px 0 0;
  color: var(--muted);
}
.build-panel a {
  font-size: 13px;
  color: var(--purple);
  display: block;
  margin-top: 22px;
}
.roster {
  border-top: 1px solid var(--line);
}
.character-row {
  display: grid;
  grid-template-columns: 55px 1fr 1fr 1fr;
  gap: 25px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.roster-number {
  font: 30px var(--serif);
  color: #8f72b0;
}
.character-row h2 {
  font-size: 28px;
  margin: 12px 0 0;
}
.character-row h3 {
  font: 12px var(--body);
  color: #dbd3e7;
}
.character-row p {
  font-size: 12px;
  margin: 0;
}
.side-illustration img {
  aspect-ratio: 1;
  object-fit: cover;
  filter: brightness(0.8);
}
.side-illustration p {
  font-size: 12px;
  margin-top: 13px;
}
.pathway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin: 35px 0;
}
.pathway {
  background: var(--surface);
  border: 1px solid var(--line);
}
.pathway > img {
  height: 245px;
  width: 100%;
  object-fit: cover;
}
.pathway > div:last-child {
  padding: 26px;
}
.pathway h2 {
  margin-top: 17px;
}
.pathway p {
  font-size: 14px;
}
.pathway .muted {
  font-size: 12px;
}
.pathway-diagram {
  height: 245px;
  background: #1a2020;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--green);
  border-bottom: 1px solid #344339;
}
.pathway-diagram svg {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}
.pathway-diagram span {
  font-size: 12px;
  letter-spacing: 0.2em;
}
.pathway-diagram i {
  width: 90px;
  border-top: 1px solid #597150;
  margin: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
main:focus {
  outline: none;
}
::selection {
  background: #73588d;
  color: #fff;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 540px;
  }
  .hero-art > img {
    height: 400px;
  }
}
@media (max-width: 1180px) {
  .header-inner {
    gap: 20px;
    padding: 20px 28px;
  }
  .header-inner nav {
    gap: 17px;
  }
  .header-inner .steam-link {
    display: none;
  }
  .container {
    width: calc(100% - 64px);
  }
  .hero h1 {
    font-size: 64px;
  }
  .hero-art > img {
    height: 350px;
  }
  .hero-actions {
    gap: 10px;
  }
  .button {
    padding: 12px 16px;
    gap: 12px;
  }
  .hero .eyebrow {
    font-size: 12px;
  }
  .action {
    padding: 20px 17px;
  }
  .action h3 {
    font-size: 20px;
  }
  .feature {
    grid-template-columns: 40% 1fr;
  }
  .feature > div {
    padding: 22px;
  }
  .reading-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 45px;
  }
  .wiki-links {
    gap: 0 20px;
    padding: 15px 22px;
  }
}
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .header-inner nav {
    order: 3;
    flex-basis: 100%;
    justify-content: space-between;
  }
  .header-inner nav a {
    font-size: 12px;
  }
  .header-inner .steam-link {
    display: block;
    margin-left: auto;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 460px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-art > img {
    height: 335px;
  }
  .hero-topics {
    flex-wrap: wrap;
    gap: 7px;
    font-size: 12px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .hero-actions {
    margin: 22px 0;
  }
  .hero-art figcaption span:last-child {
    display: none;
  }
  .hero-art {
    margin-right: 0;
  }
  .edition-strip {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .action-top {
    margin-bottom: 18px;
  }
  .action h3 {
    font-size: 25px;
  }
  .wiki-section {
    grid-template-columns: 1fr 1.6fr;
  }
  .wiki-links {
    grid-template-columns: 1fr;
  }
  .wiki-links > a {
    padding: 17px 0;
  }
  .wiki-links > a:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .wiki-intro h2 {
    font-size: 48px;
  }
  .feature {
    display: block;
  }
  .feature img {
    height: 185px;
  }
  .field-notes {
    gap: 35px;
  }
  .footer-top {
    display: block;
  }
  .footer-top nav {
    margin-top: 25px;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-tools {
    gap: 14px;
  }
  .card-tools button {
    font-size: 12px;
  }
  .related-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .character-row {
    grid-template-columns: 35px 1fr 1fr;
  }
  .character-row > div:last-child {
    grid-column: 2/4;
  }
  .reading-layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 25px;
  }
  .prose h2 {
    font-size: 29px;
  }
}
@media (max-width: 640px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    padding: 16px 20px;
    gap: 16px;
  }
  .brand {
    font-size: 16px;
  }
  .brand img {
    width: 29px;
    height: auto;
  }
  .brand small {
    font-size: 12px;
  }
  .header-inner .steam-link {
    display: none;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    min-height: 44px;
    font-size: 12px;
  }
  .header-inner nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 22px;
  }
  .header-inner nav a {
    padding: 10px 0;
  }
  .js .header-inner nav {
    display: none;
  }
  .js .header-inner nav.is-open {
    display: flex;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 36px 0 23px;
    min-height: 0;
  }
  .hero .eyebrow {
    font-size: 12px;
    letter-spacing: 0.1em;
  }
  .hero h1 {
    font-size: 62px;
    margin: 23px 0;
    letter-spacing: -0.055em;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-actions {
    gap: 10px;
  }
  .button {
    font-size: 12px;
    padding: 13px 15px;
    gap: 12px;
  }
  .hero-topics {
    margin-top: 24px;
    font-size: 12px;
    gap: 9px;
  }
  .hero-art {
    margin: 26px 0 0;
  }
  .hero-art > img {
    height: 225px;
    clip-path: polygon(0 4%, 98% 0, 100% 97%, 2% 100%);
    object-position: center;
  }
  .hero-art figcaption {
    font-size: 12px;
    margin-top: 13px;
  }
  .hero-art figcaption span:last-child {
    display: block;
  }
  .art-stamp {
    font-size: 12px;
    top: 6px;
    right: 10px;
  }
  .edition-strip {
    font-size: 12px;
    gap: 10px;
    padding: 14px 0;
  }
  .edition-strip > span {
    flex-basis: 100%;
  }
  .edition-strip a {
    margin-top: 2px;
  }
  .start-section {
    padding: 35px 0;
  }
  .section-heading {
    align-items: start;
    margin-bottom: 20px;
    gap: 15px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .section-heading > .eyebrow {
    font-size: 12px;
    max-width: 90px;
    text-align: right;
  }
  .quick-grid {
    gap: 11px;
  }
  .action {
    padding: 17px 14px;
  }
  .action-top {
    margin-bottom: 22px;
  }
  .action-top svg {
    width: 24px;
  }
  .action h3 {
    font-size: 20px;
    gap: 8px;
    line-height: 1.25;
  }
  .action h3 > span {
    font-size: 13px;
  }
  .action p {
    font-size: 12px;
  }
  .answers-section {
    padding: 15px 0 35px;
  }
  .answers-section .section-heading {
    display: block;
  }
  .answers-section .section-heading .text-link {
    display: inline-block;
    margin-top: 16px;
  }
  .answers-section .eyebrow {
    font-size: 12px;
  }
  .answer-grid {
    grid-template-columns: 1fr;
    padding: 0;
    border-bottom: 0;
  }
  .answer-grid article,
  .answer-grid article:first-child,
  .answer-grid article:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }
  .answer-grid h3 {
    font-size: 25px;
  }
  .answer-grid p {
    font-size: 14px;
  }
  .answer-grid a {
    font-size: 12px;
  }
  .source-line {
    font-size: 12px;
  }
  .wiki-section {
    display: block;
    margin-bottom: 35px;
  }
  .wiki-intro {
    padding: 25px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .wiki-intro h2 {
    font-size: 41px;
    margin: 17px 0;
  }
  .wiki-intro h2 br {
    display: none;
  }
  .wiki-intro p {
    margin: 0;
  }
  .wiki-intro .eyebrow {
    font-size: 12px;
  }
  .shelf-mark {
    font-size: 75px;
    right: 35px;
    bottom: 24px;
  }
  .wiki-links {
    padding: 4px 24px;
  }
  .wiki-links > a {
    padding: 20px 0;
  }
  .wiki-links strong {
    font-size: 23px;
  }
  .wiki-links small {
    font-size: 12px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .feature img {
    height: 185px;
  }
  .feature h3 {
    font-size: 27px;
  }
  .feature p {
    font-size: 13px;
  }
  .field-notes {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 35px 0;
    padding: 25px 0;
  }
  .field-notes h2 {
    font-size: 34px;
  }
  .field-notes h2 br {
    display: none;
  }
  .field-notes p {
    font-size: 14px;
  }
  .faq {
    padding-bottom: 40px;
  }
  .faq summary {
    font-size: 14px;
    line-height: 1.6;
  }
  .site-footer {
    padding: 30px 20px 25px;
  }
  .footer-top nav {
    gap: 9px 22px;
    font-size: 12px;
  }
  .footer-top nav a {
    padding: 5px 0;
  }
  .footer-bottom {
    display: block;
    font-size: 12px;
  }
  .footer-bottom > span {
    display: block;
    text-align: left;
    margin-top: 20px;
  }
  .breadcrumb {
    padding-top: 23px;
    font-size: 12px;
    gap: 9px;
  }
  .page-heading {
    padding: 28px 0;
  }
  .page-heading h1 {
    font-size: 42px;
  }
  .lead {
    font-size: 16px;
  }
  .verification {
    font-size: 12px;
  }
  .verification .divider {
    padding: 0 5px;
  }
  .note {
    padding: 19px;
    margin-bottom: 25px;
  }
  .note p {
    font-size: 13px;
  }
  .reading-layout {
    display: block;
  }
  .toc {
    position: static;
    display: flex;
    flex-flow: row wrap;
    gap: 10px 18px;
    border: 1px solid var(--line);
    padding: 18px;
    margin-bottom: 28px;
  }
  .toc .eyebrow {
    flex-basis: 100%;
    margin-bottom: 0;
  }
  .toc a {
    font-size: 12px;
    min-height: 24px;
  }
  .prose p,
  .prose li {
    font-size: 15px;
  }
  .prose h2 {
    font-size: 29px;
  }
  .prose h3 {
    font-size: 22px;
  }
  .quick-answer {
    font-size: 17px !important;
  }
  .sources {
    margin-top: 25px;
  }
  .sources a {
    overflow-wrap: anywhere;
  }
  .related {
    padding-bottom: 40px;
  }
  .related .section-heading h2 {
    font-size: 25px;
  }
  .related-links {
    gap: 10px;
  }
  .related-links a {
    padding: 13px 10px;
    font-size: 12px;
    gap: 8px;
  }
  .related-links svg {
    width: 16px;
  }
  .card-tools {
    flex-wrap: wrap;
    padding: 18px;
    gap: 15px;
    align-items: end;
  }
  .search-field {
    flex-basis: 100%;
  }
  .filter-field {
    flex: 1;
  }
  .filter-field select {
    width: 100%;
    min-width: 120px;
  }
  .card-tools button {
    padding: 12px 11px;
  }
  .results-line {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .reference-card {
    padding: 24px;
  }
  .reference-card h2 {
    font-size: 34px;
  }
  .card-symbol {
    margin-top: 23px;
  }
  .build-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .build-panel {
    padding: 25px;
  }
  .build-panel h2 {
    font-size: 31px;
  }
  .character-row {
    grid-template-columns: 28px 1fr;
    gap: 14px;
    align-items: start;
    padding: 25px 0;
  }
  .character-row > div:nth-child(3),
  .character-row > div:last-child {
    grid-column: 2;
  }
  .character-row h2 {
    font-size: 30px;
  }
  .character-row p {
    font-size: 13px;
  }
  .side-illustration {
    max-width: 100%;
    margin-bottom: 25px;
  }
  .side-illustration img {
    aspect-ratio: 16/9;
  }
  .pathway-grid {
    grid-template-columns: 1fr;
  }
  .pathway > img {
    height: 200px;
  }
  .pathway-diagram {
    height: 200px;
  }
  .pathway > div:last-child {
    padding: 23px;
  }
  .pathway h2 {
    font-size: 31px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

.mobile-quick {
  display: none;
}
@media (max-width: 640px) {
  .mobile-quick {
    display: flex;
    gap: 30px;
    margin-top: -6px;
  }
  .mobile-quick a {
    font-size: 12px;
    color: var(--purple);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .hero-topics {
    display: none;
  }
  .hero-art {
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .header-inner > .brand {
    min-height: 44px;
  }
}
/* Player tools: shared navigation, live search and homepage database. */
h3,
.wiki-links strong,
.reference-card h2,
.character-row h2,
.pathway h2 {
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.header-inner {
  max-width: 1400px;
  padding: 20px 40px;
  gap: 24px;
  min-height: 90px;
}
.header-inner .brand {
  font-size: 21px;
}
.header-inner .brand small {
  font-size: 12px;
}
.header-inner nav {
  gap: 18px;
}
.header-inner nav a {
  font-size: 14px;
  padding: 12px 0;
}
.header-inner .steam-link {
  font-size: 13px;
  padding: 11px 16px;
}
.header-search {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  color: var(--paper);
  border: 1px solid #494252;
  background: #201a2b;
}
.header-search:hover {
  background: #342740;
}
.header-search svg {
  width: 20px;
  height: 20px;
}
.home .hero {
  padding: 44px 0 35px;
  min-height: 570px;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.home .hero-copy {
  min-width: 0;
}
.home .hero h1 {
  font-size: clamp(54px, 5.3vw, 76px);
  margin: 21px 0 23px;
  line-height: 1.04;
}
.home .hero-copy > p {
  font-size: 17px;
  color: #c5becc;
  line-height: 1.7;
  margin-bottom: 24px;
}
.home .hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
}
.home .hero-art {
  margin: 0 -20px 0 0;
  transform: rotate(-1.3deg);
}
.home .hero-art > img {
  height: 475px;
  filter: brightness(0.95) saturate(0.95);
  clip-path: polygon(4% 0, 98% 3%, 100% 96%, 0 100%);
  object-position: 56% center;
}
.home .hero-art:before {
  inset: -12px 6px 26px;
  transform: rotate(3deg);
  border-color: #605173;
  background: repeating-radial-gradient(
    ellipse at 80% 30%,
    transparent 0 20px,
    #7c659814 21px 22px,
    transparent 23px 35px
  );
}
.home .hero-art figcaption {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #bfb4cb;
  transform: rotate(1.3deg);
}
.home .art-stamp {
  background: #17151feb;
  border-color: #a48c67;
  font-size: 12px;
  right: 13px;
  top: 7px;
}
.hero-version {
  font-size: 12px;
  color: #b9b0c4;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-version .status-dot {
  margin: 0;
}
.hero-version > span:not(.status-dot) {
  color: #77667f;
}
.home .hero-actions {
  margin: 21px 0 0;
  gap: 12px;
}
.home .hero-actions .button {
  font-size: 13px;
  min-height: 47px;
  padding: 12px 18px;
}
.wiki-search {
  position: relative;
  scroll-margin-top: 25px;
  max-width: 600px;
  z-index: 20;
}
.wiki-search > label {
  display: block;
  font-size: 12px;
  color: #d0c5df;
  font-weight: 600;
  margin-bottom: 8px;
}
.wiki-search-bar {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 7px 7px 7px 15px;
  border: 1px solid #b78ae0;
  background: #252031;
  min-height: 60px;
  box-shadow: 0 4px 0 #0a080f;
}
.wiki-search-bar > svg {
  width: 22px;
  height: 22px;
  color: #c9a5f6;
}
.wiki-search-bar input[type="search"] {
  font-size: 15px;
  padding: 8px 0;
  min-height: 42px;
  min-width: 0;
}
.wiki-search-bar:focus-within {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.wiki-search-bar button {
  border: 0;
  background: var(--purple);
  color: #20102e;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
  white-space: nowrap;
}
.wiki-search-bar button:hover {
  background: #c9a3f7;
}
.wiki-search .search-hint {
  font-size: 12px;
  margin: 10px 0 0;
  color: #a9a1b7;
}
.search-hint a {
  color: #d7bfef;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 2px;
}
.wiki-search-output {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 10px;
  background: #211c2c;
  border: 1px solid #89739f;
  box-shadow: 0 20px 40px #000a;
  padding: 16px;
  max-height: 390px;
  overflow: auto;
  z-index: 40;
}
.search-results-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 9px;
}
.search-results-heading p {
  font-size: 12px;
  color: #cbbddb;
  margin: 0;
}
.search-results-heading button {
  border: 0;
  background: transparent;
  color: var(--paper);
  font-size: 12px;
  min-height: 32px;
}
#wiki-results {
  list-style: none;
  padding: 0;
  margin: 0;
}
#wiki-results a {
  display: block;
  padding: 12px 8px;
  border-top: 1px solid #44344f;
}
#wiki-results a:hover,
#wiki-results a:focus-visible {
  background: #34273f;
}
.search-result-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.search-result-category {
  font-size: 12px;
  color: #c3a5df;
  white-space: nowrap;
}
#wiki-results small {
  display: block;
  font-size: 12px;
  color: #bdb2ca;
  line-height: 1.65;
  margin-top: 4px;
}
#wiki-empty,
#wiki-error {
  font-size: 13px;
  color: #c5b6d0;
  margin: 14px 0;
}
.wiki-search noscript p {
  font-size: 12px;
}
.section-meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #b1a6bf;
  text-align: right;
}
.home .start-section {
  padding: 31px 0 36px;
  border-top: 1px solid #37303f;
}
.home .section-heading h2 {
  font-size: 34px;
}
.home .section-heading .eyebrow {
  font-size: 12px;
  margin-bottom: 7px;
}
.home .quick-grid {
  gap: 17px;
}
.home .action {
  padding: 0;
  border-color: #55405f;
  background: #211b2c;
  overflow: hidden;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.home .action:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
}
.action-image {
  position: relative;
  height: 105px;
  overflow: hidden;
  background: #1d2020;
  border-bottom: 1px solid #514156;
}
.action-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: filter 0.2s;
}
.action:hover .action-image img {
  filter: brightness(0.95);
}
.action-guide .action-image img {
  object-position: 50% 35%;
}
.action-cards .action-image img {
  object-position: 55% 78%;
}
.action-builds .action-image img {
  object-position: 50% 38%;
}
.action-image-label {
  position: absolute;
  left: 13px;
  bottom: 10px;
  background: #141019dc;
  border: 1px solid #8b7795;
  color: #e9dccf;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 3px 7px;
}
.action-body {
  padding: 20px;
}
.home .action h3 {
  font: 600 19px/1.3 var(--body);
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}
.home .action h3 > span {
  font-size: 18px;
}
.home .action p {
  font-size: 13px;
  line-height: 1.65;
  color: #c6bbcc;
  margin: 0;
}
.home .action-cards {
  background: #1c2920;
  border-color: #4c6245;
}
.home .action-builds {
  background: #2c211c;
  border-color: #775039;
}
.home .action-characters {
  background: #251d32;
  border-color: #644b79;
}
.character-tokens {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  padding-bottom: 22px;
  background: #31223d;
}
.character-tokens > span {
  font: 700 17px var(--serif);
  display: grid;
  place-items: center;
  width: 34px;
  height: 45px;
  background: #a489b0;
  color: #241a2d;
  border: 2px solid #c6b0cc;
  transform: rotate(-6deg);
  border-radius: 14px 14px 3px 3px;
}
.character-tokens > span:nth-child(2n) {
  transform: rotate(6deg);
  background: #9dba81;
  color: #182017;
  border-color: #c2d4a8;
}
.character-tokens > small {
  position: absolute;
  bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.13em;
  color: #d5c2df;
}
.card-preview {
  background: #18251c;
  border: 1px solid #455a3e;
  padding: 31px;
  margin: 0 0 40px;
  position: relative;
}
.card-preview > .section-heading {
  align-items: center;
}
.card-preview .eyebrow {
  color: #c3d99e;
}
.card-preview .section-heading p {
  font-size: 14px;
  margin: 10px 0 0;
  color: #c0c8b7;
}
.card-preview .button.secondary {
  border-color: #778c60;
  background: #1c2d20;
  font-size: 12px;
}
.preview-scope {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  background: #222d21;
  border-left: 3px solid #b2bc76;
}
.scope-marker {
  color: #d5dcad;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.07em;
  font-weight: 700;
  max-width: 110px;
}
.preview-scope p {
  font-size: 12px;
  line-height: 1.6;
  color: #c5c9b8;
  margin: 0;
}
.card-preview .card-tools {
  border: 0;
  background: transparent;
  padding: 0;
  gap: 16px;
  margin: 21px 0 0;
}
.card-preview .card-tools label {
  font-size: 12px;
}
.card-preview .search-input,
.card-preview select {
  background: #101a13;
  border-color: #738468;
}
.card-preview .search-input svg {
  color: #bfd09e;
}
.card-preview .filter-field {
  display: none;
}
.card-preview .search-field {
  flex: 1;
}
.card-preview .card-tools button {
  min-height: 51px;
}
.card-preview .results-line {
  padding: 17px 0;
  font-size: 12px;
}
.card-preview .results-line > span {
  color: #b9c0ac;
  font-size: 12px;
}
.deck-shortcuts {
  display: flex;
  gap: 8px;
  margin: 16px 0 0;
}
.deck-shortcuts button {
  border: 1px solid #596b4c;
  background: #152219;
  color: #c6d1b6;
  font-size: 12px;
  padding: 8px 20px;
  min-height: 39px;
}
.deck-shortcuts button[aria-pressed="true"] {
  background: #b5c48c;
  color: #1a2617;
  border-color: #b5c48c;
  font-weight: 700;
}
.deck-shortcuts button:hover {
  border-color: #d2dda8;
}
.card-preview .card-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 0;
}
.card-preview .reference-card {
  padding: 0;
  border: 1px solid #4d6450;
  background: #1d2c21;
  min-width: 0;
}
.preview-card-link {
  display: block;
  height: 100%;
}
.preview-card-link:hover {
  color: var(--paper);
  background: #2c3d2b;
}
.preview-card-body {
  padding: 17px;
}
.preview-card-body h3 {
  font-size: 19px;
  margin: 17px 0 9px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.preview-card-body h3 > span {
  color: var(--green);
  font-size: 16px;
}
.preview-card-body p {
  font-size: 12px;
  color: #c3c8b7;
  line-height: 1.6;
  margin: 0;
}
.preview-card-body .small-label {
  font-size: 12px;
  color: #c3c4b6;
}
.preview-card-body .tag {
  font-size: 12px;
}
.card-preview .reference-card:has(.combat) {
  background: #242130;
  border-color: #645074;
}
.card-crop {
  height: 157px;
  position: relative;
  background-image: url("/assets/img/combat.webp");
  background-size: 320% auto;
  background-position: 63% 100%;
  background-repeat: no-repeat;
  background-color: #292536;
  overflow: hidden;
  border-bottom: 1px solid #65704d;
}
.card-crop:after {
  content: "";
  position: absolute;
  inset: 0;
  border: 8px solid #0d131320;
  pointer-events: none;
}
.card-crop > span {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 5px;
  background: #141118e8;
  color: #e0d5cf;
  z-index: 1;
}
.crop-stab {
  background-position: 38% 100%;
}
.crop-close-friend {
  background-position: 17% 100%;
}
.crop-camp-fire,
.crop-rat-jerky,
.crop-key,
.crop-bash {
  background-image: url("/assets/img/exploration.webp");
  background-size: 360% auto;
}
.crop-camp-fire {
  background-position: 26% 100%;
}
.crop-rat-jerky {
  background-position: 43% 100%;
}
.crop-key {
  background-position: 64% 100%;
}
.crop-bash {
  background-position: 83% 100%;
}
.preview-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid #3e523b;
  padding-top: 19px;
  margin-top: 25px;
  font-size: 12px;
  color: #bfc7b0;
}
.preview-bottom .text-link {
  color: #c5daa5;
  font-size: 12px;
}
.card-preview .empty-state {
  padding: 32px 20px;
  margin: 12px 0;
  border-color: #829167;
}
.card-preview .empty-state p {
  font-size: 13px;
}
.card-preview noscript p {
  font-size: 12px;
  margin-top: 17px;
}
.card-preview noscript a {
  color: var(--green);
  text-decoration: underline;
}
.home .answers-section {
  padding: 4px 0 34px;
}
.home .answer-grid {
  background: var(--bg-section);
  padding: 25px;
  border: 1px solid #39313f;
}
.home .answer-grid h3 {
  font-size: 19px;
}
.home .answer-grid p {
  font-size: 14px;
  color: #c0b8c7;
}
.home .answer-grid a {
  font-size: 12px;
  color: #c7d4ad;
}
.home .answer-grid article:first-child {
  padding-left: 0;
}
.home .source-line {
  font-size: 12px;
}
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  padding: 34px;
  background: #2a201b;
  border: 1px solid #624732;
  margin: 0 0 40px;
}
.spotlight-copy .eyebrow {
  color: #e0ae7a;
}
.spotlight-copy h2 {
  font-size: 35px;
  margin: 18px 0;
}
.spotlight-copy p {
  font-size: 15px;
  color: #c8b8a9;
  max-width: 470px;
}
.warm {
  background: #d99a62;
  color: #24170d;
  font-size: 13px;
}
.warm:hover {
  background: #ebaf79;
  color: #24170d;
}
.spotlight-note {
  display: block;
  font-size: 12px;
  color: #c1a88f;
  margin-top: 14px;
}
.spotlight-roster {
  border-left: 1px solid #715039;
  padding-left: 35px;
}
.spotlight-roster .section-heading {
  margin-bottom: 15px;
}
.spotlight-roster h3 {
  font: 600 18px var(--body);
  margin: 0;
}
.spotlight-roster .tag {
  font-size: 12px;
}
.spotlight-names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.spotlight-names a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  padding: 10px 9px;
  background: #372b24;
  border: 1px solid #70523f;
}
.spotlight-names a:last-child {
  grid-column: 1/-1;
}
.spotlight-names a > span:last-child {
  margin-left: auto;
  color: #d7ae84;
}
.roster-token {
  display: grid;
  place-items: center;
  width: 24px;
  height: 29px;
  background: #b59674;
  color: #25180e;
  font: 600 14px var(--serif);
  border-radius: 10px 10px 1px 1px;
}
.spotlight-roster p {
  font-size: 12px;
  color: #c8b8a9;
  line-height: 1.7;
  margin: 15px 0 8px;
}
.spotlight-roster .text-link {
  color: #e7ba8e;
}
.home .wiki-section {
  background: #211a2c;
  border-color: #514062;
  margin-bottom: 40px;
}
.home .wiki-intro {
  padding: 31px;
  border-color: #514062;
}
.home .wiki-intro h2 {
  font-size: 45px;
}
.home .wiki-links > a {
  border-color: #493857;
}
.home .wiki-links strong {
  font-size: 20px;
}
.home .wiki-links small {
  font-size: 12px;
  color: #c2b6cb;
}
.home .wiki-links svg {
  color: #cea4f3;
}
.home .wiki-intro p {
  font-size: 14px;
  color: #c2b6cb;
}
.home .shelf-mark {
  color: #9870b8;
}
.home .feature h3 {
  font-size: 21px;
}
.home .feature p {
  font-size: 14px;
}
.home .feature .eyebrow {
  font-size: 12px;
  line-height: 1.8;
}
.home .feature {
  background: #1c1923;
  border-color: #4e4359;
}
.home .feature img {
  filter: brightness(0.95);
}
.coverage {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  margin: 35px 0;
  padding: 24px 28px;
  border: 1px solid #3a4138;
  background: #171d18;
  align-items: center;
}
.coverage h2 {
  font: 600 24px var(--body);
  margin: 12px 0;
}
.coverage p {
  font-size: 12px;
  margin-bottom: 8px;
}
.coverage > .eyebrow,
.coverage .text-link {
  color: #c3cfaa;
}
.coverage ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.coverage li {
  display: flex;
  align-items: start;
  gap: 11px;
  font-size: 13px;
  color: #c7cabd;
  margin: 9px 0;
  line-height: 1.6;
}
.coverage-check {
  color: #b9d291;
}
.coverage-pending {
  color: #e0af70;
}
.home .faq summary {
  font-size: 15px;
  min-height: 30px;
}
.home .faq details {
  padding: 19px 0;
}
.home .faq details p {
  font-size: 15px;
}
.home .faq .section-meta {
  font-size: 12px;
}
.prose p,
.prose li {
  color: #c0b9c7;
}
.prose h3 {
  font-size: 21px;
}
.reference-card h2 {
  font-size: 27px;
}
.related-links a {
  font-size: 13px;
}
.toc a {
  font-size: 13px;
}
.footer-top nav {
  font-size: 12px;
}
.footer-bottom {
  font-size: 12px;
}
.footer-top .brand {
  font-size: 18px;
}
:root:not(.js) .deck-shortcuts {
  display: none;
}
:root:not(.js) .card-preview .filter-field {
  display: block;
}
@media (max-width: 1180px) {
  .header-inner {
    padding: 18px 28px;
    gap: 18px;
  }
  .header-inner nav {
    gap: 22px;
  }
  .header-inner .brand {
    font-size: 18px;
  }
  .header-inner .brand small {
    font-size: 12px;
  }
  .header-inner .steam-link {
    display: none;
  }
  .home .hero h1 {
    font-size: 62px;
  }
  .home .hero-art > img {
    height: 445px;
  }
  .home .hero .eyebrow {
    font-size: 12px;
  }
  .home .hero {
    gap: 24px;
  }
  .home .action h3 {
    font-size: 17px;
  }
  .action-body {
    padding: 17px;
  }
  .card-preview {
    padding: 26px;
  }
  .card-preview .card-grid {
    gap: 12px;
  }
  .preview-card-body {
    padding: 14px;
  }
  .preview-card-body h3 {
    font-size: 18px;
  }
  .spotlight {
    gap: 30px;
    padding: 29px;
  }
  .spotlight-roster {
    padding-left: 26px;
  }
  .spotlight-names {
    grid-template-columns: 1fr;
  }
  .spotlight-names a:last-child {
    grid-column: auto;
  }
  .home .hero-art {
    margin-right: 0;
  }
}
@media (max-width: 900px) {
  .header-inner nav {
    order: 0;
    flex-basis: auto;
    justify-content: center;
    gap: 16px;
  }
  .header-inner .steam-link {
    display: none;
  }
  .header-inner {
    flex-wrap: nowrap;
    gap: 14px;
  }
  .header-inner .brand {
    font-size: 16px;
  }
  .header-inner .brand small {
    font-size: 12px;
  }
  .header-inner .brand img {
    width: 30px;
  }
  .header-search {
    width: 39px;
    min-width: 39px;
  }
  .header-inner nav a {
    font-size: 12px;
  }
  .home .hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
    padding-top: 35px;
    min-height: 555px;
  }
  .home .hero h1 {
    font-size: 52px;
  }
  .home .hero-copy > p {
    font-size: 15px;
  }
  .home .hero-art > img {
    height: 420px;
  }
  .home .hero-art figcaption span:last-child {
    display: none;
  }
  .hero-version {
    font-size: 12px;
    gap: 7px;
  }
  .home .hero .eyebrow {
    font-size: 12px;
  }
  .wiki-search-bar {
    gap: 8px;
    padding-left: 10px;
  }
  .wiki-search-bar input[type="search"] {
    font-size: 13px;
  }
  .wiki-search-bar button {
    font-size: 12px;
    padding: 11px;
  }
  .wiki-search-bar > svg {
    width: 18px;
  }
  .home .hero-actions .button {
    padding: 11px 13px;
    font-size: 12px;
  }
  .home .quick-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 11px;
  }
  .home .action h3 {
    font-size: 15px;
  }
  .home .action h3 > span {
    font-size: 14px;
  }
  .home .action p {
    font-size: 12px;
  }
  .action-body {
    padding: 13px;
  }
  .action-image {
    height: 90px;
  }
  .character-tokens {
    gap: 3px;
  }
  .character-tokens > span {
    width: 23px;
    height: 33px;
    font-size: 12px;
    border-width: 1px;
  }
  .character-tokens > small {
    font-size: 12px;
  }
  .action-image-label {
    font-size: 12px;
    left: 6px;
    padding: 3px;
  }
  .card-preview .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-crop {
    height: 170px;
  }
  .card-preview .section-heading .button {
    padding: 11px;
    font-size: 12px;
  }
  .home .section-heading h2 {
    font-size: 31px;
  }
  .home .answer-grid {
    padding: 22px;
  }
  .home .answer-grid article {
    padding: 0 17px;
  }
  .home .answer-grid h3 {
    font-size: 17px;
  }
  .home .answer-grid p {
    font-size: 13px;
  }
  .spotlight {
    gap: 24px;
  }
  .spotlight-copy h2 {
    font-size: 30px;
  }
  .spotlight-roster {
    padding-left: 23px;
  }
  .spotlight-roster .section-heading {
    display: block;
  }
  .spotlight-roster h3 {
    margin-bottom: 13px;
  }
  .spotlight-roster .tag {
    display: inline-block;
  }
  .spotlight-copy p {
    font-size: 14px;
  }
  .coverage {
    grid-template-columns: 1fr 1.4fr;
    gap: 25px;
    padding: 24px;
  }
  .coverage li {
    font-size: 12px;
  }
  .home .wiki-links {
    grid-template-columns: 1fr;
  }
  .home .wiki-links > a {
    padding: 17px 0;
  }
}
@media (max-width: 640px) {
  .header-inner {
    padding: 15px 20px;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 77px;
  }
  .header-inner > .brand {
    flex: 1;
    font-size: 16px;
    order: 0;
  }
  .header-search {
    order: 1;
    width: 40px;
    min-width: 40px;
    height: 44px;
  }
  .menu-toggle {
    order: 2;
    padding: 10px;
    min-width: 61px;
    font-size: 12px;
    margin: 0;
  }
  .header-inner nav {
    order: 3;
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px 23px;
  }
  .header-inner nav a {
    font-size: 14px;
  }
  .header-inner nav > a {
    padding: 9px 0;
  }
  .home .hero {
    display: flex;
    padding: 27px 0 26px;
    min-height: 0;
    gap: 0;
  }
  .home .hero h1 {
    font-size: 57px;
    margin: 18px 0 16px;
    line-height: 1.03;
  }
  .home .hero-copy > p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 21px;
  }
  .home .hero .eyebrow {
    font-size: 12px;
    letter-spacing: 0.09em;
  }
  .wiki-search {
    max-width: 100%;
    z-index: 5;
  }
  .wiki-search > label {
    font-size: 12px;
  }
  .wiki-search-bar {
    min-height: 58px;
    gap: 10px;
    padding: 6px 6px 6px 12px;
  }
  .wiki-search-bar input[type="search"] {
    font-size: 13px;
  }
  .wiki-search-bar button {
    min-height: 44px;
    font-size: 12px;
    padding: 10px;
  }
  .wiki-search-bar button > span {
    display: none;
  }
  .wiki-search-bar > svg {
    width: 18px;
  }
  .wiki-search .search-hint {
    font-size: 12px;
    margin-top: 11px;
  }
  .home .hero-actions {
    margin-top: 18px;
    gap: 10px;
  }
  .home .hero-actions .button {
    font-size: 12px;
    min-height: 46px;
    padding: 11px 15px;
  }
  .hero-version {
    font-size: 12px;
    gap: 8px;
    margin-top: 17px;
    flex-wrap: wrap;
  }
  .home .hero-art {
    transform: rotate(-1deg);
    margin: 27px 0 0;
  }
  .home .hero-art > img {
    height: 240px;
    object-position: 55% center;
  }
  .home .hero-art:before {
    inset: -4px 9px 25px;
    transform: rotate(2deg);
  }
  .home .hero-art figcaption {
    font-size: 12px;
    margin-top: 13px;
  }
  .home .hero-art figcaption span:last-child {
    display: block;
  }
  .home .art-stamp {
    font-size: 12px;
    padding: 8px;
    right: 12px;
    top: 8px;
  }
  .wiki-search-output {
    padding: 12px;
    max-height: 330px;
  }
  .search-result-title {
    font-size: 14px;
  }
  .search-result-category {
    font-size: 12px;
  }
  #wiki-results small {
    font-size: 12px;
  }
  .home .start-section {
    padding: 27px 0 30px;
  }
  .home .section-heading {
    gap: 12px;
  }
  .home .section-heading h2 {
    font-size: 31px;
  }
  .section-meta {
    font-size: 12px;
    max-width: 90px;
  }
  .home .section-heading .eyebrow {
    font-size: 12px;
  }
  .home .quick-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .home .action h3 {
    font-size: 16px;
    gap: 5px;
  }
  .home .action p {
    font-size: 12px;
    line-height: 1.65;
  }
  .action-body {
    padding: 16px 12px;
  }
  .action-image {
    height: 98px;
  }
  .action-image-label {
    font-size: 12px;
    left: 7px;
  }
  .character-tokens {
    gap: 4px;
  }
  .character-tokens > span {
    width: 23px;
    height: 35px;
    font-size: 12px;
  }
  .character-tokens > small {
    font-size: 12px;
  }
  .card-preview {
    padding: 20px 17px;
    margin-bottom: 30px;
  }
  .card-preview > .section-heading {
    align-items: start;
    display: block;
    margin-bottom: 18px;
  }
  .card-preview .section-heading > .button {
    margin-top: 18px;
    font-size: 12px;
    padding: 12px 16px;
    min-height: 44px;
  }
  .card-preview .section-heading p {
    font-size: 13px;
    line-height: 1.7;
  }
  .preview-scope {
    display: block;
    padding: 12px;
  }
  .scope-marker {
    font-size: 12px;
    max-width: none;
    display: block;
    margin-bottom: 7px;
  }
  .preview-scope p {
    font-size: 12px;
  }
  .card-preview .card-tools {
    flex-wrap: nowrap;
    gap: 9px;
    margin-top: 20px;
    align-items: end;
  }
  .card-preview .search-field {
    flex-basis: auto;
  }
  .card-preview .search-input {
    padding-left: 10px;
  }
  .card-preview input[type="search"] {
    font-size: 12px;
    padding: 10px 6px;
    min-height: 45px;
  }
  .card-preview .search-input svg {
    width: 16px;
  }
  .card-preview .card-tools button {
    min-height: 47px;
    padding: 10px;
    font-size: 12px;
  }
  .deck-shortcuts {
    gap: 8px;
    margin-top: 13px;
  }
  .deck-shortcuts button {
    padding: 8px 16px;
    min-height: 42px;
  }
  .card-preview .card-grid {
    gap: 11px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-preview .results-line {
    padding: 16px 0;
    gap: 5px;
  }
  .card-preview .results-line p {
    font-size: 12px;
  }
  .card-preview .results-line > span {
    font-size: 12px;
  }
  .card-crop {
    height: 108px;
    background-size: 370% auto;
  }
  .crop-stab {
    background-position: 39% 100%;
  }
  .crop-roast {
    background-position: 62% 100%;
  }
  .crop-camp-fire,
  .crop-rat-jerky,
  .crop-key,
  .crop-bash {
    background-size: 390% auto;
  }
  .card-crop > span {
    font-size: 12px;
    top: 5px;
    left: 5px;
    padding: 3px;
  }
  .preview-card-body {
    padding: 11px;
  }
  .preview-card-body h3 {
    font-size: 16px;
    margin: 13px 0 8px;
    line-height: 1.3;
    align-items: start;
  }
  .preview-card-body h3 > span {
    font-size: 13px;
  }
  .preview-card-body p {
    font-size: 12px;
    line-height: 1.6;
  }
  .preview-card-body .card-top {
    flex-wrap: wrap;
    gap: 5px;
  }
  .preview-card-body .tag {
    font-size: 12px;
    padding: 2px 6px;
  }
  .preview-card-body .small-label {
    font-size: 12px;
  }
  .preview-bottom {
    display: block;
    padding-top: 16px;
    margin-top: 20px;
    font-size: 12px;
  }
  .preview-bottom .text-link {
    display: block;
    margin-top: 14px;
    min-height: 26px;
  }
  .home .answers-section {
    padding: 0 0 30px;
  }
  .home .answer-grid {
    padding: 0 18px;
  }
  .home .answer-grid article,
  .home .answer-grid article:first-child,
  .home .answer-grid article:last-child {
    padding: 22px 0;
    border-color: #4a3e52;
  }
  .home .answer-grid article:last-child {
    border-bottom: 0;
  }
  .home .answer-grid h3 {
    font-size: 20px;
  }
  .home .answer-grid p {
    font-size: 14px;
  }
  .home .source-line {
    font-size: 12px;
    line-height: 1.8;
  }
  .spotlight {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 24px 20px;
    margin-bottom: 30px;
  }
  .spotlight-copy h2 {
    font-size: 32px;
    line-height: 1.2;
  }
  .spotlight-copy p {
    font-size: 14px;
  }
  .spotlight-copy .eyebrow {
    font-size: 12px;
  }
  .spotlight-roster {
    border-left: 0;
    border-top: 1px solid #715039;
    padding: 23px 0 0;
  }
  .spotlight-roster .section-heading {
    display: flex;
    align-items: center;
  }
  .spotlight-roster h3 {
    font-size: 16px;
    margin: 0;
  }
  .spotlight-roster .tag {
    font-size: 12px;
  }
  .spotlight-names {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .spotlight-names a {
    font-size: 12px;
    padding: 8px 7px;
    gap: 6px;
  }
  .spotlight-names a:last-child {
    grid-column: 1/-1;
  }
  .roster-token {
    width: 20px;
    height: 27px;
    font-size: 13px;
  }
  .home .wiki-section {
    margin-bottom: 30px;
  }
  .home .wiki-intro {
    padding: 25px;
  }
  .home .wiki-intro h2 {
    font-size: 35px;
  }
  .home .wiki-intro h2 br {
    display: none;
  }
  .home .wiki-links strong {
    font-size: 19px;
  }
  .home .wiki-links small {
    font-size: 12px;
  }
  .home .wiki-links > a {
    padding: 20px 0;
  }
  .home .feature h3 {
    font-size: 22px;
  }
  .home .feature p {
    font-size: 14px;
  }
  .coverage {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 20px;
    margin: 30px 0;
  }
  .coverage h2 {
    font-size: 24px;
  }
  .coverage li {
    font-size: 13px;
    line-height: 1.75;
  }
  .coverage p {
    font-size: 12px;
  }
  .coverage .eyebrow {
    font-size: 12px;
  }
  .home .faq .section-heading {
    display: block;
  }
  .home .faq .section-meta {
    display: block;
    text-align: left;
    margin-top: 12px;
    max-width: none;
    font-size: 12px;
  }
  .home .faq summary {
    font-size: 14px;
    line-height: 1.7;
  }
  .home .faq details p {
    font-size: 14px;
  }
  .footer-bottom {
    font-size: 12px;
  }
  .footer-top nav {
    font-size: 12px;
  }
  .toc a {
    font-size: 12px;
  }
  .related-links a {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .header-inner {
    padding-inline: 15px;
    gap: 7px;
  }
  .header-inner .brand {
    font-size: 14px;
  }
  .header-inner .brand img {
    width: 26px;
  }
  .header-inner .brand small {
    font-size: 12px;
  }
  .home .hero h1 {
    font-size: 48px;
  }
  .wiki-search-bar {
    gap: 6px;
    padding-left: 9px;
  }
  .wiki-search-bar input[type="search"] {
    font-size: 12px;
  }
  .wiki-search-bar button {
    font-size: 12px;
    padding: 9px;
  }
  .home .action h3 {
    font-size: 14px;
  }
  .preview-card-body {
    padding: 9px;
  }
  .preview-card-body h3 {
    font-size: 14px;
  }
  .card-crop {
    height: 92px;
  }
  .card-preview .card-tools button {
    padding: 10px 8px;
  }
  .home .hero .eyebrow {
    font-size: 12px;
  }
}
/* Without scripting, show useful links instead of inactive search controls. */
:root:not(.js) .wiki-search-bar,
:root:not(.js) .wiki-search > label,
:root:not(.js) .wiki-search > .search-hint,
:root:not(.js) .card-preview .card-tools {
  display: none;
}

/* Reading scale shared by the homepage and reference pages. */
h1,
h2,
h3 {
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
h1 em,
h2 em,
h3 em {
  font-style: normal;
  font-weight: inherit;
}
.home .hero h1,
.page-heading h1 {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h2,
.prose h2,
.home .section-heading h2,
.spotlight-copy h2,
.home .wiki-intro h2 {
  font-size: 30px;
}
h3,
.prose h3,
.home .feature h3,
.home .answer-grid h3 {
  font-size: 22px;
}
.home .action h3,
.preview-card-body h3,
.home .wiki-links strong {
  font-size: 19px;
  letter-spacing: -0.015em;
  line-height: 1.35;
}
.prose {
  max-width: 65ch;
}
.prose p,
.prose li,
.home .hero-copy > p,
.home .faq details p,
.home .answer-grid p {
  font-size: 16px;
  line-height: 1.7;
  color: #c9c5d0;
}
.home .action p,
.preview-card-body p,
.home .wiki-links small,
.home .feature p,
.spotlight-copy p,
.card-preview .section-heading p,
.note p,
.reference-card p,
.coverage li {
  font-size: 15px;
  line-height: 1.6;
}
.preview-scope p {
  font-size: 14px;
  line-height: 1.6;
}
.header-inner nav a,
.header-inner .steam-link,
.button,
.home .hero-actions .button,
.card-preview .section-heading > .button,
.card-preview .button.secondary,
.wiki-search-bar button,
.card-tools button,
.card-preview .card-tools button,
.deck-shortcuts button,
.home .faq summary {
  font-size: 15px;
  font-weight: 500;
}
input[type="search"],
.wiki-search-bar input[type="search"],
.card-preview input[type="search"],
select {
  font-size: 16px;
  min-width: 0;
}
.wiki-search > label,
.card-tools label,
.card-preview .card-tools label,
.toc a,
.related-links a,
.footer-top nav,
.spotlight-names a {
  font-size: 14px;
}
.wiki-search .search-hint,
.verification,
.home .source-line,
.results-line,
.results-line > span,
.card-preview .results-line,
.card-preview .results-line p,
.card-preview .results-line > span,
.preview-bottom,
.coverage p,
.sources p,
.sources li {
  font-size: 13px;
  line-height: 1.65;
}
.eyebrow,
.home .hero .eyebrow,
.home .section-heading .eyebrow,
.spotlight-copy .eyebrow,
.coverage .eyebrow,
.small-label,
.section-meta,
.home .faq .section-meta,
.action-image-label,
.scope-marker,
.character-tokens > small {
  font-size: 12px;
  letter-spacing: 0.04em;
}
.hero-version,
.home .hero-art figcaption,
.footer-bottom {
  font-size: 12px;
  letter-spacing: 0;
}
.section-meta {
  max-width: 190px;
}
.preview-card-body .card-top {
  flex-wrap: wrap;
  gap: 8px;
}
.card-crop > span {
  max-width: calc(100% - 16px);
  line-height: 1.4;
}
.header-inner .brand small {
  font-size: 12px;
  letter-spacing: 0.06em;
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 16px;
    padding-inline: 24px;
  }
  .header-inner nav {
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .home .hero h1,
  .page-heading h1 {
    font-size: 36px;
  }
  h2,
  .prose h2,
  .home .section-heading h2,
  .spotlight-copy h2,
  .home .wiki-intro h2 {
    font-size: 26px;
  }
  h3,
  .prose h3,
  .home .feature h3 {
    font-size: 20px;
  }
  .home .action h3,
  .preview-card-body h3 {
    font-size: 18px;
  }
  .home .quick-grid,
  .card-preview .card-grid {
    grid-template-columns: 1fr;
  }
  .home .action {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .action-image {
    height: 100%;
    min-height: 150px;
  }
  .action-image-label {
    left: 6px;
    right: 6px;
  }
  .character-tokens {
    flex-wrap: wrap;
    padding: 12px 8px 65px;
  }
  .character-tokens > small {
    text-align: center;
    padding: 0 6px;
  }
  .card-crop {
    height: 190px;
  }
  .preview-card-body {
    padding: 18px;
  }
  .home .hero-actions {
    flex-wrap: wrap;
  }
  .home .hero-actions .button {
    flex: 1 1 170px;
    justify-content: center;
  }
  .section-meta {
    max-width: 110px;
  }
  .header-inner {
    padding-inline: 16px;
    gap: 8px;
  }
  .header-inner > .brand {
    flex-basis: calc(100% - 110px);
    min-width: 0;
  }
  .header-inner .brand small {
    font-size: 12px;
  }
  .header-inner .brand {
    font-size: 16px;
  }
  .header-inner .brand img {
    width: 28px;
  }
  .spotlight-names {
    grid-template-columns: 1fr;
  }
  .deck-shortcuts {
    flex-wrap: wrap;
  }
  .home .hero-art figcaption {
    flex-wrap: wrap;
    gap: 8px;
  }
}
.brand > span {
  min-width: 0;
}
.footer-top .brand small {
  white-space: normal;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .header-inner > .brand {
    flex: 1;
  }
  .header-inner .brand small {
    white-space: normal;
    letter-spacing: 0;
  }
  .header-inner .brand {
    gap: 7px;
    font-size: 14px;
  }
  .header-inner .brand img {
    width: 24px;
  }
  .menu-toggle {
    min-width: 52px;
    padding-inline: 6px;
  }
}
@media (max-width: 640px) {
  .home .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .home .hero-actions .button {
    flex: none;
  }
}

/* Keep expanded mobile navigation reachable on short screens. */
@media (max-width: 640px) {
  .site-header {
    max-height: 80vh;
    max-height: 80dvh;
    overflow-y: auto;
  }
}

.prose .source-line { font-size: 13px; line-height: 1.6; margin-bottom: 20px; }

/* Give all seven navigation links their own row on tablet widths. */
@media (min-width: 641px) and (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .header-inner > .brand {
    flex: 1;
  }
  .header-inner nav {
    order: 3;
    flex-basis: 100%;
    justify-content: space-between;
  }
}
