:root {
  --sky-top: #7ad8ff;
  --sky-bottom: #fff4c3;
  --grass: #74d65d;
  --leaf: #2c9d54;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: #ffffff;
  --ink: #1f2d3d;
  --ink-soft: #4b5c73;
  --accent: #ffb400;
  --accent-deep: #f4831b;
  --pink: #ff7ba5;
  --blue: #2e7cf6;
  --mint: #57d8b4;
  --purple: #6c72ff;
  --danger: #ff6961;
  --shadow: 0 18px 40px rgba(37, 76, 120, 0.18);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-title: "Trebuchet MS", "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.8), transparent 18%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.78), transparent 16%),
    linear-gradient(180deg, var(--sky-top) 0%, #9de4ff 24%, #d6f5ff 48%, var(--sky-bottom) 100%);
}

body {
  position: relative;
  overflow-x: hidden;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
}

.hidden {
  display: none !important;
}

.sky-decor {
  position: fixed;
  z-index: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(4px);
}

.sky-decor-left {
  top: -110px;
  left: -70px;
}

.sky-decor-right {
  top: 120px;
  right: -120px;
}

.ground-strip {
  position: fixed;
  inset: auto 0 0;
  height: 150px;
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.4), transparent 12%),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.3), transparent 10%),
    linear-gradient(180deg, #8ae56a 0%, var(--grass) 50%, #56bb4c 100%);
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  z-index: 0;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 36px;
}

.topbar {
  display: grid;
  gap: 18px;
  align-items: center;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 28px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}

.brand-block {
  display: flex;
  gap: 16px;
  align-items: center;
}

.brand-mark {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent), #ffd85b);
  color: white;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(244, 131, 27, 0.28);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
}

.brand-block h1,
.section-head h2,
.hero-copy h2,
.section-card h3,
.modal-top h3 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 900;
}

.brand-block h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-chip {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(77, 118, 161, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.coin-chip {
  background: linear-gradient(160deg, #fff4ad, #ffd060);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.stat-chip strong {
  font-size: 1.18rem;
}

.main-shell {
  margin-top: 22px;
}

.screen {
  display: none;
}

.screen.is-active {
  display: block;
}

.section-shell,
.section-card,
.hero-panel,
.study-card,
.question-card,
.collection-shell {
  background: var(--panel);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-panel {
  padding: 28px;
}

.hero-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.hero-copy {
  padding: 10px 0;
}

.hero-copy h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.02;
  margin-bottom: 14px;
}

.hero-copy p,
.body-copy,
.tip-list li,
.section-copy,
.stat-line {
  color: var(--ink-soft);
  line-height: 1.65;
}

.hero-sticker {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sticker-card {
  padding: 18px;
  border-radius: 22px;
  min-height: 150px;
  color: white;
  position: relative;
  overflow: hidden;
}

.sticker-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -35px auto;
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.sticker-blue {
  background: linear-gradient(145deg, #2f87ff, #5fd1ff);
}

.sticker-pink {
  background: linear-gradient(145deg, #ff7ba5, #ffa6c0);
}

.sticker-mint {
  background: linear-gradient(145deg, #34bc89, #77e8c8);
}

.sticker-orange {
  background: linear-gradient(145deg, #ff9d2f, #ffd15d);
}

.sticker-card strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.sticker-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.sticker-priority {
  grid-column: span 2;
  min-height: 182px;
  padding: 22px;
  background: linear-gradient(145deg, #166de8, #6ad5ff);
  box-shadow: 0 18px 34px rgba(27, 111, 223, 0.28);
}

.sticker-priority strong {
  font-size: 1.28rem;
}

.sticker-priority .action-btn {
  width: 100%;
  justify-content: center;
}

.menu-grid,
.overview-grid,
.action-grid,
.collection-grid {
  display: grid;
  gap: 16px;
}

.menu-grid {
  margin-top: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.menu-btn,
.action-btn,
.tab-btn,
.option-btn,
.card-choice {
  border-radius: 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.menu-btn:hover,
.action-btn:hover,
.tab-btn:hover,
.option-btn:hover,
.card-choice:hover {
  transform: translateY(-2px);
}

.menu-btn {
  text-align: left;
  padding: 20px;
  background: var(--panel-strong);
  box-shadow: inset 0 0 0 1px rgba(46, 124, 246, 0.08);
}

.menu-btn strong {
  display: block;
  margin: 12px 0 6px;
  font-size: 1.08rem;
  color: var(--ink);
}

.menu-btn span,
.menu-btn small {
  color: var(--ink-soft);
  line-height: 1.55;
}

.menu-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: white;
}

.icon-word {
  background: linear-gradient(145deg, #ff8d5e, #ffcf6a);
}

.icon-question {
  background: linear-gradient(145deg, #4a8bff, #7cd8ff);
}

.icon-game {
  background: linear-gradient(145deg, #38b57f, #87e85a);
}

.icon-collection {
  background: linear-gradient(145deg, #9f67ff, #f182ff);
}

.overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.section-card {
  padding: 22px;
}

.section-card h3 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}

.progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 14px 0 8px;
}

.progress-track {
  width: 100%;
  height: 12px;
  background: #e7eef7;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #7acbff);
}

.progress-fill.gold-fill {
  background: linear-gradient(90deg, #ffa42d, #ffe066);
}

.progress-fill.green-fill {
  background: linear-gradient(90deg, #37b981, #6fe46b);
}

.progress-fill.pink-fill {
  background: linear-gradient(90deg, #ff759d, #ffbbca);
}

.tip-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.section-head,
.toolbar-row,
.subnav-row,
.collection-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.section-shell {
  padding: 24px;
}

.toolbar-row {
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.subnav-row {
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.action-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.action-btn {
  padding: 16px 18px;
  font-weight: 800;
  background: linear-gradient(145deg, var(--blue), #6ab8ff);
  color: white;
  box-shadow: 0 12px 22px rgba(46, 124, 246, 0.24);
}

.action-btn.secondary-btn {
  background: linear-gradient(145deg, #ff9d36, #ffd463);
  box-shadow: 0 12px 22px rgba(255, 157, 54, 0.26);
}

.action-btn.success-btn {
  background: linear-gradient(145deg, #34bf84, #78e76e);
  box-shadow: 0 12px 22px rgba(52, 191, 132, 0.24);
}

.action-btn.ghost-btn {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(56, 83, 116, 0.12);
}

.action-btn.warn-btn {
  background: linear-gradient(145deg, #ff7a7a, #ffa17b);
  box-shadow: 0 12px 22px rgba(255, 122, 122, 0.22);
}

.action-btn:disabled,
.option-btn:disabled,
.card-choice:disabled {
  cursor: not-allowed;
  transform: none;
  opacity: 0.58;
}

.study-layout,
.question-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  margin-top: 18px;
}

.study-card,
.question-card {
  padding: 24px;
}

.illustration-card {
  min-height: 220px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.82), transparent 38%),
    linear-gradient(180deg, #ecfbff 0%, #fff7db 100%);
  display: grid;
  place-items: center;
  text-align: center;
  border: 2px dashed rgba(70, 151, 216, 0.22);
}

.illustration-emoji {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: 10px;
}

.word-card-main {
  text-align: center;
}

.word-card-main h3 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.word-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 0;
}

.word-card-actions {
  margin-top: 18px;
}

.word-speak-btn {
  min-width: min(100%, 220px);
}

.meta-chip {
  padding: 9px 14px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-weight: 700;
}

.fold-panel {
  margin-top: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(73, 121, 177, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  overflow: hidden;
}

.fold-panel summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 900;
  color: var(--ink);
  cursor: pointer;
}

.fold-panel summary::-webkit-details-marker {
  display: none;
}

.fold-panel summary::after {
  content: "展开";
  flex: none;
  padding: 7px 12px;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
}

.fold-panel[open] summary::after {
  content: "收起";
}

.fold-body {
  margin-top: 0;
  padding: 0 18px 18px;
}

.fold-body .option-btn {
  background: rgba(255, 255, 255, 0.96);
}

.option-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.option-btn {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: white;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px rgba(66, 112, 164, 0.08);
  font-weight: 700;
}

.option-btn.is-selected {
  box-shadow: inset 0 0 0 3px rgba(46, 124, 246, 0.32);
  background: #eef6ff;
}

.option-btn.is-correct {
  box-shadow: inset 0 0 0 3px rgba(52, 191, 132, 0.34);
  background: #e8fbf2;
}

.option-btn.is-wrong {
  box-shadow: inset 0 0 0 3px rgba(255, 122, 122, 0.28);
  background: #fff1ef;
}

.feedback-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f5f9ff;
  color: var(--ink-soft);
  min-height: 60px;
}

.explain-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffaf0, #fff2d8);
  color: var(--ink-soft);
  box-shadow: inset 0 0 0 1px rgba(243, 184, 77, 0.18);
}

.explain-box strong {
  display: block;
  margin-bottom: 6px;
  color: #b66b00;
}

.explain-box p {
  margin: 0;
  line-height: 1.65;
}

.tiny-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.question-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f1f7ff;
  border-radius: 999px;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 12px;
}

.question-body {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.45;
  margin: 0 0 16px;
}

.question-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.card-choice {
  min-height: 180px;
  padding: 20px;
  background: linear-gradient(180deg, #fff, #f4fbff);
  box-shadow: inset 0 0 0 2px rgba(55, 126, 197, 0.06);
  text-align: center;
  color: var(--ink);
}

.card-choice strong {
  display: block;
  margin-top: 10px;
}

.game-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.2fr) 320px;
  margin-top: 18px;
}

.canvas-frame,
.side-panel {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(73, 112, 157, 0.08);
}

.canvas-frame canvas {
  width: 100%;
  border-radius: 18px;
  display: block;
  background: linear-gradient(180deg, #b8ecff 0%, #dcf7ff 44%, #88d66c 45%, #6bbd54 100%);
}

.hud-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hud-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.hud-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.08rem;
}

.side-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-panel {
  border-radius: 18px;
  padding: 16px;
  background: white;
}

.mini-panel h3 {
  margin: 0 0 8px;
}

.log-box {
  min-height: 150px;
  max-height: 180px;
  overflow: auto;
  border-radius: 16px;
  padding: 12px;
  background: #f4f9ff;
  color: var(--ink-soft);
  line-height: 1.55;
}

.log-box p {
  margin: 0 0 8px;
}

.collection-shell {
  padding: 24px;
}

.collection-tabs {
  margin: 18px 0 20px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink-soft);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(62, 101, 149, 0.12);
}

.tab-btn.is-active {
  background: linear-gradient(145deg, #587dff, #8fb6ff);
  color: white;
}

.collection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.equipment-card {
  padding: 18px;
  border-radius: 22px;
  background: white;
  box-shadow: inset 0 0 0 1px rgba(74, 111, 151, 0.08);
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.equipment-card.locked {
  filter: grayscale(1);
  opacity: 0.72;
}

.equipment-card::after {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  top: -18px;
  right: -18px;
}

.rarity-normal {
  background: linear-gradient(145deg, #5cb2ff, #88e0ff);
  color: white;
}

.rarity-rare {
  background: linear-gradient(145deg, #ff8f42, #ffd45b);
  color: white;
}

.rarity-legend {
  background: linear-gradient(145deg, #9f5dff, #ff9dfa);
  color: white;
}

.equipment-symbol {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 12px 0 10px;
}

.equipment-art {
  position: relative;
  min-height: 120px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.5), transparent 22%),
    radial-gradient(circle at 75% 22%, rgba(255, 255, 255, 0.22), transparent 16%),
    linear-gradient(180deg, rgba(255,255,255,0.26), rgba(255,255,255,0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.equipment-glow {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  filter: blur(2px);
}

.equipment-emoji {
  position: relative;
  z-index: 1;
  font-size: 3.3rem;
  line-height: 1;
  text-shadow: 0 10px 18px rgba(18, 30, 52, 0.18);
}

.equipment-mini-tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.75rem;
  font-weight: 800;
}

.equipment-photo-wrap {
  position: relative;
  min-height: 120px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.equipment-photo {
  width: 100%;
  height: 128px;
  object-fit: cover;
  display: block;
}

.equipment-photo-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(19, 32, 55, 0.56);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
}

.equipment-credit {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.88);
}

.rarity-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 800;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: rgba(71, 189, 241, 0.18);
  backdrop-filter: blur(10px);
}

.loading-card {
  width: min(520px, calc(100% - 28px));
  background: rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
}

.loading-badge {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef8ff;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 10px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(120px);
  min-width: 260px;
  max-width: min(560px, calc(100% - 28px));
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(31, 45, 61, 0.92);
  color: white;
  box-shadow: 0 18px 36px rgba(31, 45, 61, 0.32);
  transition: transform 0.24s ease, opacity 0.24s ease;
  opacity: 0;
  z-index: 6;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 7;
  display: grid;
  place-items: center;
  background: rgba(25, 41, 59, 0.36);
  padding: 16px;
}

.modal-card {
  width: min(560px, 100%);
  background: white;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(25, 41, 59, 0.28);
}

.modal-body {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 10px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.modal-actions .action-btn {
  flex: 1 1 160px;
}

@media (max-width: 1024px) {
  .topbar,
  .hero-grid,
  .study-layout,
  .question-layout,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .menu-grid,
  .overview-grid,
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid,
  .hud-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticker-priority {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100%, calc(100% - 16px));
    padding-top: 12px;
  }

  .topbar,
  .hero-panel,
  .section-shell,
  .collection-shell {
    border-radius: 22px;
    padding: 18px;
  }

  .menu-grid,
  .overview-grid,
  .action-grid,
  .collection-grid,
  .stats-grid,
  .hud-grid,
  .hero-sticker {
    grid-template-columns: 1fr;
  }

  .sticker-priority {
    grid-column: auto;
    min-height: 168px;
  }

  .brand-block {
    align-items: flex-start;
  }

  .brand-mark {
    width: 62px;
    height: 62px;
    border-radius: 20px;
  }

  .study-card,
  .question-card {
    padding: 18px;
  }

  .question-actions,
  .toolbar-row,
  .section-head,
  .collection-tabs {
    align-items: stretch;
    flex-direction: column;
  }

  .section-head .action-btn,
  .toolbar-row .action-btn,
  .collection-tabs .tab-btn {
    width: 100%;
  }

  .canvas-frame,
  .side-panel {
    padding: 12px;
    border-radius: 18px;
  }

  .fold-panel summary {
    padding: 14px 16px;
  }

  .fold-panel summary::after {
    padding: 6px 10px;
    font-size: 0.76rem;
  }

  .fold-body {
    padding: 0 16px 16px;
  }
}
