:root {
  color-scheme: light;
  scrollbar-gutter: stable;
  --night: #151A33;
  --night-raised: #262D4A;
  --warm-white: #FFF4DB;
  --gold: #F2C36A;
  --paper: #F5F2E9;
  --card: #FFFCF4;
  --surface-muted: #EEE9DC;
  --ink: #252A25;
  --muted: #606258;
  --line: #D6D0BF;
  --control-line: #938C79;
  --pine: #355A4B;
  --boss: #8F392B;
  --boss-paper: #F2E5DB;
  --purple: #5C3B80;
  --display: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-family: system-ui, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--pine); text-underline-offset: .19em; }
a:hover { color: #244437; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; }
h1, h2, p { margin: 0; }
.shell { width: min(1104px, calc(100% - 64px)); margin-inline: auto; }
main.shell { flex: 1; padding-top: 35px; padding-bottom: 64px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 10; padding: .5rem; background: white; }
.top { color: var(--warm-white); background: var(--night); border-bottom: 3px solid var(--gold); }
.top :focus-visible { outline-color: var(--gold); }
.bar { display: flex; align-items: center; min-height: 68px; gap: 18px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; flex: none; text-decoration: none; color: var(--warm-white); font: 700 1.45rem/1 var(--display); white-space: nowrap; }
.top a:hover { color: var(--warm-white); }
.word-wiki { color: var(--gold); }
.wordmark .tile { width: 33px; height: 33px; }
.wordmark .tile svg { width: 100%; height: 100%; }
.bar nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.bar nav a { text-decoration: none; color: var(--warm-white); font-size: .82rem; font-weight: 700; padding: 9px 10px; white-space: nowrap; }
.bar nav a:hover, .bar nav a[aria-current] { background: var(--night-raised); color: var(--gold); }
.top-search { color: var(--gold); height: 36px; width: 38px; flex: none; display: grid; place-items: center; border: 1px solid #46506F; }
.search-icon { display: inline-block; width: 14px; height: 14px; border: 2px solid currentColor; position: relative; border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; width: 7px; height: 2px; background: currentColor; transform: rotate(45deg); left: 9px; top: 10px; }
.hero { background: var(--night); color: var(--warm-white); position: relative; isolation: isolate; min-height: 345px; display: flex; align-items: center; border: 1px solid var(--night-raised); }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0 0 0 26%; background: url("/media/scenery-v1.svg") center 58% / cover no-repeat; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--night) 25%, #151a33ed 36%, #151a3335 69%, transparent 86%); }
.hero-copy { padding: 36px 46px 40px; width: min(100%, 590px); }
.hero h1 { font: 700 clamp(3.1rem, 7.8vw, 5.2rem)/1.03 var(--display); letter-spacing: -.065em; }
.hero h1 span { color: var(--gold); }
.hero p { margin-top: 14px; font-size: .99rem; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .78rem; padding: 3px 9px; background: var(--surface-muted); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.badge-boss { color: var(--boss); background: var(--boss-paper); border-color: #D9B9A9; }
.search { width: min(100%, 540px); display: flex; align-items: center; gap: 13px; padding: 5px 5px 5px 15px; border: 1px solid var(--control-line); background: var(--card); color: var(--pine); }
main > .search { width: 100%; }
.hero .search { margin-top: 25px; border-color: var(--gold); }
.search input { border: 0; background: transparent; min-width: 0; padding: 8px 2px; flex: 1; color: var(--ink); }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input:focus { outline-offset: 0; }
button { cursor: pointer; background: var(--pine); color: var(--card); border: 1px solid var(--pine); font-weight: 700; padding: 7px 16px; white-space: nowrap; }
button:hover { background: #244437; }
.entry-feedback { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; }
.feedback-target, .feedback-error { margin-block: 12px; }
.feedback-error { color: var(--boss); }
.feedback-form { display: grid; gap: 14px; margin-top: 20px; max-width: 590px; }
.feedback-form label { display: grid; gap: 5px; font-weight: 700; }
.feedback-form :is(input, select, textarea) {
  width: 100%; min-height: 40px; padding: 8px 10px; color: var(--ink); background: var(--card);
  border: 1px solid var(--control-line); font-weight: 400;
}
.feedback-form textarea { resize: vertical; }
.feedback-form button { justify-self: start; }
.feedback-report { display: grid; gap: 8px; margin-top: 16px; padding: 16px; border: 1px solid var(--line); background: var(--card); overflow-wrap: anywhere; }
.feedback-report h2 { font-size: 1.1rem; }
.feedback-meta { font-size: .82rem; color: var(--muted); }
.feedback-message { white-space: pre-wrap; }
.feedback-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.directory { margin-top: 32px; }
.section-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.section-heading h2 { font-size: 1.13rem; font-weight: 750; }
.section-heading > span { height: 1px; background: var(--line); flex: 1; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.category { color: var(--ink); min-width: 0; display: flex; align-items: center; gap: 13px; padding: 15px; background: var(--card); border: 1px solid var(--line); text-decoration: none; box-shadow: 0 2px #ddd8c7; }
.category:hover { border-color: #9a9b78; background: #fffae9; }
.tile { width: 48px; height: 48px; flex: none; display: grid; place-items: center; }
.tile svg { width: 83.333%; height: 83.333%; }
.category-copy { display: grid; gap: 4px; }
.category-copy strong { font-size: .99rem; }
.category-copy small { color: var(--muted); font-size: .75rem; }
.arrow { margin-left: auto; color: #6c755f; font-size: 1.4rem; line-height: 1; }
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.preview-panel { background: var(--card); border: 1px solid var(--line); min-width: 0; }
.preview-head { display: flex; align-items: center; gap: 9px; min-height: 51px; padding: 8px 13px; background: var(--surface-muted); border-bottom: 1px solid var(--line); }
.preview-head h3 { margin: 0; font-size: .95rem; }
.preview-head .tile { width: 30px; height: 30px; }
.see-all { margin-left: auto; font-size: .78rem; white-space: nowrap; }
.preview-panel ul { list-style: none; padding: 0 13px; margin: 0; }
.preview-panel li + li { border-top: 1px solid #e6e1d2; }
.preview-panel li a { display: flex; gap: 10px; align-items: baseline; padding: 12px 0; color: var(--ink); text-decoration: none; font-size: .88rem; }
.preview-panel li a:hover strong { color: #6e4a26; text-decoration: underline; }
.preview-panel li strong { margin-right: auto; overflow-wrap: anywhere; }
.preview-panel li span { color: var(--muted); font-size: .77rem; font-variant-numeric: tabular-nums; text-align: right; }
.preview-panel li .preview-arrow { font-size: 1.05rem; line-height: 1; }
.footer { border-top: 1px solid var(--line); background: var(--surface-muted); padding: 18px 0; }
.footer-body { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; white-space: nowrap; }
.footer-brand { text-decoration: none; color: var(--pine); font: 700 1.12rem var(--display); }
.footer nav { display: flex; gap: 14px; font-size: .75rem; }
.crumb { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 10px; font-size: .78rem; color: var(--muted); margin-bottom: 15px; }
.page-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.page-heading h1 { font-size: clamp(1.6rem, 4vw, 2.55rem); line-height: 1.25; overflow-wrap: anywhere; }
[data-area] { --area-accent: var(--pine); }
[data-area="grassland"] { --area-accent: #4D6534; }
[data-area="forest"], [data-area="grove"], [data-area="mycelium"] { --area-accent: #53613A; }
[data-area="ruins"], [data-area="crypt"], [data-area="vault"], [data-area="archive"] { --area-accent: #746243; }
[data-area="coast"], [data-area="cove"] { --area-accent: #2F6B62; }
[data-area="desert"] { --area-accent: #8A552A; }
[data-area="snow"] { --area-accent: #39627B; }
[data-area="volcano"] { --area-accent: var(--boss); }
[data-area="sky"] { --area-accent: #415A79; }
[data-area="space"], [data-area="core"] { --area-accent: var(--purple); }
[data-area] .page-heading { border-inline-start: 3px solid var(--area-accent); padding-inline-start: 10px; }
.badge-stage { color: var(--area-accent, var(--pine)); border-color: currentColor; background: var(--card); }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding: 13px; background: var(--card); border: 1px solid var(--line); }
.filters label { display: grid; min-width: 0; gap: 4px; font-size: .78rem; font-weight: 700; }
.filter-search { flex: 1 1 240px; }
.filter-options { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; max-width: 100%; }
.filters input, .filters select { width: 100%; min-height: 38px; color: var(--ink); padding: 6px 8px; background: var(--card); border: 1px solid var(--control-line); }
.filter-options label { width: 112px; }
.filter-options label:has([name="area"], [name="skill"], [name="effect"], [name="sort"]) { width: 150px; }
.filter-actions { display: flex; gap: 8px; align-items: center; min-width: 102px; }
.filters button, .filters a { font-size: .84rem; }
.filters button { min-height: 38px; }
.filters a { padding: 7px 3px; }
.result-count { margin: 13px 0 6px; color: var(--muted); font-size: .84rem; }
.artifact-coverage { margin-bottom: 12px; color: var(--muted); font-size: .84rem; }
.entry-section { margin-top: 23px; }
.entry-section .result-count { margin-top: 0; }
.entry-lead, .section-intro { max-width: 72ch; margin-bottom: 12px; }
.entry-source { margin-top: 5px; color: var(--muted); font-size: .82rem; }
.entry-section .section-heading a { color: inherit; text-decoration: none; }
.entry-section .section-heading a:hover, .entry-section:target .section-heading a { text-decoration: underline; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.table-box { max-width: 100%; overflow: auto; border: 1px solid var(--line); background: var(--card); }
table { width: 100%; border-spacing: 0; font-size: .95rem; font-variant-numeric: tabular-nums; }
.equipment-table table, .three-column-table table, .two-column-table table, .pet-table table, .artifact-table table { table-layout: fixed; }
.equipment-table table { min-width: 680px; }
.equipment-table thead th:first-child { width: 31%; }
.equipment-table thead th:nth-child(2) { width: 10%; }
.equipment-table thead th:nth-child(3) { width: 11%; }
.entry-name { display: flex; align-items: center; gap: 9px; }
.entry-name a, .three-column-table tbody th, .two-column-table tbody th, .pet-table tbody th, .pet-table td:last-child, .artifact-table th, .artifact-table td {
  white-space: normal;
  overflow-wrap: anywhere;
}
.entry-image { width: 36px; height: 36px; flex: none; padding: 1px; background: var(--surface-muted); border: 1px solid var(--line); object-fit: contain; image-rendering: pixelated; }
span.entry-image { display: grid; place-items: center; color: var(--muted); }
.page-heading .entry-image { width: 48px; height: 48px; }
.entry-visual { display: grid; grid-template-columns: minmax(145px, 24%) minmax(0, 1fr); gap: 14px; }
.entry-visual--list { align-items: start; }
.entry-visual--compact { grid-template-columns: minmax(112px, 13%) minmax(0, 1fr); }
.entry-art { display: grid; place-items: center; min-height: 240px; margin: 0; padding: 16px; border: 1px solid var(--line); background: var(--surface-muted); }
.entry-art .entry-image { width: min(100%, 192px); height: auto; aspect-ratio: 1; padding: 8px; background: var(--card); }
.entry-visual--compact .entry-art { min-height: 0; padding: 8px; }
.entry-visual--compact .entry-image { width: min(100%, 96px); padding: 5px; }
.entry-visual > .panel { display: grid; align-content: center; }
.equipment-comparison table { table-layout: fixed; }
.equipment-comparison thead th:first-child { width: 23%; }
.equipment-comparison th, .equipment-comparison td { white-space: normal; overflow-wrap: anywhere; }
.related-equipment { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 0; margin: 0; list-style: none; }
.related-equipment a { display: flex; height: 100%; min-width: 0; align-items: center; gap: 10px; padding: 10px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); background: var(--card); }
.related-equipment a:hover { border-color: #9a9b78; background: #fffae9; }
.related-equipment strong, .related-equipment small { display: block; overflow-wrap: anywhere; }
.related-equipment strong { font-size: .88rem; }
.related-equipment small { color: var(--muted); font-size: .74rem; }
.related-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.related-equipment + .related-filters { margin-top: 12px; }
.related-filters a { display: inline-flex; gap: 7px; align-items: center; padding: 5px 9px; font-size: .8rem; background: var(--surface-muted); border: 1px solid var(--line); }
.related-filters a:hover { background: #fffaf0; text-decoration: underline; }
.three-column-table table { min-width: 282px; }
.three-column-table thead th:first-child { width: 52%; }
.encounter-table thead th:first-child { width: 38%; }
.encounter-table thead th:nth-child(2) { width: 43%; }
.encounter-table td { white-space: normal; }
.encounter-level { overflow-wrap: anywhere; }
.spawn-positions { margin-top: 4px; color: var(--muted); font-size: .8rem; }
.spawn-positions summary { width: fit-content; color: var(--pine); cursor: pointer; }
.spawn-positions ul { margin: 4px 0 0; padding: 0; list-style: none; }
.spawn-positions li span { display: inline-block; }
.monster-table table { min-width: 390px; }
.monster-table thead th:first-child { width: 36%; }
.monster-table thead th:nth-child(2) { width: 17%; }
.monster-table thead th:nth-child(3) { width: 24%; }
.monster-table td:nth-child(n+3), .area-table th, .area-table td, .item-table th, .item-table td { white-space: normal; overflow-wrap: anywhere; }
.normal-stats-table td:nth-child(2) { white-space: normal; overflow-wrap: anywhere; }
.monster-drops td { white-space: normal; overflow-wrap: anywhere; }
.drop-heading { margin: 14px 0 7px; font-size: .95rem; }
.area-table thead th:first-child { width: 44%; }
.area-info-table table { table-layout: fixed; }
.area-info-table thead th:first-child { width: 33%; }
.area-info-table th, .area-info-table td { white-space: normal; overflow-wrap: anywhere; }
.item-table thead th:first-child { width: 38%; }
.item-table thead th:nth-child(2) { width: 24%; }
.area-map { border: 1px solid var(--line); background: var(--card); }
.map-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.map-usage { padding: 8px 12px; color: var(--muted); font-size: .85rem; }
.map-encounter-toggle { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px; font-size: .85rem; font-weight: 700; cursor: pointer; }
.map-encounter-toggle input { width: 17px; height: 17px; margin: 0; accent-color: var(--pine); cursor: inherit; }
.map-usage-touch { display: none; }
.map-viewport { overflow: hidden; height: clamp(220px, 66vh, 650px); background: var(--night); touch-action: pan-y; user-select: none; }
.map-viewport.is-zoomed { cursor: grab; touch-action: none; }
.map-viewport.is-dragging { cursor: grabbing; }
.map-canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
@media (pointer: coarse) {
  .map-usage-mouse { display: none; }
  .map-usage-touch { display: inline; }
}
.map-pin--entry { --marker: #355A4B; }
.map-pin--exit { --marker: #315A82; }
.map-pin--boss { --marker: #8F392B; }
.map-pin--chest { --marker: #825018; }
.map-pin--shop { --marker: #5C3B80; }
.map-pin--shared { --marker: #363E60; }
.map-pin-face { fill: var(--marker); stroke: var(--warm-white); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map-pin line { stroke: var(--warm-white); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map-pin .map-anchor { fill: var(--warm-white); stroke: none; }
.map-encounter-layer:not(.is-visible), .map-viewport:not(.has-encounter-levels) .map-encounter-level { display: none; }
.map-encounter-face { fill: var(--night); stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map-encounter image { image-rendering: pixelated; }
.map-encounter-level {
  fill: var(--warm-white); stroke: var(--night); stroke-width: .13; stroke-linejoin: round; paint-order: stroke;
  font-size: .43px; font-weight: 700; font-variant-numeric: tabular-nums; text-anchor: middle; dominant-baseline: central;
}
.map-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); list-style: none; gap: 1px; background: var(--line); margin: 0; padding: 1px 0 0; }
.map-legend li { display: grid; align-content: start; gap: 5px; min-width: 0; padding: 9px 12px; background: var(--card); }
.map-key { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--marker); }
.map-point-label { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 7px; font-size: .85rem; overflow-wrap: anywhere; }
.map-point-label small { color: var(--muted); font-size: .75rem; white-space: nowrap; }
.two-column-table thead th:first-child { width: 65%; }
.two-column-table tbody td { white-space: normal; overflow-wrap: anywhere; }
.pet-table table { min-width: 650px; }
.pet-table thead th:first-child { width: 25%; }
.pet-table thead th:nth-child(5) { width: 17%; }
.pet-table thead th:last-child { width: 24%; }
.pet-table td:nth-child(5) { white-space: normal; overflow-wrap: anywhere; }
.artifact-table table { min-width: 320px; }
.artifact-table thead th:first-child { width: 40%; }
.artifact-table thead th:nth-child(2) { width: 19%; }
.artifact-effects table { table-layout: fixed; }
.artifact-effects thead th:first-child { width: 46%; }
.artifact-effects th { white-space: normal; overflow-wrap: anywhere; }
.artifact-drop-table table { table-layout: fixed; }
.artifact-drop-table th { white-space: normal; }
.artifact-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.artifact-notes h3 { margin: 0 0 6px; font-size: .92rem; }
.artifact-cap { margin-top: 10px; color: var(--muted); font-size: .85rem; }
.artifact-facts { display: grid; gap: 6px; margin: 0; padding-inline-start: 1.4em; }
.artifact-growth p + p { margin-top: 7px; }
thead th { text-align: left; background: var(--surface-muted); color: var(--ink); font-size: .84rem; }
th, td { padding: 11px 12px; border-bottom: 1px solid #e6e1d2; text-align: left; white-space: nowrap; }
tbody tr:nth-child(even) > * { background: var(--paper); }
tbody tr:last-child > * { border-bottom: 0; }
tbody th a { font-weight: 700; }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 16px; }
.pager a, .pager [aria-current] { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 5px 10px; font-size: .94rem; font-variant-numeric: tabular-nums; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.pager a:hover { border-color: var(--pine); background: #fffae9; }
.pager [aria-current] { background: var(--night); color: var(--warm-white); border-color: var(--night); font-weight: 700; }
.pager a[rel="prev"], .pager a[rel="next"] { padding-inline: 14px; font-weight: 700; }
.pager a[rel="next"] { background: var(--pine); border-color: var(--pine); color: var(--card); }
.pager a[rel="next"]:hover { background: #244437; }
.panel, .empty { padding: 14px; border: 1px solid var(--line); background: var(--card); }
.info-page { max-width: 720px; margin-inline: auto; }
.prose { line-height: 1.85; overflow-wrap: anywhere; }
.prose h2 { font-size: 1.12rem; margin: 20px 0 5px; }
.prose p + p { margin-top: 10px; }
.prose ul { padding-inline-start: 1.4em; }
.prose li + li { margin-top: 6px; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 40px); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding-top: 8px; }
  .wordmark { justify-self: start; }
  .bar nav { grid-area: 2 / 1 / 3 / -1; flex-wrap: wrap; gap: 2px; margin: 0; }
  .top-search { grid-area: 1 / 2; }
  .bar nav a { padding: 7px 6px; font-size: .73rem; }
}
@media (min-width: 671px) {
  .entry-visual:not(.entry-visual--list) > .table-box > table { height: 100%; }
}
@media (max-width: 670px) {
  .shell { width: calc(100% - 28px); }
  main.shell { padding-top: 18px; padding-bottom: 36px; }
  .wordmark { font-size: 1.24rem; }
  .top-search { width: 34px; height: 32px; }
  .hero { min-height: 270px; }
  .hero::before { left: 0; background-position: 60% 62%; }
  .hero::after { background: linear-gradient(90deg, #151a33f5, #151a33aa 60%, #151a3350); }
  .hero-copy { padding: 24px 17px; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 4.15rem); }
  .hero p { font-size: .89rem; }
  .hero .search { margin-top: 18px; }
  .search { padding-left: 10px; gap: 10px; font-size: .89rem; }
  .search button { padding-inline: 10px; }
  .filter-search, .filter-options { flex-basis: 100%; }
  .filter-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-options label, .filter-options label:has([name="area"], [name="skill"], [name="effect"], [name="sort"]) { width: auto; }
  .directory { margin-top: 22px; }
  .category-grid { gap: 8px; }
  .category { gap: 7px; padding: 10px 7px; }
  .category .tile { width: 29px; height: 29px; }
  .category-copy strong { font-size: .78rem; overflow-wrap: anywhere; }
  .category-copy small { font-size: .66rem; }
  .category .arrow { display: none; }
  .preview-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .entry-visual { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .entry-art { min-height: 0; padding: 9px; }
  .entry-art .entry-image { width: min(100%, 128px); }
  .entry-visual--compact .entry-image { width: min(100%, 88px); }
  .artifact-notes { grid-template-columns: minmax(0, 1fr); }
  .artifact-table thead th:nth-child(2) { width: 22%; }
  .item-table .entry-name { gap: 6px; }
  .item-table .entry-image { width: 26px; height: 26px; }
  .related-equipment { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .related-equipment .arrow { display: none; }
  .footer nav { gap: 8px; }
  th, td { padding: 10px 8px; }
  .key-col, tbody th { position: sticky; left: 0; }
  tbody th { background: var(--card); box-shadow: 1px 0 #ded9c9; }
  tbody th a { display: block; white-space: normal; min-width: 110px; max-width: 145px; }
  .entry-name a, .three-column-table tbody th a, .two-column-table tbody th a, .pet-table tbody th a, .artifact-table tbody th a { min-width: 0; max-width: none; }
}
@media (max-width: 375px) {
  .bar { column-gap: 6px; }
  .wordmark { font-size: 1.04rem; gap: 6px; }
  .wordmark .tile { width: 28px; height: 28px; }
  .footer-body, .footer nav { gap: 6px; }
  .footer-brand { font-size: .94rem; }
  .footer nav { font-size: .68rem; }
}
