.narration-stage {
  padding: 4.5%;
  background:
    radial-gradient(75% 90% at 100% 0%, rgba(106, 82, 255, .24), transparent 70%),
    linear-gradient(145deg, #050711 0%, #0d1020 52%, #111328 100%);
  font-family: "Aptos", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

.presentation-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: clamp(15px, 2.1vw, 28px) clamp(22px, 4vw, 50px) clamp(13px, 1.9vw, 24px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, .045), transparent 40%),
    radial-gradient(circle at 94% 92%, rgba(86, 224, 183, .11), transparent 26%),
    rgba(8, 10, 22, .82);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .04);
}

.presentation-slide::after {
  content: "";
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  right: -15%;
  top: 20%;
  border: 1px solid rgba(129, 112, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(129, 112, 255, .025), 0 0 0 92px rgba(129, 112, 255, .018);
}

.slide-header,
.slide-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9ca3bd;
  font-size: clamp(7px, .8vw, 10px);
  font-weight: 720;
  letter-spacing: .18em;
}

.slide-brand { display: flex; align-items: center; gap: 9px; color: #f7f7fb; letter-spacing: -.025em; font-size: clamp(10px, 1.2vw, 14px); }
.slide-brand b { color: #8e7cff; letter-spacing: -.18em; font-weight: 900; }
.slide-rule { position: relative; z-index: 2; height: 1px; margin: clamp(8px, 1.2vw, 16px) 0; background: linear-gradient(90deg, rgba(142, 124, 255, .86), rgba(255, 255, 255, .12) 42%, transparent); }

.narration-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: min(90%, 800px);
  text-align: left;
}

.slide-section { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(6px, 1vw, 12px); color: #9b8cff; }
.slide-section span { font-size: clamp(11px, 1.4vw, 17px); font-variant-numeric: tabular-nums; font-weight: 420; }
.slide-section b { font-size: clamp(8px, .9vw, 11px); letter-spacing: .18em; }
.narration-copy h3 {
  max-width: 760px;
  margin: 0 0 clamp(7px, 1.1vw, 14px);
  color: #fff;
  font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(21px, 3vw, 40px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.narration-copy p { max-width: 780px; margin: 0; color: #d6d9e7; font-size: clamp(12px, 1.45vw, 18px); font-weight: 410; line-height: 1.36; letter-spacing: -.01em; }
.slide-footer small { color: #b8afef; font-size: inherit; letter-spacing: .14em; }

.stage-transition {
  position: absolute;
  z-index: 30;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: #080a14;
  transition: opacity .3s cubic-bezier(.4, 0, .2, 1);
}
.stage-transition::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(129, 112, 255, .16), transparent 48%);
}
.stage-transition.active { opacity: 1; }

.video-captions {
  position: absolute;
  z-index: 20;
  left: 8%;
  right: 8%;
  bottom: 7%;
  display: none;
  max-width: 880px;
  margin: auto;
  padding: 10px 16px 12px;
  border-radius: 8px;
  background: rgba(3, 4, 9, .82);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
  color: #fff;
  font-family: "Aptos", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(13px, 1.6vw, 20px);
  font-weight: 590;
  line-height: 1.36;
  text-align: center;
  text-shadow: 0 1px 2px #000;
}
.video-captions.visible { display: block; }

.youtube-interaction-shield {
  position: absolute;
  z-index: 18;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  background: transparent;
  transition: background .2s ease;
}
.youtube-interaction-shield.visible { display: flex; }
.youtube-interaction-shield.notice { background: rgba(4, 5, 12, .54); }
.youtube-shield-message {
  display: grid;
  grid-template-columns: 38px auto;
  column-gap: 12px;
  align-items: center;
  max-width: min(360px, calc(100% - 40px));
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  background: rgba(10, 11, 22, .9);
  box-shadow: 0 16px 42px rgba(0,0,0,.42);
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(12px);
}
.youtube-interaction-shield.notice .youtube-shield-message { opacity: 1; transform: translateY(0); }
.youtube-shield-message span {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(129,112,255,.18);
  color: #b7adff;
  font-size: 14px;
}
.youtube-shield-message strong { font-size: 13px; line-height: 1.2; }
.youtube-shield-message small { margin-top: 3px; color: #b8bbca; font-size: 10px; line-height: 1.35; }

.promotion-cta {
  position: absolute;
  z-index: 24;
  right: 22px;
  bottom: 22px;
  max-width: min(330px, calc(100% - 44px));
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 18px 18px 4px 18px;
  background: linear-gradient(135deg, rgba(111,88,255,.96), rgba(79,57,211,.96));
  box-shadow: 0 14px 38px rgba(0,0,0,.4);
  color: #fff;
  font-size: clamp(11px, 1.2vw, 15px);
  font-weight: 760;
  line-height: 1.3;
  text-decoration: none;
  backdrop-filter: blur(12px);
}
.promotion-cta::after { content: "  ↗"; }
.promotion-cta:hover,.promotion-cta:focus-visible { filter: brightness(1.1); outline: 2px solid #fff; outline-offset: 2px; }

.episode-rating { margin-left: 10px; display:flex; align-items:center; gap:7px; min-width:215px; justify-content:flex-end; }
.episode-rating>span { color:var(--muted); font-size:8px; font-weight:850; letter-spacing:.14em; }
.episode-rating>div { display:flex; gap:1px; }
.controls .episode-rating button { min-width:20px; width:20px; height:28px; border-radius:4px; color:color-mix(in srgb,var(--muted) 55%,transparent); font-size:16px; padding:0; }
.controls .episode-rating button.selected,.controls .episode-rating button:hover { color:#f3b83f; background:transparent; }
.episode-rating small { color:var(--muted); font-size:8px; white-space:nowrap; }

@media(max-width:720px){.controls{height:auto;flex-wrap:wrap}.episode-rating{width:100%;margin-left:0;justify-content:center}}

@media (max-width: 620px) {
  .narration-stage { padding: 3.5%; }
  .presentation-slide { padding: 18px 20px 15px; border-radius: 10px; }
  .slide-header > span { display: none; }
  .narration-copy { max-width: 94%; }
  .narration-copy h3 { font-size: clamp(21px, 7vw, 34px); }
  .narration-copy p { font-size: clamp(12px, 3.5vw, 17px); line-height: 1.38; }
  .slide-footer { font-size: 7px; }
  .video-captions { left: 3%; right: 3%; bottom: 4%; padding: 7px 10px; }
  .promotion-cta { right: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 10px 13px; }
  .youtube-shield-message { padding: 11px 13px; grid-template-columns: 32px auto; }
  .youtube-shield-message span { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-transition { transition-duration: .01ms; }
}
