.matchups {
  margin: 1rem 0;
  padding: 1.2rem 1.4rem;
  background: #292431;
  color: #f4e8e0;
  border-radius: 8px;
}
.explore-heading,
.scope-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}
.explore-heading {
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.explore-heading h2,
.explore-heading h3 {
  margin: 0;
}
.matchups h2 {
  font:
    800 1.75rem/1.05 "Barlow Film",
    sans-serif;
  text-transform: uppercase;
}
.matchups a {
  color: #ffc6a4;
}
.match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
  gap: 0.65rem;
}
a.match-card {
  display: grid;
  align-content: start;
  gap: 0.3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #6b586b;
  border-radius: 4px;
  text-decoration: none;
  color: #fff3e8;
  background: #352d3c;
}
.match-card small,
.cue-time,
.verdict-history time {
  font-family: ui-monospace, monospace;
}
.match-card small {
  color: #ffc2a2;
}
.match-card span {
  font-size: 0.85rem;
  color: #ddd1e0;
}
.match-card:hover,
.match-card:focus-visible {
  border-color: #ffb087;
  background: #453748;
}
.matchups .small {
  color: #dfd5dd;
  margin-bottom: 0;
}
.scope-bar {
  margin: 0.85rem 0;
}
.scope-bar button,
.transcript-form button {
  padding: 0.6rem 0.9rem;
}
.transcript-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.transcript-form > div {
  display: flex;
  gap: 0.4rem;
  max-width: 52rem;
}
.transcript-form input {
  flex: 1;
  min-width: 0;
  font: inherit;
  padding: 0.75rem;
  border: 1px solid #87808c;
  border-radius: 4px;
}
.transcript-form button {
  background: #422d50;
  color: white;
}
.caption-hit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.caption-hit p {
  margin: 0.4rem 0;
  line-height: 1.5;
}
.caption-hit mark {
  color: #30212a;
  background: #ffd9a5;
}
.caption-hit small {
  color: var(--muted);
}
.hit-model {
  font-weight: 700;
}
.cue-time {
  background: #342c3d;
  color: white;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}
.trend-cols {
  display: flex;
  gap: 2px;
  height: 7.5rem;
  margin: 1rem 0 0.4rem;
  background: #efedf1;
}
.trend-cols > a,
.missing-month {
  min-width: 0;
  flex: 1;
}
.trend-cols > a {
  display: flex;
  flex-direction: column-reverse;
}
.trend-cols a:hover,
.trend-cols a[aria-current] {
  outline: 2px solid #231c26;
  z-index: 1;
}
.verdict-history {
  list-style: none;
  padding: 0;
}
.verdict-history li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  border-top: 1px solid var(--line);
  padding: 0.55rem 0;
}
.verdict-history time {
  font-size: 0.8rem;
}
.verdict-history a:last-child {
  margin-left: auto;
}
.sentiment-history .axis {
  margin-bottom: 1.5rem;
}
@media (max-width: 620px) {
  .mast-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.25rem 0.6rem;
    padding-block: 0.4rem;
  }
  .mast nav {
    flex-wrap: wrap;
  }
  .caption-hit {
    gap: 0.55rem;
  }
  .matchups {
    padding: 0.85rem;
  }
  .match-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trend-cols {
    gap: 1px;
  }
  .verdict-history a:last-child {
    margin-left: 0;
  }
}
.family-examples {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 1rem 0 1.4rem;
}
.version-chart {
  margin: 1.4rem 0;
  padding: 1rem;
  border-left: 4px solid #9470a2;
  background: #f0eaf2;
}
.version-chart h3 {
  margin: 0;
}
.version-chart ul {
  padding: 0;
  list-style: none;
}
.version-chart li {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) 2fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.55rem 0;
  border-top: 1px solid #d6cdd9;
}
.version-chart small {
  display: block;
  margin-top: 0.25rem;
}
.version-bar {
  display: flex;
  height: 1rem;
  background: #ddd6de;
  border-radius: 2px;
  overflow: hidden;
}
.diff-filter {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
button.match-launch,
.matchup-dialog [data-open] {
  background: #4b305c;
  color: #fff0e6;
  border: 1px solid #684678;
  font-weight: 750;
}
.matchup-dialog {
  box-sizing: border-box;
  width: min(52rem, 96vw);
  max-height: 91dvh;
  padding: 0;
  border: 1px solid #5f4b65;
  border-radius: 0.8rem;
  background: #f8f5ef;
  color: #231e28;
  box-shadow: 0 2rem 8rem #15101e77;
  overflow: auto;
}
.matchup-dialog::backdrop {
  background: rgb(21 16 28 / 0.75);
}
.matchup-dialog header,
.matchup-dialog footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.3rem;
  margin: 0;
}
.matchup-dialog header {
  background: #2a2033;
  color: #ffdfc9;
}
.matchup-dialog h2 {
  font:
    800 clamp(1.8rem, 5vw, 2.8rem)/1 "Barlow Film",
    sans-serif;
  text-transform: uppercase;
  margin: 0;
}
.matchup-dialog [data-close] {
  font-size: 1.3rem;
  line-height: 1;
  background: transparent;
  color: #fff;
  border: 1px solid #917f95;
}
.matchup-body {
  padding: 1rem 1.3rem;
}
.matchup-body h3 {
  font-size: 1rem;
  margin: 0 0 0.55rem;
}
.presets,
.duel,
.search-results {
  display: grid;
  gap: 0.6rem;
}
.presets {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.2rem;
}
.presets button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: end;
  text-align: left;
  padding: 0.65rem;
  min-height: 6.5rem;
  color: white;
  background: #29232e;
  border: 0;
}
.presets img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.presets button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(#17131ad9, #211927eb);
}
.presets small,
.duel small,
.suggestions small {
  display: block;
  font:
    600 0.78rem/1.3 ui-monospace,
    monospace;
}
.presets small {
  color: #ffbd94;
}
.presets strong,
.duel strong {
  display: block;
  margin: 0.25rem 0;
}
.presets em {
  font-style: normal;
  font-size: 0.85rem;
  color: #ecdce7;
}
.duel,
.search-results {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.duel button {
  text-align: left;
  color: #312436;
  background: #efe2dc;
  border: 1px solid #b99686;
  padding: 0.8rem;
}
.duel button + button {
  background: #e9e4f1;
  border-color: #afa1c2;
}
.duel span,
.draft-summary {
  font-size: 0.85rem;
}
.model-search {
  padding: 0.8rem;
  background: #ece7ed;
  margin: 0.5rem 0;
}
.model-search label,
.task-selection label {
  font-weight: 650;
}
.model-search input,
.task-selection select {
  display: block;
  width: 100%;
  margin: 0.3rem 0;
}
.search-results {
  max-height: 13rem;
  overflow: auto;
}
.search-results button {
  text-align: left;
}
.search-results small {
  display: block;
}
.suggestions {
  margin: 1rem 0;
}
.suggestions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.suggestions button {
  text-align: left;
}
.suggestions [aria-pressed="true"] {
  background: #44314d;
  color: white;
}
.task-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.task-selection p {
  width: 100%;
  margin: 0;
}
.task-selection label {
  flex: 1;
  min-width: 0;
}
.matchup-dialog footer {
  position: sticky;
  bottom: 0;
  background: #f8f5ef;
  border-top: 1px solid #cbbfc9;
  color: #453849;
}
.matchup-dialog [data-open] {
  padding: 0.7rem 1rem;
}
@media (max-width: 600px) {
  .matchup-dialog header,
  .matchup-dialog footer,
  .matchup-body {
    padding: 0.75rem;
  }
  .presets {
    display: flex;
    overflow-x: auto;
  }
  .presets button {
    flex: 0 0 46%;
    min-height: 5.8rem;
  }
  .search-results {
    grid-template-columns: 1fr;
  }
  .duel strong {
    overflow-wrap: anywhere;
  }
  .task-selection label {
    min-width: 70%;
  }
}
.reel-label {
  display: block;
  color: #ffe7d8;
  font-size: 0.88rem;
  margin-bottom: 0.7rem;
}
.moment-label {
  align-self: center;
  padding: 0 0.35rem;
  font-size: 0.85rem;
}
.rival-context {
  display: block;
  margin-top: 0.25rem;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 400;
}
button.sheet-cell {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}
.still-dialog.enlarged {
  width: min(96vw, 75rem);
  max-height: 94dvh;
  overflow: auto;
}
.frame-view h3 {
  margin: 0.6rem 0;
}
.frame-view > .sheet-frame {
  width: min(100%, calc(58dvh * 16 / 9));
  margin-inline: auto;
}
.frame-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding-top: 0.6rem;
}
@media (max-width: 620px) {
  .transport {
    flex-wrap: wrap;
  }
  .marquee .reel-label {
    margin-bottom: 0.3rem;
  }
  .matchup-dialog .draft-summary {
    max-width: 58%;
  }
  .frame-nav button {
    padding: 0.4rem;
  }
}

.presets [aria-pressed="true"] {
  outline: 3px solid #94512f;
  outline-offset: -3px;
}
.pair-shortcuts {
  display: none;
}
@media (max-width: 620px) {
  .pair-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0.65rem 0;
  }
  .pair-shortcuts button {
    display: grid;
    justify-items: start;
    align-content: start;
    gap: 0.3rem;
    padding: 0.55rem 0.65rem;
    text-align: left;
    border-top: 3px solid #a44323;
  }
  .pair-shortcuts button:last-child {
    border-top-color: #366472;
  }
  .pair-shortcuts strong {
    overflow-wrap: anywhere;
  }
  .pair-shortcuts small {
    font-weight: 600;
  }
}

.bench-explorer {
  margin: 0.65rem 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid #bcadba;
  border-radius: 4px;
  background: #f7f4ee;
}
.bench-explorer summary {
  cursor: pointer;
  font-weight: 700;
}
.bench-ideas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.65rem;
}
.bench-ideas:not(:empty) {
  margin-top: 0.7rem;
}
.bench-idea {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  border-left: 3px solid #78566e;
  background: #fff;
  padding: 0.75rem;
  color: #302637;
  text-decoration: none;
}
.bench-idea:hover,
.bench-idea:focus-visible {
  background: #f1e7ee;
}
.bench-idea span,
.bench-idea small {
  font-size: 0.85rem;
}
.bench-idea small {
  text-decoration: underline;
}
