@import"https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Inter:wght@300;400;500;600&display=swap";*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{min-height:100%;width:100%}body{background-color:#04080e;color:#c8d8e8;font-family:Inter,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}::-webkit-scrollbar{width:4px}::-webkit-scrollbar-track{background:#080e18}::-webkit-scrollbar-thumb{background:#1e3050}::-webkit-scrollbar-thumb:hover{background:#00d4ff44}::selection{background:#3a3a3a;color:#e8e8e8}.font-pixel{font-family:"Press Start 2P",monospace}.glow-green{text-shadow:0 0 10px #00ff8880;color:#0f8}.glow-blue{text-shadow:0 0 10px #00d4ff80;color:#00d4ff}.topbar{display:flex;align-items:center;justify-content:space-between;background:transparent;border-bottom:3px solid #000;padding:0 2rem;height:60px;min-height:60px;position:relative;z-index:100}.topbar-left,.topbar-right{display:flex;align-items:center;gap:.75rem;min-width:220px}.topbar-skip-btn{font-family:"Press Start 2P",monospace;font-size:.45rem;padding:6px 12px;border:2px solid #000;background:#fc0;color:#000;cursor:pointer;box-shadow:2px 2px #000;text-transform:uppercase;letter-spacing:.05em;transition:transform .05s,box-shadow .05s}.topbar-skip-btn:hover{background:#ffd633;transform:translate(-1px,-1px);box-shadow:3px 3px #000}.topbar-skip-btn:active{transform:translate(2px,2px);box-shadow:0 0 #000}.topbar-right{justify-content:flex-end}.topbar-center{display:flex;align-items:center;gap:2rem}.topbar-logo{display:flex;align-items:center;gap:.5rem}.logo-img{height:46px;object-fit:contain}.logo-text{font-family:"Press Start 2P",monospace;font-size:1.1rem;color:#000;letter-spacing:.15em;text-shadow:.5px .5px #eec247,1px 1px #000}.logo-blink{font-family:"Press Start 2P",monospace;font-size:1.1rem;color:#000;animation:blink 1s step-end infinite}@keyframes blink{0%,to{opacity:1}50%{opacity:0}}.center-info-group{display:flex;align-items:center;gap:16px}.info-label{display:flex;align-items:center;padding:6px 14px;border:2px solid #000;background:#fdfdf9;font-family:JetBrains Mono,monospace;font-size:.75rem;font-weight:500;color:#000;box-shadow:2px 2px #000;text-transform:uppercase;white-space:nowrap}.combined-label{gap:12px}.info-part{display:flex;align-items:center}.vertical-bar{color:#ccc;font-weight:300}.challenge-flow{gap:6px;margin-left:2px}.challenge-flow-prefix{margin-right:2px}.arrow{color:#aaa;font-size:.8rem;margin:0 4px}.challenge-item{transition:all .3s ease}.challenge-item.active{background:#ffd166;padding:2px 6px;border-radius:2px;font-weight:700}.challenge-item.completed{color:#168834}.challenge-item.completed:before{content:"✓ ";color:#168834;opacity:1}.challenge-item.upcoming{color:#aaa}.highlight-text{font-weight:700;margin-left:6px}.sector-row{display:inline-flex;align-items:center;flex-wrap:wrap;gap:0}.change-sector-action{display:inline-flex;align-items:center;gap:0;margin:0 0 0 10px;padding:0;border:none;background:transparent;font-family:JetBrains Mono,monospace;font-size:inherit;font-weight:600;color:#017ebb;cursor:pointer;text-transform:none;letter-spacing:.02em;transition:opacity .15s ease,filter .15s ease}.change-sector-paren{text-decoration:none}.change-sector-action:hover{opacity:.92;filter:brightness(1.12)}.change-sector-action:hover .change-sector-icon{transform:rotate(-18deg)}.change-sector-icon{display:inline-block;text-decoration:none;line-height:1;transition:transform .2s ease}.change-sector-label{text-decoration:underline;text-underline-offset:3px}@media(max-width:500px){.change-sector-action{display:none}}.player-identity{display:flex;flex-direction:column;align-items:flex-end;font-family:JetBrains Mono,monospace;text-align:right;line-height:1.3}.player-name{font-weight:700;font-size:1.2rem;color:#000}.player-role{font-weight:500;font-size:.85rem;color:#555;text-transform:uppercase}.topbar-avatar{width:38px;height:38px;border-radius:50%;border:0px solid #000;object-fit:cover;image-rendering:pixelated;margin-left:.5rem}@media(max-width:900px){.topbar{padding:8px 16px 10px;height:auto;min-height:52px;flex-wrap:wrap;row-gap:8px;align-items:center}.topbar-left,.topbar-right{min-width:0}.topbar-left{order:1}.topbar-right{order:2}.topbar-center{order:3;flex:1 1 100%;width:100%;min-width:0;justify-content:stretch}.logo-img{height:34px}.logo-text{font-size:.68rem;letter-spacing:.1em}.center-info-group{width:100%;justify-content:stretch}.info-label.combined-label{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:0;width:100%;max-width:100%;box-sizing:border-box;padding:8px 12px;margin:0;white-space:nowrap;text-align:left;background:#fff;border:2px solid #000;box-shadow:none;font-family:JetBrains Mono,monospace;font-size:clamp(.48rem,2.4vw,.62rem);font-weight:600;line-height:1.2;color:#000;text-transform:uppercase;letter-spacing:.03em;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.info-label.combined-label .vertical-bar{color:#888;font-weight:400;flex-shrink:0;margin:0 12px;padding:0 2px}.info-label.combined-label .highlight-text{font-family:"Press Start 2P",monospace;font-size:clamp(.38rem,2.1vw,.5rem);font-weight:400;color:#000;margin-left:4px;letter-spacing:.06em;line-height:1.2;white-space:nowrap}.info-label.combined-label .sector-row{display:inline-flex;align-items:center;flex-wrap:nowrap;flex-shrink:0;justify-content:flex-start;gap:0;white-space:nowrap}.info-label.combined-label .sector-flow-prefix{font-family:"Press Start 2P",monospace;font-size:clamp(.36rem,2vw,.46rem);letter-spacing:.08em;color:#000;flex-shrink:0}.info-label.combined-label .challenge-flow{display:inline-flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;flex-shrink:0;gap:8px;margin-left:0;white-space:nowrap}.info-label.combined-label .challenge-flow-prefix{font-family:"Press Start 2P",monospace;font-size:clamp(.36rem,2vw,.46rem);letter-spacing:.08em;color:#000;margin-right:0;flex-shrink:0}.info-label.combined-label .arrow{color:#333;font-size:.65rem;margin:0;flex-shrink:0}.info-label.combined-label .challenge-item{font-family:"Press Start 2P",monospace;font-size:clamp(.36rem,2vw,.46rem);letter-spacing:.08em;padding:2px 0;border-radius:0;color:#333;flex-shrink:0}.info-label.combined-label .challenge-item.active{background:#f18d36;color:#000!important;padding:4px 8px;border-radius:2px;border:1px solid #000;font-weight:400;box-shadow:none}.info-label.combined-label .challenge-item.completed{color:#1a6b32}.info-label.combined-label .challenge-item.completed:before{font-size:.65em}.info-label.combined-label .challenge-item.upcoming{color:#888}.player-name{font-size:.95rem}.player-role{font-size:.68rem}.topbar-avatar{width:32px;height:32px;margin-left:.35rem}.topbar-skip-btn{font-size:.38rem;padding:5px 8px}}.phase-overlay{position:fixed;inset:0;background:#ffffffd9;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:999;display:flex;align-items:center;justify-content:center}.phase-box{background:#fdfdf9;border:3px solid #000;box-shadow:8px 8px #000;padding:2.5rem 3rem;text-align:center;min-width:380px;max-width:500px;position:relative}.phase-box:before,.phase-box:after{content:"";position:absolute;width:16px;height:16px}.phase-box:before{top:-3px;left:-3px;border-top:4px solid #000;border-left:4px solid #000}.phase-box:after{bottom:-3px;right:-3px;border-bottom:4px solid #000;border-right:4px solid #000}.phase-icon{font-size:2.5rem;margin-bottom:1rem}.phase-icon.success{color:#1f2123;font-size:2.5rem}.phase-title{font-family:"Press Start 2P",monospace;font-size:.7rem;color:#000;letter-spacing:.15em;margin-bottom:1rem;line-height:2.2}.phase-sub{font-family:Inter,sans-serif;font-size:.85rem;color:#333;margin-bottom:1.2rem}.ellipsis-anim{animation:ellipsis 1.2s steps(4,end) infinite}@keyframes ellipsis{0%{opacity:0}25%{content:"."}50%{content:".."}75%{content:"..."}to{opacity:1}}.processing-block{text-align:left;margin-top:.5rem;display:flex;flex-direction:column;gap:.5rem}.proc-line{display:flex;align-items:center;gap:.3rem;font-family:monospace;font-size:.72rem}.proc-prefix{color:#000;flex-shrink:0;font-weight:700}.proc-text{color:#333}.proc-dots{color:#000;margin-left:auto;font-size:.6rem}.progress-bar-mini{height:8px;background:#fff;border:2px solid #000;margin-top:1.5rem;overflow:hidden}.progress-fill-mini{height:100%;background:#fc0;border-right:2px solid #000}.completion-screen{position:relative;width:100%;min-height:0;height:auto;max-height:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;background:#000;flex:1;box-sizing:border-box}.comp-bg{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:1}.comp-content{position:relative;z-index:4;width:55vw;max-width:580px;display:flex;flex-direction:column;align-items:center;flex-shrink:0;padding:40px 0 8px;box-sizing:border-box}.comp-advisor-chip{position:fixed;bottom:0;left:300px;z-index:4;height:44vh;min-height:100px;width:auto;pointer-events:none}.comp-advisor-chip img{width:auto;height:100%;object-fit:contain;object-position:bottom left;image-rendering:pixelated;filter:drop-shadow(2px 4px 8px rgba(0,0,0,.4))}.comp-frame.orange-retro-frame{width:100%}.comp-inner.theme-dark{background:#1a1a1a;min-height:420px;padding:.75rem 1.5rem;justify-content:flex-start;align-items:stretch}.comp-report-content{display:flex;flex-direction:column;gap:1.25rem;width:100%}.comp-report-title{font-family:"Press Start 2P",monospace;font-size:1.2rem;color:#f18d36;text-align:center;margin:.5rem 0 .2rem;letter-spacing:.08em}.comp-report-separator{width:100%;height:0;border-top:2px dashed rgba(255,255,255,.3);margin:.1rem 0}.comp-report-capture-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding-bottom:.75rem}.comp-capture-sector-block{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem}.comp-capture-sector-label{font-family:"Press Start 2P",monospace;font-size:.5rem;color:#fff;letter-spacing:.06em}.comp-capture-sector-name{font-family:"Press Start 2P",monospace;font-size:.6rem;color:#f18d36;letter-spacing:.04em}.comp-capture-identity{display:flex;align-items:center;justify-content:flex-end;gap:.75rem}.comp-capture-identity-text{display:flex;flex-direction:column;align-items:flex-end}.comp-capture-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;image-rendering:pixelated;border:2px solid rgba(255,255,255,.3);flex-shrink:0}.comp-report-capture-separator{width:100%;height:0;border-top:2px dashed rgba(255,255,255,.3);margin:.75rem 0 1rem}.comp-capture-name{font-family:JetBrains Mono,monospace;font-size:.85rem;font-weight:700;color:#fff}.comp-capture-role{font-family:JetBrains Mono,monospace;font-size:.7rem;color:#aaa;text-transform:uppercase}.comp-grade-section{display:flex;flex-direction:row;align-items:center;gap:1.15rem;margin-bottom:1.5rem}.comp-grade-box-group{flex-shrink:0}.comp-grade-box{width:64px;height:64px;background:#1a1a1a;border:2px solid rgba(255,255,255,.5);border-radius:15%;display:flex;align-items:center;justify-content:center}.comp-grade-letter{font-family:"Press Start 2P",monospace;font-size:2rem;color:#60a5fa}.comp-grade-text-group{display:flex;flex-direction:column;gap:.05rem;align-items:flex-start}.comp-grade-label{font-family:JetBrains Mono,monospace;font-size:1.5rem;color:#fff;font-weight:700;letter-spacing:.05em}.comp-grade-insight{font-family:JetBrains Mono,monospace;font-size:.8rem;font-weight:400;color:#ffffffd9;line-height:1.5;margin:0;max-width:100%}.comp-metrics-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem 3.5rem}.comp-metric-row,.comp-techdebt-row{display:flex;flex-direction:column;gap:.25rem}.comp-metric-name{font-family:"Press Start 2P",monospace;font-size:.6rem;color:silver;letter-spacing:.08em;text-transform:uppercase}.comp-metric-data{font-family:JetBrains Mono,monospace;font-size:.95rem;display:flex;align-items:baseline;flex-wrap:wrap;gap:.15rem}.comp-val-initial{color:#f18d36}.comp-val-arrow{color:#666}.comp-val-final{color:#60a5fa}.comp-val-pct.positive{color:#22c55e}.comp-val-pct.negative{color:#ef4444}.comp-val-pct.neutral{color:#9ca3af}.comp-techdebt-row{margin-top:.25rem}.comp-buttons-row{display:flex;gap:1rem;margin-top:.5rem;padding-top:.5rem;margin-bottom:.5rem}.comp-btn-primary{flex:1;background:#fc0;color:#000;border:3px solid #000;padding:.9rem 1.5rem;font-family:"Press Start 2P",monospace;font-size:.55rem;cursor:pointer;letter-spacing:.1em;box-shadow:6px 6px #000;transition:all .2s ease}.comp-btn-primary:hover{background:#fcd82f;box-shadow:8px 8px #000}.comp-btn-secondary{flex:1;background:transparent;color:#fff;border:2px solid #fff;padding:.9rem 1.5rem;font-family:"Press Start 2P",monospace;font-size:.55rem;cursor:pointer;letter-spacing:.08em;transition:all .2s ease}.comp-btn-secondary:hover{background:#ffffff1a}@media(max-width:768px){.completion-screen{padding-top:8px;padding-bottom:max(6.25rem,calc(5.5rem + env(safe-area-inset-bottom,0px)))}.comp-content{width:100%;max-width:100%;padding:8px 16px 12px}.comp-inner.theme-dark{min-height:0;padding:20px 18px!important}.comp-report-content{gap:16px}.comp-report-title{font-size:.95rem;margin:.25rem 0 0}.comp-grade-section{flex-direction:column;align-items:center;text-align:center;gap:14px;margin-bottom:0}.comp-grade-text-group{align-items:center}.comp-grade-label{font-size:1.15rem}.comp-metrics-grid{grid-template-columns:1fr;gap:14px}.comp-metric-data{font-size:.82rem;line-height:1.45}.comp-techdebt-row{margin-top:0}.comp-buttons-row{flex-direction:column;width:100%;gap:12px;margin-top:20px;padding-top:0}.comp-btn-primary,.comp-btn-secondary{width:100%;min-height:44px;box-sizing:border-box}.orange-retro-frame.comp-frame{padding:20px}}.game-intro-container{position:relative;width:100%;height:100%;min-height:0;max-height:100%;display:flex;justify-content:center;align-items:center;overflow:hidden;background:#000;box-sizing:border-box}.intro-bg{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:1}.intro-advisor-chip{position:fixed;bottom:0;left:300px;z-index:4;height:44vh;min-height:100px;width:auto;pointer-events:none}.intro-advisor-chip img{width:auto;height:100%;object-fit:contain;object-position:bottom left;image-rendering:pixelated;filter:drop-shadow(2px 4px 8px rgba(0,0,0,.4))}.ready-bg-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:3}.intro-content-wrapper{position:relative;z-index:4;width:55vw;max-width:580px;display:flex;flex-direction:column;align-items:center}.setup-phase-panel{width:100%}.orange-retro-frame{background:#f18d36;border-radius:20px;padding:2.5rem;position:relative;width:100%}.corner-screw{position:absolute;width:20px;height:20px;background:#f18d36;border:3px solid #000;border-radius:50%}.corner-screw:after{content:"";position:absolute;width:80%;height:3px;background:#000;top:50%;left:50%;transform:translate(-50%,-50%) rotate(45deg)}.corner-screw.top-left{top:1.2rem;left:1.2rem}.corner-screw.top-right{top:1.2rem;right:1.2rem}.corner-screw.bottom-left{bottom:1.2rem;left:1.2rem}.corner-screw.bottom-right{bottom:1.2rem;right:1.2rem}.orange-inner-frame{border-radius:16px;min-height:320px;display:flex;flex-direction:column;border:4px solid #000;overflow:hidden}.theme-dark{background:#252525;color:#fff;padding:3rem 1.5rem;justify-content:center;align-items:center}.theme-light{background:#fff;color:#000;padding:1rem 1.2rem;min-height:320px;height:450px}.setup-form{display:flex;flex-direction:column;gap:1.8rem;position:relative;z-index:5;height:100%;justify-content:flex-start}.setup-form .form-group{flex:0 0 auto}.form-title{display:block;text-align:center;font-family:"Press Start 2P",monospace;font-size:1.1rem;color:#000;text-transform:uppercase;font-weight:700;margin-bottom:.3rem}.form-row-grid{display:flex;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.3rem;flex:1}.form-label{display:flex;align-items:center;gap:.5rem;font-family:"Press Start 2P",monospace;font-size:.6rem;color:#000}.blue-label:before{content:"";display:inline-block;width:8px;height:8px;background:#60a5fa}.pink-label:before{content:"";display:inline-block;width:8px;height:8px;background:#f472b6}.industry-label-swatch{display:inline-block;width:8px;height:8px;background-color:#eec247;margin-right:.5rem;flex-shrink:0}.divider{border-top:2px dashed #000;margin:.5rem 0}.sector-header-flex{display:flex;align-items:center;gap:1rem;margin-bottom:.2rem}.header-line{flex-grow:1;height:2px;background:#000}.form-input{background:#fff;border:3px solid #000;padding:.6rem 1.3rem;font-family:JetBrains Mono,monospace;font-size:.9rem;color:#000;outline:none;box-shadow:4px 4px #000;transition:all .2s ease}.form-input:focus{box-shadow:6px 6px #000;transform:translate(-2px,-2px)}.character-grid{display:flex;flex-wrap:nowrap;justify-content:left;align-items:center;gap:16px}.character-card{width:50px;height:50px;background:#fdfdfd;border:2px solid #ccc;padding:4px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.character-card:hover{background:#f7f6f0;box-shadow:4px 4px #ccc;transform:translateY(-2px)}.character-card.selected{border:3px solid #000;background:#fc0;box-shadow:4px 4px #000;transform:translateY(-4px)}.character-pixel-img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.profile-select-wrapper{position:relative;width:100%}select.profile-select{width:100%;appearance:none;-webkit-appearance:none;cursor:pointer;background:transparent;border:3px solid #000}.profile-select-wrapper:after{content:"▼";font-size:.8rem;position:absolute;right:1.2rem;top:50%;transform:translateY(-50%);pointer-events:none;color:#000}select.profile-select:focus{background:#fff;box-shadow:6px 6px #000;transform:translate(-2px,-2px)}.primary-cta{background:#fc0;border:3px solid #000;box-shadow:6px 6px #000;color:#000;font-family:"Press Start 2P",monospace;font-size:.7rem;padding:.8rem;cursor:pointer;text-align:center;text-transform:uppercase;margin-top:auto;transition:all .2s ease;width:100%}.primary-cta:hover:not(:disabled){transform:translateY(-2px) translate(-2px);box-shadow:8px 8px #000}.primary-cta:active:not(:disabled){transform:translate(2px,2px);box-shadow:2px 2px #000}.primary-cta:disabled{background:#e0e0e0;border:3px solid #ccc;box-shadow:none;cursor:not-allowed;color:#999}.terminal-boot-content{width:100%;font-family:JetBrains Mono,monospace;color:#fff;height:100%;display:flex;flex-direction:column;justify-content:center}.boot-title{font-family:"Press Start 2P",monospace;font-size:1rem;color:#fff;margin-bottom:2rem;text-align:center}.terminal-logs{display:flex;flex-direction:column;gap:.8rem;font-size:.85rem;min-height:180px}.log-line{white-space:nowrap;overflow:hidden}.boot-progress-container{margin-top:2rem;font-family:JetBrains Mono,monospace;font-size:.9rem;color:#fff}.boot-progress-bar{margin-top:.5rem;color:#fff;letter-spacing:2px}.ready-phase-panel{--ready-panel-height: 470px;width:90%}.ready-phase-panel .orange-inner-frame.theme-dark{background:#1f2123;min-height:320px;height:var(--ready-panel-height);padding:2rem 1rem;overflow:auto;box-sizing:border-box}.ready-state-content{display:flex;flex-direction:column;align-items:center;padding:2rem 1rem 1.5rem;gap:1rem;width:100%;max-width:100%;min-width:0;box-sizing:border-box}.ready-title{font-family:"Press Start 2P",monospace;font-size:.7rem;color:#fff;line-height:1.8;margin:0;letter-spacing:.04em;text-align:center}.ready-separator{width:100%;max-width:420px;height:0;border-top:2px dashed rgba(255,255,255,.4);margin:.15rem 0}.ready-description{font-family:JetBrains Mono,monospace;font-size:.9rem;color:#fff;line-height:1.6;margin:0}.ready-metrics-grid{display:flex;flex-direction:column;gap:.9rem;width:100%;max-width:420px;margin:.5rem 0;min-width:0}.ready-metric-row{display:flex;align-items:center;gap:.5rem 1.25rem;width:100%;min-width:0;box-sizing:border-box}.ready-metric-dot{width:10px;height:10px;flex-shrink:0}.ready-metric-label{font-family:"Press Start 2P",monospace;font-size:.55rem;color:#fff;letter-spacing:.08em;white-space:nowrap}.ready-metric-value{font-family:JetBrains Mono,monospace;font-size:.95rem;font-weight:600;color:#f18d36;margin-left:auto;min-width:fit-content}.ready-buttons-group{display:flex;flex-direction:column;align-items:center;gap:.35rem;width:100%;max-width:420px}.ready-start-btn{background:#fc0;border:3px solid #000;box-shadow:6px 6px #000;color:#000;font-family:"Press Start 2P",monospace;font-size:.65rem;padding:.9rem 1.8rem;cursor:pointer;text-align:center;text-transform:uppercase;letter-spacing:.08em;transition:all .2s ease;width:100%}.ready-start-btn:hover{transform:translateY(-2px) translate(-2px);box-shadow:8px 8px #000}.ready-start-btn:active{transform:translate(2px,2px);box-shadow:2px 2px #000}.ready-back-btn{background:transparent;border:none;color:#aaa;font-family:JetBrains Mono,monospace;font-size:.9rem;cursor:pointer;padding:.35rem;transition:color .2s ease;text-decoration:underline}.ready-back-btn:hover{color:#ddd}.ready-state{text-align:center;display:flex;flex-direction:column;align-items:center;gap:1.5rem}.ready-heading{font-family:"Press Start 2P",monospace;font-size:2rem;color:#fff;text-shadow:4px 4px 0px #e85d75}.ready-subtext{font-family:JetBrains Mono,monospace;font-size:1rem;color:#ddd;line-height:1.6;max-width:500px;background:#0009;padding:1rem;border:2px dashed #fff}.ready-btn{box-shadow:6px 6px #000;text-transform:uppercase;animation:pulse-btn 2s infinite}@keyframes pulse-btn{0%,to{box-shadow:0 0 15px #ffcc0080,6px 6px #000}50%{box-shadow:0 0 30px #fc0c,6px 6px #000;transform:scale(1.02)}}.advisor-intro-inner{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%}.greeting-text{font-family:JetBrains Mono,monospace;font-size:1.5rem;color:#ddd;margin-bottom:.8rem;min-height:1.2em}.main-heading-text{font-family:"Press Start 2P",monospace;font-size:1.5rem;color:#fff;text-shadow:2px 2px 0px #f18d36,-2px -2px 0px #f18d36;text-decoration-color:#f18d36;text-underline-offset:6px;text-decoration-thickness:3px;margin-bottom:2.5rem;min-height:1.8em;white-space:nowrap}.body-text-wrapper{font-family:JetBrains Mono,monospace;font-size:1rem;color:#ddd;line-height:1.8;display:flex;flex-direction:column;gap:1.2rem;max-width:75%;text-align:center}@media(max-width:768px){.game-intro-container{overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;flex-direction:column;align-items:center;justify-content:flex-start;padding:8px 0 max(6.25rem,calc(5.5rem + env(safe-area-inset-bottom,0px))) 0;box-sizing:border-box}.intro-content-wrapper{width:100%;max-width:100%;padding:0 16px;box-sizing:border-box;flex-shrink:0}.orange-retro-frame{padding:20px;border-radius:16px;max-width:100%;box-sizing:border-box}.corner-screw{width:14px;height:14px;border-width:2px}.corner-screw.top-left{top:.65rem;left:.65rem}.corner-screw.top-right{top:.65rem;right:.65rem}.corner-screw.bottom-left{bottom:.65rem;left:.65rem}.corner-screw.bottom-right{bottom:.65rem;right:.65rem}.orange-inner-frame{border-radius:12px;border-width:3px;min-height:0}.theme-dark{padding:20px 18px;min-height:auto;justify-content:center;align-items:center}.theme-light{min-height:0;height:auto;padding:22px 20px}.greeting-text{font-size:1.05rem;margin-bottom:.35rem;text-align:center;line-height:1.45}.main-heading-text{font-size:clamp(.72rem,3.8vw,1rem);white-space:normal;text-align:center;line-height:1.55;margin-bottom:.875rem;max-width:100%;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.body-text-wrapper{max-width:100%;font-size:.9rem;line-height:1.65;gap:.875rem}.setup-form{gap:16px;height:auto;min-height:0}.setup-form>.form-title{margin-bottom:4px}.setup-form>.form-group:nth-child(2){margin-bottom:8px}.form-title{font-size:.85rem;margin-bottom:0;line-height:1.45}.form-row-grid{flex-direction:column;gap:16px}.form-group{width:100%;min-width:0;gap:9px}.form-label{font-size:.52rem;line-height:1.5}.sector-header-flex{margin-bottom:6px}.form-input{width:100%;box-sizing:border-box;font-size:.85rem;padding:.65rem .85rem}.character-grid{flex-wrap:nowrap;justify-content:flex-start;gap:10px;overflow-x:auto;overflow-y:hidden;max-width:100%;padding:4px 2px 10px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.character-card{flex-shrink:0}.primary-cta{min-height:44px;font-size:.52rem;padding:.75rem .5rem;box-sizing:border-box;margin-top:4px;width:100%}.terminal-boot-content{min-height:0;justify-content:flex-start}.boot-title{font-size:.65rem;line-height:1.6;margin-bottom:16px;padding:0 .25rem}.terminal-logs{min-height:100px;gap:12px;font-size:.72rem}.log-line{white-space:normal;word-break:break-word}.boot-progress-container{margin-top:20px;font-size:.78rem;line-height:1.5}.boot-progress-bar{margin-top:.4rem;letter-spacing:.03em;font-size:clamp(.5rem,2.4vw,.68rem);max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;line-height:1.5}.ready-phase-panel{width:100%}.ready-phase-panel .orange-inner-frame.theme-dark{height:auto;min-height:0;max-height:none;padding:1.25rem .75rem}.ready-state-content{padding:.75rem .35rem 1rem;gap:.75rem}.ready-title{font-size:clamp(.48rem,2.6vw,.62rem);line-height:1.85}.ready-description{font-size:.8rem;line-height:1.55;text-align:center;max-width:100%}.ready-separator{max-width:100%}.ready-metrics-grid{gap:12px;max-width:100%;margin:.35rem 0}.ready-metric-row{align-items:flex-start;gap:.4rem .65rem}.ready-metric-label{font-size:.48rem;white-space:normal;line-height:1.45;flex:1;min-width:0}.ready-metric-value{font-size:.82rem;text-align:right}.ready-buttons-group{gap:.5rem;max-width:100%;margin-top:.25rem}.ready-start-btn{min-height:44px;font-size:.52rem;padding:.7rem .75rem;box-sizing:border-box}.ready-back-btn{min-height:44px;padding:.45rem .5rem;font-size:.82rem}}@media(min-width:360px)and (max-width:768px){.intro-advisor-chip{display:none}.game-intro-container{justify-content:center;align-items:center}.intro-content-wrapper{margin-left:auto;margin-right:auto;align-self:center}}@media(max-width:380px){.orange-retro-frame{padding:16px}.theme-dark{padding:18px 14px}.theme-light{padding:20px 16px}.main-heading-text{font-size:.68rem}.character-card{width:44px;height:44px}}.share-modal-overlay{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:10000;padding:2rem;box-sizing:border-box}.share-modal{position:relative;background:#1a1a1a;border:4px solid #f18d3600;border-radius:16px;max-width:660px;width:100%;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 24px 48px #00000080;overflow:hidden}.share-modal-content{padding:1.5rem 2rem 2rem;display:flex;flex-direction:column;gap:1rem;flex:1;min-height:0}.share-modal-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.share-caption-label{font-family:"Press Start 2P",monospace;font-size:.75rem;color:#aaa;letter-spacing:.05em}.share-modal-close{width:36px;height:36px;border:none;background:#ffffff1a;color:#fff;font-size:1.5rem;cursor:pointer;border-radius:8px;display:flex;align-items:center;justify-content:center;line-height:1;transition:background .2s;flex-shrink:0}.share-modal-close:hover{background:#fff3}.share-modal-scroll-container{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth}.share-modal-content-box{background:#0006;border-radius:12px;padding:1.25rem;display:flex;flex-direction:column;gap:1.25rem}.share-caption-text{font-family:JetBrains Mono,monospace;font-size:.85rem;color:#fff;line-height:1.6;margin:0;white-space:pre-wrap;word-break:break-word}.share-modal-preview{width:100%;display:flex;justify-content:center;align-items:center;margin-top:.25rem}.share-modal-preview img{width:88%;max-width:100%;height:auto;display:block;object-fit:contain;border-radius:8px;border:2px solid rgba(255,255,255,.15)}.share-modal-btn{flex-shrink:0;width:100%;background:#fc0;color:#000;border:3px solid #000;padding:1rem 1.5rem;font-family:"Press Start 2P",monospace;font-size:.7rem;cursor:pointer;letter-spacing:.08em;box-shadow:6px 6px #000;transition:all .2s ease}.share-modal-btn:hover{background:#fcd82f;box-shadow:8px 8px #000;transform:translateY(-2px)}.share-modal-btn:active{transform:translateY(0);box-shadow:4px 4px #000}.feedback-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:2rem;box-sizing:border-box}.feedback-modal-wrapper{position:fixed;inset:0;z-index:1001;display:flex;align-items:center;justify-content:center;padding:2rem;box-sizing:border-box;pointer-events:none}.feedback-modal-wrapper>*{pointer-events:auto}.feedback-modal{position:relative;background:#0f0f0f;border-radius:14px;max-width:480px;width:100%;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 24px 48px #00000080;overflow:hidden}.feedback-modal-content{padding:1.25rem 1.5rem 1.5rem;display:flex;flex-direction:column;gap:1.25rem;overflow-y:auto}.feedback-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.feedback-title{font-family:"Press Start 2P",monospace;font-size:.75rem;color:#fff;letter-spacing:.05em}.feedback-close-btn{width:36px;height:36px;border:none;background:#ffffff1a;color:#fff;font-size:1.5rem;cursor:pointer;border-radius:8px;display:flex;align-items:center;justify-content:center;line-height:1;transition:background .2s;flex-shrink:0}.feedback-close-btn:hover{background:#fff3}.feedback-section{display:flex;flex-direction:column;gap:.5rem}.feedback-label{font-family:JetBrains Mono,monospace;font-size:.85rem;color:#bababa;letter-spacing:.04em}.feedback-stars{display:flex;gap:.35rem;align-items:center}.feedback-star{width:32px;height:32px;border:none;background:transparent;color:#444;font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:color .2s,transform .15s}.feedback-star:hover{color:#fc0;transform:scale(1.1)}.feedback-star.active{color:#fc0}.feedback-useful-row{display:flex;gap:.5rem}.feedback-useful-btn{flex:1;padding:.5rem 1rem;border:1px solid rgba(255,255,255,.15);background:#ffffff0d;color:#aaa;font-family:JetBrains Mono,monospace;font-size:.85rem;cursor:pointer;border-radius:8px;transition:all .2s}.feedback-useful-btn:hover{background:#ffffff14;color:#fff;border-color:#fff3}.feedback-useful-btn.active{background:#fc03;color:#fc0;border-color:#fc0}.feedback-input{width:100%;padding:.6rem .9rem;border:1px solid rgba(255,255,255,.15);background:#0000004d;color:#fff;font-family:JetBrains Mono,monospace;font-size:.9rem;border-radius:8px;color-scheme:dark;transition:border-color .2s;box-sizing:border-box}.feedback-input::placeholder{color:#666}.feedback-input:focus{outline:none;border-color:#ffcc0080}.feedback-tags{display:flex;flex-wrap:wrap;gap:.4rem}.feedback-tag{padding:.4rem .75rem;border:1px solid rgba(255,255,255,.15);background:#ffffff0d;color:#999;font-family:JetBrains Mono,monospace;font-size:.75rem;cursor:pointer;border-radius:8px;transition:all .2s}.feedback-tag:hover{background:#ffffff14;color:#ccc}.feedback-tag.active{background:#fc03;color:#fc0;border-color:#fc0}.feedback-actions{margin-top:.25rem}.feedback-submit-btn{width:100%;padding:.85rem 1.5rem;border:3px solid #000;background:#fc0;color:#000;font-family:"Press Start 2P",monospace;font-size:.55rem;cursor:pointer;letter-spacing:.06em;box-shadow:4px 4px #000;transition:all .2s ease;border-radius:4px}.feedback-submit-btn:hover:not(:disabled){background:#fcd82f;box-shadow:6px 6px #000;transform:translateY(-2px)}.feedback-submit-btn:active:not(:disabled){transform:translateY(0);box-shadow:2px 2px #000}.feedback-submit-btn:disabled{opacity:.7;cursor:not-allowed}.feedback-form-inner,.feedback-success-inner{display:flex;flex-direction:column;gap:1.25rem}.feedback-success-inner{align-items:center;text-align:center;padding:.5rem 0}.feedback-success-title{font-family:"Press Start 2P",monospace;font-size:.75rem;color:#fc0;letter-spacing:.04em;font-weight:700}.feedback-success-subtext{font-family:JetBrains Mono,monospace;font-size:.9rem;color:#888;margin-top:-.25rem}.feedback-success-close-btn{margin-top:.5rem}.feedback-floating-btn{position:fixed;bottom:1.5rem;right:1.5rem;width:52px;height:52px;border-radius:50%;border:none;background:#1a1a1a;color:#aaa;font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #0006;z-index:999;transition:transform .2s,box-shadow .2s,color .2s}.feedback-floating-btn:hover{transform:scale(1.08);color:#fff;box-shadow:0 6px 20px #00000080}.feedback-floating-btn:active{transform:scale(.98)}.gameplay-container{position:relative;width:100%;flex:1;min-height:0;height:auto;max-height:100%;display:flex;flex-direction:column;overflow:hidden;background:#000}.gameplay-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:1;pointer-events:none}.gameplay-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#00000038;z-index:2}.gameplay-content{position:relative;z-index:3;flex:1;display:flex;flex-direction:column;padding:60px 0 20px;gap:0;overflow:hidden;margin-left:80px;margin-right:80px;min-height:0}.panels-grid{flex:1;display:grid;grid-template-columns:1fr 3fr;gap:32px;min-height:0;padding-top:0;align-items:stretch}.panels-grid>.game-yellow-frame,.panels-grid>.right-panel-wrapper{height:100%}.round-banner{display:flex;justify-content:center;position:absolute;top:0;left:50%;transform:translate(-50%,-56%);z-index:10;width:max-content}.round-banner-inner{display:flex;align-items:center;gap:.6rem;background:linear-gradient(135deg,#0ea5e9,#2563eb);padding:.45rem 1.8rem;clip-path:polygon(8% 0%,92% 0%,100% 100%,0% 100%);min-width:260px;justify-content:center;border-radius:6px 6px 0 0;border:2px solid #0b1620;border-bottom:none}.round-banner-label{font-family:"Press Start 2P",monospace;font-size:.6rem;color:#fff;letter-spacing:.15em}.round-pips-gameplay{display:flex;gap:.3rem}.round-pip-gp{width:22px;height:22px;border:2px solid rgba(255,255,255,.4);display:flex;align-items:center;justify-content:center;font-family:"Press Start 2P",monospace;font-size:.4rem;color:#fff6;background:transparent;transition:all .3s ease}.round-pip-gp.done{border-color:#fff;color:#fff;background:#fff3}.round-pip-gp.active{border-color:#fff;color:#000;background:#fc0}.right-panel-wrapper{display:flex;flex-direction:column;min-height:0;min-width:0;position:relative;justify-content:stretch}.right-panel-wrapper .game-yellow-frame{flex:1;min-width:0}.game-yellow-frame{background:#eb7b2b;border-radius:12px;border:4px solid #EB7B2B;padding:.65rem;position:relative;display:flex;flex-direction:column;box-shadow:0 8px #0000004d}.game-frame-screw{position:absolute;width:12px;height:12px;background:#f7a24a;border:2px solid #ab5a1f;border-radius:50%;z-index:5}.game-frame-screw:after{content:"";position:absolute;width:60%;height:2px;background:#ab5a1f;top:50%;left:50%;transform:translate(-50%,-50%) rotate(45deg)}.game-frame-screw.tl{top:.4rem;left:.4rem}.game-frame-screw.tr{top:.4rem;right:.4rem}.game-frame-screw.bl{bottom:.4rem;left:.4rem}.game-frame-screw.br{bottom:.4rem;right:.4rem}.game-dark-inner{background:#2a2a2a;border-radius:8px;border:3px solid #161616;flex:1;display:flex;flex-direction:column;overflow:hidden;position:relative}.game-dark-inner:after{content:"";position:absolute;inset:6px;border:1px dashed rgba(255,255,255,.22);border-radius:4px;pointer-events:none}.metrics-game-panel{display:flex;flex-direction:column;height:100%}.metrics-game-header{display:flex;align-items:center;justify-content:space-between;padding:30px 20px .3rem}.metrics-game-title{font-family:"Press Start 2P",monospace;font-size:.7rem;color:#fff;letter-spacing:.12em}.metrics-game-live{display:flex;align-items:center;gap:.5rem;font-family:"Press Start 2P",monospace;font-size:.4rem;color:#e85d75}.metrics-live-dropdown{display:inline-block;font-size:.5rem;color:#fff9;margin-left:.2rem}.live-dot-gp{width:5px;height:5px;border-radius:50%;background:#e85d75;animation:pulse-dot-gp 1.4s ease-in-out infinite}@keyframes pulse-dot-gp{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.5);opacity:.5}}.metrics-game-list{display:flex;flex-direction:column;gap:.28rem;padding:14px 20px .45rem;flex:1;justify-content:space-evenly}.metric-game-row{display:flex;align-items:stretch;gap:.5rem;padding:.08rem 0;position:relative;transition:background .3s ease}.metric-game-row.flash-green{animation:gp-flash-g 2s ease}.metric-game-row.flash-red{animation:gp-flash-r 2s ease}@keyframes gp-flash-g{0%,to{background:transparent}15%{background:#50c87859}40%{background:#50c87833}}@keyframes gp-flash-r{0%,to{background:transparent}15%{background:#e85d7559}40%{background:#e85d7533}}.metric-game-icon{width:26px;height:26px;background:#333;border:2px solid #555;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:.8rem}.metric-game-info{display:flex;flex-direction:column;gap:.18rem;flex:1;min-width:0}.metric-game-top{display:flex;align-items:center;justify-content:space-between}.metric-game-label{font-family:JetBrains Mono,monospace;font-size:.95rem;color:#ccc;font-weight:700;letter-spacing:.02em;display:inline-flex;align-items:center;gap:5px}.metric-game-value{font-family:JetBrains Mono,monospace;font-size:1rem;font-weight:700}.metric-game-bar-wrapper{position:relative;width:100%}.metric-game-track{position:relative;height:8px;background:#444;border:2px solid #555;overflow:hidden;border-radius:2px}.metric-game-fill{height:100%;min-width:0;border-radius:2px;transition:width .5s cubic-bezier(.4,0,.2,1)}.metric-game-below-bar{position:relative;display:flex;align-items:center;justify-content:flex-start;min-height:12px;margin-top:1px;width:100%}.metric-game-baseline-arrow{position:absolute;top:50%;transform:translate(-50%,-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:6px solid #9da5be;image-rendering:pixelated;pointer-events:none}.metric-game-delta-text{font-family:"Press Start 2P",monospace;font-size:.4rem;font-weight:700}.metric-game-delta-text.pos{color:#4ade80;text-shadow:0 0 4px rgba(74,222,128,.6),1px 1px 0 #000}.metric-game-delta-text.neg{color:#f87171;text-shadow:0 0 4px rgba(248,113,113,.6),1px 1px 0 #000}.metric-game-delta-text.neutral{color:#9ca3af}.metric-game-delta-text.delta-fading-out{transition:opacity .4s ease-out}.metric-game-row.flash-green .metric-game-fill{animation:gp-bar-pulse-green 1.5s ease-in-out}.metric-game-row.flash-red .metric-game-fill{animation:gp-bar-pulse-red 1.5s ease-in-out}@keyframes gp-bar-pulse-green{0%,to{filter:brightness(1);box-shadow:none}15%{box-shadow:0 0 6px #4ade8059;filter:brightness(1.03)}50%{filter:brightness(1);box-shadow:none}}@keyframes gp-bar-pulse-red{0%,to{filter:brightness(1);box-shadow:none}15%{box-shadow:0 0 6px #f8717140;filter:brightness(.97)}50%{filter:brightness(1);box-shadow:none}}.main-game-panel{display:flex;flex-direction:column;height:100%;min-width:0}.main-game-panel .game-dark-inner{display:flex;flex-direction:column;min-height:0;overflow:hidden}.main-game-panel-stack{box-sizing:border-box;flex:1;min-height:0;width:100%;display:flex;flex-direction:column;overflow:hidden}.scenario-decisions-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column}.scenario-game-area{box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:1.2rem 1.2rem .7rem;border-bottom:1px solid #333}.scenario-round-line{display:none;font-family:JetBrains Mono,monospace;font-size:.72rem;font-weight:600;color:#9ca3af;letter-spacing:.06em;text-transform:uppercase;margin:0 0 10px;line-height:1.3}.scenario-game-label{font-family:"Press Start 2P",monospace;font-size:.45rem;color:#888;letter-spacing:.15em;margin-bottom:.8rem}.scenario-game-headline{font-family:"Press Start 2P",monospace;font-size:.95rem;font-weight:500;color:#fff;line-height:1.8;margin:0 0 .5rem;letter-spacing:.05em;overflow-wrap:anywhere;word-break:break-word}.scenario-game-desc{font-family:JetBrains Mono,monospace;font-size:.85rem;color:#bbb;line-height:1.5;margin:0;margin-bottom:.8rem;overflow-wrap:anywhere;word-break:break-word}.decisions-game-area{box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:.9rem 1.2rem .25rem;flex:0 0 auto;min-height:auto;display:flex;flex-direction:column;gap:.65rem;overflow:visible}.decisions-game-label{font-family:"Press Start 2P",monospace;font-size:.6rem;color:#1193d4;letter-spacing:.12em}.decisions-game-grid{box-sizing:border-box;width:100%;max-width:100%;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.decision-game-card{box-sizing:border-box;width:100%;max-width:100%;min-width:0;position:relative;background:#2a2a2a;border:2px solid #555;padding:.6rem .5rem .5rem .8rem;cursor:pointer;transition:all .25s ease;overflow:hidden;display:flex;flex-direction:column;gap:.35rem}.decision-game-card:hover:not(.disabled):not(.selected){border-color:#999;background:#333}.decision-game-card.selected{background:#e8a200a5;box-shadow:0 0 0 1px #fff3 inset}.decision-game-card.disabled{cursor:not-allowed;opacity:.5}.dgc-letter{width:22px;height:22px;display:flex;align-items:center;justify-content:center;font-family:"Press Start 2P",monospace;font-size:.45rem;font-weight:700;flex-shrink:0;border-radius:3px;color:#fff;background:transparent;border:2px solid #fff;transition:all .2s ease}.decision-game-card.selected .dgc-letter{background:#1f2937;border-color:#111827;color:#fff}.decision-game-card.selected .dgc-title{color:#000;font-family:JetBrains Mono,monospace;font-size:.95rem;font-weight:900}.decision-game-card.selected .dgc-desc{color:#1f1f1f;font-family:JetBrains Mono,monospace;font-size:.85rem;font-weight:500;line-height:.9rem}.dgc-title{font-family:JetBrains Mono,monospace;font-size:.95rem;font-weight:400;color:#fff;line-height:1.3;overflow-wrap:anywhere;word-break:break-word}.dgc-desc{font-family:JetBrains Mono,monospace;font-size:.8rem;color:#999;line-height:1.5;overflow-wrap:anywhere;word-break:break-word}.dgc-check{position:absolute;top:50%;right:12px;transform:translateY(-50%);font-size:1rem;color:#fff}.confirm-game-row{box-sizing:border-box;width:100%;max-width:100%;min-width:0;flex-shrink:0;display:flex;justify-content:flex-end;align-items:center;padding:.75rem 1rem 1rem;overflow:visible;position:relative;z-index:2;background:linear-gradient(to top,#2a2a2a,#2a2a2af5 55%,#2a2a2ae0);border-top:1px solid rgba(255,255,255,.08)}.confirm-game-btn{box-sizing:border-box;max-width:100%;display:flex;align-items:center;gap:.5rem;padding:.8rem 1.4rem;border:none;cursor:pointer;font-family:"Press Start 2P",monospace;font-size:.6rem;letter-spacing:.12em;transition:all .25s ease}.confirm-game-btn.active{background:#fc0;color:#000;border:3px solid #000;box-shadow:4px 4px #000}.confirm-game-btn.active:hover{transform:translateY(-2px);box-shadow:6px 6px #000}.confirm-game-btn.muted{background:#444;color:#777;cursor:not-allowed;border:3px solid #555}.advisor-bar{position:relative;z-index:3;margin:10px 80px 14px;flex-shrink:0}.advisor-bar-frame{--hud-angle: 34px;position:relative;display:flex;align-items:center;gap:.65rem;min-height:56px;padding:.62rem 1.8rem .52rem .78rem;background:linear-gradient(180deg,#000000fa,#f18d36e0 30%,#000000eb),linear-gradient(90deg,#f18d3670 22%,#f18d3629,#f18d3670 78%,#ffbd52);clip-path:polygon(var(--hud-angle) 0,calc(100% - var(--hud-angle)) 0,100% 50%,calc(100% - var(--hud-angle)) 100%,var(--hud-angle) 100%,0 50%);isolation:isolate}.advisor-bar-frame:before{content:"";position:absolute;inset:4px;background:#1f2123;clip-path:polygon(calc(var(--hud-angle) - 7px) 0,calc(100% - (var(--hud-angle) - 7px)) 0,100% 50%,calc(100% - (var(--hud-angle) - 7px)) 100%,calc(var(--hud-angle) - 7px) 100%,0 50%);z-index:0}.advisor-bar-avatar{width:40px;height:40px;flex-shrink:0;position:relative;z-index:1;margin-left:1rem}.advisor-bar-avatar img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.advisor-bar-text{font-family:JetBrains Mono,monospace;font-size:.9rem;color:#fff;line-height:1.4;letter-spacing:.02em;opacity:.98;position:relative;z-index:1;display:flex;flex-direction:column;gap:.15rem;flex:1;min-width:0}.advisor-label{font-family:"Press Start 2P",monospace;font-size:.45rem;color:#fc0;letter-spacing:.12em}.advisor-guidance{color:#e8e8e8;white-space:normal;word-wrap:break-word;max-height:2.8em;overflow-y:auto}.advisor-awaiting{color:#999;font-style:italic}.advisor-bar-frame.advisor-has-feedback:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 20px #ffcc0014;pointer-events:none;z-index:0}.mobile-metrics-collapsed{display:none;width:100%;box-sizing:border-box;cursor:pointer;border:none;background:transparent;padding:0;margin:0 0 18px;text-align:left;font:inherit;color:inherit;-webkit-tap-highlight-color:transparent}.mobile-metrics-collapsed:focus-visible{outline:2px solid #ffcc00;outline-offset:3px}.mobile-metrics-unified-frame{background:#eb7b2b;border-radius:12px;border:4px solid #EB7B2B;padding:6px;box-sizing:border-box;box-shadow:0 6px #00000040}.mobile-metrics-unified-dark{background:#2a2a2a;border-radius:8px;border:3px solid #161616;padding:16px 18px 18px;box-sizing:border-box}.mobile-metrics-collapsed-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 14px;margin:0 0 2px;border-bottom:1px solid rgba(255,255,255,.1)}.mobile-metrics-scroll{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-start;justify-content:space-between;gap:4px;width:100%;padding:4px 0 0;margin:0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin;box-sizing:border-box}.mobile-metric-chip{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:8px;padding:6px 2px 2px;background:transparent;border:none;border-radius:0;box-sizing:border-box}.mobile-metric-chip-icon{width:28px;height:28px;font-size:.75rem;flex-shrink:0}.mobile-metric-chip-value{font-family:JetBrains Mono,monospace;font-size:.7rem;font-weight:700;text-align:center;line-height:1.25;word-break:break-word;width:100%}.mobile-metric-chip-delta{font-size:.35rem!important;text-align:center;line-height:1.3;width:100%}.metrics-sheet-backdrop{position:fixed;inset:0;z-index:80;background:#0000008c}.metrics-sheet-panel{position:fixed;left:0;right:0;bottom:0;z-index:85;max-height:min(88vh,720px);display:flex;flex-direction:column;padding:0 0 env(safe-area-inset-bottom,0);box-sizing:border-box;background:linear-gradient(180deg,#eb7b2b,#c45f1c);border-radius:16px 16px 0 0;border:4px solid #EB7B2B;border-bottom:none;box-shadow:0 -12px 40px #00000073}.metrics-sheet-drag-target{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 16px 6px;touch-action:none;cursor:grab}.metrics-sheet-drag-target:active{cursor:grabbing}.metrics-sheet-handle{width:40px;height:5px;border-radius:3px;background:#00000059}.metrics-sheet-inner{flex:1;min-height:0;display:flex;flex-direction:column;margin:0 12px 12px;background:#2a2a2a;border-radius:10px;border:3px solid #161616;overflow:hidden;box-sizing:border-box}.metrics-sheet-header-row{flex-shrink:0;padding:16px 20px 10px!important;margin:0!important;border-bottom:1px solid #444}.metrics-sheet-close{margin-left:auto;padding:6px 10px;border:2px solid #666;background:#333;color:#fff;font-family:JetBrains Mono,monospace;font-size:.85rem;line-height:1;cursor:pointer;border-radius:4px}.metrics-sheet-close:hover{border-color:#fc0;color:#fc0}.metrics-sheet-body{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:16px 20px 20px!important;gap:16px!important;justify-content:flex-start!important}.metrics-sheet-header-row.metrics-game-header{display:flex;align-items:center;flex-wrap:wrap;gap:8px}@media(max-width:900px){.gameplay-content{margin-left:0;margin-right:0;padding:14px 16px;box-sizing:border-box}.mobile-metrics-collapsed{display:block;margin:0 0 14px}.metrics-desktop-only{display:none!important}.panels-grid{grid-template-columns:1fr;gap:20px;align-items:stretch}.game-yellow-frame{padding:6px;border-radius:12px}.round-banner{display:none!important}.scenario-round-line{display:block}.scenario-game-area{padding:16px 22px 18px}.scenario-game-label{margin-bottom:16px;line-height:1.45}.scenario-game-headline{font-size:clamp(.72rem,3.2vw,.88rem);line-height:1.7;margin:0 0 16px}.scenario-game-desc{font-size:.82rem;line-height:1.6;margin:0}.decisions-game-area{padding:0 22px 18px;gap:0}.decisions-game-label{margin-top:16px;margin-bottom:12px;line-height:1.4}.decisions-game-grid{grid-template-columns:1fr;gap:16px}.decision-game-card{padding:16px 18px;gap:10px}.dgc-letter{width:24px;height:24px;font-size:.42rem}.dgc-title{line-height:1.4}.dgc-desc{line-height:1.55;margin-top:2px}.confirm-game-row{margin:0;padding:14px 18px 18px;justify-content:stretch}.confirm-game-btn{width:100%;min-height:44px;justify-content:center;box-sizing:border-box}.advisor-bar{margin:10px 16px max(10px,env(safe-area-inset-bottom,0px))}.advisor-bar-frame{--hud-angle: 22px;padding:.55rem 1rem .5rem .6rem}.advisor-bar-avatar{margin-left:.35rem}.advisor-guidance{max-height:none}.advisor-bar-text:has(.advisor-awaiting){align-items:center;text-align:center}.advisor-awaiting{width:100%;text-align:center}}.metric-info-tooltip-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}.metric-info-icon{display:flex;align-items:center;justify-content:center;width:13px;height:13px;border-radius:50%;font-family:Inter,system-ui,sans-serif;font-size:10px;font-weight:700;font-style:italic;transition:color .2s,background .2s}.metric-info-tooltip-wrap.variant-dark .metric-info-icon{background:#ffffff26;color:#888;border:1px solid rgba(255,255,255,.3)}.metric-info-tooltip-wrap.variant-dark:hover .metric-info-icon{background:#ffffff4d;color:#fff}.metric-info-tooltip-wrap.variant-light .metric-info-icon{background:#00000014;color:#888;border:1px solid rgba(0,0,0,.15)}.metric-info-tooltip-wrap.variant-light:hover .metric-info-icon{background:#00000026;color:#000}.metric-info-tooltip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);padding:8px 10px;font-size:11px;font-family:Inter,system-ui,sans-serif;line-height:1.5;white-space:normal;min-width:160px;max-width:260px;width:max-content;border-radius:4px;box-shadow:0 2px 8px #0003;z-index:9999;pointer-events:none}.metric-info-tooltip-portal{position:fixed!important;bottom:auto!important;max-width:260px;word-wrap:break-word}.metric-info-tooltip-wrap.variant-dark .metric-info-tooltip,.metric-info-tooltip-portal.variant-dark{background:#fff;color:#1a1a1a}.metric-info-tooltip-wrap.variant-light .metric-info-tooltip,.metric-info-tooltip-portal.variant-light{background:#1f1f1f;color:#fff}.loading-screen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#0b0b0b}.loading-bg{position:absolute;inset:0}.loading-bg-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(12px) brightness(.35);transform:scale(1.02)}.loading-bg-gradient{position:absolute;inset:0;background:linear-gradient(180deg,#0c0a08e6,#0f0c08f0,#0a0908f5)}.loading-bg-overlay{position:absolute;inset:0;background:#0000008c}.loading-radial-glow{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 55% 45% at 50% 42%,rgba(245,158,11,.12) 0%,rgba(234,88,12,.05) 35%,transparent 65%)}.loading-noise{position:absolute;inset:0;opacity:.03;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");pointer-events:none}.loading-content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:1.25rem;max-width:min(92vw,420px)}.loading-title{font-family:"Press Start 2P",monospace;font-size:clamp(.45rem,1.8vw,.6rem);color:#f59e0b;letter-spacing:.18em;text-align:center;line-height:1.8;text-shadow:0 0 10px rgba(245,158,11,.45);margin:0;font-weight:400}.loading-title-dots{display:inline-block;min-width:1.2em;text-align:left;color:#facc15;text-shadow:0 0 8px rgba(250,204,21,.5)}.loading-hud-wrap{position:relative;width:min(72vw,280px);height:min(72vw,280px);display:flex;align-items:center;justify-content:center}.loading-hud-svg{width:100%;height:100%;display:block;overflow:visible}.loading-hud-ring--outer-faint{stroke:#f59e0b38;stroke-width:1;opacity:.9}.loading-hud-ring--outer{stroke:#facc1573;stroke-width:1.25;stroke-dasharray:8 14}.loading-hud-ring--inner{stroke:#f59e0b2e;stroke-width:2;opacity:.85}.loading-hud-ring--accent-dashed{stroke:#fb923c59;stroke-width:1;stroke-dasharray:4 10}.loading-hud-arc-track{stroke:#f59e0b24;stroke-width:9;stroke-dasharray:5 11}.loading-hud-arc-progress{stroke-width:9;fill:none;transition:stroke-dashoffset .12s ease-out}.loading-hud-rotate-slow{animation:loading-hud-spin 9s linear infinite}.loading-hud-rotate-slow-reverse{animation:loading-hud-spin-rev 10.5s linear infinite}.loading-hud-rotate-fast{animation:loading-hud-spin 2.6s linear infinite}@keyframes loading-hud-spin{to{transform:rotate(360deg)}}@keyframes loading-hud-spin-rev{to{transform:rotate(-360deg)}}.loading-hud-center{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}.loading-hud-center-glow{position:absolute;width:42%;height:42%;border-radius:50%;background:radial-gradient(circle,rgba(245,158,11,.2) 0%,rgba(234,88,12,.06) 50%,transparent 72%);animation:loading-hud-pulse 2.8s ease-in-out infinite}.loading-hud-percent{position:relative;z-index:1;font-family:"Press Start 2P",monospace;font-size:clamp(1.35rem,6vw,2rem);color:#facc15;letter-spacing:.04em;text-shadow:0 0 6px rgba(245,158,11,.6),0 0 18px rgba(245,158,11,.25);line-height:1}.loading-hud-wrap--ready .loading-hud-center-glow{animation:loading-hud-pulse-ready .9s ease-in-out infinite}@keyframes loading-hud-pulse{0%,to{opacity:.75;transform:scale(1)}50%{opacity:1;transform:scale(1.06)}}@keyframes loading-hud-pulse-ready{0%,to{opacity:.9;transform:scale(1)}50%{opacity:1;transform:scale(1.1)}}.loading-message{font-family:"Press Start 2P",monospace;font-size:.5rem;color:#facc15e0;letter-spacing:.1em;text-align:center;text-shadow:0 0 12px rgba(245,158,11,.35);min-height:2.2em;line-height:1.6;max-width:28ch}.confirm-dialog-content{gap:1rem}.confirm-dialog-body{font-family:JetBrains Mono,monospace;font-size:.9rem;line-height:1.55;color:#c4c4c4;letter-spacing:.03em;margin:0}.confirm-dialog-actions{display:flex;flex-direction:column;gap:.65rem;margin-top:.5rem}.confirm-dialog-btn-primary{width:100%}.confirm-dialog-btn-secondary{width:100%;padding:.75rem 1.25rem;border:2px solid rgba(255,255,255,.25);background:transparent;color:#e0e0e0;font-family:"Press Start 2P",monospace;font-size:.48rem;cursor:pointer;letter-spacing:.06em;border-radius:4px;transition:background .2s,border-color .2s,color .2s}.confirm-dialog-btn-secondary:hover:not(:disabled){background:#ffffff0f;border-color:#fff6;color:#fff}.confirm-dialog-btn-secondary:disabled{opacity:.5;cursor:not-allowed}.app-root{position:relative;display:flex;flex-direction:column;height:100vh;overflow:hidden;background-color:#f7f6f0;background-image:radial-gradient(rgba(204,204,204,.8) 1px,transparent 1px);background-size:20px 20px;color:#000}.scanlines{display:none}.main-layout{display:grid;grid-template-columns:280px 1fr;flex:1;overflow:hidden}.left-panel{display:flex;flex-direction:column;border-right:3px solid #000;background:transparent;overflow:hidden}.center-panel{display:flex;flex-direction:column;padding:1.2rem 1.4rem;gap:1rem;overflow-y:auto;background:#fff}.action-bar{display:flex;align-items:center;justify-content:flex-end;margin-top:auto;padding:.5rem 0;border-top:none;gap:1rem}
