/* ============================================================
   ONE Church · 独立互动样题
   所有组件使用 explore-* / evidence-* 前缀，避免影响现有课程。
   ============================================================ */

.explore-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(227, 192, 122, .16), transparent 34rem),
    linear-gradient(180deg, #0a0d22 0%, #0e1230 60%, #0a0d22 100%);
}

.explore-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    radial-gradient(circle at 18% 14%, #f3d99e 0 1px, transparent 1.5px),
    radial-gradient(circle at 82% 24%, #f3d99e 0 1px, transparent 1.5px),
    radial-gradient(circle at 62% 68%, #f3d99e 0 1px, transparent 1.5px),
    radial-gradient(circle at 28% 78%, #f3d99e 0 1px, transparent 1.5px);
  background-size: 240px 240px, 310px 310px, 280px 280px, 360px 360px;
}

.explore-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--gold-line);
  background: rgba(10, 13, 34, .88);
  backdrop-filter: blur(16px);
}

.explore-topbar-inner {
  width: min(100% - 32px, 920px);
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.explore-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif-cn);
  font-size: 1.03rem;
  font-weight: 700;
}

.explore-brand img { width: 32px; height: 32px; }
.explore-brand b { color: var(--gold); }

.explore-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.explore-mode {
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--gold-bright);
  font-size: .72rem;
  letter-spacing: .04em;
}

.explore-reset {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
}

html.js .explore-reset { display: block; }

.explore-reset:hover { color: var(--gold-bright); background: var(--gold-soft); }

.explore-main {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 76px 0 110px;
}

.explore-intro { text-align: center; padding: 0 10px 38px; }

.explore-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 13px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
}

.explore-intro h1 {
  margin: 20px 0 14px;
  font-family: var(--serif-cn);
  font-size: clamp(2rem, 7vw, 3.7rem);
  line-height: 1.2;
  letter-spacing: .02em;
}

.explore-lead {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 2.7vw, 1.12rem);
}

.explore-promises {
  list-style: none;
  margin: 24px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.explore-promises li {
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, .045);
  color: var(--muted);
  font-size: .78rem;
}

.explore-promises li::before { content: "✓"; margin-right: 6px; color: var(--gold); }

/* 无脚本时不伪装成逐步体验，7 卡直接顺序阅读。 */
.explore-progress { display: none; }

html.js .explore-progress {
  position: sticky;
  top: 76px;
  z-index: 30;
  display: block;
  margin-bottom: 18px;
  padding: 16px 18px 14px;
  border: 1px solid var(--gold-line);
  border-radius: 16px;
  background: rgba(14, 18, 48, .94);
  box-shadow: 0 20px 50px -32px rgba(0, 0, 0, .95);
  backdrop-filter: blur(16px);
}

.explore-progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  font-size: .78rem;
}

.explore-progress-copy span { color: var(--gold); font-weight: 600; }
.explore-progress-copy strong { color: var(--text); font-weight: 600; }

.explore-progress progress {
  display: block;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  appearance: none;
}

.explore-progress progress::-webkit-progress-bar { background: rgba(255, 255, 255, .08); }
.explore-progress progress::-webkit-progress-value { background: linear-gradient(90deg, var(--gold), var(--gold-bright)); border-radius: 999px; }
.explore-progress progress::-moz-progress-bar { background: linear-gradient(90deg, var(--gold), var(--gold-bright)); border-radius: 999px; }

.explore-step-dots {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, minmax(44px, 1fr));
  gap: 6px;
  margin-top: 11px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.explore-step-dots button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted-2);
  font: inherit;
  font-size: .7rem;
  cursor: pointer;
}

.explore-step-dots button:disabled { cursor: default; opacity: .45; }
.explore-step-dots button.is-visited:not(:disabled) { color: var(--gold-bright); background: var(--gold-soft); }
.explore-step-dots button[aria-current="step"] { color: #2a200a; background: var(--gold); font-weight: 700; }

.explore-steps { display: grid; gap: 24px; }

.explore-step {
  position: relative;
  scroll-margin-top: 205px;
  overflow: hidden;
  border: 1px solid var(--gold-line);
  border-radius: 24px;
  padding: clamp(26px, 6vw, 48px);
  background: linear-gradient(155deg, rgba(26, 33, 80, .96), rgba(14, 18, 48, .98));
  box-shadow: var(--shadow);
}

.explore-step + .explore-step { margin-top: 12px; }
html.js .explore-step + .explore-step { margin-top: 0; }

.explore-step::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -160px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 192, 122, .14), transparent 68%);
  pointer-events: none;
}

.explore-step-number {
  position: absolute;
  top: 20px;
  right: 24px;
  color: rgba(227, 192, 122, .13);
  font: 700 clamp(3rem, 12vw, 5.4rem)/1 var(--serif-cn);
  pointer-events: none;
}

.evidence-labels {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 26px;
  margin-bottom: 15px;
}

.evidence-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.evidence-original, .evidence-explicit { color: #9fd7b6; background: rgba(92, 184, 128, .08); }
.evidence-inference { color: #9fc7ef; background: rgba(88, 151, 216, .08); }
.evidence-system { color: var(--gold-bright); background: var(--gold-soft); }
.evidence-pending { color: #d4b1e8; background: rgba(168, 103, 204, .08); }
.evidence-compare { color: #b9c4ef; background: rgba(140, 159, 224, .08); }
.evidence-reflect { color: #f3c79e; background: rgba(229, 148, 76, .08); }

.explore-step h2 {
  position: relative;
  z-index: 1;
  max-width: 610px;
  font-family: var(--serif-cn);
  font-size: clamp(1.65rem, 5.5vw, 2.35rem);
  line-height: 1.3;
}

.step-intro { margin: 10px 0 26px; color: var(--muted); }

.scripture-card {
  position: relative;
  margin: 24px 0;
  border: 1px solid rgba(181, 151, 91, .28);
  border-left: 4px solid var(--gold);
  border-radius: 4px 16px 16px 4px;
  padding: 24px 24px 20px;
  background: var(--cream);
  color: #2c2a22;
}

.scripture-card::before {
  content: "“";
  position: absolute;
  top: 5px;
  right: 16px;
  color: rgba(134, 104, 48, .16);
  font: 700 4rem/1 var(--serif-cn);
}

.scripture-card p { position: relative; font-family: var(--serif-cn); font-size: clamp(1.06rem, 3vw, 1.22rem); line-height: 1.9; }
.scripture-card cite { display: block; margin-top: 12px; color: #77663c; font-size: .8rem; font-style: normal; font-weight: 600; }
.scripture-compact { margin: 0; padding: 18px 20px 15px; }
.scripture-compact p { font-size: 1rem; line-height: 1.7; }

.sequence-cards { display: grid; gap: 8px; }
.sequence-arrow { text-align: center; color: var(--gold); font-size: 1.2rem; line-height: 1; }

.observation-card,
.evidence-boundary,
.caution-card {
  margin: 22px 0;
  border-radius: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .045);
}

.observation-card { border: 1px solid rgba(159, 215, 182, .25); }
.observation-card strong { color: #9fd7b6; }
.observation-card p, .evidence-boundary p, .caution-card p { margin-top: 5px; color: var(--muted); font-size: .9rem; }

.evidence-boundary { border: 1px dashed rgba(159, 199, 239, .35); }
.evidence-boundary strong { color: #9fc7ef; font-size: .84rem; }
.caution-card { border: 1px solid rgba(212, 177, 232, .28); }
.caution-card strong { color: #d4b1e8; }

.choice-fieldset,
.reading-fieldset {
  min-width: 0;
  margin: 28px 0 0;
  border: 0;
}

.choice-fieldset legend,
.reading-fieldset legend {
  width: 100%;
  margin-bottom: 13px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.5;
}

.choice-list { display: grid; gap: 10px; }
.choice-item, .reading-choice { position: relative; }

.choice-item input,
.reading-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.choice-item label {
  min-height: 64px;
  display: grid;
  gap: 2px;
  align-content: center;
  border: 1px solid rgba(167, 173, 207, .22);
  border-radius: 13px;
  padding: 12px 16px 12px 48px;
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}

.choice-item label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 17px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--muted-2);
  border-radius: 50%;
  transform: translateY(-50%);
}

.choice-item label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 23px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transform: translateY(-50%) scale(.5);
  transition: opacity .2s, transform .2s;
}

.choice-item label:hover { border-color: var(--gold-line); background: var(--gold-soft); }
.choice-item input:checked + label { border-color: var(--gold); background: rgba(227, 192, 122, .12); }
.choice-item input:checked + label::before { border-color: var(--gold); }
.choice-item input:checked + label::after { opacity: 1; transform: translateY(-50%) scale(1); }
.choice-item input:focus-visible + label, .reading-choice input:focus-visible + label { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.choice-item label strong { font-size: .92rem; }
.choice-item label span { color: var(--muted); font-size: .8rem; line-height: 1.5; }

.choice-note { margin-top: 11px; color: var(--muted-2); font-size: .78rem; }

.quiz-feedback {
  margin-top: 12px;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 13px 15px;
  background: var(--gold-soft);
  color: var(--gold-bright);
  font-size: .88rem;
}

.evidence-pair,
.prophet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.evidence-panel,
.prophet-card {
  min-width: 0;
  border: 1px solid rgba(167, 173, 207, .2);
  border-radius: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, .035);
}

.evidence-panel-ref,
.prophet-target {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.evidence-panel blockquote { color: var(--text); font-family: var(--serif-cn); font-size: .94rem; line-height: 1.75; }

.symbol-map { display: grid; gap: 7px; margin-top: 16px; }
.symbol-map div { display: grid; grid-template-columns: 1fr auto 1.25fr; align-items: center; gap: 8px; }
.symbol-map div::before { content: "→"; grid-column: 2; grid-row: 1; color: var(--gold); }
.symbol-map dt { grid-column: 1; grid-row: 1; color: var(--muted); font-size: .78rem; }
.symbol-map dd { grid-column: 3; grid-row: 1; color: var(--gold-bright); font-size: .78rem; font-weight: 600; }
.panel-note { margin-top: 16px; color: var(--muted-2); font-size: .74rem; line-height: 1.55; }

.minimum-conclusion {
  margin-top: 22px;
  display: grid;
  gap: 4px;
  border-radius: 14px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(159, 215, 182, .12), rgba(159, 215, 182, .03));
  border: 1px solid rgba(159, 215, 182, .24);
}

.minimum-conclusion span { color: #9fd7b6; font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.minimum-conclusion strong { font-family: var(--serif-cn); font-size: 1.14rem; }
.minimum-conclusion small { color: var(--muted); font-size: .78rem; }

.prophet-card p { color: var(--muted); font-size: .82rem; }
.prophet-card blockquote { margin: 13px 0; color: var(--cream); font-family: var(--serif-cn); font-size: .95rem; line-height: 1.75; }
.prophet-card cite { color: var(--gold); font-size: .72rem; font-style: normal; }

.pattern-row {
  margin: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pattern-row span { border-radius: 999px; padding: 7px 12px; background: var(--gold-soft); color: var(--gold-bright); font-size: .78rem; }
.pattern-row i { color: var(--gold); font-style: normal; }

.revelation-flow { list-style: none; display: grid; gap: 0; counter-reset: flow; }
.revelation-flow li { position: relative; display: grid; gap: 4px; min-height: 86px; padding: 16px 16px 16px 58px; border-left: 2px solid var(--gold-line); }
.revelation-flow li::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute;
  top: 16px;
  left: -18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ink-2);
  color: var(--gold-bright);
  font-size: .75rem;
  font-weight: 700;
}
.revelation-flow li span { color: var(--gold); font-size: .74rem; font-weight: 700; }
.revelation-flow li strong { font-family: var(--serif-cn); font-size: .98rem; line-height: 1.6; }

.reading-grid { display: grid; gap: 12px; }

.reading-choice label {
  position: relative;
  min-height: 150px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(167, 173, 207, .22);
  border-radius: 16px;
  padding: 20px 20px 20px 66px;
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.reading-choice label:hover { border-color: var(--gold-line); background: var(--gold-soft); }
.reading-choice input:checked + label { border-color: var(--gold); background: rgba(227, 192, 122, .11); }
.reading-letter {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  color: var(--gold);
  font-weight: 700;
}
.reading-choice label > strong { font-family: var(--serif-cn); font-size: 1.08rem; }
.reading-choice label > span:not(.reading-letter) { color: var(--muted); font-size: .83rem; line-height: 1.6; }
.reading-choice label b { color: var(--text); }

.evidence-ladder { margin-top: 28px; border-top: 1px solid var(--gold-line); padding-top: 25px; }
.evidence-ladder h3 { margin-bottom: 16px; font-family: var(--serif-cn); font-size: 1.2rem; }
.evidence-ladder ol { list-style: none; display: grid; gap: 10px; }
.evidence-ladder li { display: grid; grid-template-columns: 118px 1fr; align-items: start; gap: 12px; border-radius: 12px; padding: 12px; background: rgba(255, 255, 255, .025); }
.evidence-ladder li p { color: var(--muted); font-size: .82rem; line-height: 1.55; }

.reflection-label { display: grid; gap: 5px; margin-bottom: 10px; }
.reflection-label strong { font-size: .93rem; }
.reflection-label span { color: var(--muted-2); font-size: .76rem; }

#reflection {
  display: block;
  width: 100%;
  min-height: 148px;
  resize: vertical;
  border: 1px solid var(--gold-line);
  border-radius: 14px;
  padding: 15px 16px;
  background: rgba(10, 13, 34, .72);
  color: var(--text);
  font: inherit;
  font-size: .92rem;
  line-height: 1.7;
}

#reflection::placeholder { color: var(--muted-2); }
#reflection:focus { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-color: var(--gold); }
.reflection-count { margin-top: 6px; text-align: right; color: var(--muted-2); font-size: .72rem; }

.closing-question { margin-top: 24px; }
.finish-action { margin-top: 22px; text-align: center; }
.js-only { display: none; }
html.js .js-only { display: block; }
html.js .completion-actions.js-only { display: flex; }

.completion-card {
  margin-top: 26px;
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: clamp(22px, 5vw, 32px);
  background: linear-gradient(150deg, rgba(227, 192, 122, .15), rgba(227, 192, 122, .035));
  text-align: center;
}

html.js .completion-card:not(.is-complete) { display: none; }

.completion-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 13px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #2a200a;
  font-size: 1.5rem;
  font-weight: 800;
}

.completion-card h3 { font-family: var(--serif-cn); font-size: clamp(1.25rem, 4vw, 1.58rem); line-height: 1.45; }
.completion-card > p { margin-top: 10px; color: var(--muted); font-size: .88rem; }

.share-question {
  margin: 22px 0;
  border-radius: 14px;
  padding: 17px;
  background: var(--cream);
  color: #2c2a22;
  text-align: left;
}
.share-question span { color: #77663c; font-size: .7rem; font-weight: 700; letter-spacing: .06em; }
.share-question p { margin-top: 5px; font-family: var(--serif-cn); font-size: 1rem; line-height: 1.65; }

.completion-actions { justify-content: center; flex-wrap: wrap; gap: 10px; }
.share-status { min-height: 1.5em; color: var(--gold-bright) !important; font-size: .78rem !important; }
.share-fallback { margin-top: 12px; text-align: left; }
.share-fallback label { display: block; margin-bottom: 6px; color: var(--muted); font-size: .76rem; }
.share-fallback input { width: 100%; min-height: 44px; border: 1px solid var(--gold-line); border-radius: 10px; padding: 9px 11px; background: var(--ink); color: var(--text); font: inherit; font-size: .78rem; }

.next-reading { margin-top: 24px; display: grid; gap: 9px; text-align: left; }
.next-reading a { min-height: 62px; display: grid; gap: 2px; border: 1px solid var(--gold-line); border-radius: 12px; padding: 11px 14px; background: rgba(10, 13, 34, .35); }
.next-reading a:hover { border-color: var(--gold); background: var(--gold-soft); }
.next-reading span { color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .06em; }
.next-reading strong { font-size: .83rem; line-height: 1.5; }

.step-actions {
  display: none;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--gold-line);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

html.js .step-actions { display: flex; }
.step-actions .btn { min-height: 48px; justify-content: center; padding: 11px 20px; }

.noscript-note {
  margin-top: 20px;
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: 15px;
  color: var(--muted);
  font-size: .86rem;
}

.explore-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--gold-line);
  padding: 30px 20px calc(30px + env(safe-area-inset-bottom));
  background: rgba(10, 13, 34, .72);
  color: var(--muted-2);
  text-align: center;
  font-size: .76rem;
}

@media (max-width: 700px) {
  .explore-main { width: min(100% - 24px, 760px); padding-top: 52px; }
  .explore-topbar-inner { width: min(100% - 24px, 920px); }
  html.js .explore-progress { top: 70px; }
  .explore-step { border-radius: 19px; }
  .evidence-pair, .prophet-grid { grid-template-columns: 1fr; }
  .evidence-ladder li { grid-template-columns: 1fr; gap: 7px; }
  .evidence-ladder li .evidence-label { justify-self: start; }
}

@media (max-width: 480px) {
  .explore-mode { display: none; }
  .explore-main { width: min(100% - 18px, 760px); padding-top: 42px; }
  .explore-intro { padding-left: 6px; padding-right: 6px; }
  html.js .explore-progress { top: 68px; margin-left: -1px; margin-right: -1px; padding: 13px 12px 11px; border-radius: 13px; }
  .explore-progress-copy { margin-bottom: 8px; }
  .explore-step-dots { gap: 4px; margin-top: 8px; }
  .explore-step-dots button { min-height: 44px; border-radius: 7px; }
  .explore-step { scroll-margin-top: 194px; padding: 25px 18px; }
  .explore-step-number { right: 16px; }
  .scripture-card { padding: 21px 18px 18px; }
  .choice-item label { padding-right: 12px; }
  .pattern-row { gap: 6px; }
  .pattern-row span { padding: 6px 9px; font-size: .7rem; }
  .revelation-flow li { padding-right: 4px; padding-left: 44px; }
  .reading-choice label { padding: 18px 14px 18px 58px; }
  .reading-letter { left: 14px; top: 18px; }
  .step-actions { align-items: stretch; }
  .step-actions .btn { flex: 1; padding-left: 12px; padding-right: 12px; font-size: .83rem; }
  .completion-actions .btn { width: 100%; }
}

@media (max-width: 350px) {
  .explore-brand span { font-size: .9rem; }
  .explore-reset { padding-left: 6px; padding-right: 6px; font-size: .74rem; }
  .step-actions { flex-direction: column-reverse; }
  .step-actions span:empty { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .choice-item label,
  .choice-item label::after,
  .reading-choice label { transition: none; }
}
