/* Pace video, Addon Shop, and CTA fixes. Scoped after the existing theme layers. */
body.pace-home .video-demo {
  display:block;aspect-ratio:auto;min-height:0;margin-top:23px;
  border-radius:17px;overflow:hidden;border:1px solid rgba(255,255,255,.1);
  background:#0c1420;box-shadow:0 16px 36px rgba(0,0,0,.15);
}
body.pace-home .video-demo::before {content:none!important;display:none!important}
body.pace-home .video-demo-screen {aspect-ratio:16/9;position:relative;isolation:isolate;overflow:hidden;background:#111827}
body.pace-home .video-demo-video {position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;cursor:pointer}
body.pace-home .video-demo-play {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:64px;height:64px;border-radius:50%;border:1px solid rgba(255,231,180,.6);background:rgba(15,20,31,.75);color:#ffe4ab;box-shadow:0 0 0 9px rgba(2,8,18,.18),0 15px 45px rgba(0,0,0,.4);backdrop-filter:blur(15px) saturate(140%);cursor:pointer;transition:background .2s ease,box-shadow .2s ease,transform .2s ease;z-index:4}
body.pace-home .video-demo-play:hover {transform:translate(-50%,-50%) scale(1.06);background:rgba(28,36,52,.9)}
body.pace-home .video-demo-play[hidden] {display:none!important}
body.pace-home .video-demo-caption {position:absolute;bottom:14px;left:17px;z-index:3;pointer-events:none;display:grid;gap:3px;max-width:calc(100% - 34px);padding:9px 12px;border-radius:10px;background:rgba(9,14,24,.65);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.08)}
body.pace-home .video-demo-caption strong {font-size:12px;line-height:1.4;color:#fff}
body.pace-home .video-demo-caption span {font-size:9px;line-height:1.4;color:#d6dce7;letter-spacing:.03em}
body.pace-home .video-demo-controls {display:flex;align-items:center;gap:12px;min-height:55px;padding:10px 13px;background:rgba(16,25,38,.97);border-top:1px solid rgba(255,255,255,.08)}
body.pace-home .video-demo-controls button {border:1px solid rgba(255,255,255,.13);color:#e9eff8;background:rgba(255,255,255,.035);border-radius:9px;cursor:pointer;min-height:35px;min-width:48px;padding:6px 10px;font-size:12px;font-weight:650}
body.pace-home .video-demo-controls button:hover {background:rgba(255,255,255,.12)}
body.pace-home .video-demo-controls [data-video-replay] {font-size:23px;line-height:1;min-width:38px;padding:0 8px}
body.pace-home .video-control-seek {flex:1;min-width:40px;cursor:pointer;appearance:none;background:linear-gradient(90deg,#f6c779 var(--played,0%),rgba(255,255,255,.23) var(--played,0%));height:5px;border-radius:99px}
body.pace-home .video-control-seek::-webkit-slider-thumb {appearance:none;width:14px;height:14px;border-radius:50%;background:#ffdfaa;border:2px solid #1b2737}
body.pace-home .video-control-seek::-moz-range-thumb {width:14px;height:14px;border-radius:50%;background:#ffdfaa;border:2px solid #1b2737}
body.pace-home .video-control-time {white-space:nowrap;font:600 11px/1.4 ui-monospace,monospace;color:#b9c4d3}
body.pace-home .video-demo-status {font-size:12px;margin:0!important;padding:10px 14px;color:#ffe0a7;background:#1a2636}
body.pace-home .video-demo-status[hidden] {display:none!important}
body.pace-home .pace-shop-card {display:flex;flex-direction:column;align-items:flex-start;background:linear-gradient(145deg,rgba(220,173,93,.08),rgba(17,26,40,.4));border-color:rgba(242,203,132,.2)}
body.pace-home .pace-shop-card .pace-shop-link {display:inline-flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding:12px 14px;min-height:44px;border:1px solid rgba(236,190,111,.28);background:rgba(244,196,112,.08);border-radius:11px;color:#f5d49e;font-size:12px;font-weight:740;text-decoration:none;transition:background .18s ease,transform .18s ease}
body.pace-home .pace-shop-card .pace-shop-link:hover {background:rgba(244,196,112,.16);transform:translateY(-2px)}
body.pace-home .pace-shop-card p {margin-bottom:22px}
/* Keep CTA and beta status in normal document flow with enough separation on every viewport. */
body.pace-home .download-band .wrap {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;max-width:100%}
body.pace-home .download-band .wrap>.btn {display:inline-flex;align-items:center;justify-content:center;position:relative;z-index:1;margin:2px auto 0;min-height:48px;max-width:100%;white-space:normal;text-align:center;line-height:1.35}
body.pace-home .download-band .platform-note {position:static!important;display:block;flex:none;line-height:1.55;margin:15px auto 0!important;min-height:0!important;max-width:min(580px,95%);color:#c0c9d7;white-space:normal;text-align:center}
body.pace-home .download-band .p-beta-inline {position:static!important;display:block;flex:none;clear:both;margin:18px auto 0!important;padding:10px 14px;max-width:min(570px,calc(100% - 16px));border:1px solid rgba(246,193,113,.22);border-radius:9px;background:rgba(246,193,113,.065);font:650 10px/1.7 ui-monospace,monospace;letter-spacing:.035em;white-space:normal;overflow-wrap:break-word;color:#f2d3a7;text-align:center}
body.pace-home .download-band .wrap>.p-beta-inline {font-size:10px!important;line-height:1.7!important}
body.pace-home .video-demo :is(button,input,a):focus-visible,body.pace-home .pace-shop-card a:focus-visible {outline:3px solid #f8d99e;outline-offset:3px}
@media(max-width:600px){body.pace-home .video-demo-controls{gap:7px;padding:8px}body.pace-home .video-demo-controls button{min-width:43px;padding:5px 8px;font-size:11px}body.pace-home .video-control-time{font-size:9px}body.pace-home .video-demo-play{width:54px;height:54px}body.pace-home .video-demo-caption{left:9px;bottom:9px;padding:6px 9px}body.pace-home .video-demo-caption strong{font-size:10px}body.pace-home .video-demo-caption span{font-size:8px}}
@media(prefers-reduced-motion:reduce){body.pace-home .video-demo-play,body.pace-home .pace-shop-link{transition:none!important}}
