:root{width:100%;height:100%;margin:0;padding:0}html,body{background-color:#050505;width:100%;height:100%;margin:0;padding:0;overflow:hidden}#root{box-sizing:border-box;flex-direction:column;width:100%;max-width:100%;height:100%;min-height:100%;margin:0;padding:0;display:flex}:root{--bg:#050505;--surface:#0a0c10;--surface-raised:#11141d;--border:#ffffff14;--border-subtle:#ffffff0d;--border-focus:#f30;--accent:#f30;--accent-cyan:#00f0ff;--accent-green:#10b981;--accent-amber:#f59e0b;--text-main:#f1f5f9;--text-muted:#64748b;--text-dim:#334155;--font-sans:"IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono:"IBM Plex Mono", ui-monospace, Menlo, Monaco, Consolas, monospace}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html,body{background-color:var(--bg);color:var(--text-main);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:100%;overflow:hidden}#root{flex-direction:column;height:100%;display:flex}.mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.playground-top-header{border-bottom:1px solid var(--border);z-index:100;background:#06070a;flex-shrink:0;justify-content:space-between;align-items:center;height:48px;padding:0 16px;display:flex}.header-brand-cluster,.header-tools-cluster,.header-actions-cluster{align-items:center;gap:10px;display:flex}.brand-link{color:inherit;align-items:center;gap:8px;text-decoration:none;display:flex}.brand-dot-pulse{background-color:var(--accent);width:7px;height:7px;box-shadow:0 0 8px var(--accent);border-radius:50%}.brand-title-text{letter-spacing:.06em;color:#fff;font-size:13px;font-weight:700}.brand-tag-dx{color:var(--accent);background:#ff33001f;border:1px solid #ff330059;border-radius:3px;padding:2px 6px;font-size:9.5px;font-weight:700}.showcase-segmented-control{border:1px solid var(--border);background:#0c0e14;border-radius:4px;margin-left:8px;padding:2px;display:flex}.seg-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:3px;padding:4px 10px;font-size:11px;font-weight:600;transition:all .12s}.seg-btn:hover{color:#fff}.seg-btn.active{background:var(--surface-raised);color:#fff;border:1px solid #ffffff1a}.btn-tool-pill{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:#0c0e14;border-radius:4px;align-items:center;gap:5px;padding:5px 11px;font-size:11px;transition:all .12s;display:inline-flex}.btn-tool-pill:hover{color:#fff;border-color:#fff3}.btn-tool-pill.active-tool{border-color:var(--accent-cyan);color:var(--accent-cyan);background:#00f0ff1a}.btn-dossier-pill{border-color:#ffffff26}.btn-tool-link{color:var(--text-muted);border:1px solid #0000;border-radius:4px;padding:5px 10px;font-size:11px;text-decoration:none;transition:all .12s}.btn-tool-link:hover{color:#fff;border-color:var(--border)}.playground-master-layout{flex:1;display:flex;position:relative;overflow:hidden}.left-sidebar-pane{border-right:1px solid var(--border);background:#08090d;flex-direction:column;flex-shrink:0;width:300px;display:flex;overflow:hidden}.sidebar-header-bar{border-bottom:1px solid var(--border);background:#0b0c12;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.sidebar-title-mono{letter-spacing:.08em;color:var(--text-muted);font-size:10px;font-weight:700}.sidebar-header-actions{align-items:center;gap:5px;display:flex}.btn-history-step{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:#ffffff0a;border-radius:3px;justify-content:center;align-items:center;width:24px;height:24px;transition:all .12s;display:flex}.btn-history-step:hover:not(:disabled){color:#fff;background:#ffffff14;border-color:#ffffff40}.btn-history-step:disabled{opacity:.3;cursor:not-allowed}.btn-center-scroll{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:#ffffff0a;border-radius:3px;align-items:center;gap:4px;padding:3px 8px;font-size:10px;transition:all .12s;display:inline-flex}.btn-center-scroll:hover{color:#fff;border-color:#fff3}.sidebar-scrollable-content{flex-direction:column;flex:1;gap:18px;padding:14px;display:flex;overflow-y:auto}.telemetry-box{border:1px solid var(--border);background:#0b0d14;border-radius:6px;padding:12px}.telemetry-box-header{color:var(--text-muted);letter-spacing:.05em;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:9.5px;display:flex}.badge-phase{color:var(--text-muted);background:#ffffff0f;border-radius:3px;padding:1px 6px;font-size:9px;font-weight:700}.badge-phase.phase-engaged{color:var(--accent);background:#ff330026}.badge-phase.phase-probing{color:var(--accent-cyan);background:#00f0ff26}.telem-metrics-grid{flex-direction:column;gap:7px;font-size:10.5px;display:flex}.metric-row{align-items:center;gap:8px;display:flex}.metric-k{width:70px;color:var(--text-muted);font-size:9.5px}.metric-bar-wrap{background:#1e2230;border-radius:2px;flex:1;height:4px;overflow:hidden}.metric-bar-fill{background:var(--accent);height:100%;transition:width 60ms linear}.metric-bar-fill.fill-cyan{background:var(--accent-cyan)}.metric-v{text-align:right;width:32px;color:var(--text-main);font-weight:600}.metric-kv-pair{border-top:1px solid #ffffff08;justify-content:space-between;align-items:center;padding-top:4px;display:flex}.target-text{color:var(--accent-cyan);width:auto}.source-touch{color:var(--accent)}.source-screen{color:var(--accent-cyan)}.tuning-section{flex-direction:column;gap:12px;display:flex}.channel-section-header{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;padding-bottom:4px;display:flex}.channel-section-header .section-label{border-bottom:none;padding-bottom:0}.btn-channel-pill{cursor:pointer;border:1px solid #0000;border-radius:3px;padding:1px 6px;font-size:8.5px;font-weight:700;transition:all .12s}.btn-channel-pill.channel-active{color:var(--accent-cyan);background:#00f0ff26;border-color:#00f0ff66}.btn-channel-pill.channel-active:hover{background:#00f0ff40}.btn-channel-pill.channel-muted{color:#ef4444;background:#ef44441f;border-color:#ef44444d}.btn-channel-pill.channel-muted:hover{background:#ef444438}.section-label{letter-spacing:.08em;color:var(--text-muted);border-bottom:1px solid var(--border-subtle);padding-bottom:4px;font-size:9.5px;font-weight:700}.guide-toggles-list{flex-direction:column;gap:8px;display:flex}.guide-toggle-row{color:var(--text-main);cursor:pointer;justify-content:space-between;align-items:center;font-size:11.5px;display:flex}.guide-switch-input{appearance:none;cursor:pointer;background:#1a1e2a;border-radius:8px;outline:none;width:28px;height:16px;transition:background .16s;position:relative}.guide-switch-input:before{content:"";background:#64748b;border-radius:50%;width:12px;height:12px;transition:transform .16s,background .16s;position:absolute;top:2px;left:2px}.guide-switch-input:checked{background:var(--accent)}.guide-switch-input:checked:before{background:#fff;transform:translate(12px)}.channel-preset-pills{grid-template-columns:1fr 1fr 1fr;gap:6px;margin-bottom:8px;display:grid}.btn-preset-pill{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;text-align:center;white-space:nowrap;background:#ffffff0a;border-radius:3px;padding:5px 2px;font-size:9px;font-weight:700;transition:all .12s}.btn-preset-pill:hover{color:#fff;background:#ffffff14;border-color:#ffffff40}.btn-preset-pill.active{color:var(--accent-cyan);background:#00f0ff26;border-color:#00f0ff80}.slider-control{flex-direction:column;gap:6px;display:flex}.slider-header{color:var(--text-muted);justify-content:space-between;align-items:center;font-size:10.5px;display:flex}.slider-val{color:#fff;font-weight:600}.range-slider{appearance:none;cursor:pointer;background:#1a1e2a;border-radius:2px;outline:none;width:100%;height:4px}.range-slider::-webkit-slider-thumb{appearance:none;background:var(--accent);cursor:pointer;width:14px;height:14px;box-shadow:0 0 6px var(--accent);border-radius:50%}.demo-properties-card{background:#ffaa0008;border:1px solid #ffaa0059;border-radius:4px;gap:10px;padding:10px 12px}.demo-card-header{border-bottom:1px solid #fa03;justify-content:space-between;align-items:center;padding-bottom:4px;display:flex}.demo-card-title{letter-spacing:.08em;color:#fa0;font-size:9.5px;font-weight:700}.val-amber{color:#fa0!important}.range-slider.slider-amber::-webkit-slider-thumb{background:#fa0;box-shadow:0 0 8px #ffaa00b3}.select-dropdown{border:1px solid var(--border);color:var(--text-main);background:#0b0d14;border-radius:4px;outline:none;padding:6px 8px;font-size:11px}.sidebar-footer-actions{border-top:1px solid var(--border-subtle);padding-top:10px}.btn-reset-defaults{border:1px solid var(--border);width:100%;color:var(--text-muted);cursor:pointer;background:#ffffff08;border-radius:4px;padding:7px;font-size:10px;transition:all .12s}.btn-reset-defaults:hover{color:#fff;border-color:#fff3}.center-canvas-pane{background:#040507;flex-direction:column;flex:1;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.simulated-phone-frame{background:#000;border:8px solid #1c1f28;border-radius:44px;flex-direction:column;width:410px;height:calc(100vh - 84px);max-height:840px;transition:width .24s;display:flex;position:relative;overflow:hidden;box-shadow:0 25px 60px #000000e6,0 0 0 1px #ffffff1a}.phone-speaker-island{z-index:80;pointer-events:none;background:#000;border:1px solid #ffffff0d;border-radius:12px;width:90px;height:20px;position:absolute;top:10px;left:50%;transform:translate(-50%)}.full-width-canvas-wrapper{width:100%;height:100%}.mainframe-mobile-viewport-wrapper,.collective-viewport-wrapper{flex-direction:column;width:100%;height:100%;display:flex;position:relative;overflow:hidden}.mainframe-scroll-canvas,.collective-scroll-canvas{touch-action:pan-y;-webkit-overflow-scrolling:touch;scroll-behavior:auto;flex:1;position:relative;overflow:hidden auto}.visual-anchor-guide-line{z-index:50;pointer-events:none;width:100%;position:absolute;left:0;right:0;transform:translateY(-50%)}.anchor-label{color:var(--accent-cyan);letter-spacing:.04em;background:#000000d9;border:1px solid #00f0ff66;border-radius:3px;padding:1px 6px;font-size:8.5px;position:absolute;top:-18px;right:12px}.anchor-hairline{background:linear-gradient(90deg,#0000,#00f0ff99 20% 80%,#0000);height:1px}.visual-falloff-band{pointer-events:none;z-index:45;background:linear-gradient(#0000,#00f0ff08 30% 70%,#0000);border-top:1px dashed #00f0ff26;border-bottom:1px dashed #00f0ff26;width:100%;position:absolute;left:0;right:0}.safe-zones-overlay{pointer-events:none;z-index:55;position:absolute;inset:0}.safe-zone-top{background:repeating-linear-gradient(45deg,#ffaa000a,#ffaa000a 6px,#0000 6px 12px);border-bottom:1px dashed #ffaa0073;justify-content:center;align-items:center;height:44px;display:flex;position:absolute;top:0;left:0;right:0}.safe-zone-bottom{background:repeating-linear-gradient(45deg,#ffaa000a,#ffaa000a 6px,#0000 6px 12px);border-top:1px dashed #ffaa0073;justify-content:center;align-items:center;height:34px;display:flex;position:absolute;bottom:0;left:0;right:0}.safe-zone-left{background:#ffaa0005;border-right:1px dashed #ffaa0040;width:12px;position:absolute;top:44px;bottom:34px;left:0}.safe-zone-right{background:#ffaa0005;border-left:1px dashed #ffaa0040;width:12px;position:absolute;top:44px;bottom:34px;right:0}.safe-zone-label{font-family:var(--font-mono);color:#ffaa00d9;letter-spacing:.05em;background:#000000d9;border:1px solid #ffaa004d;border-radius:2px;padding:1px 6px;font-size:8px}.abundant-scroll-lead{pointer-events:none;justify-content:center;align-items:center;height:60vh;display:flex}.abundant-scroll-trail{pointer-events:none;justify-content:center;align-items:center;height:85vh;display:flex}.scroll-hint-text{color:var(--text-dim);letter-spacing:.1em;font-size:9px}.tactical-rack-container{max-width:440px;margin:0 auto;padding:0 16px;position:relative}.tactical-rack-header{border-bottom:1px solid #222;justify-content:space-between;align-items:center;margin-bottom:10px;padding-bottom:10px;display:flex}.col-header-id,.col-header-status{color:var(--text-muted);letter-spacing:.05em;font-size:10px}.header-right-group{align-items:center;gap:12px;display:flex}.btn-do-not-click{color:#f53;letter-spacing:.06em;cursor:pointer;background:#ff330014;border:1px solid #ff33004d;border-radius:2px;padding:3px 8px;font-size:9px;font-weight:700;transition:all .12s}.btn-do-not-click:hover{background:#f303;border-color:#f30}.btn-do-not-click.glitch-alert{color:#000;background:#f30}.tactical-units-list{flex-direction:column;gap:8px;display:flex;position:relative}.tactical-unit-row{cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:pan-y;will-change:border-left-color, background-color;background:#0a0a0a;border:1px solid #222;border-left-width:3px;justify-content:space-between;align-items:center;padding:16px;transition:border-left-color 90ms linear,background-color .12s;display:flex;position:relative}.tactical-unit-row[data-hs-item]{border-left-color:color-mix(in srgb, var(--accent) calc(var(--hs-strength,0) * 100%), #222)}.tactical-unit-row.unit-focused,.tactical-unit-row:hover{background:#111}.unit-meta-col{flex-direction:column;gap:4px;display:flex}.unit-code-mono{color:var(--text-muted);letter-spacing:.05em;font-size:10px}.unit-code-mono.code-glitch{color:#778;text-decoration:line-through}.unit-title-text{text-transform:uppercase;letter-spacing:-.02em;color:#fff;font-size:16px;font-weight:900}.unit-status-col{align-items:center;display:flex}.status-led{background:#333;border-radius:50%;width:8px;height:8px;transition:background 90ms linear,box-shadow 90ms linear}.status-led.led-active{background:var(--accent);box-shadow:0 0 10px var(--accent)}.floating-portrait-peek{aspect-ratio:2/3;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:60;cursor:pointer;opacity:0;pointer-events:none;background:#050505f5;border:1px solid #ff33008c;border-radius:12px;flex-direction:column;width:154px;padding:8px;transition:opacity .12s linear,transform .14s cubic-bezier(.16,1,.3,1);display:flex;position:absolute;top:10%;left:18%;transform:scale(.92)translateY(8px);box-shadow:0 16px 36px #000000eb,0 0 24px #ff330038}.floating-portrait-peek.peek-visible{opacity:1;pointer-events:auto;transform:scale(1)translateY(0)}.peek-crt-texture{pointer-events:none;opacity:.8;background:repeating-linear-gradient(#0000 0 2px,#0006 3px 4px);border-radius:12px;position:absolute;inset:0}.peek-img-frame{background:#111;border:1px solid #ff330059;border-radius:8px;flex:1;width:100%;margin-bottom:6px;position:relative;overflow:hidden}.peek-thumbnail{object-fit:cover;width:100%;height:100%;display:block}.peek-prev-pill{color:var(--accent);letter-spacing:.04em;background:#000000d9;border-radius:2px;padding:1px 4px;font-size:7.5px;font-weight:700;position:absolute;bottom:4px;right:4px}.peek-title-mono{text-transform:uppercase;color:#fff;letter-spacing:-.01em;white-space:nowrap;text-overflow:ellipsis;margin-bottom:6px;font-size:10.5px;font-weight:800;overflow:hidden}.peek-footer-bar{justify-content:space-between;align-items:center;font-size:8px;display:flex}.peek-live-status{color:var(--accent);align-items:center;gap:4px;font-weight:800;display:flex}.pulse-dot-indicator{background:var(--accent);width:5px;height:5px;box-shadow:0 0 6px var(--accent);border-radius:50%;animation:1.5s infinite pulse}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.8)}}.peek-access-btn{color:var(--accent);font-weight:800}.collective-canvas-inner{justify-content:center;align-items:center;width:100%;max-width:1200px;min-height:820px;margin:0 auto;display:flex;position:relative}.collective-background-text{pointer-events:none;z-index:1;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.collective-subhead{letter-spacing:.3em;color:var(--text-muted);text-transform:uppercase;margin-bottom:12px;font-size:12px}.collective-massive-title{flex-direction:column;align-items:center;line-height:.84;display:flex}.text-outline{max-font-size:120px;color:#0000;-webkit-text-stroke:1.5px #ffffff1f;letter-spacing:-.04em;font-size:13vw;font-weight:900}.text-solid{max-font-size:120px;color:#fff;letter-spacing:-.04em;font-size:13vw;font-weight:900;position:relative}.text-accent-glow{background:var(--accent);filter:blur(24px);opacity:.35;pointer-events:none;height:18px;position:absolute;bottom:8%;left:0;right:0}.collective-cards-layer{pointer-events:none;z-index:10;position:absolute;inset:0}.collective-team-card{aspect-ratio:3/4.2;pointer-events:auto;cursor:pointer;will-change:transform, box-shadow;background:#0d0f17;border:1px solid #ffffff1a;border-radius:12px;width:200px;transition:transform 90ms linear,box-shadow 90ms linear;position:absolute;overflow:hidden;box-shadow:0 16px 40px #000000b3}.collective-team-card[data-hs-item]{transform:scale(calc(1 + var(--hs-strength,0) * .08));box-shadow:0 20px calc(40px + var(--hs-strength,0) * 30px) #000000d9;z-index:calc(10 + Math.round(var(--hs-strength,0) * 20))}.team-card-image{object-fit:cover;width:100%;height:100%;filter:grayscale(calc((1 - var(--hs-strength,0)) * 100%)) contrast(calc(125% - var(--hs-strength,0) * 20%));transition:filter 90ms linear;position:absolute;inset:0}.team-card-vignette{pointer-events:none;background:linear-gradient(#0000,#0006 40%,#000000f2 85%);position:absolute;inset:0}.team-card-content{z-index:2;pointer-events:none;flex-direction:column;justify-content:space-between;padding:12px;display:flex;position:absolute;inset:0}.card-top-header{justify-content:space-between;align-items:center;display:flex}.card-specialty-pill{color:#e2e8f0;text-transform:uppercase;background:#0009;border:1px solid #ffffff26;border-radius:999px;align-items:center;gap:5px;padding:2px 7px;font-size:8px;display:inline-flex}.specialty-dot{border-radius:50%;width:5px;height:5px}.card-index-mono{color:#fff6;font-size:8.5px;font-weight:700}.card-bottom-content{flex-direction:column;display:flex}.personality-quote{color:#fff;opacity:var(--hs-strength,0);transform:translateY(calc((1 - var(--hs-strength,0)) * 8px));margin-bottom:4px;font-size:11px;font-weight:800;line-height:1.35;transition:opacity 90ms linear,transform 90ms linear}.personality-quirk{color:var(--text-muted);opacity:var(--hs-strength,0);margin-bottom:6px;font-size:8.5px;line-height:1.3;transition:opacity 90ms linear}.card-name-role-bar{border-top:1px solid #ffffff26;flex-direction:column;padding-top:6px;display:flex}.card-member-name{text-transform:uppercase;color:#fff;letter-spacing:-.02em;font-size:13px;font-weight:900}.card-member-role{color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;font-size:9px}.right-code-panel{border-left:1px solid var(--border);background:#10121a;flex-direction:column;flex:1.4;min-width:480px;display:flex;overflow:hidden}.codemirror-tab-grid{border-bottom:1px solid var(--border);background:#090a10;flex-shrink:0;grid-template-columns:1fr 1fr .85fr;display:grid}.tab-pair-col{border-right:1px solid var(--border);flex-direction:column;display:flex}.tab-col-standalone{flex-direction:column;display:flex}.cm-grid-tab{color:var(--text-muted);cursor:pointer;white-space:nowrap;text-align:left;background:0 0;border:none;border-bottom:1px solid #ffffff0d;justify-content:space-between;align-items:center;gap:6px;padding:6px 10px;font-size:10.5px;transition:all .12s;display:flex}.tab-pair-col .cm-grid-tab:last-child{border-bottom:none}.tab-col-standalone .standalone-tab{border-bottom:none;justify-content:center;align-items:center;gap:8px;height:100%;display:flex}.cm-grid-tab:hover{color:#fff;background:#ffffff0a}.cm-grid-tab.active{color:#fff;background:#141722}.cm-grid-tab.active .tab-name{color:var(--accent-cyan);font-weight:600}.tab-icon{flex-shrink:0;align-items:center;display:flex}.tab-name{text-overflow:ellipsis;flex:1;overflow:hidden}.tab-tag{border-radius:2px;flex-shrink:0;padding:1px 4px;font-size:7.5px;font-weight:700}.tag-legacy{color:#ef4444;background:#ef444426}.tag-dx{color:#10b981;background:#10b98126}.tag-css{color:#38bdf8;background:#0ea5e926}.codemirror-sub-bar{border-bottom:1px solid var(--border);color:var(--text-muted);background:#0c0e16;flex-shrink:0;justify-content:space-between;align-items:center;padding:6px 12px;font-size:10px;display:flex}.breadcrumbs{align-items:center;gap:4px;display:flex}.active-file-text{color:var(--text-main);font-weight:600}.actions-cluster{align-items:center;gap:6px;display:flex}.btn-editor-action{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:#ffffff0a;border-radius:3px;justify-content:center;align-items:center;width:24px;height:24px;transition:all .12s;display:inline-flex}.btn-editor-action:hover{color:#fff;background:#ffffff14;border-color:#ffffff40}.btn-apply-run{background:var(--accent);color:#000;cursor:pointer;border:none;border-radius:3px;align-items:center;gap:4px;padding:4px 8px;font-size:9.5px;font-weight:800;transition:all .12s;display:inline-flex}.btn-apply-run:hover{background:#f52}.btn-apply-run.flash-success{background:var(--accent-green);color:#fff}.btn-copy-code{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:#ffffff0a;border-radius:3px;align-items:center;gap:4px;padding:4px 8px;font-size:9.5px;transition:all .12s;display:inline-flex}.btn-copy-code:hover{color:#fff;border-color:#fff3}.codemirror-editor-wrapper{flex:1;position:relative;overflow:hidden}.codemirror-instance{height:100%}.codemirror-instance .cm-editor{height:100%;font-family:var(--font-mono);font-size:11.5px;line-height:1.6}.codemirror-status-bar{border-top:1px solid var(--border);height:22px;color:var(--text-muted);background:#08090e;flex-shrink:0;justify-content:space-between;align-items:center;padding:0 12px;font-size:9px;display:flex}.status-sec{gap:10px;display:flex}.mobile-bottom-navbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--border);z-index:150;background:#08090ef2;justify-content:space-around;align-items:center;height:54px;padding:0 10px;display:none;position:fixed;bottom:0;left:0;right:0}.mobile-nav-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;flex-direction:column;align-items:center;gap:3px;padding:6px 16px;transition:all .12s;display:flex}.mobile-nav-btn.active{color:#fff;background:#ffffff0d}.nav-btn-icon{font-size:14px}.nav-btn-text{font-size:9.5px;font-weight:700}@media (width<=820px){.playground-master-layout{margin-bottom:54px}.mobile-bottom-navbar{display:flex}.simulated-phone-frame{width:100%!important;height:100%!important;max-height:none!important;box-shadow:none!important;border:none!important;border-radius:0!important}.phone-speaker-island{display:none!important}.mobile-top-header{border-bottom:1px solid var(--border);background:#07080d;justify-content:space-between;align-items:center;gap:8px;height:46px;padding:0 10px;display:flex}.mobile-top-header .brand-title-text{letter-spacing:.04em;font-size:11px}.mobile-top-header .brand-tag-dx{padding:1px 4px;font-size:8px}.mobile-top-header .mobile-showcase-switcher{margin-left:0;padding:2px;display:flex}.mobile-top-header .mobile-showcase-switcher .seg-btn{padding:4px 8px;font-size:10px}.mobile-header-actions{align-items:center;gap:5px;display:flex}.btn-icon-square{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:#0c0e14;border-radius:4px;justify-content:center;align-items:center;width:28px;height:28px;text-decoration:none;transition:all .12s;display:inline-flex}.btn-icon-square:hover,.btn-icon-square:active{color:#fff;background:#ffffff14;border-color:#ffffff40}.btn-icon-square.active-tool{border-color:var(--accent-cyan);color:var(--accent-cyan);background:#00f0ff1f}}.dossier-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:9999;background:#000000d9;justify-content:flex-end;display:flex;position:fixed;inset:0}.dossier-panel{border-left:1px solid var(--border);background:#080a10;flex-direction:column;width:100%;max-width:620px;height:100%;display:flex;overflow:hidden;box-shadow:-20px 0 50px #000000e6}.dossier-header{border-bottom:1px solid var(--border);background:#0c0e16;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.dossier-subhead{font-family:var(--font-mono);letter-spacing:.1em;color:var(--accent);font-size:9px}.dossier-title{letter-spacing:-.02em;color:#fff;margin-top:2px;font-size:16px;font-weight:800}.btn-close-dossier{border:1px solid var(--border);color:var(--text-muted);font-family:var(--font-mono);cursor:pointer;background:#ffffff0d;border-radius:4px;padding:4px 10px;font-size:11px;transition:all .12s}.btn-close-dossier:hover{color:#fff;border-color:#fff3}.dossier-body{flex-direction:column;flex:1;gap:24px;padding:20px;display:flex;overflow-y:auto}.dossier-section{flex-direction:column;gap:12px;display:flex}.section-heading{font-family:var(--font-mono);color:#fff;letter-spacing:.05em;border-bottom:1px solid var(--border);padding-bottom:6px;font-size:11.5px;font-weight:700}.dossier-table{border-collapse:collapse;width:100%;font-size:11px}.dossier-table th,.dossier-table td{border:1px solid var(--border);text-align:left;padding:8px 10px}.dossier-table th{color:var(--text-muted);font-family:var(--font-mono);background:#0f121d;font-size:9.5px}.dossier-table td{color:var(--text-main);background:#090b12}.dossier-table tr td:last-child{font-family:var(--font-mono);color:var(--accent-green);font-weight:600}.edge-card{border:1px solid var(--border);background:#0b0d16;border-radius:6px;flex-direction:column;gap:6px;padding:14px;display:flex}.edge-header{align-items:center;gap:8px;margin-bottom:4px;display:flex}.edge-badge{font-family:var(--font-mono);border-radius:3px;padding:2px 6px;font-size:8px;font-weight:800}.badge-warning{color:var(--accent-amber);background:#f59e0b26}.badge-danger{color:#ef4444;background:#ef444426}.badge-success{color:var(--accent-green);background:#10b98126}.edge-card h4{color:#fff;font-size:13px;font-weight:700}.edge-text{color:var(--text-muted);font-size:11.5px;line-height:1.5}.edge-verdict{color:#e2e8f0;margin-top:4px;font-size:11.5px}.scorecard-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.score-col{border:1px solid var(--border);background:#0b0d16;border-radius:6px;padding:14px}.score-col h4{font-family:var(--font-mono);margin-bottom:8px;font-size:11px}.win-col h4{color:var(--accent-green)}.loss-col h4{color:var(--accent-amber)}.score-col ul{flex-direction:column;gap:6px;list-style:none;display:flex}.score-col li{color:var(--text-muted);padding-left:14px;font-size:11px;line-height:1.4;position:relative}.win-col li:before{content:"✓";color:var(--accent-green);font-weight:700;position:absolute;left:0}.loss-col li:before{content:"↳";color:var(--accent-amber);font-weight:700;position:absolute;left:0}@media (hover:hover) and (pointer:fine){.touch-sim-active{-webkit-user-select:none!important;user-select:none!important;cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='rgba(0,240,255,0.18)' stroke='%2300f0ff' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='12' r='2' fill='%2300f0ff'/%3E%3C/svg%3E") 12 12,grab!important}.touch-sim-active *{-webkit-user-select:none!important;user-select:none!important;cursor:inherit!important}.touch-sim-active.touch-sim-dragging,.touch-sim-active.touch-sim-dragging *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='rgba(255,51,0,0.35)' stroke='%23ff3300' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%23ff3300'/%3E%3C/svg%3E") 12 12,grabbing!important}.touch-sim-active .tactical-unit-row:not(.unit-focused){border-left-color:#ffffff14!important}.touch-sim-active .tactical-unit-row:not(.unit-focused) .floating-portrait-peek{opacity:0!important;pointer-events:none!important;transform:translateY(8px)scale(.96)!important}}.touch-sim-notification-toast{z-index:90;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:auto;background:#0b0d14f5;border:1px solid #00f0ff4d;border-radius:6px;flex-direction:column;align-items:stretch;gap:6px;width:calc(100% - 24px);max-width:380px;padding:8px 12px;animation:.24s ease-out fadeInDownToast;display:flex;position:absolute;top:14px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #000c,0 0 15px #00f0ff1a}@keyframes fadeInDownToast{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}.toast-header-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.toast-badge{color:var(--accent-cyan);white-space:nowrap;background:#00f0ff26;border:1px solid #00f0ff66;border-radius:3px;padding:2px 6px;font-size:8px;font-weight:700}.toast-desc{color:var(--text-muted);white-space:normal;word-break:break-word;margin:0;font-size:9.5px;line-height:1.35}.toast-btn-group{flex-shrink:0;align-items:center;gap:6px;display:flex}.btn-toast-special{color:#fa0;cursor:pointer;white-space:nowrap;background:#ffaa001f;border:1px solid #fa06;border-radius:3px;padding:2px 6px;font-size:8.5px;font-weight:700;transition:all .12s}.btn-toast-special.active{color:var(--accent-cyan);background:#00f0ff29;border-color:#00f0ff80}.btn-toast-special:hover{background:#ffaa0040}.btn-toast-special.active:hover{background:#00f0ff40}.btn-toast-confirm{background:var(--accent-cyan);color:#000;cursor:pointer;border:none;border-radius:3px;padding:2px 8px;font-size:9px;font-weight:700;transition:all .12s}.btn-toast-confirm:hover{background:#fff}.btn-toast-optout{color:var(--text-muted);cursor:pointer;background:0 0;border:1px solid #ffffff26;border-radius:3px;padding:2px 7px;font-size:9px;transition:all .12s}.btn-toast-optout:hover{color:#fff;border-color:#ffffff4d}.no-ghost-drag{pointer-events:none!important;-webkit-user-drag:none!important;user-drag:none!important;-webkit-user-select:none!important;user-select:none!important}.touch-sim-restore-pill{z-index:90;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--accent-cyan);letter-spacing:.04em;cursor:pointer;pointer-events:auto;background:#0b0d14eb;border:1px solid #00f0ff66;border-radius:999px;align-items:center;gap:7px;padding:4px 11px;font-size:9px;font-weight:700;transition:all .14s;animation:.18s ease-out fadeInDownToast;display:flex;position:absolute;top:14px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #0009,0 0 10px #00f0ff1f}.touch-sim-restore-pill:hover{border-color:var(--accent-cyan);background:#00f0ff2e;transform:translate(-50%)translateY(-1px);box-shadow:0 6px 20px #000c,0 0 14px #00f0ff4d}.restore-pill-badge{color:#fff;letter-spacing:.06em;background:#00f0ff38;border:1px solid #00f0ff8c;border-radius:3px;padding:1px 5px;font-size:8px;font-weight:800}.btn-help-pill{color:var(--accent-cyan)!important;border-color:#00f0ff4d!important}.btn-help-pill:hover{border-color:var(--accent-cyan)!important;background:#00f0ff1f!important}
