/* 选择题一步蒙层：聚光在跳转入口上。说明卡片亮色黑字白底，暗色反过来。 */
.choice-intro {
  position: fixed;
  inset: 0;
  z-index: 100004;
  opacity: 0;
  transition: opacity 220ms ease;
}
.choice-intro.is-in { opacity: 1; }
.choice-intro.is-out { opacity: 0; pointer-events: none; }
.choice-intro--instant,
.choice-intro--instant.is-in,
.choice-intro--instant.is-out,
.choice-intro--instant .choice-intro__spot,
.choice-intro--instant .choice-intro__card { transition: none; }
.choice-intro__spot {
  position: fixed;
  pointer-events: none;
  border-radius: 12px;
  box-shadow:
    0 0 0 2px #09090b,
    0 0 0 9999px rgba(9, 9, 11, 0.48);
  transition: top 180ms ease, left 180ms ease, width 180ms ease, height 180ms ease;
}
.choice-intro__card {
  position: fixed;
  width: 300px;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 16px 16px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #fff;
  color: #09090b;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  box-sizing: border-box;
  transition: top 180ms ease, left 180ms ease;
}
.choice-intro__card::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transform: rotate(45deg);
}
.choice-intro__card[data-edge="left"]::before { left: -5px; top: 18px; border-right: 0; border-top: 0; }
.choice-intro__card[data-edge="right"]::before { right: -5px; top: 18px; border-left: 0; border-bottom: 0; }
.choice-intro__card[data-edge="top"]::before { top: -5px; left: 22px; border-right: 0; border-bottom: 0; }
.choice-intro__card[data-edge="bottom"]::before { bottom: -5px; left: 22px; border-left: 0; border-top: 0; }
.choice-intro__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #09090b;
}
.choice-intro__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
.choice-intro__ok {
  height: 32px;
  padding: 0 14px;
  border: 1px solid #09090b;
  border-radius: 999px;
  background: #09090b;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
}
.choice-intro__ok:hover { background: #27272a; border-color: #27272a; }
.choice-intro__ok:focus-visible { outline: 2px solid #09090b; outline-offset: 2px; }
html[data-theme="dark"] .choice-intro__spot,
html.theme--dark .choice-intro__spot,
html.page--choice_practice[data-theme="dark"] .choice-intro__spot,
html.page--choice_paper[data-theme="dark"] .choice-intro__spot {
  box-shadow:
    0 0 0 2px #fafafa,
    0 0 0 9999px rgba(0, 0, 0, 0.62);
}
html[data-theme="dark"] .choice-intro__card,
html.theme--dark .choice-intro__card,
html.page--choice_practice[data-theme="dark"] .choice-intro__card,
html.page--choice_paper[data-theme="dark"] .choice-intro__card {
  background: #161b22;
  color: #fafafa;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .choice-intro__card::before,
html.theme--dark .choice-intro__card::before,
html.page--choice_practice[data-theme="dark"] .choice-intro__card::before,
html.page--choice_paper[data-theme="dark"] .choice-intro__card::before {
  background: #161b22;
  border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .choice-intro__title,
html.theme--dark .choice-intro__title,
html.page--choice_practice[data-theme="dark"] .choice-intro__title,
html.page--choice_paper[data-theme="dark"] .choice-intro__title { color: #fafafa; }
html[data-theme="dark"] .choice-intro__ok,
html.theme--dark .choice-intro__ok,
html.page--choice_practice[data-theme="dark"] .choice-intro__ok,
html.page--choice_paper[data-theme="dark"] .choice-intro__ok {
  background: #fafafa;
  color: #09090b;
  border-color: #fafafa;
}
html[data-theme="dark"] .choice-intro__ok:hover,
html.theme--dark .choice-intro__ok:hover,
html.page--choice_practice[data-theme="dark"] .choice-intro__ok:hover,
html.page--choice_paper[data-theme="dark"] .choice-intro__ok:hover {
  background: #fff;
  border-color: #fff;
}
