.nx-robot-brand {
  flex:none; width:44px; height:44px; object-fit:contain; display:block;
  filter:drop-shadow(0 2px 5px #7cffe91f); transform-origin:50% 78%;
}
.ns-logo>.nx-robot-brand {margin-right:6px}
.nx-brand .nx-robot-brand {width:45px; height:45px; margin-right:0}
.nxg-launch,.nxg-dialog,.nxg-strip {
  --nxg-ink:#eff7f5; --nxg-secondary:#bbcdcf; --nxg-cyan:#a2f1e6; --nxg-line:#3b5155;
  box-sizing:border-box; font-family:var(--sans,Arial,Helvetica,sans-serif);
  line-height:1.4; text-align:start; color:var(--nxg-ink); color-scheme:dark;
}
.nxg-dialog *, .nxg-strip *, .nxg-launch * {box-sizing:border-box}
.nxg-launch {
  display:inline-flex; align-items:center; gap:7px; min-height:48px; margin:0;
  position:fixed; right:max(22px,env(safe-area-inset-right)); bottom:max(22px,env(safe-area-inset-bottom)); z-index:38;
  padding:3px 14px 3px 4px; border:1px solid #6a969790; border-radius:999px; cursor:pointer;
  font-size:13px; font-weight:650; color:#ecfaf7; background:#14252aee;
  box-shadow:0 5px 24px #0010193b,inset 0 1px #c8fff31a; backdrop-filter:blur(14px);
}
.nxg-mark {width:39px; height:39px; display:block; object-fit:contain; flex:none}
.nxg-launch:hover {background:#203a41; border-color:#a5dbd5}
.nxg-touring .nxg-launch {display:none}
.nxg-dialog {
  display:none; position:fixed; inset:auto max(19px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) auto;
  padding:0; margin:0; width:min(396px,calc(100vw - 24px)); max-width:none; max-height:min(82dvh,650px);
  border:1px solid #526e71; border-radius:24px; background:radial-gradient(ellipse at 4% 0%,#29474b,transparent 40%),#142025;
  box-shadow:0 20px 85px #0107089c; overflow:auto; overflow-wrap:anywhere;
}
.nxg-dialog[open] {display:block}
.nxg-dialog::backdrop {background:#06101368; backdrop-filter:blur(3px)}
.nxg-sheet {padding:15px 20px 21px}
.nxg-top,.nxg-ribbon {display:flex; align-items:center; justify-content:space-between; gap:8px}
.nxg-sign {font:650 11px/1.2 var(--mono,monospace); letter-spacing:.12em; color:var(--nxg-cyan); display:flex; align-items:center; gap:8px}
.nxg-sign i {width:6px; height:6px; border-radius:50%; background:#a5f8eb}
.nxg-x,.nxg-quit {
  width:44px; height:44px; display:grid; place-items:center; cursor:pointer; padding:0;
  background:transparent; border:0; font:400 25px/1 system-ui; color:var(--nxg-secondary); border-radius:50%;
}
.nxg-x:hover,.nxg-quit:hover {color:#fff; background:#a9e3df12}
.nxg-intro {display:grid; grid-template-columns:76px 1fr; align-items:center; gap:14px; margin:0 0 15px}
.nxg-portrait {display:block; width:76px; height:90px; object-fit:contain; filter:drop-shadow(0 5px 6px #0005)}
.nxg-intro h2 {margin:0; font-family:inherit; color:var(--nxg-ink); font-size:clamp(21px,2.1vw,25px); font-weight:650; line-height:1.13; letter-spacing:-.04em}
.nxg-intro p,.nxg-speech p {margin:5px 0 0; color:var(--nxg-secondary); line-height:1.42; font-size:13.5px; font-weight:450}
.nxg-options {border-block:1px solid var(--nxg-line)}
.nxg-choice {
  display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:57px; padding:10px 1px;
  text-decoration:none; color:var(--nxg-ink); background:transparent; border:0; border-radius:0;
}
.nxg-choice + .nxg-choice {border-top:1px solid #304247}
.nxg-choice>span:first-child {display:grid; gap:3px}
.nxg-choice strong {font-size:15px; line-height:1.3; font-weight:600; color:var(--nxg-ink)}
.nxg-choice small {font-size:12px; color:var(--nxg-secondary); line-height:1.33}
.nxg-arr {width:27px; height:27px; display:grid; place-items:center; border:1px solid #76939468; border-radius:50%; color:var(--nxg-cyan); font-size:14px}
.nxg-choice:hover strong {color:var(--nxg-cyan)}
.nxg-begin,.nxg-next {
  cursor:pointer; min-height:44px; background:var(--nxg-cyan); color:#132c2c; border:1px solid #d0fff8;
  border-radius:13px; font:650 14px/1.3 system-ui,sans-serif;
}
.nxg-begin {width:100%; margin-top:16px; padding:10px 15px}
.nxg-begin:hover,.nxg-next:hover {background:#c8fff5}
.nxg-strip {
  position:fixed; z-index:40; right:max(20px,env(safe-area-inset-right)); bottom:max(20px,env(safe-area-inset-bottom));
  width:min(340px,calc(100vw - 24px)); padding:6px 14px 10px; border:1px solid #668789;
  border-radius:18px; box-shadow:0 10px 38px #07101269; background:#14242af5; backdrop-filter:blur(14px);
}
.nxg-strip[hidden] {display:none}
.nxg-ribbon {justify-content:flex-start; font:550 11px/1.3 var(--mono,monospace); letter-spacing:.03em; color:var(--nxg-cyan)}
.nxg-ribbon>.nxg-mark {width:30px; height:30px}
.nxg-quit {margin-left:auto; width:44px; height:44px}
.nxg-speech strong {font-size:16px; line-height:1.25}
.nxg-speech p {font-size:13px; margin-top:2px}
.nxg-controls {display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:6px}
.nxg-prev {cursor:pointer; border:0; min-height:44px; padding:4px 8px 4px 0; background:transparent; color:var(--nxg-secondary); font:600 14px/1.2 system-ui,sans-serif}
.nxg-prev:disabled {visibility:hidden}
.nxg-next {padding:7px 13px}
.nxg-dialog :is(a,button):focus-visible,.nxg-strip button:focus-visible,.nxg-launch:focus-visible {outline:2px solid #c9fff0; outline-offset:2px}
.nx-public-studio:has([data-nx-guide-root]) .nx-to-top {bottom:88px}
.nx-public-studio .nxg-dock-trigger>img {width:23px; height:23px}
body:has([data-nx-guide-root]) :is(input:not([type=range]),select,textarea):focus {scroll-margin-bottom:90px}
@keyframes nxg-nod {0%,100%{transform:rotate(0deg) translateY(0)}38%{transform:rotate(-5deg) translateY(-2px)}70%{transform:rotate(2deg) translateY(0)}}
@keyframes nxg-attention {0%,10%,100%{transform:none}3%{transform:translateY(-1px) rotate(-3deg)}6.5%{transform:rotate(1deg)}}
@media(prefers-reduced-motion:no-preference) {
  html:not([data-motion=paused]) :is(.ns-head,.nx-header) .nx-robot-brand {animation:nxg-attention 11s 1s ease-in-out infinite}
  html:not([data-motion=paused]) :is(.ns-dock,.nx-mobile-dock) [data-nx-guide-open] img {animation:nxg-attention 11s 6s ease-in-out infinite}

  html:not([data-motion=paused]) :is(.ns-logo,.nx-brand,.nxg-dock-trigger,.nxg-launch):is(:hover,:focus-visible) :is(.nx-robot-brand,.nxg-mark) {animation:nxg-nod .8s ease-in-out}
  html:not([data-motion=paused]) .nxg-dialog[open] .nxg-portrait {animation:nxg-nod 1.2s ease-in-out}
}
@media(max-width:700px) {
  .ns-logo>.nx-robot-brand {width:39px; height:39px; margin-right:4px}
  .nx-brand .nx-robot-brand {width:38px; height:38px}
  body:has(.ns-dock [data-nx-guide-open]) .nxg-launch,body:has(.nx-mobile-dock [data-nx-guide-open]) .nxg-launch {display:none}
  .nx-public-studio .nx-mobile-dock:has(.nxg-dock-trigger) {grid-template-columns:repeat(6,minmax(0,1fr)); gap:0}
  .nx-public-studio .nx-mobile-dock:has(.nxg-dock-trigger)>:is(a,button) {font-size:clamp(9px,2.53vw,11px); min-width:0; padding-inline:0; letter-spacing:-.025em}
  .nx-public-studio:has([data-nx-guide-root]) .nx-to-top {bottom:calc(98px + env(safe-area-inset-bottom))}
  .nxg-dialog {inset:auto 0 0; margin:0; width:100%; max-height:min(88dvh,690px); border-radius:25px 25px 0 0; border-bottom:0; padding-bottom:env(safe-area-inset-bottom)}
  .nxg-sheet {max-width:520px; margin:auto; padding:10px 19px 19px}
  .nxg-sheet::before {content:""; display:block; margin:0 auto; width:38px; height:4px; border-radius:8px; background:#b1cbca63}
  .nxg-intro {grid-template-columns:66px 1fr; gap:12px; margin-bottom:12px}
  .nxg-portrait {width:66px; height:78px}
  .nxg-strip {left:10px; right:10px; bottom:var(--nx-dock-offset,calc(88px + env(safe-area-inset-bottom))); width:auto; max-width:470px; margin-inline:auto; padding:2px 12px 8px}
  .nxg-strip .nxg-ribbon {height:38px}
  .nxg-strip .nxg-controls {margin-top:3px}
  body:has(:is(input:not([type=range]),textarea,select):focus) .nxg-strip {display:none}
}
