/* 综合闯关总部 · 页面样式 */
.hq-hero {
  text-align: center;
  padding: 14px 8px 6px;
}
.hq-hero__emoji { font-size: 56px; line-height: 1.1; }
.hq-hero__title { margin: 4px 0 2px; font-size: 30px; }
.hq-hero__sub { margin: 0; color: var(--ink-soft, #5c6a80); font-size: 15px; }

.hq-route { margin-top: 14px; }
.hq-route__row { display: flex; gap: 12px; align-items: center; }
.hq-route__emoji { font-size: 40px; }
.hq-route__title { margin: 0 0 2px; font-size: 19px; }
.hq-go { width: 100%; margin-top: 12px; }
.hq-route__tip { margin: 10px 0 0; }
.hq-h2 { margin: 22px 0 10px; font-size: 19px; }

.hq-doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hq-door {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: inherit;
  text-decoration: none;
  min-height: 84px;
}
.hq-door__emoji { font-size: 30px; }
.hq-door__title { display: block; font-size: 16px; }
.hq-door__desc { display: block; font-size: 12px; color: var(--ink-soft, #5c6a80); }
.hq-door__stars { color: #e0a400; font-size: 14px; letter-spacing: -1px; }
.hq-note { margin: 16px 0 4px; }

/* 关卡 */
.hq-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.hq-hud__left { display: flex; flex-direction: column; gap: 2px; }
.hq-hud__room { font-weight: 700; font-size: 15px; }
.hq-hud__right { display: flex; align-items: center; gap: 10px; }
.hq-timer { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--ink-soft, #5c6a80); }
.hq-pause { min-height: 40px; padding: 6px 12px; font-size: 13px; }

.hq-item { padding: 16px; }
.hq-item__prompt { margin: 0 0 12px; font-size: 20px; line-height: 1.45; }
.hq-expr {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px 0 14px;
}
.hq-expr__tok {
  min-width: 46px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--paper-2, #fff8ea);
  border: 2px solid var(--line, #c9d4e6);
  font-size: 26px;
  font-weight: 800;
}
.hq-expr__tok.is-ask { border-style: dashed; color: #b4552d; }

.hq-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 0 16px;
}
.hq-compare__num { font-size: 40px; font-weight: 800; }
.hq-compare__box {
  width: 66px;
  height: 66px;
  border: 3px dashed var(--line, #c9d4e6);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #b4552d;
}

.hq-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}
.hq-choice {
  width: 100%;
  justify-content: center;
  font-size: 20px;
  min-height: 60px;
}
.hq-choice:disabled { opacity: .75; }
.hq-choice.is-picked { outline: 3px solid var(--key, #2fc9b4); }

.hq-foot {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.hq-foot .btn { flex: 1 1 140px; font-size: 14px; min-height: 46px; }

/* 数感视觉 */
.hq-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  padding: 6px 0 14px;
}
.hq-row__item {
  width: 44px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  border-radius: 10px;
}
.hq-row__item.is-target { background: #fff2b8; outline: 2px dashed #e0a400; }
.hq-row__tag { font-size: 13px; color: var(--ink-soft, #5c6a80); padding: 0 4px; }

.hq-count {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 4px;
  padding: 6px 0 14px;
  max-width: 340px;
  margin: 0 auto;
}
.hq-count__item { font-size: 26px; line-height: 1.2; }

/* 看图场景 */
.hq-scene-wrap { padding: 4px 0 8px; }
.hq-scene {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 6px;
  min-height: 132px;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(#eaf6ff 0%, #eaf6ff 58%, #e4f6dc 58%, #e4f6dc 100%);
  border: 2px solid #cfe3f5;
  overflow: hidden;
}
.hq-scene__obj {
  font-size: 27px;
  width: 34px;
  text-align: center;
  transition: opacity .5s ease, transform .5s ease;
}
.hq-scene__obj.is-enter { opacity: 0; transform: translateY(12px) scale(.8); }
.hq-scene.is-play .is-enter { opacity: 1; transform: none; transition-delay: .25s; }
.hq-scene.is-play .is-leave { opacity: 0; transform: translateY(-14px) scale(.85); transition-delay: .35s; }
.hq-scene__cap { margin: 8px 0 0; text-align: center; font-size: 14px; color: var(--ink-soft, #5c6a80); }
.hq-scene-bar { display: flex; justify-content: center; margin-top: 6px; }
.hq-scene-bar .btn { min-height: 44px; font-size: 14px; }

/* 房间结算 */
.hq-roomend { text-align: center; padding: 24px 16px; }
.hq-roomend__emoji { font-size: 52px; }
.hq-roomend__title { margin: 4px 0; font-size: 24px; }
.hq-roomend__sub { margin: 0 0 12px; font-size: 17px; }
.hq-roomend__good { color: #1f8a5b; font-weight: 700; }
.hq-review { text-align: left; margin: 10px 0 16px; padding-left: 20px; }
.hq-review li { margin-bottom: 8px; line-height: 1.5; }

/* 报告扩展 */
.hq-done__stars { text-align: center; font-size: 30px; margin: 6px 0 2px; }
.hq-kp { margin-top: 12px; }
.hq-kp h3, .hq-rec h3 { margin: 0 0 8px; font-size: 17px; }
.hq-kp__list { display: flex; flex-wrap: wrap; gap: 8px; }
.hq-kp__chip {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  border: 2px solid #d6e0ee;
  background: #f4f7fb;
}
.hq-kp__chip.is-good { background: #e3f7ec; border-color: #7ecfa2; }
.hq-kp__chip.is-mid { background: #fff6dc; border-color: #efcf7a; }
.hq-kp__chip.is-low { background: #ffe9e5; border-color: #f0a08f; }
.hq-rec { margin-top: 12px; }
.hq-rec__links { display: flex; gap: 10px; flex-wrap: wrap; }
.hq-rec__links .btn { font-size: 14px; min-height: 48px; text-decoration: none; }
.hq-done__actions { margin-top: 14px; }

/* 暂停 */
.hq-pause-ov {
  position: fixed;
  inset: 0;
  background: rgba(20, 34, 56, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}
.hq-pause-box { text-align: center; max-width: 340px; width: 100%; padding: 24px 18px; }
.hq-pause-box__emoji { font-size: 48px; }
.hq-pause-box h2 { margin: 6px 0; font-size: 24px; }

@media (max-width: 700px) {
  .hq-doors { grid-template-columns: 1fr; }
  .hq-item__prompt { font-size: 18px; }
  .hq-expr__tok { min-width: 40px; height: 52px; font-size: 23px; }
}
@media (max-width: 380px) {
  .hq-hero__title { font-size: 26px; }
  .hq-choice { font-size: 18px; min-height: 56px; }
  .hq-scene__obj { font-size: 23px; width: 30px; }
}

/* 卷别 */
.hq-tiers { display: flex; gap: 8px; margin: 10px 0 4px; flex-wrap: wrap; }
.hq-tier { flex: 1; min-width: 92px; min-height: 48px; padding: 6px 10px; }
.hq-tier.is-on { background: var(--key); color: #fff; border-color: var(--key); }
