/* Default captions are ordinary DOM text after the unchanged 16:9 native video. */
.research-note .blog-video-group { width: 100%; }
.research-note video.sol-video-player,
.research-note video.opus-video-player,
.research-note video.agent-video-player {
  height: auto;
  aspect-ratio: 16 / 9;
  padding: 0;
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
  background: #000;
}
/* Native showing is an explicit fallback; never displayed with the DOM region. */
.research-note video.sol-video-player::cue,
.research-note video.opus-video-player::cue,
.research-note video.agent-video-player::cue {
  font-family: Arial, "Arial Unicode MS", sans-serif;
  font-size: clamp(11px, 1.85vw, 22px);
  color: #fff;
  background-color: rgba(0, 0, 0, .88);
  white-space: pre-line;
}
.research-note .blog-caption-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-top: .65rem;
  font-size: .9rem;
}
.research-note .blog-caption-controls label { font-weight: 600; }
.research-note .blog-caption-controls select,
.research-note .blog-caption-controls button {
  min-height: 38px;
  max-width: 100%;
  padding: .3rem .7rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-card, #fff);
  color: var(--text, #172b39);
  font: inherit;
}
.research-note .blog-caption-controls select:focus-visible,
.research-note .blog-caption-controls button:focus-visible,
.research-note .blog-caption-region:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.research-note .blog-caption-region {
  position: relative;
  box-sizing: border-box;
  min-height: 9rem;
  max-height: 22rem;
  margin-top: .65rem;
  padding: .8rem .95rem;
  overflow: auto;
  border: 1px solid #253447;
  border-radius: 6px;
  background: #0b1320;
  color: #ecf2f8;
  font-family: Arial, "Arial Unicode MS", sans-serif;
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.5;
}
.research-note .blog-caption-region[hidden] { display: none; }
.research-note .blog-caption-text {
  margin: 0;
  font: inherit;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.research-note .blog-caption-measure {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  pointer-events: none;
}
.research-note .blog-video-group.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 3000;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  margin: 0;
}
.research-note .blog-video-group:fullscreen,
.research-note .blog-video-group.is-expanded {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: .55rem;
  padding: 12px;
  overflow: hidden;
  background: #070e18;
  color: #ecf2f8;
}
.research-note .blog-video-group:fullscreen video,
.research-note .blog-video-group.is-expanded video { min-height: 0; flex: 0 1 auto; }
.research-note .blog-video-group:fullscreen .blog-caption-controls,
.research-note .blog-video-group.is-expanded .blog-caption-controls { margin-top: 0; flex: 0 0 auto; }
.research-note .blog-video-group:fullscreen .blog-caption-region,
.research-note .blog-video-group.is-expanded .blog-caption-region {
  margin-top: 0;
  max-height: 32vh;
  flex: 0 1 auto;
  padding: .6rem .8rem;
  font-size: clamp(12px, 1.6vw, 16px);
  line-height: 1.45;
}
