.smj-overlay{position:fixed;inset:0;z-index:11900;display:flex;align-items:center;justify-content:center;background:#020610ed;padding:16px;box-sizing:border-box;color:#e5edf4;font:15px/1.5 system-ui,sans-serif;overscroll-behavior:contain}
.smj-panel{width:min(960px,100%);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;background:#081321;border:1px solid #314a62;border-radius:18px;box-shadow:0 28px 100px #0009;overflow:hidden}
.smj-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid #263c50;background:#0b1928;flex-shrink:0}
.smj-header h1{margin:2px 0 0;font-size:24px;line-height:1.2;letter-spacing:-.5px}
.smj-eyebrow{font:700 10px/1.5 system-ui,sans-serif;letter-spacing:1.6px;color:#72cfc4;margin:0 0 7px}
.smj-scroll{padding:24px;overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-color:#466b84 #0b1928}
.smj-chapter{padding:24px;border:1px solid #37675f;border-radius:12px;background:radial-gradient(ellipse at 100% 0,#19443d80,transparent 70%),#0d2027}
.smj-chapter h2{font-size:25px;line-height:1.25;letter-spacing:-.5px;margin:6px 0 12px;max-width:620px}
.smj-copy{color:#abc1c7;max-width:690px;font-size:14px;margin:0 0 22px}
.smj-next-action{padding:16px;margin:0 0 22px;border:1px solid #8de6cb;border-radius:10px;background:#153d38}
.smj-next-action h3{font-size:18px;line-height:1.35;margin:0;color:#effff9}
.smj-location{font-size:13px;color:#b9d6cf;margin:9px 0 0}
.smj-next-action .smj-actions{margin-top:13px}
.smj-waypoint{position:fixed;z-index:800;transform:translate(-50%,-50%);display:flex;align-items:center;gap:8px;max-width:200px;padding:8px 10px;border:1px solid #91f2d5;border-radius:10px;background:#082d2ded;color:#cffff3;font:600 12px/1.4 system-ui,sans-serif;pointer-events:none;box-shadow:0 0 18px #6ee7c540}
.smj-waypoint[hidden],.smj-art-fallback[hidden]{display:none!important}
.smj-waypoint-arrow{font-size:26px;display:block;flex-shrink:0;transform-origin:center}
.smj-waypoint-copy{white-space:pre-line}
.smj-steps{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:0;margin:0 0 24px}
.smj-steps li{display:flex;gap:12px;align-items:flex-start;padding:12px;border:1px solid #28414a;border-radius:8px;background:#091a21;min-width:0}
.smj-step-marker{display:flex;justify-content:center;align-items:center;width:28px;height:28px;flex-shrink:0;border:1px solid #446271;border-radius:50%;color:#a7bfcc;font-size:12px;font-weight:700}
.smj-steps strong{display:block;font-size:15px;color:#d7e6ec;line-height:1.3}
.smj-steps p{color:#9aafbb;margin:5px 0 0;font-size:13px;line-height:1.5}
.smj-steps .smj-current{border-color:#74d9c7;background:#173530}
.smj-current .smj-step-marker,.smj-done .smj-step-marker{color:#061916;background:#80dfc9;border-color:#80dfc9}
.smj-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.smj-button{font:600 14px/1.3 system-ui,sans-serif;min-height:44px;padding:11px 15px;border:1px solid #436076;border-radius:7px;background:#102838;color:#e5f0f5;cursor:pointer;touch-action:manipulation;text-align:center;letter-spacing:0}
.smj-button:hover{border-color:#a0e7da;background:#1b3b45}
.smj-button:focus-visible{outline:3px solid #cff8ee;outline-offset:3px}
.smj-button:disabled{opacity:.5;cursor:wait}
.smj-button.smj-primary{background:#a4ebd6;color:#092522;border-color:#a4ebd6}
.smj-section-title{font-size:20px;margin:28px 0 14px;letter-spacing:-.2px}
.smj-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.smj-card{border:1px solid #314858;border-radius:12px;background:#0c1b2b;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.smj-art{width:100%;height:156px;object-fit:cover;display:block;background:#11283a}
.smj-art-frame{position:relative;min-height:156px;background:radial-gradient(circle at 70% 30%,#28665f,#102432 65%);overflow:hidden}
.smj-art-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px;color:#c0e9df;font:700 20px/1.3 system-ui,sans-serif;letter-spacing:.5px}
.smj-art-frame .smj-art{position:relative}
.smj-card-copy{padding:18px;display:flex;flex-direction:column;flex:1}
.smj-card h3{font-size:20px;margin:1px 0 7px;letter-spacing:-.25px;color:#edf4ff}
.smj-card p:not(.smj-eyebrow){font-size:14px;color:#bfd0dd;margin:0 0 12px}
.smj-card p.smj-note{font-size:12px;color:#90a8bb;border-top:1px solid #273f50;padding-top:12px;line-height:1.6}
.smj-card .smj-actions{margin-top:auto;padding-top:4px}
.smj-status{padding:14px 16px;background:#23343b;border:1px solid #587280;color:#e7eff4;border-radius:8px;margin-top:14px;font-size:14px}
.smj-status .smj-button{display:block;margin-top:10px}
.smj-success{color:#9fecd1!important;font-size:13px!important;margin:12px 0!important}
.smj-next{padding:18px 0 4px;color:#9bb2c4;font-size:14px}
.smj-next h3{font-size:16px;color:#d0e1ee;margin:8px 0}.smj-next p{margin:0}
#msg-box .smj-port-card{background:linear-gradient(125deg,#183831,#0d2633);border:1px solid #4f8075;border-radius:10px;padding:16px;margin:8px 0 16px;text-align:left;font:14px/1.5 system-ui,sans-serif}
#msg-box .smj-port-card h3{font:700 21px/1.3 system-ui,sans-serif;margin:0 0 6px;color:#e2f5ee}
#msg-box .smj-port-card p:not(.smj-eyebrow){font-size:14px;color:#b4d0d1;margin:0 0 12px}
#msg-box .smj-port-card .smj-button{width:100%;font-size:14px!important;min-height:44px}
@media(max-width:600px){.smj-overlay{padding:0}.smj-panel{max-height:100dvh;height:100dvh;border-radius:0;border:0}.smj-header{padding:calc(14px + env(safe-area-inset-top)) 16px 14px}.smj-header h1{font-size:22px}.smj-header .smj-button{padding:10px 12px}.smj-scroll{padding:16px 14px calc(24px + env(safe-area-inset-bottom))}.smj-chapter{padding:18px 15px}.smj-chapter h2{font-size:23px}.smj-steps,.smj-grid{grid-template-columns:1fr}.smj-steps{gap:10px}.smj-steps li{padding:11px 9px}.smj-steps p{font-size:13px}.smj-actions .smj-button{flex:1 1 180px}.smj-art{height:155px}.smj-eyebrow{font-size:10px}}
@media(max-height:480px) and (orientation:landscape){.smj-panel{max-height:100dvh;height:100dvh}.smj-overlay{padding:0}.smj-header{padding:10px 18px}.smj-header h1{font-size:19px}.smj-scroll{padding:16px}}


.smj-security{margin-bottom:18px;border-color:#5e7daf;background:radial-gradient(ellipse at 100% 0,#273a6380,transparent 70%),#111c31}
.smj-security .smj-next-action{background:#1e3355;border-color:#a2c6ff}
.smj-equipment-note,.smj-unlock-preview{padding:14px 16px;border:1px solid #475b76;border-radius:9px;background:#12233a;color:#c5d8ef;font-size:13px;line-height:1.6}
.smj-equipment-note{margin:0 0 20px}.smj-unlock-preview{margin-top:16px}
.smj-unlock-preview h3{margin:0 0 6px;color:#e7f0ff;font-size:19px}.smj-unlock-preview p:last-child{margin:0}
