/* tpl-presenter-mode-reveal · scoped styles
 * Presenter-mode demo deck. Inherits tokens from active theme.
 * Minimal overrides — focus is on content + notes structure.
 */

.tpl-presenter-mode-reveal .slide {
  padding: 72px 96px;
}

.tpl-presenter-mode-reveal .kicker {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px 0;
}

.tpl-presenter-mode-reveal .h1 {
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
}

.tpl-presenter-mode-reveal .h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 28px 0;
}

.tpl-presenter-mode-reveal .lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-2);
}

.tpl-presenter-mode-reveal .mono {
  font-family: var(--font-mono, monospace);
  font-size: 0.9em;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: var(--accent, #58a6ff);
}

.tpl-presenter-mode-reveal .accent {
  color: var(--accent, #f0883e);
  font-weight: 700;
}

.tpl-presenter-mode-reveal .speaker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.tpl-presenter-mode-reveal .speaker .av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent, #58a6ff), #bc8cff);
}
.tpl-presenter-mode-reveal .speaker b {
  display: block;
  font-size: 16px;
}
.tpl-presenter-mode-reveal .speaker span {
  font-size: 13px;
  color: var(--text-3);
}

/* Agenda rows */
.tpl-presenter-mode-reveal .agenda-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 10px;
  margin-bottom: 10px;
  background: var(--surface, rgba(255,255,255,0.03));
}
.tpl-presenter-mode-reveal .agenda-row .num {
  font-family: var(--font-mono, monospace);
  font-size: 14px;
  color: var(--accent, #58a6ff);
  font-weight: 700;
}
.tpl-presenter-mode-reveal .agenda-row .t {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-1);
}
.tpl-presenter-mode-reveal .agenda-row .d {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: var(--text-3);
}

/* Cards */
.tpl-presenter-mode-reveal .card {
  background: var(--surface, rgba(255,255,255,0.03));
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 12px;
  padding: 22px 24px;
}
.tpl-presenter-mode-reveal .card-accent {
  border-top: 3px solid var(--accent, #58a6ff);
}
.tpl-presenter-mode-reveal .card h4 {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: var(--text-1);
}
.tpl-presenter-mode-reveal .card .dim {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Feature rows (presenter view features) */
.tpl-presenter-mode-reveal .feature-row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
}
.tpl-presenter-mode-reveal .feature-row:last-child { border-bottom: none; }
.tpl-presenter-mode-reveal .feature-row .num {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.tpl-presenter-mode-reveal .feature-row b {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--text-1);
}
.tpl-presenter-mode-reveal .feature-row .dim {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}
.tpl-presenter-mode-reveal .blue { color: #58a6ff; }
.tpl-presenter-mode-reveal .green { color: #3fb950; }
.tpl-presenter-mode-reveal .orange { color: #f0883e; }
.tpl-presenter-mode-reveal .purple { color: #bc8cff; }
.tpl-presenter-mode-reveal .red { color: #f85149; }

/* Rule rows (3 铁律) */
.tpl-presenter-mode-reveal .rule-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 18px 22px;
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--surface, rgba(255,255,255,0.03));
}
.tpl-presenter-mode-reveal .rule-row .num {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-mono, monospace);
  line-height: 1;
}
.tpl-presenter-mode-reveal .rule-row b {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--text-1);
}
.tpl-presenter-mode-reveal .rule-row .dim {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}

/* Code block */
.tpl-presenter-mode-reveal .code-block {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px 26px;
  font-family: var(--font-mono, "SF Mono", monospace);
  font-size: 15px;
  line-height: 1.8;
  color: #e6edf3;
  white-space: pre-wrap;
  text-align: left;
}
.tpl-presenter-mode-reveal .code-block .comment { color: #8b949e; }
.tpl-presenter-mode-reveal .code-block .cmd { color: #3fb950; font-weight: 600; }
.tpl-presenter-mode-reveal .code-block .flag { color: #f0883e; }

/* Stack helper */
.tpl-presenter-mode-reveal .stack > * + * { margin-top: 0; }

/* Grid helpers */
.tpl-presenter-mode-reveal .grid { display: grid; gap: 20px; }
.tpl-presenter-mode-reveal .grid.g2 { grid-template-columns: 1fr 1fr; }
.tpl-presenter-mode-reveal .grid.g3 { grid-template-columns: repeat(3, 1fr); }

.tpl-presenter-mode-reveal .mt-m { margin-top: 20px; }
.tpl-presenter-mode-reveal .mt-l { margin-top: 32px; }
.tpl-presenter-mode-reveal .mt-s { margin-top: 10px; }
.tpl-presenter-mode-reveal .tc { text-align: center; }
