.guide-code-banners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10em), 1fr));
  gap: clamp(.5rem, 1.5vw, 1rem);
  margin-block: var(--site-space-6);
}
.guide-code-banner {
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  min-width: 0;
  min-height: clamp(7.25rem, 15vw, 11.5rem);
  padding: clamp(.875rem, 2vw, 1.75rem);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius-card);
  background-color: var(--site-surface-card);
  background-image: linear-gradient(0deg, rgb(0 0 0 / 68%), transparent 80%), var(--guide-art);
  background-size: cover;
  background-position: 79% center;
  color: #fff;
  text-decoration: none;
}
.guide-code-banner--safe { --guide-art: url('guide-safe-dial.webp'); }
.guide-code-banner--cheat { --guide-art: url('guide-cheat-gamepad.webp'); }
.guide-code-banner span {
  max-inline-size: 90%;
  font-size: clamp(1.0625rem, 2.1vw, 1.875rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 4px #000;
}
.guide-code-banner:hover { border-color: var(--site-muted); color: #fff; }
.guide-code-banner:focus-visible { outline: 2px solid var(--site-focus); outline-offset: 3px; }
.guide-code-table-wrap {
  max-width: 100%;
  margin-block: 1rem 1.75rem;
}
.guide-code-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(.875rem, 1.6vw, 1rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.guide-code-table :is(th, td) {
  padding: .8em .65em;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid var(--site-border);
}
.guide-code-table thead { background: var(--site-surface-card); }
.guide-code-table th { font-weight: 650; }
.guide-code-table code {
  color: var(--site-ink);
  font-family: var(--site-mono);
  font-size: 1em;
  font-variant-numeric: tabular-nums;
}
.guide-code-table [id], .guide-detail :is(h2, h3, section)[id] {
  scroll-margin-block-start: calc(var(--site-header-height) + 1.25rem);
}
@media (max-width: 36rem) {
  .guide-code-table :is(th, td) { padding: .65em .35em; }
}

@media (max-width: 40rem) {
  .guide-code-table--safe,
  .guide-code-table--safe :is(thead, tbody) {
    display: block;
  }
  .guide-code-table--safe tr {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .85fr);
    border-bottom: 1px solid var(--site-border);
  }
  .guide-code-table--safe :is(th, td) {
    min-inline-size: 0;
    border: 0;
  }
  .guide-code-table--safe thead th:last-child {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .guide-code-table--safe tbody td:last-child {
    grid-column: 1 / -1;
    padding-block: 0 .8em;
  }
}
.guide-code-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
  gap: var(--site-space-2);
  align-items: start;
}
.guide-code-platforms details {
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius-card);
  padding-inline: 1rem;
}
.guide-code-platforms summary {
  padding-block: .8rem;
  cursor: pointer;
  font-weight: 650;
}
.guide-code-platforms details p { margin: 0 0 1rem; }
