

:root {
  --bg-main: #201A17;
  --bg-card: #2B231F;
  --bg-card-hover: #342B26;
  --accent-red: #A3262A;
  --accent-red-bright: #C93237;
  --accent-gold: #D4A850;
  --accent-gold-light: #F0C975;
  --steel-blue: #7C8B9E;
  --text-primary: #F7F3EB;
  --text-secondary: #B8B0A4;
  --border-subtle: rgba(247, 243, 235, 0.12);
  --border-red: rgba(163, 38, 42, 0.4);
  --border-gold: rgba(212, 168, 80, 0.4);
  --font-en-head: 'Oswald', sans-serif;
  --font-zh-head: 'Noto Sans TC', sans-serif;
  --font-body: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --slide-width: 1920px;
  --slide-height: 1080px;
  --scale: 1;
}


body.theme-light {
  --bg-main: #F6F3EC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F0ECE4;
  --accent-red: #942226;
  --accent-red-bright: #B5282D;
  --accent-gold: #966F23;
  --accent-gold-light: #B8892D;
  --text-primary: #221C18;
  --text-secondary: #5C544D;
  --border-subtle: rgba(34, 28, 24, 0.12);
  --border-red: rgba(148, 34, 38, 0.3);
  --border-gold: rgba(150, 111, 35, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #15110F;
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.theme-light {
  background-color: #ECE8E0;
}


#presentation-viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #27201D 0%, #15110F 100%);
  overflow: hidden;
}

body.theme-light #presentation-viewport {
  background: radial-gradient(circle at center, #FAF8F4 0%, #E8E3DA 100%);
}

#presentation-stage {
  position: relative;
  width: var(--slide-width);
  height: var(--slide-height);
  flex-shrink: 0;
  transform-origin: center center;
  transform: scale(var(--scale));
  background-color: var(--bg-main);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  user-select: none;
}


.stage-atmosphere {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: 
    radial-gradient(ellipse at 88% 12%, rgba(163, 38, 42, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse at 12% 88%, rgba(212, 168, 80, 0.1) 0%, transparent 55%);
}

body.theme-light .stage-atmosphere {
  background: 
    radial-gradient(ellipse at 88% 12%, rgba(148, 34, 38, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 12% 88%, rgba(150, 111, 35, 0.05) 0%, transparent 55%);
}

.slides-container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}


.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 56px 72px 46px 72px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: scale(0.992);
  background: var(--bg-main);
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: scale(1);
}


.slide-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  margin-bottom: 28px;
}

.header-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 85%;
}

.slide-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en-head);
  letter-spacing: 0.04em;
  font-size: 14px;
  color: var(--accent-gold);
  text-transform: uppercase;
  font-weight: 500;
}

.speaker-pill {
  background: rgba(163, 38, 42, 0.25);
  border: 1px solid rgba(163, 38, 42, 0.5);
  color: var(--text-primary);
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 500;
}

.speaker-pill.speaker-b {
  background: rgba(212, 168, 80, 0.2);
  border-color: rgba(212, 168, 80, 0.5);
  color: var(--accent-gold-light);
}

.speaker-pill.speaker-c {
  background: rgba(124, 139, 158, 0.2);
  border-color: rgba(124, 139, 158, 0.4);
  color: #e4edf8;
}


.slide-title {
  font-family: var(--font-en-head);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slide-subtitle {
  font-size: 22px;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1.35;
  white-space: nowrap;
}

.header-divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(163, 38, 42, 0.4) 0%, rgba(212, 168, 80, 0.3) 30%, rgba(247, 243, 235, 0.08) 70%, transparent 100%);
  margin-top: 14px;
}

body.theme-light .header-divider-line {
  background: linear-gradient(90deg, rgba(148, 34, 38, 0.4) 0%, rgba(150, 111, 35, 0.3) 30%, rgba(34, 28, 24, 0.08) 70%, transparent 100%);
}

.header-right-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.slide-counter-subtle {
  font-family: var(--font-en-head);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-secondary);
  opacity: 0.45;
  letter-spacing: 0.04em;
}


.focus-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-gold-light);
  background: rgba(212, 168, 80, 0.15);
  border: 1px solid var(--accent-gold);
  padding: 3px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
}


.slide-body {
  flex: 1;
  display: flex;
  position: relative;
  align-items: center;
}

.centered-content-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}


.slide-footer {
  height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.footer-left-info {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0.7;
  font-size: 14px;
}

.footer-time-badge {
  font-family: var(--font-en-head);
  letter-spacing: 0.04em;
}


.slide-cover-layout {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.cover-left {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cover-badge-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.cover-pill {
  background: var(--accent-red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cover-course {
  font-size: 17px;
  color: var(--accent-gold);
  font-weight: 500;
}

.cover-title-group {
  margin-bottom: 32px;
}

.cover-hero-title {
  font-family: var(--font-en-head);
  font-size: 104px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 0.95;
  color: var(--text-primary);
  margin-bottom: 20px;
  white-space: nowrap;
}

.cover-hero-title span {
  color: var(--accent-red-bright);
}

.cover-hero-subtitle {
  font-family: var(--font-en-head);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 10px;
  white-space: nowrap;
}

.cover-tagline {
  font-size: 20px;
  color: var(--text-secondary);
  font-style: italic;
  white-space: nowrap;
}

.cover-core-box {
  background: var(--bg-card);
  border-left: 4px solid var(--accent-red);
  padding: 22px 26px;
  border-radius: 0 8px 8px 0;
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
}

.cover-core-question {
  font-size: 21px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 8px;
  line-height: 1.35;
}

.cover-thesis {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cover-meta-triplet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.meta-triplet-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-col-label {
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.65;
  text-transform: uppercase;
}

.meta-col-value {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}


.cover-right {
  flex: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-poster-frame {
  width: 560px;
  height: 560px;
  border-radius: 12px;
  border: 1px solid var(--border-gold);
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  background: #181412;
}

.cover-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.3s ease;
}

.cover-poster-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(20, 16, 14, 0.95) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.poster-caption-main {
  font-family: var(--font-en-head);
  font-size: 26px;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.poster-caption-sub {
  font-size: 14px;
  color: var(--accent-gold);
}


.split-layout-55-45,
.split-layout-50-50 {
  display: flex !important;
  flex-direction: row !important;
  width: 100%;
  gap: 48px;
  align-items: center;
}

.split-left-content {
  flex: 1.22; 
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.split-layout-50-50 > .split-left-content {
  flex: 1.15;
}

.split-right-video {
  flex: 1; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}


.cinema-video-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cinema-screen-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #161210;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}


.cinema-still-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.05);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.cinema-screen-box:hover .cinema-still-bg {
  transform: scale(1.02);
  filter: brightness(0.8);
}


.cinema-screen-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
  background: radial-gradient(circle, rgba(20, 16, 14, 0.4) 0%, rgba(20, 16, 14, 0.8) 100%);
  width: 100%;
  height: 100%;
  justify-content: center;
}

.screen-clip-badge {
  font-family: var(--font-en-head);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent-gold-light);
  background: rgba(32, 26, 23, 0.85);
  border: 1px solid var(--accent-gold);
  padding: 3px 12px;
  border-radius: 3px;
}

.screen-play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(163, 38, 42, 0.7);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.screen-play-btn:hover {
  transform: scale(1.1);
  background: var(--accent-red-bright);
}

.screen-clip-title {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  max-width: 90%;
}


.embedded-youtube-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}


.cinema-below-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2px;
  font-size: 15px;
  color: var(--text-secondary);
}

.below-meta-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.below-clip-tag {
  font-family: var(--font-en-head);
  color: var(--accent-gold);
  font-weight: 500;
  font-size: 16px;
}

.below-prompt-pill {
  font-size: 14px;
  color: var(--text-secondary);
}

.below-action-btns {
  display: flex;
  gap: 8px;
}

.video-action-btn {
  background: rgba(247, 243, 235, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

body.theme-light .video-action-btn {
  background: #ECE7DE;
}

.video-action-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.video-action-btn.primary {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
}


.slide2-duo-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.musician-compact-card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 22px 24px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.musician-compact-card.gold-theme { border-top: 3px solid var(--accent-gold); }
.musician-compact-card.red-theme { border-top: 3px solid var(--accent-red); }

.m-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.m-char-name {
  font-family: var(--font-en-head);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

.m-role-pill {
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 3px;
}

.gold-theme .m-role-pill {
  color: var(--accent-gold-light);
  background: rgba(212, 168, 80, 0.15);
}

.red-theme .m-role-pill {
  color: #fff;
  background: rgba(163, 38, 42, 0.25);
}

.m-char-role {
  font-size: 16px;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: -6px;
}

.m-char-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m-char-list li {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.gold-theme .m-char-list li::before { content: "•"; color: var(--accent-gold); }
.red-theme .m-char-list li::before { content: "•"; color: var(--accent-red-bright); }

.progression-highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 22px 26px;
}

.prog-flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.flow-node {
  flex: 1;
  text-align: center;
}

.flow-node-en {
  font-family: var(--font-en-head);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.flow-node-zh {
  font-size: 19px;
  font-weight: 600;
  margin-top: 2px;
}

.node-passion .flow-node-zh { color: var(--accent-gold-light); }
.node-pressure .flow-node-zh { color: #d6814b; }
.node-performance .flow-node-zh { color: var(--accent-red-bright); }

.flow-node-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 3px;
}

.flow-arrow-gradient {
  font-size: 22px;
  color: var(--text-secondary);
  opacity: 0.4;
}


.slide3-hero-layout {
  display: flex;
  width: 100%;
  gap: 40px;
  align-items: stretch;
}

.slide3-left-image {
  flex: 0.85;
  height: 600px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.slide3-left-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide3-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(20, 16, 14, 0.95) 0%, transparent 100%);
  font-size: 14px;
  color: var(--accent-gold-light);
}

.slide3-right-cards {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.jazz-compact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.jazz-card-num-badge {
  font-family: var(--font-en-head);
  font-size: 26px;
  color: var(--accent-gold);
  font-weight: 500;
  min-width: 32px;
}

.jazz-card-main-text {
  flex: 1;
}

.jazz-card-title-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.jazz-card-en {
  font-family: var(--font-en-head);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
}

.jazz-card-zh {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-red-bright);
}

.jazz-card-highlight-bar {
  font-size: 17px;
  color: var(--accent-gold-light);
  font-weight: 500;
  margin-bottom: 6px;
}

.jazz-card-desc-text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.slide3-theory-pill {
  background: rgba(247, 243, 235, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
}


.drum-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.drum-grid-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drum-card-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.drum-title-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.drum-title-en {
  font-family: var(--font-en-head);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
}

.drum-title-zh {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-gold);
}

.drum-icon-compact {
  color: var(--text-secondary);
  opacity: 0.5;
  width: 20px;
  height: 20px;
}

.drum-card-focus {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}

.drum-card-detail {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.drum-slim-callout {
  background: rgba(163, 38, 42, 0.15);
  border-left: 3px solid var(--accent-red);
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  font-size: 18px;
  color: var(--text-primary);
  line-height: 1.55;
}


.caravan-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.caravan-item-row {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.caravan-step-tag {
  font-family: var(--font-en-head);
  font-size: 22px;
  font-weight: 500;
  color: var(--accent-gold);
  min-width: 36px;
}

.caravan-item-text { flex: 1; }

.caravan-title-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 2px;
}

.caravan-en {
  font-family: var(--font-en-head);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
}

.caravan-zh {
  font-size: 17px;
  color: var(--accent-red-bright);
  font-weight: 600;
}

.caravan-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.listening-guide-box {
  background: rgba(247, 243, 235, 0.03);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
}

.listening-guide-title {
  font-family: var(--font-en-head);
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--accent-gold);
  margin-bottom: 8px;
  font-weight: 500;
}

.listening-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.listening-checklist li {
  font-size: 17px;
  color: var(--text-primary);
  display: flex;
  gap: 10px;
  line-height: 1.45;
}

.checklist-num {
  font-family: var(--font-en-head);
  color: var(--accent-gold);
}


.beyond-contrast-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.beyond-compact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.beyond-compact-card.steel-side { border-top: 3px solid var(--steel-blue); }
.beyond-compact-card.crimson-side { border-top: 3px solid var(--accent-red); }

.beyond-title-en {
  font-family: var(--font-en-head);
  font-size: 26px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.1;
}

.beyond-title-zh {
  font-size: 16px;
  color: var(--text-secondary);
}

.beyond-item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.beyond-item-list li {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.beyond-item-list li strong { color: var(--text-primary); }

.beyond-summary-footer {
  font-size: 15px;
  color: var(--text-secondary);
  opacity: 0.8;
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
  font-style: italic;
}

.beyond-quote-block {
  background: rgba(247, 243, 235, 0.03);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  font-size: 20px;
  color: var(--text-primary);
  line-height: 1.6;
}


.climax-clean-question {
  background: var(--bg-card);
  border: 1px solid rgba(163, 38, 42, 0.4);
  border-radius: 8px;
  padding: 26px 24px;
  text-align: center;
}

.climax-question-single {
  font-family: var(--font-en-head);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.15;
  white-space: nowrap;
}

.climax-question-subzh {
  font-size: 22px;
  font-weight: 500;
  color: var(--accent-gold);
  margin-top: 8px;
}

.climax-four-pills-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.climax-small-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 12px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pill-en {
  font-family: var(--font-en-head);
  font-size: 20px;
  font-weight: 500;
  color: var(--accent-gold-light);
}

.pill-zh {
  font-size: 15px;
  color: var(--text-primary);
}

.pill-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.climax-takeaway-quiet {
  background: rgba(163, 38, 42, 0.15);
  border-left: 3px solid var(--accent-red);
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  font-size: 18px;
  color: var(--text-primary);
  line-height: 1.55;
}


.ref-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.ref-clean-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ref-card-title {
  font-family: var(--font-en-head);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent-gold);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.ref-entry-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ref-entry-list li {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ref-entry-link {
  color: var(--accent-gold);
  font-size: 14px;
  text-decoration: underline;
  word-break: break-all;
  opacity: 0.85;
}


#presentation-controls {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(32, 26, 23, 0.94);
  backdrop-filter: blur(16px);
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

body.theme-light #presentation-controls {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.1);
}

.ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

body.theme-light .ctrl-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.ctrl-btn.active {
  background: var(--accent-red);
  color: #fff;
}

.ctrl-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.ctrl-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.12);
}

body.theme-light .ctrl-divider {
  background: rgba(0, 0, 0, 0.12);
}

.slide-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}

.slide-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

body.theme-light .slide-dot {
  background: rgba(0, 0, 0, 0.2);
}

.slide-dot:hover { background: var(--accent-gold); }
.slide-dot.active { background: var(--accent-red-bright); transform: scale(1.2); }

.page-indicator {
  font-family: var(--font-en-head);
  font-size: 17px;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  min-width: 65px;
  text-align: center;
}


.edge-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 50;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edge-nav:hover { opacity: 1; }
.edge-nav.prev { left: 0; background: linear-gradient(90deg, rgba(0,0,0,0.4), transparent); }
.edge-nav.next { right: 0; background: linear-gradient(-90deg, rgba(0,0,0,0.4), transparent); }

.edge-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

#top-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 200;
}

#top-progress-fill {
  height: 100%;
  width: 12.5%;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-gold));
  transition: width 0.25s ease;
}


#speaker-notes-drawer {
  position: fixed;
  right: -520px;
  top: 0;
  bottom: 0;
  width: 500px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.7);
  z-index: 150;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#speaker-notes-drawer.open { right: 0; }

.notes-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notes-header-title {
  font-family: var(--font-en-head);
  font-size: 22px;
  color: var(--text-primary);
}

.notes-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 26px;
  cursor: pointer;
}

.notes-speaker-banner {
  background: rgba(0, 0, 0, 0.15);
  padding: 14px 22px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notes-speaker-name { font-size: 16px; font-weight: 600; color: var(--accent-gold); }
.notes-topic-tag { font-size: 13px; color: var(--text-secondary); }

.notes-timer-widget {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.timer-digits { font-family: var(--font-en-head); font-size: 19px; color: var(--text-primary); }
.timer-action-btn { background: transparent; border: none; color: var(--text-secondary); cursor: pointer; font-size: 13px; }

.notes-body {
  flex: 1;
  padding: 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notes-script-label {
  font-size: 13px;
  font-family: var(--font-en-head);
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.notes-script-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: 6px;
  border-left: 3px solid var(--accent-red);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open { display: flex; }

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  width: 90%;
  max-width: 760px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title { font-family: var(--font-en-head); font-size: 22px; color: var(--text-primary); }
.modal-close { background: transparent; border: none; font-size: 24px; color: var(--text-secondary); cursor: pointer; }
.modal-body { padding: 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 14px; color: var(--accent-gold); font-weight: 500; }
.form-input { background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border-subtle); border-radius: 4px; padding: 10px 12px; color: var(--text-primary); font-size: 15px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border-subtle); display: flex; justify-content: flex-end; gap: 12px; }

.toast-notification {
  position: fixed;
  top: 24px;
  right: 24px;
  background: var(--accent-red);
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  z-index: 400;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(-80px);
  opacity: 0;
  transition: all 0.25s ease;
}

.toast-notification.show { transform: translateY(0); opacity: 1; }


@media print {
  @page {
    size: 1920px 1080px;
    margin: 0;
  }

  html, body {
    width: 1920px !important;
    height: auto !important;
    background: #201A17 !important;
    overflow: visible !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  #presentation-viewport,
  #presentation-stage {
    width: 1920px !important;
    height: auto !important;
    transform: none !important;
    box-shadow: none !important;
    display: block !important;
    overflow: visible !important;
    background: #201A17 !important;
  }

  .slides-container {
    display: block !important;
    height: auto !important;
  }

  .slide {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 1920px !important;
    height: 1080px !important;
    min-height: 1080px !important;
    max-height: 1080px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    page-break-after: always !important;
    break-after: page !important;
    background: #201A17 !important;
    padding: 56px 72px 46px 72px !important;
  }

  #presentation-controls,
  #top-progress-bar,
  #speaker-notes-drawer,
  .edge-nav,
  .modal-overlay,
  .toast-notification,
  .below-action-btns,
  .screen-play-btn {
    display: none !important;
  }

  .cinema-screen-box {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }
}
