/* One sticky LIVE/video header; the width-fitted bracket scrolls below it. */
#publicWatchHeader{display:contents}

/* Reserve the same space while waiting, playing and changing matches. */
body{--live-panel-height:10.25rem}
#livePanel{
 box-sizing:border-box;block-size:var(--live-panel-height);padding-block:10px;
 display:grid;grid-template-rows:auto minmax(0,1fr);
 -webkit-text-size-adjust:100%;text-size-adjust:100%;
}
#livePanel>.current-live-head{min-width:0;line-height:1.2}
#liveTitle{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#livePlayers{min-width:0;min-height:0;overflow:hidden;overflow:clip}
#livePanel #livePlayers{margin-top:6px}
#livePanel #livePlayers>div{min-height:100%;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
#livePanel #livePlayers>div>div{min-width:0;padding:5px}
#livePanel #livePlayers :is(b,small){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#livePanel #livePlayers b{line-height:1.25}
#livePanel #livePlayers small{line-height:1.25;margin-top:2px}
#livePanel .live-player-badges{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:2px 4px;margin-top:2px}
#livePanel .live-player-badges:empty{display:none}
#livePanel .live-player-badges :is(.player-status,.video-review-badge){
 margin:0;padding:1px 4px;line-height:1.25;font-size:.625rem;white-space:nowrap;
}
#livePanel #livePlayers .edit-player-information{min-height:30px;margin:3px 0 0;padding:2px 7px;font-size:12px}
#livePlayers>p{display:grid;align-content:center;min-height:100%}

@media(max-width:899px), (orientation:landscape) and (min-width:480px) and (max-height:600px) and (pointer:coarse){
 #publicWatchLayout.mobile-watch-overview,#bookmarkDialog.operator-mobile-watch{--live-panel-height:7.5rem}
 main:has(>#publicWatchLayout.mobile-watch-overview){display:flex;flex-direction:column}
 #publicWatchLayout.mobile-watch-overview{order:-1;min-width:0;margin:0;padding:6px;scroll-margin-top:var(--watch-site-header-offset,var(--watch-header-height,60px));overflow-anchor:none}
 #publicWatchLayout.mobile-watch-overview #publicWatchHeader{display:block;position:sticky;top:var(--watch-site-header-offset,var(--watch-header-height,60px));z-index:15;padding-bottom:6px;background:#f3f6f9;box-shadow:0 4px 8px #101d3518}
 #publicWatchLayout.mobile-watch-overview #publicWatchHeader>#livePanel{margin:0 0 6px;padding:9px 10px;border-radius:8px}
 #publicWatchLayout.mobile-watch-overview .current-live-head{gap:7px;font-size:12px;line-height:1.4}
 #publicWatchLayout.mobile-watch-overview .current-live-head i{flex:none;width:7px;height:7px}
 #publicWatchLayout.mobile-watch-overview #livePlayers{margin-top:5px}
 #publicWatchLayout.mobile-watch-overview #livePlayers>div{gap:6px}
 #publicWatchLayout.mobile-watch-overview #livePlayers>div>div{padding:5px 4px;min-width:0}
 #publicWatchLayout.mobile-watch-overview #livePlayers b{font-size:14px;line-height:1.25;overflow-wrap:anywhere}
 #publicWatchLayout.mobile-watch-overview #livePlayers small{margin-top:2px;font-size:10px;line-height:1.25;overflow-wrap:anywhere}
 #publicWatchLayout.mobile-watch-overview #livePlayers em{font-size:15px}
 #publicWatchLayout.mobile-watch-overview #publicBroadcast{position:static;margin:0;min-width:0}
 #publicWatchLayout.mobile-watch-overview #publicBroadcast p{display:none}
 #publicWatchLayout.mobile-watch-overview .public-broadcast-frame{width:min(100%,calc(30vh*16/9));width:min(100%,calc(30dvh*16/9));height:auto;margin-inline:auto;aspect-ratio:16/9;border-radius:7px}
 #publicWatchLayout.mobile-watch-overview .public-broadcast-frame iframe{position:static;display:block;top:auto;left:auto;transform:none;width:100%;height:100%;aspect-ratio:auto;border-radius:0;box-shadow:none}
 #publicWatchLayout.mobile-watch-bracket{display:block;height:auto;min-height:0}
 #publicWatchLayout.mobile-watch-bracket>#publicBracket{min-height:0;height:auto}
 #publicWatchLayout.mobile-watch-bracket #watchContent{display:block;height:auto;min-height:0}
 #publicWatchLayout.mobile-watch-bracket .watch-switcher{flex:none;gap:4px;padding:0;margin:0 0 5px;border:0;background:transparent}
 #publicWatchLayout.mobile-watch-bracket .watch-switcher button{min-height:44px;padding:6px 3px;font-size:12px}
 #publicWatchLayout.mobile-watch-bracket #watchBracketPanel{display:block;min-height:0}
 #publicWatchLayout.mobile-watch-bracket #originalView{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:5px;min-height:0;padding:0}
 #publicWatchLayout.mobile-watch-bracket #originalView .pdf-toolbar{grid-row:1;grid-column:2;position:static;margin:0;padding:0;gap:0;background:transparent}
 #publicWatchLayout.mobile-watch-bracket #originalView .pdf-toolbar-title,
 #publicWatchLayout.mobile-watch-bracket #originalView .pdf-zoom-controls>:not(#originalExpand){display:none}
 #publicWatchLayout.mobile-watch-bracket #originalView .pdf-zoom-controls{display:block}
 #publicWatchLayout.mobile-watch-bracket #originalExpand{min-height:44px;min-width:68px;padding:7px 9px;border:1px solid #b6c7da;font-size:12px}
 #publicWatchLayout.mobile-watch-bracket #originalView .original-division{grid-row:1;grid-column:1;min-width:0;margin:0;padding:0;border:0;background:transparent}
 #publicWatchLayout.mobile-watch-bracket #originalView .pdf-division-label{display:flex;flex-wrap:nowrap;gap:0;font-size:0}
 #publicWatchLayout.mobile-watch-bracket #originalView .pdf-division-label select{flex:1;width:100%;min-width:0;min-height:44px;max-width:100%;padding:7px;font-size:13px}
 #publicWatchLayout.mobile-watch-bracket #originalView>#eventAthleteSearch{grid-row:2;grid-column:1/-1;margin:0}
 #publicWatchLayout.mobile-watch-bracket #pdfPages{grid-row:3;grid-column:1/-1;min-width:0;min-height:0;height:auto;max-height:none;overflow:visible;border:1px solid #dfe4ec;border-radius:7px;background:#fff}
 #publicWatchLayout.mobile-watch-bracket .original-group{margin:0 0 8px}
 #publicWatchLayout.mobile-watch-bracket .original-group:last-child{margin-bottom:0}
 #publicWatchLayout.mobile-watch-bracket .original-group-heading{gap:4px;margin:2px 6px 4px;min-height:20px}
 #publicWatchLayout.mobile-watch-bracket .original-group-heading>h2{max-width:23%;font-size:11px;line-height:16px}
 #publicWatchLayout.mobile-watch-bracket .pdf-page{border:0;border-radius:0}
 #publicWatchLayout.mobile-watch-bracket #originalView .original-footer{grid-column:1/-1}
 #publicWatchLayout.mobile-watch-bracket #watchBracketPanel>#championship,
 #publicWatchLayout.mobile-watch-bracket #watchBracketPanel>.correction-toolbar{display:none}
 #publicWatchLayout.mobile-watch-bracket #pdfStatus{grid-row:3;grid-column:1/-1;z-index:1;align-self:start;margin:0;padding:8px;background:#f3f6f9;font-size:12px}
 #publicWatchLayout.mobile-watch-bracket #pdfStatus:empty{display:none}
}

/* Operating video uses its own player; only the LIVE card changes DOM slots. */
@media(max-width:899px), (orientation:landscape) and (min-width:480px) and (max-height:600px) and (pointer:coarse){
 main:has(>#bookmarkDialog.operator-mobile-watch){display:flex;flex-direction:column}
 #bookmarkDialog.operator-mobile-watch{order:-1;display:flex;flex-direction:column;min-width:0;width:auto;max-height:none;overflow:visible;margin:0;padding:6px;border:0;border-radius:0;background:#f3f6f9;scroll-margin-top:var(--watch-site-header-offset,var(--operator-watch-header-height,60px));overflow-anchor:none}
 #bookmarkDialog.operator-mobile-watch>.operator-grid{display:contents}
 #bookmarkDialog.operator-mobile-watch .operator-media{order:-2;position:sticky;top:var(--watch-site-header-offset,var(--operator-watch-header-height,60px));z-index:15;align-self:stretch;min-width:0;padding:0 0 6px;background:#f3f6f9;box-shadow:0 4px 8px #101d3518}
 #bookmarkDialog.operator-mobile-watch .operator-controls{order:2;min-width:0}
 #bookmarkDialog.operator-mobile-watch #operatorLiveSlot{width:min(100%,calc(30vh*16/9));width:min(100%,calc(30dvh*16/9));margin:0 auto 6px}
 #bookmarkDialog.operator-mobile-watch #operatorLiveSlot[hidden]{display:none}
 #bookmarkDialog.operator-mobile-watch #livePanel{margin:0;padding:9px 10px;border-radius:8px}
 #bookmarkDialog.operator-mobile-watch .current-live-head{gap:7px;font-size:12px;line-height:1.4}
 #bookmarkDialog.operator-mobile-watch .current-live-head i{flex:none;width:7px;height:7px}
 #bookmarkDialog.operator-mobile-watch #livePlayers{margin-top:5px}
 #bookmarkDialog.operator-mobile-watch #livePlayers>div{gap:6px}
 #bookmarkDialog.operator-mobile-watch #livePlayers>div>div{min-width:0;padding:5px 4px}
 #bookmarkDialog.operator-mobile-watch #livePlayers b{font-size:14px;line-height:1.25;overflow-wrap:anywhere}
 #bookmarkDialog.operator-mobile-watch #livePlayers small{margin-top:2px;font-size:10px;line-height:1.25;overflow-wrap:anywhere}
 #bookmarkDialog.operator-mobile-watch #livePlayers em{font-size:15px}
 #bookmarkDialog.operator-mobile-watch #livePlayers .edit-player-information{display:none}
 #bookmarkDialog.operator-mobile-watch #bookmarkPlayerWrap{width:min(100%,calc(30vh*16/9));width:min(100%,calc(30dvh*16/9));height:auto;max-height:none;margin-inline:auto;aspect-ratio:16/9;border-radius:7px}
 #bookmarkDialog.operator-mobile-watch #bookmarkPlayerWrap iframe,#bookmarkDialog.operator-mobile-watch #bookmarkPlayerWrap.is-pinned iframe{position:static;display:block;top:auto;left:auto;transform:none;width:100%;height:100%;aspect-ratio:auto;border-radius:0;box-shadow:none}
 #bookmarkDialog.operator-mobile-watch>.bookmark-help:last-child{order:3}
}

/* Short, wide viewports can share the same mounted player and bracket in two
   columns. Keep the LIVE card in the sticky media column on smaller phones. */
@media (orientation:landscape) and (min-width:520px) and (max-width:1100px) and (max-height:600px){
 #publicWatchLayout:not([hidden]){display:grid;grid-template-columns:minmax(0,46fr) minmax(0,54fr);gap:9px;align-items:start}
 #publicWatchLayout.mobile-watch-overview #publicWatchHeader{min-width:0;padding-bottom:0;box-shadow:none}
 #publicWatchLayout #publicBroadcast{position:sticky;top:68px;min-width:0;margin:0}
 #publicWatchLayout #publicBroadcast p{display:none}
 #publicWatchLayout .public-broadcast-frame,
 #bookmarkDialog:not(.video-detached) #bookmarkPlayerWrap{width:min(100%,calc((100vh - 80px)*16/9));width:min(100%,calc((100dvh - 80px)*16/9));max-height:none;margin-inline:auto;aspect-ratio:16/9}
 #publicWatchLayout.mobile-watch-overview .public-broadcast-frame{width:min(100%,max(96px,calc((100vh - var(--watch-site-header-offset,var(--watch-header-height,60px)) - var(--live-panel-height) - 12px)*16/9)));width:min(100%,max(96px,calc((100dvh - var(--watch-site-header-offset,var(--watch-header-height,60px)) - var(--live-panel-height) - 12px)*16/9)))}
 #publicWatchLayout #publicBroadcast .public-broadcast-frame iframe,
 #publicWatchLayout #publicBroadcast.is-pinned .public-broadcast-frame iframe,
 #bookmarkDialog:not(.video-detached) #bookmarkPlayerWrap iframe,
 #bookmarkDialog:not(.video-detached) #bookmarkPlayerWrap.is-pinned iframe{position:static;display:block;inset:auto;transform:none;width:100%;height:100%;aspect-ratio:auto;border-radius:0;box-shadow:none}
 #publicBracket{min-width:0;padding-left:8px;border-left:1px solid #dfe4ec}
 #publicBracket .pdf-toolbar,#operatorBracket .pdf-toolbar{position:static}
 #publicBracket #rounds .match-order,#operatorBracket #rounds .match-order{grid-template-columns:minmax(0,1fr)}
 #bookmarkDialog:not(.video-detached)>.operator-grid{display:grid;grid-template-columns:minmax(0,46fr) minmax(0,54fr);gap:9px;align-items:start}
 #bookmarkDialog:not(.video-detached) .operator-media{position:sticky;top:var(--watch-site-header-offset,var(--operator-watch-header-height,68px));align-self:start;min-width:0}
 #bookmarkDialog:not(.video-detached) .operator-controls{min-width:0;padding-left:8px;border-left:1px solid #dfe4ec}
 #bookmarkDialog:not(.video-detached) .operator-scoreboard>div{gap:6px}
 #bookmarkDialog:not(.video-detached) .operator-scoreboard button{padding-inline:6px}
 #bookmarkDialog:not(.video-detached) .operator-statuses{gap:6px}
 #bookmarkDialog.operator-mobile-watch #operatorLiveSlot{width:100%}
 #bookmarkDialog.operator-mobile-watch:not(.video-detached) #bookmarkPlayerWrap{width:min(100%,max(96px,calc((100vh - var(--watch-site-header-offset,var(--operator-watch-header-height,60px)) - var(--live-panel-height) - 12px)*16/9)));width:min(100%,max(96px,calc((100dvh - var(--watch-site-header-offset,var(--operator-watch-header-height,60px)) - var(--live-panel-height) - 12px)*16/9)))}
}

/* Handheld landscape: one screen for the scoreboard, video and bracket.
   This breakpoint is shared with landscape-watch.js. */
@media (orientation:landscape) and (min-width:480px) and (max-height:600px) and (pointer:coarse){
 #publicWatchLayout.mobile-watch-overview,#bookmarkDialog.operator-mobile-watch{--live-panel-height:7.125rem}
 body:has(>main>#publicWatchLayout.mobile-watch-overview:not([hidden]),>main>#bookmarkDialog.operator-mobile-watch:not([hidden],.video-detached) #bookmarkPlayerWrap>:where(iframe,#bookmarkPlayer))>header{height:44px}
 body>main:has(>#publicWatchLayout.mobile-watch-overview:not([hidden]),>#bookmarkDialog.operator-mobile-watch:not([hidden],.video-detached) #bookmarkPlayerWrap>:where(iframe,#bookmarkPlayer)){width:100%;max-width:none}
 #publicWatchLayout.mobile-watch-overview:not([hidden]),
 #bookmarkDialog.operator-mobile-watch:has(#bookmarkPlayerWrap>iframe,#bookmarkPlayer)>.operator-grid{
  --landscape-height:calc(var(--landscape-viewport,100vh) - var(--landscape-top) - 8px);
  display:grid;
  grid-template-columns:minmax(0,min(61%,max(46%,calc((var(--landscape-height) - var(--live-panel-height) - 5px)*16/9)))) minmax(0,1fr);
  grid-template-rows:minmax(0,1fr);align-items:stretch;gap:8px;
  height:max(0px,var(--landscape-height));
 }
 #publicWatchLayout.mobile-watch-overview{
  --landscape-top:var(--watch-site-header-offset,var(--watch-header-height,44px));
  flex:none;margin:4px 0;padding:0 6px;
 }
 #bookmarkDialog.operator-mobile-watch:has(#bookmarkPlayerWrap>iframe,#bookmarkPlayer)>.operator-grid{
  --landscape-top:calc(var(--watch-site-header-offset,var(--operator-watch-header-height,44px)) + 48px);
  flex:none;order:-1;
 }
 #bookmarkDialog.operator-mobile-watch:has(#bookmarkPlayerWrap>iframe,#bookmarkPlayer)>.bookmark-heading{order:-2;min-height:44px;margin-bottom:4px}
 #bookmarkDialog.operator-mobile-watch:has(#bookmarkPlayerWrap>iframe,#bookmarkPlayer) .operator-controls{order:0}
 #publicWatchLayout.mobile-watch-overview #publicWatchHeader,
 #bookmarkDialog.operator-mobile-watch:has(#bookmarkPlayerWrap>iframe,#bookmarkPlayer) .operator-media{
  position:static;display:grid;grid-template-rows:auto minmax(0,1fr);gap:5px;
  min-width:0;min-height:0;align-self:stretch;padding:0;box-shadow:none;
 }
 #publicWatchLayout.mobile-watch-overview #publicWatchHeader>#livePanel,
 #bookmarkDialog.operator-mobile-watch:has(#bookmarkPlayerWrap>iframe,#bookmarkPlayer) #operatorLiveSlot{
  width:100%;min-width:0;margin:0;
 }
 #publicWatchLayout.mobile-watch-overview #publicWatchHeader>#livePanel,
 #bookmarkDialog.operator-mobile-watch #operatorLiveSlot #livePanel{padding:6px 8px}
 #publicWatchLayout.mobile-watch-overview #livePlayers>div,
 #bookmarkDialog.operator-mobile-watch #livePlayers>div{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
 #publicWatchLayout.mobile-watch-overview #publicBroadcast{position:static;display:grid;min-height:0}
 #publicWatchLayout.mobile-watch-overview #publicBroadcast[hidden]{display:none}
 #publicWatchLayout.mobile-watch-overview .public-broadcast-frame,
 #bookmarkDialog.operator-mobile-watch:has(#bookmarkPlayerWrap>iframe,#bookmarkPlayer) #bookmarkPlayerWrap{
  container-type:size;display:grid;place-items:start start;
  min-width:0;min-height:0;width:100%;height:100%;margin:0;
  max-height:none;aspect-ratio:auto;background:transparent;
 }
 #publicWatchLayout.mobile-watch-overview #publicBroadcast .public-broadcast-frame iframe,
 #bookmarkDialog.operator-mobile-watch:has(#bookmarkPlayerWrap>iframe,#bookmarkPlayer) #bookmarkPlayerWrap iframe{
  position:static;inset:auto;transform:none;
  width:min(100%,calc(max(0px,var(--landscape-height) - var(--live-panel-height) - 5px)*16/9));
  width:min(100%,calc(100cqh*16/9));height:auto;aspect-ratio:16/9;
  border-radius:7px;background:#000;
 }
 #publicWatchLayout.mobile-watch-overview>#publicBracket,
 #bookmarkDialog.operator-mobile-watch:has(#bookmarkPlayerWrap>iframe,#bookmarkPlayer) .operator-controls{
  min-width:0;min-height:0;height:100%;overflow:auto;overscroll-behavior-x:contain;
  padding:0 0 0 7px;border-left:1px solid #dfe4ec;
 }
 #publicWatchLayout.mobile-watch-overview #publicBracket .watch-switcher{padding-inline:0}
 #publicWatchLayout.mobile-watch-overview #publicBracket #rounds .match-order,
 #bookmarkDialog.operator-mobile-watch #operatorBracket #rounds .match-order{grid-template-columns:minmax(0,1fr)}
 @supports (height:100dvh){
  #publicWatchLayout.mobile-watch-overview,
  #bookmarkDialog.operator-mobile-watch>.operator-grid{--landscape-viewport:100dvh}
 }
}

/* Mobile watch navigation opens over the viewing area and reserves no row.
   Keep each :has() flat: nested :has() causes browsers to discard the selector. */
#watchMenu,#closeWatchMenu{display:none}
@media (max-width:899px) and (pointer:coarse), (orientation:landscape) and (min-width:480px) and (max-height:600px) and (pointer:coarse){
 body.watch-menu-ready:has(>main>#publicWatchLayout.mobile-watch-overview:not([hidden]),>main>#bookmarkDialog.operator-mobile-watch:not([hidden],.video-detached) #bookmarkPlayerWrap>:where(iframe,#bookmarkPlayer)){--watch-site-header-offset:0px}
 body.watch-menu-ready:has(>main>#publicWatchLayout.mobile-watch-overview:not([hidden]),>main>#bookmarkDialog.operator-mobile-watch:not([hidden],.video-detached) #bookmarkPlayerWrap>:where(iframe,#bookmarkPlayer))>#tournamentHeader:not(.watch-menu-open){display:none}
 body.watch-menu-ready:has(>main>#publicWatchLayout.mobile-watch-overview:not([hidden]),>main>#bookmarkDialog.operator-mobile-watch:not([hidden],.video-detached) #bookmarkPlayerWrap>:where(iframe,#bookmarkPlayer))>#tournamentHeader.watch-menu-open{
  position:fixed;inset:4px auto auto 6px;z-index:35;
  width:max-content;max-width:calc(100% - 12px);height:auto;min-height:44px;
  display:flex;flex-wrap:wrap;align-items:center;padding:0 6px;
  border:1px solid #ffffff33;border-radius:9px;box-shadow:0 4px 16px #101d3566;
 }
 body.watch-menu-ready:has(>main>#publicWatchLayout.mobile-watch-overview:not([hidden]),>main>#bookmarkDialog.operator-mobile-watch:not([hidden],.video-detached) #bookmarkPlayerWrap>:where(iframe,#bookmarkPlayer)) #closeWatchMenu:not([hidden]){display:inline-flex;align-items:center;justify-content:center}
 body.watch-menu-ready:has(>main>#publicWatchLayout.mobile-watch-overview:not([hidden]),>main>#bookmarkDialog.operator-mobile-watch:not([hidden],.video-detached) #bookmarkPlayerWrap>:where(iframe,#bookmarkPlayer)) #livePanel{position:relative}
 body.watch-menu-ready:has(>main>#publicWatchLayout.mobile-watch-overview:not([hidden]),>main>#bookmarkDialog.operator-mobile-watch:not([hidden],.video-detached) #bookmarkPlayerWrap>:where(iframe,#bookmarkPlayer)) #liveTitle{min-width:0;padding-inline-end:40px;overflow-wrap:anywhere}
 body.watch-menu-ready:has(>main>#publicWatchLayout.mobile-watch-overview:not([hidden]),>main>#bookmarkDialog.operator-mobile-watch:not([hidden],.video-detached) #bookmarkPlayerWrap>:where(iframe,#bookmarkPlayer)) #watchMenu:not([hidden]){
  position:absolute;top:1px;inset-inline-end:2px;display:grid;place-items:center;
  width:44px;height:34px;min-height:0;padding:0;border:0;border-radius:6px;background:transparent;
  color:#fff;font:700 20px/1 Arial,sans-serif;cursor:pointer;
 }
 body.watch-menu-ready:has(>main>#publicWatchLayout.mobile-watch-overview:not([hidden]),>main>#bookmarkDialog.operator-mobile-watch:not([hidden],.video-detached) #bookmarkPlayerWrap>:where(iframe,#bookmarkPlayer)) #watchMenu:focus-visible{outline:2px solid #ffc95f;outline-offset:-4px}
}

/* On desktop, the LIVE card and player share the left sticky grid item. */
@media (min-width:900px){
 #publicWatchLayout.desktop-watch-overview{
  --desktop-watch-top:calc(var(--watch-header-height,60px) + 8px);
  --live-panel-height:8rem;--desktop-watch-extra:42px;
 }
 #bookmarkDialog.operator-desktop-watch{
  --desktop-watch-top:calc(var(--operator-watch-header-height,60px) + 8px);
  --live-panel-height:9.75rem;--desktop-watch-extra:16px;
 }
 #publicWatchLayout.desktop-watch-overview #publicWatchHeader,
 #bookmarkDialog.operator-desktop-watch:not(.video-detached) .operator-media{
  display:block;position:sticky;top:var(--desktop-watch-top);z-index:5;
  min-width:0;align-self:start;justify-self:center;
  /* Leave vertical space for the compact card and the video help link. */
  width:min(100%,calc(max(100px,100vh - var(--desktop-watch-top) - var(--live-panel-height) - var(--desktop-watch-extra))*16/9));
  width:min(100%,calc(max(100px,100dvh - var(--desktop-watch-top) - var(--live-panel-height) - var(--desktop-watch-extra))*16/9));
 }
 #publicWatchLayout.desktop-watch-overview #publicBroadcast{position:static;width:100%;margin:0}
 #publicWatchLayout.desktop-watch-overview #publicBroadcast .public-broadcast-frame,
 #bookmarkDialog.operator-desktop-watch:not(.video-detached) #bookmarkPlayerWrap{width:100%;height:auto;max-height:none;aspect-ratio:16/9}
 #publicWatchLayout.desktop-watch-overview #publicBroadcast p{margin:6px 0 0}
 #bookmarkDialog.operator-desktop-watch #operatorLiveSlot[hidden]{display:none}
 :is(#publicWatchLayout.desktop-watch-overview,#bookmarkDialog.operator-desktop-watch) #livePanel{
  margin:0 0 8px;padding:8px 10px;border-radius:8px;
 }
 :is(#publicWatchLayout.desktop-watch-overview,#bookmarkDialog.operator-desktop-watch) .current-live-head{font-size:14px;line-height:1.35}
 :is(#publicWatchLayout.desktop-watch-overview,#bookmarkDialog.operator-desktop-watch) #liveTitle{min-width:0;overflow-wrap:anywhere}
 :is(#publicWatchLayout.desktop-watch-overview,#bookmarkDialog.operator-desktop-watch) #livePlayers{margin-top:5px}
 :is(#publicWatchLayout.desktop-watch-overview,#bookmarkDialog.operator-desktop-watch) #livePlayers>div{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
 :is(#publicWatchLayout.desktop-watch-overview,#bookmarkDialog.operator-desktop-watch) #livePlayers>div>div{min-width:0;padding:5px 6px;overflow-wrap:anywhere}
}
