.links-grid .shop-icon {
  color: var(--gold);
}

.links-grid .shop-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-ip.copied {
  border-color: var(--gold);
  background: var(--gold);
}

.hero-ip.copied strong,
.hero-ip.copied span,
.hero-ip.copied i {
  color: #171407;
}

.command-list > .vote-command-link {
  display: block;
  padding: 10px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(244, 202, 69, .14), rgba(244, 202, 69, .05));
  box-shadow: inset 0 0 0 1px rgba(244, 202, 69, .38), 0 4px 16px rgba(244, 202, 69, .06);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.command-list > .vote-command-link:hover {
  background: linear-gradient(135deg, rgba(244, 202, 69, .22), rgba(244, 202, 69, .09));
  box-shadow: inset 0 0 0 1px var(--grade), 0 7px 20px rgba(244, 202, 69, .1);
  transform: translateY(-1px);
}

footer .server-list-backlink a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(243, 198, 63, .45);
  text-underline-offset: 2px;
}

footer .server-list-backlink a:hover {
  text-decoration-color: var(--gold);
}

.bank-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 30px;
  margin-top: 26px;
  padding: 30px;
  border: 1px solid rgba(244, 202, 69, .25);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(244, 202, 69, .1), rgba(20, 20, 22, .78));
}

.bank-card-copy > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.bank-card-copy h3 {
  margin: 7px 0 13px;
  font-size: clamp(21px, 2.1vw, 29px);
}

.bank-card-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
}

.bank-card-copy code {
  color: var(--gold);
}

.bank-steps {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.bank-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bank-steps b {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #171407;
  font-size: 12px;
}

.bank-steps span {
  color: var(--muted);
  font-size: 14px;
}

.bank-gui {
  align-self: center;
  margin: 0;
}

.bank-gui img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  background: #c6c6c6;
  image-rendering: pixelated;
}

.bank-gui figcaption {
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.bank-gui figcaption strong {
  color: var(--text);
}

@media (max-width: 860px) {
  .bank-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .bank-card {
    gap: 22px;
    padding: 22px 18px;
  }

  .ip-button.copied {
    width: 74px;
    min-width: 74px;
    padding: 0 9px;
  }

  .ip-button.copied strong {
    display: block;
    color: #171407;
    font-size: 10px;
    white-space: nowrap;
  }

.ip-button.copied > span {
    display: none;
  }
}

/* Guide BreweryX : compact, illustré et sans divulgation des recettes. */
.sidebar nav a > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  font-size: 13px;
  line-height: 1;
}

.potion-nav-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.alcohol-progress {
  margin-bottom: 14px;
}

.alcohol-guide-shell {
  margin-top: 24px;
}

.alcohol-daily {
  margin-top: 24px;
  margin-bottom: 14px;
}

.alcohol-progress .feature-card-action strong {
  font-size: 13px;
}

.alcohol-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.brew-flow article div > span,
.alcohol-end-grid article > span {
  color: var(--gold);
  font-size: var(--section-eyebrow);
  font-weight: 850;
  letter-spacing: .16em;
}

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

.brew-flow article {
  display: grid;
  grid-template-columns: minmax(150px, .8fr) minmax(0, 1.2fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid #f3c63f4d;
  border-radius: 12px;
  background: var(--panel);
}

.brew-flow figure {
  min-height: 0;
  margin: 0;
  padding: 10px;
  background: rgba(255, 255, 255, .025);
}

.brew-flow img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 7px;
  background: #171714;
}

.brew-flow article:nth-child(1) img {
  object-position: center 58%;
}

.brew-flow article:nth-child(2) img,
.brew-flow article:nth-child(4) img {
  object-position: center;
}

.brew-flow figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.brew-flow article > div {
  position: relative;
  padding: 18px 17px;
}

.brew-flow article > div > b {
  position: absolute;
  top: 13px;
  right: 14px;
  color: #f3c63f38;
  font-size: 28px;
}

.brew-flow h3 {
  margin: 5px 0 7px;
  font-size: 18px;
}

.brew-flow p {
  margin: 0;
  color: #bfc3b6;
  font-size: 10px;
  line-height: 1.55;
}

.brew-flow code,
.alcohol-progress code {
  color: var(--gold);
}

.alcohol-end-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.alcohol-end-grid article {
  padding: 22px;
  border: 1px solid #f3c63f4d;
  border-radius: 12px;
  background: var(--panel);
}

.alcohol-end-grid h3 {
  margin: 7px 0;
  font-size: 18px;
}

.alcohol-end-grid p {
  margin: 0;
  color: var(--muted);
  font-size: var(--section-body-text);
  line-height: 1.6;
}

.alcohol-tip {
  margin-top: 12px;
  padding: 13px 16px;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: #f3c63f12;
  color: #c5c8bc;
  font-size: 11px;
  line-height: 1.5;
}

.alcohol-tip strong {
  color: var(--gold);
}

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

@media (max-width: 760px) {
  .brew-flow,
  .alcohol-end-grid {
    grid-template-columns: 1fr;
  }

  .brew-flow article {
    grid-template-columns: minmax(125px, .72fr) minmax(0, 1.28fr);
  }
}

@media (max-width: 500px) {
  .brew-flow article {
    grid-template-columns: 1fr;
  }

  .brew-flow figure {
    min-height: auto;
  }

  .brew-flow img {
    height: auto;
  }
}

/* Terasino compact, intégré à la section Économie. */
.casino-compact-section {
  display: block;
}

.casino-compact-heading {
  display: grid;
  grid-template-columns: minmax(210px, .55fr) 1.45fr;
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}

.casino-compact-heading span,
.casino-mini-card > div > span {
  color: var(--gold);
  font-size: var(--section-eyebrow);
  font-weight: 850;
  letter-spacing: .16em;
}

.casino-compact-heading h3 {
  margin: 6px 0 0;
  font-size: var(--section-card-title);
}

.casino-compact-heading p {
  margin: 0;
  color: var(--muted);
  font-size: var(--section-body-text);
  line-height: 1.55;
}

.casino-compact-heading code {
  color: var(--gold);
}

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

.casino-mini-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #090a07b8;
}

.casino-mini-card figure {
  margin: 0;
  padding: 9px 9px 0;
}

.casino-mini-card img {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  background: #c6c6c6;
  image-rendering: pixelated;
}

.casino-mini-card figcaption {
  padding: 7px 2px 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.casino-mini-card > div {
  padding: 11px 12px 13px;
}

.casino-mini-card h4 {
  margin: 4px 0 6px;
  font-size: 16px;
}

.casino-mini-card p {
  min-height: 54px;
  margin: 0;
  color: #bfc3b6;
  font-size: 10px;
  line-height: 1.5;
}

.casino-mini-card small {
  display: block;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.casino-mini-card small b {
  color: var(--gold);
}

.casino-compact-section .casino-warning {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .casino-compact-grid {
    grid-template-columns: 1fr;
  }

  .casino-mini-card {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) 1.2fr;
  }

  .casino-mini-card p {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .casino-compact-heading,
  .casino-mini-card {
    grid-template-columns: 1fr;
  }

  .casino-compact-heading {
    gap: 8px;
  }
}

/* Sous-sections Économie, Décoration et Terasino. */
.subsection-card {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(244, 202, 69, .25);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(244, 202, 69, .08), rgba(20, 20, 22, .78));
}

.subsection-card > .feature-card {
  padding: 0;
  border: 0;
  background: transparent;
}

.sell-section .price-grid {
  margin-top: 22px;
}

.armor-section .armor-tutorial {
  margin-top: 22px;
}

.compact-steps {
  margin-top: 16px;
}

.compact-steps li {
  align-items: flex-start;
}

.casino-list {
  display: grid;
  gap: 14px;
}

.casino-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .84fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(244, 202, 69, .25);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(244, 202, 69, .09), rgba(20, 20, 22, .78));
}

.casino-card-reverse .casino-copy {
  order: 2;
}

.casino-card-reverse figure {
  order: 1;
}

.casino-copy > span {
  color: var(--gold);
  font-size: var(--section-eyebrow);
  font-weight: 850;
  letter-spacing: .16em;
}

.casino-copy h3 {
  margin: 7px 0;
  font-size: var(--section-card-title);
  line-height: 1.25;
}

.casino-copy p {
  margin: 0;
  color: #bfc3b6;
  font-size: var(--section-body-text);
  line-height: 1.6;
}

.casino-card figure {
  margin: 0;
}

.casino-card img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  background: #c6c6c6;
  image-rendering: pixelated;
}

.casino-card figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: var(--section-caption);
  line-height: 1.5;
}

.casino-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.casino-facts li {
  display: flex;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #080a07a6;
  font-size: 10px;
}

.casino-facts b {
  color: var(--gold);
}

.casino-facts span {
  color: #bfc3b6;
}

.casino-warning {
  margin-top: 12px;
  padding: 12px 15px;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: rgba(244, 202, 69, .08);
  color: #c5c8bc;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .casino-card {
    grid-template-columns: 1fr;
  }

  .casino-card-reverse .casino-copy,
  .casino-card-reverse figure {
    order: initial;
  }
}

@media (max-width: 600px) {
  .subsection-card,
  .casino-card {
    padding: 19px;
  }

  .casino-card {
    gap: 17px;
  }

  .casino-facts {
    display: grid;
  }
}

/* Harmonisation de la hiérarchie et du rythme entre les catégories. */
.doc-section {
  --section-card-title: 22px;
  --section-body-text: 12px;
  --section-eyebrow: 9px;
  --section-caption: 10px;
}

.feature-card,
.bank-card,
.map-doc,
.tutorial-steps article,
.tutorial-images figure,
.links-grid > a,
.links-grid > article {
  border-radius: 12px;
}

.feature-card h3,
.bank-card-copy h3,
.map-doc h3 {
  margin: 7px 0;
  font-size: var(--section-card-title);
  line-height: 1.25;
  letter-spacing: -.02em;
}

.feature-card p,
.bank-card-copy p,
.map-doc p {
  font-size: var(--section-body-text);
  line-height: 1.6;
}

.feature-card span,
.bank-card-copy > span,
.map-doc span {
  font-size: var(--section-eyebrow);
  letter-spacing: .16em;
}

.tutorial-images figcaption,
.bank-gui figcaption {
  font-size: var(--section-caption);
  line-height: 1.5;
}

.bank-card {
  gap: 28px;
  margin-top: 24px;
  padding: 24px;
}

.bank-steps span {
  font-size: var(--section-body-text);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .doc-section {
    --section-card-title: 20px;
  }

  .bank-card {
    gap: 17px;
    padding: 19px;
  }
}
