/* Deck-specific styles shared by the Chinese and English versions. */

.reveal .quiz-lead,
.reveal .quiz-item p,
.reveal .quiz-item,
.reveal .stage-panel,
.reveal .stage-row,
.reveal .stage-cell,
.reveal .stage-notes,
.reveal .poll-note,
.reveal .poll-total,
.reveal .poll-field,
.reveal .kb-list {
  text-indent: 0;
}

.reveal .quiz-lead {
  margin-bottom: 0.6em;
}

.reveal .quiz-stack {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}

.reveal .quiz-item {
  display: grid;
  grid-template-columns: 2.4em 1fr;
  gap: 0.35em 1.1em;
  align-items: start;
  padding: 0.45em 0.7em;
  border-left: 6px solid #2780e3;
  background: rgba(39, 128, 227, 0.06);
  font-size: 0.78em;
  line-height: 1.35;
  text-align: left;
}

.reveal .quiz-tag {
  font-weight: 700;
  color: #1b4f9c;
  white-space: nowrap;
}

.reveal .quiz-item p {
  margin: 0;
}

.reveal .stage-panel {
  width: 92%;
  margin: 0 auto;
}

.reveal img.stage-figure {
  display: block;
  width: 100%;
  max-height: 560px;
  margin: 0 auto;
}

.reveal .contrast-list {
  font-size: 0.7em;
  line-height: 1.28;
  margin: 0.3em 0 0 0;
  text-align: left;
}

.reveal .contrast-list ul {
  margin: 0;
  padding-left: 1.1em;
}

.reveal .contrast-list li {
  margin: 0.1em 0;
}

.reveal .stage-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  padding: 0.15em 4% 0 3%;
  font-size: 0.62em;
  line-height: 1.3;
}

.reveal .stage-cell {
  text-align: center;
  white-space: nowrap;
  margin: 0;
  font-weight: 600;
}

.reveal .stage-cell p {
  margin: 0;
}

.reveal .stage-en {
  display: block;
  font-size: 0.86em;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.reveal .stage-notes {
  margin: 0.55em 0 0 0;
  text-align: center;
  font-size: 0.72em;
  line-height: 1.4;
  white-space: nowrap;
}

.reveal .poll-note {
  font-size: 0.72em;
  margin: 0 0 0.4em 0;
  color: #334;
}

.reveal .poll-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0.8rem 1.4rem;
  align-items: start;
}

.reveal .poll-controls {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

.reveal .poll-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  font-size: 22px;
  white-space: nowrap;
  margin: 0;
}

.reveal .poll-controls input[type="number"] {
  font-size: 22px;
  width: 5.2em;
  padding: 0.15em 0.35em;
}

.reveal .poll-total {
  margin: 0 0 0.35em 0;
  font-size: 24px;
}

.reveal .poll-chart svg {
  display: block;
  width: 100%;
  max-width: 980px;
  height: auto;
}

.reveal .kb-list {
  font-size: 0.78em;
  line-height: 1.42;
  margin: 0.35em 0 0.55em 0;
  text-align: left;
}

.reveal .kb-list ul {
  margin: 0.15em 0 0 0;
  padding-left: 1.15em;
}

.reveal .kb-list li {
  margin: 0.18em 0;
}

.reveal .kb-slide aside:not(.notes) {
  display: none;
}

.reveal .cite-num,
.reveal .cite-num a {
  font-size: 0.62em;
  font-weight: 700;
  line-height: 1;
  color: #1b4f9c;
  text-decoration: none;
}

.reveal .cite-num a:hover {
  text-decoration: underline;
}

.reveal .ref-list {
  font-size: 0.55em;
  line-height: 1.42;
  text-align: left;
  margin: 0.25em 0 0 0;
}

.reveal .ref-list ol,
.reveal .ref-list ul {
  margin: 0;
  padding-left: 1.35em;
}

.reveal .ref-list li {
  margin: 0.28em 0;
}

.reveal .ref-list a {
  word-break: break-all;
}

.reveal a.ref-back {
  display: inline-block;
  margin-right: 0.35em;
  font-weight: 700;
  color: #1b4f9c;
  text-decoration: none;
}

.reveal a.ref-back:hover {
  text-decoration: underline;
}

.reveal .cite-flash {
  background: rgba(39, 128, 227, 0.18);
  box-shadow: 0 0 0 3px rgba(39, 128, 227, 0.28);
  border-radius: 4px;
}
