:root {
  --blue: #0b5ed7;
  --blue-deep: #083b8a;
  --blue-soft: #eaf3ff;
  --cyan: #21a7ff;
  --red: #e14b4b;
  --red-soft: #ffecec;
  --text: #172033;
  --muted: #667085;
  --line: #d9e6f7;
  --bg: #f7faff;
  --card: #ffffff;
  --shadow: 0 18px 46px rgba(11, 94, 215, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
}

.reveal {
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans SC', Arial, sans-serif;
  color: var(--text);
}

.reveal .slides section {
  height: 100%;
  text-align: left;
  padding: 44px 56px;
  background:
    radial-gradient(circle at 92% 10%, rgba(11, 94, 215, 0.09), transparent 23%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-left: 9px solid var(--blue);
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal p {
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-family: inherit;
}

.reveal h1 {
  color: var(--blue-deep);
  font-size: 58px;
  font-weight: 800;
  line-height: 1.14;
}

.reveal h2 {
  color: var(--blue-deep);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
}

.reveal h3 {
  color: var(--blue-deep);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.28;
}

.reveal p,
.reveal li {
  font-size: 21px;
  line-height: 1.58;
  color: var(--muted);
}

.reveal .controls {
  color: var(--blue);
}

.reveal .progress {
  color: var(--blue);
  height: 5px;
}

.topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  font-size: 15px;
  color: var(--muted);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--blue-deep);
}

.brand::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(11, 94, 215, 0.12);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
}

.subtitle {
  margin-top: 18px !important;
  color: var(--muted) !important;
  font-size: 25px !important;
  line-height: 1.55 !important;
  max-width: 860px;
}

.cover-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 46px;
  align-items: center;
  height: calc(100% - 40px);
}

.cover-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 36px;
  box-shadow: var(--shadow);
  min-height: 430px;
  position: relative;
  overflow: hidden;
}

.cover-card::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(11, 94, 215, 0.08);
}

.step-stack {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.step-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, #f7fbff, #ffffff);
  color: var(--blue-deep);
  font-size: 24px;
  font-weight: 800;
}

.step-pill span:last-child {
  color: var(--blue);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.footer-info {
  margin-top: 64px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 19px;
}

.footer-info strong {
  color: var(--blue-deep);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 34px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
  min-height: 210px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  right: -34px;
  top: -34px;
  width: 112px;
  height: 112px;
  border-radius: 34px;
  transform: rotate(18deg);
  background: rgba(11, 94, 215, 0.08);
}

.card h3,
.card p,
.card ul {
  position: relative;
  z-index: 1;
}

.card p {
  margin-top: 14px;
}

.mini-title {
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.profile-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: stretch;
  margin-top: 38px;
}

.avatar-card {
  border-radius: 32px;
  background: var(--blue-deep);
  color: #fff;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  box-shadow: var(--shadow);
}

.avatar-circle {
  width: 116px;
  height: 116px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 28px;
}

.avatar-card h2 {
  color: #fff;
  margin-bottom: 8px;
}

.avatar-card p {
  color: rgba(255, 255, 255, 0.78);
}

.profile-list {
  display: grid;
  gap: 18px;
}

.profile-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 26px;
  box-shadow: 0 12px 28px rgba(11, 94, 215, 0.07);
  font-size: 24px;
  color: var(--blue-deep);
  font-weight: 800;
}

.agenda {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.agenda-item {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 23px 28px;
  box-shadow: 0 12px 28px rgba(11, 94, 215, 0.07);
}

.agenda-index {
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.agenda-item p {
  margin-top: 6px;
  font-size: 19px;
}

.chapter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.chapter-number {
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 20px;
}

.chapter h1 {
  font-size: 64px;
}

.objective {
  margin-top: 34px;
  max-width: 920px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 32px;
  box-shadow: var(--shadow);
}

.objective strong {
  color: var(--blue-deep);
  font-size: 22px;
}

.interaction-layout {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 28px;
  margin-top: 24px;
  height: 500px;
}

.question-card {
  border-radius: 30px;
  background: var(--blue-deep);
  color: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.question-card h3 {
  color: #fff;
  font-size: 30px;
}

.question-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  margin-top: 22px;
}

.qrbox {
  margin-top: 22px;
  width: 124px;
  height: 124px;
  padding: 8px;
  background: transparent;
  border-radius: 18px;
  display: grid;
  place-items: center;
}

.qrbox canvas,
.qrbox img {
  display: block;
  border-radius: 8px;
}

.vote-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 26px 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.battle-list {
  display: grid;
  gap: 18px;
}

.battle-item {
  display: grid;
  grid-template-columns: 255px 1fr 120px;
  gap: 16px;
  align-items: center;
}

.battle-label {
  font-size: 19px;
  color: var(--blue-deep);
  font-weight: 800;
  line-height: 1.32;
}

.battle-bar {
  height: 32px;
  border-radius: 999px;
  background: #f2f5fa;
  overflow: hidden;
  display: flex;
  border: 1px solid #e7eef8;
}

.bar-blue {
  height: 100%;
  background: linear-gradient(90deg, #0b5ed7, #39a9ff);
  transition: width 520ms ease;
}

.bar-red {
  height: 100%;
  background: linear-gradient(90deg, #ff7a7a, #e14b4b);
  transition: width 520ms ease;
}

.battle-count {
  font-size: 14px;
  font-weight: 900;
  color: var(--muted);
  text-align: right;
  line-height: 1.4;
}

.legend {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
}

.dot-blue {
  background: var(--blue);
}

.dot-red {
  background: var(--red);
}

.rank-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.rank-item {
  display: grid;
  grid-template-columns: 48px 1fr 72px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f9fcff;
  transition: 420ms ease;
}

.rank-no {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
}

.rank-text {
  color: var(--blue-deep);
  font-size: 20px;
  font-weight: 800;
}

.rank-value {
  text-align: right;
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.analysis-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.analysis-item {
  padding: 22px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(11, 94, 215, 0.07);
}

.analysis-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.analysis-item p {
  font-size: 18px;
}

.placeholder {
  height: 420px;
  border-radius: 30px;
  background: repeating-linear-gradient(
    -45deg,
    #f6faff,
    #f6faff 14px,
    #eef5ff 14px,
    #eef5ff 28px
  );
  border: 1px dashed #afc7ea;
  display: grid;
  place-items: center;
  color: var(--blue-deep);
  font-size: 28px;
  font-weight: 900;
  margin-top: 34px;
}

.small-note {
  font-size: 16px !important;
  color: #8a96a8 !important;
  margin-top: 14px !important;
}

@media print {
  .reveal .slides section {
    border-left: 9px solid var(--blue) !important;
  }
}

/* ===== 移动端答题页 ===== */

body.answer-page {
  margin: 0;
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans SC', Arial, sans-serif;
  color: var(--text);
}

.answer-app {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px 32px;
}

.answer-loading,
.answer-error,
.answer-success {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 12px 28px rgba(11, 94, 215, 0.08);
  text-align: center;
  font-size: 18px;
  color: var(--muted);
}

.answer-error {
  color: var(--red);
}

.answer-header {
  margin-bottom: 18px;
}

.answer-tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.answer-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
  color: var(--blue-deep);
}

.answer-meta {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.answer-form {
  display: grid;
  gap: 14px;
}

.answer-option {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(11, 94, 215, 0.08);
}

.answer-option-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 12px;
  line-height: 1.5;
}

.battle-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue-deep);
  border-radius: 12px;
  padding: 12px 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.choice-btn.selected-yes {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.choice-btn.selected-no {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.rank-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.rank-option input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.rank-option-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--blue-deep);
  font-weight: 600;
}

.submit-btn {
  margin-top: 8px;
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(90deg, #0b5ed7, #39a9ff);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

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

.form-error {
  color: var(--red);
  font-size: 14px;
  text-align: center;
}

.answer-success h2 {
  margin: 0 0 10px;
  color: var(--blue-deep);
  font-size: 24px;
}

.answer-success p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ===== 报告页占位 ===== */

.report-app {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px;
}

.report-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.report-card h1 {
  margin: 0 0 12px;
  color: var(--blue-deep);
  font-size: 32px;
}

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