/* Compact workspace while an analysis is open; the full navigation is one tap away. */
.analysis-menu-toggle, .recent-actions-toggle { display: none; }

body[data-match-active="true"] {
  --topbar-height: 52px;
  --analysis-scorebar-height: 116px;
}

body[data-match-active="true"] .topbar { min-height: 52px; padding: 5px 14px; }
body[data-match-active="true"] .topbar .brand-block { flex: 0 1 auto; gap: 7px; }
body[data-match-active="true"] .topbar .club-logo { width: 34px; height: 34px; }
body[data-match-active="true"] .topbar .eyebrow,
body[data-match-active="true"] .topbar .project-credit,
body[data-match-active="true"] .topbar .mobile-nav-hint { display: none; }
body[data-match-active="true"] .topbar h1 { font-size: 18px; white-space: nowrap; }
body[data-match-active="true"] .analysis-menu-toggle {
  display: inline-flex; align-items: center; min-height: 38px;
  padding: 5px 13px; border: 1px solid var(--line); border-radius: 7px;
  background: white; font-weight: 800;
}
body[data-match-active="true"] .topbar .tabs { display: none; }
body[data-match-active="true"] .topbar.menu-open .tabs:not([hidden]) {
  display: flex; position: absolute; top: 100%; right: 10px;
  width: min(720px, calc(100vw - 20px)); max-height: min(70dvh, 480px);
  padding: 12px; overflow: auto; border: 1px solid var(--line);
  border-radius: 9px; background: white; box-shadow: var(--shadow); z-index: 20;
}

body[data-match-active="true"] #analysis-view .workbench.video-mode .competitor-status-bar {
  gap: 4px; padding: 5px; position: relative;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode .competitor-status-bar .side-panel {
  grid-template-columns: minmax(0, 1fr); gap: 0;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode .competitor-status-bar .score-side {
  min-height: 76px; padding: 6px 10px; row-gap: 0; border-width: 1px;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode .score-side strong { font-size: 32px; }
body[data-match-active="true"] #analysis-view .workbench.video-mode .score-side small { font-size: 11px; line-height: 1.15; }
body[data-match-active="true"] #analysis-view .workbench.video-mode .quick-action-log { display: none; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.show-recent .quick-action-log {
  display: grid; max-height: 110px; overflow: auto;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode .recent-actions-toggle {
  display: inline-flex; grid-column: 1 / -1; justify-self: center;
  min-height: 27px; padding: 2px 10px; border: 1px solid var(--line);
  border-radius: 6px; background: white; font-size: 11px; font-weight: 800;
}

body[data-match-active="true"] #analysis-view .workbench.video-mode .youtube-player.has-youtube,
body[data-match-active="true"] #analysis-view .workbench.video-mode video.has-video {
  width: min(100%, 720px, calc((100dvh - 335px) * 16 / 9));
  max-width: 100%; max-height: min(46dvh, 430px);
  aspect-ratio: 16 / 9; margin-inline: auto;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode video.has-video { object-fit: contain; }

.video-capture-details > summary {
  cursor: pointer; list-style: none; padding: 5px 0;
  font-size: 12px; font-weight: 800; color: #334155;
}
.video-capture-details > summary::-webkit-details-marker { display: none; }
.video-capture-details > summary::before { content: "▸ "; }
.video-capture-details[open] > summary::before { content: "▾ "; }
.video-capture-details:not([open]) { border-bottom: 1px solid var(--line); }
.video-history { display: none; }

@media (max-width: 1199px) {
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history:not([hidden]) {
    display: block; min-width: 0; max-height: 34dvh; overflow: auto;
    padding: 8px; border: 1px solid var(--line); border-radius: 8px;
    background: white; overscroll-behavior: contain;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .timeline { min-height: 0; max-height: none; overflow: visible; }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history h3 { margin: 0; }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-history-sequence { margin: 6px 0; border: 1px solid var(--line); border-radius: 6px; }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-history-sequence > details > summary { padding: 8px; cursor: pointer; font-weight: 800; }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-history-sequence > details > summary small { display: block; color: #475569; font-weight: 500; }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-history-expanded { display: grid; gap: 5px; padding: 8px; }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-history-expanded button { min-height: 40px; padding: 6px; border: 1px solid var(--line); border-radius: 6px; background: white; text-align: left; }
}
@media (min-width: 800px) and (max-width: 1199px) {
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history { grid-column: 1; grid-row: 3; }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .control-panel { grid-column: 2; grid-row: 2 / 4; }
}
@media (max-width: 799px) {
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history { grid-column: 1 / -1; order: 3; }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .control-panel { order: 4; }
}

@media (min-width: 1200px) {
  body[data-match-active="true"] #analysis-view .workbench.video-mode {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 270px) minmax(345px, 400px);
    grid-template-rows: auto minmax(0, 1fr); align-items: start;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .competitor-status-bar {
    grid-column: 1 / -1; grid-row: 1;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-panel {
    grid-column: 1; grid-row: 2; min-width: 0;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history:not([hidden]) {
    display: block; grid-column: 2; grid-row: 2; min-width: 0;
    position: sticky; top: calc(var(--topbar-height) + 8px);
    max-height: calc(100dvh - var(--topbar-height) - 18px); overflow: auto;
    padding: 10px; border: 1px solid var(--line); border-radius: 8px;
    background: white; overscroll-behavior: contain;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history h3 {
    margin: 0 0 3px; font-size: 15px;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history > small {
    display: block; margin-bottom: 8px; color: #475569;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .timeline {
    min-height: 0; max-height: none; overflow: visible; gap: 5px;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .timeline-action {
    min-height: 38px; padding: 6px 8px; font-size: 11px; line-height: 1.25;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .timeline-action strong {
    margin: 2px 0; font-size: 11px;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .timeline-tools button {
    min-height: 28px; padding: 2px 6px; font-size: 11px;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .timeline-sequence.is-selected .timeline-action {
    border-color: #197351; background: #eff9f3;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-history-sequence {
    margin: 0 0 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-history-sequence.is-selected {
    border-color: #197351; background: #f3faf5;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-history-sequence > details > summary {
    padding: 9px; cursor: pointer; font-size: 12px; font-weight: 800;
    line-height: 1.3; overflow-wrap: anywhere;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-history-sequence > details > summary small {
    display: block; margin: 3px 0 0 17px; color: #475569; font-weight: 600;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-history-expanded {
    display: grid; gap: 5px; padding: 4px 8px 9px;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-history-expanded button {
    min-height: 34px; padding: 5px 7px; border: 1px solid var(--line);
    border-radius: 6px; background: white; font-size: 11px; font-weight: 700;
    text-align: left; overflow-wrap: anywhere;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-sequence-add { margin: 3px 0; }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-sequence-add button {
    flex-basis: 50%; text-align: center; font-size: 11px;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-mark-row {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-left: 5px;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-mark-row > button:first-child,
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-mark-row > [data-vr-command="quick"] {
    grid-column: 1 / -1;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-mark-row button small {
    display: block; font-weight: 600; color: #475569;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-history-independent button {
    width: 100%; min-height: 36px; padding: 6px; border: 1px solid var(--line);
    border-radius: 6px; background: white; text-align: left; font-size: 11px;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode .control-panel {
    grid-column: 3; grid-row: 2; min-width: 0;
    top: calc(var(--topbar-height) + 8px);
    max-height: calc(100dvh - var(--topbar-height) - 18px);
  }
}
@media (min-width: 800px) {
  body[data-match-active="true"] .video-review-editor[open] {
    position: fixed; top: calc(var(--topbar-height) + 8px); right: 14px; left: auto;
    width: min(410px, calc(100vw - 28px)); max-height: calc(100dvh - var(--topbar-height) - 22px);
    margin: 0; overflow: auto;
  }
}

/* Scored sequences retain their corner colors when selected or expanded. */
body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-history-sequence.scores-red > details > summary,
body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .timeline-sequence.scores-red .timeline-action {
  background: #fff0ed; box-shadow: inset 6px 0 var(--red);
}
body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-history-sequence.scores-blue > details > summary,
body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .timeline-sequence.scores-blue .timeline-action {
  background: #edf5ff; box-shadow: inset 6px 0 var(--blue);
}
body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-history-sequence.scores-both > details > summary,
body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .timeline-sequence.scores-both .timeline-action {
  background: linear-gradient(90deg, #fff0ed 0 50%, #edf5ff 50% 100%);
  box-shadow: inset 3px 0 var(--red), inset 6px 0 var(--blue);
}

body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-sequence-score {
  display: block; margin: 4px 0 0 17px; color: #172554; font-size: 11px;
  font-weight: 650; line-height: 1.3;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-sequence-tools {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode .video-history .video-sequence-tools [data-vr-command="delete-sequence"] {
  grid-column: 1 / -1; color: #9b1b15; background: #fff5f3;
  border-color: #e6b3ad;
}

@media (min-width: 1100px) {
  body[data-match-active="true"] #analysis-view .workbench.video-mode .control-panel {
    top: calc(var(--topbar-height) + var(--analysis-scorebar-height) + 12px);
    max-height: calc(100dvh - var(--topbar-height) - var(--analysis-scorebar-height) - 22px);
  }
}
@media (min-width: 1200px) {
  body[data-match-active="true"] #analysis-view .workbench.video-mode .control-panel {
    top: calc(var(--topbar-height) + 8px);
    max-height: calc(100dvh - var(--topbar-height) - 18px);
  }
}

/* Keep the clock and video controls in the normal flow, never underneath the scorebar. */
body[data-match-active="true"] #analysis-view .workbench .competitor-status-bar,
body[data-match-active="true"] #analysis-view .workbench.video-mode .competitor-status-bar {
  grid-row: 1;
  position: static;
  top: auto;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode .video-panel {
  grid-row: 2;
  align-self: start;
  overflow: visible;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode .timer-strip {
  position: relative;
  z-index: 1;
  min-height: 76px;
  grid-template-columns: minmax(70px, auto) minmax(0, 1fr);
  align-items: center;
  background: var(--panel);
}
body[data-match-active="true"] #analysis-view .workbench.video-mode .timer-strip > div {
  min-width: 0;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode #time-display {
  display: block;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode .video-review-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
  padding: 8px 10px;
  background: var(--panel);
}
body[data-match-active="true"] #analysis-view .workbench.video-mode .video-seek-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode .video-seek-group button {
  min-height: 38px;
  min-width: 49px;
  padding: 5px 9px;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 800px) {
  body[data-match-active="true"] #analysis-view .workbench .control-panel,
  body[data-match-active="true"] #analysis-view .workbench.video-mode .control-panel {
    top: calc(var(--topbar-height) + 8px);
    max-height: calc(100dvh - var(--topbar-height) - 18px);
  }
}


/* First pass gives the video the space previously taken by technique controls. */
body[data-match-active="true"] #analysis-view .workbench.video-mode.first-pass-mode {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode.first-pass-mode .competitor-status-bar { grid-column: 1 / -1; grid-row: 1; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.first-pass-mode .video-panel { grid-column: 1; grid-row: 2; min-width: 0; position: static; max-height: none; overflow: visible; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.first-pass-mode .control-panel { display: none; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.first-pass-mode .video-history:not([hidden]) { grid-column: 1; grid-row: 3; position: static; max-height: none; overflow: visible; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.first-pass-mode .youtube-player.has-youtube,
body[data-match-active="true"] #analysis-view .workbench.video-mode.first-pass-mode video.has-video { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: none; }
.video-view-controls { padding: 8px; }
#video-first-pass[aria-pressed="true"] { color: #07518b; border-color: #07518b; background: #eaf4fc; }
@media (min-width: 1100px) {
  body[data-match-active="true"] #analysis-view .workbench.video-mode.first-pass-mode { grid-template-columns: minmax(0, 1fr) minmax(240px, 22%); }
  body[data-match-active="true"] #analysis-view .workbench.video-mode.first-pass-mode .video-history:not([hidden]) { grid-column: 2; grid-row: 2; }
}

/* During capture the sidebar is exclusively for the sequences being created. */
body[data-match-active="true"] #analysis-view .workbench.video-mode.first-pass-mode #tracker-analysis-events,
body[data-match-active="true"] #analysis-view .workbench.video-mode.first-pass-mode .sequence-imported-reference { display: none !important; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.first-pass-mode .video-history:not([hidden]) {
  max-height: calc(100dvh - var(--topbar-height, 70px) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media (min-width: 1100px) {
  body[data-match-active="true"] #analysis-view .workbench.video-mode.first-pass-mode .video-history:not([hidden]) { position: sticky; top: calc(var(--topbar-height, 70px) + 8px); }
}

/* Technical review: video left, action editor centre, collapsible sequences right. */
#video-tech-shortcuts[hidden], .video-tech-navigation { display: none; }
.technical-mode .video-tech-navigation { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.technical-mode .video-tech-keys { display: none; }
#video-tech-shortcuts { padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: white; margin-bottom: 8px; }
#video-tech-shortcuts p, #video-tech-shortcuts small { font-size: 12px; margin: 6px 0; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode :is(#video-capture-details, #video-review-context, .video-review-guide, #video-quick-leader, #tracker-analysis-events, .video-review-controls[aria-label="Moverse por el vídeo"]) { display: none !important; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode {
  grid-template-columns: minmax(0, 1fr); align-items: start;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .competitor-status-bar { grid-column: 1 / -1; grid-row: 1; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .video-panel {
  grid-column: 1; grid-row: 2; min-width: 0; position: static; max-height: none; overflow: visible;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .youtube-player.has-youtube,
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode video.has-video {
  width: 100%; height: auto; max-height: none; aspect-ratio: 16 / 9;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .timer-strip { min-height: 44px; padding-block: 4px; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode #time-display { font-size: 28px; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .control-panel {
  display: block; grid-column: 1; grid-row: 3; min-width: 0; position: static;
  max-height: calc(100dvh - var(--topbar-height, 70px) - 24px); overflow-y: auto; overscroll-behavior: contain;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .video-history:not([hidden]) {
  display: block; grid-column: 1; grid-row: 4; min-width: 0; position: static;
  max-height: calc(100dvh - var(--topbar-height, 70px) - 24px); overflow-y: auto; overscroll-behavior: contain;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-followup .action-flow > :not(#sequence-followup) { display: none !important; }
#video-back-sequences { margin-bottom: 8px; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode #sequence-followup { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode #sequence-followup > button { width: 100%; height: auto; min-height: 44px; padding: 10px 12px; line-height: 1.3; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode :is(.control-panel, .video-history) button {
  min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; box-sizing: border-box;
}
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode :is(.action-flow, .flow-step, .video-history-expanded, .video-sequence-tools, .phase-two-toolbar, .action-flow-header, .action-flow-header > div) { min-width: 0; max-width: 100%; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .video-sequence-add { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .video-review-panel { padding: 6px 10px; }
body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .video-review-focus-label { margin-top: 4px; }
@media (min-width: 980px) {
  body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode { grid-template-columns: minmax(0, 1.35fr) minmax(290px, 1fr) minmax(200px, .62fr); }
  body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .control-panel {
    grid-column: 2; grid-row: 2; position: sticky; top: calc(var(--topbar-height, 70px) + 8px);
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .video-history:not([hidden]) {
    grid-column: 3; grid-row: 2; position: sticky; top: calc(var(--topbar-height, 70px) + 8px);
  }
}

/* Tablet analysis: two readable columns in landscape, natural flow in portrait. */
@media (min-width: 800px) and (max-width: 1366px) {
  body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
    grid-template-rows: auto auto auto; gap: 12px; align-items: start;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .video-panel { grid-column: 1; grid-row: 2; }
  body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .control-panel {
    grid-column: 2; grid-row: 2 / 4; position: static; min-height: 0; max-height: none; overflow: visible;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .video-history:not([hidden]) {
    grid-column: 1; grid-row: 3; position: static; min-height: 0; max-height: 420px; overflow-y: auto;
  }
}
@media (max-width: 1366px) and (orientation: portrait) {
  body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode {
    display: flex; flex-direction: column; gap: 12px;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode > * {
    width: 100%; min-width: 0; box-sizing: border-box;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .competitor-status-bar { order: 0; }
  body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .video-panel { order: 1; }
  body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .control-panel {
    order: 2; position: static; min-height: 0; max-height: none; overflow: visible;
  }
  body[data-match-active="true"] #analysis-view .workbench.video-mode.technical-mode .video-history:not([hidden]) {
    order: 3; position: static; min-height: 0; max-height: none; overflow: visible;
  }
}
@media (max-width: 1366px) {
  #analysis-view .analysis-entry { flex-wrap: wrap; }
  #analysis-view .analysis-status-filters { flex-wrap: wrap; }
  #analysis-view .analysis-status-filters button { min-height: 44px; white-space: normal; }
  #analysis-view .workbench.video-mode :is(.video-panel,.control-panel,.video-history) { min-width: 0; }
  body[data-match-active="true"] #analysis-view .workbench.video-mode :is(.video-seek-group button,.video-tech-navigation button,.video-history-expanded button) { min-height: 44px; }
}

