.wall-watch-toolbar[hidden], .wall-watch-toolbar [hidden], .wall-pip-resize[hidden] { display: none !important; }
.wall-netflix-fullscreen-button[hidden] { display: none !important; }
.wall-watch-active .wall-netflix-fullscreen-button {
  position: absolute; top: 18px; right: 18px; z-index: 101; padding: 10px 16px;
  border: 1px solid #d9f46c; border-radius: 9px; background: #111d1bee; color: #e7fc9b;
  font: 700 15px/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-shadow: 0 3px 16px #000a; cursor: pointer;
}
.wall-watch-active .wall-netflix-fullscreen-button:hover,
.wall-watch-active .wall-netflix-fullscreen-button:focus-visible { background: #304723; outline: 2px solid #d9f46c; }
.wall-netflix-slowdown-button[hidden] { display: none !important; }
.wall-watch-active .wall-netflix-slowdown-button {
  position: absolute; top: 72px; right: 18px; z-index: 101; padding: 9px 14px;
  border: 1px solid #f5b1a5; border-radius: 9px; background: #261c1bee; color: #fff;
  font: 700 13px/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-shadow: 0 3px 16px #000a; cursor: pointer;
}
.wall-watch-active .wall-netflix-slowdown-button:hover,
.wall-watch-active .wall-netflix-slowdown-button:focus-visible { background: #59403b; outline: 2px solid #f5b1a5; }
.player-grid.wall-watch-active {
  display: block !important; position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100vh !important;
  max-width: none !important; max-height: none !important; margin: 0 !important; padding: 0 !important; z-index: 10000;
  overflow: hidden; background: #000; isolation: isolate; border: 0; border-radius: 0;
}
body.sports-match-fullscreen .player-overlay > .player-toolbar,
body.sports-match-fullscreen .player-overlay > .player-hint { display: none !important; }
.player-grid.wall-watch-active::before {
  content: ''; position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; pointer-events: none;
}
.player-grid.wall-watch-active[data-wall-background="grass"]::before { background-image: url('./backgrounds/Conference-Stadium-Grass-4K.png'); }
.player-grid.wall-watch-active[data-wall-background="hockey"]::before { background-image: url('./backgrounds/Conference-Hockey-Ice-Low-Angle-4K.png'); }
.wall-watch-active .player-tile.wall-watch-tile {
  position: absolute !important; left: 0 !important; top: 0 !important;
  transform: translate3d(var(--wall-x), var(--wall-y), 0) !important;
  width: var(--wall-width) !important; height: var(--wall-height) !important; z-index: var(--wall-z, 1);
  min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
  display: block !important; border: 0 !important; border-radius: 0 !important; overflow: hidden;
  background: #000; transition: none !important; animation: none !important; contain: layout paint; backface-visibility: hidden;
}
.wall-watch-active .player-tile.wall-pip-moving { will-change: transform; }
.wall-watch-active .player-tile.wall-inactive-tile { visibility: hidden; pointer-events: none; }
.wall-watch-active .player-tile.wall-pip-tile { border-radius: 5px !important; box-shadow: 0 0 0 2px rgba(255,255,255,.92), 0 5px 20px #0008; touch-action: none; cursor:grab; }
.wall-watch-active .player-tile video { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.wall-watch-active .player-tile .player-tile-header { position: absolute; inset: 0 0 auto; z-index: 5; padding: 9px 11px; background: linear-gradient(#000c, transparent); pointer-events: none; }
.wall-watch-active .player-tile-title small { display: none; }
.wall-seek-controls[hidden] { display: none !important; }
.wall-watch-active .player-tile .wall-seek-controls {
  position: absolute; left: 18px; right: 18px; bottom: 48px; z-index: 9; display: flex; align-items: center; gap: 10px;
  min-height: 42px; padding: 7px 12px; border: 1px solid #ffffff35; border-radius: 9px; background: #0d1415e8;
  color: #fff; font: 600 12px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; box-shadow: 0 3px 14px #0009;
}
.wall-watch-active .player-tile:not(.wall-main-tile) .wall-seek-controls,
.wall-watch-active[data-wall-mode="grid"] .player-tile .wall-seek-controls { left: 6px; right: 6px; bottom: 32px; min-height: 27px; gap: 5px; padding: 3px 6px; font-size: 9px; }
.wall-watch-active .player-tile:not(.wall-main-tile) .wall-seek-current,
.wall-watch-active .player-tile:not(.wall-main-tile) .wall-seek-end,
.wall-watch-active[data-wall-mode="grid"] .player-tile .wall-seek-current,
.wall-watch-active[data-wall-mode="grid"] .player-tile .wall-seek-end { min-width: 36px; }
.wall-watch-active .player-tile:not(.wall-main-tile) .wall-seek-controls input[type="range"],
.wall-watch-active[data-wall-mode="grid"] .player-tile .wall-seek-controls input[type="range"] { min-width: 0; }
.wall-seek-controls input[type="range"] { flex: 1; min-width: 100px; accent-color: #d9f46c; cursor: pointer; }
.wall-seek-current, .wall-seek-end { min-width: 52px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wall-seek-end { text-align: right; }
.wall-tile-actions[hidden] { display: none !important; }
.wall-watch-active .wall-tile-actions {
  position: absolute; left: 10px; bottom: 8px; z-index: 11; display: flex; align-items: center; gap: 18px;
  color: #d7dfdf; font: 700 11px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.wall-watch-active .wall-tile-actions button {
  appearance: none; border: 0; padding: 5px 0; background: transparent; color: inherit; font: inherit; cursor: pointer;
  text-shadow: 0 1px 3px #000;
}
.wall-watch-active .wall-tile-actions button:hover,
.wall-watch-active .wall-tile-actions button:focus-visible,
.wall-watch-active .wall-tile-actions button.is-active { color: #ddf378; outline: none; }
.wall-watch-active .player-tile:not(.wall-main-tile) .wall-tile-actions,
.wall-watch-active[data-wall-mode="grid"] .player-tile .wall-tile-actions { left: 7px; bottom: 4px; gap: 11px; font-size: 9px; }
.wall-watch-active .player-tile .player-message { z-index: 8; }
.wall-pip-resize { position: absolute; bottom: 0; right: 0; z-index: 12; width: 38px; height: 38px; border: 0; padding: 0; background: transparent; cursor: nwse-resize; touch-action: none; }
.wall-pip-resize::after { content: ''; position: absolute; right: 5px; bottom: 5px; width: 14px; height: 14px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; filter: drop-shadow(0 1px 2px #000); }
.wall-pip-resize:focus-visible { outline: 2px solid #ddf378; outline-offset: -3px; }
.wall-watch-toolbar {
  position: absolute; top: auto; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 100;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: start; width: max-content; max-width: calc(100% - 24px);
  padding: 12px; border: 1px solid #ffffff35; border-radius: 12px; background: #10181bf2; color: #fff; box-shadow: 0 6px 24px #0008;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  opacity: 0; pointer-events: none; transform: translate(-50%, calc(100% + 28px)); transition: transform .24s ease, opacity .18s ease;
}
.wall-watch-active.wall-toolbar-expanded .wall-watch-toolbar { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.wall-toolbar-edge[hidden] { display: none !important; }
.wall-toolbar-edge { position: absolute; left: 50%; bottom: 0; z-index: 99; width: min(430px, 62vw); height: 38px; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; border: 1px solid #ffffff35; border-bottom: 0; border-radius: 12px 12px 0 0; background: #10181be8; color: #d9f46c; font: 700 11px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: .04em; cursor: pointer; transition: opacity .18s ease, transform .18s ease; }
.wall-toolbar-edge::before { content: ''; width: 42px; height: 4px; margin-right: 9px; border-radius: 4px; background: #d9f46c; opacity: .85; }
.wall-toolbar-expanded .wall-toolbar-edge { opacity: 0; pointer-events: none; transform: translate(-50%, 100%); }
.wall-watch-toolbar label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: #c5cece; }
.wall-watch-toolbar select, .wall-watch-toolbar button { min-height: 36px; padding: 6px 10px; border: 1px solid #6b7878; border-radius: 6px; background: #253234; color: white; font: inherit; font-size: 13px; cursor: pointer; }
.wall-watch-toolbar select { max-width: 210px; }
.wall-watch-toolbar button:hover, .wall-watch-toolbar select:focus { background: #354847; border-color: #d7f076; }
.wall-watch-toolbar .wall-primary-command { border-color: #9eb751; background: #344321; color: #e3f784; font-weight: 700; }
.wall-watch-help { width: 100%; text-align: center; color: #bdcaca; font-size: 11px; }
.wall-pip-toggles { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.wall-pip-toggles button[aria-pressed="true"] { color: #ddf378; border-color: #c7db73; }
.wall-pip-toggles button:disabled { opacity: .4; cursor: default; }
.wall-watch-active.wall-controls-hidden { cursor: none; }
.wall-controls-hidden .wall-watch-toolbar, .wall-controls-hidden .wall-toolbar-edge, .wall-controls-hidden .wall-netflix-fullscreen-button, .wall-controls-hidden .wall-netflix-slowdown-button, .wall-controls-hidden .player-tile-header, .wall-controls-hidden .wall-pip-resize, .wall-controls-hidden .wall-seek-controls, .wall-controls-hidden .wall-tile-actions { opacity: 0; pointer-events: none; }
.wall-controls-hidden .player-tile.wall-pip-tile { cursor: none; }
@media (max-width: 650px) { .wall-watch-toolbar { gap: 5px; padding: 8px; } .wall-watch-toolbar select { max-width: 145px; } .wall-watch-help { display: none; } }
