body.watching .video-frame{box-shadow:0 0 0 100vmax #0000;transition:box-shadow 2.5s ease-in-out}body.watching .video-frame.watch-focus-layer{z-index:90}body.watching .video-frame.watch-focus-active{box-shadow:0 0 0 100vmax #000d}
@media(max-width:760px){body.watching .video-frame.watch-focus-active{box-shadow:0 0 0 100vmax #000c}.video-toolbar #seekBack,.video-toolbar #seekForward,.video-toolbar #seekBack30,.video-toolbar #seekForward30{padding:6px 5px;min-width:38px;letter-spacing:-.2px}.video-toolbar .playback-speed-trigger{min-width:48px;gap:4px}.video-toolbar #fullscreenVideo{min-width:32px;padding:6px 7px}.video-toolbar #fullscreenVideo span{display:none}}
@media(prefers-reduced-motion:reduce){body.watching .video-frame{transition:none}}

/* Quiet player OSD, separate from the mobile focus switch. */
.watch-focus-notice{position:absolute;left:18px;bottom:56px;z-index:80;display:flex;align-items:center;gap:11px;max-width:calc(100% - 36px);padding:11px 15px;border:1px solid #ffffff1b;border-radius:11px;background:linear-gradient(125deg,#202027ed,#131317e8);color:#f2f2f6;box-shadow:0 8px 30px #0003;opacity:0;visibility:hidden;transform:translateY(6px);pointer-events:none;transition:opacity .45s ease,transform .45s ease,visibility .45s;backdrop-filter:blur(10px)}.watch-focus-notice.is-visible{opacity:1;visibility:visible;transform:translateY(0)}.watch-focus-notice>svg{width:23px;height:23px;color:#d1d1df;flex-shrink:0}.watch-focus-notice>div{display:flex;flex-direction:column;gap:4px}.watch-focus-notice strong{font-size:11px;font-weight:600;letter-spacing:.2px}.watch-focus-notice span{font-size:10px;color:#a7a7b7;line-height:1.5}.watch-focus-toggle{display:none}
@media(max-width:760px),(hover:none) and (pointer:coarse){.watch-focus-notice{left:12px;bottom:48px;padding:9px 12px;gap:9px;border-radius:9px;max-width:calc(100% - 24px)}.watch-focus-notice>svg{width:20px;height:20px}.watch-focus-notice strong{font-size:10px}.watch-focus-notice span{font-size:9px}.watch-focus-toggle{position:absolute;right:10px;top:10px;z-index:85;display:inline-flex;align-items:center;justify-content:center;gap:5px;height:34px;padding:0 9px;border:1px solid #ffffff35;border-radius:8px;background:#15151bd9;color:#f0f0f6;font-family:inherit;font-size:9px;font-weight:500;cursor:pointer;backdrop-filter:blur(8px);-webkit-tap-highlight-color:transparent;touch-action:manipulation}.watch-focus-toggle:before{content:'';position:absolute;inset:-5px 0}.watch-focus-toggle svg{width:16px;height:16px}.watch-focus-toggle[aria-pressed=false]{color:#9999aa;border-color:#ffffff20;background:#141419c9}.watch-focus-toggle:focus-visible{outline:2px solid #ddd;outline-offset:3px}.video-frame.player-immersive .watch-focus-toggle,.video-frame:fullscreen .watch-focus-toggle,.video-frame:-webkit-full-screen .watch-focus-toggle{right:62px}}
@media(prefers-reduced-motion:reduce){.watch-focus-notice{transition:none}}

/* Outside-player switch and viewport-level mobile announcement. */
.watch-focus-controls{position:relative;z-index:91;display:flex;justify-content:flex-end;margin:0 0 10px;min-height:36px}
.watch-focus-toggle{position:relative;inset:auto;z-index:auto;display:inline-flex;align-items:center;gap:10px;height:36px;padding:0 2px;border:0;border-radius:6px;background:transparent;color:#dddde5;font-family:inherit;font-size:12px;font-weight:600;cursor:pointer;backdrop-filter:none}
.watch-focus-toggle:before{content:'';position:absolute;inset:-4px}
.watch-focus-switch{width:34px;height:20px;border-radius:20px;background:#e92843;display:flex;align-items:center;padding:3px;transition:background .25s}
.watch-focus-switch i{display:block;width:14px;height:14px;border-radius:50%;background:#fff;transform:translateX(14px);transition:transform .25s;box-shadow:0 1px 4px #0003}
.watch-focus-toggle[aria-pressed=false]{background:transparent;color:#a1a1af;border:0}
.watch-focus-toggle[aria-pressed=false] .watch-focus-switch{background:#42424d}
.watch-focus-toggle[aria-pressed=false] .watch-focus-switch i{transform:translateX(0)}
.watch-focus-notice{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);z-index:120;max-width:calc(100vw - 32px)}
.watch-focus-notice.is-visible{transform:translate(-50%,0)}
@media(max-width:760px),(hover:none) and (pointer:coarse){
.watch-focus-controls{margin-bottom:8px}
.watch-focus-toggle{position:relative;inset:auto;z-index:auto;height:36px;padding:0 2px;font-size:12px;gap:10px;border:0;background:transparent;backdrop-filter:none}
.watch-focus-notice{left:16px;right:16px;bottom:calc(22px + env(safe-area-inset-bottom));max-width:none;padding:24px 22px;gap:16px;border-radius:20px;background:linear-gradient(125deg,#25252bf5,#151519f5);transform:translateY(calc(100% + 70px));transition:opacity .55s ease,transform .65s cubic-bezier(.2,.8,.2,1),visibility .65s;box-shadow:0 14px 60px #0008}
.watch-focus-notice.is-visible{transform:translateY(0)}
.watch-focus-notice>svg{width:34px;height:34px;color:#eeeef5}
.watch-focus-notice>div{gap:8px}
.watch-focus-notice strong{font-size:18px;letter-spacing:-.4px;font-weight:700}
.watch-focus-notice span{font-size:13px;line-height:1.6;color:#b9b9c6}
}
@media(prefers-reduced-motion:reduce){.watch-focus-notice,.watch-focus-switch,.watch-focus-switch i{transition:none}}

/* Keep navigation and the focus switch on one line above the player. */
.watch-top{gap:16px;min-height:36px}
.watch-top .watch-focus-controls{flex-shrink:0;margin:0;min-height:36px}
@media(min-width:761px) and (hover:hover) and (pointer:fine){
.watch-focus-notice{min-width:420px;gap:20px;padding:26px 32px;border-radius:20px;bottom:40px;box-shadow:0 18px 64px #0007}
.watch-focus-notice>svg{width:42px;height:42px}
.watch-focus-notice>div{gap:9px}
.watch-focus-notice strong{font-size:23px;letter-spacing:-.5px;font-weight:700}
.watch-focus-notice span{font-size:15px;line-height:1.6;color:#b9b9c6}
.watch-focus-toggle{font-size:13px}
}

/* Compact mobile copy with a slower entrance and exit. */
@media(max-width:760px),(hover:none) and (pointer:coarse){
.watch-focus-notice{padding:20px;gap:13px;transition:opacity 1.2s ease,transform 1.2s cubic-bezier(.22,.61,.36,1),visibility 1.2s}
.watch-focus-notice>svg{width:28px;height:28px}
.watch-focus-notice strong{font-size:15px;letter-spacing:-.25px}
.watch-focus-notice span{font-size:12px}
.watch-focus-notice>div{gap:6px}
}
@media(min-width:761px) and (hover:hover) and (pointer:fine){
#watchPage .video-toolbar{position:relative;z-index:91}
.video-toolbar .watch-focus-controls{margin:0 0 0 auto;min-height:36px;flex-shrink:0}
.video-toolbar button.watch-focus-toggle{height:36px;padding:0 4px;border:0;background:transparent;color:#dddde5;font-size:12px;border-radius:6px}
.video-toolbar button.watch-focus-toggle[aria-pressed=false]{color:#a1a1af}
}
@media(prefers-reduced-motion:reduce){.watch-focus-notice{transition:none}}
