/* Nexus City, Erz-Rezepte Seite */
.nc-rezepte-hero {
  position: relative;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ——— Hub ——— */
.nc-rezepte-hub {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nc-hub-tile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(8, 4, 22, 0.85), rgba(0, 0, 0, 0.5));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.nc-hub-tile:hover {
  border-color: rgba(0, 225, 253, 0.35);
  box-shadow: 0 12px 40px -16px rgba(0, 225, 253, 0.25);
  transform: translateY(-2px);
}

.nc-hub-tile--elektro:hover {
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 12px 40px -16px rgba(251, 191, 36, 0.2);
}

.nc-hub-tile--erze:hover {
  border-color: rgba(0, 225, 253, 0.4);
}

.nc-hub-tile--utility:hover {
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow: 0 12px 40px -16px rgba(192, 132, 252, 0.22);
}

.nc-hub-tile--farm:hover {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 12px 40px -16px rgba(52, 211, 153, 0.2);
}

.nc-hub-tile--links {
  cursor: default;
  background: rgba(0, 0, 0, 0.35);
}

.nc-hub-tile--links:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.1);
}

.nc-hub-tile__icon {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  font-size: 1.35rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nc-hub-tile--elektro .nc-hub-tile__icon {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.1);
}

.nc-hub-tile--erze .nc-hub-tile__icon {
  color: #00e1fd;
  border-color: rgba(0, 225, 253, 0.35);
  background: rgba(0, 225, 253, 0.08);
}

.nc-hub-tile__icon--muted {
  color: rgba(255, 255, 255, 0.45);
}

.nc-hub-tile__body {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.nc-hub-tile__title {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.nc-hub-tile__desc {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.58);
}

.nc-hub-tile__meta {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.nc-hub-tile__arrow {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  transition: background 0.25s ease, color 0.25s ease;
}

.nc-hub-tile:hover .nc-hub-tile__arrow {
  background: rgba(0, 225, 253, 0.15);
  color: #00e1fd;
}

.nc-hub-tile__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.65rem;
}

.nc-hub-tile__links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nc-hub-tile__links a:hover {
  color: #00e1fd;
}

.nc-hub-tile__links a i {
  margin-right: 0.35rem;
  opacity: 0.7;
}

/* ——— Subnav ——— */
.nc-rezepte-subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.nc-rezepte-back,
.nc-rezepte-sibling {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nc-rezepte-back:hover,
.nc-rezepte-sibling:hover {
  color: #00e1fd;
  border-color: rgba(0, 225, 253, 0.3);
  background: rgba(0, 225, 253, 0.06);
}

.nc-rezepte-subnav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nc-rezepte-subnav--hub {
  justify-content: flex-start;
}

.nc-rezepte-sibling--farm {
  color: #a5f3fc;
  border-color: rgba(0, 225, 253, 0.35);
  background: rgba(0, 225, 253, 0.1);
  font-weight: 600;
}

.nc-rezepte-sibling--farm:hover {
  color: #e0f2fe;
  border-color: rgba(0, 225, 253, 0.55);
  background: rgba(0, 225, 253, 0.16);
}

/* ——— Layout + TOC ——— */
.nc-rezepte-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .nc-rezepte-layout {
    grid-template-columns: 220px minmax(0, 1fr) 280px;
    gap: 2rem;
  }

  .nc-rezepte-layout--hub {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

.nc-rezepte-farmliste {
  min-width: 0;
}

@media (max-width: 1023px) {
  .nc-rezepte-farmliste {
    position: fixed;
    inset: 0;
    z-index: 120;
    pointer-events: none;
    height: 0;
    overflow: visible;
  }
}

@media (min-width: 1024px) {
  .nc-rezepte-farmliste {
    position: relative;
    align-self: start;
  }
}

.nc-rezepte-toc {
  position: sticky;
  top: 6rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.nc-rezepte-toc__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.nc-rezepte-toc__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nc-rezepte-toc__link {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  line-height: 1.3;
  transition: background 0.2s ease, color 0.2s ease;
}

.nc-rezepte-toc__link:hover,
.nc-rezepte-toc__link.is-active {
  background: rgba(0, 225, 253, 0.1);
  color: #fff;
}

.nc-rezepte-toc__step {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: var(--toc-color, #00e1fd);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nc-rezepte-toc__text {
  flex: 1;
  min-width: 0;
}

.nc-rezepte-toc__title {
  display: block;
  font-weight: 600;
}

.nc-rezepte-toc__count {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1023px) {
  .nc-rezepte-toc {
    position: static;
    display: flex;
    flex-direction: column;
  }

  .nc-rezepte-toc__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nc-rezepte-toc__link {
    flex: 1 1 auto;
    min-width: 140px;
  }
}

/* ——— Stage accordion ——— */
.nc-stage-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nc-stage-accordion {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(8, 4, 22, 0.92), rgba(0, 0, 0, 0.55));
  overflow: hidden;
}

.nc-stage-accordion.nc-electro-stage::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--electro-cyan, #00e1fd), transparent);
  opacity: 0.85;
  pointer-events: none;
}

.nc-stage-accordion.nc-electro-stage {
  position: relative;
}

.nc-stage-accordion.nc-electro-stage--starter::before {
  background: linear-gradient(180deg, #34d399, rgba(52, 211, 153, 0.1));
}

.nc-stage-accordion.nc-electro-stage--alloy::before {
  background: linear-gradient(180deg, #00e1fd, rgba(0, 225, 253, 0.1));
}

.nc-stage-accordion.nc-electro-stage--l2 {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 40px -16px rgba(168, 85, 247, 0.25);
}

.nc-stage-accordion.nc-electro-stage--l2::before {
  background: linear-gradient(180deg, #c084fc, #fcd34d);
}

.nc-stage-accordion__head {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  text-align: left;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}

.nc-stage-accordion__head:focus-visible {
  outline: 2px solid var(--nc-cyan, #00e1fd);
  outline-offset: -2px;
}

.nc-stage-accordion__meta {
  min-width: 0;
}

.nc-stage-accordion__count {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

.nc-stage-accordion__chevron {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.nc-stage-accordion.is-open .nc-stage-accordion__chevron {
  transform: rotate(180deg);
  background: rgba(0, 225, 253, 0.15);
}

.nc-stage-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.nc-stage-accordion.is-open .nc-stage-accordion__panel {
  grid-template-rows: 1fr;
}

.nc-stage-accordion__inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 1rem 1rem;
}

.nc-stage-accordion.is-open .nc-stage-accordion__inner {
  padding-top: 0.25rem;
}

/* ——— Recipe accordion (per item) ——— */
.nc-recipe-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nc-recipe-accordion-list + .nc-recipe-accordion-list {
  margin-top: 0.65rem;
}

.nc-recipe-accordion {
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.nc-recipe-accordion:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.nc-recipe-accordion.is-open {
  border-color: rgba(0, 225, 253, 0.28);
  box-shadow: 0 4px 24px -8px rgba(0, 225, 253, 0.15);
}

.nc-recipe-accordion--l2.is-open {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 4px 24px -8px rgba(168, 85, 247, 0.2);
}

.nc-recipe-accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  text-align: left;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}

.nc-recipe-accordion__head:focus-visible {
  outline: 2px solid var(--nc-cyan, #00e1fd);
  outline-offset: -2px;
}

.nc-recipe-accordion__preview-icon {
  flex-shrink: 0;
}

.nc-recipe-accordion__meta {
  flex: 1;
  min-width: 0;
}

.nc-recipe-accordion__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  margin-bottom: 0.2rem;
}

.nc-recipe-accordion__badge--wb {
  color: rgba(251, 191, 36, 0.85);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.nc-recipe-accordion__badge--alloy {
  color: rgba(103, 232, 249, 0.9);
  background: rgba(0, 225, 253, 0.08);
  border: 1px solid rgba(0, 225, 253, 0.25);
}

.nc-recipe-accordion__badge--l2 {
  color: rgba(216, 180, 254, 0.95);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.nc-recipe-accordion__title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.nc-recipe-accordion__chevron {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  transition: transform 0.35s ease, background 0.25s ease, color 0.25s ease;
}

.nc-recipe-accordion.is-open .nc-recipe-accordion__chevron {
  transform: rotate(180deg);
  background: rgba(0, 225, 253, 0.12);
  color: #00e1fd;
}

.nc-recipe-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nc-recipe-accordion.is-open .nc-recipe-accordion__panel {
  grid-template-rows: 1fr;
}

.nc-recipe-accordion__inner {
  overflow: hidden;
  min-height: 0;
}

.nc-recipe-accordion__inner .nc-electro-recipe-card,
.nc-recipe-accordion__inner .nc-electro-alloy-card {
  border: none;
  background: transparent;
  padding: 0 1rem 1rem;
  box-shadow: none;
  transform: none;
}

.nc-recipe-accordion__inner .nc-electro-recipe-card:hover,
.nc-recipe-accordion__inner .nc-electro-alloy-card:hover {
  transform: none;
  box-shadow: none;
}

.nc-electro-recipe-card--body-only,
.nc-electro-alloy-card--body-only {
  padding-top: 0;
}

@media (max-width: 640px) {
  .nc-stage-accordion__head {
    grid-template-columns: auto 1fr auto;
    padding: 1rem;
  }

  .nc-stage-accordion__head .nc-electro-stage__badge {
    grid-column: 1 / -1;
    margin-left: 3.35rem;
  }

  .nc-recipe-accordion__head {
    padding: 0.65rem 0.85rem;
    gap: 0.65rem;
  }

  .nc-hub-tile {
    padding: 1.1rem;
    gap: 1rem;
  }

  .nc-hub-tile__arrow {
    display: none;
  }
}


.nc-rezepte-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.nc-rezepte-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nc-rezepte-legend code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
}

.nc-rezepte-legend code.sym-B { color: #facc15; border-color: rgba(250, 204, 21, 0.4); }
.nc-rezepte-legend code.sym-I { color: #a78bfa; border-color: rgba(167, 139, 250, 0.4); }
.nc-rezepte-legend code.sym-S { color: #86efac; border-color: rgba(134, 239, 172, 0.4); }
.nc-rezepte-legend code.sym-O { color: #67e8f9; border-color: rgba(103, 232, 249, 0.4); }
.nc-rezepte-legend code.sym-F { color: #fb923c; border-color: rgba(251, 146, 60, 0.4); }
.nc-rezepte-legend code.sym-R { color: #f87171; border-color: rgba(248, 113, 113, 0.4); }
.nc-rezepte-legend code.sym-C { color: #94a3b8; border-color: rgba(148, 163, 184, 0.4); }
.nc-rezepte-legend code.sym-G { color: #7dd3fc; border-color: rgba(125, 211, 252, 0.4); }

.nc-tier-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nc-tier-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 4, 22, 0.65);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.nc-tier-card:hover {
  border-color: rgba(0, 225, 253, 0.25);
}

.nc-tier-card.is-open {
  box-shadow: 0 0 40px -10px var(--tier-glow, rgba(0, 225, 253, 0.2));
}

.nc-tier-card__header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}

.nc-tier-card__header:focus-visible {
  outline: 2px solid var(--nc-cyan);
  outline-offset: -2px;
}

.nc-tier-card__tier {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nc-tier-card__meta {
  flex: 1;
  min-width: 0;
}

.nc-tier-card__name {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.nc-tier-card__sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.2rem;
}

.nc-tier-card__chevron {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.nc-tier-card.is-open .nc-tier-card__chevron {
  transform: rotate(180deg);
  background: rgba(0, 225, 253, 0.15);
}

.nc-tier-card__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.nc-tier-card.is-open .nc-tier-card__panel {
  grid-template-rows: 1fr;
}

.nc-tier-card__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.nc-tier-card__content {
  padding: 0 1.5rem 1.5rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
}

.nc-tier-card.is-open .nc-tier-card__content {
  opacity: 1;
  transform: translateY(0);
}

.nc-tier-section {
  margin-top: 1.25rem;
}

.nc-tier-section h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nc-cyan);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.nc-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.nc-info-chip {
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.nc-info-chip strong {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.2rem;
}

.nc-smelt-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.nc-smelt-chain .arrow {
  color: var(--nc-cyan);
  opacity: 0.7;
}

.nc-effect-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nc-effect-item {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--tier-color, var(--nc-cyan));
  font-size: 0.85rem;
}

.nc-effect-item strong {
  color: #fff;
  display: block;
  margin-bottom: 0.15rem;
}

.nc-set-bonus {
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(0, 225, 253, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.nc-set-bonus h5 {
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 0.35rem;
}

.nc-set-bonus ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.nc-set-bonus li {
  padding: 0.25rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.nc-set-bonus li::before {
  content: "✦ ";
  color: #fbbf24;
}

.nc-recipe-grid-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.nc-recipe-card {
  padding: 1rem;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease;
}

.nc-recipe-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.nc-recipe-card h5 {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}

.nc-info-chip--mine strong { color: #fbbf24; }

.nc-mining-section h2 i { opacity: 0.9; }
.nc-mining-rule { transition: border-color 0.2s ease; }
.nc-mining-rule:hover { border-color: rgba(251, 191, 36, 0.35); }

.nc-craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 2rem);
  gap: 3px;
  margin: 0 auto;
  width: fit-content;
}

.nc-craft-cell {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.25);
}

.nc-craft-cell.filled {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.nc-craft-cell.sym-B { border-color: rgba(250, 204, 21, 0.5); color: #facc15; }
.nc-craft-cell.sym-I { border-color: rgba(167, 139, 250, 0.5); color: #c4b5fd; }
.nc-craft-cell.sym-S { border-color: rgba(134, 239, 172, 0.5); color: #86efac; }
.nc-craft-cell.sym-O { border-color: rgba(103, 232, 249, 0.5); color: #67e8f9; }
.nc-craft-cell.sym-F { border-color: rgba(251, 146, 60, 0.5); color: #fb923c; }
.nc-craft-cell.sym-R { border-color: rgba(248, 113, 113, 0.5); color: #f87171; }
.nc-craft-cell.sym-C { border-color: rgba(148, 163, 184, 0.5); color: #94a3b8; }
.nc-craft-cell.sym-G { border-color: rgba(125, 211, 252, 0.5); color: #7dd3fc; }

.nc-rezepte-legend code.sym-F { color: #fb923c; border-color: rgba(251, 146, 60, 0.4); }
.nc-rezepte-legend code.sym-R { color: #f87171; border-color: rgba(248, 113, 113, 0.4); }
.nc-rezepte-legend code.sym-C { color: #94a3b8; border-color: rgba(148, 163, 184, 0.4); }
.nc-rezepte-legend code.sym-G { color: #7dd3fc; border-color: rgba(125, 211, 252, 0.4); }

@media (max-width: 640px) {
  .nc-tier-card__header {
    padding: 1rem;
    gap: 0.75rem;
  }
  .nc-tier-card__name {
    font-size: 1.15rem;
  }
  .nc-tier-card__content {
    padding: 0 1rem 1rem;
  }
  .nc-recipe-grid-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

/* ——— Elektro-Crafting (Premium Wiki Layout) ——— */
.nc-electro-section,
[data-rezepte-page="elektro"] {
  --electro-icon: 2.75rem;
  --electro-icon-lg: 3.5rem;
  --electro-icon-xl: 4.25rem;
  --electro-icon-sm: 2.35rem;
  --electro-cyan: #00e1fd;
  --electro-amber: #fbbf24;
  --electro-purple: #c084fc;
  --electro-gold: #fcd34d;
}

.nc-electro-hero {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nc-electro-hero__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--electro-amber);
  margin: 0;
}

.nc-electro-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(0, 225, 253, 0.12));
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 0 20px -6px rgba(251, 191, 36, 0.35);
}

.nc-electro-hero__lead {
  margin: 0.85rem 0 0;
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.nc-electro-stages {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.nc-electro-stage {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(8, 4, 22, 0.92), rgba(0, 0, 0, 0.55));
  padding: 1.25rem 1.25rem 1.5rem;
  overflow: hidden;
}

.nc-electro-stage::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--electro-cyan), transparent);
  opacity: 0.85;
}

.nc-electro-stage--starter::before {
  background: linear-gradient(180deg, #34d399, rgba(52, 211, 153, 0.1));
}

.nc-electro-stage--alloy::before {
  background: linear-gradient(180deg, var(--electro-cyan), rgba(0, 225, 253, 0.1));
}

.nc-electro-stage--l2 {
  border-color: rgba(168, 85, 247, 0.35);
  background: linear-gradient(160deg, rgba(46, 16, 74, 0.55), rgba(0, 0, 0, 0.6));
  box-shadow: 0 0 40px -16px rgba(168, 85, 247, 0.35);
}

.nc-electro-stage--l2::before {
  background: linear-gradient(180deg, var(--electro-purple), var(--electro-gold));
}

.nc-electro-stage__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.25rem;
  align-items: start;
  margin-bottom: 1.25rem;
  padding-left: 0.35rem;
}

.nc-electro-stage__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.nc-electro-stage--l2 .nc-electro-stage__step {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(251, 191, 36, 0.25));
  border-color: rgba(216, 180, 254, 0.45);
}

.nc-electro-stage__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nc-electro-stage__title i {
  opacity: 0.75;
  font-size: 0.95rem;
}

.nc-electro-stage__desc {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.58);
}

.nc-electro-stage__badge {
  align-self: start;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nc-electro-stage__badge--emerald {
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(16, 185, 129, 0.12);
}

.nc-electro-stage__badge--cyan {
  color: #67e8f9;
  border-color: rgba(0, 225, 253, 0.35);
  background: rgba(0, 225, 253, 0.1);
}

.nc-electro-stage__badge--purple {
  color: #e9d5ff;
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.14);
}

.nc-electro-wb-list,
.nc-electro-alloy-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nc-electro-recipe-card,
.nc-electro-alloy-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.32);
  padding: 1.1rem 1.15rem 1.15rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.nc-electro-recipe-card:hover,
.nc-electro-alloy-card:hover {
  border-color: rgba(0, 225, 253, 0.28);
  box-shadow: 0 8px 32px -12px rgba(0, 225, 253, 0.22);
  transform: translateY(-1px);
}

.nc-electro-alloy-card--l2 {
  border-color: rgba(168, 85, 247, 0.32);
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.16), rgba(0, 0, 0, 0.38));
}

.nc-electro-alloy-card--l2:hover {
  border-color: rgba(216, 180, 254, 0.45);
  box-shadow: 0 8px 36px -12px rgba(168, 85, 247, 0.28);
}

.nc-electro-recipe-card__head,
.nc-electro-alloy-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.nc-electro-recipe-card__where,
.nc-electro-alloy-card__machine {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(251, 191, 36, 0.8);
  margin-bottom: 0.2rem;
}

.nc-electro-alloy-card__machine {
  color: rgba(103, 232, 249, 0.85);
}

.nc-electro-alloy-card--l2 .nc-electro-alloy-card__machine {
  color: rgba(216, 180, 254, 0.9);
}

.nc-electro-recipe-card__title,
.nc-electro-alloy-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.nc-electro-alloy-card__badge {
  flex-shrink: 0;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 225, 253, 0.35);
  color: rgba(103, 232, 249, 0.95);
  background: rgba(0, 225, 253, 0.08);
}

.nc-electro-alloy-card--l2 .nc-electro-alloy-card__badge {
  border-color: rgba(251, 191, 36, 0.45);
  color: rgba(253, 224, 71, 0.95);
  background: rgba(168, 85, 247, 0.18);
}

.nc-electro-flow-label {
  display: block;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 0.45rem;
  text-align: center;
}

.nc-electro-recipe-flow,
.nc-electro-alloy-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
  padding: 1rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nc-electro-recipe-flow__bench,
.nc-electro-recipe-flow__output {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nc-electro-recipe-flow__output .nc-electro-icon {
  box-shadow: 0 0 24px -6px rgba(0, 225, 253, 0.35);
  border-color: rgba(0, 225, 253, 0.35);
}

.nc-electro-alloy-slot--out .nc-electro-icon {
  box-shadow: 0 0 28px -6px rgba(0, 225, 253, 0.4);
  border-color: rgba(0, 225, 253, 0.4);
}

.nc-electro-alloy-card--l2 .nc-electro-alloy-slot--out .nc-electro-icon {
  box-shadow: 0 0 32px -6px rgba(168, 85, 247, 0.45);
  border-color: rgba(216, 180, 254, 0.45);
}

.nc-electro-recipe-flow__arrow,
.nc-electro-alloy-arrow {
  color: var(--electro-cyan);
  opacity: 0.85;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.nc-electro-alloy-plus {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.nc-electro-alloy-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 5.5rem;
}

.nc-electro-recipe-card__note,
.nc-electro-alloy-card__note {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.52);
}

.nc-electro-recipe-card__note i,
.nc-electro-alloy-card__note i {
  margin-right: 0.25rem;
  opacity: 0.7;
}

.nc-electro-recipe-card--compact .nc-electro-recipe-flow {
  padding: 0.65rem 0.75rem;
  gap: 0.75rem 1rem;
}

.nc-electro-recipe-card--compact .nc-electro-recipe-card__note {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  font-size: 0.75rem;
}

.nc-electro-craft-grid {
  --electro-icon-sm: 2.35rem;
  display: grid;
  grid-template-columns: repeat(3, var(--electro-icon-sm, 2.35rem));
  grid-template-rows: repeat(3, var(--electro-icon-sm, 2.35rem));
  grid-auto-flow: row;
  gap: 5px;
  width: fit-content;
  min-width: calc(var(--electro-icon-sm, 2.35rem) * 3 + 10px);
  padding: 0.35rem;
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.nc-electro-craft-cell {
  width: var(--electro-icon-sm, 2.35rem);
  height: var(--electro-icon-sm, 2.35rem);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  padding: 0;
}

.nc-electro-craft-cell .nc-electro-icon {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.nc-electro-craft-cell--empty {
  background: rgba(255, 255, 255, 0.015);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.05);
}

.nc-electro-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--electro-icon, 2.75rem);
  height: var(--electro-icon, 2.75rem);
  border-radius: 0.45rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.nc-electro-icon--lg {
  width: var(--electro-icon-lg, 3.5rem);
  height: var(--electro-icon-lg, 3.5rem);
}

.nc-electro-icon--xl {
  width: var(--electro-icon-xl, 4.25rem);
  height: var(--electro-icon-xl, 4.25rem);
  border-radius: 0.55rem;
}

.nc-electro-icon--sm {
  width: var(--electro-icon-sm, 2.35rem);
  height: var(--electro-icon-sm, 2.35rem);
  border-radius: 0.35rem;
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
  box-shadow: none;
}

.nc-electro-icon__img {
  display: block;
  width: 78%;
  height: 78%;
  max-width: 78%;
  max-height: 78%;
  margin: auto;
  object-fit: contain;
  object-position: center center;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.nc-electro-craft-cell .nc-electro-icon__img {
  width: 84%;
  height: 84%;
  max-width: 84%;
  max-height: 84%;
}

.nc-electro-craft-grid--labeled {
  gap: 0.45rem 0.35rem;
}

.nc-electro-craft-cell--labeled {
  width: auto;
  min-width: 4.5rem;
  height: auto;
  min-height: 4.75rem;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.25rem 0.2rem 0.35rem;
}

.nc-electro-craft-cell__label {
  display: block;
  max-width: 4.4rem;
  font-size: 0.62rem;
  line-height: 1.15;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  word-break: break-word;
}

.nc-electro-recipe-card__ingredients {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.nc-electro-recipe-card__ingredients i {
  color: #67e8f9;
  margin-right: 0.35rem;
}

.nc-electro-icon__amt {
  position: absolute;
  right: 0.12rem;
  bottom: 0.05rem;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 6px rgba(0, 0, 0, 0.85);
  line-height: 1;
}

.nc-electro-icon-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  max-width: 6.5rem;
}

.nc-electro-icon-label {
  font-size: 0.68rem;
  line-height: 1.25;
  text-align: center;
  color: rgba(255, 255, 255, 0.68);
  word-break: break-word;
}

.nc-electro-alloy-slot--out .nc-electro-icon-label {
  color: rgba(103, 232, 249, 0.95);
  font-weight: 700;
}

.nc-electro-alloy-card--l2 .nc-electro-alloy-slot--out .nc-electro-icon-label {
  color: rgba(253, 224, 71, 0.95);
}

@media (min-width: 768px) {
  .nc-electro-stage {
    padding: 1.5rem 1.75rem 1.75rem;
  }

  .nc-electro-recipe-flow {
    justify-content: flex-start;
    padding: 1.15rem 1.25rem;
  }

  .nc-electro-recipe-flow__bench {
    align-items: flex-start;
  }

  .nc-electro-recipe-flow__bench .nc-electro-flow-label {
    text-align: left;
  }

  .nc-electro-recipe-flow__output {
    margin-left: auto;
    padding-left: 1rem;
  }

  .nc-electro-alloy-flow {
    justify-content: flex-start;
    gap: 1.25rem 1.5rem;
    padding: 1.15rem 1.25rem;
  }

  .nc-electro-alloy-slot--out {
    margin-left: auto;
    padding-left: 0.5rem;
  }
}

@media (max-width: 640px) {
  .nc-electro-stage__head {
    grid-template-columns: auto 1fr;
  }

  .nc-electro-stage__badge {
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 3.35rem;
  }

  .nc-electro-recipe-flow,
  .nc-electro-alloy-flow {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nc-electro-recipe-flow__arrow,
  .nc-electro-alloy-arrow {
    transform: rotate(90deg);
  }

  .nc-electro-alloy-slot {
    min-width: 4.75rem;
  }
}

/* ——— Farm-Liste ——— */
.nc-farm-hero {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nc-farm-hero__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #6ee7b7;
  margin: 0;
}

.nc-farm-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.2), rgba(0, 225, 253, 0.1));
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.nc-farm-hero__lead {
  margin: 0.85rem 0 0;
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.nc-farm-hero__meta {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.nc-farm-ingame__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #6ee7b7;
  margin: 0 0 0.5rem;
}

.nc-farm-ingame__summary {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.nc-farm-ingame__list {
  margin: 0;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.nc-farm-ingame__list li {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.nc-farm-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.nc-farm-section__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.nc-farm-section__desc {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 36rem;
}

.nc-farm-section__badge {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nc-farm-section__badge--emerald {
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(16, 185, 129, 0.12);
}

.nc-farm-section__badge--amber {
  color: #fcd34d;
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(245, 158, 11, 0.12);
}

.nc-farm-section__badge--cyan {
  color: #67e8f9;
  border-color: rgba(0, 225, 253, 0.35);
  background: rgba(0, 225, 253, 0.1);
}

.nc-farm-section__badge--purple {
  color: #e9d5ff;
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.14);
}

.nc-farm-table-wrap {
  overflow-x: auto;
}

.nc-farm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.nc-farm-table thead th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.nc-farm-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}

.nc-farm-table tbody tr:hover {
  background: rgba(0, 225, 253, 0.04);
}

.nc-farm-table tbody tr:last-child {
  border-bottom: none;
}

.nc-farm-table td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.nc-farm-row__mat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 10rem;
}

.nc-farm-row__name {
  font-weight: 700;
  color: #fff;
}

.nc-farm-row__source-text {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.nc-farm-row__used {
  max-width: 16rem;
}

.nc-farm-row__no-recipe {
  color: rgba(255, 255, 255, 0.25);
}

.nc-farm-tag {
  display: inline-block;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nc-farm-tag--vanilla {
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.1);
}

.nc-farm-tag--farm {
  color: #86efac;
  border-color: rgba(134, 239, 172, 0.35);
  background: rgba(34, 197, 94, 0.1);
}

.nc-farm-tag--nether {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(239, 68, 68, 0.1);
}

.nc-farm-tag--end {
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(139, 92, 246, 0.12);
}

.nc-farm-tag--smelter {
  color: #67e8f9;
  border-color: rgba(0, 225, 253, 0.35);
  background: rgba(0, 225, 253, 0.08);
}

.nc-farm-alloy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nc-farm-alloy__label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.nc-farm-alloy__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.nc-farm-alloy__plus,
.nc-farm-alloy__arrow {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
}

.nc-farm-alloy__arrow {
  color: #00e1fd;
}

.nc-farm-alloy__note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 900px) {
  .nc-farm-table thead {
    display: none;
  }

  .nc-farm-table tbody tr {
    display: block;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.85rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nc-farm-table td {
    display: block;
    padding: 0.35rem 0;
    border: none;
  }

  .nc-farm-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.25rem;
  }

  .nc-farm-row__mat::before {
    display: none !important;
  }

  .nc-farm-row__mat {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* Farmliste (persönliche Farm-Checkliste) */
.nc-rezepte-cart-add {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 225, 253, 0.35);
  background: rgba(0, 225, 253, 0.08);
  color: #a5f3fc;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.nc-rezepte-cart-add:hover {
  background: rgba(0, 225, 253, 0.16);
  border-color: rgba(0, 225, 253, 0.55);
  transform: translateY(-1px);
}

.nc-rezepte-cart-add--ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.75);
}

.nc-rezepte-cart-add--ghost:hover {
  border-color: rgba(0, 225, 253, 0.4);
  color: #e0f2fe;
}

.nc-rezepte-cart-add--md {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

.nc-rezepte-cart-actions {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nc-rezepte-cart-actions--tier {
  margin-top: 1.25rem;
}

.nc-hub-tile__cart {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
}

.nc-hub-tile {
  position: relative;
}

.nc-farm-section__cart {
  flex-shrink: 0;
}

.nc-farm-table__cart-col {
  width: 3rem;
}

.nc-farm-row__cart {
  text-align: center;
  vertical-align: middle;
}

.nc-rezepte-cart--overlay {
  position: fixed;
  z-index: 120;
  inset: 0;
  pointer-events: none;
}

.nc-rezepte-cart--rail {
  position: relative;
  z-index: 1;
  width: 100%;
  pointer-events: auto;
}

@media (max-width: 1023px) {
  .nc-rezepte-cart--rail {
    position: static;
    z-index: auto;
    width: auto;
    pointer-events: none;
  }
}

.nc-rezepte-cart__fab,
.nc-rezepte-cart__panel,
.nc-rezepte-cart__backdrop {
  pointer-events: auto;
}

.nc-rezepte-cart__fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem 0.65rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 225, 253, 0.45);
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.95), rgba(15, 23, 42, 0.98));
  color: #e0f2fe;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0, 225, 253, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.nc-rezepte-cart__fab:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 225, 253, 0.7);
  box-shadow: 0 12px 36px rgba(0, 225, 253, 0.28);
}

.nc-rezepte-cart__fab.is-added {
  animation: nc-cart-pulse 0.9s ease;
}

@keyframes nc-cart-pulse {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.06); }
}

.nc-rezepte-cart__fab-label {
  display: none;
}

.nc-rezepte-cart__badge {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #10b981;
  color: #042f2e;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nc-rezepte-cart__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.nc-rezepte-cart__backdrop[hidden] {
  display: none !important;
  pointer-events: none !important;
}

.nc-rezepte-cart__panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 22rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.99));
  border-left: 1px solid rgba(0, 225, 253, 0.2);
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.45);
}

.nc-rezepte-cart__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nc-rezepte-cart__head-text {
  min-width: 0;
}

.nc-rezepte-cart__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(52, 211, 153, 0.9);
}

.nc-rezepte-cart__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e0f2fe;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nc-rezepte-cart__close {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.nc-rezepte-cart__body {
  flex: 1;
  overflow: auto;
  padding: 0.75rem 1rem;
}

.nc-rezepte-cart__empty {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 1rem 0;
}

.nc-rezepte-cart__group {
  margin-bottom: 1rem;
}

.nc-rezepte-cart__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.nc-rezepte-cart__group-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
}

.nc-rezepte-cart__clear-cat {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0.25rem;
}

.nc-rezepte-cart__clear-cat:hover {
  color: #fca5a5;
}

.nc-rezepte-cart__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nc-rezepte-cart__line {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nc-rezepte-cart__line-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nc-rezepte-cart__line-icon img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.nc-rezepte-cart__line-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.nc-rezepte-cart__line-name {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.25;
}

.nc-rezepte-cart__line-chip {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nc-rezepte-cart__chip--elektro {
  color: #67e8f9;
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.1);
}

.nc-rezepte-cart__chip--erze {
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(167, 139, 250, 0.1);
}

.nc-rezepte-cart__chip--legierungen {
  color: #fcd34d;
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.1);
}

.nc-rezepte-cart__chip--vanilla {
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.1);
}

.nc-rezepte-cart__line-amt {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f0f9ff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.nc-rezepte-cart__line-amt.is-done {
  color: #86efac;
}

.nc-rezepte-cart__line-amt.is-partial {
  color: #fde68a;
}

.nc-rezepte-cart__line-amt.is-missing {
  color: #fca5a5;
}

.nc-rezepte-cart__line.is-done {
  opacity: 0.88;
}

.nc-rezepte-cart__inv-hint {
  margin: 0 0 0.65rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(226, 232, 240, 0.72);
  background: rgba(148, 163, 184, 0.1);
  border-radius: 0.45rem;
}

.nc-rezepte-cart__line-remove {
  border: none;
  background: transparent;
  color: rgba(248, 113, 113, 0.65);
  cursor: pointer;
  padding: 0.15rem;
}

.nc-rezepte-cart__line-remove:hover {
  color: #f87171;
}

.nc-rezepte-cart__foot {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nc-rezepte-cart__farm-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
  color: #a7f3d0;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.nc-rezepte-cart__farm-link:hover {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.5);
  color: #d1fae5;
}

.nc-rezepte-cart__clear {
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
  color: #fecaca;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.nc-rezepte-cart__clear:hover {
  background: rgba(248, 113, 113, 0.15);
}

.nc-rezepte-cart__toast {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  max-width: 16rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.65rem;
  background: rgba(6, 78, 59, 0.95);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #d1fae5;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.nc-rezepte-cart__toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nc-rezepte-cart__toast.is-error {
  background: rgba(127, 29, 29, 0.95);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

.nc-rezepte-cart__sync {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.6rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(14, 116, 144, 0.2);
  color: #bae6fd;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.nc-rezepte-cart__sync:hover {
  background: rgba(14, 116, 144, 0.32);
  border-color: rgba(56, 189, 248, 0.55);
  color: #e0f2fe;
}

.nc-rezepte-cart__sync-modal {
  position: fixed;
  inset: 0;
  z-index: 12050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.nc-rezepte-cart__sync-modal[hidden] {
  display: none !important;
}

.nc-rezepte-cart__sync-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
}

.nc-rezepte-cart__sync-panel {
  position: relative;
  width: min(24rem, 100%);
  max-height: min(80vh, 32rem);
  display: flex;
  flex-direction: column;
  border-radius: 0.85rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.nc-rezepte-cart__sync-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nc-rezepte-cart__sync-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e0f2fe;
}

.nc-rezepte-cart__sync-close {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-size: 1rem;
}

.nc-rezepte-cart__sync-desc {
  margin: 0;
  padding: 0.75rem 1rem 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.nc-rezepte-cart__sync-body {
  padding: 0.75rem 1rem;
  overflow: auto;
}

.nc-rezepte-cart__sync-msg {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

.nc-rezepte-cart__sync-link {
  display: inline-flex;
  margin-top: 0.65rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.55rem;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #bae6fd;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.nc-rezepte-cart__sync-accounts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.nc-rezepte-cart__sync-acc-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.nc-rezepte-cart__sync-acc-label:has(input:checked) {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(14, 116, 144, 0.18);
}

.nc-rezepte-cart__sync-head-img,
.nc-rezepte-cart__sync-head {
  width: 2rem;
  height: 2rem;
  border-radius: 0.35rem;
  image-rendering: pixelated;
}

.nc-rezepte-cart__sync-acc-name {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f8fafc;
}

.nc-rezepte-cart__sync-primary {
  font-size: 0.68rem;
  font-weight: 600;
  color: #7dd3fc;
}

.nc-rezepte-cart__sync-foot {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nc-rezepte-cart__sync-cancel,
.nc-rezepte-cart__sync-confirm {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border-radius: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.nc-rezepte-cart__sync-cancel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
}

.nc-rezepte-cart__sync-confirm {
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: rgba(16, 185, 129, 0.18);
  color: #a7f3d0;
}

.nc-rezepte-cart__sync-confirm:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.nc-rezepte-cart-sync-open {
  overflow: hidden;
}

body.nc-rezepte-cart-open {
  overflow: hidden;
}

@media (min-width: 640px) {
  .nc-rezepte-cart__fab-label {
    display: inline;
  }
}

/* Desktop: Farmliste als rechte Spalte (wie Shop-Bundle) */
@media (min-width: 1024px) {
  .nc-rezepte-farmliste {
    position: relative;
    inset: auto;
    z-index: auto;
    height: auto;
    overflow: visible;
    pointer-events: auto;
  }

  .nc-rezepte-cart--rail .nc-rezepte-cart__fab {
    display: none;
  }

  .nc-rezepte-cart--rail .nc-rezepte-cart__backdrop {
    display: none !important;
    pointer-events: none !important;
  }

  .nc-rezepte-cart--rail .nc-rezepte-cart__panel {
    position: sticky;
    top: 6rem;
    right: auto;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 14rem;
    max-height: calc(100vh - 7rem);
    border-radius: 1rem;
    border: 1px solid rgba(16, 185, 129, 0.28);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.1), rgba(0, 0, 0, 0.35));
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 32px -12px rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(8px);
    z-index: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nc-rezepte-cart--rail .nc-rezepte-cart__panel[hidden] {
    display: flex !important;
    visibility: visible;
  }

  .nc-rezepte-cart--rail .nc-rezepte-cart__close {
    display: none;
  }

  body.nc-rezepte-cart-open {
    overflow: auto;
  }
}

/* Legacy overlay-Modus (falls noch verwendet) */
@media (min-width: 1024px) {
  body.has-nc-rezepte-cart .nc-rezepte-cart--overlay ~ .plugin-content.max-w-6xl,
  body.has-nc-rezepte-cart .nc-rezepte-cart--overlay ~ .plugin-content.max-w-5xl,
  body.has-nc-rezepte-cart .nc-rezepte-cart--overlay ~ .plugin-content.max-w-7xl {
    padding-right: 19.5rem;
  }

  .nc-rezepte-cart--overlay[hidden] {
    display: block !important;
  }

  .nc-rezepte-cart--overlay .nc-rezepte-cart__fab {
    display: none;
  }

  .nc-rezepte-cart--overlay .nc-rezepte-cart__backdrop {
    display: none !important;
  }

  .nc-rezepte-cart--overlay .nc-rezepte-cart__panel {
    position: fixed;
    top: 5.75rem;
    right: 1rem;
    width: 17.5rem;
    max-height: calc(100vh - 7rem);
    height: auto;
    min-height: 14rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 225, 253, 0.28);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 32px -12px rgba(0, 225, 253, 0.25);
    z-index: 110;
    visibility: visible;
  }

  .nc-rezepte-cart--overlay .nc-rezepte-cart__panel[hidden] {
    display: flex !important;
    visibility: visible;
  }

  .nc-rezepte-cart--overlay .nc-rezepte-cart__close {
    display: none;
  }
}
