#pandemic-demo{--pd-cyan:#83e5f5;--pd-muted:#a8bbd0;color:#eff7ff;background:radial-gradient(ellipse at 60% 25%,#102a40,transparent 65%),#08121f;border:1px solid #294257;border-radius:22px;margin:24px 0 36px;padding:28px;font:15px/1.55 system-ui,sans-serif;box-shadow:0 20px 70px #0003}#pandemic-demo *{box-sizing:border-box}#pandemic-demo h2{font-size:clamp(32px,4vw,52px);letter-spacing:-2px;margin:0}#pandemic-demo p{margin:8px 0}.pd-top,.pd-toolbar,.pd-bottom,.pd-map-head,.pd-legend{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.pd-eyebrow{font-size:11px;letter-spacing:2px;color:var(--pd-cyan);font-weight:700}.pd-sub,.pd-note,#pd-response{color:var(--pd-muted)}.pd-badge{border:1px solid #355568;border-radius:30px;padding:7px 13px;font-size:12px;color:#a9c7d8}.pd-toolbar{justify-content:flex-start;margin:24px 0}.pd-toolbar label{font-size:11px;color:var(--pd-muted);display:flex;flex-direction:column;gap:4px}#pandemic-demo button,#pandemic-demo select{background:#14283a;border:1px solid #365166;color:#edfaff;padding:10px 13px;border-radius:8px;font:inherit;cursor:pointer}#pandemic-demo button:hover{background:#234359}#pandemic-demo button:focus-visible,#pandemic-demo select:focus-visible,#pandemic-demo input:focus-visible{outline:3px solid #8ce5ef;outline-offset:3px}#pandemic-demo #pd-play{background:#9cecf0;color:#08202c;font-weight:750}#pandemic-demo button:disabled{opacity:.6;cursor:default}#pd-volume{width:80px;accent-color:#8ce5ef}.pd-scene{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(220px,1fr);border:1px solid #294257;border-radius:15px;overflow:hidden;background:#07121ed9}.pd-map{padding:20px 12px}.pd-map-head{font:10px/1.5 ui-monospace,monospace;letter-spacing:1px;color:#a8c5d6;padding:0 12px}.pd-map svg{width:100%;height:auto;display:block;margin:15px 0}.pd-edge{stroke:#294559;stroke-width:2;fill:none}.pd-edge.active.risk{stroke:#ef8277;stroke-dasharray:7 8}.pd-edge.safe{stroke:#5fd8bd;stroke-dasharray:7 8}.pd-playing .pd-edge.active{animation:pd-flow 3s linear infinite}.pd-node .pd-dot{fill:#122c40;stroke:#85d7f3;stroke-width:2}.pd-halo{fill:#83e5f508;stroke:#83e5f522}.pd-node text{fill:#e5f1fa;font:13px system-ui}.pd-node .pd-state{font-size:10px;fill:#a5bdd0}.pd-node.compromised .pd-dot{fill:#c94f48;stroke:#ffa397}.pd-node.exposed .pd-dot,.pd-node.disrupted .pd-dot{fill:#725128;stroke:#ffc879}.pd-node.contained .pd-dot,.pd-node.recovering .pd-dot{fill:#196552;stroke:#74eacb}.pd-playing .compromised .pd-halo{animation:pd-pulse 2s ease-in-out infinite;stroke:#f3917e}.pd-legend{justify-content:center;gap:15px;font-size:10px;color:#85d7f3}.pd-legend span:nth-child(2){color:#ffc879}.pd-legend span:nth-child(3){color:#ffa397}.pd-legend span:nth-child(4){color:#74eacb}.pd-story{border-left:1px solid #294257;padding:24px;background:#101e2c}.pd-story h3{font-size:26px;line-height:1.2;margin:18px 0}.pd-story p{font-size:13px}.pd-stat{border-top:1px solid #314357;margin:24px 0;padding-top:15px}.pd-stat strong{font-size:36px;display:block;font-weight:600}.pd-stat span{font-size:11px;color:var(--pd-muted)}.pd-caption{margin:18px 0;padding:16px 20px;border-left:2px solid #88dcea;background:#132332;border-radius:0 10px 10px 0;min-height:110px}.pd-caption span{font:10px ui-monospace,monospace;letter-spacing:2px;color:#84d7e7}.pd-caption p{max-width:1000px;font-size:15px}.pd-steps{display:flex;gap:7px}#pandemic-demo .pd-steps button{padding:7px 11px;font-size:12px}#pandemic-demo [aria-current=step]{background:#9cecf0;color:#072332}.pd-bottom label,#pd-audio,.pd-note{font-size:11px}#pandemic-demo .pd-note{margin-top:18px}#pandemic-demo:fullscreen{overflow:auto;margin:0;border-radius:0;padding:4vw}.pd-scene svg text{user-select:none}@keyframes pd-flow{to{stroke-dashoffset:-60}}@keyframes pd-pulse{50%{opacity:.3;stroke-width:5}}@media(prefers-reduced-motion:reduce){#pandemic-demo *{animation:none!important}}@media(max-width:760px){#pandemic-demo{padding:16px}.pd-scene{grid-template-columns:1fr}.pd-story{border-left:0;border-top:1px solid #294257}.pd-story h3{margin:8px 0}.pd-stat{margin:12px 0}.pd-toolbar{gap:10px}.pd-caption{min-height:150px}.pd-map{padding:15px 0}.pd-top{gap:8px}.pd-legend{gap:8px;font-size:9px}}
