/* ═══════════════════════════════════════════════════════
   card.css — Math Card Tool styles
   Themes: [data-theme="card"] (default) | [data-theme="terminal"]
   ═══════════════════════════════════════════════════════ */

/* ── Ruby / furigana ────────────────────────────────── */
ruby { ruby-align: center; }
rt {
  font-size: 0.55em;
  line-height: 1;
  color: inherit;
  opacity: 0.75;
}
/* チップボタン内のふりがなは少し小さく */
.chip rt { font-size: 0.5em; }

/* ── vkb hint ───────────────────────────────────────── */
.vkb-hint {
  text-align: center;
  font-size: 0.8rem;
  color: #ADB5BD;
  margin-top: 0.75rem;
}
[data-theme="terminal"] .vkb-hint { color: #00AA2B; }

/* ── Shared reset & layout ──────────────────────────── */
.card-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem 3rem;
  transition: background 0.3s, color 0.3s;
}

.screen { width: 100%; max-width: 640px; }
.hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════
   CARD THEME (default)
   ═══════════════════════════════════════════════════════ */
[data-theme="card"] .card-page {
  background: linear-gradient(160deg, #FFF9F0 0%, #E8F4FF 100%);
  font-family: 'Noto Sans JP', sans-serif;
  color: #2B2D42;
}

/* ── Setup screen ────────────────────────────────────── */
.setup-box {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.setup-box h1 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #FF8A00;
}
.setup-section { margin-bottom: 1.75rem; }
.setup-section label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: #6C757D;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.chip-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 2px solid #DEE2E6;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  color: #495057;
}
.chip:hover { border-color: #FF8A00; color: #FF8A00; }
.chip.active { background: #FF8A00; border-color: #FF8A00; color: #fff; }
.btn-start {
  width: 100%;
  padding: 1rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #FF8A00, #FF5E00);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,138,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  margin-top: 0.5rem;
}
.btn-start:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255,138,0,0.45); }

/* ── Ready screen ───────────────────────────────────── */
.ready-box {
  background: #fff;
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.ready-box h2 { font-size: 2rem; margin-bottom: 1rem; color: #2B2D42; }
.ready-info {
  background: #F8F9FA;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  text-align: left;
  font-size: 1rem;
  line-height: 2;
}
.ready-info span { font-weight: 700; color: #FF8A00; }
.btn-go {
  padding: 1rem 3rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #06D6A0, #0ABEAA);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(6,214,160,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  margin-top: 0.5rem;
}
.btn-go:hover { transform: translateY(-3px) scale(1.03); }
.ready-hint { margin-top: 1rem; color: #6C757D; font-size: 0.9rem; }

/* ── Question screen ────────────────────────────────── */
.q-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.q-progress-wrap { flex: 1; }
.q-progress-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #6C757D;
  margin-bottom: 4px;
}
.q-progress-track {
  height: 8px;
  background: #E9ECEF;
  border-radius: 999px;
  overflow: hidden;
}
.q-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF8A00, #FFD166);
  border-radius: 999px;
  transition: width 0.4s ease;
  width: 0%;
}
.q-timer-display {
  font-size: 1.8rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #2B2D42;
  margin-left: 1.5rem;
}

/* Physical card style */
[data-theme="card"] .q-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 3rem 2rem 2rem;
  text-align: center;
  position: relative;
  /* card corner decorations */
  border-top: 6px solid #FF8A00;
}
[data-theme="card"] .q-card::before {
  content: 'けいさんカード';
  position: absolute;
  top: 0.5rem; left: 0;
  width: 100%;
  font-size: 0.75rem;
  color: #ADB5BD;
  letter-spacing: 0.1em;
}

.q-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 0.5rem;
  row-gap: 0.5rem;
}
.q-card.hissan-mode .q-inner {
  flex-direction: column;
  align-items: center;
  row-gap: 0;
}
.q-card.hissan-mode .q-answer-row {
  align-self: stretch;
}

.q-equation {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}
[data-theme="card"] .q-num {
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 900;
  line-height: 1;
  color: #2B2D42;
}
[data-theme="card"] .q-op-sign {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  color: #FF8A00;
}
[data-theme="card"] .q-eq-sign {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  color: #6C757D;
}
[data-theme="card"] .q-input {
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 900;
  width: 3ch;
  min-width: 120px;
  text-align: center;
  border: none;
  border-bottom: 4px solid #DEE2E6;
  outline: none;
  background: transparent;
  color: #118AB2;
  transition: border-color 0.2s;
  font-family: inherit;
}
[data-theme="card"] .q-input:focus { border-bottom-color: #FF8A00; }

.q-feedback {
  min-height: 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  padding: 0.5rem;
  border-radius: 8px;
  margin-top: 1rem;
  transition: opacity 0.2s;
}
.q-feedback.correct { color: #06D6A0; animation: fadeIn 0.2s; }
.q-feedback.wrong   { color: #EF476F; animation: fadeIn 0.2s; }

/* Animations */
@keyframes fadeIn { from { opacity:0; transform:scale(0.8); } to { opacity:1; transform:scale(1); } }

.q-card.shake {
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-10px) rotate(-1deg); }
  40%     { transform: translateX(10px) rotate(1deg); }
  60%     { transform: translateX(-8px); }
  80%     { transform: translateX(8px); }
}
.q-card.pop {
  animation: pop 0.4s ease;
}
@keyframes pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Particles */
#particles { position: fixed; inset: 0; pointer-events: none; z-index: 999; }
.particle {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  animation: burst 0.8s ease-out forwards;
}
@keyframes burst {
  0%   { transform: translate(0,0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}

/* ── Virtual keyboard ───────────────────────────────── */
.vkb-wrap { margin-top: 1.5rem; }
.vkb-row { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; justify-content: center; }
.vkb-key {
  width: 4.5rem; height: 4rem;
  border-radius: 12px;
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.1s, box-shadow 0.1s;
  user-select: none;
  -webkit-user-select: none;
}
[data-theme="card"] .vkb-key { background: #F8F9FA; color: #2B2D42; box-shadow: 0 3px 0 #DEE2E6; }
[data-theme="card"] .vkb-key:active { transform: translateY(3px); box-shadow: none; }
[data-theme="card"] .vkb-ok  { background: #06D6A0; color: #fff; box-shadow: 0 3px 0 #05B38A; }
[data-theme="card"] .vkb-del { background: #EF476F; color: #fff; box-shadow: 0 3px 0 #C73659; }

/* ── Result screen ──────────────────────────────────── */
.result-box {
  background: #fff;
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.result-box h2 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.result-time-big {
  font-size: clamp(3rem, 15vw, 6rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #FF8A00;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.result-label { color: #6C757D; margin-bottom: 1.5rem; font-size: 1rem; }
.result-meta { margin-bottom: 2rem; font-size: 0.95rem; color: #495057; line-height: 2; }
.result-meta strong { color: #2B2D42; }
.btn-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.btn-secondary {
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: 2px solid #DEE2E6;
  background: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  color: #495057;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: #FF8A00; color: #FF8A00; }
.btn-primary-sm {
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: none;
  background: #FF8A00;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.btn-primary-sm:hover { background: #E67A00; transform: translateY(-2px); }

/* ── Records screen ─────────────────────────────────── */
.records-box {
  background: #fff;
  border-radius: 24px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.records-box h2 { font-size: 1.5rem; margin-bottom: 1.5rem; text-align: center; }
.records-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.records-table th {
  background: #F8F9FA;
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-weight: 700;
  color: #6C757D;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.records-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #F0F0F0;
}
.record-time { font-weight: 900; color: #FF8A00; font-variant-numeric: tabular-nums; }
.no-records { text-align: center; padding: 2rem; color: #ADB5BD; }

/* ═══════════════════════════════════════════════════════
   TERMINAL THEME
   ═══════════════════════════════════════════════════════ */
[data-theme="terminal"] .card-page {
  background: #0D0D0D;
  font-family: 'Courier New', 'Lucida Console', monospace;
  color: #00FF41;
}

[data-theme="terminal"] .setup-box,
[data-theme="terminal"] .ready-box,
[data-theme="terminal"] .result-box,
[data-theme="terminal"] .records-box {
  background: #111;
  border: 1px solid #00FF41;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0,255,65,0.15);
}

[data-theme="terminal"] .setup-box h1 { color: #00FF41; font-size: 1.4rem; }
[data-theme="terminal"] .setup-section label { color: #00AA2B; }

[data-theme="terminal"] .chip {
  background: #0D0D0D;
  border: 1px solid #00FF41;
  color: #00FF41;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.85rem;
}
[data-theme="terminal"] .chip:hover { background: #00FF41; color: #000; }
[data-theme="terminal"] .chip.active { background: #00FF41; color: #000; border-radius: 2px; }

[data-theme="terminal"] .btn-start {
  background: #00FF41;
  color: #000;
  border-radius: 2px;
  box-shadow: none;
  font-family: inherit;
  letter-spacing: 0.1em;
}
[data-theme="terminal"] .btn-go {
  background: #00FF41;
  color: #000;
  border-radius: 2px;
  box-shadow: none;
  font-family: inherit;
}
[data-theme="terminal"] .ready-info {
  background: #000;
  border: 1px solid #003B0D;
  color: #00FF41;
}
[data-theme="terminal"] .ready-info span { color: #FFD700; }
[data-theme="terminal"] .ready-box h2 { color: #00FF41; }
[data-theme="terminal"] .ready-hint { color: #00AA2B; }

/* Terminal question card */
[data-theme="terminal"] .q-card {
  background: #111;
  border: 1px solid #00FF41;
  border-radius: 4px;
  padding: 2rem;
  box-shadow: 0 0 30px rgba(0,255,65,0.1);
  position: relative;
}
[data-theme="terminal"] .q-card::before {
  content: '> 計算カード.exe';
  position: absolute;
  top: 0.5rem; left: 1rem;
  font-size: 0.75rem;
  color: #00AA2B;
}

[data-theme="terminal"] .q-num { font-size: clamp(2.5rem, 10vw, 5rem); font-weight: 700; color: #00FF41; }
[data-theme="terminal"] .q-op-sign { font-size: clamp(2rem, 7vw, 3.5rem); color: #FFD700; }
[data-theme="terminal"] .q-eq-sign { font-size: clamp(2rem, 7vw, 3.5rem); color: #00AA2B; }
[data-theme="terminal"] .q-input {
  font-size: clamp(2.5rem, 9vw, 5rem);
  font-weight: 700;
  width: 3ch;
  min-width: 100px;
  background: transparent;
  border: none;
  border-bottom: 2px solid #00FF41;
  color: #00FF41;
  text-align: center;
  outline: none;
  caret-color: #00FF41;
  font-family: inherit;
}
/* blinking cursor effect */
[data-theme="terminal"] .q-input:focus { animation: blink-border 1s step-end infinite; }
@keyframes blink-border {
  50% { border-bottom-color: transparent; }
}

[data-theme="terminal"] .q-timer-display { color: #FFD700; }
[data-theme="terminal"] .q-progress-text { color: #00AA2B; }
[data-theme="terminal"] .q-progress-fill { background: linear-gradient(90deg, #00FF41, #00AA2B); }
[data-theme="terminal"] .q-progress-track { background: #003B0D; }

[data-theme="terminal"] .q-feedback.correct { color: #00FF41; }
[data-theme="terminal"] .q-feedback.wrong   { color: #FF3333; }

/* Terminal VKB */
[data-theme="terminal"] .vkb-key {
  background: #0D0D0D;
  color: #00FF41;
  border: 1px solid #00FF41;
  border-radius: 2px;
  box-shadow: 0 2px 0 #00AA2B;
  font-family: inherit;
}
[data-theme="terminal"] .vkb-key:active { transform: translateY(2px); box-shadow: none; }
[data-theme="terminal"] .vkb-ok  { background: #00FF41; color: #000; box-shadow: 0 2px 0 #00AA2B; }
[data-theme="terminal"] .vkb-del { background: #FF3333; color: #fff; box-shadow: 0 2px 0 #AA0000; }

/* Terminal result */
[data-theme="terminal"] .result-box h2  { color: #00FF41; }
[data-theme="terminal"] .result-time-big { color: #FFD700; }
[data-theme="terminal"] .result-label   { color: #00AA2B; }
[data-theme="terminal"] .result-meta    { color: #00FF41; }
[data-theme="terminal"] .btn-primary-sm {
  background: #00FF41; color: #000; border-radius: 2px; font-family: inherit;
}
[data-theme="terminal"] .btn-secondary {
  background: #0D0D0D; color: #00FF41; border-color: #00FF41; border-radius: 2px; font-family: inherit;
}

/* Terminal records */
[data-theme="terminal"] .records-box h2 { color: #00FF41; }
[data-theme="terminal"] .records-table th { background: #000; color: #00AA2B; }
[data-theme="terminal"] .records-table td { border-bottom-color: #003B0D; color: #00FF41; }
[data-theme="terminal"] .record-time { color: #FFD700; }
[data-theme="terminal"] .no-records { color: #00AA2B; }

/* ═══════════════════════════════════════════════════════
   Answer row (input separated from equation)
   ═══════════════════════════════════════════════════════ */
[data-theme="card"] .q-answer-row {
  display: flex;
  justify-content: center;
}
/* hissan mode: right-align to match column */
[data-theme="card"] .q-card.hissan-mode .q-answer-row {
  justify-content: flex-end;
  padding-right: 0.5rem;
}
/* = sign removed from HTML in new layout; add via CSS pseudo */
[data-theme="card"] .q-view-normal {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

/* ── Hissan (筆算) view ──────────────────────────────── */
.q-hissan-view {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.hs-box {
  display: inline-flex;
  flex-direction: column;
  min-width: 10rem;
}
.hs-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
[data-theme="card"] .hs-op-cell {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 700;
  color: #FF8A00;
  width: 2.5rem;
  text-align: center;
  flex-shrink: 0;
}
[data-theme="card"] .hs-num-cell {
  font-size: clamp(2.5rem, 9vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  text-align: right;
  min-width: 6rem;
  font-variant-numeric: tabular-nums;
  color: #2B2D42;
}
[data-theme="card"] .hs-line {
  height: 4px;
  background: #2B2D42;
  border-radius: 2px;
  margin: 0.3rem 0;
}
/* Toggle button */
.q-view-toggle {
  text-align: center;
  margin: 0.5rem 0;
}
.btn-view-toggle {
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  border: 2px solid #00B4D8;
  background: #fff;
  color: #00B4D8;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.btn-view-toggle:hover { background: #00B4D8; color: #fff; }

/* ── さくらんぼ計算ヒント ───────────────────────────── */
.q-hint.visible {
  display: block;
  margin-top: 1rem;
}
.sb-hint {
  background: #FFF9E6;
  border: 2px dashed #FFD166;
  border-radius: 12px;
  padding: 1rem 1rem 0.75rem;
  text-align: center;
  animation: fadeIn 0.3s ease;
}
.sb-label {
  font-weight: 700;
  color: #D4611A;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}
.sb-figure { margin-bottom: 0.75rem; }
.sb-fig-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.75rem;
}
.sb-fig-num {
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
}
.sb-fig-op {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  color: #FF8A00;
  align-self: center;
}
.sb-cherry-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.sb-cherries {
  display: flex;
  gap: 0.4rem;
  position: relative;
}
/* 茎：数字から分岐する線 */
.sb-cherries::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 12px;
  background: #D4611A;
}
.sb-cherry-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 2.5px solid #EF476F;
  border-radius: 50%;
  background: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  color: #EF476F;
  position: relative;
}
/* さくらんぼの実の茎 */
.sb-cherry-circle::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 10px;
  background: #D4611A;
}
.sb-steps {
  border-top: 1px dashed #FFD166;
  padding-top: 0.6rem;
  margin-top: 0.25rem;
}
.sb-steps p {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 2;
  color: #2B2D42;
}
.sb-steps strong { color: #118AB2; }
.sb-blank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border: 2px solid #2B2D42;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  vertical-align: middle;
}

/* ── Terminal theme overrides ───────────────────────── */
[data-theme="terminal"] .q-view-normal {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}
[data-theme="terminal"] .q-card.hissan-mode .q-answer-row {
  justify-content: flex-end;
  padding-right: 0.5rem;
}
[data-theme="terminal"] .hs-op-cell {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 700;
  color: #FFD700;
  width: 2.5rem;
  text-align: center;
}
[data-theme="terminal"] .hs-num-cell {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 700;
  color: #00FF41;
  text-align: right;
  min-width: 6rem;
  letter-spacing: 0.15em;
}
[data-theme="terminal"] .hs-line { background: #00FF41; height: 2px; }
[data-theme="terminal"] .btn-view-toggle {
  background: #0D0D0D; border-color: #00B4D8; color: #00B4D8;
  border-radius: 2px; font-family: monospace;
}
[data-theme="terminal"] .btn-view-toggle:hover { background: #00B4D8; color: #000; }
[data-theme="terminal"] .sb-hint {
  background: #111; border-color: #FFD700; color: #00FF41;
}
[data-theme="terminal"] .sb-label { color: #FFD700; }
[data-theme="terminal"] .sb-fig-num { color: #00FF41; }
[data-theme="terminal"] .sb-fig-op { color: #FFD700; }
[data-theme="terminal"] .sb-cherry-circle { border-color: #EF476F; color: #EF476F; background: #111; }
[data-theme="terminal"] .sb-cherry-circle::before,
[data-theme="terminal"] .sb-cherries::before { background: #FFD700; }
[data-theme="terminal"] .sb-steps p { color: #00FF41; }
[data-theme="terminal"] .sb-blank { border-color: #00FF41; color: #00FF41; }
[data-theme="terminal"] .q-answer-row input { font-family: monospace; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 480px) {
  .vkb-key { width: 4rem; height: 3.5rem; font-size: 1.3rem; }
  .setup-box, .ready-box, .result-box, .records-box { padding: 1.5rem 1rem; }
}
