/* V127 — translucent speech bubble, scene-aware placement. */
#newton-guide[hidden],#newton-guide .ng-controls [hidden],#newton-guide [hidden]{display:none!important}
#newton-guide{position:fixed;z-index:25;box-sizing:border-box;width:min(310px,calc(100vw - 24px));max-height:calc(100dvh - 105px);padding:14px 15px 12px;border:1px solid #a7c4df69;border-radius:14px;background:rgba(21,34,53,.52);color:#f6f8fc;box-shadow:0 4px 16px #050c1828;font:13px/1.48 system-ui,sans-serif;animation:ng-appear .28s ease-out;overflow:visible;isolation:isolate}
#newton-guide.anchored:after{content:"";position:absolute;top:100%;left:calc(var(--ng-tail-x,70%) - 9px);width:18px;height:18px;background:rgba(21,34,53,.52);clip-path:polygon(0 0,100% 0,70% 100%);pointer-events:none}
#newton-guide.ng-yield{visibility:hidden;pointer-events:none}
#newton-guide .ng-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
#ng-title{font-size:10px;letter-spacing:.13em;color:#9ebfdf;font-weight:650}
#ng-message{margin:0 0 10px;color:#f0f4fa;line-height:1.5;overflow-wrap:anywhere}
#newton-guide .ng-controls{display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px}
#newton-guide button{font:inherit;cursor:pointer;border:0;background:transparent;color:#b4d1ec;min-height:30px;padding:3px 0;text-align:left}
#newton-guide button:hover,#newton-guide button:focus-visible{color:#fff;outline-offset:3px}
#newton-guide #ng-primary{background:#dce9f4;color:#142033;border-radius:6px;padding:5px 11px;font-weight:650}
#newton-guide #ng-close{font-size:22px;line-height:1;min-width:30px;text-align:center;min-height:30px}
#ng-progress{font-size:11px;color:#a6bad0;margin-left:auto}
#newton-guide .ng-small{font-size:11px;color:#a9bfd4}
#newton-guide-launch{background:none;border:0;color:#a9c8e7;font:11px/1.3 system-ui,sans-serif;cursor:pointer;min-height:36px;padding:5px 0;white-space:nowrap}
#newton-guide-launch:hover,#newton-guide-launch:focus-visible{color:var(--fg)}
@keyframes ng-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:650px){#newton-guide{width:min(300px,calc(100vw - 24px));padding:12px;font-size:13px}#newton-guide button{min-height:36px}#newton-guide-launch{font-size:10px;white-space:normal;text-align:right;max-width:72px}.hero-end{gap:7px;flex-wrap:wrap;row-gap:0}}
@media(max-height:420px){#newton-guide{max-height:calc(100dvh - 92px);overflow:auto}#newton-guide.anchored:after{display:none}}
@media(prefers-reduced-motion:reduce){#newton-guide{animation:none}}

#newton-guide #ng-primary:disabled{opacity:.45;cursor:default}

/* No backdrop blur: small moving objects remain sharp behind the glass. */
#newton-guide{backdrop-filter:none;-webkit-backdrop-filter:none;text-shadow:0 1px 3px #07101e,0 0 6px #07101e;overflow-wrap:anywhere}
#newton-guide #ng-primary{text-shadow:none;background:rgba(220,233,244,.87)}
#newton-guide.ng-scene{background:rgba(21,34,53,.34);border-color:#a7c4df50;box-shadow:none}
#newton-guide.ng-scene.anchored:after{background:rgba(21,34,53,.34)}
#newton-guide.ng-scene #ng-message{margin-bottom:5px}
#newton-guide.ng-scene .ng-top{margin-bottom:3px}
#newton-guide.ng-scene .ng-controls{gap:2px 9px}
#newton-guide.ng-side:after{content:"";position:absolute;left:100%;top:calc(var(--ng-tail-y,80%) - 8px);width:16px;height:16px;background:rgba(21,34,53,.52);clip-path:polygon(0 0,100% 70%,0 100%);pointer-events:none}
#newton-guide.ng-scene.ng-side:after{background:rgba(21,34,53,.34)}
@media(max-width:650px){#newton-guide.ng-scene{padding:9px 11px;font-size:12px;width:min(280px,calc(100vw - 24px))}#newton-guide.ng-scene button{min-height:32px}}
