.board-modal--guide {
  width: min(96vw, 1280px);
  max-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    width 0.5s ease-in-out,
    height 0.5s ease-in-out;
}

.how-to-play-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  max-height: min(92vh, 860px);
}

.how-to-play-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--glass-line);
  background: linear-gradient(180deg, oklch(26% 0.03 260 / 90%), oklch(22% 0.02 260 / 40%));
  flex-shrink: 0;
}

.how-to-play-header__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.how-to-play-header__close {
  width: auto;
  min-width: 96px;
  margin: 0;
}

.how-to-play-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) minmax(0, 2fr);
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  flex: 1;
  align-items: stretch;
}

.how-to-play__nav {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  border-right: 1px solid var(--glass-line);
  background: oklch(20% 0.02 260 / 60%);
  overflow-y: auto;
}

.how-to-play__nav-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.how-to-play__nav-link:hover {
  color: var(--text);
  background: oklch(100% 0 0 / 5%);
}

.how-to-play__nav-link.is-active {
  color: var(--text);
  background: oklch(100% 0 0 / 8%);
  border-left-color: var(--tile-hover);
}

.how-to-play__content {
  grid-column: 2 / 4;
  grid-row: 1;
  display: grid;
  grid-template-columns: subgrid;
  overflow-y: auto;
  padding: 18px 22px 22px;
  min-height: 0;
  align-content: start;
}

.how-to-play__chapter {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  gap: 20px;
  align-items: stretch;
}

.how-to-play__chapter[hidden] {
  display: none !important;
}

.how-to-play__copy {
  grid-column: 1;
  min-width: 0;
}

.how-to-play__heading {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.how-to-play__copy p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
}

.how-to-play__note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.how-to-play__list {
  margin: 0;
  padding-left: 1.25em;
  font-size: 14px;
  line-height: 1.55;
}

.how-to-play__list li {
  margin-bottom: 6px;
}

.how-to-play__table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  font-size: 13px;
}

.how-to-play__table th,
.how-to-play__table td {
  padding: 6px 10px;
  text-align: left;
  border-bottom: 1px solid oklch(100% 0 0 / 8%);
}

.how-to-play__table th {
  font-weight: 600;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.how-to-play__demo-panel {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  min-height: 320px;
  height: 100%;
  align-self: stretch;
  border-radius: 12px;
  background: var(--bg-lift);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 8%), 0 8px 24px oklch(4% 0.02 260 / 35%);
}

.how-to-play__demo-panel--static {
  align-items: center;
  justify-content: center;
}

.how-to-play__demo-panel--zones {
  min-height: 360px;
}

.how-to-play__zones-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(200px, 1fr);
  gap: 14px;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

.how-to-play__demo-panel--zones .how-to-play__demo-mount {
  min-height: 300px;
}

.how-to-play__zone-detail {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 10%);
  font-size: 13px;
  line-height: 1.55;
  overflow-y: auto;
  min-height: 0;
}

.how-to-play__zone-detail-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.how-to-play__zone-detail-text,
.how-to-play__zone-detail-placeholder {
  margin: 0;
  color: var(--muted);
}

.how-to-play__zone-detail-list {
  margin: 0;
  padding: 0 0 0 1.1em;
  color: var(--muted);
}

.how-to-play__zone-detail-list li {
  margin-bottom: 8px;
}

.how-to-play__zone-detail-list li:last-child {
  margin-bottom: 0;
}

.how-to-play__zone-legend {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.how-to-play__zone-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid oklch(100% 0 0 / 8%);
  background: oklch(100% 0 0 / 4%);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  text-align: left;
  cursor: default;
}

.how-to-play__zone-legend-item:hover,
.how-to-play__zone-legend-item.is-active,
.how-to-play__zone-legend-item:focus-visible {
  border-color: var(--tile-hover);
  background: oklch(76% 0.13 82 / 12%);
  outline: none;
}

.how-to-play__zone-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 18%);
}

.how-to-play__zone-legend-item--shallow .how-to-play__zone-legend-swatch {
  background: var(--tile-shallow);
}

.how-to-play__zone-legend-item--deep .how-to-play__zone-legend-swatch {
  background: var(--tile-deep);
}

.how-to-play__zone-legend-item--neutral .how-to-play__zone-legend-swatch {
  background: var(--tile);
}

.how-to-play__zone-legend-item--player-1 .how-to-play__zone-legend-swatch {
  background: var(--tile-player-1);
}

.how-to-play__zone-legend-item--player-2 .how-to-play__zone-legend-swatch {
  background: var(--tile-player-2);
}

.how-to-play__zone-legend-item--white-lotus .how-to-play__zone-legend-swatch {
  background: var(--tile-center);
}

/* Pole hexes use shallow fill; zones board adds the blue waterfall stroke. */
.how-to-play__zone-legend-item--waterfall .how-to-play__zone-legend-swatch {
  background: var(--tile-shallow);
  box-shadow:
    inset 0 0 0 1px oklch(100% 0 0 / 18%),
    0 0 0 2px var(--zone-waterfall-stroke);
}

.how-to-play__zones-board {
  width: 100%;
  height: 100%;
}

.how-to-play__zones-board .tile {
  cursor: crosshair;
  transition: opacity 0.15s ease;
}

.how-to-play__zones-board .tile.is-zone-dimmed {
  opacity: 0.26;
}

.how-to-play__zones-board .tile.is-zone-highlighted polygon,
.how-to-play__zones-board .tile.is-zone-hovered polygon {
  stroke: var(--tile-hover);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px oklch(76% 0.13 82 / 42%));
}

.how-to-play__zones-board .tile.is-zone-hovered polygon {
  filter: drop-shadow(0 0 12px oklch(76% 0.13 82 / 58%));
}

.how-to-play__zones-board .tile.is-zone-waterfall polygon {
  stroke: var(--zone-waterfall-stroke);
  stroke-width: 2;
}

.how-to-play__zones-board .tile.is-zone-highlighted text,
.how-to-play__zones-board .tile.is-zone-hovered text {
  opacity: 1;
  transition-duration: 0s;
}

.how-to-play__demo-hint {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.how-to-play__demo-toast {
  margin: 0;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  background: oklch(48% 0.12 145 / 35%);
  color: oklch(88% 0.12 145);
}

.how-to-play__demo-toast[hidden] {
  display: none !important;
}

.how-to-play__demo-mount {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
}

.how-to-play-demo {
  width: 100%;
  height: 100%;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-to-play-demo .demo-board {
  width: 100%;
  height: auto;
  max-height: min(100%, 420px);
  display: block;
}

.how-to-play__demo-reset {
  align-self: flex-end;
  width: auto;
  min-width: 108px;
  margin: 0;
}

.how-to-play__hero {
  position: relative;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
}

.how-to-play__hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid oklch(76% 0.13 82 / 45%);
  box-shadow: 0 0 40px oklch(76% 0.13 82 / 20%);
  animation: how-to-play-hero-pulse 4s ease-in-out infinite;
}

.how-to-play__hero-center {
  font-size: 22px;
  font-weight: 600;
  color: var(--tile-hover);
  letter-spacing: 0.06em;
}

@keyframes how-to-play-hero-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 1; }
}

.how-to-play__virtue-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.how-to-play__virtue-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid oklch(100% 0 0 / 10%);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.how-to-play__virtue-card:hover {
  border-color: oklch(100% 0 0 / 18%);
}

.how-to-play__virtue-card.is-selected {
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 12%);
}

.how-to-play__virtue-card--wisdom.is-selected { border-color: oklch(62% 0.14 250); }
.how-to-play__virtue-card--vigor.is-selected { border-color: oklch(72% 0.18 38); }
.how-to-play__virtue-card--presence.is-selected { border-color: oklch(72% 0.028 260); }
.how-to-play__virtue-card--courage.is-selected { border-color: oklch(76% 0.13 82); }
.how-to-play__virtue-card--prosperity.is-selected { border-color: oklch(78% 0.14 145); }

.how-to-play__subheading {
  margin: 16px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.how-to-play__win-points-table {
  margin-top: 0;
}

.how-to-play__win-points-table td:nth-child(2),
.how-to-play__win-points-table td:nth-child(3) {
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.how-to-play__win-points-note {
  margin-top: 10px;
}

.how-to-play__virtue-title {
  font-size: 14px;
  font-weight: 600;
}

.how-to-play__virtue-points {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.how-to-play__virtue-text {
  font-size: 12px;
  color: var(--muted);
}

.how-to-play__win-diagram {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  background: oklch(100% 0 0 / 5%);
}

.how-to-play__win-diagram[data-win-reason="wisdom"] { color: oklch(74% 0.14 250); }
.how-to-play__win-diagram[data-win-reason="vigor"] { color: oklch(78% 0.18 38); }
.how-to-play__win-diagram[data-win-reason="presence"] { color: var(--muted); }
.how-to-play__win-diagram[data-win-reason="courage"] { color: var(--tile-hover); }
.how-to-play__win-diagram[data-win-reason="prosperity"] { color: oklch(78% 0.14 145); }

.how-to-play__phase-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}

.how-to-play__phase-btn {
  flex: 1 1 auto;
  min-width: 72px;
  margin: 0;
  font-size: 12px;
  padding: 8px 10px;
}

.how-to-play__phase-btn.is-active {
  border-color: var(--tile-hover);
  color: var(--tile-hover);
}

.how-to-play__phase-next {
  width: 100%;
  margin: 0;
}

.how-to-play__phase-detail {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
}

.how-to-play__lily-tabs {
  display: flex;
  gap: 6px;
}

.how-to-play__lily-tab {
  flex: 1;
  margin: 0;
  font-size: 11px;
  padding: 8px 6px;
}

.how-to-play__lily-tab.is-active {
  border-color: var(--tile-hover);
}

.how-to-play__demo-panel--revival {
  gap: 12px;
}

.how-to-play__revival-stage {
  display: grid;
  grid-template-columns: minmax(108px, 130px) minmax(0, 1fr);
  gap: 14px;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

.how-to-play__revival-bank {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 10px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 10%);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.how-to-play__revival-bank.is-active {
  box-shadow:
    inset 0 0 0 1px var(--tile-hover),
    0 0 0 2px oklch(76% 0.13 82 / 25%);
  background: oklch(76% 0.13 82 / 8%);
}

.how-to-play__revival-bank-label {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.how-to-play__revival-bank-rack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.how-to-play__revival-bank-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 6px;
  border-radius: 8px;
  background: oklch(100% 0 0 / 4%);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 8%);
  transition: box-shadow 0.25s ease;
}

.how-to-play__revival-bank-slot.is-pickable,
.how-to-play__revival-bank-svg.is-pickable {
  cursor: grab;
  pointer-events: all;
  touch-action: none;
  user-select: none;
}

.how-to-play__revival-bank-slot.is-selected,
.how-to-play__revival-bank-svg.is-selected {
  box-shadow: inset 0 0 0 2px var(--tile-hover);
}

.how-to-play__revival-bank.is-active .how-to-play__revival-bank-slot {
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 14%);
}

.how-to-play__revival-bank-slot.is-pickable {
  box-shadow: inset 0 0 0 1px var(--tile-hover);
}

.how-to-play__revival-slot-label {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}

.how-to-play__revival-bank-svg {
  width: 52px;
  height: 52px;
  display: block;
  touch-action: none;
}

.how-to-play__revival-bank-svg.is-placed {
  opacity: 0.35;
  pointer-events: none;
}

.how-to-play-demo.is-revival-capture .game-piece--white-lotus {
  cursor: default;
}

.how-to-play__revival-drag-ghost {
  opacity: 0.92;
  filter: drop-shadow(0 6px 16px oklch(4% 0.02 260 / 55%));
}

.how-to-play-demo .game-piece.is-revival-field-locked {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none !important;
}

.how-to-play-demo.is-revival-awaiting-place .game-piece:not(.is-revival-field-locked) {
  pointer-events: none;
}

.how-to-play__revival-bank-svg.is-dragging {
  cursor: grabbing;
  filter: drop-shadow(0 4px 12px oklch(4% 0.02 260 / 50%));
}

.how-to-play-demo .tile.is-revival-target polygon {
  fill: oklch(76% 0.13 82 / 22%);
  stroke: var(--tile-hover);
  stroke-width: 2;
  filter: drop-shadow(0 0 10px oklch(76% 0.13 82 / 35%));
  animation: revival-target-pulse 1.6s ease-in-out infinite;
}

@keyframes revival-target-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.how-to-play__score-mock {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 8%);
}

.how-to-play__score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid oklch(100% 0 0 / 6%);
  font-size: 14px;
}

.how-to-play__score-row:last-of-type {
  border-bottom: none;
}

.how-to-play__score-total {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.how-to-play__score-total.is-pulse {
  animation: how-to-play-score-pulse 0.5s ease;
}

@keyframes how-to-play-score-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); color: var(--tile-hover); }
  100% { transform: scale(1); }
}

.how-to-play__score-breakdown {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.how-to-play__wins-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 12px;
  width: 100%;
  align-items: start;
}

.how-to-play__win-anim-mount {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 10px;
  background: oklch(100% 0 0 / 4%);
}

.how-to-play__win-animation {
  width: 100%;
}

.how-to-play__demo-panel--with-picker .how-to-play__demo-board-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.how-to-play__piece-picker {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.how-to-play__piece-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 6px 8px;
  font-size: 11px;
  text-align: left;
}

.how-to-play__piece-chip-letter {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 11px;
  background: oklch(100% 0 0 / 8%);
}

.how-to-play__piece-chip.is-active {
  border-color: var(--tile-hover);
  color: var(--tile-hover);
}

.how-to-play__setup-phase {
  font-weight: 600;
  color: var(--tile-hover);
}

.how-to-play-demo .game-piece {
  cursor: grab;
  pointer-events: all;
}

.how-to-play-demo .game-piece:active {
  cursor: grabbing;
}

.how-to-play__score-detail {
  width: 100%;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}

.how-to-play__score-heading {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.how-to-play__score-subheading {
  margin: 14px 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.how-to-play__score-lead {
  margin: 0 0 10px;
  color: var(--muted);
}

.how-to-play__score-note {
  margin: 12px 0 0;
  font-size: 13px;
}

.how-to-play__score-totals {
  margin: 0;
  padding-left: 1.2em;
}

.how-to-play__score-totals li {
  margin-bottom: 6px;
}

.how-to-play__score-table {
  width: 100%;
  margin: 0 0 10px;
  border-collapse: collapse;
}

.how-to-play__score-table th,
.how-to-play__score-table td {
  padding: 5px 8px;
  text-align: left;
  border-bottom: 1px solid oklch(100% 0 0 / 8%);
}

.how-to-play__score-rules {
  margin: 0 0 10px;
  padding-left: 1.2em;
}

.how-to-play__score-example {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 8%);
}

.win-demo__svg {
  width: 100%;
  max-height: 140px;
}

.win-demo__svg--wisdom-tip {
  max-height: 200px;
}

.win-demo__wisdom-tip-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.win-demo__wisdom-caption {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

.win-demo__tile polygon {
  fill: var(--tile);
  stroke: var(--glass-line);
}

.win-demo__svg--wisdom-tip .tile text {
  font-size: 9px;
  fill: var(--muted);
  pointer-events: none;
}

.win-demo__vigor {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.win-demo__vigor-jump {
  fill: none;
  stroke: oklch(72% 0.12 150);
  stroke-width: 2.5;
  stroke-dasharray: 6 4;
  opacity: 0.85;
}

.win-demo__rack {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.win-demo__rack-slot {
  padding: 4px 10px;
  border-radius: 6px;
  background: oklch(100% 0 0 / 8%);
  min-width: 48px;
}

.win-demo__fly-to-rack {
  opacity: 0.35;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.win-demo__forfeit {
  width: 100%;
  margin: 0;
  text-align: center;
}

.win-demo__forfeit--pulse {
  animation: win-demo-forfeit-pulse 0.8s ease infinite;
}

.win-demo__forfeit--dim {
  opacity: 0.5;
}

@keyframes win-demo-forfeit-pulse {
  0%, 100% { box-shadow: 0 0 0 0 oklch(62% 0.2 25 / 0%); }
  50% { box-shadow: 0 0 0 4px oklch(62% 0.2 25 / 35%); }
}

.win-demo__passes,
.win-demo__prosperity {
  width: 100%;
}

.win-demo__pass-row,
.win-demo__score-lines > div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid oklch(100% 0 0 / 6%);
}

.win-demo__timer {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.win-demo__tie-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

@supports not (grid-template-columns: subgrid) {
  .how-to-play__content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }

  .how-to-play__chapter {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
}

@media (max-width: 900px) {
  .how-to-play__content {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .how-to-play__chapter {
    grid-template-columns: 1fr;
  }

  .how-to-play__demo-panel {
    grid-column: 1;
    min-height: 260px;
  }

  .how-to-play__revival-stage {
    grid-template-columns: 1fr;
  }

  .how-to-play__zones-stage {
    grid-template-columns: 1fr;
  }

  .how-to-play__wins-layout {
    grid-template-columns: 1fr;
  }

  .how-to-play__demo-panel--with-picker .how-to-play__demo-board-row {
    grid-template-columns: 1fr;
  }

  .how-to-play__piece-picker {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .how-to-play__piece-chip {
    flex: 1 1 calc(33% - 4px);
  }

  .how-to-play-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .how-to-play__nav {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--glass-line);
  }

  .how-to-play__nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .how-to-play__nav-link.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--tile-hover);
  }
}

@media (prefers-reduced-motion: reduce) {
  .board-modal--guide {
    transition: none;
  }

  .how-to-play__hero-ring,
  .how-to-play__score-total.is-pulse {
    animation: none;
  }
}
