/* /waza/ 入口 v4（データ駆動）。色・角丸・影は tokens.css の変数だけ（ミノ淡色は color-mix で薄める） */
.page-waza .wrap.wz3 { max-width: 1120px; padding-inline: 32px; }
@media (max-width: 600px) { .page-waza .wrap.wz3 { padding-inline: 14px; } }
.wz3 { --wide: 1240px; padding-bottom: 0; }
.wz3 > * { max-width: var(--wide); margin-inline: auto; }
.wz3 .crumbs { margin-bottom: 8px; }

/* ── 首屏 ── */
.wz-hero { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: 40px; align-items: stretch; }
.wz-intro { display: flex; flex-direction: column; padding: 8px 0 0; position: relative; }
.wz-hero .title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.wz-big { margin: 40px 0 0; font: 900 50px/1.28 'M PLUS Rounded 1c', 'Zen Maru Gothic', sans-serif; color: var(--ink); letter-spacing: .01em; }
.wz-lead { margin: 20px 0 0; max-width: 25em; font-size: 16px; line-height: 1.9; color: var(--sub); }
.wz-hero-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.wz-textlink { font-weight: 900; font-size: 15px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.wz-textlink:hover { color: var(--accent-hover); }
.wz-hero-pico { margin-top: auto; padding-top: 36px; display: flex; align-items: flex-end; gap: 14px; }
.wz-hero-pico svg { width: 128px; height: 120px; flex: none; }
.wz-hero-pico p { margin: 0 0 54px; position: relative; background: var(--surface); border: var(--stroke-w) solid var(--stroke); border-radius: var(--radius-inner); padding: 10px 16px; font-weight: 900; font-size: 15px; color: var(--ink); }
.wz-hero-pico p::before { content: ''; position: absolute; left: -8px; bottom: 14px; width: 12px; height: 12px; background: var(--surface); border-left: var(--stroke-w) solid var(--stroke); border-bottom: var(--stroke-w) solid var(--stroke); transform: rotate(45deg); }

.wz-stage { position: relative; background: var(--soft); border-radius: var(--radius-shell); padding: 26px 30px 30px; display: grid; gap: 22px; align-content: start; isolation: isolate; }
.wz-deco { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.wz-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.wz-tab { position: relative; display: grid; justify-items: center; align-content: start; gap: 5px; padding: 10px 4px 10px; border-radius: var(--radius-card); background: var(--surface); border: var(--stroke-w) solid transparent; color: var(--sub); cursor: pointer; transition: transform .15s; }
.wz-tab .wz-no { position: absolute; top: 6px; left: 9px; font: 900 13px/1 'M PLUS Rounded 1c', sans-serif; color: var(--faint); }
.wz-tab b { font: 900 15px/1.2 'M PLUS Rounded 1c', 'Zen Maru Gothic', sans-serif; color: var(--ink); }
.wz-ico { width: 30px; height: 30px; }
.wz-tab:hover { border-color: var(--slot-line); }
.wz-tab[aria-selected="true"] { background: var(--cta); border-color: var(--stroke); box-shadow: var(--shadow-solid); transform: translateY(-3px); }
.wz-tab[aria-selected="true"] b, .wz-tab[aria-selected="true"] .wz-no { color: #fff; }
.wz-tab[aria-selected="true"] .wz-ico { background: var(--surface); border-radius: 8px; padding: 2px; }
.wz-dots { display: inline-flex; gap: 3px; }
.wz-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.wz-dots i.on { background: var(--ink); }
.wz-tab[aria-selected="true"] .wz-dots i { background: rgb(255 255 255 / .45); } .wz-tab[aria-selected="true"] .wz-dots i.on { background: #fff; }

.wz-play { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; }
.wz-boardwrap { position: relative; }
.wz-board, .wz-mini { --c: 31px; display: grid; grid-template-columns: repeat(10, var(--c)); grid-template-rows: repeat(var(--rows), var(--c)); background: var(--board-bg); border: var(--stroke-w) solid var(--board-edge); border-radius: var(--radius-card); padding: 6px; gap: 2px;
  background-image: linear-gradient(var(--board-grid) 1px, transparent 1px), linear-gradient(90deg, var(--board-grid) 1px, transparent 1px); background-size: calc(var(--c) + 2px) calc(var(--c) + 2px); background-position: 5px 5px; }
.wz-board { box-shadow: var(--shadow-shell); }
.wz-board i, .wz-mini i { display: block; border-radius: 6px; }
.wz-mini i { border-radius: 4px; }
.k-g { background: #E4D3B0; box-shadow: inset 0 -3px 0 #C8B089; }
.k-I { background: var(--mino-i); box-shadow: inset 0 0 0 2px var(--mino-i-edge); }
.k-O { background: var(--mino-o); box-shadow: inset 0 0 0 2px var(--mino-o-edge); }
.k-T { background: var(--mino-t); box-shadow: inset 0 0 0 2px var(--mino-t-edge); }
.k-S { background: var(--mino-s); box-shadow: inset 0 0 0 2px var(--mino-s-edge); }
.k-Z { background: var(--mino-z); box-shadow: inset 0 0 0 2px var(--mino-z-edge); }
.k-J { background: var(--mino-j); box-shadow: inset 0 0 0 2px var(--mino-j-edge); }
.k-L { background: var(--mino-l); box-shadow: inset 0 0 0 2px var(--mino-l-edge); }
.is-live { box-shadow: inset 0 0 0 2px var(--stroke) !important; }
.is-ghost { background: rgb(201 168 232 / .22); outline: 2px dashed var(--mino-t-edge); outline-offset: -2px; }
.wz-board .is-flash { background: var(--surface) !important; box-shadow: inset 0 0 0 3px var(--cta) !important; }
.wz-badge { position: absolute; left: 50%; top: 28%; margin: 0; transform: translate(-50%, -50%) scale(.8); opacity: 0; pointer-events: none; white-space: nowrap; font: 900 26px/1 'M PLUS Rounded 1c', sans-serif; color: var(--ink); background: var(--gold); border: var(--stroke-w) solid var(--stroke); border-radius: var(--radius-pill); padding: 10px 20px; box-shadow: var(--shadow-solid); transition: opacity .18s, transform .18s; }
.wz-badge.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.wz-side { display: grid; gap: 16px; align-content: start; padding-top: 8px; }
.wz-bubble { position: relative; margin: 0; background: var(--surface); border: var(--stroke-w) solid var(--stroke); border-radius: var(--radius-card); padding: 14px 16px; font: 900 18px/1.5 'M PLUS Rounded 1c', 'Zen Maru Gothic', sans-serif; color: var(--ink); min-height: 4.4em; }
.wz-bubble::after { content: ''; position: absolute; left: -9px; top: 22px; width: 14px; height: 14px; background: var(--surface); border-left: var(--stroke-w) solid var(--stroke); border-bottom: var(--stroke-w) solid var(--stroke); transform: rotate(45deg); }
.wz-what { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--sub); }
.wz-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wz-open { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--radius-pill); background: var(--cta); color: #fff; font-weight: 900; font-size: 15px; text-decoration: none; border: var(--stroke-w) solid var(--cta-edge); box-shadow: var(--shadow-solid); }
.wz-open.is-big { min-height: 58px; padding: 0 30px; font-size: 17px; }
.wz-open:hover { background: var(--cta-hover); }
.wz-open:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--stroke); }
.wz-again { min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); background: var(--surface); border: var(--stroke-w) solid var(--stroke); font: 700 14px 'Zen Maru Gothic', sans-serif; color: var(--ink); cursor: pointer; }
.wz-again:hover { background: var(--page); }
.wz-note { margin: -6px 0 0; font-size: 12px; color: var(--muted); }
.wz-note[hidden] { display: none; }
.wz3 :is(.wz-tab, .wz-open, .wz-again, a, summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wz-all h2, .wz-compare h2 { font: 900 32px/1.3 'M PLUS Rounded 1c', 'Zen Maru Gothic', sans-serif; color: var(--ink); margin: 0; }
.wz-route-sub { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

/* ── 学ぶ順番：説明を重ねず、前後関係だけを 1 本で示す ── */
.wz-path { margin-top: 64px; padding: 14px 0; border-block: 1.5px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; scroll-margin-top: 24px; }
.wz-path-label { margin: 0; color: var(--muted); font-size: 12px; font-weight: 900; white-space: nowrap; }
.wz-path ol { min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 12px; }
.wz-path li { min-width: 0; display: flex; align-items: center; gap: 10px; flex: 1; }
.wz-path li:not(:last-child)::after { content: '→'; margin-left: auto; color: var(--slot-line); font-size: 20px; font-weight: 900; }
.wz-path li > span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid var(--stroke); border-radius: 50%; color: var(--ink); font: 400 14px/1 Anton, sans-serif; }
.wz-path li:first-child > span { background: var(--cta); color: #fff; }
.wz-path li div { min-width: 0; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.wz-path li em { color: var(--muted); font-size: 11px; font-style: normal; }
.wz-path a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font: 900 13px/1.3 'M PLUS Rounded 1c', sans-serif; white-space: nowrap; }
.wz-path a:hover { color: var(--accent); }
.wz-path .wz-ico { width: 20px; height: 20px; }

/* ── 比べる表 ── */
.wz-compare { margin-top: 96px; }
.wz-compare table { width: 100%; margin-top: 24px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.wz-compare th, .wz-compare td { text-align: left; padding: 16px 18px; border-bottom: 1.5px solid var(--line); vertical-align: middle; }
.wz-compare thead th { font-size: 12.5px; color: var(--muted); font-weight: 700; border-bottom: var(--stroke-w) solid var(--stroke); }
.wz-compare tbody tr { cursor: pointer; }
.wz-compare tbody tr:hover { background: var(--surface); }
.wz-compare tbody th a { display: inline-flex; align-items: center; gap: 10px; font: 900 17px 'M PLUS Rounded 1c', sans-serif; color: var(--ink); }
.wz-compare tbody tr:hover th a { color: var(--accent); }
.wz-compare td { color: var(--sub); }
.wz-compare .wz-dots i { width: 10px; height: 10px; }

.wz3 > .wz-faq { max-width: calc(var(--measure) + 100px); margin: 64px auto 64px; }

@media (max-width: 1100px) {
  .wz-board { --c: 30px; }
  .wz-big { font-size: 40px; }
}
@media (max-width: 960px) {
  .wz-hero { grid-template-columns: 1fr; gap: 18px; }
  .wz-hero-pico, .wz-hero-acts { display: none; }
  .wz-big { margin-top: 16px; font-size: 28px; }
  .wz-lead { display: none; }
}
@media (max-width: 600px) {
  .wz3 .title-sub { font-size: 12px; }
  .wz-big { font-size: 24px; margin-top: 12px; }
  .wz-stage { margin-inline: -8px; padding: 12px 10px 16px; gap: 14px; border-radius: var(--radius-card); }
  .wz-deco { display: none; }
  .wz-tabs { gap: 4px; }
  .wz-tab { padding: 8px 0 7px; gap: 3px; border-radius: 14px; }
  .wz-tab .wz-no { top: 4px; left: 6px; font-size: 10px; }
  .wz-tab b { font-size: 12px; }
  .wz-ico { width: 22px; height: 22px; }
  .wz-dots { gap: 2px; } .wz-dots i { width: 5px; height: 5px; }
  .wz-play { grid-template-columns: 1fr; gap: 12px; justify-items: center; }
  .wz-board { --c: 29px; padding: 4px; gap: 1.5px; box-shadow: var(--shadow-solid); border-radius: var(--radius-inner); }
  .wz-side { gap: 10px; padding-top: 0; width: 100%; }
  .wz-bubble { font-size: 15px; padding: 10px 14px; min-height: 0; }
  .wz-bubble::after { left: 24px; top: -9px; transform: rotate(135deg); }
  .wz-what { font-size: 13px; line-height: 1.75; }
  .wz-acts .wz-open { flex: 1; }
  .wz-badge { font-size: 20px; }
  .wz-all h2, .wz-compare h2 { font-size: 24px; }
  .wz-compare { margin-top: 56px; }
  .wz-compare thead { display: none; }
  .wz-compare tbody tr { display: grid; grid-template-columns: 1fr auto; padding: 14px 4px; border-bottom: 1.5px solid var(--line); gap: 4px 10px; }
  .wz-compare th, .wz-compare td { padding: 0; border: 0; }
  .wz-compare td:nth-child(3), .wz-compare td:nth-child(4) { grid-column: 1 / -1; font-size: 13px; }
  .wz-compare td:nth-child(4)::before { content: '先に：'; color: var(--muted); }
  .wz3 > .wz-faq { margin-top: 48px; margin-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) { .wz-badge, .wz-tab { transition: none; } }

/* ════ v4 ════ */
/* 首屏：左右 2 欄を同じ高さに。左は上（看板）・中（声）・下（ピコ）に三分し、上端＝舞台の上端、下端＝舞台の下端 */
.wz4 .wz-hero { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); gap: 48px; align-items: stretch; }
.wz4 .wz-intro { padding: 0; justify-content: space-between; gap: 20px; }
.wz4 .wz-intro-mid { display: grid; }
.wz4 .wz-big { margin: 0; font-size: 48px; }
.wz4 .wz-hero-pico { margin: 0; padding: 0; align-items: flex-end; }
.wz4 .wz-hero-pico svg { width: 104px; height: 97px; }
.wz4 .wz-hero-pico p { margin: 0 0 40px; }
.wz4 .wz-stage { display: flex; flex-direction: column; gap: 16px; height: 582px; padding: 22px 26px 26px; }
.wz4 .wz-tab { grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 8px; row-gap: 0; padding: 12px 6px; }
.wz4 .wz-tab .wz-ico { grid-row: span 2; width: 28px; height: 28px; }
.wz4 .wz-tab b { font-size: 17px; justify-self: start; }
.wz4 .wz-tab small { justify-self: start; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.wz4 .wz-tab[aria-selected="true"] small { color: rgb(255 255 255 / .85); }
.wz-pills-row { display: flex; align-items: center; gap: 16px; min-width: 0; }
.wz-pills { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding: 2px 2px 6px; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.wz-pill { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px 0 8px; border-radius: var(--radius-pill); background: var(--surface); border: var(--stroke-w) solid var(--line); font: 900 14px 'M PLUS Rounded 1c', 'Zen Maru Gothic', sans-serif; color: var(--ink); cursor: pointer; white-space: nowrap; }
.wz-pill .wz-ico { width: 20px; height: 20px; }
.wz-pill[aria-pressed="true"] { border-color: var(--stroke); background: var(--page); box-shadow: 0 2px 0 var(--stroke); }
.wz-play-mark { width: 0; height: 0; border-left: 7px solid var(--cta); border-block: 5px solid transparent; margin-left: 2px; }
.wz-pills-all { flex: none; font-weight: 900; font-size: 13px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; padding-bottom: 6px; }
.wz4 .wz-play { flex: 1; align-items: start; }
.wz4 .wz-play { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "b s" "b a"; grid-template-rows: 1fr auto; gap: 18px 24px; }
.wz4 .wz-boardwrap { grid-area: b; } .wz4 .wz-side { grid-area: s; align-content: start; padding-top: 0; }
.wz4 .wz-play > .wz-acts { grid-area: a; flex-wrap: nowrap; }
.wz4 .wz-play > .wz-note { grid-column: 2; margin: 0; }
.wz4 .wz-board { --c: 34px; }
.wz4 .title-sub { overflow-wrap: anywhere; }
.wz-again[hidden] { display: none; }

/* 段の主役：元の 4 つの大きな節を残し、2×2 の学習カードへ圧縮する */
.wz-rooms { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.wz-room { --tint: var(--soft); min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'head fig' 'solve fig' 'tips fig' 'foot foot'; gap: 12px 22px; align-items: start; padding: 24px; border-radius: var(--radius-card); background: color-mix(in srgb, var(--tint) 26%, var(--surface)); border: 1.5px solid color-mix(in srgb, var(--tint) 48%, var(--line)); }
.c-s { --tint: var(--mino-s); } .c-t { --tint: var(--mino-t); } .c-i { --tint: var(--mino-i); } .c-o { --tint: var(--mino-o); } .c-j { --tint: var(--mino-j); } .c-l { --tint: var(--mino-l); }
.wz-room-head { grid-area: head; display: flex; align-items: flex-end; gap: 12px; min-width: 0; }
.wz-num { margin: 0; font: 400 46px/.8 Anton, sans-serif; color: color-mix(in srgb, var(--tint) 72%, var(--ink)); opacity: .62; }
.wz-stage-name { margin: 0 0 2px; color: var(--muted); font-size: 11.5px; font-weight: 900; }
.wz-room h2 { margin: 0; font: 900 24px/1.2 'M PLUS Rounded 1c', 'Zen Maru Gothic', sans-serif; color: var(--ink); }
.wz-solve { grid-area: solve; margin: 0; color: var(--sub); font-size: 13.5px; line-height: 1.75; }
.wz-room-tips { grid-area: tips; margin: -4px 0 0; padding: 0; list-style: none; display: grid; gap: 3px; color: var(--sub); font-size: 12.5px; font-weight: 700; line-height: 1.55; }
.wz-room-tips li::before { content: '✓'; margin-right: 7px; color: color-mix(in srgb, var(--tint) 70%, var(--ink)); }
.wz-fig { grid-area: fig; margin: 0; display: grid; justify-items: end; gap: 6px; }
.wz-stat { display: grid; justify-items: end; gap: 1px; text-align: right; }
.wz-stat b { font: 900 22px/1.15 'M PLUS Rounded 1c', sans-serif; color: var(--ink); }
.wz-stat span, .wz-fig figcaption { max-width: 18em; color: var(--muted); font-size: 10.5px; font-weight: 700; line-height: 1.45; }
.wz-mini { --c: 16px; padding: 3px; gap: 1px; border-radius: var(--radius-inner); box-shadow: 0 3px 0 color-mix(in srgb, var(--tint) 60%, var(--ink)); }
.wz-room-foot { grid-area: foot; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding-top: 12px; border-top: 1.5px dashed color-mix(in srgb, var(--tint) 55%, var(--slot-line)); }
.wz-room-foot .wz-chain { color: var(--muted); font-size: 11.5px; font-weight: 700; }
.wz-room-foot .wz-open { min-height: 38px; padding: 0 16px; font-size: 13px; box-shadow: 0 3px 0 var(--stroke); }

/* すべての講座 */
.wz-all { margin-top: 64px; }
.wz-all-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wz-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.wz-list li { margin: 0; border-bottom: 1.5px solid var(--line); }
.wz-list a { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 14px 6px; color: var(--ink); text-decoration: none; }
.wz-list a:hover b { color: var(--accent); }
.wz-li-main { display: grid; gap: 2px; min-width: 0; }
.wz-li-main b { font: 900 16px 'M PLUS Rounded 1c', sans-serif; } .wz-li-main em { font-style: normal; font-size: 11px; color: var(--muted); }
.wz-li-main span { font-size: 12.5px; color: var(--sub); line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wz-li-meta { display: grid; justify-items: end; gap: 4px; }
.wz-tag { font-size: 11.5px; font-weight: 900; color: var(--sub); background: var(--soft); border-radius: var(--radius-pill); padding: 1px 10px; }
.wz-empty { color: var(--sub); padding: 20px 0; }
.wz4 .wz-compare { margin-top: 80px; }

@media (max-width: 960px) {
  .wz4 .wz-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 14px; }
  .wz4 .wz-hero-pico { display: none; }
  .wz-rooms { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wz4 .wz-big { font-size: 24px; margin-top: 4px; }
  .wz4 .wz-intro { gap: 8px; }
  .wz4 .wz-stage { height: 566px; padding: 10px 10px 14px; gap: 10px; }
  .wz4 .wz-tab { padding: 8px 2px; column-gap: 4px; grid-template-columns: auto; justify-items: center; }
  .wz4 .wz-tab .wz-ico { grid-row: auto; width: 20px; height: 20px; }
  .wz4 .wz-tab b { font-size: 13px; justify-self: center; } .wz4 .wz-tab small { justify-self: center; font-size: 10px; }
  .wz4 .wz-tab .wz-no { display: none; }
  .wz-pill { min-height: 34px; font-size: 13px; }
  .wz-pills-all { font-size: 12px; }
  .wz4 .wz-board { --c: 28px; }
  .wz4 .wz-play { grid-template-columns: minmax(0,1fr); grid-template-areas: 'b' 's' 'a'; grid-template-rows: auto; gap: 10px; justify-items: stretch; }
  .wz4 .wz-boardwrap { justify-self: center; }
  .wz4 .wz-play > .wz-note { grid-column: 1; }
  .wz4 .wz-bubble { height: 62px; font-size: 14px; padding: 8px 12px; display: flex; align-items: center; }
  .wz4 .wz-what { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .wz-path { margin-top: 48px; grid-template-columns: 1fr; gap: 8px; }
  .wz-path ol { overflow-x: auto; gap: 10px; padding-bottom: 4px; scrollbar-width: thin; }
  .wz-path li { flex: none; }
  .wz-path li:not(:last-child)::after { margin-left: 4px; }
  .wz-rooms { margin-top: 48px; gap: 14px; }
  .wz-room { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 18px 16px; }
  .wz-num { font-size: 38px; }
  .wz-room h2 { font-size: 20px; }
  .wz-mini { --c: 12px; }
  .wz-stat b { font-size: 18px; }
  .wz-stat span, .wz-fig figcaption { display: none; }
  .wz-room-foot { grid-template-columns: auto 1fr; }
  .wz-room-foot .wz-open { grid-column: 1 / -1; justify-self: start; }
  .wz-all { margin-top: 48px; }
  .wz-list { grid-template-columns: 1fr; }
  .wz-list a { grid-template-columns: 26px 1fr auto; gap: 10px; padding: 12px 2px; }
  .wz-compare tbody tr { grid-template-columns: 1fr auto auto; }
  .wz-compare td:nth-child(2) { font-size: 12px; }
  .wz-compare td:nth-child(4), .wz-compare td:nth-child(5) { grid-column: 1 / -1; font-size: 13px; }
  .wz-compare td:nth-child(3) { grid-column: auto; }
  .wz-compare td:nth-child(4)::before { content: none; }
  .wz-compare td:nth-child(5)::before { content: '先に：'; color: var(--muted); }
}
/* v4 r2：右の盤を大きくして舞台の高さ＝左の中身の高さに寄せる */
@media (min-width: 961px) {
  .wz4 .wz-board { --c: 32px; }
  .wz4 .wz-big { font-size: 40px; }
  .wz4 .wz-lead { margin-top: 14px; }
  .wz4 .wz-hero-acts { margin-top: 22px; }
  .wz4 .wz-hero-pico svg { width: 92px; height: 86px; }
  .wz4 .wz-hero-pico p { margin-bottom: 30px; }
  .wz4 .wz-boardwrap { align-self: end; }
}
.wz4 .wz-side .wz-note { margin: 0; }
@media (min-width: 961px) {
  /* 左の中身の上端＝札の上端、下端＝盤の下端（舞台の内側の余白と同じ 22/26px） */
  .wz4 .wz-intro { padding: 22px 0 26px; }
}
@media (max-width: 600px) {
  .wz4 .wz-board { --c: 25px; }
  .wz4 .wz-side .wz-note { font-size: 11px; }
}
@media (min-width: 961px) { .wz4 .wz-lead { max-width: none; } .wz4 .wz-big { font-size: 40px; } .wz4 .wz-hero-acts { margin-top: 18px; } }
.wz-again { white-space: nowrap; }
@media (min-width: 961px) {
  .wz4 .wz-play > .wz-acts { flex-direction: column; align-items: stretch; gap: 8px; }
  .wz4 .wz-play > .wz-acts .wz-again { min-height: 40px; }
}
@media (min-width: 961px) { .wz4 .wz-bubble { height: 104px; font-size: 16px; display: flex; align-items: center; } .wz4 .wz-board { --c: 32px; } .wz4 .wz-side { gap: 10px; } }
@media (max-width: 600px) { .wz-long { display: none; } }
