/*
  2026-11-26 화면 3단 구성 (칸반 066)
  - 시작 화면, 스테이지 선택 화면, 게임 화면을 body[data-screen] 으로 나눈다.
  - 게임 화면의 그림 크기는 단계(시작 전, 원본 보기, 가림, 찾기, 결과)와 무관하게 같아야 한다.
    그림 위아래, 옆의 칸은 모두 높이나 너비를 고정하고, 그림은 남은 영역에만 맞춘다.
    가로 화면: 머리글(고정 높이) + [조작 패널(고정 너비) | 그림 영역]
    세로 화면: 머리글(고정 높이) + 조작 막대(고정 높이) + 그림(가로 꽉 참) + 정답 목록(아래)
  - 높이 기준은 svh (주소 막대가 접히고 펴져도 바뀌지 않는 높이). 지원 안 하면 vh.
*/
:root {
  color-scheme: dark;
  --night: #101728;
  --panel: #1a2337;
  --panel-deep: #202a40;
  --line: #343f57;
  --paper: #fff6e7;
  --muted: #b5c0d5;
  --gold: #ffce7a;
  --green: #96ebbd;
  --red: #ff9d9d;
  --gutter: clamp(12px, 3vw, 40px);
  --gap: 10px;
  --header-h: 3.5rem;
  --panel-w: clamp(13.5rem, 26vw, 20rem);
  --strip-h: 8.5rem;
  --art-aspect: calc(4 / 3);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

/* 스크롤 막대가 생기고 사라질 때 화면 너비(그림 너비)가 바뀌지 않게 자리를 미리 잡는다 */
html { scrollbar-gutter: stable; background: var(--night); }

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background: radial-gradient(ellipse at 24% 0%, #25334c, transparent 56%), var(--night);
}

button { font: inherit; }
button:enabled { cursor: pointer; }
:focus-visible { outline: 3px solid #b7e7ff; outline-offset: 4px; }
h1, h2, p { margin-top: 0; }
h1:focus, h2:focus { outline: none; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app {
  width: min(100%, calc(1450px + 2 * var(--gutter)));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.genre {
  margin: 0 0 6px;
  color: var(--gold);
  font-weight: 750;
  font-size: .875rem;
}
.genre span { margin-right: .22em; }

.description { color: var(--muted); margin: 0; line-height: 1.45; word-break: keep-all; font-size: .875rem; }

.primary {
  min-height: 44px;
  padding: 8px 16px;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--gold);
  color: #28202a;
  font-size: 1rem;
  font-weight: 800;
}
.primary:enabled:hover, a.primary:hover { background: #ffe0a4; }
.primary:disabled { color: #b6bfd0; background: #30394e; border-color: #424d65; }
.primary.secondary { border-color: var(--line); color: var(--paper); background: var(--panel); }
.primary.secondary:enabled:hover { background: #29364d; }
.primary.secondary:disabled { opacity: .55; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  flex: none;
  min-height: 40px;
  padding: .35rem .75rem .35rem .45rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--paper);
  background: var(--panel);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.back-link:hover { background: #29364d; }

.visually-hidden {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* == 시작 화면 == */
.screen-start {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding-block: clamp(20px, 5vh, 56px);
}
.start-inner {
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
}
.start-art {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-deep);
  box-shadow: 0 16px 37px #090e1b52;
}
.start-art img { display: block; width: 100%; height: auto; }
.start-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -.065em;
  line-height: 1.12;
}
.lead { margin: 0 0 20px; color: var(--muted); font-size: 1rem; line-height: 1.6; word-break: keep-all; }
.how-to { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.how-to li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.how-to-no {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #473a2d;
  color: #ffe2ad;
  font-weight: 800;
}
.how-to strong { display: block; font-size: .9375rem; }
.how-to li > div > span { display: block; color: var(--muted); font-size: .875rem; line-height: 1.45; word-break: keep-all; }
.start-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  min-height: 48px;
  font-size: 1.0625rem;
  text-decoration: none;
}
.start-note { margin: 10px 0 0; color: var(--muted); font-size: .875rem; }
.orientation-tip { display: none; }

/* == 스테이지 선택 화면 == */
.screen-select { padding-block: clamp(14px, 3vw, 32px) 40px; }
.select-header { display: grid; justify-items: start; gap: 6px; margin-bottom: 18px; }
.select-header h1 {
  margin: 6px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -.05em;
  line-height: 1.2;
}
.stage-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stage-card a {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
  background: var(--panel);
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.stage-card a:hover { border-color: #7c633f; transform: translateY(-2px); }
.stage-card img { display: block; width: 100%; height: auto; aspect-ratio: var(--art-aspect); background: var(--panel-deep); }
.stage-meta { display: flex; align-items: baseline; gap: 8px; padding: 10px 12px 12px; }
.stage-meta .no { flex: none; color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.stage-meta .name { font-size: .9375rem; font-weight: 700; line-height: 1.35; word-break: keep-all; }
.stage-card a[aria-current="true"] { border-color: var(--gold); }

/* == 게임 화면: 공통 == */
.play-header {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
  overflow: hidden;
}
/* 2026-11-26 스테이지 번호와 제목을 한 줄로 (칸반 066 검수). 길면 제목만 말줄임 */
.play-title { display: flex; flex: 1 1 auto; align-items: baseline; gap: .6em; min-width: 0; }
.stage-no { flex: none; margin: 0; color: var(--gold); font-size: .875rem; font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; }
.play-title h1 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  letter-spacing: -.045em;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.steps {
  display: flex;
  flex: none;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: flex;
  align-items: center;
  gap: .42em;
  padding: .48em .68em;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: .875rem;
  white-space: nowrap;
}
.steps li[aria-current] { border-color: #7c633f; background: #473a2d; color: #ffe2ad; font-weight: 700; }
.step-dot { width: .43em; height: .43em; border: 1px solid currentColor; border-radius: 50%; }
.steps li[aria-current] .step-dot { background: currentColor; }

.play-body { display: grid; gap: var(--gap); min-width: 0; }

.controls, .results, .picture {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 16px 37px #090e1b52;
}
.controls { min-width: 0; overflow: hidden; }
.status { min-width: 0; overflow: hidden; }
.status h2 { margin: 0 0 4px; font-size: clamp(1rem, 2.2vw, 1.2rem); letter-spacing: -.035em; line-height: 1.3; }
.meters { min-width: 0; }
.control-actions { min-width: 0; }

.timer { flex: none; }
.timer-label { color: var(--muted); font-size: .875rem; }
.time {
  margin: 1px 0 5px;
  color: var(--gold);
  font-size: clamp(1.65rem, 3.1vw, 2.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.time-track { height: 5px; overflow: hidden; border-radius: 20px; background: #394459; }
.time-fill { width: 100%; height: 100%; border-radius: inherit; background: var(--gold); }
body[data-low-time] .time { color: var(--red); }
body[data-low-time] .time-fill { background: var(--red); }

.selection { min-width: 0; }
.selection-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .9rem; }
.selection-heading strong { color: var(--paper); font-variant-numeric: tabular-nums; }
.selection:has(.slots > :last-child button) .selection-heading strong { color: var(--gold); }
.slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 5px 0 0; padding: 0; list-style: none; }
.slot { height: 34px; display: grid; place-items: center; border: 1px dashed #5d6a84; border-radius: 10px; background: var(--panel-deep); color: #adb9d1; font-weight: 700; }
button.slot { width: 100%; border: 1px solid #a38154; background: #4b3d31; color: #ffe0ab; }
button.slot:hover { background: #644d35; }
.selection-note { margin: 7px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.5; word-break: keep-all; }

.score { display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: 1.25rem; font-weight: 760; }
.score strong { color: var(--gold); font-size: 2.3rem; line-height: 1.15; }

.results { padding: 12px clamp(12px, 1.6vw, 18px); }
.results h2 { margin: 0; font-size: 1.05rem; }
/* 결과 단계 원본, 바뀐 그림 전환: 그림 오른쪽 위에 겹쳐 띄워 그림 크기에 영향을 주지 않는다 (066 검수) */
.compare {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid #5a6680;
  border-radius: 10px;
  background: #101728e6;
  box-shadow: 0 6px 18px #090e1b80;
}
.compare button { min-height: 32px; padding: 3px 9px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font-size: .875rem; white-space: nowrap; }
.compare button[aria-pressed="true"] { background: #ffe0a0; color: #29212b; font-weight: 800; }
.compare button:hover:not([aria-pressed="true"]) { background: #3b485f; }
.answer-list { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); margin: 7px 0 0; padding: 0; list-style: none; }
.answer-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .875rem; line-height: 1.45; }
.answer-list .answer-index { display: grid; place-items: center; min-height: 20px; border-radius: 50%; background: #fff1aa; color: #2c2332; font-size: .75rem; font-weight: 800; }
.answer-list .found .answer-index { background: var(--green); }
.answer-list strong { display: block; color: var(--paper); font-size: .9rem; }

/* 그림: 크기는 아래 배치 규칙(세로, 가로 화면)이 정한다. 단계별 규칙은 크기를 건드리지 않는다 */
.picture { position: relative; min-width: 0; overflow: hidden; }
.board {
  position: relative;
  width: 100%;
  aspect-ratio: var(--art-aspect);
  isolation: isolate;
  background: var(--panel-deep);
  user-select: none;
  -webkit-user-select: none;
}
.board:focus-visible { outline-offset: -4px; }
body[data-phase="transition"] .board > * { visibility: hidden; }
body[data-phase="search"] .board { cursor: crosshair; touch-action: manipulation; }
.board img, .cover, .overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.board img { display: block; object-fit: contain; pointer-events: none; }
.overlay { pointer-events: none; }
.cover {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 51% 46%, #2f4068, #17243f 57%, #121d33);
}
.cover::before, .cover::after {
  position: absolute;
  content: "";
  width: min(78%, 440px);
  aspect-ratio: 1.4;
  border: 1px solid #7186ad35;
  border-radius: 50%;
  transform: rotate(-16deg);
}
.cover::after { width: min(91%, 530px); border-style: dashed; }
.moon {
  position: relative;
  z-index: 1;
  width: 26%;
  max-width: 195px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 27%, #ffe9af 3%, #ffc676 65%, #ed975d 100%);
  box-shadow: 0 0 55px #ffb56b50, inset -8px -11px 14px #b33f241f;
}
.moon span { position: absolute; border-radius: 50%; background: #b8572936; box-shadow: inset 0 2px 4px #983b2333; }
.moon span:nth-child(1) { width: 23%; height: 18%; top: 22%; left: 23%; transform: rotate(-28deg); }
.moon span:nth-child(2) { width: 14%; aspect-ratio: 1; top: 45%; right: 21%; }
.moon span:nth-child(3) { width: 22%; height: 19%; bottom: 15%; left: 28%; }
.cover-star { position: absolute; z-index: 1; color: #fce2af; font-size: clamp(18px, 3vw, 34px); }
.star-one { left: 23%; top: 25%; }
.star-two { right: 20%; top: 22%; }
.star-three { right: 26%; bottom: 20%; font-size: clamp(16px, 2vw, 25px); }

/* 안내 문구: 그림 위에 겹쳐 띄워 배치에 영향을 주지 않는다 */
.notice {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 3;
  width: max-content;
  max-width: calc(100% - 20px);
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #7c633f;
  border-radius: 10px;
  background: #101728eb;
  color: #ffd9a2;
  font-size: .875rem;
  line-height: 1.4;
  text-align: center;
  word-break: keep-all;
  transform: translateX(-50%);
  pointer-events: none;
}
.notice:empty { display: none; }

.marker, .wrong, .answer-number, .board-cursor {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.marker, .wrong, .answer-number {
  font-size: .875rem;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 0 0 2px #172032b3;
}
.marker {
  width: 29px;
  height: 29px;
  padding: 0;
  border: 2px solid #fff2cf;
  background: #172032e8;
  color: #fff2cf;
  pointer-events: auto;
  touch-action: manipulation;
}
.marker::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
.marker:hover { background: #453628; }
.wrong { width: 26px; height: 26px; border: 2px solid #ffe6e6; background: #a2233c; color: white; }
.board-cursor {
  width: 16px;
  height: 16px;
  border: 2px solid white;
  outline: 2px dashed #1a2030;
  scroll-margin-block: 8.5rem 1rem;
  pointer-events: none;
}
.answer-ring {
  position: absolute;
  border: 2px dashed #fff1aa;
  border-radius: 50%;
  color: #2c2332;
  box-shadow: 0 0 0 1px #1a2030, inset 0 0 0 1px #1a2030;
  transform: translate(-50%, -50%);
}
.answer-ring.found { border-style: solid; border-color: #bafcce; }
.answer-number { top: 0; left: 50%; width: 21px; height: 21px; background: #fff1aa; font-size: .75rem; }
.answer-ring.found .answer-number { background: #bafcce; }

/* == 게임 화면: 세로 화면 배치 ==
   조작 막대 높이(--strip-h)가 고정이라 그림의 위치와 크기가 단계마다 같다.
   그림 너비 = 화면 너비. 화면 높이가 모자라면 고정 칸을 뺀 높이에 맞춘다 (svh 라 주소 막대에 흔들리지 않음). */
@media (orientation: portrait) {
  .screen-play { padding-block: 8px 24px; }
  .play-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "controls" "stage" "results";
  }
  .panel { display: contents; }
  .controls { grid-area: controls; }
  .results { grid-area: results; }
  .stage-area { grid-area: stage; min-width: 0; }

  .controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr) 2.75rem;
    grid-template-areas: "status status" "meters actions";
    gap: .45rem .75rem;
    height: var(--strip-h);
    padding: .65rem .8rem;
  }
  .status { grid-area: status; }
  .status h2 { overflow: hidden; font-size: 1rem; white-space: nowrap; text-overflow: ellipsis; }
  .status .description {
    display: -webkit-box;
    overflow: hidden;
    font-size: .8125rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .meters { grid-area: meters; display: flex; align-items: center; gap: .75rem; }
  .control-actions { grid-area: actions; display: flex; align-items: center; gap: .5rem; }
  body[data-phase="ready"] .meters { display: none; }
  body[data-phase="ready"] .control-actions { grid-column: 1 / -1; }
  body[data-phase="ready"] #start { width: 100%; }

  .timer-label { font-size: .6875rem; line-height: 1.2; }
  .time { margin: 0; font-size: 1.375rem; }
  .time-track { display: none; }
  .selection { flex: 1 1 auto; }
  .selection-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .slots { margin: 0; gap: .4rem; }
  .slot { height: 2.125rem; }
  .score strong { font-size: 1.85rem; }
  .primary { min-height: 42px; padding-inline: 12px; font-size: .9375rem; }

  .picture {
    width: min(100%, calc((100vh - var(--header-h) - var(--strip-h) - 3rem) * var(--art-aspect)));
    width: min(100%, calc((100svh - var(--header-h) - var(--strip-h) - 3rem) * var(--art-aspect)));
    margin-inline: auto;
  }
}

/* == 게임 화면: 가로 화면 배치 ==
   조작 패널 너비(--panel-w)와 머리글 높이(--header-h)가 고정이라 그림 영역 크기는 화면 크기로만 정해진다.
   패널 내용이 길어지면 패널 안에서만 스크롤한다. */
@media (orientation: landscape) {
  .screen-play {
    display: grid;
    grid-template-rows: var(--header-h) minmax(0, 1fr);
    height: 100vh;
    height: 100svh;
    padding-block: 8px 12px;
    overflow: hidden;
  }
  .play-body {
    grid-template-columns: var(--panel-w) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    min-height: 0;
  }
  .panel {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .controls {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 14px;
    padding: 14px clamp(12px, 1.4vw, 18px);
  }
  .meters { display: grid; gap: 12px; }
  .meters:not(:has(> :not([hidden]))) { display: none; }
  .control-actions { display: grid; gap: 8px; }
  .control-actions .primary { width: 100%; }
  .results { flex: none; }
  .answer-list { grid-template-columns: minmax(0, 1fr); }

  .stage-area {
    container-type: size;
    display: grid;
    place-items: start center;
    min-width: 0;
    min-height: 0;
  }
  .picture { width: min(100cqw, calc(max(0px, 100cqh - 2px) * var(--art-aspect) + 2px)); }
}

/* == 작은 화면 보정 (크기를 정하는 고정값만 바꾸고, 단계별로는 바꾸지 않는다) == */
@media (max-width: 680px) {
  .steps { display: none; }
  .start-inner { grid-template-columns: minmax(0, 1fr); }
  .controls, .results, .picture, .start-art { border-radius: 13px; }
  .stage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stage-meta { padding: 8px 10px 10px; }
  .stage-meta .name { font-size: .875rem; }
}

@media (orientation: portrait) and (max-width: 820px) {
  .start-inner { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .orientation-tip { display: block; margin: 8px 0 0; color: var(--gold); font-size: .875rem; line-height: 1.45; word-break: keep-all; }
}

@media (max-width: 480px) {
  /* 좁은 화면 머리글: '스테이지' 낱말을 화면에서만 숨긴다 (화면 낭독기는 읽음) */
  .wide-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .play-header { gap: 10px; }
  .compare { top: 6px; right: 6px; padding: 2px; }
  .compare button { min-height: 28px; padding: 2px 8px; font-size: .8125rem; }
}

@media (max-width: 360px) {
  .timer-label { display: none; }
  .primary { padding-inline: 10px; font-size: .875rem; }
  .slots { gap: 4px; }
}

@media (orientation: landscape) and (max-height: 540px) {
  :root { --header-h: 2.75rem; --gap: 8px; }
  .screen-play { padding-block: 4px 8px; }
  .back-link { min-height: 34px; }
  .controls { gap: 10px; padding: 10px 12px; }
  .status h2 { margin: 0; font-size: 1rem; }
  .status .description { display: none; }
  .timer { display: flex; align-items: baseline; gap: 8px; }
  .time { margin: 0; font-size: 1.45rem; }
  .time-track { display: none; }
  .slot { height: 30px; }
  .score strong { font-size: 1.85rem; }
  .primary { min-height: 38px; padding-block: 5px; font-size: .9375rem; }

  .screen-start { padding-block: 16px; }
  .start-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
  .start-art img { max-height: calc(100svh - 32px); object-fit: cover; }
  .start-copy h1 { font-size: 1.75rem; margin-bottom: 6px; }
  .lead { margin-bottom: 10px; font-size: .875rem; line-height: 1.5; }
  .how-to { gap: 6px; margin-bottom: 12px; }
  .how-to li { padding: 6px 10px; gap: 10px; grid-template-columns: 1.6rem minmax(0, 1fr); }
  .how-to-no { width: 1.6rem; height: 1.6rem; font-size: .8125rem; }
  .how-to li > div > span { display: inline; margin-left: .35em; }
  .how-to strong { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-card a { transition: none; }
  .stage-card a:hover { transform: none; }
}
