/* A deck playing by itself in the app's own player (assets/home/present-autoplay.js): the homepage's presentations
   section and the hero of /integrations/. The poster stays in the flow and sizes the frame; the player, the progress
   line and the pause button lie over it, so nothing moves when the player arrives. .pp-more is the homepage's row of
   styles to pick from. */
.present-posters { margin: 0; min-width: 0 }
.present-posters img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 10px; background: #0b1320 }
.present-posters .pp-main { position: relative; border: 1px solid #2b3d5c; border-radius: 12px; box-shadow: 0 30px 60px -34px #000c; overflow: hidden; background: #0b1320 }
.pp-screen { position: relative }
.present-posters .pp-main img { border-radius: 0 }
.pp-player { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; background: #0b1320 }
.present-posters[data-live="true"] .pp-player { opacity: 1 }
.pp-board { position: absolute; inset: 0; visibility: hidden; overflow: hidden }
.pp-stage { position: absolute; inset: 0; z-index: 1 }
/* The player's own frame (as in assets/hubs/present/player.html), without its control bar: the section's pause button
   and progress line stand in for it. */
.pp-stage .presentation { height: 100%; display: grid; grid-template-rows: minmax(0,1fr) }
.pp-stage .presentation-screen { position: relative; min-height: 0; overflow: hidden }
.pp-stage .presentation-frame { position: absolute; inset: 0 }
.pp-stage .presentation-frame > div { overflow: clip !important }
.pp-stage .presentation-screen svg { pointer-events: none }
.pp-stage .presentation nav { display: none }
.present-posters .pp-style { position: absolute; z-index: 2; top: .55rem; left: .55rem; padding: .16rem .55rem; border-radius: 99px; background: #0b1320d9; color: #e8eef8; font: 600 .75rem/1.3 ui-monospace,Menlo,monospace }
.pp-progress { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 3px; background: #ffffff1f; opacity: 0; transition: opacity .3s }
.pp-progress i { display: block; height: 100%; background: #ffd28a; transform-origin: left; transform: scaleX(var(--pp-progress, 0)); transition: transform .6s ease }
.present-posters[data-live="true"] .pp-progress { opacity: 1 }
.pp-toggle { position: absolute; z-index: 3; right: .6rem; bottom: .7rem; display: inline-flex; align-items: center; gap: .35rem; min-height: 32px; padding: .3rem .7rem .3rem .55rem; border: 1px solid #ffffff38; border-radius: 99px; background: #0b1320cc; color: #e8eef8; font: 600 .75rem/1 ui-monospace,Menlo,monospace; cursor: pointer; opacity: .82; transition: opacity .2s }
.pp-toggle:hover, .pp-toggle:focus-visible { opacity: 1; background: #0b1320 }
.pp-toggle:focus-visible { outline: 2px solid #ffd28a; outline-offset: 2px }
.pp-toggle svg { width: 12px; height: 12px; fill: currentColor }
.present-posters:not([data-state="playing"]) .pp-i-pause, .present-posters[data-state="playing"] .pp-i-play { display: none }
/* Reduced motion, before Play: the poster with a large Play button in its middle. */
.present-posters[data-state="poster"] .pp-toggle { right: 50%; bottom: 50%; transform: translate(50%, 50%); min-height: 44px; padding: .55rem 1.1rem .55rem .9rem; background: #ffd28a; color: #0b1320; border-color: #ffd28a; font-size: .95rem; opacity: 1 }
.present-posters[data-state="poster"] .pp-toggle svg { width: 15px; height: 15px }
.pp-more { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .6rem; margin: .6rem 0 0; padding: 0 }
.pp-more li { min-width: 0 }
.pp-more a { position: relative; display: block; border: 1px solid #2b3d5c; border-radius: 10px; overflow: hidden; color: #e8eef8; text-decoration: none }
.pp-more a[aria-current="true"] { border-color: #ffd28a; box-shadow: 0 0 0 1px #ffd28a }
.pp-more a:hover img, .pp-more a:focus-visible img { filter: brightness(1.12) }
.pp-more a:focus-visible { outline: 2px solid #ffd28a; outline-offset: 2px }
.pp-more img { border-radius: 0 }
.pp-more span { position: absolute; top: .4rem; left: .4rem; padding: .14rem .5rem; border-radius: 99px; background: #0b1320d9; color: #e8eef8; font: 600 .75rem/1.3 ui-monospace,Menlo,monospace }
.present-posters figcaption { margin-top: .7rem; color: #b8c9e2; font-size: .85rem; line-height: 1.45 }
@media (prefers-reduced-motion: reduce) { .pp-player, .pp-progress, .pp-progress i { transition: none } }
/* A phone: the four styles stay one row, each name under its picture. */
@media (max-width: 560px) {
  .pp-more { gap: .4rem }
  .pp-more a { border-radius: 8px; background: #0b1320 }
  .present-posters:not([data-state="poster"]) .pp-toggle { right: .45rem; bottom: .5rem; width: 32px; padding: 0; justify-content: center }
  .present-posters:not([data-state="poster"]) .pp-toggle span { display: none }
  .pp-more span { position: static; display: block; padding: .3rem .2rem .35rem; border-radius: 0; background: none; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
}
