/* One continuous story: flight, film, then the shared interactive comparison. */
@media (min-width:960px) {
  #top .hero-live-controls { opacity: 1 !important; }
  #comparison-3d { scroll-margin-top: 30px; }
  #comparison-3d:focus { outline: none; }
  #competition.comp-refined .comp-film-controls button[data-comp-film-fullscreen] { background: transparent; color: #d4bd85; border-color: #d4bd8575; }
  #competition.comp-refined .comp-film-controls button[data-comp-film-fullscreen]:hover { background: #d4bd8520; color: #f2dfb5; }
  #competition.comp-refined .comp-film-controls button[data-comp-film-explore] { min-width: 152px; }
  .comp-case-summary { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
  .comp-case-summary strong { font-size: 19px; font-weight: 400; color: #eeece2; }
  .comp-case-summary [data-comp-input-label] { color: #d4bd85; font-size: 12px; }
  .comp-workbench-actions { display: flex; align-items: center; gap: 14px; }
  #competition.comp-refined .comp-back-flight { display: inline-flex; align-items: center; gap: 14px; min-height: 42px; padding: 10px 14px; border: 1px solid #d4bd858c; border-radius: 3px; background: #d4bd8508; color: #dfc68e; font-size: 13px; white-space: nowrap; transition: background .18s,border-color .18s; }
  #competition.comp-refined .comp-back-flight:hover { background: #d4bd8520; border-color: #d4bd85; }
  #competition.comp-refined .comp-pair { --split-top:42%; --split-bottom:58%; --split-center:50%; }
  /* Every case uses the shared viewport height and heading from interaction-74.css. */
  #competition.comp-refined .comp-diagonal { z-index: 4; filter: none; }
  #competition.comp-refined .comp-diagonal line,
  #competition.comp-refined .comp-diagonal path { fill: none; stroke: #927841; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
  #competition.comp-refined .comp-diagonal path[data-comp-leader=right] { stroke: #7a817c; }
  .comp-stage-label { position: absolute; z-index: 5; pointer-events: none; padding: 7px 10px; border-radius: 3px; background: #18201be8; font-size: 15px; line-height: 1.25; }
  .comp-stage-label.is-supra { top: 20px; left: 20px; color: #e4c884; }
  .comp-stage-label.is-commercial { bottom: 20px; right: 20px; color: #f1f2ec; }
  [data-reveal=right] .comp-stage-label.is-supra, [data-reveal=left] .comp-stage-label.is-commercial { visibility: hidden; }
  [data-reveal=right] [data-comp-leader=left], [data-reveal=left] [data-comp-leader=right] { display: none; }
  #competition.comp-refined .comp-split-handle {
    position: absolute; z-index: 6; left: clamp(23px,var(--split-center),calc(100% - 23px)); top: 50%;
    transform: translate(-50%,-50%); display: grid; place-items: center; width: 44px; height: 44px;
    padding: 0; border: 1px solid #e4cf9a; border-radius: 50%; background: #20291ff0; color: #ecd7a6;
    box-shadow: 0 2px 12px #0003; cursor: ew-resize; touch-action: none;
    transition: background .16s,box-shadow .16s;
  }
  #competition.comp-refined .comp-split-handle:hover, #competition.comp-refined .comp-split-handle:focus-visible,
  #competition.comp-refined .is-splitting .comp-split-handle { background: #d4bd85; color: #1b231b; box-shadow: 0 0 0 5px #d4bd8530,0 2px 12px #0003; }
  .comp-split-handle svg { width: 24px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .comp-split-handle>span { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); padding: 6px 10px; background: #18201bf5; border: 1px solid #d4bd8570; border-radius: 3px; color: #e4d1a6; font-size: 11px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .16s; }
  .comp-split-handle:hover>span, .comp-split-handle:focus-visible>span { opacity: 1; }
  #competition.comp-refined .comp-case-tabs { grid-template-columns: repeat(5,minmax(0,1fr)); }
  #competition.comp-refined .comp-case-tabs button { grid-template-columns: 54px minmax(0,1fr); gap: 0 10px; padding: 10px; }
  #competition.comp-refined .comp-case-tabs button>img { width: 54px; height: 60px; }
  #competition.comp-refined .comp-case-tabs button>.comp-case-name { font-size: 14px; }
  #competition.comp-refined [data-mode="3d"] [data-status=loading] .comp-render { opacity: 1; }
  #competition.comp-refined .comp-stage-status { inset: auto 15px 60px 15px; width: fit-content; padding: 9px 13px; background: #1d261cec; border: 1px solid #c7b99550; border-radius: 3px; color: #e8e5d8; font-size: 12px; gap: 8px; }
  #competition.comp-refined [data-comp-pane=right] .comp-stage-status { inset: auto 15px 60px auto; }
  #competition.comp-refined .comp-stage-status button { color: #ead4a3; border-color: #d4bd8590; padding: 6px 10px; }
  @media(max-width:1180px) {
    #competition.comp-refined .comp-mode-tabs button[data-comp-mode] { min-width: 106px; padding-inline: 12px; font-size: 13px; }
    .comp-workbench-actions { gap: 9px; }
    #competition.comp-refined .comp-back-flight { padding-inline: 10px; gap: 9px; font-size: 12px; }
    #competition.comp-refined .comp-case-tabs button { grid-template-columns: 42px minmax(0,1fr); gap: 0 8px; padding: 9px; }
    #competition.comp-refined .comp-case-tabs button>img { width: 42px; height: 54px; }
    #competition.comp-refined .comp-case-tabs button>.comp-case-name { font-size: 12px; }
    .comp-stage-label { font-size: 12px; }
    .comp-stage-label.is-supra { top: 14px; left: 14px; }
    .comp-stage-label.is-commercial { bottom: 14px; right: 14px; }
  }
}
@media(prefers-reduced-motion:reduce) {
  .comp-split-handle, .comp-split-handle>span, .comp-back-flight { transition: none !important; }
}
