/* ---------- れんしゅう画面の外側（10/31、デザインレビュー2本への対応） ----------
 *
 * 問題の中身（各 engine-*.js の UI）には触らない。ここにあるのは
 *   1. 上の帯（1段だけ）: ⏸ ／ 科目＋粒＋この周の科目 ／ のこり時間 ／ 🎮 きょうのぶん
 *   2. 「+6びょう」の出る場所（🎮 の下、1か所だけ）
 *   3. 右下の「こまったら」と、そのシート（ヒント・ママ）
 *   4. ⏸ のシート（つづける／あとで／やめる）
 *   5. 科目の区切りカード
 *   6. まとめ画面
 * 色はレビューの提案に合わせる（白地で 4.5:1 以上の文字色）。
 */

:root {
  --sui-ink: #222;
  --sui-ink-2: #5c5c5c;      /* 補足の文字。#999・#aaa・#ccc の文字はやめる（6.6:1） */
  --sui-accent-ink: #b4500a; /* オレンジの文字用（4.9:1） */
  --sui-good: #2e9e4f;
  --sui-good-ink: #1e7a3a;
  --sui-bad: #d94848;
  --sui-bad-ink: #b02a2a;
  --sui-reward-ink: #9a6400; /* ゲーム時間の文字（4.5:1 以上） */
  --sui-reward-bg: #fff7dc;
  --sui-reward-line: #f6dd8a;
  --sui-line: #d9d4cd;
  --sui-surface-2: #f6f3ef;
  --sui-radius: 18px;
}

/* ===== 1. 上の帯 ===== */

/* 高さは固定（64px）。中身が変わっても問題の位置が動かない。 */
.playbar {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 1080px;
  height: 64px;
  flex-shrink: 0;
  align-self: center;
}

.playbar-pause {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--sui-line);
  background: #fff;
  color: var(--sui-ink-2);
  font-family: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.playbar-pause:active {
  filter: brightness(0.92);
}

.playbar-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
}

/* 科目名: 18px 以上・濃い色（前は 12px の #ccc で 1.6:1 だった）。
   ルビつき（保護者の指定、10/31）。 */
.playbar-subject {
  font-size: clamp(1.1rem, 2.6vmin, 1.4rem);
  font-weight: 800;
  color: var(--sui-accent-ink);
  white-space: nowrap;
  line-height: 1.2;
}

.playbar-subject .rt,
.block-card .rt,
.summary-stop-label .rt {
  font-size: 0.5em;
  font-weight: 700;
  color: var(--sui-ink-2);
}

/* このブロックの1問1粒。緑＝正解・うす赤＝まちがい・オレンジ＝いま・灰＝まだ。 */
.playbar-pips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.playbar-pips .pip {
  width: 22px;
  height: 12px;
  border-radius: 6px;
  background: #e4dfd8;
  transition: background 0.2s ease;
}

.playbar-pips .pip.ok { background: var(--sui-good); }
.playbar-pips .pip.ng { background: #f5c6bf; }
.playbar-pips .pip.teach { background: #bcd3fb; }
.playbar-pips .pip.now { background: var(--accent); }

/* 問題数で終わらない科目（九九の段の歩きなど）は粒ではなく1本のバー。 */
.playbar-bar {
  display: block;
  width: 180px;
  height: 12px;
  border-radius: 6px;
  background: #e4dfd8;
  overflow: hidden;
}

.playbar-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 6px;
  transition: width 0.3s ease;
}

/* この周の科目。小さな丸に絵だけ。おわり＝緑＋✓、いま＝オレンジ、まだ＝灰。 */
.playbar-stops {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-left: 6px;
}

.playbar-stop {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--sui-line);
  background: #fff;
  font-size: 14px;
  line-height: 26px;
  text-align: center;
  opacity: 0.55;
}

.playbar-stop.current {
  border-color: var(--accent);
  background: #fff3e8;
  opacity: 1;
}

.playbar-stop.done {
  border-color: var(--sui-good);
  opacity: 1;
}

.playbar-stop.done::after {
  content: "✓";
  position: absolute;
  right: -5px;
  top: -7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--sui-good);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 15px;
  text-align: center;
}

.playbar-right {
  position: relative; /* .earn-fly の土台 */
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* 「あと 12分」。減っていく数字1つだけ（前は経過時間 00:47 と、目標の
   書いていないバー2本だった）。 */
.playbar-left {
  font-size: clamp(1rem, 2.4vmin, 1.25rem);
  font-weight: 800;
  color: var(--sui-ink-2);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.playbar-left .rt {
  font-size: 0.5em;
}

.playbar-left.soon {
  color: var(--sui-accent-ink);
}

/* 🎮 きょうのぶん。正解のたびに跳ねる。 */
.playbar-earn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--sui-reward-bg);
  border: 3px solid var(--sui-reward-line);
  color: var(--sui-reward-ink);
  font-size: clamp(1.05rem, 2.6vmin, 1.35rem);
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* style.css の .live-points-count.bump（色が緑に変わる）を、黄色のピルに合わせる。 */
.playbar-earn.bump {
  animation: sui-bump 0.4s ease;
}

@keyframes sui-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.14); border-color: #e9b93a; }
  100% { transform: scale(1); }
}

/* ===== 2. +6びょう は ここ1か所 =====
   🎮 のピルのすぐ下から出て、ピルに吸い込まれて消える。帯の外には出ない
   （前は帯の上を飛んで「ヒント のこり3回」に重なっていた）。 */
.playbar-right .earn-fly {
  position: absolute;
  top: calc(100% + 2px);
  right: 10px;
  left: auto;
  z-index: 25;
  pointer-events: none;
  opacity: 0;
  font-size: clamp(1rem, 2.6vmin, 1.3rem);
  font-weight: 900;
  color: var(--sui-good-ink);
  text-shadow: 0 2px 0 #fff, 0 0 12px rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.playbar-right .earn-fly.big {
  font-size: clamp(1.2rem, 3.4vmin, 1.7rem);
  color: var(--sui-reward-ink);
}

.playbar-right .earn-fly.fly {
  animation: sui-earn-fly 1.05s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes sui-earn-fly {
  /* 上に飛ぶと 🎮 の文字に重なるので、帯の下で ふくらんで消える（10/31）。 */
  0%   { opacity: 0; transform: translateY(-6px) scale(0.6); }
  20%  { opacity: 1; transform: translateY(4px) scale(1.15); }
  60%  { opacity: 1; transform: translateY(6px) scale(1); }
  100% { opacity: 0; transform: translateY(10px) scale(0.95); }
}

/* 連打の警告は帯の下に出す（.playbar が土台）。 */
.playbar .mash-toast {
  top: calc(100% + 8px);
  right: 0;
}

/* ===== 3. こまったら（右下）===== */

/* 高さ固定の1行。ボタンが出たり消えたりしても問題の位置は動かない。 */
.play-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  max-width: 1080px;
  height: 56px;
  flex-shrink: 0;
  align-self: center;
}

.help-btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 3px solid var(--sui-line);
  background: #fff;
  color: var(--sui-ink-2);
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.help-btn:active {
  filter: brightness(0.92);
}

/* 秒読み（九九など）は画面のいちばん下の細い線。帯からは外した。 */
#screen-play > .qtimer-track {
  max-width: 1080px;
  height: 5px;
  margin-top: 0;
  flex-shrink: 0;
}

/* ===== 4. シート（⏸・こまったら）===== */

.play-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(60, 40, 20, 0.35);
}

.play-sheet.shown {
  display: flex;
}

.play-sheet-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: min(92vw, 440px);
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.play-sheet-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--sui-ink);
  text-align: center;
}

.play-sheet-note {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sui-ink-2);
  text-align: center;
  white-space: pre-line;
  line-height: 1.5;
}

.play-sheet-note:empty {
  display: none;
}

.play-sheet-step {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.play-sheet-step.shown {
  display: flex;
}

.play-sheet-main,
.play-sheet-opt,
.play-sheet-cancel {
  min-height: 56px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}

.play-sheet-main {
  border: none;
  background: var(--accent);
  color: #fff;
}

.play-sheet-opt {
  border: 3px solid var(--sui-line);
  background: #fff;
  color: var(--sui-ink);
}

.play-sheet-opt.danger {
  color: var(--sui-bad-ink);
  border-color: #f0b4b4;
}

.play-sheet-cancel {
  border: none;
  background: var(--sui-surface-2);
  color: var(--sui-ink-2);
  font-size: 1.1rem;
  min-height: 48px;
}

.play-sheet-main:active,
.play-sheet-opt:active,
.play-sheet-cancel:active {
  filter: brightness(0.92);
}

/* ヒント・ママは、シートの中では 56px のボタンに（前は 31px）。
   色の意味（ヒント＝黄、ママ＝青、確認中＝塗り）は style.css のまま。 */
.play-sheet .hint-btn {
  min-height: 56px;
  padding: 10px 20px;
  font-size: 1.25rem;
  border-width: 3px;
  white-space: normal;
}

/* ===== 5. 科目の区切りカード ===== */

.block-card {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 250, 243, 0.94);
  cursor: pointer;
}

.block-card.shown {
  display: flex;
}

.block-card-stamp {
  text-align: center;
  animation: sui-stamp 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}

@keyframes sui-stamp {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.block-card-emoji {
  font-size: clamp(4rem, 14vmin, 7rem);
  line-height: 1.1;
}

.block-card-title {
  margin-top: 8px;
  font-size: clamp(2rem, 6vmin, 3rem);
  font-weight: 800;
  color: var(--sui-ink);
}

.block-card-check {
  display: inline-block;
  color: var(--sui-good);
  font-weight: 900;
}

.block-card-next {
  margin-top: 10px;
  min-height: 1.5em;
  font-size: clamp(1.2rem, 3.4vmin, 1.7rem);
  font-weight: 700;
  color: var(--sui-ink-2);
}

/* ===== 6. まとめ画面 ===== */

#screen-summary {
  gap: 14px;
  padding-top: max(20px, env(safe-area-inset-top));
  /* ホーム・問題画面と同じ クリーム地（10/31） */
  background: #fffaf3;
}

#screen-summary .summary-title {
  font-size: clamp(1.8rem, 5vmin, 2.6rem);
}

#screen-summary .summary-title .rt,
.summary-hero .rt,
.summary-again .rt,
.summary-meta .rt {
  font-size: 0.5em;
  color: var(--sui-ink-2);
}

.summary-stops {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  max-width: 900px;
}

.summary-stops:empty {
  display: none;
}

.summary-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 84px;
}

.summary-stop-dot {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--sui-line);
  background: #fff;
  font-size: 26px;
  line-height: 50px;
  text-align: center;
}

.summary-stop.done .summary-stop-dot {
  border-color: var(--sui-good);
}

.summary-stop.done .summary-stop-dot::after {
  content: "✓";
  position: absolute;
  right: -6px;
  top: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sui-good);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 22px;
  text-align: center;
}

.summary-stop.partial .summary-stop-dot {
  border-style: dashed;
  border-color: var(--accent);
}

.summary-stop-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sui-ink-2);
  white-space: nowrap;
}

.summary-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: min(92vw, 420px);
  padding: 18px 28px;
  border-radius: 28px;
  background: var(--sui-reward-bg);
  border: 3px solid var(--sui-reward-line);
  text-align: center;
}

.summary-hero.muted {
  background: var(--sui-surface-2);
  border-color: var(--sui-line);
}

.summary-hero-label {
  font-size: 1.15rem;
  font-weight: 800;
  color: #8a6a1a;
}

.summary-hero.muted .summary-hero-label {
  color: var(--sui-ink-2);
}

.summary-hero-num {
  font-size: clamp(2.6rem, 8vmin, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--sui-reward-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.summary-hero.muted .summary-hero-num {
  color: var(--sui-ink);
}

/* 大きな数字のルビは小さめに（0.5em だと 28px になって数字と競う）。 */
.summary-hero-num .rt {
  font-size: 0.3em;
  font-weight: 700;
}

.summary-hero-sub {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sui-ink-2);
}

/* ボーナスの行（延長・ダブル・あずかり・あしたから…）は1行ずつ。 */
#screen-summary .summary-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sui-ink-2);
  line-height: 1.6;
  text-align: center;
  max-width: 720px;
}

#screen-summary .summary-sub:empty {
  display: none;
}

.summary-again {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 960px;
}

.summary-again:empty {
  display: none;
}

.summary-again-head {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--sui-ink-2);
}

.summary-again-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.summary-again-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 150px;
  max-width: 260px;
  padding: 10px 16px;
  border-radius: 16px;
  background: #eef4ff;
  border: 3px solid #bcd3fb;
  text-align: left;
}

.summary-again-subj {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sui-ink-2);
}

.summary-again-q {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1d4ed8;
  line-height: 1.3;
}

/* 正答数・かかった時間は小さく、中立の色で。 */
.summary-meta {
  display: flex;
  gap: 18px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sui-ink-2);
  font-variant-numeric: tabular-nums;
}

.summary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 22px;
  margin-top: 6px;
}

/* 主＝「おわる」（塗り）、副＝「あと10ぷん」（白地）。前は同じオレンジが2つ並んでいた。 */
.summary-actions .big-button {
  font-size: clamp(1.3rem, 4vmin, 1.8rem);
  padding: 0.6em 1.6em;
}

.summary-actions .extend-button.shown {
  display: inline-block;
  background: #fff;
  color: var(--sui-accent-ink);
  border: 3px solid var(--accent-dim);
  font-size: clamp(1.05rem, 3vmin, 1.3rem);
}

/* ===== 画面の大きさ ===== */

/* 幅が足りないとき（iPad たて 820px など）は、この周の科目の丸を省く。
   科目名と粒だけで「いま何を・あとどれくらい」は伝わる。 */
@media (max-width: 960px) {
  .playbar-stops { display: none; }
  .playbar-bar { width: 140px; }
}

/* スマホ幅（iPhone 390px など）。前は まん中の欄が 80px しかなく、科目名が
   消えて粒が切れていた（10/31）。右の「あと ○分」を 🎮 の下に落として
   まん中を広げ、科目名の下に粒を並べる（2段でも 56px に入る）。 */
@media (max-width: 700px) {
  .playbar { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; height: 56px; }
  .playbar-pause { width: 44px; height: 44px; font-size: 18px; border-width: 2px; }
  .playbar-mid { flex-direction: column; gap: 3px; overflow: visible; }
  .playbar-subject { font-size: 1rem; line-height: 1.15; }
  .playbar-pips { gap: 3px; }
  .playbar-pips .pip { width: 11px; height: 7px; border-radius: 4px; }
  .playbar-bar { width: 110px; height: 8px; }
  .playbar-right { flex-direction: column; align-items: flex-end; gap: 0; }
  .playbar-left { font-size: 0.8rem; line-height: 1.1; }
  .playbar-earn { min-height: 34px; padding: 0 10px; font-size: 0.95rem; border-width: 2px; }
  .playbar-left:empty { display: none; }
  .play-foot { height: 48px; }
  .help-btn { min-height: 44px; padding: 0 16px; font-size: 1rem; border-width: 2px; }
  .play-sheet-card { padding: 18px; gap: 10px; }
  .play-sheet-title { font-size: 1.35rem; }
  .play-sheet-main, .play-sheet-opt { font-size: 1.1rem; min-height: 52px; }
  .play-sheet .hint-btn { font-size: 1.05rem; min-height: 52px; }
  .block-card-emoji { font-size: clamp(3rem, 16vmin, 5rem); }
  .block-card-title { font-size: clamp(1.5rem, 7vmin, 2.4rem); padding: 0 16px; text-align: center; }
  .block-card-next { font-size: clamp(1rem, 4.2vmin, 1.4rem); padding: 0 16px; text-align: center; }
  /* テストプレイの札は 左下に小さく（「こまったら」と重ならない） */
  #sandbox-badge { left: 8px; right: auto; transform: none; max-width: 56vw; white-space: normal; font-size: 0.62rem; padding: 3px 9px; line-height: 1.3; text-align: left; }
}

/* まとめ画面（スマホ）: 1画面に入らないときは縦にスクロールしてよいが、
   主役（🎮）と ボタンが詰まらないように。 */
@media (max-width: 700px) {
  #screen-summary { gap: 10px; padding-left: 14px; padding-right: 14px; }
  .summary-stops { gap: 6px 8px; }
  .summary-stop { width: 64px; }
  .summary-stop-dot { width: 46px; height: 46px; font-size: 22px; line-height: 40px; }
  .summary-stop-label { font-size: 0.78rem; }
  .summary-hero { min-width: 0; width: 100%; padding: 12px 16px; }
  .summary-hero-num { font-size: clamp(2rem, 10vw, 3rem); }
  .summary-again-card { min-width: 0; width: 100%; max-width: none; padding: 8px 12px; }
  .summary-again-q { font-size: 1.05rem; }
  .summary-actions { gap: 10px; width: 100%; }
  .summary-actions .big-button { width: 100%; font-size: 1.15rem; padding: 0.6em 1em; }
  #screen-summary .summary-sub { font-size: 0.95rem; }
}

@media (max-height: 500px) {
  .playbar { height: 48px; gap: 10px; }
  .playbar-pause { width: 44px; height: 44px; font-size: 18px; border-width: 2px; }
  .playbar-subject { font-size: 1.05rem; }
  .playbar-stops { display: none; }
  /* 幅 700px 以下の2段（あと○分 の下に 🎮）は、高さ 48px の帯からはみ出す。横1列に戻す */
  .playbar-right { flex-direction: row; align-items: center; gap: 8px; }
  .playbar-left { font-size: 0.9rem; }
  .playbar-left { font-size: 0.95rem; }
  .playbar-earn { min-height: 38px; padding: 0 12px; font-size: 1rem; border-width: 2px; }
  /* 「こまったら」は 行を取らず、帯の右はし（🎮 の右）に浮かせる。高さ 390px では
     下の 48px が惜しく、右下に置くと ✓ キーと重なる。帯の右に場所を空けておく。 */
  .playbar { padding-right: 132px; }
  .play-foot {
    position: absolute;
    top: max(4px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    width: auto;
    height: 48px;
    z-index: 5;
  }
  .help-btn { min-height: 44px; padding: 0 12px; font-size: 0.95rem; border-width: 2px; }
  .playbar-pips { gap: 3px; }
  .playbar-pips .pip { width: 11px; height: 7px; border-radius: 4px; }
  .playbar-bar { width: 110px; }
  .playbar .mash-toast { right: 132px; }
  #sandbox-badge { bottom: 2px; }
  .play-sheet { padding: 10px; }
  .play-sheet-card { padding: 12px 16px; gap: 8px; width: min(94vw, 520px); max-height: calc(100dvh - 20px); overflow-y: auto; }
  .play-sheet-title { font-size: 1.2rem; }
  .play-sheet-note { font-size: 0.9rem; }
  .play-sheet-step { gap: 8px; }
  .play-sheet-main, .play-sheet-opt { font-size: 1.05rem; min-height: 46px; padding: 6px 16px; }
  .play-sheet-cancel { min-height: 44px; font-size: 1rem; }
  .play-sheet .hint-btn { font-size: 1rem; min-height: 46px; padding: 6px 16px; }
  .block-card-emoji { font-size: clamp(2.6rem, 14vmin, 4rem); }
  .block-card-title { font-size: clamp(1.4rem, 6vmin, 2.2rem); margin-top: 4px; }
  .block-card-next { font-size: clamp(0.95rem, 3.6vmin, 1.3rem); margin-top: 4px; }
  #sandbox-badge { font-size: 0.6rem; padding: 2px 8px; }
  #screen-summary { gap: 6px; padding-top: 8px; padding-bottom: 8px; }
  #screen-summary .summary-title { font-size: clamp(1.3rem, 7vh, 1.8rem); }
  .summary-stop { width: 64px; }
  .summary-stop-dot { width: 40px; height: 40px; font-size: 20px; line-height: 34px; }
  .summary-stop-label { font-size: 0.78rem; }
  .summary-hero { padding: 6px 20px; min-width: 0; gap: 0; }
  .summary-hero-label { font-size: 0.95rem; }
  .summary-hero-sub { font-size: 0.85rem; }
  .summary-meta { font-size: 0.85rem; }
  .summary-hero-num { font-size: clamp(1.8rem, 9vh, 2.6rem); }
  .summary-actions .big-button { font-size: 1.1rem; padding: 0.45em 1.2em; }
}

@media (prefers-reduced-motion: reduce) {
  .block-card-stamp { animation: none; }
  .playbar-earn.bump { animation: none; }
  .playbar-right .earn-fly.fly { animation-duration: 0.01ms; }
}
