:root {
  color-scheme: light;
  --ink: #24211f;
  --muted: #6b625d;
  --paper: #f7f5ef;
  --surface: #fffdf8;
  --line: #d9d0c7;
  --accent: #b42b30;
  --accent-dark: #8f1f24;
  --accent-soft: #f8e7e6;
  --gold: #c78a26;
  --gold-soft: #f3e3c4;
  --slot: #d9d6d0;
  --blue: #2d64b3;
  --green: #2f7d4a;
  --green-soft: #e3f1e7;
  --shadow: 0 16px 42px rgba(50, 38, 31, 0.09);
  --ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(180, 43, 48, 0.08), transparent 30rem),
    var(--paper);
  line-height: 1.55;
}

button, input, select { font: inherit; }
button { min-height: 44px; }
[lang="ja"] { font-family: var(--ja); }

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #285da8;
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.site-header {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 24px 0;
}

.back-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.page-shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 72px;
}

.intro { margin-bottom: 28px; }
.intro h1 { margin: 0; font-size: clamp(2.25rem, 7vw, 4rem); line-height: 1; letter-spacing: -0.045em; }
.intro > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 1.08rem; }
.intro mark { padding: 0 3px; border-radius: 4px; color: var(--ink); background: var(--slot); }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }

.panel {
  padding: clamp(20px, 5vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.notice { padding: 12px 14px; border: 1px solid #dda7aa; border-radius: 10px; color: #6e161b; background: #fff0f0; }

/* ---------- Buttons ---------- */

.button {
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
}
.button:disabled { cursor: not-allowed; opacity: 0.4; }
.button-primary { color: #fff; border-color: var(--accent); background: var(--accent); }
.button-primary:hover:not(:disabled) { border-color: var(--accent-dark); background: var(--accent-dark); }
.button-secondary { color: var(--accent-dark); border-color: var(--accent); background: #fff; }
.button-secondary:hover:not(:disabled) { background: var(--accent-soft); }
.button-quiet { color: var(--ink); border-color: #cfc5bb; background: transparent; }
.button-quiet:hover:not(:disabled) { background: #eee9e2; }
.button-small { min-height: 38px; padding: 6px 12px; font-size: 0.92rem; }
.button-large { min-width: 170px; min-height: 52px; font-size: 1.05rem; }
.button-hero { width: 100%; min-height: 60px; border-radius: 14px; font-size: 1.15rem; }

/* ---------- Setup ---------- */

.group { margin: 0 0 26px; padding: 0; border: 0; }
.group > legend { float: left; margin-bottom: 10px; font-size: 1.15rem; font-weight: 800; }
.row-actions { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 10px; }

/* One row per chapter; its parts open underneath when you want only some. */
.chapter-options { clear: both; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; list-style: none; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter-row { display: flex; align-items: center; gap: 4px; }
.chapter:has(.chapter-label input:checked) .chapter-row,
.chapter:has(.chapter-label input:indeterminate) .chapter-row { background: var(--accent-soft); }
.chapter-label { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 2px 12px; min-width: 0; min-height: 56px; padding: 8px 8px 8px 16px; cursor: pointer; }
.chapter-label input, .part-label input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }
.chapter-name { font-size: 1.1rem; font-weight: 800; }
.chapter-topic { color: var(--accent-dark); font-weight: 700; }
.chapter-count { margin-left: auto; color: var(--muted); font-size: 0.88rem; white-space: nowrap; }
.parts-toggle {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  margin-right: 8px;
  padding: 4px 10px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
}
.parts-toggle:hover { color: var(--accent-dark); background: rgba(0, 0, 0, 0.05); }
.parts-toggle .chevron { display: inline-block; transition: transform 0.15s; }
.parts-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.chapter-parts { display: grid; gap: 12px; padding: 12px 16px 16px 48px; border-top: 1px dashed var(--line); background: #fcfaf6; }
.part-label { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font-weight: 750; }
.part-count { color: var(--muted); font-size: 0.85rem; font-weight: 500; }
.question-preview { display: grid; gap: 4px; margin: 0; padding: 0 0 0 30px; color: var(--muted); font-size: 0.9rem; list-style: none; }
.preview-picture { color: var(--muted); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 0.82rem; }


.voice-row { clear: both; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.field { display: grid; align-content: start; gap: 7px; }
.field label { font-weight: 750; }
.field-help { margin: 8px 0 0; color: var(--muted); font-size: 0.92rem; }
select { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #bdb2a9; border-radius: 10px; color: var(--ink); background: #fff; font: inherit; }

.start-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.deck-count { margin: 0; color: var(--muted); font-weight: 700; }

/* ---------- Study ---------- */

/* Studying gets a wider page: question on the left, your answer on the right. */
.is-studying .page-shell { width: min(1120px, calc(100% - 32px)); }
.is-studying .site-header { max-width: calc(1120px + 48px); }

.study { display: grid; gap: 18px; }
.study-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.study-topbar .button { white-space: nowrap; }
.counts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 0; font-size: 0.92rem; font-weight: 700; }
.count span { font-variant-numeric: tabular-nums; }
.count-fresh { color: var(--blue); }
.count-learning { color: var(--accent); }
.count-done { color: var(--green); }

.progress { height: 6px; overflow: hidden; border-radius: 99px; background: #e8e1d8; }
.progress-bar { width: 0; height: 100%; background: var(--green); transition: width 0.2s; }

.study-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 24px; }
.pane { display: grid; align-content: start; gap: 28px; padding: clamp(20px, 3vw, 32px); }
.pane-eyebrow { margin: 0 0 -8px; letter-spacing: 0.08em; }

/* Framed like the pictures on the worksheet. */
.scene { justify-self: center; width: min(100%, 340px); margin: 0; padding: 10px; border-radius: 4px; background: #8d8a85; }
.scene img { display: block; width: 100%; height: auto; border-radius: 2px; background: #fff; }
.image-link { display: block; cursor: zoom-in; }
.image-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.picture-viewer {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}
.picture-viewer[open] { display: grid; place-items: center; }
.picture-viewer::backdrop { background: rgba(20, 16, 14, 0.82); }
.picture-viewer img {
  display: block;
  max-width: min(100%, 1000px);
  max-height: calc(100dvh - 32px);
  width: auto;
  height: auto;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.picture-close {
  position: fixed;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.picture-close:hover { background: #fff; }

/* Each part of a card: a small header with its controls, then the content. */
.block { display: grid; gap: 14px; min-width: 0; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.block-title { margin: 0; color: var(--muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.block-actions { display: flex; align-items: center; gap: 8px; }
.block + .block { padding-top: 24px; border-top: 1px solid var(--line); }

.block-head-start { justify-content: flex-start; min-height: 0; }
.toggle {
  min-height: 30px;
  padding: 3px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.toggle:hover { border-color: var(--accent); color: var(--accent-dark); background: #fff; }
.toggle.is-shown { border-color: transparent; }
.toggle.is-shown:hover { border-color: var(--line); }

/* What a hidden part looks like: a quiet panel you can tap to show it. */
.veil {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 84px;
  padding: 16px 20px;
  border: 2px dashed #d6ccc1;
  border-radius: 14px;
  color: var(--muted);
  background: repeating-linear-gradient(-45deg, #faf7f2, #faf7f2 10px, #f5f0e8 10px, #f5f0e8 20px);
  cursor: pointer;
  text-align: left;
}
.veil:hover { border-color: var(--accent); color: var(--accent-dark); }
.veil-icon { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--accent); background: #fff; }
.veil-text { display: grid; gap: 2px; }
.veil-text strong { color: var(--ink); font-size: 1rem; }
.veil-text small { font-size: 0.88rem; }

.question, .answer-text { margin: 0; font-size: clamp(1.3rem, 2.4vw + 0.6rem, 1.7rem); font-weight: 700; line-height: 1.85; overflow-wrap: anywhere; }
.question mark, .answer-text mark { padding: 1px 4px; border-radius: 4px; color: inherit; background: var(--slot); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.answer-text { color: var(--accent-dark); }
.answer-text mark { background: var(--gold-soft); }
.question rt, .answer-text rt, .pattern rt, .missed-answer rt, .answer-line rt { color: var(--muted); font-size: 0.5em; font-weight: 600; }
.question ruby, .answer-text ruby { ruby-position: over; }

.answer-line { margin: 0; font-size: clamp(1.1rem, 1.6vw + 0.6rem, 1.35rem); font-weight: 700; line-height: 2; overflow-wrap: anywhere; }
.answer-line mark { padding: 1px 4px; border-radius: 4px; color: inherit; background: var(--slot); }
.answer-line rt { color: var(--muted); font-size: 0.5em; font-weight: 600; }
.blank { display: inline-block; width: 6em; max-width: 50%; height: 1.1em; margin: 0 4px; border-bottom: 2px solid var(--ink); vertical-align: -0.2em; }

.speak {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #cfc5bb;
  border-radius: 50%;
  color: var(--accent-dark);
  background: #fff;
  cursor: pointer;
}
.speak:hover { border-color: var(--accent); background: var(--accent-soft); }
.speak.is-speaking { border-color: var(--accent); background: var(--accent-soft); animation: pulse 1s ease-in-out infinite; }
.no-speech .speak, .no-speech .listen { display: none; }

/* Listening is the main way to take in the question, like on the test. */
.listen {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 18px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  text-align: left;
}
.listen:hover { border-color: rgba(180, 43, 48, 0.45); background: #fffafa; }
.listen-icon { display: grid; flex: none; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #fff; background: var(--accent); }
.listen.is-speaking .listen-icon { animation: pulse-big 1.2s ease-in-out infinite; }
.listen-text { display: grid; gap: 2px; }
.listen-text strong { font-size: 1.05rem; }
.listen-text small { color: var(--muted); font-size: 0.88rem; }

@keyframes pulse {
  50% { box-shadow: 0 0 0 6px rgba(180, 43, 48, 0.15); }
}

.pattern { margin: 0; padding: 14px 16px; border-radius: 12px; background: #f4efe8; font-size: 1.15rem; line-height: 1.9; overflow-wrap: anywhere; }

/* Recording is the main thing to do on the answer side. */
.recorder { display: grid; justify-items: center; gap: 10px; padding: 12px 0 4px; }
.record-button {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.record-button:hover { background: var(--accent-soft); }
/* The one big button does what comes next: record, stop, then play or pause the take. */
.record-button svg { display: none; }
.record-button[data-mode="record"] .icon-record,
.record-button[data-mode="stop"] .icon-stop,
.record-button[data-mode="play"] .icon-play,
.record-button[data-mode="pause"] .icon-pause { display: block; }
.record-button[data-mode="stop"] { color: #fff; background: var(--accent); animation: pulse-big 1.2s ease-in-out infinite; }
.record-button[data-mode="stop"]:hover { background: var(--accent-dark); }
.record-button[data-mode="play"], .record-button[data-mode="pause"] { border-color: var(--green); color: #fff; background: var(--green); }
.record-button[data-mode="play"]:hover, .record-button[data-mode="pause"]:hover { border-color: #256a3d; background: #256a3d; }
.record-button[data-mode="play"] .icon-play { margin-left: 4px; }
.record-button:disabled { cursor: wait; opacity: 0.6; }
.record-label { margin: 0; color: var(--muted); font-size: 0.92rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.record-label.is-error { color: var(--accent-dark); }

@keyframes pulse-big {
  50% { box-shadow: 0 0 0 12px rgba(180, 43, 48, 0.16); }
}

/* Your take: a waveform you can tap to jump to, with pauses shaded and timed. */
.player { display: grid; gap: 8px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.wave { --wave: #c9bfb5; --pause: rgba(199, 138, 38, 0.16); --pause-ink: #8a5d12; display: block; width: 100%; height: 84px; cursor: pointer; touch-action: none; }
.player.is-live .wave { cursor: default; }
.player.is-live .scrub, .player.is-live .player-meta, .player.is-live .player-actions { visibility: hidden; }
/* Recording again is kept small and away from the big button, so it isn't hit by mistake. */
.player-actions { display: flex; justify-content: flex-end; padding-top: 6px; border-top: 1px solid var(--line); }
.record-again { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.85rem; }
.record-again:hover:not(:disabled) { color: var(--accent-dark); }
.scrub { width: 100%; margin: 0; accent-color: var(--accent); }
.player-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 0; color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.take-time { font-weight: 700; }

/* The grey parts of the question, always listed but kept quiet. */
.changeable { margin: 0; color: var(--muted); font-size: 0.85rem; }
.changeable mark { padding: 0 4px; border-radius: 4px; color: var(--ink); background: var(--slot); font-size: 1rem; }
.changeable rt { color: var(--muted); font-size: 0.5em; }

/* The answer: its pattern, the worksheet's answer, and the things to check. */
.answer-body { display: grid; gap: 22px; }
.answer-part { display: grid; gap: 6px; }
.part-title { margin: 0; color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.answer-pattern { margin: 0; font-size: clamp(1.15rem, 1.8vw + 0.6rem, 1.45rem); font-weight: 700; line-height: 2.1; overflow-wrap: anywhere; }
.answer-pattern rt, .check-notes rt { color: var(--muted); font-size: 0.5em; font-weight: 600; }
.chip {
  display: inline-block;
  margin: 0 3px;
  padding: 0 8px;
  border: 1px solid #d8b878;
  border-radius: 6px;
  color: #7a5212;
  background: var(--gold-soft);
  font-family: Inter, ui-sans-serif, system-ui, var(--ja), sans-serif;
  font-size: 0.62em;
  font-weight: 800;
  line-height: 1.9;
  vertical-align: 0.15em;
}
.chip-free { border: 2px dashed #8aa6d6; color: #1d3f73; background: #eef3fa; }
mark.given { padding: 1px 4px; border-radius: 4px; color: inherit; background: var(--slot); }
.answer-text mark.free-slot { color: var(--accent-dark); background: transparent; outline: 2px dashed #8aa6d6; outline-offset: 1px; }
.answer-text mark.free-slot::before { content: "e.g. "; color: #2d64b3; font-size: 0.55em; font-weight: 800; letter-spacing: 0.04em; vertical-align: 0.3em; }
.answer-note { margin: 4px 0 0; color: var(--muted); font-size: 0.85rem; }
.check-notes { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-family: Inter, ui-sans-serif, system-ui, var(--ja), sans-serif; font-size: 0.98rem; line-height: 1.9; }
.check-notes li { position: relative; padding: 4px 10px 4px 30px; border-radius: 8px; background: #f7f2ea; }
.check-notes li::before { content: "✓"; position: absolute; top: 4px; left: 10px; color: var(--green); font-weight: 900; }
/* A question with more than one accepted answer lists them with "or" between. */
.answer-option { display: block; }
.answer-or { display: block; color: var(--muted); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; line-height: 1.6; text-transform: uppercase; }
.pattern .chip { font-size: 0.7em; }

/* The main action stays within reach at the bottom of the screen. */
.action-dock {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin: 0 -8px;
  padding: 12px 8px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, rgba(247, 245, 239, 0), var(--paper) 22px);
}
.study-grid + .action-dock { margin-top: -6px; }
/* Well apart from the grade buttons, so a tap meant for play doesn't grade the card. */
.action-dock { display: grid; gap: 18px; }

/* Your take, kept in reach while you read the answer. */
.mini-player { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(50, 38, 31, 0.12); }
.mini-play { display: grid; flex: none; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; color: #fff; background: var(--green); cursor: pointer; }
.mini-play:hover { background: #256a3d; }
.mini-play svg { display: none; }
.mini-play[data-mode="play"] .icon-play { display: block; margin-left: 3px; }
.mini-play[data-mode="pause"] .icon-pause { display: block; }
.player-row { display: flex; align-items: center; gap: 12px; }
.player-row .wave { flex: 1; min-width: 0; width: auto; }
.play-take:disabled { cursor: default; opacity: 0.4; }
.wave.mini-wave { height: 44px; flex: 1; min-width: 0; width: auto; }
.mini-time { flex: none; min-width: 3.4em; color: var(--muted); font-size: 0.85rem; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }

.grade-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grade { display: grid; align-content: center; gap: 2px; min-height: 60px; padding: 8px 6px; border-radius: 14px; color: #fff; }
.grade small { font-size: 0.78rem; font-weight: 600; opacity: 0.9; }
.grade-again { background: var(--accent); }
.grade-good { background: var(--green); }
.grade:hover { filter: brightness(0.9); }

.keys { margin: 0; color: var(--muted); font-size: 0.85rem; line-height: 2; text-align: center; }
kbd { padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: #fff; font: inherit; font-size: 0.8rem; }

@media (max-width: 900px) {
  .study-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* ---------- Done ---------- */

.done h2 { margin: 0; font-size: clamp(1.6rem, 5vw, 2.2rem); }
.done h3 { margin: 22px 0 10px; }
.done-summary { margin: 10px 0 0; outline: none; color: var(--muted); font-size: 1.05rem; }
.missed-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.missed-row { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); }
.missed-question { color: var(--muted); font-size: 0.95rem; }
.missed-answer { font-size: 1.15rem; font-weight: 800; }
.missed-answer mark { padding: 0 3px; border-radius: 4px; color: inherit; background: var(--gold-soft); }
.missed-meta { color: var(--muted); font-size: 0.85rem; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

@media (max-width: 640px) {
  .site-header { padding-inline: 16px; }
  .page-shell { width: calc(100% - 32px); padding-top: 26px; }
  .panel { border-radius: 16px; }
  .chapter-parts { padding-left: 16px; }
  .voice-row { grid-template-columns: 1fr; }
  .start-bar .button, .done-actions .button { width: 100%; }
  .counts { order: 3; flex-basis: 100%; }
  .keys { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .progress-bar, .parts-toggle .chevron { transition: none; }
  .speak.is-speaking, .record-button[data-mode="stop"], .listen.is-speaking .listen-icon { animation: none; }
  .record-button { transition: none; }
}
