.presentation-playing { scroll-behavior: auto !important; }
.player-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.presentation-start { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--brand); border-radius: 999px; background: var(--brand); color: white; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.presentation-start:focus-visible { outline: 3px solid var(--tu); outline-offset: 4px; }
.presentation-start:disabled { cursor: default; opacity: .7; }
.hero-play { margin-top: 22px; background: var(--brand-soft); color: var(--brand-ink); border-color: var(--line); }
.hero-play:hover { border-color: var(--brand); }

.office-scroll { left: auto; right: 28px; bottom: 28px; transform: none; flex-direction: column; gap: 16px; padding: 22px 28px; border-radius: 24px; background: rgba(7, 25, 39, .88); border-color: rgba(120, 204, 249, .42); box-shadow: 0 16px 56px rgba(0, 0, 0, .28), 0 0 56px rgba(60, 171, 226, .1); }
.presentation-player-open .office-scroll { visibility: hidden; }
.office-scroll-prompt { display: flex; align-items: center; gap: 20px; }
.office-scroll b { font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -.025em; }
.office-scroll small { margin-top: 4px; font-size: 12px; }
.office-scroll .scroll-mouse { flex-basis: 28px; width: 28px; height: 42px; }
.office-scroll .scroll-arrow { width: 38px; height: 38px; flex-basis: 38px; font-size: 23px; }
.office-play { width: 100%; border-color: rgba(120, 204, 249, .36); background: rgba(88, 181, 229, .13); color: #dff4ff; pointer-events: auto; }
.office-play:hover { background: rgba(88, 181, 229, .25); border-color: #73c9f4; }

.presentation-player { position: fixed; z-index: 60; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--line) 35%, transparent); border-radius: 16px; background: color-mix(in srgb, var(--surface) 20%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--text); box-shadow: 0 8px 28px #0000000d; overflow: hidden; }
.presentation-player[hidden] { display: none; }
.presentation-player button[hidden] { display: none; }
.player-caption { display: flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; }
.player-caption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cliente); }
.presentation-player[data-state="paused"] .player-caption::before { background: var(--tu); }
.presentation-player[data-state="reading"] .player-caption::before { background: var(--brand); }
.presentation-player button, .presentation-player select { min-height: 36px; padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--line) 45%, transparent); border-radius: 10px; font: inherit; font-size: 12px; color: var(--text); background: color-mix(in srgb, var(--surface-2) 28%, transparent); cursor: pointer; }
.presentation-player button:hover, .presentation-player select:hover { background: color-mix(in srgb, var(--surface-2) 65%, transparent); }
.presentation-player select option { background: var(--surface); color: var(--text); }
.presentation-player button:focus-visible, .presentation-player select:focus-visible { outline: 3px solid var(--tu); outline-offset: 2px; }
.presentation-player #player-toggle { color: var(--brand-ink); background: color-mix(in srgb, var(--brand-soft) 35%, transparent); font-weight: 650; min-width: 92px; }
.presentation-player #player-close { background: transparent; }
.player-progress { position: absolute; inset: auto 0 0; display: block; width: 100%; height: 3px; appearance: none; border: 0; background: var(--line); }
.player-progress::-webkit-progress-bar { background: var(--line); }
.player-progress::-webkit-progress-value { background: var(--brand); }
.player-progress::-moz-progress-bar { background: var(--brand); }

@media (max-width: 600px) {
  .office-scroll { right: 16px; bottom: 20px; padding: 16px; max-width: calc(100% - 32px); }
  .hero-play { width: 100%; }
  .presentation-player { left: 12px; right: 12px; bottom: 12px; gap: 8px; padding: 10px; justify-content: space-between; flex-wrap: wrap; }
  .player-caption { flex-basis: 100%; font-size: 11px; gap: 5px; }
  .presentation-player button, .presentation-player select { min-height: 44px; padding-inline: 8px; }
  .presentation-player #player-toggle { min-width: 80px; }
}
