/* Adaptive YouTube player used on Philosophy and dedicated video pages. */
.phVideoShell[data-lo-youtube]{position:relative;isolation:isolate;background:#000}
.phVideoShell[data-lo-youtube] .phYoutubeMount,
.phVideoShell[data-lo-youtube] iframe,
.phVideoShell[data-lo-youtube] .phVideoPoster{position:absolute;inset:0;width:100%;height:100%;border:0}
.phVideoShell[data-lo-youtube] iframe{z-index:1;display:block}
.phVideoShell[data-lo-youtube] .phVideoPoster{z-index:2;display:block;object-fit:cover;object-position:center;transition:opacity .35s ease,visibility .35s ease}
.phVideoShell[data-lo-youtube].is-playing .phVideoPoster{opacity:0;visibility:hidden;pointer-events:none}
.phPlayOverlay{position:absolute;z-index:4;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.8rem;width:100%;height:100%;border:0;padding:1.5rem;background:linear-gradient(180deg,rgba(3,3,7,.10),rgba(3,3,7,.48));color:#fff;cursor:pointer;font:700 .92rem/1.3 Inter,sans-serif;text-align:center;transition:opacity .25s ease,visibility .25s ease}
.phPlayOverlay[hidden]{display:none}
.phPlayGlyph{display:grid;place-items:center;width:68px;height:68px;padding-left:4px;border:1px solid rgba(255,255,255,.55);border-radius:50%;background:rgba(5,5,9,.62);backdrop-filter:blur(12px);box-shadow:0 12px 34px rgba(0,0,0,.38);font-size:1.45rem}
.phPlayText{padding:.65rem .9rem;border-radius:999px;background:rgba(5,5,9,.72);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(10px)}
.phVideoShell[data-lo-youtube] .phSoundToggle{position:absolute;z-index:5;left:50%;bottom:1rem;transform:translateX(-50%);display:inline-flex;align-items:center;gap:.5rem;white-space:nowrap}
.phVideoShell[data-lo-youtube] .phSoundToggle[hidden]{display:none}
.phVideoShell[data-lo-youtube] .phSoundToggle[data-muted="false"] .phSoundIcon{background:#f2d9a6;box-shadow:0 0 10px rgba(242,217,166,.75)}
.phVideoNote[data-video-note]{min-height:2.3em}
@media(prefers-reduced-motion:reduce){
  .phVideoShell[data-lo-youtube] .phVideoPoster,
  .phPlayOverlay{transition:none}
  .phVideoShell[data-lo-youtube] iframe{visibility:visible}
  .phVideoShell[data-lo-youtube] .phSoundToggle{display:inline-flex}
  .phVideoShell[data-lo-youtube] .phSoundToggle[hidden]{display:none}
}
