:root {
  color-scheme: light;
  --bg: #eef3f8;
  --panel: #ffffff;
  --text: #172033;
  --muted: #6d788a;
  --line: #dfe7f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --radius: 8px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #eef5fb 0%, #dfeaf5 100%);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ===== Mobile App Container ===== */
.mobile-app {
  width: min(100vw, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: #f3f7fb;
}

.mobile-screen {
  min-height: 100vh;
  padding: 22px;
}

/* ===== Catalog Screen ===== */
.catalog-screen {
  position: relative;
  padding: 0;
  /* background: linear-gradient(180deg, #061f45 0%, #0a3f84 34%, #f7fbff 34%, #f7fbff 100%); */
}

.catalog-hero {
  position: relative;
  min-height: 356px;
  padding: 0;
  overflow: hidden;
  background: #061f45;
}

.catalog-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 13%;
}

.catalog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 16, 40, 0.18) 0%, rgba(3, 16, 40, 0.04) 44%, rgba(3, 16, 40, 0.76) 100%),
    linear-gradient(90deg, rgba(3, 16, 40, 0.28), rgba(3, 16, 40, 0));
}

.catalog-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 0;
}

.catalog-nav span,
.catalog-nav a,
.catalog-nav button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.catalog-nav a,
.catalog-nav button {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 8px 11px;
}

.catalog-title {
  position: relative;
  z-index: 1;
  max-width: 318px;
  margin-top: 42px;
}

.catalog-title span {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.16);
  color: #bfdbfe;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}

.catalog-title h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: 26px;
  line-height: 1.16;
}

.catalog-title p {
  margin: 0;
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.55;
}

.catalog-panel {
  position: relative;
  z-index: 2;
  margin: -56px 12px 0;
  border: 1px solid #e1ebf6;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  padding: 14px;
  box-shadow: 0 22px 52px rgba(18, 43, 75, 0.18);
}

.catalog-quota {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecf5ff 0%, #f5f0ff 100%);
  color: #475569;
  font-size: 12.5px;
  line-height: 1.4;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.catalog-quota i {
  color: #6366f1;
  font-size: 16px;
}

.catalog-quota b {
  color: #0f7cff;
  font-weight: 800;
  margin: 0 2px;
}

.catalog-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 12px;
  padding: 4px;
  border-radius: 14px;
  background: #eef6ff;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.catalog-tabs::-webkit-scrollbar {
  display: none;
}

.catalog-tabs button {
  flex: 0 0 auto;
  min-width: 82px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  font-size: 14px;
  font-weight: 900;
}

.catalog-tabs button.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.14);
}

.course-list {
  display: grid;
  gap: 10px;
}

.category-group {
  display: none;
  gap: 10px;
}

.category-group.active {
  display: grid;
}

.category-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 20px;
  border: 1px dashed #dbe8f7;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  text-align: center;
}

.category-empty .van-icon {
  font-size: 42px;
  color: #94a3b8;
  opacity: 0.5;
}

.category-empty p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.course-card {
  width: 100%;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  border: 1px solid #dbe8f7;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  padding: 13px 12px;
  text-align: left;
  box-shadow: 0 12px 26px rgba(15, 35, 70, 0.07);
}

.course-card.is-disabled {
  opacity: 0.55;
  filter: grayscale(0.45);
  cursor: not-allowed;
  pointer-events: none;
}

.course-card.is-disabled .course-mark {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  box-shadow: none;
}

.course-quota-tag {
  align-items: center;
  gap: 3px;
  justify-self: start;
  padding: 3px 8px;
  margin: 4px 0 0 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #e0eaff 0%, #ece9ff 100%);
  color: #4f46e5;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.12);
}

.course-quota-tag i {
  font-size: 11px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-0.5px);
}

.course-quota-tag.disabled {
  background: linear-gradient(135deg, #ffe2e2 0%, #ffd4d4 100%);
  color: #b91c1c;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.12);
}



.course-quota-tag.disabled b {
  color: #b91c1c;
}

.course-mark {
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.24);
}

.course-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.course-content {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.course-content strong {
  color: #12213a;
  font-size: 18px;
  line-height: 1.2;
}

.course-content em {
  color: var(--primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.course-content small {
  display: -webkit-box;
  overflow: hidden;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.course-card > .course-arrow,
.course-card > .van-icon {
  color: #94a3b8;
  font-size: 20px;
}

.catalog-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  color: #526783;
  font-size: 12px;
  font-weight: 800;
}

.catalog-footnote .van-icon {
  color: var(--green);
}

/* ===== Campaign Screen (Landing) ===== */
.campaign-screen {
  position: relative;
  padding: 0;
  background: linear-gradient(180deg, #061f45 0%, #061f45 36%, #f7fbff 36%, #f7fbff 100%);
}

.campaign-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 800;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-brand .van-icon {
  color: #f5c76b;
  font-size: 28px;
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 800;
}

.hero-proof .van-icon {
  font-size: 16px;
}

.campaign-hero {
  position: relative;
  min-height: 420px;
  padding: 88px 28px 0;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 24, 57, 0) 0%, rgba(5, 24, 57, 0.04) 52%, rgba(5, 24, 57, 0.3) 100%),
    url("/static/assets/ai-assessment-hero-bg.png") center 42% / cover no-repeat;
}

.campaign-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 37% 17%, rgba(255, 255, 255, 0.34), transparent 2%),
    linear-gradient(90deg, rgba(2, 16, 42, 0.42) 0%, rgba(2, 16, 42, 0.12) 56%, rgba(2, 16, 42, 0) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 315px;
}

.hero-kicker {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 7px 11px;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 800;
}

.campaign-hero h2 {
  margin: 18px 0 10px;
  font-size: 31px;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.hero-subtitle {
  margin: 0 0 14px;
  color: #dceaff;
  line-height: 1.55;
  font-size: 14px;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
}

.neutral-visual {
  display: none;
}

.paper-card {
  position: relative;
  z-index: 3;
  margin: -104px 12px 0;
  border: 1px solid #e5edf5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  padding: 0 14px 18px;
  box-shadow: 0 22px 52px rgba(18, 43, 75, 0.18);
}

.quota-row {
  display: block;
  margin: 0 -14px 18px;
  padding: 18px 20px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #fffaf4 0%, #ffffff 100%);
}

.quota-row span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #516174;
  font-size: 12px;
  line-height: 1.4;
}

.quota-row span .van-icon {
  color: var(--primary);
  font-size: 20px;
}

.scoreboard {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  perspective: 420px;
}

.scoreboard .flip-digit {
  position: relative;
  min-width: 38px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #cfe0f4;
  border-radius: 7px;
  background: linear-gradient(180deg, #ffffff 0%, #edf5ff 49%, #dbeafe 50%, #ffffff 100%);
  color: #10233f;
  box-shadow: inset 0 -1px 0 rgba(15, 35, 70, 0.12), 0 6px 14px rgba(37, 99, 235, 0.12);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  transform-style: preserve-3d;
}

.scoreboard .flip-digit b {
  position: relative;
  z-index: 1;
  display: block;
  color: inherit;
  font: inherit;
  line-height: 1;
  transform: translateY(1px);
}

.scoreboard .flip-digit::after {
  content: "";
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(15, 35, 70, 0.16);
}

.scoreboard.is-boosting .flip-digit:last-of-type::before {
  content: attr(data-digit);
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 0;
  height: 50%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding-top: 6px;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
  color: #10233f;
  box-shadow: 0 10px 16px rgba(15, 35, 70, 0.16);
  transform-origin: bottom center;
  animation: pageFlipDown 1200ms cubic-bezier(0.18, 0.7, 0.18, 1) both;
  backface-visibility: hidden;
}

.scoreboard em {
  padding: 0 0 7px 3px;
  color: #516174;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.scoreboard-plus {
  position: absolute;
  right: 22px;
  top: -16px;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px) scale(0.86);
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.28);
  pointer-events: none;
}

.scoreboard.is-boosting .scoreboard-plus {
  animation: plusFloat 1400ms ease-out 220ms both;
}

@keyframes pageFlipDown {
  0% { opacity: 1; transform: rotateX(0deg); }
  48% { opacity: 1; transform: rotateX(-92deg); }
  100% { opacity: 0; transform: rotateX(-178deg); }
}

@keyframes plusFloat {
  0% { opacity: 0; transform: translateY(8px) scale(0.86); }
  22% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-20px) scale(0.96); }
}

.paper-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 2px 6px 0;
}

.paper-title span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.paper-title h3 {
  margin: 6px 0 0;
  font-size: 19px;
  line-height: 1.25;
}

.paper-title b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #e8f5ee;
  color: var(--green);
  padding: 7px 10px;
  font-size: 12px;
}

.paper-title b .van-icon {
  font-size: 15px;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 16px 6px 16px;
}

.rule-grid div {
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  border: 1px solid #e0ecf8;
  padding: 13px 7px;
  text-align: center;
}

.rule-grid .van-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: #e6f0ff;
  color: var(--primary);
  font-size: 18px;
}

.rule-grid strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
}

.rule-grid span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.campaign-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f7cff, #2563eb);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.34);
}

.campaign-cta .cta-arrow {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: 12px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 18px;
  font-style: normal;
  line-height: 1;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  color: #516174;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.trust-row .van-icon {
  color: #526fa1;
  font-size: 16px;
}

/* ===== Login Screen ===== */
/* 登录页容器本身使用渐变背景，body 保持与其他页一致的浅灰渐变 */
.mobile-app:has(.login-screen) {
  background: transparent;
}

.login-screen {
  position: relative;
  padding: 0 0 clamp(12px, 3vh, 24px);
  background:
    radial-gradient(1200px 600px at -10% -20%, rgba(56, 189, 248, 0.35), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(139, 92, 246, 0.28), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(59, 130, 246, 0.28), transparent 65%),
    linear-gradient(180deg, #061a3a 0%, #0a2a63 42%, #0b3d8a 72%, #0e4aa8 100%);
}

/* 内层限制内容宽度，保持手机端排版 */
.login-screen > * {
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.login-screen::before,
.login-screen::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.login-screen::before {
  width: 260px;
  height: 260px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.55), transparent 70%);
}

.login-screen::after {
  width: 220px;
  height: 220px;
  top: 120px;
  left: -70px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent 70%);
}

.login-hero {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 5vh, 44px) 26px clamp(20px, 4vh, 34px);
  color: #fff;
}

.login-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.login-hero-bg::before,
.login-hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.login-hero-bg::before {
  width: 240px;
  height: 240px;
  top: -110px;
  right: -90px;
}

.login-hero-bg::after {
  width: 150px;
  height: 150px;
  top: -50px;
  right: -10px;
  border-color: rgba(255, 255, 255, 0.14);
}

.login-hero-inner {
  position: relative;
  z-index: 1;
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #e0edff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.login-brand .van-icon {
  color: #fbbf24;
  font-size: 14px;
}

.login-hero h2 {
  margin: clamp(10px, 2vh, 18px) 0 8px;
  font-size: clamp(24px, 3.5vh, 30px);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.5px;
}

.login-hero p {
  margin: 0;
  color: #cfe1ff;
  font-size: 14px;
  line-height: 1.55;
}

.login-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(10px, 2vh, 18px);
}

.login-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dbeafe;
  font-size: 11.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.login-highlights .van-icon {
  color: #86efac;
  font-size: 13px;
}

.login-card {
  position: relative;
  z-index: 3;
  margin: -4px 16px 0;
  padding: clamp(16px, 3vh, 22px) 20px clamp(14px, 2.5vh, 20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 30px 60px rgba(6, 26, 58, 0.28),
    0 4px 12px rgba(6, 26, 58, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.login-card-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: clamp(12px, 2vh, 18px);
  padding-bottom: clamp(10px, 1.5vh, 14px);
  border-bottom: 1px dashed #e2ecfa;
}

.login-card-title strong {
  color: #0f1f3d;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.login-card-title em {
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-error {
  display: none;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  background: linear-gradient(90deg, #fff1f2, #ffe4e6);
  border: 1px solid #fecdd3;
  color: #be123c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  animation: shakeIn 0.35s ease;
}

.form-error.show {
  display: flex;
}

@keyframes shakeIn {
  0% { transform: translateX(-8px); opacity: 0; }
  40% { transform: translateX(6px); opacity: 1; }
  70% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(10px, 1.6vh, 14px);
  padding: 0 14px;
  height: clamp(44px, 6.5vh, 50px);
  border: 1.5px solid #e5edf7;
  border-radius: 14px;
  background: #f7faff;
  transition: all 0.2s ease;
}

.input-group:focus-within {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.input-group > .van-icon {
  color: #94a3b8;
  font-size: 20px;
  transition: color 0.2s ease;
}

.input-group:focus-within > .van-icon {
  color: #2563eb;
}

.input-group input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  outline: none;
  padding: 0;
}

.input-group input::placeholder {
  color: #9aa8bd;
  font-size: 14px;
}

.captcha-img {
  flex: 0 0 auto;
  width: 100px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 35, 70, 0.08);
  transition: transform 0.2s ease;
}

.captcha-img:hover {
  transform: scale(1.03);
}

.send-code-btn {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.send-code-btn::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 22px;
  background: #e5edf7;
}

.send-code-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #bfdbfe, #dbeafe);
}

.send-code-btn:disabled {
  color: #94a3b8;
  background: #f1f5f9;
  cursor: not-allowed;
}

.send-code-btn.is-counting {
  color: #64748b;
  background: #f1f5f9;
}

.login-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: clamp(46px, 7vh, 52px);
  margin-top: clamp(6px, 1.4vh, 10px);
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #1e40af 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow:
    0 14px 28px rgba(37, 99, 235, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.login-submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transition: left 0.6s ease;
}

.login-submit-btn:hover:not(:disabled)::before {
  left: 100%;
}

.login-submit-btn:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.32);
}

.login-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.login-submit-btn .van-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  font-size: 12px;
}

.login-safety {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: clamp(12px, 2vh, 20px);
  padding-top: clamp(10px, 1.6vh, 16px);
  border-top: 1px dashed #e2ecfa;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 600;
}

.login-safety .van-icon {
  color: #22c55e;
  font-size: 14px;
}

/* ===== Records Screen ===== */
.records-screen {
  position: relative;
  padding: 0;
  background: linear-gradient(180deg, #061f45 0%, #0a3f84 34%, #f7fbff 34%, #f7fbff 100%);
}

.records-hero {
  position: relative;
  min-height: 260px;
  padding: 0;
  overflow: hidden;
      background: linear-gradient(100deg, rgba(3, 16, 40, 0.96) 0%, rgba(9, 33, 74, 0.9) 50%, rgba(19, 77, 148, 0.62) 100%), url(/static/assets/ai-assessment-hero-bg.png) center 30% / cover no-repeat;
}

.records-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 16, 40, 0.18) 0%, rgba(3, 16, 40, 0.04) 44%, rgba(3, 16, 40, 0.76) 100%),
    linear-gradient(90deg, rgba(3, 16, 40, 0.28), rgba(3, 16, 40, 0));
}

.records-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 0;
}

.records-topbar span,
.records-topbar a,
.records-topbar b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.records-topbar a,
.records-topbar b {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 8px 11px;
}

.records-back {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}

.records-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 32px 22px 0;
}

.records-ring {
  --percent: 0%;
  width: 104px;
  height: 104px;
  margin: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at center, #0a3f84 58%, transparent 59%),
    conic-gradient(#60a5fa 0 var(--percent), rgba(255, 255, 255, 0.12) var(--percent) 100%);
}

.records-ring span,
.records-ring em {
  color: #bfdbfe;
  font-size: 11px;
  font-style: normal;
}

.records-ring strong {
  font-size: 29px;
  line-height: 1;
  color: #60a5fa;
}

.records-header > div:last-child {
  min-width: 0;
}

.records-header h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
}

.records-header p {
  margin: 0;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.5;
}

.records-panel {
  position: relative;
  z-index: 2;
  margin: -42px 12px 0;
  border: 1px solid #e1ebf6;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  padding: 14px;
  box-shadow: 0 22px 52px rgba(18, 43, 75, 0.18);
}

.record-list {
  display: grid;
  gap: 12px;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 20px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.empty-state .van-icon {
  font-size: 48px;
  color: var(--muted);
  opacity: 0.5;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  line-height: 1;
  vertical-align: middle;
}
.empty-cta:hover,
.empty-cta:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.30);
  color: #fff !important;
}
.empty-cta-arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: -2px;
}

.record-item {
  position: relative;
  width: 100%;
  border: 1px solid #dbe8f7;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  text-align: left;
  box-shadow: 0 12px 26px rgba(15, 35, 70, 0.07);
}

.record-item strong {
  display: block;
  margin-bottom: 6px;
  color: #12213a;
  font-size: 17px;
  line-height: 1.2;
}

.record-item span,
.record-item p {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  margin: 0;
  line-height: 1.4;
}

.record-item p a {
  color: var(--primary);
  font-weight: 700;
}

.record-item p a:hover {
  text-decoration: underline;
}

.record-item > b {
  min-width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f7cff, #2563eb);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.24);
}

.record-btn.ai {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  border-color: #16a34a;
  color: #fff;
  box-shadow: 0 6px 14px rgba(22, 163, 74, 0.2);
}

.record-btn.ai:hover {
  background: linear-gradient(135deg, #15803d, #16a34a);
  color: #fff;
}

.record-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.record-btn {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #dbe8f7;
  background: #fff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.record-btn:hover {
  border-color: var(--primary);
  background: #eff6ff;
}

.record-btn.primary {
  border: 0;
  background: linear-gradient(135deg, #0f7cff, #2563eb);
  color: #fff;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.2);
}

.record-btn.primary:hover {
  background: linear-gradient(135deg, #0b6de8, #1d4ed8);
}

/* ===== Exam Screen ===== */
.exam-screen {
  display: flex;
  flex-direction: column;
  padding: 0 14px 80px;
  background: #eef5fb;
  min-height: 100vh;
}

.inner-hero {
  position: relative;
  margin: 0 -14px;
  padding: 18px 18px 22px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 24, 57, 0.08), rgba(5, 24, 57, 0.72)),
    url("/static/assets/ai-assessment-hero-bg.png") center 34% / cover no-repeat;
}

.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 16, 40, 0.78), rgba(3, 16, 40, 0.22));
}

.inner-hero > * {
  position: relative;
  z-index: 1;
}

.exam-hero {
  padding: 12px 14px 12px;
  background:
    linear-gradient(90deg, rgba(3, 16, 40, 0.9), rgba(15, 58, 117, 0.82)),
    url("/static/assets/ai-assessment-hero-bg.png") center 22% / cover no-repeat;
}

.exam-hero .inner-topbar {
  margin-bottom: 10px;
}

.exam-hero .inner-back {
  width: 30px;
  height: 30px;
}

.exam-hero .inner-topbar b {
  padding: 5px 9px;
}

.exam-hero .inner-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.exam-hero .inner-title > span {
  display: none;
}

.exam-hero .inner-title h2 {
  margin: 0;
  font-size: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.inner-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.inner-back {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}

.inner-topbar span {
  flex: 1;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.inner-topbar b {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 7px 10px;
  color: #dbeafe;
  font-size: 12px;
  font-weight: normal;
}

.inner-title span {
  color: #bfdbfe;
  font-size: 20px;
}

.inner-title h2 {
  margin: 6px 0 16px;
  color: #fff;
  font-size: 28px;
  line-height: 1.2;
}

.exam-screen .van-progress {
  position: relative;
  height: 6px;
  margin-top: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  overflow: visible;
}

.exam-screen .van-progress__portion {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  min-width: 28px;
  background: #60a5fa;
  border-radius: inherit;
  transition: width 0.3s ease-out;
}

.exam-screen .van-progress__pivot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 36px;
  height: 16px;
  padding: 0 6px;
  border-radius: 999px;
  background: #60a5fa;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  white-space: nowrap;
  z-index: 2;
}

.question-panel {
  margin: 10px 0 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 35, 70, 0.12);
  padding: 15px;
}

.question-panel[data-question] {
  display: none;
}

.question-panel[data-question].active {
  display: block;
}

.question-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
}
.question-meta-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
  flex: 1 1 auto;
}
.translate-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.translate-btn:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}
.translate-btn:active {
  transform: scale(0.96);
}
.translate-btn i {
  font-size: 13px;
}
.translate-btn.floating {
  position: fixed;
  right: max(14px, calc((100vw - 430px) / 2 + 14px));
  bottom: 82px;
  z-index: 6;
  height: 40px;
  padding: 0 14px;
  border-color: #93c5fd;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}
.translate-btn.is-loading {
  opacity: 0.85;
  pointer-events: none;
}
.translate-btn.is-loading .translate-icon-default { display: none; }
.translate-btn .translate-icon-loading { display: none; }
.translate-btn.is-loading .translate-icon-loading { display: inline-block; }
.translate-btn .translate-icon-loading {
  width: 13px;
  height: 13px;
  border: 2px solid #bfdbfe;
  border-top-color: #1d4ed8;
  border-radius: 50%;
  box-sizing: border-box;
  animation: cn-spin 0.8s linear infinite;
}
@keyframes cn-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.question-meta .van-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary);
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
}

.question-type-inline {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 8px;
  padding: 2px 8px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.meta-chip.difficulty {
  flex: 0 0 auto;
}

.meta-chip.difficulty.easy {
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #15803d;
}

.meta-chip.difficulty.medium {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #c2410c;
}

.meta-chip.difficulty.hard {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}

.meta-chip.knowledge {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #dbe7f5;
  background: #f8fbff;
  color: #475569;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.question-panel h3,
.question-title {
  margin: 0 0 12px;
  line-height: 1.42;
  font-size: 17px;
  letter-spacing: 0;
}

.option-list {
  display: grid;
  gap: 8px;
}

.option-list label {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  padding: 11px 11px;
  text-align: left;
  cursor: pointer;
}

.option-list label input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.option-list label .option-key {
  flex: 0 0 32px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-weight: 800;
  margin-top: 1px;
  font-size: 13px;
}

.option-list label .option-text {
  display: block;
  min-width: 0;
  color: #172033;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.option-list label:has(input:checked) {
  border-color: var(--primary);
  background: #eff6ff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}
.option-list label:has(input:checked) .option-key {
  background: var(--primary);
  color: #fff;
}

.exam-toolbar {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}
.exam-toolbar .mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mini-btn.is-loading {
  pointer-events: none;
  opacity: 0.7;
}
.mini-btn.is-loading i[data-toggle-cn-icon] {
  animation: cn-spin 0.9s linear infinite;
}
.mini-btn.is-loading i[data-toggle-cn-icon]::before {
  content: "\e63b"; /* van-icon-loading */
}
@keyframes cn-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 中文翻译样式 */
.question-title-cn {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.5;
}
.option-text-cn {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-style: normal;
  color: #9ca3af;
  line-height: 1.4;
}
.detail-option strong .option-text-cn {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  color: #6b7280;
}
.analysis-cn {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #e5e7eb;
  color: #6b7280;
  font-size: 13px;
}

.option-list.multiple label .option-key {
  border-radius: 8px;
}

/* Fallback for browsers without :has() */
.option-list label.checked {
  border-color: var(--primary);
  background: #eff6ff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.option-list label.checked .option-key {
  background: var(--primary);
  color: #fff;
}

.exam-actions {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  padding: 10px 14px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: #eef5fb;
  z-index: 5;
}
.exam-actions .mini-btn { flex: 1 1 0; min-width: 0; }

.mini-btn {
  height: 44px;
  box-sizing: border-box;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mini-btn:disabled {
  opacity: 0.5;
}

.mini-btn.primary {
  border: 0;
  background: var(--primary);
  color: #fff;
}

.mini-btn.small {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  gap: 4px;
}

/* ===== Result Screen ===== */
.result-screen {
  text-align: left;
  padding: 0 14px 18px;
  background: #eef5fb;
}

.result-hero {
  min-height: 246px;
  position: relative;
  margin: 0 -14px 0;
  padding: 14px 16px 20px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(3, 16, 40, 0.96) 0%, rgba(9, 33, 74, 0.9) 50%, rgba(19, 77, 148, 0.62) 100%),
    url("/static/assets/ai-assessment-hero-bg.png") center 30% / cover no-repeat;
}

.result-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 42%, rgba(37, 99, 235, 0.26), transparent 32%),
    linear-gradient(90deg, rgba(3, 16, 40, 0.7), rgba(3, 16, 40, 0.14));
}

.result-hero > * {
  position: relative;
  z-index: 1;
}

.result-hero .inner-topbar {
  margin-bottom: 18px;
}

.result-hero .inner-back {
  width: 32px;
  height: 32px;
}

.result-hero .inner-topbar span {
  font-size: 15px;
}

.result-hero .inner-topbar b {
  background: rgba(255, 255, 255, 0.16);
  padding: 6px 10px;
}

.result-hero .inner-topbar b.is-generated {
  background: rgba(34, 197, 94, 0.22);
  color: #bbf7d0;
}

.result-header {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 0;
}

.result-ring {
  --percent: 88%;
  width: 104px;
  height: 104px;
  margin: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at center, #fff 58%, transparent 59%),
    conic-gradient(var(--green) 0 var(--percent), #e2e8f0 var(--percent) 100%);
}

.result-ring span,
.result-ring em {
  color: #64748b;
  font-size: 11px;
  font-style: normal;
}

.result-ring strong {
  font-size: 29px;
  line-height: 1;
  color: var(--green);
}

.result-header h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
  line-height: 1.22;
}

.result-header p {
  margin: 0;
  max-width: 188px;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.45;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: -42px 0 16px;
  text-align: left;
}

.result-grid div {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "icon" "label" "value";
  place-items: center;
  align-content: center;
  gap: 4px;
  overflow: hidden;
  border: 1px solid rgba(226, 236, 248, 0.96);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 255, 0.96) 100%);
  padding: 10px 10px 9px;
  box-shadow: 0 16px 32px rgba(15, 35, 70, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.result-grid div::after {
  content: "";
  position: absolute;
  inset: auto -18px -24px auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
}

.result-grid .result-icon {
  grid-area: icon;
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eff6ff;
  color: var(--primary);
  font-size: 14px;
}
.result-grid .result-icon i {
  position: absolute !important;
}

.result-grid .correct .result-icon {
  background: #dcfce7;
  color: var(--green);
}

.result-grid .wrong .result-icon {
  background: #fee2e2;
  color: var(--red);
}

.result-grid .time .result-icon {
  background: #e0f2fe;
  color: #0284c7;
}

.result-grid strong {
  grid-area: value;
  position: relative;
  z-index: 1;
  color: #12213a;
  font-size: 25px;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.result-grid span {
  grid-area: label;
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0;
  color: #637083;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.generate-report-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #d7e7ff;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.12);
}

.generate-report-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -38px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
}

.generate-report-card > * {
  position: relative;
  z-index: 1;
}

.generate-report-card span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.generate-report-card h3 {
  margin: 6px 0 8px;
  color: #12213a;
  font-size: 20px;
  line-height: 1.25;
}

.generate-report-card p {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.generate-report-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f7cff 0%, #2563eb 58%, #174bd7 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  cursor: pointer;
}

.generate-report-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.generate-report-card.is-generated .generate-report-btn {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 58%, #15803d 100%);
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.report-loading-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 35, 70, 0.55);
  backdrop-filter: blur(4px);
}

.report-loading-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 36px 40px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 35, 70, 0.2);
  text-align: center;
}

.report-loading-box h3 {
  margin: 0;
  color: #12213a;
  font-size: 17px;
}

.report-loading-box p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.report-loading-spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid #dbe8f7;
  border-top-color: #2563eb;
  animation: report-spin 0.8s linear infinite;
}

@keyframes report-spin {
  to { transform: rotate(360deg); }
}

.report-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10000;
  transform: translate(-50%, -50%) scale(0.9);
  max-width: 80%;
  padding: 14px 22px;
  border-radius: 12px;
  background: rgba(18, 33, 58, 0.92);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 35, 70, 0.25);
  opacity: 0;
  transition: all 0.3s ease;
}

.report-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.trial-course-card[hidden] {
  display: none !important;
}

.trial-course-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffaf3 0%, #fff1df 100%);
  color: #9a3412;
  text-align: left;
  box-shadow: 0 14px 34px rgba(234, 88, 12, 0.1);
}

.trial-course-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #fff;
  font-size: 24px;
}

.trial-course-copy {
  display: grid;
  gap: 5px;
}

.trial-course-copy strong {
  color: #7c2d12;
  font-size: 17px;
}

.trial-course-copy small {
  color: #9a634d;
  font-size: 12px;
  line-height: 1.45;
}

.trial-course-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.trial-course-modal.is-open {
  display: flex;
}

.trial-course-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
}

.trial-course-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 382px);
  max-height: 82vh;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.3);
}

.trial-course-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  font-size: 24px;
  line-height: 30px;
}

.trial-course-image-wrap {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.trial-course-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.trial-course-submit {
  flex: 0 0 auto;
  height: 50px;
  margin: 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.28);
}

.answer-review {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 14px 34px rgba(15, 35, 70, 0.08);
}

.review-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-title h3 {
  margin: 0;
  font-size: 18px;
}

.review-title span {
  color: var(--muted);
  font-size: 13px;
}

.question-map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.question-map a {
  display: grid;
  place-items: center;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: #f7fef9;
  padding: 10px 6px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}

.question-map a.wrong {
  border-color: #fecaca;
  background: #fff7f7;
  color: var(--red);
}

.question-map a.empty {
  border-color: #dbe5f0;
  background: #f8fafc;
  color: #64748b;
}

.question-map a span {
  display: block;
}

.question-map a small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.question-map a.empty small {
  font-size: 10px;
  white-space: nowrap;
}

.result-actions {
  display: grid;
  gap: 10px;
}

.result-actions .mini-btn {
  height: 48px;
  font-size: 15px;
}

/* ===== AI Report Screen ===== */
.ai-report-screen .diagnosis-card {
  margin-top: -42px;
}

.diagnosis-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #dfeaf6;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 16px 38px rgba(15, 35, 70, 0.1);
}

.diagnosis-card::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -42px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
}

.report-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #38bdf8, var(--primary), transparent);
  animation: reportScan 2.8s ease-in-out infinite;
}

@keyframes reportScan {
  0% { transform: translateX(-100%); opacity: 0.2; }
  45% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0.2; }
}

.diagnosis-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.diagnosis-head > div span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.diagnosis-head h3 {
  margin: 6px 0 0;
  color: #12213a;
  font-size: 22px;
  line-height: 1.2;
}

.diagnosis-head b {
  min-width: 58px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--primary);
  padding: 8px 10px;
  text-align: center;
  font-size: 18px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px #d7e7ff;
}

.diagnosis-head b::after {
  content: "正确率";
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}

.diagnosis-summary {
  position: relative;
  z-index: 1;
  margin: 12px 0 14px;
  color: #475569;
  font-size: 13px;
  line-height: 1.65;
}

.report-kpi-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 14px;
}

.report-kpi-grid div {
  min-width: 0;
  display: grid;
  place-items: center;
  border: 1px solid #dce8f6;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  padding: 10px 4px;
  text-align: center;
}

.report-kpi-grid .van-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #dbeafe;
  color: var(--primary);
  font-size: 15px;
}

.report-kpi-grid span {
  margin-top: 6px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}

.report-kpi-grid strong {
  margin-top: 3px;
  color: #12213a;
  font-size: 16px;
  line-height: 1;
}

.ability-orbit {
  position: relative;
  z-index: 1;
  min-height: 156px;
  display: grid;
  place-items: center;
  margin: 6px 0 14px;
  overflow: hidden;
  border: 1px solid #dce8f6;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.ability-orbit::before,
.ability-orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.ability-orbit::before {
  width: 148px;
  height: 148px;
  border: 2px solid rgba(37, 99, 235, 0.1);
  box-shadow: inset 0 0 0 22px rgba(255, 255, 255, 0.54);
}

.ability-orbit::after {
  width: 96px;
  height: 96px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 34px rgba(37, 99, 235, 0.16);
}

.orbit-core {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #eff6ff);
  border: 1px solid #d7e7ff;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.14);
  text-align: center;
}

.orbit-core strong {
  color: #12213a;
  font-size: 15px;
  line-height: 1.15;
}

.orbit-core span {
  margin-top: 4px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}

.orbit-nodes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.ability-orbit .orbit-node {
  position: absolute;
  pointer-events: auto;
  width: 70px;
  height: 40px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 12px;
  border: 1px solid #d7e7ff;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 20px rgba(15, 35, 70, 0.08);
  font-style: normal;
  text-align: center;
}

.orbit-nodes .orbit-node:nth-of-type(1) {
  left: 22px;
  top: 28px;
}

.orbit-nodes .orbit-node:nth-of-type(2) {
  right: 22px;
  top: 28px;
}

.orbit-nodes .orbit-node:nth-of-type(3) {
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
}

.ability-orbit .orbit-node::before {
  content: "";
  position: absolute;
  left: 0;
  right: calc(100% - var(--rate));
  bottom: 0;
  height: 3px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
}

.ability-orbit .orbit-node b {
  color: #475569;
  font-size: 11px;
}

.ability-orbit .orbit-node em {
  margin-top: 2px;
  color: #12213a;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
}

.report-section {
  position: relative;
  z-index: 1;
  border-top: 1px solid #edf2f7;
  padding-top: 13px;
  margin-top: 13px;
}

.report-section-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #12213a;
  font-size: 14px;
  font-weight: 900;
}

.report-section-title .van-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eaf3ff;
  color: var(--primary);
  font-size: 14px;
}

.type-bars {
  display: grid;
  gap: 10px;
}

.type-bars > div {
  display: grid;
  gap: 4px;
}

.type-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.type-row b {
  color: #12213a;
}

.type-bar-track {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eef7;
}

.type-bar-fill {
  display: block;
  height: 100%;
  min-width: 4px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
}

.issue-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.issue-tags span {
  border: 1px solid #dbe7f5;
  border-radius: 10px;
  background: #f8fbff;
  color: #475569;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  word-break: break-all;
}

.knowledge-list {
  display: grid;
  gap: 8px;
}

.knowledge-list div {
  position: relative;
  overflow: hidden;
  border: 1px solid #dce8f6;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f7ff 100%);
  padding: 11px 11px 11px 38px;
}

.knowledge-list div::before {
  content: "!";
  position: absolute;
  left: 11px;
  top: 12px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fee2e2;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.knowledge-list strong {
  display: block;
  color: #12213a;
  font-size: 14px;
  line-height: 1.2;
}

.knowledge-list span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.suggestion-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.suggestion-list li {
  position: relative;
  padding-left: 16px;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

.suggestion-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.path-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.path-strip span {
  position: relative;
  border-radius: 10px;
  background: #eef6ff;
  color: #315176;
  padding: 10px 14px 10px 42px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  word-break: break-all;
}

.path-strip b {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
}

/* ===== Review Detail Screen ===== */
.review-detail-screen {
  display: flex;
  flex-direction: column;
  padding: 0 14px 18px;
  background: #eef5fb;
}

.detail-hero {
  padding: 12px 14px 16px;
}

.detail-hero .inner-topbar {
  margin-bottom: 0;
}

.detail-question {
  text-align: left;
  margin: 10px 0 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 35, 70, 0.12);
  padding: 15px;
}

.detail-question.correct {
  border-color: #bbf7d0;
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.72) 0%, #ffffff 34%), #fff;
}

.detail-question.wrong {
  border-color: #fecaca;
  background: linear-gradient(180deg, rgba(255, 247, 247, 0.88) 0%, #ffffff 34%), #fff;
}

.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f7;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.review-card-head b {
  border-radius: 999px;
  background: #f0fdf4;
  padding: 5px 9px;
  color: var(--green);
}

.detail-question.wrong .review-card-head b {
  color: var(--red);
  background: #fef2f2;
}

.detail-question h3 {
  margin: 12px 0 16px;
  line-height: 1.48;
  font-size: 17px;
}

.detail-options {
  display: grid;
  gap: 9px;
}

.detail-option {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: flex-start;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  padding: 11px;
}

.detail-option > span {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-weight: 800;
  margin-top: 1px;
}

.detail-option strong {
  line-height: 1.46;
  font-size: 14px;
  overflow-wrap: anywhere;
  font-weight: normal;
}

.detail-option.correct {
  border-color: #86efac;
  background: #f0fdf4;
}

.detail-option.correct > span {
  background: var(--green);
  color: #fff;
}

.detail-option.selected {
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.detail-option.wrong {
  border-color: #fca5a5;
  background: #fff1f2;
}

.detail-option.wrong > span {
  background: var(--red);
  color: #fff;
}

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

.answer-compare div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 8px 9px;
}

.answer-compare span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.answer-compare strong {
  display: block;
  color: var(--text);
  line-height: 1.2;
  font-size: 16px;
  font-weight: 900;
}

.answer-compare .compare-user {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.answer-compare .compare-correct {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.explain-section {
  margin-top: 12px;
  border: 1px solid #dce8f6;
  border-radius: 14px;
  background: #f8fbff;
  padding: 12px;
}

.explain-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.explain-title .van-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #e6f0ff;
}

.explain-section p {
  margin: 8px 0 0;
  color: #334155;
  line-height: 1.6;
  font-size: 13px;
}

.detail-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ===== Error Screen ===== */
.error-screen {
  padding: 22px;
}

.error-card {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.12);
  text-align: center;
}

.error-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.error-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.error-card .mini-btn {
  display: inline-flex;
  width: auto;
  padding: 0 24px;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  html,
  body {
    width: 100%;
  }

  .mobile-app {
    width: 100% !important;
    max-width: none !important;
  }

  .mobile-screen {
    min-height: 100svh;
  }

  .campaign-hero {
    min-height: 356px;
    padding: 72px 22px 0;
  }

  .campaign-nav {
    padding: 16px 18px 8px;
    font-size: 14px;
  }

  .hero-brand .van-icon {
    font-size: 24px;
  }

  .hero-proof {
    padding: 7px 10px;
    font-size: 11px;
  }

  .hero-kicker {
    padding: 6px 10px;
    font-size: 11px;
  }

  .campaign-hero h2 {
    margin: 14px 0 8px;
    font-size: 28px;
  }

  .hero-subtitle {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.45;
  }

  .paper-card {
    margin: -82px 10px 0;
    padding: 0 12px 14px;
    border-radius: 16px;
  }

  .quota-row {
    margin: 0 -12px 13px;
    padding: 13px 16px 12px;
    border-radius: 16px 16px 0 0;
  }

  .scoreboard {
    margin-top: 8px;
    gap: 5px;
  }

  .scoreboard .flip-digit {
    min-width: 32px;
    height: 38px;
    font-size: 27px;
  }

  .scoreboard em {
    padding-bottom: 5px;
  }

  .paper-title {
    padding: 2px 4px 0;
  }

  .paper-title h3 {
    font-size: 18px;
  }

  .paper-title b {
    padding: 6px 9px;
    font-size: 11px;
  }

  .rule-grid {
    gap: 7px;
    margin: 12px 4px 14px;
  }

  .rule-grid div {
    padding: 10px 5px;
  }

  .rule-grid .van-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 6px;
    font-size: 16px;
  }

  .rule-grid strong {
    font-size: 14px;
  }

  .rule-grid span {
    font-size: 10px;
  }

  .campaign-cta {
    height: 54px;
    font-size: 18px;
  }

  .campaign-cta .cta-arrow {
    width: 28px;
    height: 28px;
    margin-left: 10px;
    font-size: 16px;
  }

  .trust-row {
    margin-top: 11px;
    font-size: 12px;
  }
}
