/* Shared settings sheet. Sound and the timeline stay on the playback surface. */
.player-controls-backdrop{position:absolute!important;inset:0!important;z-index:19!important;width:100%!important;height:100%!important;max-width:none!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:rgba(0,0,0,.24)!important;box-shadow:none!important;cursor:default;touch-action:none}
.player-controls-backdrop[hidden],.player-hold-controls[hidden]{display:none!important}
.player-hold-controls{position:absolute;z-index:20;bottom:12px;left:12px;right:12px;max-width:420px;margin-inline:auto;padding:10px 16px 12px;box-sizing:border-box;border:1px solid #ffffff1f;border-radius:24px;background:rgba(28,28,30,.98);color:#f5f5f7;box-shadow:0 16px 60px #0007;max-height:calc(100% - 72px);overflow:auto;overscroll-behavior:contain;touch-action:pan-y;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.4;scrollbar-width:thin;text-shadow:none;filter:none}
.player-hold-controls header{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;margin:0 0 4px}
.player-hold-controls header strong{font-size:16px;font-weight:600;letter-spacing:-.2px}
.player-hold-controls button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-width:44px;min-height:44px;padding:7px 5px;margin:0;border:0!important;border-radius:12px;background:transparent!important;color:#f5f5f7!important;box-shadow:none!important;font:inherit;font-size:14px;line-height:1.3;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.player-hold-controls button:hover{background:#ffffff0c!important}.player-hold-controls button:active{background:#ffffff16!important;transform:none}
.player-hold-controls button:focus-visible,.player-hold-auto input:focus-visible,.player-controls-access:focus-visible{outline:2px solid #fff;outline-offset:2px}
.player-hold-controls svg{width:22px;height:22px;flex:none;pointer-events:none}
.player-hold-controls small{font-size:11px;line-height:1.4;color:#d1d1d6;pointer-events:none}
.player-hold-controls header button{width:44px;height:44px;margin-right:-8px;color:#aaaab0!important}
.player-hold-controls header svg{width:20px;height:20px}
.player-hold-transport,.player-hold-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-items:center}
.player-hold-controls .player-hold-transport button,.player-hold-controls .player-hold-tools button{min-height:58px;width:100%}
.player-hold-transport{padding-bottom:8px}
.player-rate-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:58px;border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff12}
.player-rate-row>span{font-size:13px;color:#d1d1d6;flex:none}
.player-rate-options{display:grid;grid-template-columns:repeat(4,minmax(44px,1fr));gap:0;min-width:0;background:#ffffff08;border-radius:11px;padding:2px}
.player-hold-controls .player-rate-options button{font-size:13px;min-width:44px;min-height:44px;padding:4px 5px;border-radius:9px;font-variant-numeric:tabular-nums}
.player-hold-controls .player-rate-options button[aria-pressed=true]{background:#5a5a60!important;color:#fff!important;box-shadow:0 1px 4px #0002!important;font-weight:600}
.player-hold-tools{padding:8px 0}
.player-hold-auto{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:2px 0;margin:0;border-top:1px solid #ffffff12;font-size:13px;cursor:pointer}
.player-hold-auto input{appearance:none;-webkit-appearance:none;position:relative;display:block;box-sizing:border-box;width:46px;height:28px;min-width:46px;min-height:28px;max-height:28px;padding:0;margin:0;border:0;border-radius:999px;background:#4b4b50;cursor:pointer;transition:background .18s;flex:none}
.player-hold-auto input:before{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0004;transition:transform .18s}
.player-hold-auto input:checked{background:#34c759}.player-hold-auto input:checked:before{transform:translateX(18px)}
.player-context-actions{display:flex;flex-wrap:wrap;gap:4px;padding-top:6px;margin-top:0;border-top:1px solid #ffffff12}
.player-hold-controls .player-context-actions button{flex:1 1 auto;align-items:center;min-height:44px;padding:8px 10px;font-size:12px;color:#d1d1d6!important;text-align:center}
.player-controls-access{border:0;background:transparent;color:white;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.player-controls-access svg{width:28px;height:28px}.player-controls-access small{font-size:11px}
.feed-card>.player-controls-access,.shared-card>.player-controls-access{position:absolute;right:8px;bottom:80px;z-index:5;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:52px;min-height:50px;padding:2px}
.player-controls-open .feed-info,.player-controls-open .shared-info{pointer-events:none}
.player-web-fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:50}.feed-card:fullscreen,.shared-card:fullscreen{height:100dvh!important;width:100vw!important}.feed-tap,.shared-tap{-webkit-touch-callout:none}
@media(max-width:360px){.player-hold-controls{left:8px;right:8px;padding-inline:12px}.player-rate-row{gap:6px}.player-rate-options{padding:1px}.player-hold-controls .player-rate-options button{padding-inline:3px}}
@media(max-height:500px){.player-hold-controls{bottom:6px;max-height:calc(100% - 20px);padding:6px 12px;border-radius:18px}.player-hold-controls header{margin:0}.player-hold-controls .player-hold-transport button,.player-hold-controls .player-hold-tools button{min-height:48px}.player-hold-transport{padding-bottom:4px}.player-hold-tools{padding:4px 0}.player-rate-row,.player-hold-auto{min-height:48px}}
@media(prefers-reduced-motion:reduce){.player-hold-auto input,.player-hold-auto input:before{transition:none}}
/* Progress is always reachable below the picture, without opening settings. */
.player-inline-timeline{position:absolute;z-index:6;left:0;right:0;bottom:0;height:56px;box-sizing:border-box;background:linear-gradient(transparent,rgba(0,0,0,.48));pointer-events:none}
.video-feed .player-inline-timeline input[type=range],.shared-feed .player-inline-timeline input[type=range]{position:absolute;display:block;appearance:none;-webkit-appearance:none;left:12px;right:auto;top:0;bottom:auto;width:calc(100% - 24px);height:44px;min-height:44px;max-height:44px;padding:0!important;margin:0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;opacity:1;accent-color:#fff;cursor:pointer;pointer-events:auto;touch-action:none}
.video-feed .player-inline-timeline input[type=range]::-webkit-slider-runnable-track,.shared-feed .player-inline-timeline input[type=range]::-webkit-slider-runnable-track{height:3px;border:0;border-radius:3px;background:linear-gradient(to right,#f5f5f7 var(--played,0%),#ffffff38 var(--played,0%))}
.video-feed .player-inline-timeline input[type=range]::-webkit-slider-thumb,.shared-feed .player-inline-timeline input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:8px;height:8px;margin-top:-2.5px;border:0;border-radius:50%;background:#f5f5f7;box-shadow:0 0 3px #0003}
.video-feed .player-inline-timeline input[type=range]::-moz-range-track,.shared-feed .player-inline-timeline input[type=range]::-moz-range-track{height:3px;border:0;border-radius:3px;background:#ffffff38}
.video-feed .player-inline-timeline input[type=range]::-moz-range-progress,.shared-feed .player-inline-timeline input[type=range]::-moz-range-progress{height:3px;border-radius:3px;background:#f5f5f7}
.video-feed .player-inline-timeline input[type=range]::-moz-range-thumb,.shared-feed .player-inline-timeline input[type=range]::-moz-range-thumb{width:8px;height:8px;border:0;border-radius:50%;background:#f5f5f7;box-shadow:0 0 3px #0003}
.video-feed .player-inline-timeline input[type=range]:focus-visible,.shared-feed .player-inline-timeline input[type=range]:focus-visible{outline:1px solid #fff8;outline-offset:-4px;border-radius:8px}
.video-feed .player-inline-timeline input[type=range]:disabled,.shared-feed .player-inline-timeline input[type=range]:disabled{cursor:default;opacity:.5}
.video-feed .player-inline-timeline .feed-time,.shared-feed .player-inline-timeline .shared-time{position:absolute;display:block;left:auto;right:14px;top:auto;bottom:4px;min-height:0;margin:0;font-size:11px;font-weight:400;line-height:16px;font-variant-numeric:tabular-nums;text-align:right;color:#d1d1d6;pointer-events:none}
