:root {
  color-scheme: light;
  --ink: #151515;
  --ink-soft: #4a4742;
  --paper: #f6f0e5;
  --paper-2: #fffaf0;
  --jade: #11795f;
  --jade-dark: #0d4b40;
  --cinnabar: #b83624;
  --gold: #d49b37;
  --line: rgba(21, 21, 21, 0.16);
  --shadow: 0 24px 70px rgba(29, 24, 18, 0.16);
  --radius: 8px;
  --font-display: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(rgba(21, 21, 21, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    radial-gradient(circle at 90% 2%, rgba(184, 54, 36, 0.15), transparent 32rem),
    var(--paper);
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

#tools,
#guides,
#homeMedia,
#submit {
  scroll-margin-top: 96px;
}

.shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 18px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(220px, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 32px rgba(29, 24, 18, 0.08);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper-2);
  font-family: var(--font-display);
  font-size: 24px;
  background: var(--ink);
  border-radius: 6px;
}

.brand strong,
.brand small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 20px;
}

.brand small {
  color: var(--ink-soft);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.nav-links a,
.text-action,
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.nav-links a {
  padding: 9px 14px;
  color: var(--ink-soft);
  font-size: 14px;
}

.nav-links a:hover,
.text-action:hover,
.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 121, 95, 0.5);
}

.top-actions {
  display: flex;
  justify-content: flex-end;
}

.language-control,
.sort-control {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 13px;
}

select,
input {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-2);
}

select {
  min-height: 38px;
  padding: 0 36px 0 12px;
}

.command-deck {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: end;
  min-height: 430px;
  margin-top: 18px;
  padding: clamp(28px, 5vw, 70px);
  overflow: hidden;
  color: var(--paper-2);
  background: #171717;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.is-topic-page .command-deck,
.is-topic-page #guides {
  display: none !important;
}

.is-topic-page .game-index {
  margin-top: 18px;
}

.is-guide-page .game-index {
  display: none !important;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.command-deck::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.95), rgba(23, 23, 23, 0.72) 46%, rgba(23, 23, 23, 0.18)),
    linear-gradient(0deg, rgba(23, 23, 23, 0.78), transparent 40%);
  pointer-events: none;
}

.deck-copy,
.deck-metrics {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cinnabar);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.command-deck .eyebrow {
  color: #f0b75d;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.98;
}

.lead {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: 18px;
  line-height: 1.75;
}

.deck-metrics {
  display: grid;
  gap: 12px;
}

.deck-metrics article {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  min-height: 84px;
  padding: 18px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.1);
  backdrop-filter: blur(12px);
}

.deck-metrics strong {
  font-family: var(--font-display);
  font-size: 40px;
}

.deck-metrics span {
  color: rgba(255, 250, 240, 0.72);
}

.brand-origin {
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 14px 38px rgba(29, 24, 18, 0.08);
}

.is-topic-page .brand-origin {
  display: none !important;
}

.brand-origin h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.origin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.origin-grid article {
  display: grid;
  gap: 8px;
  min-height: 160px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.origin-grid span {
  color: var(--cinnabar);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.origin-grid strong {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.14;
}

.origin-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.58;
}

.guide-tools {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.8);
  box-shadow: 0 14px 38px rgba(29, 24, 18, 0.08);
}

.is-topic-page .guide-tools {
  display: none !important;
}

.tools-head {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
}

.tools-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.tools-head > p {
  max-width: 480px;
  margin: 0 0 5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 12px;
  align-items: start;
}

.tool-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.tool-panel-head {
  display: flex;
  gap: 14px;
  align-items: start;
  justify-content: space-between;
}

.tool-panel-head h3 {
  margin: 3px 0 0;
  font-size: 28px;
  line-height: 1.08;
}

.tool-panel-head > span,
.route-tool-head span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  color: var(--jade-dark);
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(17, 121, 95, 0.22);
  border-radius: 999px;
  background: rgba(17, 121, 95, 0.08);
  white-space: nowrap;
}

.tool-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.35fr);
  gap: 10px;
}

.tool-controls.single-control {
  grid-template-columns: 1fr;
}

.term-list {
  display: grid;
  gap: 8px;
  max-height: 720px;
  overflow: auto;
  padding-right: 4px;
}

.term-item {
  display: grid;
  grid-template-columns: minmax(190px, 0.85fr) minmax(150px, 0.55fr) minmax(220px, 0.8fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: var(--radius);
  background: rgba(246, 240, 229, 0.7);
}

.term-copy {
  min-width: 0;
}

.term-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.12;
}

.term-copy p {
  display: -webkit-box;
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.52;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.term-games {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.term-chip {
  display: inline-flex;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  padding: 0 8px;
  overflow: hidden;
  color: var(--jade-dark);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid rgba(17, 121, 95, 0.22);
  border-radius: 999px;
  background: rgba(17, 121, 95, 0.07);
}

.term-related {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.term-related span {
  color: var(--cinnabar);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.term-related a {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.term-related a:hover,
.term-chip:hover {
  color: var(--ink);
}

.starter-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(17, 121, 95, 0.22);
  border-radius: var(--radius);
  background: rgba(17, 121, 95, 0.07);
}

.starter-summary div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.starter-summary span {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.starter-summary strong {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-tool-head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 8px;
}

.route-tool-steps {
  display: grid;
  gap: 8px;
}

.route-step-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  color: inherit;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: var(--radius);
  background: rgba(246, 240, 229, 0.7);
}

.route-step-card > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--paper-2);
  font-size: 13px;
  font-weight: 900;
  border-radius: 50%;
  background: var(--ink);
}

.route-step-card small {
  display: block;
  color: var(--cinnabar);
  font-size: 12px;
  font-weight: 900;
}

.route-step-card strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.14;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-step-card p {
  display: -webkit-box;
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tool-empty {
  margin: 24px 0;
  color: var(--ink-soft);
  text-align: center;
}

.home-media {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 14px 38px rgba(29, 24, 18, 0.08);
}

.is-topic-page .home-media {
  display: none !important;
}

.home-media-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.home-media-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.home-media-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) minmax(280px, 0.8fr) minmax(280px, 0.8fr);
  gap: 12px;
  align-items: stretch;
}

.media-panel {
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.media-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
}

.media-panel-head p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
}

.media-panel-head span {
  color: var(--jade-dark);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.media-lead {
  display: grid;
  grid-template-rows: 170px auto;
  overflow: hidden;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(246, 240, 229, 0.72);
}

.media-lead img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.media-lead > div {
  display: grid;
  gap: 9px;
  padding: 12px;
}

.media-lead h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1.12;
}

.media-lead p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.media-action {
  justify-self: start;
  padding: 8px 11px;
  color: var(--paper-2);
  font-size: 13px;
  font-weight: 900;
  border-radius: 6px;
  background: var(--ink);
}

.media-list,
.route-stack,
.update-list {
  display: grid;
  gap: 8px;
}

.media-row,
.update-row,
.reading-step {
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(246, 240, 229, 0.64);
}

.media-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 9px 10px;
}

.media-row > span,
.reading-step > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--paper-2);
  font-weight: 900;
  background: var(--cinnabar);
  border-radius: 50%;
}

.media-row strong,
.update-row strong,
.reading-step strong {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--font-display);
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.media-row small,
.reading-step small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.update-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 62px;
  padding: 10px;
}

.update-row time {
  color: var(--cinnabar);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.update-row span {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.filter-rail,
.guide-board,
.game-index {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 14px 38px rgba(29, 24, 18, 0.08);
}

.filter-rail {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 22px;
  padding: 18px;
}

.rail-section {
  display: grid;
  gap: 10px;
}

.field-label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-box {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  min-height: 46px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-2);
}

.search-box input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 11px;
  color: var(--ink-soft);
  font-size: 13px;
}

.chip[aria-pressed="true"] {
  color: var(--paper-2);
  border-color: var(--jade-dark);
  background: var(--jade-dark);
}

.submit-note {
  padding: 16px;
  border: 1px dashed rgba(184, 54, 36, 0.45);
  border-radius: var(--radius);
  background: rgba(184, 54, 36, 0.07);
}

.submit-note p {
  margin-bottom: 2px;
  font-weight: 800;
}

.submit-note span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.submit-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
  padding: 0 13px;
  overflow-wrap: anywhere;
  color: var(--paper-2);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(17, 121, 95, 0.46);
  border-radius: 6px;
  background: var(--jade-dark);
  box-shadow: 0 10px 22px rgba(17, 121, 95, 0.18);
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.submit-email:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

.submit-email:focus-visible {
  outline: 3px solid rgba(184, 54, 36, 0.36);
  outline-offset: 3px;
}

.text-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 9px 13px;
  color: var(--cinnabar);
  font-weight: 800;
  text-decoration: none;
}

.guide-board {
  min-height: 520px;
  padding: 18px;
}

.board-head,
.game-index {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
}

.board-head {
  margin-bottom: 18px;
}

.board-head h2,
.game-index h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.game-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.catalog-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.catalog-art {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--art);
}

.catalog-art img,
.guide-art img,
.series-image,
.game-hero-image,
.article-hero-image,
.compact-guide-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-art::after {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 250, 240, 0.36);
  border-radius: 6px;
}

.catalog-body {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
}

.catalog-body h3 {
  margin-bottom: 0;
  font-size: 27px;
  line-height: 1.08;
}

.catalog-body p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.mini-series {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mini-series span {
  padding: 5px 8px;
  color: var(--jade-dark);
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(17, 121, 95, 0.24);
  border-radius: 999px;
  background: rgba(17, 121, 95, 0.07);
}

.open-game {
  display: inline-flex;
  align-self: end;
  justify-self: start;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  color: var(--paper-2);
  font-weight: 800;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.open-game:hover {
  background: var(--jade-dark);
}

.guide-card {
  position: relative;
  display: grid;
  grid-template-rows: 150px auto;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.guide-art {
  position: relative;
  overflow: hidden;
  background: var(--art);
}

.guide-art::before,
.guide-art::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.guide-art img {
  position: absolute;
  inset: 0;
}

.guide-art::before {
  inset: 18px;
  border: 1px solid rgba(255, 250, 240, 0.36);
  border-radius: 6px;
}

.guide-art::after {
  width: 170px;
  height: 170px;
  right: -42px;
  bottom: -74px;
  border: 22px solid rgba(255, 250, 240, 0.18);
  border-radius: 50%;
}

.guide-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 12px;
}

.guide-meta span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(246, 240, 229, 0.72);
}

.guide-card h3 {
  margin-bottom: 0;
  font-size: 25px;
  line-height: 1.16;
}

.guide-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.guide-footer {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.difficulty {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 4px;
  align-items: center;
}

.difficulty i {
  display: block;
  width: 18px;
  height: 8px;
  border-radius: 999px;
  background: rgba(17, 121, 95, 0.18);
}

.difficulty i.on {
  background: var(--jade);
}

.open-guide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  color: var(--paper-2);
  font-weight: 800;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  line-height: 1;
}

.open-guide:hover {
  background: var(--jade-dark);
}

.empty-state {
  margin: 80px auto;
  color: var(--ink-soft);
  text-align: center;
}

.game-index {
  margin-top: 18px;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}

#gameDetail {
  width: 100%;
}

.game-page-hero {
  position: relative;
  min-height: 340px;
  padding: clamp(22px, 4vw, 44px);
  overflow: hidden;
  color: var(--paper-2);
  background: var(--art);
}

.game-page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(21, 21, 21, 0.82), rgba(21, 21, 21, 0.46) 58%, rgba(21, 21, 21, 0.12));
  pointer-events: none;
}

.game-page-hero > *:not(.game-hero-image) {
  position: relative;
  z-index: 1;
}

.game-hero-image {
  position: absolute;
  inset: 0;
}

.game-page-hero h2 {
  max-width: 880px;
  margin: 10px 0 12px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
}

.game-page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 18px;
}

.game-metrics {
  grid-template-columns: repeat(2, minmax(0, 180px));
  max-width: 380px;
  margin-top: 28px;
}

.back-game {
  color: var(--paper-2);
  border-color: rgba(255, 250, 240, 0.32);
  background: rgba(21, 21, 21, 0.24);
}

.topic-brief {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 18px 18px 0;
}

.topic-brief article {
  display: grid;
  gap: 6px;
  min-height: 124px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
}

.topic-brief span,
.trust-strip span {
  color: var(--cinnabar);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.topic-brief strong {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.topic-brief p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.topic-version-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: 12px;
  padding: 18px 18px 0;
}

.topic-version-strip > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.84);
}

.topic-version-strip h3 {
  margin: 5px 0 6px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
}

.topic-version-strip p:not(.field-label) {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.58;
}

.version-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.version-metrics article {
  display: grid;
  gap: 6px;
  align-content: center;
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(246, 240, 229, 0.72);
}

.version-metrics strong {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
}

.version-metrics span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
}

.freshness-chip {
  font-weight: 900;
}

.freshness-fresh,
.freshness-fresh strong,
.freshness-fresh span {
  color: var(--jade-dark);
}

.freshness-watch,
.freshness-watch strong,
.freshness-watch span {
  color: #8a5a00;
}

.freshness-stale,
.freshness-stale strong,
.freshness-stale span {
  color: var(--cinnabar);
}

.topic-database-strip {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 18px 0;
}

.topic-database-copy {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
  color: var(--paper-2);
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(21, 21, 21, 0.96), rgba(17, 121, 95, 0.86)),
    var(--ink);
}

.topic-database-copy h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.08;
}

.topic-database-copy p:not(.field-label) {
  margin: 0;
  color: rgba(255, 250, 240, 0.76);
  line-height: 1.58;
}

.database-mini-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.database-mini-metrics span,
.entity-status {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  color: var(--jade-dark);
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(17, 121, 95, 0.26);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.9);
}

.database-link {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--paper-2);
  font-weight: 900;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 6px;
  background: var(--cinnabar);
}

.database-link:hover {
  background: #d6462d;
}

.database-preview-grid,
.entity-sibling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  align-content: start;
}

.entity-mini-card {
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 11px;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.84);
}

.entity-mini-card span,
.entity-card-copy span {
  color: var(--cinnabar);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.entity-mini-card strong {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.05;
}

.entity-mini-card small {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-reading-path {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 18px 0;
}

.topic-reading-copy {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
}

.topic-reading-copy h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.topic-reading-copy p:not(.field-label) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.58;
}

.topic-reading-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.reading-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-height: 122px;
  padding: 12px;
}

.reading-step > span {
  background: var(--jade-dark);
}

.topic-command-center {
  display: grid;
  gap: 12px;
  padding: 18px 18px 0;
}

.topic-command-head {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(21, 21, 21, 0.92);
  color: var(--paper-2);
}

.topic-command-head h3 {
  margin: 4px 0 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.topic-command-head p:not(.field-label) {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.6;
}

.topic-command-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(360px, 1.25fr) minmax(260px, 0.85fr);
  gap: 12px;
  align-items: start;
}

.problem-panel,
.stage-panel,
.radar-panel {
  display: grid;
  gap: 8px;
}

.problem-card {
  display: grid;
  gap: 7px;
  min-height: 118px;
  padding: 14px;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.86);
}

.problem-card span,
.stage-step small,
.radar-row span {
  color: var(--cinnabar);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.problem-card strong {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.12;
}

.problem-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.stage-lane {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.86);
}

.stage-lane-head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
}

.stage-lane-head strong {
  font-family: var(--font-display);
  font-size: 23px;
}

.stage-lane-head span,
.radar-head span {
  color: var(--jade-dark);
  font-size: 12px;
  font-weight: 900;
}

.stage-lane > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.stage-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  min-height: 86px;
  padding: 10px;
  color: inherit;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 6px;
  background: rgba(246, 240, 229, 0.72);
}

.stage-step > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--paper-2);
  font-size: 12px;
  font-weight: 900;
  background: var(--ink);
  border-radius: 50%;
}

.stage-step strong {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.radar-panel {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.86);
}

.radar-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  padding-bottom: 4px;
}

.radar-head strong {
  font-family: var(--font-display);
  font-size: 24px;
}

.radar-row {
  display: grid;
  grid-template-columns: 74px 30px minmax(0, 1fr);
  gap: 6px 9px;
  align-items: baseline;
  padding: 9px 0;
  color: inherit;
  border-top: 1px solid rgba(21, 21, 21, 0.12);
}

.radar-row strong {
  color: var(--jade-dark);
  font-size: 18px;
}

.radar-row p {
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.radar-row small {
  grid-column: 1 / -1;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.series-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  align-items: start;
}

.series-roadmap {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 10px;
}

.series-roadmap > a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.series-roadmap > a span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--paper-2);
  font-size: 12px;
  font-weight: 800;
  background: var(--cinnabar);
  border-radius: 50%;
}

.series-grid,
.compact-guide-grid {
  display: grid;
  gap: 12px;
}

.series-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.series-content {
  display: grid;
  gap: 12px;
}

.compact-guide-grid {
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  align-items: start;
}

.compact-section-head {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
}

.compact-section-head > span {
  padding: 7px 10px;
  color: var(--jade-dark);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  border: 1px solid rgba(17, 121, 95, 0.24);
  border-radius: 999px;
  background: rgba(17, 121, 95, 0.07);
}

.compact-guide-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  grid-template-areas:
    "image copy"
    "image action";
  gap: 9px 12px;
  min-height: 132px;
  padding: 10px;
  scroll-margin-top: 104px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
}

.compact-guide-image {
  grid-area: image;
  width: 104px;
  height: 112px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.compact-guide-copy {
  grid-area: copy;
  min-width: 0;
}

.compact-guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 11px;
}

.compact-guide-meta span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(246, 240, 229, 0.72);
}

.compact-guide-card h3 {
  display: -webkit-box;
  margin: 0 0 5px;
  overflow: hidden;
  font-size: 19px;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.compact-guide-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.series-card {
  display: grid;
  gap: 18px;
  min-height: 250px;
  overflow: hidden;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.article-card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.article-card:hover {
  border-color: rgba(184, 54, 36, 0.36);
  box-shadow: 0 18px 42px rgba(21, 21, 21, 0.12);
  transform: translateY(-2px);
}

.series-image {
  height: 160px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.series-card h3 {
  margin: 10px 0;
  font-size: 24px;
  line-height: 1.15;
}

.series-card p {
  color: var(--ink-soft);
  line-height: 1.58;
}

.article-action {
  grid-area: action;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  align-self: end;
  min-height: 40px;
  padding: 0 14px;
  color: var(--paper-2);
  font-size: 14px;
  font-weight: 800;
  border-radius: 6px;
  background: var(--ink);
}

.article-card:hover .article-action {
  background: var(--jade-dark);
}

.database-page,
.entity-page {
  display: grid;
  min-width: 0;
}

.database-hero,
.entity-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: var(--paper-2);
  background: var(--art);
}

.database-hero {
  display: grid;
  gap: 12px;
  align-content: end;
  padding: clamp(24px, 5vw, 54px);
}

.database-hero::after,
.entity-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(21, 21, 21, 0.88), rgba(21, 21, 21, 0.58) 60%, rgba(21, 21, 21, 0.16));
  pointer-events: none;
}

.database-hero > *:not(.database-hero-image),
.entity-hero > * {
  position: relative;
  z-index: 1;
}

.database-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.database-hero h1,
.entity-hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.98;
}

.database-hero p:not(.eyebrow),
.entity-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 250, 240, 0.8);
  font-size: 18px;
  line-height: 1.68;
}

.database-layout,
.entity-layout {
  display: grid;
  gap: 18px;
  padding: 18px;
  align-items: start;
}

.database-layout {
  grid-template-columns: 260px minmax(0, 1fr);
}

.database-roadmap {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 10px;
}

.database-roadmap > a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.database-roadmap > a span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--paper-2);
  font-size: 12px;
  font-weight: 900;
  background: var(--jade-dark);
  border-radius: 50%;
}

.database-content,
.entity-group {
  display: grid;
  gap: 14px;
}

.entity-group {
  scroll-margin-top: 104px;
}

.entity-group-head {
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.entity-group-head h2 {
  margin: 4px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.entity-group-head > span {
  padding: 7px 10px;
  color: var(--jade-dark);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  border: 1px solid rgba(17, 121, 95, 0.24);
  border-radius: 999px;
  background: rgba(17, 121, 95, 0.07);
}

.entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.entity-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  min-height: 132px;
  padding: 10px;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.84);
}

.entity-card-media {
  position: relative;
  min-height: 112px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--ink);
}

.entity-card-media img,
.entity-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: var(--ink);
}

.entity-card-media .visual-missing-media {
  min-height: 112px;
  padding: 8px;
}

.entity-card-media .visual-missing-media strong {
  font-size: 16px;
}

.entity-card-media .visual-missing-media span {
  display: none;
}

.entity-card-copy {
  display: grid;
  gap: 5px;
  align-content: start;
  min-width: 0;
}

.entity-card-copy strong {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.06;
}

.entity-card-copy small,
.entity-card-copy em {
  color: var(--ink-soft);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.entity-card-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.entity-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  align-items: stretch;
}

.entity-hero-media {
  position: relative;
  z-index: 1;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.entity-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  align-content: center;
  padding: clamp(24px, 5vw, 54px);
}

.entity-hero-copy .visual-source-link {
  color: var(--paper-2);
}

.entity-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.entity-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 160px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
}

.entity-definition,
.entity-panel:nth-child(4),
.entity-panel:nth-child(5) {
  grid-column: 1 / -1;
}

.entity-panel h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

.entity-note-list {
  display: grid;
  gap: 10px;
}

.entity-note-list article {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.entity-note-list strong {
  font-family: var(--font-display);
  font-size: 23px;
}

.entity-note-list p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.entity-related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.entity-inline-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(17, 121, 95, 0.55);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.entity-inline-link:hover {
  color: var(--jade-dark);
}

.article-index {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 14px 38px rgba(29, 24, 18, 0.08);
}

.article-shell {
  display: grid;
  min-width: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 18px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 240, 229, 0.72);
}

.breadcrumbs > * {
  min-width: 0;
}

.breadcrumbs a {
  min-width: 0;
  color: var(--jade-dark);
  font-weight: 800;
}

.breadcrumbs .database-link {
  display: inline-block;
  flex: 1 1 160px;
  width: auto;
  min-height: 32px;
  max-width: 100%;
  padding: 8px 10px;
  overflow-wrap: anywhere;
  color: var(--paper-2);
  font-size: 12px;
  line-height: 1.2;
  white-space: normal;
}

.breadcrumbs strong {
  flex: 1 1 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-hero {
  position: relative;
  min-width: 0;
  min-height: 380px;
  padding: clamp(24px, 5vw, 54px);
  overflow: hidden;
  color: var(--paper-2);
  background: var(--art);
}

.article-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(21, 21, 21, 0.86), rgba(21, 21, 21, 0.55) 58%, rgba(21, 21, 21, 0.18));
  pointer-events: none;
}

.article-hero > *:not(.article-hero-image) {
  position: relative;
  z-index: 1;
}

.article-hero-image {
  position: absolute;
  inset: 0;
}

.article-hero h1 {
  max-width: 900px;
  margin: 20px 0 14px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.article-hero p {
  max-width: 760px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.back-topic {
  color: var(--paper-2);
  border-color: rgba(255, 250, 240, 0.32);
  background: rgba(21, 21, 21, 0.28);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.trust-strip article {
  display: grid;
  gap: 7px;
  align-content: start;
  min-height: 106px;
  padding: 14px 16px;
  background: rgba(255, 250, 240, 0.88);
}

.trust-strip strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 8px;
}

.article-toc a {
  padding: 10px 12px;
  color: var(--ink-soft);
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-2);
}

.article-toc a:hover {
  color: var(--paper-2);
  background: var(--jade-dark);
}

.article-body {
  display: grid;
  gap: 14px;
}

.article-block {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  scroll-margin-top: 104px;
}

.article-block h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

.article-block p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.72;
}

.editorial-note {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(17, 121, 95, 0.24);
  border-radius: var(--radius);
  background: rgba(17, 121, 95, 0.07);
}

.editorial-note strong {
  color: var(--jade-dark);
}

.editorial-note span {
  color: var(--ink-soft);
  line-height: 1.58;
}

.article-visual-block {
  gap: 16px;
  padding: 0;
  overflow: hidden;
}

.visual-section-head {
  display: grid;
  gap: 8px;
  padding: clamp(18px, 3vw, 28px) clamp(18px, 3vw, 28px) 0;
}

.visual-section-head h2 {
  max-width: 820px;
}

.visual-section-head p:not(.field-label) {
  max-width: 760px;
}

.visual-walkthrough {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.visual-main-shot {
  position: relative;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.visual-main-shot img,
.visual-cue-list img,
.visual-resource-grid img,
.phase-shot img,
.related-guide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-missing-media {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: inherit;
  place-content: center;
  gap: 8px;
  padding: 16px;
  color: var(--paper-2);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(21, 21, 21, 0.94), rgba(17, 121, 95, 0.5)),
    repeating-linear-gradient(45deg, rgba(255, 250, 240, 0.1) 0 1px, transparent 1px 14px);
}

.visual-missing-media strong {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.visual-missing-media span {
  color: rgba(255, 250, 240, 0.74);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  text-transform: none;
}

.visual-main-shot::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.06), rgba(21, 21, 21, 0.82)),
    radial-gradient(circle at 72% 26%, rgba(255, 250, 240, 0.16), transparent 22rem);
  pointer-events: none;
}

.visual-main-shot figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  display: grid;
  gap: 7px;
  max-width: 520px;
  padding: 16px;
  color: var(--paper-2);
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: var(--radius);
  background: rgba(21, 21, 21, 0.62);
  backdrop-filter: blur(10px);
}

.visual-main-shot figcaption span,
.visual-cue-list span,
.visual-resource-grid span,
.phase-shot figcaption {
  color: rgba(255, 250, 240, 0.74);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.visual-main-shot figcaption strong {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 0.98;
}

.visual-main-shot figcaption em,
.visual-cue-list em,
.visual-resource-grid em {
  color: rgba(255, 250, 240, 0.7);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.visual-main-shot figcaption p {
  margin: 0;
  color: rgba(255, 250, 240, 0.82);
  line-height: 1.55;
}

.visual-source-link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 6px 8px;
  overflow-wrap: anywhere;
  color: var(--paper-2);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.12);
}

.visual-source-link:hover {
  background: rgba(255, 250, 240, 0.22);
}

.visual-cue-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.visual-cue-list article {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  min-height: 146px;
  background: var(--paper-2);
}

.visual-cue-list img {
  object-position: var(--shot-pos, center);
}

.visual-cue-list .visual-missing-media {
  min-height: 146px;
}

.visual-cue-list article > div {
  display: grid;
  gap: 6px;
  align-content: center;
  min-width: 0;
  padding: 14px;
}

.visual-cue-list span {
  color: var(--cinnabar);
}

.visual-cue-list strong {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1;
}

.visual-cue-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.visual-cue-list em {
  color: var(--ink-soft);
}

.visual-cue-list .visual-source-link {
  color: var(--jade-dark);
  border-color: rgba(17, 121, 95, 0.22);
  background: rgba(17, 121, 95, 0.08);
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.decision-grid article {
  display: grid;
  gap: 9px;
  align-content: start;
  min-height: 220px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.decision-grid article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--paper-2);
  font-size: 12px;
  font-weight: 900;
  background: var(--jade-dark);
  border-radius: 50%;
}

.decision-grid strong {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.12;
}

.decision-grid small {
  color: var(--cinnabar);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.priority-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.priority-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(86px, 0.5fr) minmax(190px, 1.35fr) minmax(190px, 1.35fr);
  gap: 1px;
  border-top: 1px solid var(--line);
}

.priority-row:first-child {
  border-top: 0;
}

.priority-row > * {
  min-width: 0;
  padding: 12px;
  margin: 0;
  background: rgba(246, 240, 229, 0.72);
}

.priority-head > * {
  color: var(--paper-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--ink);
}

.priority-row strong {
  font-family: var(--font-display);
  font-size: 20px;
}

.priority-row span {
  color: var(--cinnabar);
  font-size: 13px;
  font-weight: 900;
}

.priority-row p {
  font-size: 14px;
  line-height: 1.55;
}

.checkpoint-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: checkpoint;
}

.checkpoint-list li {
  position: relative;
  min-height: 72px;
  padding: 14px 14px 14px 58px;
  color: var(--ink-soft);
  line-height: 1.65;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  counter-increment: checkpoint;
}

.checkpoint-list li::before {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--paper-2);
  font-size: 12px;
  font-weight: 900;
  content: counter(checkpoint);
  background: var(--cinnabar);
  border-radius: 50%;
}

.article-phase-list article {
  background: var(--paper-2);
}

.visual-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.visual-resource-grid article {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
}

.visual-resource-grid img {
  position: absolute;
  inset: 0;
  object-position: var(--shot-pos, center);
  transform: scale(1.04);
}

.visual-resource-grid .visual-missing-media,
.phase-shot .visual-missing-media {
  position: absolute;
  inset: 0;
}

.visual-resource-grid article::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.08), rgba(21, 21, 21, 0.82));
}

.visual-resource-grid article > div {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 1;
  display: grid;
  gap: 7px;
  color: var(--paper-2);
}

.visual-resource-grid span {
  color: rgba(255, 250, 240, 0.68);
}

.visual-resource-grid strong {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
}

.visual-resource-grid p {
  margin: 0;
  color: rgba(255, 250, 240, 0.82);
  line-height: 1.52;
}

.visual-resource-grid .visual-source-link {
  background: rgba(21, 21, 21, 0.32);
}

.article-phase-list article {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  padding: 12px;
}

.article-phase-list article > div {
  display: grid;
  gap: 8px;
  align-content: center;
  min-width: 0;
}

.phase-shot {
  position: relative;
  min-height: 160px;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
}

.phase-shot img {
  object-position: var(--shot-pos, center);
}

.phase-shot::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(21, 21, 21, 0), rgba(21, 21, 21, 0.72));
}

.phase-shot figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 1;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.term-grid article,
.term-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.term-grid strong,
.term-card strong {
  font-family: var(--font-display);
  font-size: 22px;
}

.term-card span {
  width: fit-content;
  padding: 6px 9px;
  color: var(--jade-dark);
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(17, 121, 95, 0.24);
  border-radius: 999px;
  background: rgba(17, 121, 95, 0.07);
}

.split-block {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-block > div {
  display: grid;
  gap: 12px;
  align-content: start;
}

.related-guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.related-guide {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.related-guide img {
  height: 118px;
  border-radius: 6px;
}

.related-guide span {
  color: var(--cinnabar);
  font-size: 12px;
  font-weight: 900;
}

.related-guide strong {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.14;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.faq-list summary {
  cursor: pointer;
  padding: 14px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list p {
  padding: 0 14px 14px;
}

.steps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.phase-list {
  display: grid;
  gap: 12px;
}

.phase-list article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--cinnabar);
  border-radius: var(--radius);
  background: var(--paper);
}

.phase-list strong {
  font-family: var(--font-display);
  font-size: 22px;
}

.phase-list p {
  margin: 0;
  line-height: 1.65;
}

.phase-list span {
  color: var(--ink-soft);
  line-height: 1.55;
}

.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  line-height: 1.65;
  counter-increment: step;
}

.steps li::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--paper-2);
  font-weight: 800;
  content: counter(step);
  background: var(--cinnabar);
  border-radius: 50%;
}

.resource-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.resource-row span {
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.article-resource-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.source-list {
  display: grid;
  gap: 8px;
}

.source-list a {
  display: block;
  padding: 11px 12px;
  color: var(--jade-dark);
  font-weight: 800;
  line-height: 1.35;
  border: 1px solid rgba(17, 121, 95, 0.24);
  border-radius: var(--radius);
  background: rgba(17, 121, 95, 0.07);
}

.source-list a:hover {
  color: var(--paper-2);
  background: var(--jade-dark);
}

.static-page {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.submit-hero {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 430px;
  align-content: end;
  padding: clamp(28px, 6vw, 72px);
  overflow: hidden;
  color: var(--paper-2);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.94), rgba(21, 21, 21, 0.72)),
    radial-gradient(circle at 76% 22%, rgba(17, 121, 95, 0.58), transparent 28rem),
    radial-gradient(circle at 88% 82%, rgba(184, 54, 36, 0.54), transparent 22rem),
    var(--ink);
}

.submit-hero::after {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 6px;
  pointer-events: none;
}

.submit-hero > * {
  position: relative;
  z-index: 1;
}

.submit-hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.95;
}

.submit-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: 18px;
  line-height: 1.72;
}

.submit-primary {
  justify-self: start;
  min-height: 54px;
  padding: 0 22px;
  color: var(--paper-2);
  font-size: 17px;
  letter-spacing: 0;
  border: 1px solid rgba(255, 250, 240, 0.18);
  background: var(--cinnabar);
  box-shadow:
    0 18px 40px rgba(184, 54, 36, 0.34),
    inset 0 1px 0 rgba(255, 250, 240, 0.22);
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.submit-primary::after {
  content: "->";
  margin-left: 10px;
  font-weight: 900;
}

.submit-primary:hover {
  background: #d6462d;
  transform: translateY(-2px);
  box-shadow:
    0 22px 46px rgba(184, 54, 36, 0.42),
    inset 0 1px 0 rgba(255, 250, 240, 0.24);
}

.submit-primary:focus-visible {
  outline: 3px solid rgba(255, 250, 240, 0.64);
  outline-offset: 4px;
}

.submit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 12px;
}

.submit-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 280px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 14px 38px rgba(29, 24, 18, 0.08);
}

.submit-card > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--paper-2);
  font-weight: 900;
  background: var(--cinnabar);
  border-radius: 50%;
}

.submit-card h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.08;
}

.submit-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.62;
}

.submit-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.68;
}

.submit-card-strong {
  background: rgba(17, 121, 95, 0.08);
  border-color: rgba(17, 121, 95, 0.24);
}

.mail-template {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.mail-template p {
  min-height: 26px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(21, 21, 21, 0.1);
}

.mail-template p:last-child {
  border-bottom: 0;
}

.static-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  color: var(--paper-2);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .top-actions {
    justify-content: flex-start;
  }

  .command-deck,
  .workspace,
  .brand-origin,
  .origin-grid,
  .tools-grid,
  .home-media-grid,
  .game-index,
  .topic-brief,
  .topic-version-strip,
  .topic-database-strip,
  .topic-reading-path,
  .topic-command-grid,
  .database-layout,
  .entity-hero,
  .entity-layout,
  .visual-walkthrough,
  .trust-strip,
  .article-layout,
  .submit-grid {
    grid-template-columns: 1fr;
  }

  .filter-rail,
  .article-toc {
    position: static;
  }

  .game-index {
    display: grid;
  }
}

@media (max-width: 720px) {
  .shell {
    padding: 10px;
  }

  .topbar {
    min-height: auto;
  }

  .nav-links {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .command-deck {
    min-height: 560px;
    padding: 26px 18px;
  }

  .guide-grid,
  .game-catalog,
  .term-item,
  .tool-controls,
  .starter-summary,
  .home-media-grid,
  .topic-reading-steps,
  .topic-command-head,
  .version-metrics,
  .stage-lane > div:last-child,
  .entity-group-head,
  .decision-grid,
  .priority-row,
  .visual-cue-list article,
  .article-phase-list article,
  .series-grid,
  .compact-guide-grid,
  .entity-card,
  .article-resource-row,
  .term-grid,
  .split-block,
  .resource-row {
    grid-template-columns: 1fr;
  }

  .catalog-card,
  .series-layout {
    grid-template-columns: 1fr;
  }

  .tools-head {
    display: grid;
    align-items: start;
  }

  .submit-hero {
    min-height: 520px;
    padding: 28px 18px;
  }

  .article-hero h1 {
    font-size: clamp(32px, 12vw, 54px);
    line-height: 1.02;
  }

  .article-hero p {
    font-size: 16px;
  }

  .visual-main-shot {
    min-height: 360px;
  }

  .visual-cue-list article {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .visual-resource-grid article {
    min-height: 220px;
  }

  .phase-shot {
    min-height: 190px;
  }

  .starter-summary .text-action {
    justify-self: start;
  }

  .catalog-art {
    min-height: 120px;
  }

  .series-roadmap {
    position: static;
  }

  .database-roadmap {
    position: static;
  }

  .entity-hero {
    min-height: 0;
  }

  .entity-hero-media {
    height: 240px;
    min-height: 0;
  }

  .entity-definition,
  .entity-panel:nth-child(4),
  .entity-panel:nth-child(5) {
    grid-column: auto;
  }

  .compact-guide-card {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 118px;
  }

  .compact-guide-image {
    width: 86px;
    height: 98px;
  }

  .board-head {
    display: grid;
    align-items: start;
  }

  .guide-card {
    grid-template-rows: 128px auto;
    min-height: 0;
  }

  .guide-card h3 {
    font-size: 22px;
  }

}
