/* ==========================================================================
   Operant Learner · slide stage + Theater player            css/ol-stage.css
   --------------------------------------------------------------------------
   Board #385 (2026-10-05): slides are an interactive video. The slide is a
   fixed 1280x720 logical canvas scaled uniformly by js/ol-stage.js; nothing
   inside it scrolls. Loaded by index.html (after ol-portal.css) and by
   review-studio.html, so the studio shows exactly the learner's frame.

   Sections
     1. Stage + canvas            (shared: portal + studio)
     2. Type floor on the canvas  (shared)
     3. Theater layout            (portal: body.ol-theater)
     4. Course bar + control bar  (portal)
     5. Immersive: full screen and phone landscape
     6. Phone portrait: readable reflow
   ========================================================================== */

/* ------------------------------------------------------ 1. stage + canvas */
.ol-stage {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}
.ol-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 1280px;
  height: 720px;
  transform-origin: 0 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  contain: layout paint;
}
/* The scale is set synchronously and measured synchronously. The reduced-motion
   rule gives EVERY element a 0.01ms transition on "all", which would leave the
   transform and heights at their previous values for a frame. */
.ol-stage,
.ol-canvas,
.ol-canvas > .slide-container {
  transition-property: none !important;
}
/* The slide frame's type is pinned here (not inherited from the page) so the
   portal and the studio lay a slide out identically. */
.ol-canvas > .slide-container {
  min-height: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Tahoma, Geneva,
    Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary, #1f2937);
  text-align: left;
}
.ol-canvas > .slide-container > .slide.active {
  display: block;
  box-sizing: border-box;
  width: 1280px;
  padding: 32px 48px;
  margin: 0;
}
/* Overflow tier only (still waiting to be split): the slide scrolls inside the
   canvas, and says so. */
.ol-canvas[data-fit="overflow"] > .slide-container {
  scrollbar-gutter: stable;
}
.ol-continues {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  background: var(--ol-navy-900, #021a3a);
  color: #fff;
  font: 700 18px/1.2 var(--ol-font-text, system-ui, sans-serif);
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(2, 26, 58, 0.8);
}
.ol-continues[hidden] {
  display: none;
}

/* While js/ol-stage.js measures (a few ms, synchronous). */
.ol-fitting,
.ol-fitting * {
  transition: none !important;
}

/* ------------------------------------------------ 2. type floor (canvas) */
/* js/ol-stage.js tags text-bearing elements authored under 14px. Body text
   (card bodies, captions under figures) comes up to 15px, labels and kickers
   to 14px. !important only beats the author's own stylesheet rules — the
   slide's HTML is untouched. */
.ol-canvas .ol-tf-body {
  font-size: 15px !important;
}
.ol-canvas .ol-tf-label {
  font-size: 14px !important;
}

/* ------------------------------------------------- 3. theater layout */
body.ol-theater .main-container {
  display: block;
  max-width: none;
  margin: 0;
  padding: var(--olp-top-h, 60px) 0 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
body.ol-theater .content-area {
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--ol-navy-950, #010f24);
  overflow: hidden;
}
/* The outline is a drawer at every width (sub-navigation only). */
body.ol-theater .sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  width: 340px;
  max-width: 88vw;
  margin: 0;
  z-index: 1060;
  border-radius: 0;
  padding-top: calc(var(--olp-top-h, 60px) + 0.85rem);
  box-shadow: var(--ol-sh-3, 0 20px 50px rgba(0, 0, 0, 0.35));
  transform: translateX(-102%);
  transition: transform 0.25s ease;
  visibility: hidden;
}
body.ol-theater.sidebar-open .sidebar {
  transform: none;
  visibility: visible;
}
body.ol-theater.ol-fs .sidebar {
  padding-top: 0.85rem;
}
body.ol-theater .sidebar-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(2, 26, 58, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
body.ol-theater.sidebar-open .sidebar-backdrop {
  opacity: 1;
  pointer-events: auto;
}
body.ol-theater .sidebar-collapse-btn,
body.ol-theater .sidebar-toggle,
body.ol-theater .bottom-nav,
body.ol-theater .feedback-btn {
  display: none !important;
}

.ol-theater {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--ol-navy-950, #010f24);
  color: #fff;
}
.ol-theater > .ol-stage {
  flex: 1 1 auto;
  padding: 14px 24px 10px;
}
.ol-theater .ol-stage .ol-canvas {
  border-radius: 12px;
}

/* ------------------------------------------- 4. course bar + control bar */
.ol-coursebar {
  flex: 0 0 auto;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: var(--ol-surface, #fff);
  color: var(--ol-ink, #0b1b33);
  border-bottom: 1px solid var(--ol-rule-soft, #e3e9f2);
  min-width: 0;
}
.ol-cb-outline {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--ol-rule-2, #c9d4e3);
  border-radius: var(--ol-r-sm, 8px);
  background: var(--ol-surface, #fff);
  color: var(--ol-navy-800, #022a5c);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.ol-cb-outline:hover {
  background: var(--ol-navy-50, #eef3fa);
}
.ol-cb-outline svg {
  width: 16px;
  height: 16px;
}
.ol-cb-titles {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
}
.ol-cb-course {
  font-family: var(--ol-font-display, inherit);
  font-weight: 800;
  font-size: 14px;
  color: var(--ol-navy-900, #021a3a);
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  line-height: 1.2;
}
.ol-cb-sub {
  font-size: 13px;
  color: var(--ol-ink-3, #4a5b75);
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
  font-variant-numeric: tabular-nums;
}
.ol-cb-progress {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ol-navy-900, #021a3a);
  font-variant-numeric: tabular-nums;
}
.ol-cb-progress .progress-track {
  width: 140px;
  height: 6px;
  border-radius: 999px;
  background: var(--ol-track, #e3e9f2);
  overflow: hidden;
}
.ol-cb-progress .progress-text {
  color: inherit;
  font-size: 12px;
  margin: 0;
}
.ol-cb-progress .progress-fill {
  height: 100%;
  background: var(--ol-gold-500, #db8d03);
  border-radius: 999px;
}

.ol-captions {
  flex: 0 0 auto;
  width: min(var(--ol-canvas-w, 100%), calc(100% - 48px));
  min-width: min(720px, calc(100% - 48px));
  margin: 0 auto 8px;
  max-height: 112px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(140, 167, 208, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
  color: #e8eef8;
  font-size: 15px;
  line-height: 1.55;
}
.ol-captions[hidden],
.ol-captions:empty {
  display: none;
}

.ol-ctrlbar {
  flex: 0 0 auto;
  height: 52px;
  box-sizing: border-box;
  width: min(var(--ol-canvas-w, 100%), calc(100% - 48px));
  min-width: min(720px, calc(100% - 48px));
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: var(--ol-navy-900, #021a3a);
  border: 1px solid rgba(140, 167, 208, 0.22);
  border-radius: 12px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.ol-ctrlbar button {
  font-family: inherit;
}
.ol-cbtn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.ol-cbtn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
}
.ol-cbtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.ol-cbtn svg {
  width: 20px;
  height: 20px;
}
.ol-ctrlbar :focus-visible {
  outline: 3px solid var(--ol-gold-300, #f5c35b);
  outline-offset: 2px;
}
.ol-cbtn--play {
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ol-gold-500, #db8d03);
  color: var(--ol-navy-950, #010f24);
}
.ol-cbtn--play:hover:not(:disabled) {
  background: var(--ol-gold-400, #eaa21c);
}
.ol-cbtn--next {
  padding: 0 12px 0 14px;
  border-color: rgba(245, 195, 91, 0.6);
  color: var(--ol-gold-300, #f5c35b);
}
.ol-cbtn--next:not(:disabled) {
  background: var(--ol-gold-500, #db8d03);
  border-color: var(--ol-gold-500, #db8d03);
  color: var(--ol-navy-950, #010f24);
}
.ol-cbtn--next:hover:not(:disabled) {
  background: var(--ol-gold-400, #eaa21c);
}
.ol-cbtn--chip {
  min-width: 46px;
  height: 34px;
  border: 1px solid rgba(140, 167, 208, 0.4);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.ol-cbtn--chip[aria-expanded="true"] {
  background: var(--ol-gold-500, #db8d03);
  border-color: var(--ol-gold-500, #db8d03);
  color: var(--ol-navy-950, #010f24);
}
/* A frame of a split slide whose narration audio is not recorded yet
   (board #385): no player, captions on, and this label says why. */
.ol-narr-pending {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(226, 232, 240, 0.85);
  border: 1px dashed rgba(140, 167, 208, 0.5);
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}

/* The narration group: play · time · scrub. The <audio> element is the
   real player (no native controls); these drive it. */
.ol-ctrlbar .narration-player {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
}
.ol-ctrlbar .narration-player audio {
  display: none;
}
.ol-time {
  flex: 0 0 auto;
  font-size: 13px;
  color: #c3d1e6;
  font-family: var(--ol-font-mono, ui-monospace, monospace);
}
.ol-scrub {
  position: relative;
  flex: 1 1 auto;
  min-width: 60px;
  height: 22px;
  cursor: pointer;
  touch-action: none;
}
.ol-scrub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 4px;
  border-radius: 999px;
  background: rgba(140, 167, 208, 0.35);
}
.ol-scrub-fill {
  position: absolute;
  left: 0;
  top: 9px;
  height: 4px;
  border-radius: 999px;
  background: var(--ol-gold-500, #db8d03);
  width: 0;
}
.ol-scrub-knob {
  position: absolute;
  top: 4px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ol-gold-500, #db8d03);
  left: 0;
}
.ol-scrub-tick {
  position: absolute;
  top: 8px;
  width: 2px;
  height: 6px;
  background: var(--ol-navy-900, #021a3a);
}
.ol-ctrl-spacer {
  flex: 1 1 auto;
}
.ol-qc-hint {
  flex: 0 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ol-gold-300, #f5c35b);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ol-qc-hint[hidden] {
  display: none;
}
.ol-qc-hint svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.ol-slide-count {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  padding: 0 4px;
}
.ol-slide-count span {
  color: #c3d1e6;
  font-weight: 500;
}
/* Narration notices sit in the bar as compact pills. */
.ol-ctrlbar .audio-lock-notice,
.ol-ctrlbar .audio-fallback-notice {
  flex: 0 1 auto;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
  border: 0;
  text-align: left;
}
.ol-ctrlbar .audio-lock-notice {
  background: rgba(255, 255, 255, 0.08);
  color: #c3d1e6;
}
.ol-ctrlbar .audio-fallback-notice {
  background: var(--ol-warn-bg, #fdf3dc);
  color: var(--ol-gold-700, #7a4d00);
}
.ol-ctrlbar .audio-fallback-notice a {
  color: var(--ol-navy-700, #0e488f) !important;
}

@media (max-width: 1180px) {
  .ol-cbtn--next .ol-cbtn-label,
  .ol-qc-hint .ol-qc-hint-text {
    display: none;
  }
  .ol-cb-progress .progress-track {
    width: 80px;
  }
}

/* ---------------------- 5. immersive: full screen + phone landscape */
/* (A phone or tablet held upright keeps its readable reflow even in full screen.) */
@media (min-width: 900px), (orientation: landscape) {
  body.ol-theater.ol-fs .header{
    display: none !important;
  }
  body.ol-theater.ol-fs .main-container{
    padding-top: 0;
  }
  body.ol-pseudo-fs.ol-theater .main-container {
    position: fixed;
    inset: 0;
    z-index: 1001;
  }
  body.ol-theater.ol-fs .ol-theater{
    position: relative;
    background: #000;
  }
  body.ol-theater.ol-fs .ol-theater > .ol-stage{
    position: absolute;
    inset: 0;
    padding: 0;
  }
  body.ol-theater.ol-fs .ol-stage .ol-canvas{
    border-radius: 0;
    box-shadow: none;
  }
  body.ol-theater.ol-fs .ol-coursebar{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 5;
    background: rgba(2, 26, 58, 0.88);
    color: #fff;
    border-bottom: 0;
    transition: opacity 0.3s ease;
  }
  body.ol-theater.ol-fs .ol-cb-course,
  body.ol-theater.ol-fs .ol-cb-progress{
    color: #fff;
  }
  body.ol-theater.ol-fs .ol-cb-sub{
    color: #c3d1e6;
  }
  body.ol-theater.ol-fs .ol-ctrlbar{
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 5;
    margin: 0;
    width: min(1100px, calc(100% - 24px));
    min-width: 0;
    background: rgba(2, 26, 58, 0.92);
    transition: opacity 0.3s ease;
  }
  body.ol-theater.ol-fs .ol-captions{
    position: absolute;
    left: 50%;
    bottom: 74px;
    transform: translateX(-50%);
    z-index: 5;
    margin: 0;
    width: min(1000px, calc(100% - 24px));
    min-width: 0;
    background: rgba(2, 26, 58, 0.9);
    transition: opacity 0.3s ease;
  }
  .ol-theater.ol-chrome-idle .ol-coursebar,
  .ol-theater.ol-chrome-idle .ol-ctrlbar,
  .ol-theater.ol-chrome-idle .ol-captions {
    opacity: 0;
    pointer-events: none;
  }
  .ol-theater.ol-chrome-idle {
    cursor: none;
  }
}

/* Phone (or any short window) held sideways: the stage fills the screen. */
@media (max-height: 500px) and (orientation: landscape) {
  body.ol-theater .header {
    display: none !important;
  }
  body.ol-theater .sidebar {
    padding-top: 0.85rem;
  }
  body.ol-theater .main-container {
    padding-top: 0;
  }
  body.ol-theater .ol-theater {
    position: relative;
    background: #000;
  }
  body.ol-theater .ol-theater > .ol-stage {
    position: absolute;
    inset: 0;
    padding: 0;
  }
  body.ol-theater .ol-stage .ol-canvas {
    border-radius: 0;
    box-shadow: none;
  }
  body.ol-theater .ol-coursebar {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 5;
    background: rgba(2, 26, 58, 0.88);
    border-bottom: 0;
    transition: opacity 0.3s ease;
  }
  body.ol-theater .ol-cb-course,
  body.ol-theater .ol-cb-progress {
    color: #fff;
  }
  body.ol-theater .ol-cb-sub {
    color: #c3d1e6;
  }
  body.ol-theater .ol-cb-progress .progress-track {
    display: none;
  }
  body.ol-theater .ol-ctrlbar {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    z-index: 5;
    margin: 0;
    width: calc(100% - 16px);
    min-width: 0;
    background: rgba(2, 26, 58, 0.92);
    transition: opacity 0.3s ease;
  }
  body.ol-theater .ol-captions {
    display: none;
  }
  .ol-ctrlbar .ol-time {
    display: none;
  }
}

/* A wide screen held upright: the stage is as tall as a 16:9 frame at that
   width, with the controls right under it (not a letterbox mid-screen). */
@media (orientation: portrait) and (min-width: 900px) {
  .ol-theater > .ol-stage {
    flex: 0 0 auto;
    height: calc((100vw - 48px) * 9 / 16 + 24px);
    max-height: calc(100% - 120px);
  }
  .ol-captions {
    max-height: none;
  }
}
body.ol-fs .ol-theater > .ol-stage {
  height: auto;
  max-height: none;
}

/* ------------------------------------ 6. phone portrait: readable reflow */
.ol-stage--reflow {
  overflow: visible;
}
.ol-stage--reflow .ol-canvas {
  position: static;
  width: auto;
  height: auto;
  transform: none;
  border-radius: 12px;
  /* A wide table scrolls sideways inside the slide card, never the page. */
  overflow-x: auto;
  overflow-y: visible;
  contain: none;
}
.ol-stage--reflow .ol-canvas > .slide-container > .slide.active {
  width: auto;
  padding: 18px 16px;
}
.ol-rotate-hint {
  display: none;
}
@media (max-width: 899px) and (orientation: portrait) {
  body.ol-theater .main-container {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }
  body.ol-theater .content-area {
    height: auto;
    overflow: visible;
  }
  .ol-theater {
    height: auto;
    min-height: calc(100dvh - var(--olp-top-h, 60px));
  }
  .ol-coursebar {
    height: auto;
    min-height: 48px;
    padding: 6px 10px;
    position: sticky;
    top: var(--olp-top-h, 60px);
    z-index: 20;
  }
  .ol-cb-outline span {
    display: none;
  }
  .ol-cb-titles {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .ol-cb-progress .progress-track {
    display: none;
  }
  .ol-theater > .ol-stage {
    flex: 0 0 auto;
    padding: 10px 10px 6px;
  }
  /* Large captions under the slide: the narration stays readable on a phone. */
  .ol-captions {
    order: 3;
    display: block;
    width: auto;
    min-width: 0;
    max-height: none;
    margin: 4px 10px 10px;
    font-size: 18px;
    line-height: 1.6;
    padding: 12px 14px;
  }
  .ol-captions::before {
    content: "CAPTIONS";
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--ol-gold-300, #f5c35b);
    margin-bottom: 4px;
  }
  .ol-captions[hidden] {
    display: block;
  }
  .ol-rotate-hint {
    order: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 10px 6px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(245, 195, 91, 0.45);
    background: rgba(245, 195, 91, 0.08);
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
  }
  .ol-rotate-hint b {
    color: var(--ol-gold-300, #f5c35b);
  }
  .ol-rotate-hint svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: var(--ol-gold-300, #f5c35b);
  }
  /* Controls stay in reach: pinned to the bottom of the screen, two rows. */
  .ol-ctrlbar {
    order: 9;
    position: sticky;
    bottom: 0;
    margin-top: auto !important;
    z-index: 20;
    height: auto;
    width: auto;
    min-width: 0;
    margin: 0;
    border-radius: 14px 14px 0 0;
    flex-wrap: wrap;
    row-gap: 4px;
    padding: 6px 8px max(6px, env(safe-area-inset-bottom));
  }
  .ol-ctrlbar .narration-player {
    order: -1;
    flex: 1 0 100%;
  }
  .ol-qc-hint,
  #narrationTranscriptBtn,
  #olFullscreenBtn {
    display: none !important;
  }
}

/* ------------------- 7. small-laptop "try Full screen" tip (board #388 D2) */
/* Placed by course.js just above the control bar, under the Full screen
   button. Navy on white-ish card: #0b1b33 on #fff = 17:1; button navy-900/#fff. */
.ol-fs-tip {
  position: fixed;
  z-index: 40;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  color: #0b1b33;
  border: 1px solid #d6dfeb;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(3, 24, 56, 0.08), 0 18px 40px -16px rgba(3, 24, 56, 0.45);
  font-size: 14px;
  line-height: 1.45;
}
.ol-fs-tip[hidden] {
  display: none;
}
.ol-fs-tip p {
  margin: 0;
}
.ol-fs-tip::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-right: 1px solid #d6dfeb;
  border-bottom: 1px solid #d6dfeb;
  transform: rotate(45deg);
}
.ol-fs-tip-acts {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ol-fs-tip-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #04214a;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.ol-fs-tip-go svg {
  width: 16px;
  height: 16px;
}
.ol-fs-tip-go:hover {
  background: #003876;
}
.ol-fs-tip-x {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #3a4960;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.ol-fs-tip-x:hover {
  background: #f3f6fb;
}
.ol-fs-tip :focus-visible {
  outline: 3px solid #0e488f;
  outline-offset: 2px;
}
body.ol-fs .ol-fs-tip {
  display: none;
}

/* Board #479: every slide control is at least a 44x44 tap target on phones
   and small tablets (prev, play, speed, CC, full screen, next, Outline). */
@media (max-width: 768px) {
  .ol-ctrlbar .ol-cbtn,
  .ol-ctrlbar .ol-cbtn--chip {
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }
  .ol-ctrlbar .ol-cbtn--play {
    width: 44px;
  }
  .ol-theater .ol-cb-outline,
  .ol-cb-outline {
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }
}
