.howto-section,
.howto-reference {
  padding-block: clamp(2.4rem, 6vw, 5.25rem);
}

.howto-section--secret-door {
  --region-muted: #cee0df;
  --region-line: #54757a;
  --region-emphasis: #b0e6e4;
  --region-mat: #19333c;
  background: #102b33;
  color: #f2eecf;
}

.howto-section--bonus-rounds {
  --region-muted: #465743;
  --region-line: #8d9875;
  --region-emphasis: #554726;
  --region-mat: #d5dbbc;
  background: #e4e8cc;
}

.howto-scene img {
  inline-size: 100%;
}

.howto-steps {
  margin: 0;
  padding-inline-start: 1.65rem;
}

.howto-steps li {
  padding-inline-start: .5rem;
}

.howto-steps li + li {
  margin-block-start: 1rem;
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--region-line);
}

.howto-steps li::marker {
  color: var(--region-emphasis);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.howto-steps h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.howto-steps p {
  margin: .22rem 0 0;
  color: var(--region-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.howto-table-symbol {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.howto-table-symbol .worlds-symbol-art {
  flex: none;
  inline-size: 2.85rem;
  block-size: 2.85rem;
  overflow: hidden;
}

.howto-table-symbol .worlds-symbol-art img {
  scale: var(--sprite-scale, 1);
}

.howto-table-symbol--gem {
  --sprite-scale: 5.1;
}

.howto-table-symbol--bonus,
.howto-table-symbol--secret-door {
  --sprite-scale: 2.15;
}

.howto-table-symbol--super-bonus {
  --sprite-scale: 2;
}

.howto-table-symbol--temple-mask {
  --sprite-scale: .85;
}

.howto-payouts {
  margin-block-start: 2.25rem;
  scroll-margin-block-start: 1rem;
}

.howto-payouts h3 {
  margin: 0;
  font-family: var(--atlas-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
}

.howto-payouts p {
  max-inline-size: 65ch;
  margin: .45rem 0 0;
  color: #49564c;
  line-height: 1.55;
}

.howto-payout-table {
  table-layout: fixed;
}

.howto-payout-table :is(th, td):not(:first-child) {
  text-align: end;
}

.howto-payout-table tbody td {
  white-space: nowrap;
}

.howto-payout-table .worlds-cell-label {
  display: none;
}

.howto-reference--triggers {
  --worlds-line: #a0af97;
  background: #dbe5d7;
}

.howto-reference--triggers .worlds-table {
  background: #f0f4eb;
}

.howto-reference--triggers .worlds-table tbody tr:nth-child(even) {
  background: #e3ebdd;
}

.howto-reference--triggers .worlds-table tbody th,
.howto-reference--triggers .worlds-cell-label {
  color: #2b4c3c;
}

@media (min-width: 39.0625rem) {
  :is(.howto-symbol-table, .howto-trigger-table) tbody th {
    inline-size: 28%;
  }
}

@media (max-width: 39rem) {
  .howto-payout-table {
    display: table;
    font-size: clamp(.8rem, 3vw, .98rem);
  }

  .howto-payout-table thead {
    position: static;
    inline-size: auto;
    block-size: auto;
    clip-path: none;
  }

  .howto-payout-table tbody {
    display: table-row-group;
  }

  .howto-payout-table tbody tr {
    display: table-row;
  }

  .howto-payout-table thead th,
  .howto-payout-table tbody th,
  .howto-payout-table tbody td,
  .howto-payout-table tbody td:last-child {
    padding: .62rem .28rem;
    font-size: inherit;
  }

  .howto-payout-table tbody tr + tr td {
    border-block-start: 1px solid var(--worlds-line);
  }
}

@media (min-width: 52rem) {
  .howto-section--secret-door .howto-scene {
    grid-column: 2;
    grid-row: 1;
  }

  .howto-section--secret-door .worlds-region-copy {
    grid-column: 1;
    grid-row: 1;
  }
}
