:root {
  --ink: #10376b;
  --muted: #7d8da5;
  --blue: #1688fa;
  --green: #249b70;
  --orange: #ff762e;
  --bg: #fdfcf8;
  --radius: 18px;
  --shadow: 0 3px 15px #78603d10;
  font-family:
    "Noto Sans TC Variable", "Noto Sans TC", "Microsoft JhengHei", system-ui,
    sans-serif;
  color: var(--ink);
  background: #f1f4f5;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f8b746;
  outline-offset: 3px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}
input,
select,
textarea {
  color: var(--ink);
  border: 1px solid #dbe5ed;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  min-width: 0;
}
textarea {
  resize: vertical;
}
p {
  line-height: 1.55;
  margin: 7px 0;
}
h1,
h2,
h3 {
  margin: 0;
}
h2 {
  font-size: 18px;
}
small {
  font-size: 12px;
}
#app {
  max-width: 640px;
  margin: auto;
  background: var(--bg);
  min-height: 100dvh;
  padding: 12px 16px calc(100px + env(safe-area-inset-bottom));
}
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.hero {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: end;
  min-height: 160px;
  margin: 0 0 12px;
  isolation: isolate;
}
.hero-copy {
  z-index: 2;
  padding-bottom: 14px;
  min-width: 0;
}
.hero h1 {
  font-family: AppTitle, "DFKai-SB", "KaiTi", serif;
  font-size: clamp(49px, 12vw, 78px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1.2;
  text-shadow: 1px 2px 0 #224c8622;
  white-space: nowrap;
}
.brand-en {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  margin: 2px 0 11px;
}
.hero-copy > p:not(.speech) {
  font-family: "DFKai-SB", serif;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
  position: relative;
  margin-top: 12px;
}
.hero-copy > p:not(.speech):after {
  content: "";
  display: block;
  width: 85%;
  height: 4px;
  background: #78cdf0;
  border-radius: 70%;
  margin-top: 6px;
  transform: rotate(-3deg);
}
.hero-art {
  position: relative;
  aspect-ratio: 1/1.08;
  align-self: end;
  min-width: 0;
}
.character {
  position: absolute;
  width: 91%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
  bottom: 0;
  right: 2%;
  z-index: 2;
  pointer-events: none;
}
.hero-plant {
  position: absolute;
  width: 40%;
  right: -5%;
  bottom: 0;
  z-index: 1;
}
.speech {
  position: relative;
  max-width: 100%;
  width: fit-content;
  margin: 8px 0 8px auto;
  background: #fffefa;
  border: 1.5px solid #83c9eb;
  border-radius: 45%;
  font-family: "DFKai-SB", serif;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  padding: 9px 5px;
  transform: rotate(-4deg);
  z-index: 3;
}
.card {
  background: #fff;
  border: 1px solid #f0efeb;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  margin: 12px 0;
}
.section-title {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.section-title > .icon {
  color: var(--orange);
}
.section-title .text-button {
  margin-left: auto;
  font-size: 12px;
}
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.stat-card {
  min-width: 0;
  border: 1px solid white;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 12px;
  text-align: left;
  background: linear-gradient(140deg, #fffefb, #fff2e4);
}
.stat-card.green {
  background: linear-gradient(135deg, #f5fff9, #dffbf0);
}
.stat-card.blue {
  background: linear-gradient(135deg, #f8fcff, #e3f6ff);
}
.stat-card h2 {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 15px;
  white-space: nowrap;
}
.stat-card h2 > .icon {
  width: 14px;
  margin-left: auto;
}
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e2f3ff;
  border-radius: 13px;
  width: 40px;
  height: 40px;
  color: var(--blue);
  flex-shrink: 0;
}
.icon-badge .icon {
  width: 26px;
  height: 26px;
}
.icon-badge.orange {
  background: #fff0de;
  color: var(--orange);
}
.icon-badge.green {
  background: #dffbef;
  color: var(--green);
}
.icon-badge.gold {
  background: #fff5ce;
  color: #f3bd35;
}
.icon-badge.red {
  background: #ffe7e9;
  color: #ed5272;
}
.stat-card h2 .icon-badge {
  width: 28px;
  height: 28px;
}
.stat-card h2 .icon-badge .icon {
  width: 21px;
  height: 21px;
}
.stat-number {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}
.stat-number small,
.progress-pair small {
  font-size: 13px;
  color: var(--ink);
  margin-left: 3px;
}
.orange-text {
  color: var(--orange);
}
.green-text {
  color: var(--green);
}
.blue-text {
  color: var(--blue);
}
.purple-text {
  color: #8e6bec;
}
.stat-foot {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 2px 0 8px;
}
.stat-foot span {
  margin-left: auto;
  color: var(--muted);
}
.track {
  height: 12px;
  background: #e8ecf1;
  border-radius: 20px;
  display: block;
  overflow: hidden;
}
.fill {
  height: 100%;
  display: block;
  border-radius: 20px;
  background: #3ca0fa;
}
.fill.green {
  background: linear-gradient(90deg, #3dbf92, #289d70);
}
.fill.orange {
  background: linear-gradient(90deg, #ffa15b, #ff7739);
}
.fill.purple {
  background: #a18bf8;
}
.progress-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  margin-top: 10px;
}
.progress-pair > div + div {
  border-left: 1px solid #c9ddd6;
}
.progress-pair p {
  font-size: 12px;
}
.progress-pair b {
  font-size: 34px;
  white-space: nowrap;
  display: block;
}
.primary,
.secondary,
.mint,
.peach {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
}
.primary {
  background: linear-gradient(145deg, #3c9df8, #087df0);
  color: white;
  box-shadow: inset 0 1px 2px #ffffff66;
}
.secondary {
  background: #f5fbff;
  color: #0072dc;
  border: 1px solid #1991ff;
}
.mint {
  background: linear-gradient(120deg, #e1fbf1, #d0f6e9);
  color: #123e4d;
}
.peach {
  background: #ffebdf;
  color: #ae3f18;
}
.action-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10px;
}
.action {
  padding: 16px 10px;
  text-align: left;
  gap: 8px;
  min-width: 0;
}
.action > .icon:first-child {
  width: 29px;
  height: 29px;
}
.action > .icon:last-child {
  width: 12px;
  margin-left: auto;
}
.action strong {
  font-size: 16px;
  white-space: nowrap;
}
.action small {
  display: block;
  font-weight: 400;
  margin-top: 6px;
  font-size: 11px;
  white-space: nowrap;
}
.focus-row {
  width: 100%;
  display: flex;
  text-align: left;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
}
.focus-row + .focus-row {
  border-top: 1px solid #eef0f4;
}
.focus-row > div {
  flex: 1;
  min-width: 0;
}
.focus-row strong {
  font-size: 14px;
}
.focus-row p {
  font-size: 12px;
  color: var(--muted);
  margin: 3px 0;
}
.focus-row > .icon {
  width: 16px;
  color: var(--muted);
}
.encouragement {
  isolation: isolate;
  position: relative;
  background: linear-gradient(120deg, #e9f8ef, #fff9e6);
  border-radius: 17px;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  overflow: hidden;
  margin: 12px 0;
}
.encouragement > div {
  z-index: 1;
}
.encouragement strong {
  font-family: "DFKai-SB", serif;
  font-size: 17px;
}
.encouragement p {
  font-size: 12px;
  color: #68829b;
}
.encouragement .icon-badge {
  background: none;
  z-index: 1;
}
.encouragement .icon-badge .icon {
  height: 35px;
  width: 35px;
}
.banner-plant {
  position: absolute;
  width: 80px;
  bottom: -28px;
  opacity: 0.65;
  z-index: -1;
}
.banner-plant.left {
  left: -20px;
  transform: rotate(-25deg);
}
.banner-plant.right {
  right: -15px;
  transform: rotate(15deg);
}
.banner-art {
  width: 65px;
  height: 75px;
  object-fit: contain;
  flex-shrink: 0;
  z-index: 1;
}
.signpost {
  position: relative;
  flex: 0 0 75px;
  display: grid;
  gap: 3px;
  z-index: 1;
  padding: 4px 0 8px;
  transform: rotate(-6deg);
}
.signpost:before {
  content: "";
  position: absolute;
  width: 6px;
  height: 100%;
  background: #9b653f;
  left: 36px;
  z-index: -1;
  border-radius: 2px;
}
.signpost span {
  font-size: 11px;
  text-align: center;
  border: 1px solid #b58150;
  background: linear-gradient(110deg, #f9d49b, #f2ba77);
  padding: 4px 3px;
  border-radius: 4px;
  box-shadow: 1px 2px #aa784e55;
}
.notebook {
  flex: 0 0 82px;
  display: grid;
  gap: 7px;
  padding: 10px 6px;
  border: 2px solid #c19b67;
  border-radius: 8px;
  background: repeating-linear-gradient(#fff5d8 0 20px, #f1debb 21px 22px);
  transform: rotate(-9deg);
  font-size: 10px;
  z-index: 1;
}
.notebook b {
  text-align: center;
  font-size: 14px;
}
.encouragement:has(.banner-art, .signpost, .notebook) {
  gap: 7px;
  padding: 13px 12px;
}
.encouragement:has(.banner-art, .signpost, .notebook) strong {
  font-size: 14px;
}
.encouragement:has(.banner-art, .signpost, .notebook) .icon-badge {
  width: 24px;
}
.encouragement:has(.banner-art, .signpost, .notebook)
  > div:not(.signpost, .notebook) {
  flex: 1;
  min-width: 0;
}
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 640px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #ffffffed;
  backdrop-filter: blur(15px);
  padding: 6px 10px calc(7px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -3px 15px #253b5110;
  z-index: 10;
}
.bottom-nav button {
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 7px 0;
  font-size: 13px;
  color: #718096;
}
.bottom-nav .icon {
  width: 27px;
  height: 27px;
}
.bottom-nav .active {
  color: #007cf0;
  background: linear-gradient(120deg, #eefaff, #e3f3ff);
  font-weight: 700;
}
.search-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin: 12px 0;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 0;
}
.search input {
  border: 0;
  padding: 0;
  width: 100%;
  font-size: 13px;
  outline-offset: 5px;
}
.search .icon {
  color: var(--muted);
  width: 20px;
}
.search-row > .primary {
  padding: 12px;
  font-size: 13px;
  white-space: nowrap;
}
.search-row > .primary .icon {
  width: 18px;
}
.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 50px;
  background: #f0f7fc;
  color: #49627f;
  font-size: 13px;
  gap: 5px;
}
.chip.selected {
  background: #b8dfff;
  color: #003e7a;
  font-weight: 700;
}
.filter-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.filter-row select {
  max-width: 42%;
  font-size: 12px;
  padding: 7px;
}
.text-button {
  color: #7087a4;
  font-size: 13px;
}
.list-count {
  font-size: 12px;
  color: var(--muted);
}
.question-card {
  width: 100%;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 14px;
  gap: 10px;
  text-align: left;
  background: white;
  border: 1px solid #f1f0eb;
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--shadow);
  margin: 10px 0;
  align-items: start;
}
.question-thumb {
  width: 84px;
  height: 104px;
  object-fit: cover;
  object-position: left top;
  border-radius: 12px;
  grid-row: 1 / span 2;
}
.question-info {
  min-width: 0;
}
.question-heading {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 14px;
}
.question-heading .icon-badge {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}
.question-heading .icon {
  width: 18px;
  height: 18px;
}
.question-info p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0;
}
.error-tag {
  display: inline-block;
  background: #ffede3;
  color: #f3622f;
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: bold;
}
.question-card .chevron {
  width: 14px;
  color: #8d9bb0;
  grid-column: 3;
  grid-row: 1;
}
.status-tag {
  grid-column: 2;
  grid-row: 2;
  width: fit-content;
  font-size: 10px;
  border-radius: 20px;
  padding: 4px 9px;
  background: #e5f3ff;
  color: #0d89f8;
}
.status-tag.green {
  color: #168660;
  background: #dcfaee;
}
.status-tag.red {
  color: #e65145;
  background: #fff0f0;
}
.question-card .note {
  line-height: 1.5;
}
.review-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}
.review-progress b {
  font-size: 25px;
  color: var(--blue);
}
.review-track {
  margin: 8px 3px 14px;
  height: 9px;
}
.question-stage {
  padding: 10px;
}
.review-image {
  width: 100%;
  display: block;
  border-radius: 12px;
  max-height: 350px;
  object-fit: contain;
  background: #f1eee7;
}
.review-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.review-tags .chip {
  padding: 6px 10px;
  font-size: 11px;
}
.review-tags .icon-badge {
  width: 22px;
  height: 22px;
  background: none;
}
.review-tags .icon {
  width: 20px;
  height: 20px;
}
.answer-locked {
  background: linear-gradient(135deg, #f6fbff, #eaf4ff);
  border: 1px dashed #b8d9fd;
  border-radius: 13px;
  text-align: center;
  padding: 18px 10px;
}
.answer-locked > .icon {
  color: #0085ef;
  width: 30px;
  height: 30px;
}
.answer-locked h2 {
  display: inline;
  margin-left: 8px;
  font-size: 21px;
}
.answer-locked p {
  font-size: 12px;
  color: #738baa;
  margin-top: 12px;
}
.full {
  width: 100%;
}
.answer-card .primary {
  margin-top: 10px;
  font-size: 21px;
}
.answer-content {
  padding: 10px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.answer-image {
  max-width: 100%;
  border-radius: 12px;
}
.self-check {
  font-size: 13px;
  text-align: center;
  margin: 12px;
}
.review-actions button {
  font-size: 20px;
  padding: 15px;
}
.schedule-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #eaf9f2;
  padding: 10px;
  border-radius: 12px;
  font-size: 12px;
}
.three {
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.three .stat-card {
  padding: 10px 7px;
}
.three .stat-card h2 {
  font-size: 12px;
  gap: 3px;
}
.three .stat-card .icon-badge {
  width: 23px;
  height: 23px;
}
.three .stat-number {
  font-size: 44px;
}
.three .stat-number small {
  font-size: 12px;
  margin-left: 3px;
}
.three .stat-card p {
  font-size: 11px;
  color: var(--muted);
  padding: 0 3px;
}
.bar-row {
  display: grid;
  grid-template-columns: 82px 1fr 44px 12px;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 14px 0;
  text-align: left;
  border-top: 1px solid #edf0f5;
  font-size: 14px;
}
.bar-row strong {
  overflow-wrap: anywhere;
}
.bar-row b {
  font-size: 20px;
  text-align: right;
}
.bar-row .icon {
  width: 12px;
  color: #7d90aa;
}
.profile-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid white;
  border-radius: 18px;
  padding: 12px;
  background: linear-gradient(130deg, #fffdfa, #fff3e5);
  box-shadow: var(--shadow);
}
.avatar {
  width: 65px;
  height: 65px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  background: #e8f8ff;
  border: 1px solid #d0efff;
}
.profile-card > div {
  flex: 1;
}
.profile-card h2 {
  font-size: 18px;
}
.profile-card p {
  font-size: 12px;
  color: var(--muted);
}
.profile-card .chip {
  font-size: 12px;
  padding: 10px;
}
.setting-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  text-align: left;
  min-width: 0;
}
.setting-row + .setting-row {
  border-top: 1px solid #edf0f3;
}
.setting-row > span:not(.icon-badge) {
  flex: 1;
  min-width: 0;
}
.setting-row strong {
  font-size: 15px;
}
.setting-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  margin-top: 4px;
}
.setting-row input[type="time"] {
  font-size: 12px;
  padding: 7px;
  width: 100px;
}
.setting-row input[role="switch"] {
  appearance: none;
  width: 45px;
  height: 27px;
  border-radius: 20px;
  padding: 0;
  background: #c5d0dc;
  position: relative;
  flex-shrink: 0;
  border: 0;
}
.setting-row input[role="switch"]:checked {
  background: var(--blue);
}
.setting-row input[role="switch"]:before {
  content: "";
  position: absolute;
  width: 21px;
  height: 21px;
  background: white;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  box-shadow: 0 1px 3px #0002;
}
.setting-row input[role="switch"]:checked:before {
  left: 21px;
}
.backup-box {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #edfbf5;
  border-radius: 15px;
  padding: 10px;
}
.backup-box > div {
  flex: 1;
  min-width: 0;
}
.backup-box strong {
  font-size: 12px;
}
.backup-box p {
  font-size: 11px;
  color: var(--muted);
}
.backup-box > div:last-child {
  flex: 0 0 99px;
  display: grid;
  gap: 7px;
}
.backup-box button {
  font-size: 12px;
  padding: 9px 5px;
  white-space: nowrap;
}
.backup-box .icon {
  width: 18px;
}
.about {
  display: flex;
  gap: 12px;
}
.about p,
.quiet {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}
.empty {
  text-align: center;
  padding: 35px 16px;
}
.empty > span {
  font-size: 40px;
  color: #e6ba56;
}
.empty p {
  color: var(--muted);
  font-size: 13px;
}
.loading {
  padding: 60px 20px;
  text-align: center;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: #18355666;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
  backdrop-filter: blur(3px);
}
.modal {
  background: var(--bg);
  border-radius: 22px;
  max-width: 560px;
  width: 100%;
  max-height: 92dvh;
  overflow: auto;
  padding: 18px;
  box-shadow: 0 18px 80px #1234;
}
.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.modal-heading button {
  font-size: 25px;
  padding: 2px 10px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-grid label,
.form-stack label {
  display: grid;
  gap: 5px;
  font-size: 13px;
}
.form-stack {
  display: grid;
  gap: 12px;
}
.wide {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.image-editor {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dce6ec;
  border-radius: 12px;
}
.image-editor canvas {
  width: 100%;
  height: auto;
  touch-action: none;
  object-fit: contain;
  align-self: start;
}
.editor-tools {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.editor-tools button {
  background: #e3f1ff;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
}
.editor-tools button.active {
  background: #1688fa;
  color: white;
}
.field-help {
  font-size: 11px;
  color: #708498;
}
.detail-image {
  width: 100%;
  border-radius: 12px;
}
.detail-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.danger {
  color: #d74754;
  background: #ffedef;
  border-radius: 10px;
  padding: 10px;
}
.history {
  padding: 0;
  list-style: none;
}
.history li {
  font-size: 12px;
  border-top: 1px solid #dfe8ee;
  padding: 8px;
}
.validation {
  color: #ba3030;
  font-size: 13px;
  min-height: 20px;
}
#toast {
  position: fixed;
  bottom: 95px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: #173d63;
  color: white;
  padding: 12px 18px;
  border-radius: 15px;
  max-width: 90%;
  width: max-content;
  z-index: 100;
  transition: 0.2s;
  font-size: 14px;
  box-shadow: 0 5px 30px #1233;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 540px) {
  #app {
    padding: 20px 22px 110px;
  }
  .hero {
    min-height: 205px;
  }
  .hero-copy > p:not(.speech) {
    font-size: 18px;
  }
  .speech {
    font-size: 16px;
    width: 135px;
  }
  .hero-art {
    aspect-ratio: 1.1;
  }
  .stat-card h2 {
    font-size: 19px;
  }
  .stat-number {
    font-size: 72px;
  }
  .progress-pair b {
    font-size: 52px;
  }
  .action strong {
    font-size: 21px;
  }
  .action small {
    font-size: 14px;
  }
  .focus-row strong {
    font-size: 18px;
  }
  .focus-row p {
    font-size: 14px;
  }
  .question-card {
    grid-template-columns: 118px minmax(0, 1fr) 16px;
  }
  .question-thumb {
    width: 118px;
    height: 116px;
  }
  .question-heading {
    font-size: 18px;
  }
  .question-info p {
    font-size: 13px;
  }
  .three .stat-number {
    font-size: 62px;
  }
  .three .stat-card h2 {
    font-size: 18px;
  }
  .three .stat-card p {
    font-size: 14px;
  }
  .bar-row {
    grid-template-columns: 110px 1fr 60px 14px;
  }
  .profile-card h2 {
    font-size: 23px;
  }
  .backup-box strong {
    font-size: 15px;
  }
}
@media (max-width: 374px) {
  #app {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-copy > p:not(.speech) {
    font-size: 12px;
  }
  .speech {
    width: 83px;
    font-size: 10px;
  }
  .stat-card {
    padding: 10px;
  }
  .stat-card h2 {
    font-size: 13px;
  }
  .action {
    padding: 13px 7px;
    gap: 5px;
  }
  .action strong {
    font-size: 14px;
  }
  .action > .icon:first-child {
    width: 22px;
  }
  .action small {
    font-size: 10px;
  }
  .three .stat-card h2 {
    font-size: 11px;
  }
  .three .stat-card .icon-badge {
    width: 20px;
  }
  .backup-box > .icon-badge {
    display: none;
  }
  .question-card {
    grid-template-columns: 72px minmax(0, 1fr) 12px;
    gap: 7px;
  }
  .question-thumb {
    width: 72px;
  }
  .question-heading {
    font-size: 13px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
