/* NexaBar V21 premium video tutorial experience */
#nxMacSetupMain{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,sans-serif}
#nxMacSetupMain .nx-install-shell{max-width:970px}
#nxMacSetupMain .page-hero{padding-top:24px;padding-bottom:8px}
#nxMacSetupMain .page-title{font-size:clamp(36px,5.1vw,65px);letter-spacing:-.065em;line-height:1.06;max-width:870px}
#nxMacSetupMain .eyebrow{color:#aeb2bd;letter-spacing:.13em;font-size:11px}
.nx-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:17px;margin-top:27px}
.nx-hero-video{display:flex;align-items:center;gap:14px;border:1px solid #8d9099;background:linear-gradient(110deg,#36383f,#17191d 67%,#26282e);border-radius:16px;padding:13px 18px;color:#fff;cursor:pointer;min-height:65px;box-shadow:0 12px 35px rgba(0,0,0,.19);transition:border-color .2s,transform .2s,background .2s;font:inherit}
.nx-hero-video:not(:disabled):hover{transform:translateY(-2px);background:linear-gradient(110deg,#41434a,#1d1e23)}
.nx-hero-video strong{font-size:13px;letter-spacing:.1em;display:block;text-align:left}
.nx-hero-video small{font-size:11px;color:#bdc1ca;display:block;text-align:left;margin-top:4px}
.nx-video-pulse{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(140deg,#fafbff,#9397a1);color:#15161b;box-shadow:0 0 0 5px rgba(255,255,255,.06);font-size:12px}
.nx-video-cta-arrow{font-size:18px;color:#e6e7eb}.nx-hero-duration{font-size:12px;color:#999eac}
.nx-install-steps{margin-top:12px;background:#111317!important;border:1px solid #32343d!important;border-radius:22px!important}
.nx-guide-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-bottom:19px;border-bottom:1px solid #31333b;margin-bottom:25px}
.nx-guide-toolbar>span{font-size:11px;color:#9095a2}
.nx-guide-language{display:inline-flex;gap:4px;padding:4px;background:#202229;border:1px solid #3f4149;border-radius:11px}
.nx-guide-language button{padding:8px 15px;background:transparent;border:0;border-radius:8px;color:#b5b9c4;font:600 12px/1.2 inherit;cursor:pointer;transition:.18s}
.nx-guide-language button.active{background:#e9ebef;color:#17181c;box-shadow:0 2px 7px #0004}
.nx-update-intro{margin:17px 0 29px;padding:23px;background:linear-gradient(125deg,#25272f,#1a1b20);border:1px solid #42444e;border-radius:17px}
.nx-update-text{display:flex;align-items:flex-start;gap:15px}.nx-update-icon{flex:0 0 auto;width:37px;height:37px;background:#e4e6eb;color:#18191c;border-radius:10px;display:grid;place-items:center;font-size:21px}
.nx-update-intro strong{font-size:15px;color:#f7f8fa}.nx-update-intro p{margin:8px 0 3px;font-size:13px;line-height:1.8;color:#c4c6ce}
.nx-install-phase{background:#191b20!important;border:1px solid #3a3c44!important;border-radius:17px!important;padding:clamp(19px,3vw,29px)!important;margin:14px 0!important}
.nx-install-phase h3{color:#f7f7fa!important;letter-spacing:-.015em;font-weight:670;font-size:19px!important}
.nx-install-phase h3 .nx-phase-no{color:#b2b6c2!important;font-size:10px!important;letter-spacing:.15em;margin-bottom:9px!important}
.nx-install-phase li{color:#c5c8d1!important;font-size:13px;line-height:1.86!important;padding:7px 0!important}
.nx-install-phase li strong,.nx-install-phase .nx-install-callout strong{color:#f7f8fb}
.nx-install-phase code{user-select:text;-webkit-user-select:text}
.nx-terminal-line{border:1px solid #474953!important;background:#0f1014!important;border-radius:12px!important}
.nx-terminal-line code{color:#f3f3f8!important}.nx-terminal-line button{background:#e6e8eb!important;border:1px solid #e6e8eb!important;color:#18191d!important;font-weight:700}
.nx-terminal-line button:hover{background:white!important}
.nx-watch-link{display:inline-flex;align-items:center;gap:8px;margin:0 0 12px;padding:3px 0;background:transparent;border:0;color:#e5e6ed;font:600 12px/1.5 inherit;cursor:pointer;letter-spacing:.01em;text-align:left}
.nx-watch-link span:first-of-type{text-decoration:underline;text-decoration-color:#8c919e;text-underline-offset:4px}
.nx-watch-link:not(:disabled):hover{color:#fff}.nx-watch-link:not(:disabled):hover span:first-of-type{text-decoration-color:#fff}
.nx-watch-link:disabled{display:none}.nx-hero-video.nx-video-unavailable{opacity:.65;cursor:default;border-color:#4a4b55}
.nx-hero-video.nx-video-unavailable .nx-video-pulse{filter:grayscale(1);opacity:.65}
.nx-compact-safety{padding:11px 13px;margin:14px 0 0;background:#24252b;color:#b7bac4;border:1px solid #363840;border-radius:9px;font-size:11px;line-height:1.6}
.nx-compact-safety a{color:#e5e8ef;text-decoration:underline}
.nx-setup-help{margin:17px 0!important;font-size:12px!important}
.nx-install-steps .nx-actions{display:none!important}
.nx-lipo-card{display:flex;align-items:flex-start;gap:19px;margin:20px 0 27px;padding:24px 26px;border-radius:18px;border:1px solid #4a4d57;background:linear-gradient(120deg,#2c2e36,#1c1d23);box-shadow:inset 0 1px rgba(255,255,255,.06)}
.nx-lipo-icon{width:50px;height:50px;flex:0 0 auto;display:grid;place-items:center;background:#f0f0f3;color:#101115;border-radius:13px;font-size:26px}
.nx-lipo-eyebrow{font-size:10px;font-weight:750;letter-spacing:.13em;color:#bfc2cc}
.nx-lipo-card h2{margin:8px 0;font-size:clamp(16px,2.1vw,22px);line-height:1.35;color:white;letter-spacing:-.025em}
.nx-lipo-card p{margin:0;font-size:12px;color:#c7c9d1;line-height:1.75}
.nx-overlay-guide{border:1px solid #33353e!important;border-radius:19px!important;background:#14161a!important}
.nx-overlay-guide h2{font-size:27px!important;letter-spacing:-.025em}
.nx-overlay-guide .nx-feature-list li{font-size:13px;color:#c4c6d0;line-height:1.75}
.nx-hotkeys th,.nx-hotkeys td{border-bottom-color:#393b44!important}
.nx-video-dialog{position:fixed;inset:0;margin:auto;width:min(1000px,calc(100vw - 30px));max-width:1000px;max-height:calc(100dvh - 30px);padding:0;border:1px solid #53565e;border-radius:21px;color:#fff;background:#15161b;box-shadow:0 30px 100px #000a;overflow:auto}
.nx-video-dialog:not([open]){display:none}
.nx-video-dialog::backdrop{background:rgba(0,0,0,.82);backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px)}
.nx-dialog-shell{padding:19px}.nx-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:2px 4px 18px}
.nx-dialog-kicker{font-size:10px;letter-spacing:.16em;font-weight:700;color:#9da1ae}
.nx-dialog-head h2{color:white;margin:8px 0 0;font-size:22px;letter-spacing:-.025em}
.nx-dialog-close{width:37px;height:37px;display:grid;place-items:center;border:1px solid #4a4b55;border-radius:50%;background:#292b31;color:#fff;font-size:24px;cursor:pointer}
.nx-dialog-close:hover{background:#3a3c44}
.nx-dialog-stage{position:relative;aspect-ratio:16/9;background:#050506;border-radius:12px;overflow:hidden;display:grid;place-items:center}
.nx-dialog-stage video{width:100%;height:100%;object-fit:contain;display:block;max-height:75dvh;outline:0}
.nx-video-loading{position:absolute;left:20px;bottom:20px;pointer-events:none;background:#13141ccf;color:#dee1e9;padding:9px 14px;border:1px solid #52535c;border-radius:9px;font-size:12px}
.nx-video-loading[hidden]{display:none}.nx-dialog-foot{display:flex;justify-content:space-between;gap:20px;padding:14px 4px 2px;color:#a3a5b2;font-size:11px}
.nx-arabic li{text-align:right}.nx-arabic .nx-install-callout{text-align:right}.nx-guide-toolbar :focus-visible,.nx-watch-link:focus-visible,.nx-hero-video:focus-visible,.nx-dialog-close:focus-visible{outline:2px solid white;outline-offset:3px}
@media(max-width:660px){.nx-hero-actions{align-items:flex-start}.nx-hero-video{width:100%;max-width:420px}.nx-lipo-card{padding:19px;gap:12px}.nx-lipo-icon{height:39px;width:39px}.nx-guide-toolbar>span{display:none}.nx-dialog-shell{padding:11px}.nx-dialog-foot{flex-wrap:wrap}.nx-dialog-head h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.nx-watch-link,.nx-hero-video,.nx-guide-language button{transition:none}}


/* V21.1 — centered tutorial CTA + NexaBar cinema player */
#nxMacSetupMain .nx-hero-actions{
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  width:100%;gap:11px;margin:28px auto 0;text-align:center;
}
#nxMacSetupMain .nx-hero-video{
  display:flex;justify-content:center;align-items:center;width:min(100%,365px);
  margin:0 auto;padding:14px 21px;min-height:72px;gap:16px;
  border:1px solid rgba(231,235,243,.48);border-radius:18px;
  background:linear-gradient(135deg,rgba(71,75,85,.93) 0%,rgba(26,28,35,.98) 49%,rgba(44,47,56,.96) 100%);
  box-shadow:inset 0 1px rgba(255,255,255,.13),0 18px 45px rgba(0,0,0,.35),0 2px 8px rgba(0,0,0,.25);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease;
}
#nxMacSetupMain .nx-hero-video:not(:disabled):hover{transform:translateY(-3px);border-color:rgba(255,255,255,.88);background:linear-gradient(135deg,#555962,#25272d 49%,#3d4049);box-shadow:inset 0 1px rgba(255,255,255,.22),0 22px 55px rgba(0,0,0,.47)}
#nxMacSetupMain .nx-hero-video:not(:disabled):active{transform:translateY(0)}
#nxMacSetupMain .nx-hero-video strong,#nxMacSetupMain .nx-hero-video small{text-align:left}
#nxMacSetupMain .nx-hero-video strong{font-size:13px;letter-spacing:.12em}
#nxMacSetupMain .nx-video-pulse{width:41px;height:41px;background:linear-gradient(145deg,#fff,#abb0ba);font-size:14px;flex:0 0 auto}
#nxMacSetupMain .nx-video-cta-arrow{margin-left:auto;font-size:19px;line-height:1;color:#d5d8df}
#nxMacSetupMain .nx-hero-duration{font-size:11px;color:#9699a3;letter-spacing:.015em;text-align:center}
#nxMacSetupMain .page-hero{margin-bottom:33px}

.nx-video-dialog{
  width:min(1090px,calc(100vw - 36px));max-width:1090px;
  max-height:min(96dvh,1020px);margin:auto;padding:0;overflow:hidden;
  border:1px solid rgba(237,239,246,.28);border-radius:24px;
  background:#111216;color:#f5f6f8;
  box-shadow:0 45px 160px rgba(0,0,0,.9),inset 0 1px rgba(255,255,255,.09);
}
.nx-video-dialog[open]{animation:nxCinemaEnter .24s cubic-bezier(.2,.75,.3,1) both}
.nx-video-dialog::backdrop{background:rgba(0,0,0,.87);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);animation:nxCinemaBackdrop .25s ease both}
@keyframes nxCinemaEnter{from{opacity:0;transform:translateY(13px) scale(.986)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes nxCinemaBackdrop{from{opacity:0}to{opacity:1}}
body.nx-modal-visible{overflow:hidden}
.nx-dialog-shell{padding:15px 16px 0;background:linear-gradient(160deg,rgba(255,255,255,.055) -35%,transparent 42%),#111216}
.nx-dialog-head{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:6px 5px 17px}
.nx-dialog-brand{display:flex;align-items:center;gap:13px;min-width:0}
.nx-dialog-brand img{width:39px;height:39px;object-fit:contain;flex:0 0 auto;border-radius:10px;filter:drop-shadow(0 3px 10px #0005)}
.nx-dialog-heading-text{min-width:0}
.nx-dialog-kicker{display:block;font-size:9px;font-weight:750;letter-spacing:.17em;color:#9b9da7;margin-bottom:5px}
.nx-dialog-head h2{margin:0;color:#f7f8fa;font-size:clamp(16px,2.4vw,21px);line-height:1.22;letter-spacing:-.025em;font-weight:720}
.nx-dialog-actions{display:flex;gap:12px;align-items:center}
.nx-dialog-chapter{white-space:nowrap;font-size:9px;letter-spacing:.115em;font-weight:700;color:#c2c3cd;background:#24262d;padding:10px 12px;border:1px solid #3b3c46;border-radius:50px}
.nx-dialog-close{width:38px;height:38px;flex:0 0 auto;border-radius:12px;border:1px solid rgba(255,255,255,.17);background:#25262b;color:#f7f8fa;transition:background .18s,transform .18s;cursor:pointer}
.nx-dialog-close svg{width:17px;height:17px}.nx-dialog-close:hover{background:#3b3c45;transform:scale(1.035)}
.nx-dialog-stage{
  width:100%;aspect-ratio:16/9;border:1px solid rgba(255,255,255,.13);border-radius:14px;
  background:radial-gradient(ellipse at 50% 36%,#21232a,#090a0d 57%,#030304 100%);
  position:relative;display:block;overflow:hidden;isolation:isolate;
}
.nx-dialog-stage video{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;object-fit:contain;background:transparent;outline:0}
.nx-dialog-stage:fullscreen{border:0;border-radius:0;background:#000;width:100vw;height:100vh;aspect-ratio:auto}
.nx-dialog-stage:fullscreen video{width:100%;height:100%}
.nx-video-center-play{
  position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);
  z-index:2;display:flex;flex-direction:column;align-items:center;gap:13px;
  border:0;background:transparent;color:#f1f2f5;cursor:pointer;
  filter:drop-shadow(0 8px 30px rgba(0,0,0,.5));
}
.nx-video-center-play[hidden]{display:none}
.nx-center-play-disc{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;border:1px solid rgba(255,255,255,.68);
  background:linear-gradient(145deg,rgba(250,251,253,.95),rgba(188,192,203,.96));color:#111215;
  box-shadow:0 0 0 9px rgba(255,255,255,.065),0 12px 42px #0007;transition:transform .2s,box-shadow .2s}
.nx-center-play-disc svg{width:27px;height:27px;margin-left:4px}
.nx-video-center-play:hover .nx-center-play-disc{transform:scale(1.08);box-shadow:0 0 0 14px rgba(255,255,255,.08),0 12px 52px #000a}
.nx-center-play-label{font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;text-shadow:0 2px 8px #000}
.nx-video-feedback{position:absolute;z-index:3;top:47%;left:50%;transform:translate(-50%,-50%);max-width:85%;display:flex;flex-direction:column;gap:13px;align-items:center;text-align:center;color:#dedfe5;font-size:12px;font-weight:550;padding:15px 20px;background:rgba(9,10,13,.68);border:1px solid rgba(255,255,255,.09);border-radius:13px;backdrop-filter:blur(12px)}
.nx-video-feedback[hidden]{display:none}
.nx-video-spinner{height:27px;width:27px;border:2px solid rgba(255,255,255,.24);border-top-color:#fff;border-radius:50%;animation:nxVideoSpin .8s linear infinite}
.nx-video-spinner[hidden]{display:none}
@keyframes nxVideoSpin{to{transform:rotate(360deg)}}
.nx-video-retry{padding:8px 14px;border-radius:9px;background:#e7e8ed;color:#161719;border:0;font-size:11px;font-weight:720;cursor:pointer}
.nx-video-retry[hidden]{display:none}
.nx-video-controls{
  position:absolute;inset:auto 0 0;z-index:4;padding:38px 22px 15px;
  background:linear-gradient(to top,rgba(0,0,0,.91) 5%,rgba(0,0,0,.67) 47%,transparent 100%);
  display:flex;flex-direction:column;gap:10px;
}
.nx-video-seek-wrap{display:flex;align-items:center;height:17px;min-width:0}
.nx-video-seek-wrap input[type=range]{
  --nx-progress:0%;--nx-buffer:0%;width:100%;height:5px;margin:0;cursor:pointer;appearance:none;-webkit-appearance:none;border:0;border-radius:30px;outline:none;
  background:linear-gradient(to right,#f3f4f7 0%,#f3f4f7 var(--nx-progress),#727680 var(--nx-progress),#727680 var(--nx-buffer),rgba(255,255,255,.28) var(--nx-buffer),rgba(255,255,255,.28) 100%);
  transition:height .15s;
}
.nx-video-seek-wrap input[type=range]:hover,.nx-video-seek-wrap input[type=range]:focus-visible{height:7px}
.nx-video-seek-wrap input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;height:13px;width:13px;background:#f7f7fa;border:2px solid #26272e;border-radius:50%;box-shadow:0 1px 8px #0009;cursor:grab}
.nx-video-seek-wrap input[type=range]::-moz-range-thumb{height:11px;width:11px;background:#f7f7fa;border:2px solid #26272e;border-radius:50%;cursor:grab}
.nx-video-controls-row,.nx-video-left-controls,.nx-video-right-controls,.nx-video-volume{display:flex;align-items:center}
.nx-video-controls-row{justify-content:space-between;gap:8px}
.nx-video-left-controls{gap:11px}.nx-video-right-controls{gap:12px}
.nx-video-icon-button{display:grid;place-items:center;width:33px;height:33px;flex:0 0 auto;border:0;border-radius:10px;background:transparent;color:#f1f2f4;cursor:pointer;transition:background .15s,color .15s}
.nx-video-icon-button svg{width:20px;height:20px}
.nx-video-icon-button:hover{background:rgba(255,255,255,.16);color:#fff}
.nx-video-icon-button:disabled{opacity:.45;cursor:default}
.nx-player-play svg{margin-left:2px}
.nx-video-clock{font-variant-numeric:tabular-nums;font-size:11px;font-weight:600;letter-spacing:.045em;white-space:nowrap;color:#e2e2e7}
.nx-clock-divider{color:#858891;margin:0 4px}
.nx-video-volume{gap:5px}
.nx-video-volume-range{width:64px;height:3px;margin:0;accent-color:#f2f3f5;cursor:pointer}
.nx-video-speed{padding:7px 10px;min-width:46px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.095);color:#f1f1f4;border-radius:8px;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;cursor:pointer}
.nx-video-speed:hover{background:rgba(255,255,255,.2)}
.nx-video-pip[hidden]{display:none}
.nx-dialog-foot{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap;padding:15px 5px 17px;color:#999da7;font-size:11px}
.nx-dialog-foot #nxVideoCaption{color:#c1c4ce;line-height:1.5}
.nx-video-keyboard-hint{font-size:9px;font-weight:750;letter-spacing:.06em;white-space:nowrap;color:#9da0a8}
.nx-video-keyboard-hint b{font-weight:450;letter-spacing:0;color:#858892;margin-left:3px}
.nx-video-keyboard-hint i{font-style:normal;margin:0 8px;color:#53555e}
.nx-video-dialog button:focus-visible,.nx-video-dialog input:focus-visible{outline:2px solid #f4f5f9;outline-offset:3px}
@media(max-width:720px){
  .nx-video-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:17px}
  .nx-dialog-shell{padding:10px 10px 0}
  .nx-dialog-head{padding:3px 2px 12px;gap:6px}
  .nx-dialog-brand img{width:31px;height:31px}.nx-dialog-brand{gap:8px}
  .nx-dialog-kicker{font-size:8px;letter-spacing:.09em}.nx-dialog-chapter{display:none}
  .nx-dialog-close{width:34px;height:34px;border-radius:10px}
  .nx-dialog-stage{border-radius:10px}
  .nx-video-controls{padding:24px 10px 7px;gap:5px}
  .nx-video-icon-button{width:29px;height:29px}.nx-video-icon-button svg{width:17px;height:17px}
  .nx-video-left-controls{gap:5px}.nx-video-right-controls{gap:4px}
  .nx-video-volume-range{display:none}.nx-video-clock{font-size:10px}
  .nx-video-speed{font-size:10px;min-width:37px;padding:6px}
  .nx-video-pip{display:none!important}
  .nx-center-play-disc{width:55px;height:55px}.nx-center-play-disc svg{width:20px;height:20px}
  .nx-center-play-label{font-size:9px}
  .nx-dialog-foot{padding:12px 4px 14px}.nx-video-keyboard-hint{display:none}
}
@media(max-width:440px){.nx-video-volume{display:none}.nx-video-controls{padding:18px 10px 6px}.nx-video-dialog .nx-dialog-stage{min-height:195px;aspect-ratio:auto}.nx-video-right-controls{gap:5px}}
@media(prefers-reduced-motion:reduce){.nx-video-dialog[open],.nx-video-dialog::backdrop{animation:none}.nx-video-spinner{animation:none}.nx-hero-video,.nx-center-play-disc{transition:none}}

/* Portrait tutorial clips get an appropriately sized player instead of tiny letterboxed playback. */
.nx-video-dialog.nx-video-portrait{width:min(535px,calc(100vw - 24px))}
.nx-video-dialog.nx-video-portrait .nx-dialog-stage{aspect-ratio:9/16;max-height:calc(100dvh - 165px)}
.nx-video-dialog.nx-video-portrait .nx-video-keyboard-hint{display:none}
.nx-video-dialog.nx-video-portrait .nx-dialog-chapter{display:none}
.nx-video-dialog.nx-video-portrait .nx-video-volume-range{display:none}
.nx-video-dialog.nx-video-portrait .nx-video-pip{display:none!important}
.nx-video-dialog.nx-video-portrait .nx-video-controls{padding:44px 12px 12px}
.nx-video-dialog.nx-video-portrait .nx-center-play-disc{width:65px;height:65px}
.nx-video-dialog.nx-video-portrait .nx-dialog-stage:fullscreen{max-height:none;aspect-ratio:auto}
