:root {
  color-scheme: dark;
  --bg: #101619;
  --surface: #182126;
  --surface-raised: #1e2a30;
  --surface-soft: #141d21;
  --border: #2b3d44;
  --border-strong: #405b65;
  --text: #e8f0f2;
  --muted: #a5b5ba;
  --faint: #71868d;
  --accent: #52bfd5;
  --accent-strong: #7bd9ea;
  --accent-soft: #173842;
  --link: #64cadc;
  --gold: #d5b868;
  --shadow: rgba(0, 0, 0, 0.3);
  --header-height: 68px;
  --sidebar-width: 248px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eef3f4;
  --surface: #fbfdfd;
  --surface-raised: #ffffff;
  --surface-soft: #e5edef;
  --border: #c2d0d4;
  --border-strong: #8fa6ad;
  --text: #202a2e;
  --muted: #53666c;
  --faint: #70848b;
  --accent: #1689a1;
  --accent-strong: #08738b;
  --accent-soft: #d4edf2;
  --link: #087e96;
  --gold: #8a6b18;
  --shadow: rgba(28, 45, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 10%, rgba(82, 191, 213, 0.07), transparent 32rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-strong);
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 2px 16px var(--shadow);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  max-width: 1480px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 38px;
  height: 38px;
  image-rendering: pixelated;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  letter-spacing: 0.01em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.github-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface-raised);
  cursor: pointer;
}

.theme-button .sun,
:root[data-theme="light"] .theme-button .moon {
  display: none;
}

:root[data-theme="light"] .theme-button .sun {
  display: inline;
}

.menu-button {
  display: none;
  margin-right: 12px;
}

.menu-button span {
  width: 17px;
  height: 2px;
  margin: 2px;
  background: currentColor;
}

.site-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  max-width: 1480px;
  min-height: calc(100vh - var(--header-height));
  margin: 0 auto;
}

.site-sidebar {
  position: sticky;
  top: var(--header-height);
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 30px 26px 22px;
  border-right: 1px solid var(--border);
}

.site-sidebar nav > a,
.nav-section a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px;
  color: var(--muted);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}

.site-sidebar a:hover {
  color: var(--text);
  background: var(--surface-soft);
}

.site-sidebar a.active {
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.nav-home {
  margin-bottom: 22px;
  color: var(--text) !important;
  font-weight: 700 !important;
}

.nav-section {
  margin-bottom: 24px;
}

.nav-section h2 {
  margin: 0 10px 7px;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-section h2 a {
  min-height: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 800;
}

.nav-section h2 a:hover {
  color: var(--accent);
  background: transparent;
}

.nav-glyph {
  width: 20px;
  font-size: 9px;
}

.item-glyph {
  color: #d0a98f;
}

.block-glyph {
  color: #7fc7d6;
}

.biome-glyph {
  color: #75b7a8;
}

.structure-glyph {
  color: #b7a2d8;
}

.mechanic-glyph {
  color: #d3b76d;
}

.guide-glyph {
  color: #8fa8bd;
  font-size: 15px;
}

.sidebar-version {
  margin: auto 10px 0;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.55;
}

.sidebar-scrim {
  display: none;
}

.site-main {
  min-width: 0;
  padding: 48px clamp(28px, 5vw, 78px) 80px;
}

.wiki-article,
.wiki-home {
  max-width: 1040px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.infobox-title {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.article-summary {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.article-body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.article-body > p:first-child {
  font-size: 18px;
}

.article-body h2 {
  margin: 38px 0 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--border);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.article-body h3 {
  margin: 25px 0 7px;
  font-size: 20px;
}

.article-body blockquote {
  margin: 24px 0;
  padding: 12px 16px;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  background: var(--surface-soft);
}

.article-body blockquote p {
  margin: 0;
}

.infobox {
  float: right;
  width: 300px;
  margin: 0 0 30px 38px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background: var(--surface);
  box-shadow: 0 8px 28px var(--shadow);
  font-size: 13px;
}

.infobox-title {
  padding: 10px 13px;
  color: #f1f4ea;
  background: linear-gradient(135deg, #176779, #124956);
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.infobox-media {
  display: grid;
  place-items: center;
  min-height: 180px;
  margin: 0;
  padding: 18px;
  background:
    linear-gradient(45deg, color-mix(in srgb, var(--surface-soft) 76%, transparent) 25%, transparent 25%) 0 0 / 16px 16px,
    linear-gradient(-45deg, color-mix(in srgb, var(--surface-soft) 76%, transparent) 25%, transparent 25%) 0 8px / 16px 16px,
    var(--surface-raised);
}

.infobox-media.texture img,
.infobox-media.item img {
  width: 128px;
  max-height: 128px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.28));
}

.infobox-media.screenshot {
  min-height: auto;
  padding: 8px;
}

.infobox-media.model {
  min-height: 260px;
  padding: 5px;
}

.infobox-media.model img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.34));
}

.infobox-media.screenshot img {
  width: 100%;
  max-height: 210px;
  object-fit: cover;
}

.infobox table {
  width: 100%;
  border-collapse: collapse;
}

.infobox th,
.infobox td {
  padding: 7px 11px;
  border-top: 1px solid var(--border);
  vertical-align: top;
}

.infobox th {
  width: 47%;
  color: var(--muted);
  font-weight: 650;
  text-align: left;
}

.infobox td {
  color: var(--text);
}

.recipe-card {
  display: inline-flex;
  flex-direction: column;
  width: min(440px, 100%);
  margin: 10px 16px 22px 0;
  overflow: hidden;
  vertical-align: top;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 5px 18px var(--shadow);
}

.recipe-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.recipe-kind {
  color: var(--accent);
  font-size: 9px;
}

.recipe-workbench {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  min-height: 190px;
  padding: 18px;
  background: #c6c6c6;
  box-shadow:
    inset 3px 3px #fff,
    inset -3px -3px #555;
}

.crafting-grid {
  display: grid;
  grid-template-columns: repeat(3, 48px);
  grid-template-rows: repeat(3, 48px);
  gap: 4px;
}

.recipe-output {
  display: grid;
  place-items: center;
}

.furnace-workbench {
  min-height: 126px;
}

.furnace-process {
  display: grid;
  place-items: center;
}

.furnace-flame {
  width: 22px;
  height: 30px;
  background: linear-gradient(#ffe45c 35%, #f59b35 36% 69%, #d9572b 70%);
  clip-path: polygon(50% 0, 70% 24%, 92% 45%, 100% 72%, 78% 100%, 22% 100%, 0 72%, 12% 42%, 31% 58%, 31% 25%);
  filter: drop-shadow(2px 2px 0 #8c5727);
}

.item-stack {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: white;
  outline: none;
  background: #8b8b8b;
  box-shadow:
    inset 3px 3px #373737,
    inset -3px -3px #fff;
  text-decoration: none;
}

.item-stack.linked-item:hover,
.item-stack.linked-item:focus-visible {
  z-index: 3;
  background: #76959b;
  box-shadow:
    inset 3px 3px #285662,
    inset -3px -3px #bff6ff,
    0 0 0 2px #42c6df;
}

.item-stack::after {
  position: absolute;
  z-index: 10;
  bottom: calc(100% + 7px);
  left: 50%;
  width: max-content;
  max-width: 180px;
  padding: 5px 8px;
  color: #fff;
  border: 1px solid #4e54a8;
  background: rgba(15, 9, 28, 0.96);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
  content: attr(data-item-name);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 3px);
  transition: opacity 90ms ease, transform 90ms ease;
}

.item-stack:hover::after,
.item-stack:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.empty-slot::after {
  display: none;
}

.item-icon {
  display: block;
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.atlas-icon {
  background-image: var(--atlas-image);
  background-position:
    calc(var(--atlas-x) * -32px)
    calc(var(--atlas-y) * -32px);
  background-size: 512px 512px;
}

.image-icon {
  object-fit: contain;
  image-rendering: pixelated;
}

.rendered-icon {
  width: 46px;
  height: 46px;
  transform: scale(1.25);
}

.item-count {
  position: absolute;
  right: 4px;
  bottom: 1px;
  color: #fff;
  font-family: "Courier New", monospace;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-shadow:
    2px 2px 0 #3f3f3f,
    -1px -1px 0 #3f3f3f,
    1px -1px 0 #3f3f3f,
    -1px 1px 0 #3f3f3f;
}

.recipe-arrow {
  position: relative;
  width: 37px;
  height: 24px;
}

.recipe-arrow::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 26px;
  height: 9px;
  background: #5d5d5d;
  box-shadow: 0 2px #fff;
  content: "";
}

.recipe-arrow::after {
  position: absolute;
  top: 1px;
  right: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 14px solid #5d5d5d;
  content: "";
}

.recipe-card figcaption {
  padding: 10px 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.enhancement-card {
  width: min(620px, 100%);
  margin: 12px 0 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 5px 18px var(--shadow);
}

.enhancement-name {
  padding: 13px 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 650;
}

.enhancement-tiers {
  padding: 5px 14px;
}

.enhancement-tier {
  display: grid;
  grid-template-columns: 74px minmax(120px, 1fr) auto 48px;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.enhancement-tier:last-child {
  border-bottom: 0;
}

.tier-label {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tier-effect {
  color: var(--text);
  font-weight: 650;
}

.tier-cost-label {
  color: var(--faint);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wiki-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  clear: both;
  margin: 24px 0;
}

.wiki-gallery figure {
  margin: 0;
  padding: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.wiki-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.wiki-gallery .gallery-fit-natural img {
  aspect-ratio: auto;
  object-fit: contain;
}

.wiki-gallery figcaption {
  padding: 8px 5px 3px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
}

.item-preview {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  margin: 12px 0 26px;
  padding: 24px;
  border: 1px solid var(--border);
  background:
    linear-gradient(45deg, color-mix(in srgb, var(--surface-soft) 76%, transparent) 25%, transparent 25%) 0 0 / 16px 16px,
    linear-gradient(-45deg, color-mix(in srgb, var(--surface-soft) 76%, transparent) 25%, transparent 25%) 0 8px / 16px 16px,
    var(--surface-raised);
}

.item-preview img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.32));
}

.item-preview figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
}

.article-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  clear: both;
  margin-top: 50px;
  padding: 13px 16px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--surface-soft);
  font-size: 13px;
}

.article-categories span {
  font-weight: 750;
}

.index-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.index-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  text-decoration: none;
}

.index-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.index-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  align-items: center;
  padding: clamp(30px, 6vw, 64px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--accent-soft) 76%, transparent)),
    var(--surface);
  box-shadow: 0 14px 40px var(--shadow);
}

.hero-action {
  display: inline-flex;
  margin-top: 16px;
  padding: 9px 15px;
  color: #eafcff;
  border: 1px solid #3aaac0;
  border-radius: 4px;
  background: #176779;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.hero-action:hover {
  color: white;
  background: #1b7890;
}

.hero h1 {
  max-width: 620px;
}

.hero-copy {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.hero-copy p {
  margin: 0 0 10px;
}

.hero-logo {
  width: clamp(100px, 15vw, 170px);
  opacity: 0.92;
  image-rendering: pixelated;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.3));
}

.browse-section {
  margin-top: 42px;
}

.feature-showcase {
  margin-top: 42px;
}

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

.feature-card {
  overflow: hidden;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 7px 22px var(--shadow);
  text-decoration: none;
}

a.feature-card:hover {
  color: var(--text);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.feature-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.feature-card div {
  padding: 16px 17px 18px;
}

.feature-card h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 550;
}

.feature-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading .rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}

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

.portal-card {
  display: flex;
  gap: 15px;
  min-height: 150px;
  padding: 17px;
  color: var(--text);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 6px 20px var(--shadow);
  text-decoration: none;
}

.portal-card:hover {
  color: var(--text);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.portal-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  image-rendering: pixelated;
}

.block-card img,
.biome-card img,
.structure-card img {
  object-fit: cover;
}

.portal-label {
  display: block;
  color: var(--faint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-card strong {
  display: block;
  margin-top: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.portal-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.item-card {
  border-top-color: #a78d7b;
}

.block-card {
  border-top-color: #7895b5;
}

.biome-card {
  border-top-color: #79a55d;
}

.structure-card {
  border-top-color: #9b83bd;
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-grid;
  }

  .site-shell {
    display: block;
  }

  .site-sidebar {
    position: fixed;
    z-index: 40;
    top: var(--header-height);
    bottom: 0;
    left: 0;
    width: min(290px, 84vw);
    height: auto;
    background: var(--surface);
    box-shadow: 12px 0 30px var(--shadow);
    transform: translateX(-105%);
    transition: transform 160ms ease;
  }

  body.nav-open .site-sidebar {
    transform: translateX(0);
  }

  .sidebar-scrim {
    position: fixed;
    z-index: 35;
    inset: var(--header-height) 0 0;
    width: 100%;
    height: auto;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.54);
  }

  body.nav-open .sidebar-scrim {
    display: block;
  }

  .site-main {
    padding: 38px clamp(20px, 5vw, 50px) 70px;
  }

  .portal-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    display: grid;
    grid-template-columns: minmax(180px, 38%) 1fr;
  }

  .feature-card img {
    height: 100%;
    min-height: 170px;
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 60px;
  }

  .header-inner {
    padding: 0 14px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .github-link {
    display: none;
  }

  .site-main {
    padding: 28px 16px 58px;
  }

  .article-header {
    margin-bottom: 20px;
  }

  h1 {
    font-size: 38px;
  }

  .article-body {
    font-size: 16px;
  }

  .infobox {
    float: none;
    width: 100%;
    margin: 0 0 28px;
  }

  .infobox-media.screenshot img {
    max-height: 260px;
  }

  .infobox-media.model {
    min-height: 230px;
  }

  .wiki-gallery {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .hero-logo {
    display: none;
  }

  .portal-card {
    min-height: 130px;
  }

  .feature-card {
    display: block;
  }

  .feature-card img {
    height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .recipe-workbench {
    gap: 13px;
    padding: 14px 8px;
  }

  .crafting-grid {
    grid-template-columns: repeat(3, 42px);
    grid-template-rows: repeat(3, 42px);
    gap: 3px;
  }

  .item-stack {
    width: 42px;
    height: 42px;
  }

  .recipe-arrow {
    width: 30px;
    transform: scale(0.82);
  }

  .enhancement-tier {
    grid-template-columns: 64px minmax(0, 1fr) 42px;
    gap: 10px;
  }

  .enhancement-tier .item-stack {
    width: 42px;
    height: 42px;
  }

  .tier-cost-label {
    display: none;
  }
}
