/* Lifeline — YouTube-inspired accessible overlay, limited to posture player */
.posture-video-wrap#posture-player{position:relative;background:#0c0c0e;overflow:hidden;border-radius:14px;isolation:isolate;box-shadow:0 12px 35px #24191d25;line-height:1.3}
#posture-player video{width:100%;aspect-ratio:16/9;object-fit:contain;display:block;background:#090909;cursor:pointer}
#posture-player .yt-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#posture-player .yt-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:68px;height:68px;border:0;border-radius:50%;background:#111b;color:white;display:grid;place-items:center;font-size:29px;cursor:pointer;z-index:3;backdrop-filter:blur(6px);transition:opacity .2s,scale .2s,background .2s;box-shadow:0 3px 20px #0004}
#posture-player .yt-center span{margin-left:3px}
#posture-player .yt-center:hover{background:#7b2634e8;scale:1.06}
#posture-player .yt-center.yt-playing{opacity:0;pointer-events:none}
#posture-player .yt-gradient{position:absolute;inset:auto 0 0;height:125px;background:linear-gradient(transparent,rgba(0,0,0,.82));pointer-events:none;z-index:1;transition:opacity .25s}
#posture-player .posture-player-controls.yt-controls{position:absolute!important;bottom:0;left:0;right:0;z-index:4;padding:0 13px 10px!important;background:none!important;color:#fff!important;display:block!important;opacity:1;transition:opacity .24s,transform .24s;transform:translateY(0);font-family:Inter,system-ui,sans-serif}
#posture-player.yt-hide-controls .yt-controls,#posture-player.yt-hide-controls .yt-gradient{opacity:0;pointer-events:none}
#posture-player.yt-hide-controls{cursor:none}
#posture-player .yt-timeline{position:relative;height:18px;display:flex;align-items:center;margin-bottom:3px}
#posture-player #posture-seek{width:100%;min-width:0;margin:0!important;height:18px;cursor:pointer;background:none;border:0;appearance:none;-webkit-appearance:none;accent-color:#b84b60;--played:0%}
#posture-player #posture-seek::-webkit-slider-runnable-track{height:4px;border-radius:3px;background:linear-gradient(to right,#c34b65 var(--played),#ffffff73 var(--played));transition:height .15s}
#posture-player #posture-seek::-moz-range-track{height:4px;border-radius:3px;background:#ffffff73}
#posture-player #posture-seek::-moz-range-progress{height:4px;border-radius:3px;background:#c34b65}
#posture-player #posture-seek::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:12px;margin-top:-4px;border:0;border-radius:50%;background:#c34b65;opacity:0;transition:opacity .15s}
#posture-player #posture-seek::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:#c34b65}
#posture-player .yt-timeline:hover #posture-seek::-webkit-slider-thumb,#posture-player.yt-scrubbing #posture-seek::-webkit-slider-thumb{opacity:1}
#posture-player .yt-time-preview{position:absolute;bottom:26px;left:0;transform:translateX(-50%);background:#141414df;color:white;border-radius:4px;padding:5px 8px;font-size:12px;opacity:0;pointer-events:none}
#posture-player .yt-timeline:hover .yt-time-preview{opacity:1}
#posture-player .yt-bar,#posture-player .yt-left,#posture-player .yt-right,#posture-player .yt-volume{display:flex;align-items:center}
#posture-player .yt-bar{justify-content:space-between;gap:8px}
#posture-player .yt-left{gap:4px;min-width:0}
#posture-player .yt-right{gap:4px;flex-shrink:0}
#posture-player .yt-icon-button{display:inline-flex!important;align-items:center;justify-content:center;position:relative;width:38px;min-width:38px;height:38px;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#fff!important;font:600 21px/1 Inter,system-ui,sans-serif!important;cursor:pointer;transition:background .15s!important;box-shadow:none!important}
#posture-player .yt-icon-button:hover,#posture-player .yt-icon-button:focus-visible{background:#ffffff30!important}
#posture-player .yt-icon-button:focus-visible,#posture-player .yt-center:focus-visible,#posture-player input:focus-visible{outline:2px solid #fff;outline-offset:2px}
#posture-player .yt-extra small{position:absolute;font-size:9px;top:15px;font-weight:800}
#posture-player .yt-volume{gap:0}
#posture-player #posture-volume{width:78px!important;max-width:90px!important;min-width:0!important;margin:0 5px;accent-color:white;cursor:pointer}
#posture-player #posture-volume-percent{display:none}
#posture-player .yt-clock{font:500 12px/1.2 Inter,system-ui,sans-serif;color:#fff;white-space:nowrap;margin-left:6px;letter-spacing:.01em}
#posture-player .yt-speed{font-size:14px!important;min-width:39px}
#posture-player #body-posture-stop[hidden]{display:none!important}
#posture-player:fullscreen{width:100vw;height:100vh;border-radius:0;display:grid;place-items:center}
#posture-player:fullscreen video{width:100%;height:100%;aspect-ratio:auto;object-fit:contain}
#posture-player:fullscreen .yt-controls{padding:0 24px 20px!important}
@media(max-width:650px){#posture-player .yt-controls{padding:0 9px 7px!important}#posture-player .yt-extra{display:none!important}#posture-player #posture-volume{display:none}#posture-player .yt-clock{font-size:11px;margin-left:2px}#posture-player .yt-icon-button{width:34px;min-width:34px;height:34px}#posture-player .yt-center{width:55px;height:55px;font-size:23px}}
@media(prefers-reduced-motion:reduce){#posture-player *{transition:none!important}}

/* Full-width, precise volume control (handoff fix) */
#posture-player .yt-volume { display:flex; align-items:center; flex:0 0 auto; gap:7px; }
#posture-player #posture-volume {
  appearance:none; -webkit-appearance:none; display:block; box-sizing:border-box;
  width:124px!important; min-width:124px!important; max-width:124px!important;
  height:24px; padding:0!important; margin:0!important; border:0!important;
  background:transparent!important; cursor:pointer; touch-action:none; flex:0 0 124px!important;
}
#posture-player #posture-volume::-webkit-slider-runnable-track {
  height:5px; border-radius:4px;
  background:linear-gradient(to right,#fff 0%,#fff var(--volume-fill,100%),rgba(255,255,255,.36) var(--volume-fill,100%),rgba(255,255,255,.36) 100%);
}
#posture-player #posture-volume::-moz-range-track { height:5px; border-radius:4px; background:rgba(255,255,255,.36); }
#posture-player #posture-volume::-moz-range-progress { height:5px; border-radius:4px; background:#fff; }
#posture-player #posture-volume::-webkit-slider-thumb {
  -webkit-appearance:none; appearance:none; height:13px; width:13px; border:0; border-radius:50%;
  background:#fff; margin-top:-4px; box-shadow:0 0 0 2px rgba(0,0,0,.15);
}
#posture-player #posture-volume::-moz-range-thumb { height:13px; width:13px; border:0; border-radius:50%; background:#fff; }
#posture-player #posture-volume:focus-visible { outline:2px solid white; outline-offset:1px; border-radius:4px; }
@media(max-width:520px) { #posture-player #posture-volume {display:none!important;} }
