/* 从当前小程序动物塑及公共答题/加载样式转换；750rpx → 375px。 */

/* pkg-test-03/pages/animal/detail.wxss */


.animal-detail-page {
  min-height: 100vh;
  background:
    radial-gradient(84% 48% at 10% 0%, rgba(74, 144, 226, 0.16) 0%, rgba(74, 144, 226, 0) 72%),
    radial-gradient(72% 44% at 90% 8%, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0) 70%),
    linear-gradient(180deg, #f8fbff 0%, #eef6f9 100%);
  color: #102033;
}

.animal-detail {
  min-height: 100vh;
  padding: 21px 15px 89px;
  box-sizing: border-box;
}

.animal-detail__hero {
  text-align: center;
}

.animal-detail__badge,
.animal-detail__brand,
.animal-detail__title,
.animal-detail__subtitle,
.animal-detail__section-title,
.animal-detail__question,
.animal-detail__stat-value,
.animal-detail__stat-label,
.animal-detail__reason-title,
.animal-detail__reason-desc {
  display: block;
}

.animal-detail__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 6px 11px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 499.5px;
  background: rgba(239, 246, 255, 0.92);
  color: #2563eb;
  font-size: 11.5px;
  font-weight: 900;
  box-sizing: border-box;
}

.animal-detail__brand {
  margin-top: 12px;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.animal-detail__title {
  margin-top: 8px;
  color: #0f766e;
  font-size: 29px;
  font-weight: 900;
  line-height: 1.14;
}

.animal-detail__subtitle {
  margin: 12px auto 15px;
  max-width: 325px;
  color: #52677e;
  font-size: 14px;
  line-height: 1.72;
}

.animal-detail__emoji-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.animal-detail__emoji-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 15px rgba(15, 23, 42, 0.05);
}

.animal-detail__emoji {
  font-size: 18px;
  line-height: 1;
}

.animal-detail__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.animal-detail__stat,
.animal-detail__section {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
}

.animal-detail__stat {
  min-height: 75px;
  padding: 11px 8px;
  text-align: center;
}

.animal-detail__stat-icon {
  color: #0f766e;
  font-size: 16px;
  font-weight: 900;
}

.animal-detail__stat-value {
  margin-top: 4px;
  color: #102033;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.animal-detail__stat-label {
  margin-top: 5px;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 800;
}

.animal-detail__section {
  margin-top: 12px;
  padding: 14px;
}

.animal-detail__section-title {
  color: #0f766e;
  font-size: 15px;
  font-weight: 900;
}

.animal-detail__question {
  margin-top: 8px;
  color: #24364b;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.7;
}

.animal-detail__reason-list {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.animal-detail__reason {
  display: flex;
  gap: 8px;
  padding: 9px;
  border-radius: 8px;
  background: rgba(239, 246, 255, 0.8);
}

.animal-detail__reason-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 499.5px;
  background: #0f766e;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  flex: none;
}

.animal-detail__reason-copy {
  flex: 1;
  min-width: 0;
}

.animal-detail__reason-title {
  color: #102033;
  font-size: 13px;
  font-weight: 900;
}

.animal-detail__reason-desc {
  margin-top: 3px;
  color: #52677e;
  font-size: 11.5px;
  line-height: 1.5;
}

.animal-detail__bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 11px 15px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 251, 255, 0.96);
  box-shadow: 0 -8px 21px rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
}

.animal-detail__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding: 0;
  border-radius: 499.5px;
  background: linear-gradient(135deg, #0f766e, #2563eb);
  color: #fff;
  font-size: 15.5px;
  font-weight: 900;
  line-height: normal;
  box-shadow: 0 9px 21px rgba(37, 99, 235, 0.22);
}

/* pkg-test-03/pages/animal/result.wxss */



.animal-result-page {
  min-height: 100vh;
  background:
    radial-gradient(82% 50% at 8% 0%, rgba(15, 118, 110, 0.13) 0%, rgba(15, 118, 110, 0) 72%),
    radial-gradient(82% 52% at 94% 4%, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0) 72%),
    #f8fbff;
  color: #102033;
}

.animal-result {
  min-height: 100vh;
  padding: 14px 15px 39px;
  box-sizing: border-box;
}

.animal-result__head {
  padding: 6px 0 14px;
  text-align: center;
}

.animal-result__eyebrow,
.animal-result__title,
.animal-result__subtitle,
.animal-result__emoji,
.animal-result__name,
.animal-result__type,
.animal-result__desc,
.animal-highlight__label,
.animal-highlight__value,
.animal-highlight__meta,
.animal-section__title,
.animal-dimension__name,
.animal-dimension__level,
.animal-dimension__value,
.animal-dimension__desc,
.animal-snapshot__label,
.animal-snapshot__value,
.animal-snapshot__meta,
.animal-pair__title,
.animal-pair__winner,
.animal-pair__desc,
.animal-text-block,
.animal-motivation__title,
.animal-motivation__desc,
.animal-archetype__title,
.animal-archetype__body {
  display: block;
}

.animal-result__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 4.5px 11px;
  border-radius: 499.5px;
  background: rgba(239, 246, 255, 0.94);
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
  box-sizing: border-box;
}

.animal-result__title {
  margin-top: 9px;
  color: #0f766e;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.18;
}

.animal-result__subtitle {
  margin-top: 6px;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.55;
}

.animal-result__hero,
.animal-section,
.animal-highlight,
.animal-dimension,
.animal-snapshot,
.animal-pair,
.animal-text-block,
.animal-motivation,
.animal-archetype {
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 9px 25px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
}

.animal-result__hero {
  padding: 21px 13px 15px;
  border-radius: 13px;
  text-align: center;
}

.animal-result__emoji {
  width: 69px;
  height: 69px;
  margin: 0 auto;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.11), rgba(37, 99, 235, 0.1));
  font-size: 41px;
  line-height: 69px;
}

.animal-result__name {
  margin-top: 9px;
  color: #102033;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
}

.animal-result__type {
  margin-top: 4px;
  color: #2563eb;
  font-size: 15px;
  font-weight: 900;
}

.animal-result__desc {
  margin-top: 11px;
  padding: 11px;
  border-radius: 9px;
  background: #f8fbff;
  color: #52677e;
  font-size: 13px;
  line-height: 1.85;
  text-align: left;
}

.animal-result__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.animal-result__pill {
  display: block;
  padding: 7px 9px;
  border-radius: 499.5px;
  background: rgba(15, 118, 110, 0.09);
  color: #0f766e;
  font-size: 11.5px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.animal-highlights {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.animal-highlight {
  padding: 12px 11px;
  border-radius: 10px;
}

.animal-highlight__icon {
  font-size: 21px;
  line-height: 1;
}

.animal-highlight__label {
  margin-top: 6px;
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 900;
}

.animal-highlight__value {
  margin-top: 4px;
  color: #102033;
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.2;
}

.animal-highlight__meta {
  margin-top: 4.5px;
  color: #64748b;
  font-size: 11.5px;
  line-height: 1.6;
}

.animal-section {
  margin-top: 12px;
  padding: 13px 11px;
  border-radius: 12px;
}

.animal-section__title {
  margin-bottom: 11px;
  padding-left: 9px;
  border-left: 3.5px solid #0f766e;
  color: #102033;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.animal-dimension {
  margin-top: 8px;
  padding: 11px;
  border-radius: 9px;
  box-shadow: none;
}

.animal-dimension:first-of-type {
  margin-top: 0;
}

.animal-dimension__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
}

.animal-dimension__copy {
  flex: 1;
  min-width: 0;
}

.animal-dimension__name {
  color: #102033;
  font-size: 14.5px;
  font-weight: 900;
  line-height: 1.25;
}

.animal-dimension__level {
  display: inline-flex;
  margin-top: 4px;
  padding: 3.5px 7px;
  border-radius: 499.5px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-size: 10px;
  font-weight: 900;
}

.animal-dimension__level--low {
  background: #f1f5f9;
  color: #64748b;
}

.animal-dimension__level--high {
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
}

.animal-dimension__value {
  color: #2563eb;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.animal-dimension__track,
.animal-snapshot__track,
.animal-pair__track {
  height: 6px;
  border-radius: 499.5px;
  background: #e2e8f0;
  overflow: hidden;
}

.animal-dimension__track {
  margin-top: 9px;
}

.animal-dimension__fill,
.animal-snapshot__fill,
.animal-pair__fill {
  height: 100%;
  border-radius: 499.5px;
  background: linear-gradient(90deg, #0f766e, #2563eb);
}

.animal-dimension__desc {
  margin-top: 9px;
  padding: 9px;
  border-left: 3px solid #2563eb;
  border-radius: 7px;
  background: rgba(37, 99, 235, 0.06);
  color: #52677e;
  font-size: 12px;
  line-height: 1.78;
}

.animal-snapshot {
  margin-top: 8px;
  padding: 11px;
  border-radius: 9px;
  box-shadow: none;
}

.animal-snapshot:first-of-type {
  margin-top: 0;
}

.animal-snapshot__label {
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 900;
}

.animal-snapshot__value {
  margin-top: 5px;
  color: #102033;
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.2;
}

.animal-snapshot__meta {
  margin-top: 4px;
  color: #64748b;
  font-size: 11.5px;
  line-height: 1.58;
}

.animal-snapshot__track {
  margin-top: 8px;
}

.animal-pair {
  margin-top: 8px;
  padding: 11px;
  border-radius: 9px;
  box-shadow: none;
}

.animal-pair:first-of-type {
  margin-top: 0;
}

.animal-pair__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.animal-pair__title {
  flex: 1;
  min-width: 0;
  color: #102033;
  font-size: 14px;
  font-weight: 900;
}

.animal-pair__winner {
  padding: 4px 7px;
  border-radius: 499.5px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.animal-pair__row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.animal-pair__label {
  width: 46px;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.animal-pair__track {
  flex: 1;
}

.animal-pair__fill--secondary {
  background: linear-gradient(90deg, #2563eb, #0284c7);
}

.animal-pair__score {
  width: 27px;
  color: #102033;
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}

.animal-pair__desc {
  margin-top: 9px;
  color: #52677e;
  font-size: 12px;
  line-height: 1.75;
}

.animal-text-block {
  margin-top: 8px;
  padding: 10px;
  border-radius: 9px;
  box-shadow: none;
  color: #52677e;
  font-size: 12px;
  line-height: 1.78;
}

.animal-motivation {
  display: flex;
  gap: 9px;
  margin-top: 8px;
  padding: 11px;
  border-radius: 9px;
  box-shadow: none;
}

.animal-motivation:first-of-type {
  margin-top: 0;
}

.animal-motivation__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
  font-size: 14px;
  font-weight: 900;
  flex: none;
}

.animal-motivation__copy {
  flex: 1;
  min-width: 0;
}

.animal-motivation__title {
  color: #102033;
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.25;
}

.animal-motivation__desc {
  margin-top: 5px;
  color: #52677e;
  font-size: 12px;
  line-height: 1.75;
}

.animal-archetype {
  margin-top: 8px;
  padding: 11px;
  border-radius: 9px;
  box-shadow: none;
}

.animal-archetype:first-of-type {
  margin-top: 0;
}

.animal-archetype__title {
  color: #102033;
  font-size: 13.5px;
  font-weight: 900;
}

.animal-archetype__body {
  margin-top: 5px;
  color: #52677e;
  font-size: 12px;
  line-height: 1.78;
}

.animal-result__actions {
  display: flex;
  gap: 9px;
  margin-top: 15px;
}

.animal-primary-button,
.animal-secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  height: 43px;
  padding: 0 9px;
  border-radius: 499.5px;
  font-size: 14px;
  font-weight: 900;
  line-height: normal;
  box-sizing: border-box;
}

.animal-primary-button {
  background: linear-gradient(135deg, #0f766e, #2563eb);
  color: #ffffff;
  box-shadow: 0 9px 21px rgba(37, 99, 235, 0.2);
}

.animal-secondary-button {
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: #eff6ff;
  color: #2563eb;
}

/* modules/answer/page.wxss */
/* Shared layout with two fixed palettes. Soft gradients are CSS, not image assets. */
.quiz-page { position:relative; z-index:0; min-height:100vh; background:var(--quiz-background); color:var(--quiz-ink); padding-bottom:env(safe-area-inset-bottom); box-sizing:border-box; }
.quiz-atmosphere { position:absolute; z-index:0; top:0; right:0; bottom:0; left:0; pointer-events:none; background-color:var(--quiz-background); background-image:linear-gradient(180deg,var(--quiz-background) 0px,var(--quiz-background) 88px,transparent 260px),var(--quiz-backdrop); }
.quiz-shell { position:relative; z-index:1; max-width:450px; margin:0 auto; padding:14px 18px 24px; box-sizing:border-box; }
.quiz-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.quiz-title { min-width:0; font-size:13.5px; font-weight:600; line-height:1.5; }
.quiz-progress-count { flex-shrink:0; padding:3.5px 9px; border:0.5px solid var(--quiz-border); border-radius:12px; background:var(--quiz-surface); font-size:12px; line-height:1.4; color:var(--quiz-muted); font-variant-numeric:tabular-nums; }
.quiz-progress { height:3px; margin-top:12px; border-radius:4px; overflow:hidden; background:var(--quiz-border); }
.quiz-progress-fill { height:100%; border-radius:4px; background:var(--quiz-progress); transition:width .18s ease; }
.quiz-question { margin:22px 0 17px; }
.quiz-question-number { display:inline-block; padding:3px 7px; margin-bottom:9px; border-radius:5px; background:var(--quiz-soft); color:var(--quiz-accent); font-size:11.5px; font-weight:600; line-height:1.5; letter-spacing:0.5px; }
.quiz-question-title { display:block; font-size:19px; font-weight:700; line-height:1.55; letter-spacing:0.25px; overflow-wrap:break-word; }
.quiz-question-hint { display:block; margin-top:9px; font-size:12.5px; line-height:1.65; color:var(--quiz-muted); }
.quiz-options { display:flex; flex-direction:column; gap:8.5px; }
.quiz-option { display:flex; align-items:center; gap:9px; width:100%; min-height:54px; padding:11.5px 12px; margin:0; box-sizing:border-box; border:1px solid var(--quiz-border); border-radius:12px; background:var(--quiz-surface); color:var(--quiz-ink); box-shadow:var(--quiz-shadow); line-height:1.6; text-align:left; font-weight:400; transition:border-color .15s,box-shadow .15s; }
.quiz-option::after, .quiz-button::after, .quiz-save-retry::after { border:0; }
/* Outrank the native button[disabled]:not([type]) / [type=default] rules
   during the 260ms answer lock, including the selected option. */
.quiz-page .quiz-option[disabled] { color:var(--quiz-ink); background:var(--quiz-surface); opacity:1; }
.quiz-page .quiz-option--selected, .quiz-page .quiz-option--selected[disabled] { border-color:var(--quiz-selectedBorder); background:var(--quiz-selected); box-shadow:var(--quiz-selectedShadow); }
.quiz-option--pressed { background:var(--quiz-selected); }
.quiz-option-mark { display:flex; align-items:center; justify-content:center; flex-shrink:0; width:23px; height:23px; border-radius:50%; background:var(--quiz-mark); color:var(--quiz-muted); font-size:11.5px; font-weight:600; }
.quiz-option--selected .quiz-option-mark { background:var(--quiz-primary); color:var(--quiz-onAccent); }
.quiz-option-text { flex:1; min-width:0; font-size:14.5px; overflow-wrap:break-word; }
.quiz-option-check { display:flex; align-items:center; justify-content:center; box-sizing:border-box; width:13.5px; height:13.5px; border:1px solid var(--quiz-border); border-radius:50%; flex-shrink:0; color:transparent; font-size:10px; line-height:1; font-weight:700; }
.quiz-option--selected .quiz-option-check { border-color:transparent; background:var(--quiz-primary); color:var(--quiz-onAccent); }
.quiz-options--grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.quiz-options--grid .quiz-option { display:flex; flex-direction:column; align-items:flex-start; gap:3px; padding:10px 12px; min-height:57px; }
.quiz-type-code { font-size:15.5px; font-weight:700; letter-spacing:1px; color:var(--quiz-accent); }
.quiz-type-caption { font-size:12px; color:var(--quiz-muted); }
/* Scale buttons keep equal touch areas while the circles show distance from neutral. */
.quiz-scale { --scale-start:#53758e; --scale-end:#8a729c; --scale-neutral:#7b8895; --scale-check:#fffdf8; padding:12px 0 8px; }
.quiz-page--dark .quiz-scale { --scale-start:#8fc7dc; --scale-end:#c3b8f4; --scale-neutral:#a0aac1; --scale-check:#1c2540; }
.quiz-scale-labels { display:grid; grid-template-columns:1fr 1fr 1fr; align-items:center; gap:4px; padding:0 4px; font-size:12px; font-weight:600; line-height:1.6; }
.quiz-scale-start { color:var(--scale-start); text-align:left; }
.quiz-scale-middle { color:var(--scale-neutral); text-align:center; }
.quiz-scale-end { color:var(--scale-end); text-align:right; }
.quiz-scale-options { display:flex; align-items:center; margin:10px -12px 8px; }
.quiz-scale-option { --scale-color:var(--scale-neutral); display:flex; align-items:center; justify-content:center; flex:1; min-width:0; height:56px; min-height:48px; padding:0; margin:0; border:0; border-radius:6px; background:transparent; color:var(--scale-color); line-height:1; box-sizing:border-box; }
.quiz-scale-option--start { --scale-color:var(--scale-start); }
.quiz-scale-option--end { --scale-color:var(--scale-end); }
.quiz-scale-option::after { border:0; }
.quiz-page .quiz-scale-option[disabled] { background:transparent; color:var(--scale-color); opacity:1; }
.quiz-scale-dot { display:flex; align-items:center; justify-content:center; flex-shrink:0; box-sizing:border-box; border:1.5px solid var(--scale-color); border-radius:50%; background:var(--quiz-surface); }
.quiz-scale-option--selected .quiz-scale-dot { background:var(--scale-color); }
.quiz-scale-check { color:var(--scale-check); font-size:13px; font-weight:700; line-height:1; }
.quiz-scale-selection { display:block; min-height:22px; font-size:13px; line-height:1.65; text-align:center; color:var(--quiz-muted); }
.quiz-scale-selection--selected { color:var(--quiz-ink); font-weight:600; }
.quiz-interaction-hint { display:block; margin:14px 0; color:var(--quiz-muted); font-size:11.5px; line-height:1.5; text-align:center; }
.quiz-actions { display:flex; gap:10px; }
.quiz-actions--without-hint { margin-top:14px; }
.quiz-button { display:flex; align-items:center; justify-content:center; box-sizing:border-box; min-height:48px; padding:12px; border:1px solid transparent; border-radius:12px; font-size:14.5px; line-height:1.4; font-weight:600; }
.quiz-button--previous { width:40%; border-color:var(--quiz-border); background:var(--quiz-surface); color:var(--quiz-ink); box-shadow:var(--quiz-shadow); }
.quiz-button--next { flex:1; background:var(--quiz-primary); color:var(--quiz-onAccent); box-shadow:var(--quiz-buttonShadow); }
.quiz-page .quiz-button[disabled] { opacity:1; color:var(--quiz-disabledInk); border-color:var(--quiz-border); background:var(--quiz-disabledSurface); box-shadow:none; }
.quiz-date-field { display:flex; align-items:center; flex-wrap:wrap; gap:10px; min-height:60px; box-sizing:border-box; padding:14px; background:var(--quiz-surface); border:1px solid var(--quiz-border); border-radius:12px; box-shadow:var(--quiz-shadow); }
.quiz-date-label { color:var(--quiz-muted); font-size:13.5px; }
.quiz-date-value { margin-left:auto; color:var(--quiz-ink); font-size:16.5px; font-weight:600; }
.quiz-date-arrow { color:var(--quiz-accent); font-size:18px; }
.quiz-date-hint { display:block; margin-top:10px; text-align:center; color:var(--quiz-muted); font-size:12px; }
.quiz-save-warning { margin-top:12px; padding:10px; border-radius:9px; background:var(--quiz-surface); border:1px solid var(--quiz-selectedBorder); font-size:12.5px; line-height:1.6; }
.quiz-save-retry { display:inline-block; margin-top:5px; padding:4px 0; background:transparent; color:var(--quiz-accent); font-size:13px; }
.quiz-placeholder { position:relative; z-index:1; max-width:400px; padding:60px 20px; margin:0 auto; }
.quiz-placeholder-title { display:block; margin-bottom:20px; font-size:16px; line-height:1.7; text-align:center; }
.quiz-placeholder .quiz-button { width:100%; margin-top:10px; }

/* Light theme: blue/cream pastel surfaces, open typography and muted blue accents.
   These overrides only affect light pages; dark layout and tap states stay intact. */
.quiz-page--light .quiz-heading { gap:8px; }
.quiz-page--light .quiz-title { font-size:14px; font-weight:600; }
.quiz-page--light .quiz-progress-count { padding:0; border:0; background:transparent; color:var(--quiz-accent); font-size:12px; font-weight:500; }
.quiz-page--light .quiz-progress { margin-top:11px; background:var(--quiz-border); }
.quiz-page--light .quiz-question { margin:20px 0 16px; }
.quiz-page--light .quiz-question-number { padding:0; margin-bottom:8px; border-radius:0; background:transparent; color:var(--quiz-accent); font-size:11.5px; font-weight:500; letter-spacing:0; }
.quiz-page--light .quiz-question-title { font-size:20px; font-weight:600; line-height:1.5; letter-spacing:0; }
.quiz-page--light .quiz-question-hint { margin-top:8px; font-size:12px; line-height:1.65; }
.quiz-page--light .quiz-options { gap:9px; }
.quiz-page--light .quiz-option { min-height:52px; padding:12px; border-radius:13px; }
.quiz-page--light .quiz-option-mark { width:17px; height:21px; border-radius:0; background:transparent; color:var(--quiz-muted); font-size:12.5px; font-weight:500; }
.quiz-page--light .quiz-option--selected .quiz-option-mark { background:transparent; color:var(--quiz-accent); }
.quiz-page--light .quiz-option--selected .quiz-option-text { color:var(--quiz-accent); }
.quiz-page--light .quiz-option-check { width:17px; height:17px; border-color:var(--quiz-selectedBorder); opacity:.48; font-size:11px; }
.quiz-page--light .quiz-option--selected .quiz-option-check { border-color:transparent; opacity:1; }
.quiz-page--light .quiz-options--grid { gap:8px; }
.quiz-page--light .quiz-options--grid .quiz-option { padding:11px 12px; min-height:56px; }
.quiz-page--light .quiz-type-code { color:var(--quiz-ink); font-weight:600; letter-spacing:0.5px; }
.quiz-page--light .quiz-option--selected .quiz-type-code { color:var(--quiz-accent); }
.quiz-page--light .quiz-type-caption { font-size:11.5px; }
.quiz-page--light .quiz-interaction-hint { margin:13px 0; font-size:11px; }
.quiz-page--light .quiz-actions { gap:9px; }
.quiz-page--light .quiz-button { min-height:48px; border-radius:13px; font-weight:500; }
.quiz-page--light .quiz-button--previous { width:35%; color:var(--quiz-accent); }
.quiz-page--light .quiz-date-field { border-radius:13px; }
.quiz-page--light .quiz-date-value { color:var(--quiz-accent); font-weight:500; }

/* modules/loading/page.wxss */
/* Shared loading: the reference page's dual rings, breathing heart and step list.
   Theme tokens are shared with answering; no remote/system palette switches. */
.loading-page { position:relative; z-index:0; min-height:100vh; box-sizing:border-box; padding-bottom:env(safe-area-inset-bottom); background:var(--quiz-background); color:var(--quiz-ink); }
.loading-atmosphere { position:absolute; z-index:0; top:0; right:0; bottom:0; left:0; pointer-events:none; background-color:var(--quiz-background); background-image:linear-gradient(180deg,var(--quiz-background) 0px,var(--quiz-background) 88px,transparent 260px),var(--quiz-backdrop); }
.loading-shell { position:relative; z-index:1; display:flex; flex-direction:column; justify-content:center; max-width:450px; min-height:calc(100vh - 88px); margin:0 auto; padding:18px 18px 22px; box-sizing:border-box; text-align:center; }
.loading-eyebrow { display:block; color:var(--quiz-accent); font-size:10px; line-height:1.5; font-weight:600; letter-spacing:2px; overflow-wrap:break-word; }
.loading-orbit { position:relative; flex-shrink:0; width:88px; height:88px; margin:15px auto 14px; }
.loading-ring { position:absolute; border-radius:50%; border:1.5px solid var(--quiz-border); box-sizing:border-box; }
.loading-ring--outer { top:0; right:0; bottom:0; left:0; border-top-color:var(--quiz-accent); border-right-color:var(--quiz-selectedBorder); animation:loadingOrbit 1.8s linear infinite; }
.loading-ring--inner { top:12.5px; right:12.5px; bottom:12.5px; left:12.5px; border-left-color:var(--quiz-accent); opacity:.55; animation:loadingOrbit 3.2s linear infinite reverse; }
.loading-heart { position:absolute; top:50%; left:50%; width:17.5px; height:17.5px; border-radius:3px; background:var(--quiz-accent); transform:translate(-50%,-40%) rotate(-45deg); animation:loadingBreathe 1.8s ease-in-out infinite; }
.loading-heart::before,.loading-heart::after { content:""; position:absolute; width:17.5px; height:17.5px; border-radius:50%; background:inherit; }
.loading-heart::before { top:-8.5px; left:0; }
.loading-heart::after { top:0; left:8.5px; }
.loading-page--paused .loading-ring,.loading-page--paused .loading-heart { animation-play-state:paused; }
.loading-title { display:block; font-size:20px; font-weight:600; line-height:1.45; overflow-wrap:break-word; }
.loading-subtitle { display:block; margin-top:8px; color:var(--quiz-muted); font-size:12.5px; line-height:1.65; }
.loading-progress-section { margin-top:15px; }
.loading-progress-labels { display:flex; justify-content:space-between; gap:10px; color:var(--quiz-muted); font-size:11.5px; line-height:1.5; text-align:left; }
.loading-progress-labels text:last-child { flex-shrink:0; color:var(--quiz-accent); }
.loading-track { height:4px; margin-top:6px; overflow:hidden; border-radius:10px; background:var(--quiz-border); }
.loading-fill { height:100%; border-radius:inherit; background:var(--quiz-progress); transition:width .28s ease; }
.loading-steps { display:flex; flex-direction:column; gap:7px; margin-top:14px; }
.loading-step { display:flex; align-items:center; gap:9px; padding:10px 11px; box-sizing:border-box; min-height:53px; border:1px solid var(--quiz-border); border-radius:12px; background:var(--quiz-surface); box-shadow:var(--quiz-shadow); text-align:left; }
.loading-step--active { border-color:var(--quiz-selectedBorder); background:var(--quiz-selected); }
.loading-step-mark { display:flex; justify-content:center; align-items:center; flex-shrink:0; width:18px; height:18px; border-radius:50%; background:var(--quiz-mark); color:var(--quiz-muted); font-size:11px; line-height:1; font-weight:600; }
.loading-step--active .loading-step-mark,.loading-step--done .loading-step-mark { background:var(--quiz-primary); color:var(--quiz-onAccent); }
.loading-step-copy { flex:1; min-width:0; }
.loading-step-title { display:block; font-size:12.5px; line-height:1.45; font-weight:600; overflow-wrap:break-word; }
.loading-step-desc { display:block; margin-top:3px; color:var(--quiz-muted); font-size:11px; line-height:1.5; overflow-wrap:break-word; }
.loading-step-state { flex-shrink:0; min-width:32px; color:var(--quiz-muted); font-size:10.5px; line-height:1.5; text-align:right; }
.loading-step--active .loading-step-state,.loading-step--done .loading-step-state { color:var(--quiz-accent); }
.loading-notice { display:block; margin-top:12px; color:var(--quiz-muted); font-size:12px; line-height:1.6; }
.loading-error { margin-top:13px; }
.loading-error-text { display:block; color:var(--quiz-ink); font-size:12.5px; line-height:1.7; }
.loading-retry { display:flex; align-items:center; justify-content:center; width:100%; min-height:46px; padding:11px; margin-top:10px; box-sizing:border-box; border:0; border-radius:12px; background:var(--quiz-primary); color:var(--quiz-onAccent); box-shadow:var(--quiz-buttonShadow); font-size:14.5px; line-height:1.5; font-weight:600; }
.loading-retry::after { border:0; }
.loading-page .loading-retry[disabled] { background:var(--quiz-disabledSurface); color:var(--quiz-disabledInk); box-shadow:none; }
@keyframes loadingOrbit { to { transform:rotate(360deg); } }
@keyframes loadingBreathe { 0%,100% { transform:translate(-50%,-40%) rotate(-45deg) scale(.96); } 50% { transform:translate(-50%,-40%) rotate(-45deg) scale(1.04); } }
@media (prefers-reduced-motion:reduce) { .loading-ring,.loading-heart { animation:none; } .loading-fill { transition:none; } }
