/* Requested desktop-only change to the demo sidebar's purchase button. */
@media (min-width:700.01px) {
  body #main #proof .journey-rail > .rail-price-cta-v172 > .desktop-cta-price-v172 {
    display: none;
  }

  body #main #proof .journey-rail > .rail-price-cta-v172 > .desktop-cta-label-v172 {
    position: static;
    transform: none;
    width: auto;
    flex: 1;
    text-align: center;
  }
}

/* Mobile sound invitation: the same warm pill as desktop, scaled for the film. */
@media (max-width:700px) {
  body #main #hero-trailer-player #hero-trailer-sound-invite {
    position:absolute;
    z-index:6;
    top:12px;
    left:12px;
    display:block;
    max-width:calc(100% - 24px);
    min-height:0;
    margin:0;
    padding:0;
    pointer-events:none;
  }
  body #main #hero-trailer-player #hero-trailer-sound-invite[hidden],
  body #main #hero-trailer-player #hero-trailer-sound-invite[data-mode="settled"],
  body #main #hero-trailer-player #hero-trailer-sound-invite [hidden] {
    display:none;
  }
  body #main #hero-trailer-player #hero-trailer-enable-sound {
    width:auto;
    min-height:44px;
    gap:8px;
    padding:6px 13px 6px 6px;
    border:1px solid #fff0d0;
    border-radius:999px;
    background:#ffe2b5;
    color:#14372a;
    box-shadow:0 4px 16px #0003,0 0 0 3px #ffe2b51c;
    pointer-events:auto;
  }
  body #main #hero-trailer-enable-sound .hero-sound-disc-v53 {
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    border-radius:50%;
    background:#183e30;
    color:#ffe2b5;
  }
  body #main #hero-trailer-enable-sound .hero-sound-disc-v53 svg {
    width:20px;
    height:20px;
  }
  body #main #hero-trailer-enable-sound strong {
    font:600 14px/1.2 var(--sans);
    letter-spacing:-.025em;
  }
  body #main #hero-trailer-enable-sound :is(small,.hero-sound-arrow-v53) { display:none; }
  body #main #hero-trailer-player #hero-trailer-sound-note {
    width:auto;
    min-height:36px;
    padding:8px 13px;
    border:1px solid #fff0d055;
    border-radius:999px;
    background:#183e30f2;
    color:#ffe2b5;
    font:550 13px/1.4 var(--sans);
  }

  /* One slim row: Play, Restart, Sound on/off, Seek, Fullscreen. */
  body #main #hero-trailer-player #hero-mobile-ui :is(#hero-mobile-more,#hero-mobile-details,#hero-trailer-volume,#hero-trailer-time) { display:none; }
  body #main #hero-trailer-player:not(:fullscreen):not([data-inline-expanded="true"]) #hero-mobile-ui .hero-mobile-dock {
    min-height:44px;
    padding:4px 8px;
    gap:4px;
    justify-content:flex-start;
  }
  body #main #hero-trailer-player:not(:fullscreen):not([data-inline-expanded="true"]) #hero-mobile-ui .hero-mobile-audio {
    flex:0 0 36px;
    width:36px;
    min-width:0;
  }
  body #main #hero-trailer-player:not(:fullscreen):not([data-inline-expanded="true"]) #hero-mobile-ui :is(#hero-trailer-sound,#hero-trailer-play,#hero-trailer-restart,#hero-trailer-expand) {
    flex:0 0 36px;
    width:36px;
    min-width:36px;
    height:36px;
    min-height:36px;
    padding:8px;
    border:1px solid #fff0d32b;
    border-radius:7px;
    background:#fff0d30c;
    color:#fff0d3;
  }
  body #main #hero-trailer-player:not(:fullscreen):not([data-inline-expanded="true"]) #hero-mobile-ui #hero-trailer-play {
    gap:0;
    background:#fff0d3;
    border-color:#fff0d3;
    color:#14372a;
  }
  body #main #hero-trailer-player:not(:fullscreen):not([data-inline-expanded="true"]) #hero-mobile-ui #hero-trailer-play[aria-pressed="true"] {
    background:#183e30;
    border-color:#fff0d340;
    color:#fff0d3;
  }
  body #main #hero-trailer-player #hero-mobile-ui [data-control-label] { display:none; }
  body #main #hero-trailer-player:not(:fullscreen):not([data-inline-expanded="true"]) #hero-mobile-ui button svg {
    width:18px;
    height:18px;
    flex:none;
  }
  body #main #hero-trailer-player #hero-mobile-ui #hero-trailer-play {
    order:1;
    background:#fff0d3;
    border-color:#fff0d3;
    color:#14372a;
  }
  body #main #hero-trailer-player #hero-mobile-ui #hero-trailer-play[aria-pressed="true"] {
    background:#183e30;
    border-color:#fff0d340;
    color:#fff0d3;
  }
  body #main #hero-trailer-player #hero-mobile-ui #hero-trailer-restart { order:2; }
  body #main #hero-trailer-player #hero-mobile-ui .hero-mobile-audio { order:3; }
  body #main #hero-trailer-player #hero-mobile-ui .hero-mobile-progress {
    order:4;
    display:flex;
    align-items:center;
    flex:1 1 60px;
    min-width:44px;
    width:auto;
    height:36px;
    padding:0 5px;
    background:transparent;
  }
  body #main #hero-trailer-player #hero-mobile-ui #hero-trailer-seek {
    flex:1 1 0;
    width:100%;
    min-width:0;
    height:36px;
    min-height:36px;
    margin:0;
    padding:0;
  }
  body #main #hero-trailer-player #hero-mobile-ui #hero-trailer-expand { order:5; }
}
