/* 中级经济师刷题 — Duolingo-grade emotion UI */
:root {
  --green: #58cc02;
  --green-2: #89e219;
  --green-dark: #43a302;
  --green-deep: #2f7300;
  --green-soft: #d7ffb8;
  --green-bg: #e8ffd4;
  --coral: #ff4b4b;
  --coral-soft: #ffd6d6;
  --gold: #ffc800;
  --gold-deep: #e6a700;
  --sky: #1cb0f6;
  --purple: #ce82ff;
  --ink: #1f2a17;
  --muted: #6d7f60;
  --bg: #f4ffe8;
  --card: #fff;
  --line: #e2f0d4;
  --shadow: 0 10px 28px rgba(70, 163, 2, 0.14);
  --shadow-sm: 0 4px 14px rgba(70, 163, 2, 0.1);
  --radius: 20px;
  --font: -apple-system, "PingFang SC", "Microsoft YaHei", "SF Pro Text", sans-serif;
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.5;
  background:
    radial-gradient(1000px 520px at 0% -10%, #e9ffd0 0%, transparent 55%),
    radial-gradient(800px 420px at 100% 0%, #fff1b8 0%, transparent 48%),
    radial-gradient(700px 500px at 50% 100%, #dff7ff 0%, transparent 50%),
    var(--bg);
  overflow-x: hidden;
}

#app {
  min-height: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 16px 40px;
  position: relative;
  z-index: 1;
}

/* ===== screens ===== */
.screen { display: none; }
.screen.active { display: block; animation: screenIn .4s var(--ease-out); }
@keyframes screenIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.reveal { animation: riseIn .55s var(--ease-out) both; }
.reveal.d1 { animation-delay: .08s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ===== fx layer ===== */
#fx-layer {
  position: fixed; inset: 0; pointer-events: none; z-index: 80; overflow: hidden;
}
.floater {
  position: absolute;
  font-weight: 900;
  font-size: 18px;
  color: var(--green-dark);
  text-shadow: 0 2px 0 #fff;
  animation: floatUp 1.1s var(--ease-out) forwards;
  will-change: transform, opacity;
}
.floater.gold { color: var(--gold-deep); }
.floater.heart { color: #ff6b9d; font-size: 22px; }
.floater.bolt { color: #f5a300; font-size: 24px; }
@keyframes floatUp {
  0% { opacity: 0; transform: translate(-50%, 0) scale(0.6); }
  15% { opacity: 1; transform: translate(-50%, -10px) scale(1.15); }
  100% { opacity: 0; transform: translate(-50%, -90px) scale(1); }
}

.flash {
  position: fixed; inset: 0; z-index: 70; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(88,204,2,.35), transparent 60%);
  animation: flashPop .45s var(--ease-out) forwards;
}
.flash.bad {
  background: radial-gradient(circle at 50% 40%, rgba(255,75,75,.22), transparent 60%);
}
@keyframes flashPop {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* ===== splash ===== */
.splash-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(28px); opacity: .55;
  animation: drift 10s ease-in-out infinite;
}
.o1 { width: 160px; height: 160px; background: #b8f56a; top: 8%; left: -20px; }
.o2 { width: 120px; height: 120px; background: #ffe08a; top: 20%; right: -10px; animation-delay: -3s; }
.o3 { width: 140px; height: 140px; background: #9ad9ff; bottom: 12%; left: 30%; animation-delay: -6s; }
@keyframes drift {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.08); }
}

.splash-card {
  min-height: 86vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 10px; position: relative;
}
.mascot-wrap { position: relative; width: 120px; height: 130px; margin-bottom: 8px; }
.mascot { position: relative; width: 100%; height: 100%; }
.m-face {
  width: 96px; height: 96px; margin: 0 auto;
  border-radius: 32px;
  background: linear-gradient(160deg, var(--green-2), var(--green));
  display: grid; place-items: center;
  font-size: 52px;
  box-shadow: 0 12px 0 var(--green-dark), var(--shadow);
  animation: mascotBounce 1.8s ease-in-out infinite;
}
.m-shadow {
  width: 64px; height: 12px; margin: 14px auto 0;
  background: rgba(47,115,0,.18); border-radius: 50%;
  animation: shadowPulse 1.8s ease-in-out infinite;
}
@keyframes mascotBounce {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
@keyframes shadowPulse {
  0%,100% { transform: scaleX(1); opacity: .5; }
  50% { transform: scaleX(0.75); opacity: .28; }
}
.spark {
  position: absolute; color: var(--gold); font-size: 18px; animation: sparkle 1.6s ease-in-out infinite;
}
.s1 { top: 8px; left: 4px; }
.s2 { top: 0; right: 8px; animation-delay: .4s; color: var(--sky); }
.s3 { bottom: 28px; right: 0; animation-delay: .8s; color: var(--purple); }
@keyframes sparkle {
  0%,100% { opacity: .3; transform: scale(.7) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(20deg); }
}

.splash-title {
  font-size: 34px; font-weight: 900; letter-spacing: 1px;
  background: linear-gradient(90deg, var(--green-deep), var(--green-dark), #1a8f00);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: titleIn .7s var(--ease-pop) both;
}
@keyframes titleIn {
  from { opacity: 0; transform: scale(.85) translateY(12px); }
  to { opacity: 1; transform: none; }
}
.splash-card .sub { color: var(--muted); font-weight: 700; font-size: 15px; }
.splash-card .sub em { font-style: normal; color: var(--green-dark); background: var(--green-soft); padding: 2px 8px; border-radius: 999px; }
.hint { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 6px; }

/* ===== buttons ===== */
.btn-primary {
  appearance: none; border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--green-2), var(--green));
  color: #fff; font-weight: 900; font-size: 17px;
  padding: 14px 24px; border-radius: 16px;
  box-shadow: 0 5px 0 var(--green-dark), var(--shadow-sm);
  font-family: inherit;
  transition: transform .08s ease, box-shadow .08s ease, filter .15s;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-primary:hover::after { animation: btnShine .7s ease; }
@keyframes btnShine { to { transform: translateX(120%); } }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--green-dark); }
.btn-primary:disabled {
  opacity: .4; filter: grayscale(.2); cursor: not-allowed; box-shadow: none; transform: none;
}
.btn-primary.big { width: 100%; padding: 17px; font-size: 18px; border-radius: 18px; }
.btn-primary.next-anim { animation: popIn .35s var(--ease-pop); }
@keyframes popIn {
  from { transform: scale(.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.pulse-soft { animation: softPulse 2.2s ease-in-out infinite; }
@keyframes softPulse {
  0%,100% { box-shadow: 0 5px 0 var(--green-dark), 0 0 0 0 rgba(88,204,2,.35); }
  50% { box-shadow: 0 5px 0 var(--green-dark), 0 0 0 12px rgba(88,204,2,0); }
}
.btn-ghost {
  appearance: none; border: 2px solid var(--line); background: #fff; color: var(--ink);
  font-weight: 800; padding: 13px 18px; border-radius: 16px; cursor: pointer; font-family: inherit;
  transition: transform .1s, background .15s;
}
.btn-ghost:active { transform: scale(.97); background: #f7fceF; }

/* ===== home ===== */
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin: 6px 0 14px; }
.hello { font-size: 24px; font-weight: 900; letter-spacing: .5px; }
.badge-row { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.mode-badge, .xp-badge {
  font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px;
}
.mode-badge { background: var(--green-soft); color: var(--green-deep); }
.xp-badge { background: #fff3c4; color: #9a7000; }
.top-right { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.pill {
  background: #fff; border: 2px solid var(--line); border-radius: 14px;
  padding: 6px 12px; display: flex; align-items: center; gap: 6px;
  font-size: 16px; font-weight: 900; box-shadow: var(--shadow-sm);
}
.streak-pill.hot { border-color: #ffb020; background: linear-gradient(180deg, #fff8e8, #fff); animation: hotGlow 1s ease infinite; }
@keyframes hotGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,140,0,.35); }
  50% { box-shadow: 0 0 0 8px rgba(255,140,0,0); }
}
#streak-fire { display: inline-block; transition: transform .2s; }
#streak-fire.jump { animation: fireJump .5s var(--ease-pop); }
@keyframes fireJump {
  0% { transform: scale(1); }
  40% { transform: scale(1.45) rotate(-8deg); }
  100% { transform: scale(1); }
}
.xp-pill { border-color: #cfefff; background: #f3fbff; color: #0b7eb5; }

.goal-card {
  display: flex; gap: 14px; align-items: center;
  background: linear-gradient(135deg, #fff 0%, #f7ffe9 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; margin-bottom: 12px; box-shadow: var(--shadow);
  animation: riseIn .5s var(--ease-out) both;
}
.goal-ring { width: 84px; height: 84px; position: relative; flex-shrink: 0; }
.goal-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #e8f3dc; stroke-width: 8; }
.ring-fg {
  fill: none; stroke: url(#none); stroke: var(--green); stroke-width: 8;
  stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 201;
  transition: stroke-dashoffset .7s var(--ease-out);
  filter: drop-shadow(0 0 6px rgba(88,204,2,.45));
}
.goal-center {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  line-height: 1.1;
}
.goal-center b { font-size: 18px; color: var(--green-deep); }
.goal-center span { font-size: 11px; color: var(--muted); font-weight: 700; }
.goal-meta { flex: 1; min-width: 0; }
.goal-meta strong { font-size: 15px; font-weight: 900; }
.goal-meta p { font-size: 13px; color: var(--muted); font-weight: 600; margin: 2px 0 10px; }
.mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.mini-stats div {
  background: #fff; border-radius: 12px; padding: 8px 4px; text-align: center;
  border: 1px solid var(--line);
}
.mini-stats b { display: block; font-size: 15px; color: var(--green-deep); }
.mini-stats span { font-size: 11px; color: var(--muted); font-weight: 700; }

.card {
  background: var(--card); border-radius: var(--radius); padding: 16px;
  border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 12px;
}
.section-title { font-weight: 900; font-size: 15px; margin-bottom: 10px; }
.section-title.mt { margin-top: 16px; }
.section-title .muted { font-weight: 600; font-size: 12px; color: var(--muted); margin-left: 6px; }

.bank-grid { display: grid; gap: 10px; }
.bank-card {
  text-align: left; background: #fafdf6; border: 2px solid var(--line); border-radius: 16px;
  padding: 13px 14px; cursor: pointer; font-family: inherit;
  display: grid; gap: 2px; transition: transform .15s var(--ease-pop), border-color .15s, background .15s, box-shadow .15s;
}
.bank-card:active { transform: scale(.98); }
.bank-card strong { font-size: 16px; }
.bank-card em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; }
.bank-card .bank-no { font-size: 11px; font-weight: 900; color: var(--muted); letter-spacing: .6px; }
.bank-card.active {
  border-color: var(--green); background: linear-gradient(180deg, #f3ffe4, #e9ffd4);
  box-shadow: 0 0 0 3px rgba(88,204,2,.16), var(--shadow-sm);
  animation: selectPop .35s var(--ease-pop);
}
@keyframes selectPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; max-height: 180px; overflow: auto; padding: 2px; }
.chip {
  border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px;
  font-size: 13px; font-weight: 800; cursor: pointer; font-family: inherit; color: var(--ink);
  transition: transform .12s, background .15s, border-color .15s;
}
.chip:active { transform: scale(.94); }
.chip.active {
  background: var(--green); border-color: var(--green); color: #fff;
  box-shadow: 0 3px 0 var(--green-dark);
}

.qty-row, .mode-row { display: flex; gap: 8px; flex-wrap: wrap; }
.qty {
  min-width: 52px; border: 2px solid var(--line); background: #fff; border-radius: 14px;
  padding: 10px 12px; font-weight: 900; cursor: pointer; font-family: inherit;
  transition: transform .12s, background .15s, border-color .15s;
}
.qty:active { transform: scale(.94); }
.qty.active {
  background: linear-gradient(180deg, #e9ffd4, var(--green-soft));
  border-color: var(--green); color: var(--green-deep);
}
.mode-card {
  flex: 1 1 140px; text-align: left; border: 2px solid var(--line); background: #fff;
  border-radius: 16px; padding: 12px; cursor: pointer; font-family: inherit;
  display: grid; gap: 4px; transition: transform .12s, border-color .15s, background .15s;
}
.mode-card:active { transform: scale(.98); }
.mode-card strong { font-size: 15px; }
.mode-card span { font-size: 12px; color: var(--muted); font-weight: 600; }
.mode-card.active {
  border-color: var(--green); background: #f3ffe4;
  box-shadow: 0 0 0 3px rgba(88,204,2,.14);
}
.mt-btn { margin-top: 18px; }

/* ===== quiz ===== */
.quiz-top { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 12px; border: 2px solid var(--line);
  background: #fff; font-size: 16px; cursor: pointer; font-weight: 800;
  transition: transform .1s;
}
.icon-btn:active { transform: scale(.92); }
.progress-wrap { flex: 1; }
.progress {
  height: 14px; background: #e5f1d8; border-radius: 999px; overflow: hidden; position: relative;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
}
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--green), #8ee000, var(--gold));
  border-radius: 999px; transition: width .45s var(--ease-out);
  position: relative; z-index: 1;
}
.progress-shine {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-100%);
  animation: progressShine 2.2s ease-in-out infinite;
  z-index: 2;
}
@keyframes progressShine {
  0%,40% { transform: translateX(-100%); }
  80%,100% { transform: translateX(100%); }
}
.quiz-pills { display: flex; gap: 4px; }
.mini-pill {
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 4px 8px; font-size: 12px; font-weight: 900; white-space: nowrap;
}
.mini-pill b { color: var(--green-deep); }
.fire-on b { color: #e85d04; }

.combo-banner {
  margin-bottom: 10px;
  animation: comboIn .45s var(--ease-pop);
}
.combo-inner {
  display: flex; gap: 10px; align-items: center;
  background: linear-gradient(100deg, #fff6c8, #ffe28a 40%, #ffd24d);
  border: 2px solid #ffc300;
  border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 6px 0 #e6a700, var(--shadow-sm);
  color: #7a5200;
}
.combo-icon {
  width: 40px; height: 40px; border-radius: 12px; background: #fff;
  display: grid; place-items: center; font-size: 22px;
  animation: boltSpin .8s var(--ease-pop);
  box-shadow: 0 3px 0 #e6a700;
}
@keyframes boltSpin {
  from { transform: rotate(-20deg) scale(.5); }
  to { transform: rotate(0) scale(1); }
}
.combo-title { font-weight: 900; font-size: 16px; }
.combo-sub { font-size: 12px; font-weight: 700; opacity: .85; }
@keyframes comboIn {
  from { transform: translateY(-16px) scale(.9); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.q-card {
  background: var(--card); border-radius: 22px; padding: 18px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s var(--ease-out);
}
.q-card.shake { animation: shake .45s ease; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(3px); }
}
.q-card.bounce { animation: cardBounce .5s var(--ease-pop); }
@keyframes cardBounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.02) translateY(-4px); }
  100% { transform: scale(1); }
}

.q-meta { display: flex; gap: 8px; margin-bottom: 10px; align-items: center; }
.tag {
  font-size: 12px; font-weight: 900; background: #eef7e4; color: var(--green-deep);
  padding: 4px 10px; border-radius: 999px;
}
.tag.type { background: #fff4d6; color: #9a7000; }
.q-num { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--muted); }
.q-stem {
  font-size: 18px; font-weight: 800; line-height: 1.6; margin-bottom: 14px;
  animation: stemIn .35s var(--ease-out);
}
@keyframes stemIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.q-img img { max-width: 100%; border-radius: 14px; margin-bottom: 12px; }

.options { display: grid; gap: 10px; }
.opt {
  text-align: left; border: 2px solid var(--line); background: #fafdf6; border-radius: 16px;
  padding: 13px 14px; font-size: 15px; font-weight: 650; cursor: pointer; font-family: inherit;
  display: flex; gap: 10px; align-items: flex-start;
  transition: transform .12s, border-color .12s, background .12s, box-shadow .12s;
  line-height: 1.45;
  animation: optIn .35s var(--ease-out) both;
}
.opt:nth-child(1) { animation-delay: .02s; }
.opt:nth-child(2) { animation-delay: .06s; }
.opt:nth-child(3) { animation-delay: .1s; }
.opt:nth-child(4) { animation-delay: .14s; }
.opt:nth-child(5) { animation-delay: .18s; }
.opt:nth-child(6) { animation-delay: .22s; }
@keyframes optIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.opt:active { transform: scale(.985); }
.opt .key {
  flex: 0 0 26px; height: 26px; border-radius: 9px; background: #e8f2dc; color: var(--green-deep);
  display: grid; place-items: center; font-size: 12px; font-weight: 900;
  transition: background .15s, color .15s, transform .2s;
}
.opt.selected {
  border-color: var(--green); background: #f1ffe0;
  box-shadow: 0 0 0 3px rgba(88,204,2,.15);
}
.opt.selected .key { background: var(--green); color: #fff; transform: scale(1.08); }
.opt.correct {
  border-color: var(--green); background: var(--green-soft);
  animation: optCorrect .45s var(--ease-pop);
}
.opt.correct .key { background: var(--green); color: #fff; }
@keyframes optCorrect {
  0% { transform: scale(1); }
  45% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.opt.wrong {
  border-color: var(--coral); background: var(--coral-soft);
  animation: optWrong .4s ease;
}
.opt.wrong .key { background: var(--coral); color: #fff; }
@keyframes optWrong {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(4px); }
}
.opt:disabled { cursor: default; }

.feedback {
  margin-top: 14px; padding: 14px; border-radius: 16px;
  background: #f8fff0; border: 1px solid var(--line);
  animation: riseIn .35s var(--ease-out);
}
.feedback.bad { background: #fff6f6; border-color: #ffd0d0; }
.fb-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 6px; }
.fb-emoji { font-size: 28px; line-height: 1; animation: popIn .4s var(--ease-pop); }
.fb-title { font-weight: 900; font-size: 16px; margin-bottom: 2px; }
.fb-title.ok { color: var(--green-deep); }
.fb-title.bad { color: #d93025; }
.fb-answer { font-weight: 700; font-size: 14px; color: #3d4a34; }
.fb-explain {
  font-size: 14px; color: #3d4a34; line-height: 1.65;
  background: #fff; border-radius: 12px; padding: 10px 12px; margin-top: 8px;
  border: 1px dashed var(--line);
}
.quiz-actions { margin-top: 16px; }
.quiz-actions .btn-primary { width: 100%; }

/* ===== result ===== */
.result-card {
  margin-top: 8vh; background: var(--card); border-radius: 26px; padding: 28px 20px;
  border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center;
  animation: resultIn .6s var(--ease-pop);
}
@keyframes resultIn {
  from { opacity: 0; transform: scale(.9) translateY(24px); }
  to { opacity: 1; transform: none; }
}
.result-emoji { font-size: 64px; margin-bottom: 8px; animation: mascotBounce 1.2s ease infinite; }
.result-card h2 { font-size: 28px; margin-bottom: 6px; font-weight: 900; }
.result-sub { color: var(--muted); font-weight: 650; margin-bottom: 12px; }
.result-xp { margin: 8px 0 16px; }
.xp-burst {
  display: inline-block; background: linear-gradient(180deg, #ffe9a0, var(--gold));
  color: #7a5200; font-weight: 900; font-size: 18px;
  padding: 8px 18px; border-radius: 999px;
  box-shadow: 0 4px 0 var(--gold-deep);
  animation: popIn .5s var(--ease-pop) .15s both;
}
.result-stats {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 20px;
}
.result-stats div {
  background: #fafdf6; border-radius: 14px; padding: 12px 4px; border: 1px solid var(--line);
}
.result-stats b { display: block; font-size: 18px; color: var(--green-deep); font-weight: 900; }
.result-stats span { font-size: 11px; color: var(--muted); font-weight: 800; }
.result-actions { display: grid; gap: 10px; }

/* confetti */
#confetti {
  position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90;
}

/* desktop */
@media (min-width: 720px) {
  #app { max-width: 640px; padding: 24px 22px 48px; }
  .q-stem { font-size: 20px; }
  .hello { font-size: 28px; }
}
@media (min-width: 980px) {
  .bank-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
