.reversi-site {
  margin: 0;
  color: #263332;
  background: #f5faf7;
  font-family: system-ui, sans-serif;
}

.reversi-page {
  width: min(1120px, calc(100% - 24px));
  margin: 12px auto 28px;
}

.reversi-breadcrumb {
  color: #405750;
  font-size: 0.875rem;
}

.reversi-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reversi-breadcrumb li {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.reversi-breadcrumb a {
  color: #275c47;
}

.reversi-page > h1 {
  margin: 12px 0 4px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.reversi-intro {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

#reversi-frame {
  display: block;
  width: min(100%, 850px);
  height: min(650px, var(--reversi-safe-height, 100svh));
  margin: 0 auto;
  border: 0;
  border-radius: 10px;
  background: #e8e5db;
  scroll-margin-block: var(--reversi-safe-top, 0px) var(--reversi-safe-bottom, 0px);
}

.reversi-info {
  margin: 24px 0;
  line-height: 1.75;
}

.reversi-info h2 {
  margin: 0 0 8px;
  font-size: 1.125rem;
}

.reversi-info .howto-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.reversi-info .howto-cards article {
  padding: 12px;
  border: 1px solid #d3e0e5;
  border-radius: 10px;
  background: #fff;
}

.reversi-info .howto-cards h3 {
  margin: 0;
  font-size: 1rem;
}

.reversi-info .howto-cards p {
  margin: 4px 0 0;
  font-size: 0.9375rem;
}

@media (max-width: 700px) {
  .reversi-info .howto-cards {
    grid-template-columns: 1fr;
  }
}
