/* ══════════════════════════════════════════════════════════════
   v120 · 测一测「正在生成结果」等待层
   答题页提交后 + 结果页首屏渲染期间共用，保证两段之间不闪空屏
   ══════════════════════════════════════════════════════════════ */
#quizLoadingMask {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 20, 42, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
#quizLoadingMask.is-on {
  opacity: 1;
  visibility: visible;
}

#quizLoadingMask .ql-box {
  width: 100%;
  max-width: 380px;
  padding: 32px 26px 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 70px -24px rgba(4, 14, 34, .62);
  text-align: center;
  transform: translateY(10px) scale(.985);
  transition: transform .32s cubic-bezier(.22, .8, .3, 1);
}
#quizLoadingMask.is-on .ql-box {
  transform: translateY(0) scale(1);
}

/* 三点跳动 */
#quizLoadingMask .ql-spin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 34px;
  margin-bottom: 18px;
}
#quizLoadingMask .ql-spin i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF8A4C 0%, #FF5722 100%);
  animation: qlBounce 1.1s ease-in-out infinite;
}
#quizLoadingMask .ql-spin i:nth-child(2) { animation-delay: .16s; opacity: .82; }
#quizLoadingMask .ql-spin i:nth-child(3) { animation-delay: .32s; opacity: .64; }
@keyframes qlBounce {
  0%, 70%, 100% { transform: translateY(0) scale(1); }
  35%           { transform: translateY(-11px) scale(1.12); }
}

#quizLoadingMask .ql-title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #0F2447;
  letter-spacing: -.01em;
  margin-bottom: 9px;
}
#quizLoadingMask .ql-tip {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.7;
  color: #6B7C93;
}

/* 进度条：不确定态循环 */
#quizLoadingMask .ql-bar {
  height: 5px;
  border-radius: 999px;
  background: #EDF2F9;
  overflow: hidden;
}
#quizLoadingMask .ql-bar i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #FFB27A 0%, #FF5722 100%);
  animation: qlSlide 1.5s ease-in-out infinite;
}
@keyframes qlSlide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(340%); }
}

@media (max-width: 420px) {
  #quizLoadingMask .ql-box { padding: 26px 20px 24px; border-radius: 16px; }
  #quizLoadingMask .ql-title { font-size: 16px; }
  #quizLoadingMask .ql-tip { font-size: 12.5px; }
}

/* ═══════════════════════════════════════════════════════════
   v123 备选路径：初中及以下 → 直接自考大专
   ═══════════════════════════════════════════════════════════ */
.alt-path {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px dashed #C9D9F0;
  border-radius: 14px;
  background: linear-gradient(180deg, #F7FAFF 0%, #F2F6FD 100%);
}
.alt-path-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.alt-path-ic {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E3EEFF;
  font-size: 15px;
}
.alt-path-hd b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #0A1B36;
  line-height: 1.35;
}
.alt-path-hd em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: #7A8699;
}
.alt-path p {
  margin: 0;
  font-size: 13px;
  line-height: 1.72;
  color: #4A5568;
}
.alt-path .alt-path-warn {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border-left: 3px solid #E8A33D;
  background: #FFF7E8;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8A5A12;
}
@media (max-width: 768px) {
  .alt-path { margin-top: 14px; padding: 13px 14px; }
  .alt-path-hd b { font-size: 13.5px; }
  .alt-path p { font-size: 12.5px; }
  .alt-path .alt-path-warn { font-size: 12px; }
}
/* ═══════════════════════════════════════════════════════════════
   v125 升学路径台阶内的「这一级读什么专业」（贴合 .pl-* 阶梯）
   ═══════════════════════════════════════════════════════════════ */
.pl-maj {
  margin-top: 13px; padding: 12px 14px;
  border-radius: 10px; background: #fff;
  border: 1px solid rgba(211,120,49,.26);
  box-shadow: 0 2px 8px rgba(211,120,49,.06);
}
.pl-maj-hd { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 9px; }
.pl-maj-t { font-size: 12.5px; font-weight: 800; color: var(--gold-600, #B4611E); letter-spacing: .3px; }
.pl-maj-hd em { font-style: normal; font-size: 11.5px; color: var(--text-3, #8A94A6); }

.pl-maj-main {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 9px 11px 9px 13px; border-radius: 9px;
  background: linear-gradient(135deg, #FFF9F0, #FFFDF9);
  border: 1px solid rgba(211,120,49,.3);
  text-decoration: none; transition: border-color .2s, background .2s;
}
.pl-maj-main:hover { border-color: var(--gold, #D3783F); background: #FFF6E9; }
.pl-maj-flag {
  flex: none; font-size: 10.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #E08A45, #C96A2A);
  padding: 2px 7px; border-radius: 6px; letter-spacing: .3px;
}
.pl-maj-name { font-size: 15px; font-weight: 800; color: var(--ink-900, #0A1B36); line-height: 1.3; }
.pl-maj-tag {
  font-size: 10.5px; font-style: normal; font-weight: 600; color: #8A5A12;
  background: #FFE9C7; border-radius: 5px; padding: 1px 6px;
}
.pl-maj-go {
  margin-left: auto; flex: none; font-size: 12px; font-weight: 700;
  color: var(--gold-600, #B4611E); white-space: nowrap;
}
.pl-maj-reason { flex: 1 1 100%; margin: 5px 0 0; font-size: 12px; line-height: 1.6; color: var(--text-2, #5A6577); }

.pl-maj-alt { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.pl-maj-alt-t { flex: none; font-size: 11.5px; font-weight: 700; color: var(--text-3, #8A94A6); }
.pl-maj-chip {
  font-size: 12px; font-weight: 600; color: #4C5C76; text-decoration: none;
  padding: 3px 10px; border-radius: 999px;
  background: #F7F9FC; border: 1px solid #E4EAF3;
  transition: border-color .2s, color .2s, background .2s;
}
.pl-maj-chip:hover { border-color: var(--gold, #D3783F); color: var(--gold-600, #B4611E); background: #FFF9F0; }

@media (max-width: 640px) {
  .pl-maj { padding: 11px 12px; margin-top: 12px; }
  .pl-maj-name { font-size: 14px; }
  .pl-maj-go { margin-left: 0; flex: 1 1 100%; text-align: right; }
  .pl-maj-reason { font-size: 11.5px; }
  .pl-maj-chip { font-size: 11.5px; padding: 3px 9px; }
}
/* ═══════════════════════════════════════════════════════════
   v124 教务老师咨询（方案详情下方）
   ═══════════════════════════════════════════════════════════ */
.adv-card {
  background: linear-gradient(180deg, #FBFDFF 0%, #FFFFFF 46%);
  border: 1px solid #DEE9F7;
}
.adv-body {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; margin-top: 14px;
  padding: 16px 18px; border-radius: 14px;
  background: linear-gradient(135deg, #F3F8FF 0%, #EEF5FF 100%);
  border: 1px solid #E2EDFB;
}
.adv-who { display: flex; align-items: center; gap: 13px; min-width: 0; }
.adv-avatar {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(24,86,168,.16);
}
.adv-avatar-fb {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2F7BEA, #1B5FC4);
  color: #fff; font-size: 22px; font-weight: 700;
}
.adv-info { min-width: 0; }
.adv-name { display: block; font-size: 16px; font-weight: 800; color: #0A1B36; line-height: 1.3; }
.adv-title { display: block; margin-top: 2px; font-size: 12.5px; color: #6C7A8E; }
.adv-badge {
  display: inline-block; margin-top: 6px; padding: 2px 9px;
  border-radius: 6px; background: #E4F0FF; color: #1B5FC4;
  font-size: 11px; font-style: normal; font-weight: 600;
}
.adv-badge-plain { background: #EFF2F6; color: #6C7A8E; }
.adv-qr {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 8px; border-radius: 12px; background: #fff;
  border: 1px solid #E2EDFB; text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}
.adv-qr:hover { box-shadow: 0 6px 16px rgba(24,86,168,.14); transform: translateY(-1px); }
.adv-qr img { display: block; width: 96px; height: 96px; object-fit: contain; border-radius: 8px; }
.adv-qr span { font-size: 11px; color: #7A8699; }
.adv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.adv-btn {
  flex: 1 1 0; min-width: 132px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 16px; border-radius: 11px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.adv-btn:active { transform: scale(.98); }
.adv-btn-call { background: #1B5FC4; color: #fff; box-shadow: 0 4px 12px rgba(27,95,196,.22); }
.adv-btn-call:hover { background: #154FA8; }
.adv-btn-msg { background: #fff; color: #1B5FC4; border: 1px solid #B9D4F5; }
.adv-btn-msg:hover { background: #F2F8FF; }
.adv-time { margin: 11px 0 0; font-size: 11.5px; color: #8A94A6; text-align: center; }

/* 二维码放大遮罩（由 hydrate.js 注入 DOM，样式放这里统一） */
.adv-qr-mask {
  position: fixed; inset: 0; z-index: 9998;
  display: none; align-items: center; justify-content: center;
  background: rgba(8,18,34,.72); padding: 24px;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.adv-qr-mask.on { display: flex; }
.adv-qr-mask img {
  width: min(74vw, 320px); height: auto; border-radius: 14px;
  background: #fff; padding: 12px; box-shadow: 0 18px 48px rgba(0,0,0,.34);
}
.adv-qr-mask-tip { margin-top: 14px; color: #E8EEF7; font-size: 13px; text-align: center; }

@media (max-width: 768px) {
  .adv-body { flex-direction: column; align-items: stretch; gap: 14px; padding: 14px; }
  .adv-who { justify-content: flex-start; }
  .adv-avatar { width: 50px; height: 50px; }
  .adv-name { font-size: 15px; }
  .adv-qr { flex-direction: row; align-items: center; justify-content: center; gap: 12px; padding: 10px 12px; }
  .adv-qr img { width: 88px; height: 88px; }
  .adv-qr span { font-size: 12px; color: #5A6577; }
  .adv-actions { flex-direction: column; gap: 9px; }
  .adv-btn { flex: none; width: 100%; }
}