.bg-rules.dsq-rules {
  font-family: "Noto Serif", Georgia, serif;
  line-height: 1.7;
}
.bg-rules.dsq-rules h1,
.bg-rules.dsq-rules h2,
.bg-rules.dsq-rules h3 {
  color: #5d3f1c;
  font-family: "Noto Serif", Georgia, serif;
  font-weight: 700;
}
.bg-rules.dsq-rules h1 { text-align: center; }
.bg-rules.dsq-rules h2 { margin-top: 1.8em; }
.bg-rules.dsq-rules li { margin-bottom: .35em; }
.dsq-rank-example { margin: 1.5em 0; }
.dsq-rank-example h2 { margin: 0 0 .7em; }
.dsq-rank-tray { padding: 10px 8px 8px; }
.dsq-rank-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dsq-rank-strip li { min-width: 0; text-align: center; }
.dsq-rank-strip .slot {
  position: relative;
  width: 100%;
  max-width: 58px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.dsq-rank-strip .caption {
  display: block;
  margin-top: 4px;
  color: #3a2a17;
  font-size: clamp(9px, 1.4vw, 12px);
  line-height: 1.2;
  white-space: nowrap;
}
.dsq-rules-example {
  width: min(100%, 340px);
  margin: 1.8em auto;
  text-align: center;
}
.dsq-rules-example img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.dsq-rules-example figcaption {
  margin-top: .6em;
  color: #765c38;
  font-size: .9em;
}
.dsq-rules-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 12px auto 24px;
}
.dsq-rules-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.game11.dsq-rules-legend .dsq-cell {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 4px;
}
@media (max-width: 480px) {
  .dsq-rank-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 12px; }
  .dsq-rank-strip .caption { font-size: 10px; }
}
