html,body{margin:0;min-height:100%;background:#05010f;color:#d7f5ff}body{min-height:100vh;overflow-x:hidden}.pulse-shell{display:flex;flex-direction:column;gap:12px;width:100%;box-sizing:border-box;margin:0 auto;padding:16px;font-family:Segoe UI,system-ui,sans-serif;color:#d7f5ff;position:relative}.pulse-viewport{border-radius:14px;overflow:hidden;border:1px solid rgba(103,232,249,.35);box-shadow:0 0 32px #38bdf82e;background:#05010f}.pulse-stage{width:100%;aspect-ratio:16 / 9;min-height:min(68vh,720px)}.pulse-stage canvas{display:block;width:100%;height:100%}.pulse-panel{display:flex;flex-direction:column;gap:10px;position:absolute;top:28px;left:28px;right:28px;z-index:5;pointer-events:none}.pulse-panel .pulse-touch-pad,.pulse-panel .pulse-touch-wide{pointer-events:auto}.pulse-hud{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));gap:10px 18px;padding:12px 16px;border-radius:12px;background:linear-gradient(120deg,#091428eb,#1c082ee0);border:1px solid rgba(148,163,255,.3)}.pulse-mission{display:none}.pulse-combat-state{display:block;margin-top:2px;color:#67e8f9;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;font-weight:700;letter-spacing:.16em}.pulse-row{display:flex;align-items:center;gap:8px;font-size:15px}.pulse-label{text-transform:uppercase;letter-spacing:.14em;font-size:11px;color:#7dd3fc}.pulse-value{font-variant-numeric:tabular-nums;font-weight:600}.pulse-section-name{color:#f0abfc}.pulse-meter{flex:1;height:8px;border-radius:999px;background:#7dd3fc29;overflow:hidden}.pulse-meter-fill{display:block;height:100%;width:0%;border-radius:inherit;background:linear-gradient(90deg,#22d3ee,#e879f9,#fbbf24);transition:width .12s linear}.pulse-shields{display:flex;gap:6px}.pulse-pip{width:18px;height:18px;border-radius:50%;border:1px solid rgba(125,211,252,.6)}.pulse-pip-live{background:radial-gradient(circle at 30% 30%,#a5f3fc,#0891b2);box-shadow:0 0 10px #22d3eecc}.pulse-pip-lost{background:#1e293be6;box-shadow:none}.pulse-state{grid-column:1 / -1;font-size:20px;font-weight:700;letter-spacing:.08em;text-align:center;padding:8px;border-radius:10px;color:#fef3c7;background:#78350f66}.pulse-state[data-state=ready]{color:#a5f3fc;background:#0833448c}.pulse-state[data-state=summary]{color:#fecdd3;background:#88133773}.pulse-sync-badge{grid-column:1 / -1;justify-self:end;font-family:ui-monospace,monospace;font-size:12px;padding:3px 10px;border-radius:999px;border:1px dashed rgba(125,211,252,.6);color:#67e8f9}.pulse-sync-badge[data-mode=pattern]{color:#fbbf24;border-color:#fbbf24b3}.pulse-touch-pad{display:flex;justify-content:space-between;gap:12px}.pulse-touch-column{display:flex;gap:10px}.pulse-touch{min-width:76px;min-height:52px;border-radius:12px;border:1px solid rgba(103,232,249,.5);background:#082f49a6;color:#e0f2fe;font-size:15px;font-weight:600;cursor:pointer}.pulse-touch:active{background:#0e7490d9}.pulse-touch-wide{justify-self:start;min-height:34px;min-width:132px}body[data-capture=review] .pulse-shell{width:100vw;height:100vh;box-sizing:border-box;padding:0;gap:0}body[data-capture=review] .pulse-viewport{width:100%;height:100%;border:0;border-radius:0;box-shadow:none}body[data-capture=review] .pulse-stage{width:100%;height:100%;min-height:0;aspect-ratio:auto}body[data-capture=review] .pulse-panel{position:fixed;inset:18px 18px auto;z-index:5;display:block;pointer-events:none}body[data-capture=review] .pulse-hud{display:grid;grid-template-columns:1.7fr repeat(5,auto);align-items:center;gap:18px;width:min(1050px,calc(100vw - 36px));box-sizing:border-box;margin:0 auto;padding:10px 16px;border-radius:8px;border:1px solid rgba(125,211,252,.34);background:linear-gradient(90deg,#040b18eb,#0c162ad1);box-shadow:0 10px 30px #02061761}body[data-capture=review] .pulse-mission{display:flex;flex-direction:column;gap:2px;min-width:210px;color:#f8fafc;font-size:13px;letter-spacing:.12em}body[data-capture=review] .pulse-mission-kicker{color:#fb7185;font-size:9px;font-weight:800;letter-spacing:.24em}body[data-capture=review] .pulse-combat-state{color:#fbbf24;font-size:8px;letter-spacing:.14em}body[data-capture=review] .pulse-row{flex-direction:column;align-items:flex-start;gap:1px;min-width:76px;font-size:13px}body[data-capture=review] .pulse-shields{flex-direction:row;align-items:center;min-width:74px}body[data-capture=review] .pulse-pip{width:13px;height:13px}body[data-capture=review] .pulse-meter,body[data-capture=review] .pulse-state,body[data-capture=review] .pulse-touch-wide,body[data-capture=review] .pulse-sync-badge,body[data-capture=review] .pulse-touch-pad{display:none}@media(max-width:640px){html,body{width:100%;min-width:320px;margin:0;overflow:hidden;background:#05010f}.pulse-shell{width:100%;height:100vh;padding:7px;gap:7px}.pulse-viewport{border-radius:9px}.pulse-stage{height:54vh;min-height:0;aspect-ratio:auto}.pulse-hud{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 9px;padding:7px 9px}.pulse-row{font-size:12px;gap:5px}.pulse-label{font-size:9px;letter-spacing:.08em}.pulse-state{padding:4px;font-size:13px}.pulse-touch-wide{display:none}.pulse-touch-pad,.pulse-touch-column{gap:7px}.pulse-touch{min-width:67px;min-height:46px;border-radius:10px;font-size:13px}}
