
:root{color-scheme:dark;--cyan:#49c9ed;--green:#31d158;--orange:#ff9f0a;--yellow:#ffdf08;--pink:#ff375f;--purple:#c653e9;--mint:#00cfba}*{box-sizing:border-box}body{margin:0;min-height:100vh;color:white;background:radial-gradient(ellipse at 58% 20%,#27a4c323,transparent 29%),radial-gradient(ellipse at 42% 88%,#ed8c2420,transparent 25%),linear-gradient(125deg,#0a204d 0%,#2d104b 55%,#124b65 100%);background-attachment:fixed;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:17px;line-height:1.4}button,a{touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer}a{color:inherit}#app{max-width:1240px;margin:auto;padding:28px 30px 24px;min-height:100vh;display:flex;flex-direction:column}#play{flex:1}.game-header{display:flex;gap:10px;align-items:center;margin-bottom:18px}.home{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#32c3fb2e;color:var(--cyan);flex-shrink:0}.home svg{width:24px;fill:none;stroke:currentColor;stroke-width:1.4}.game-name h1{font-size:19px;margin:0;font-weight:750}.game-name p{font-size:13px;font-weight:600;color:#ffffffb8;margin:2px 0 0}.points{margin-left:auto;text-align:right}.points strong{display:block;color:var(--yellow);font-size:23px;font-weight:900;font-variant-numeric:tabular-nums}.points span{display:block;font-size:10px;letter-spacing:1px;font-weight:800;color:#ffffff99}.score-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}.metric{text-align:center;background:#0003;border:1px solid #ffffff14;border-radius:11px;padding:8px 6px 7px;min-width:0}.metric-label{color:var(--tint);font-size:11px;font-weight:800;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:3px}.metric-label svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;flex-shrink:0}.metric strong{display:block;font-family:ui-rounded,"SF Pro Rounded",-apple-system,sans-serif;font-weight:900;font-size:25px;font-variant-numeric:tabular-nums;line-height:1.25;margin:2px 0 5px}.meter{height:3px;background:#ffffff26;border-radius:5px;overflow:hidden}.meter span{display:block;height:100%;background:var(--tint);transition:width .35s}.progress-section{margin:18px 0}.progress-section>div{display:flex;justify-content:space-between;font-size:13px;font-weight:900;color:#ffffffbd;letter-spacing:.15px}progress{display:block;width:100%;height:4px;margin-top:8px;border:0;border-radius:20px;overflow:hidden;background:#ffffff1f}progress::-webkit-progress-bar{background:#ffffff1f}progress::-webkit-progress-value{background:var(--cyan)}.challenge-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.scenario-card{border:1px solid #ffffff21;border-radius:22px;padding:18px;background:linear-gradient(135deg,#ffffff24,#ffffff12);box-shadow:0 8px 16px #00000022}.scenario-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:900;color:var(--cyan)}.instruction{font-size:9px;letter-spacing:.7px;color:#ffffff80;text-align:right}.scenario-card h2{font-family:ui-rounded,"SF Pro Rounded",-apple-system,BlinkMacSystemFont,sans-serif;font-size:34px;font-weight:900;line-height:1.15;margin:17px 0}.scenario-card p{font-size:20px;font-weight:500;color:#ffffffde;line-height:1.45;margin:0}#choices{display:grid;gap:9px}.choice{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #ffffff17;background:#00000036;border-radius:16px;padding:13px;font-weight:600;width:100%;line-height:1.4;min-height:66px}.choice:hover{background:#ffffff14;border-color:#49c9ed99}.letter{display:grid;place-items:center;border-radius:50%;width:34px;height:34px;flex:none;background:#32c3fb2b;color:var(--cyan);font-size:18px;font-weight:900}.choice .chevron{color:#ffffff59;font-size:23px;font-weight:400;margin-left:auto;padding-left:3px}.consequence{background:#00000052;border:1.5px solid var(--feedback-color);border-radius:22px;padding:17px;--feedback-color:var(--orange)}.consequence.strong{--feedback-color:var(--green)}.feedback-heading{display:flex;align-items:center;gap:10px}.feedback-icon{border-radius:50%;width:48px;height:48px;flex:none;display:grid;place-items:center;background:#ff9f0a25;color:var(--feedback-color);font-size:26px}.strong .feedback-icon{background:#31d15825}.feedback-heading h3{font-size:13px;font-weight:900;color:var(--feedback-color);margin:0}.feedback-heading p{font-size:12px;color:#ffffffa6;margin:2px 0 0}#consequence-text{font-weight:600;margin:14px 0;line-height:1.45}.effects{display:flex;flex-wrap:wrap;gap:6px}.effect{font-size:12px;font-weight:700;background:#ffffff14;border-radius:30px;padding:5px 8px;color:var(--green)}.effect.negative{color:var(--orange)}.next{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;border:0;border-radius:15px;background:var(--feedback-color);color:#000;padding:14px 16px;font-size:14px;font-weight:900;margin-top:16px;text-align:left}.next span{font-size:22px}.next:hover,.replay:hover{filter:brightness(1.12)}footer{display:flex;justify-content:space-between;gap:18px;font-size:11px;letter-spacing:.6px;color:#ffffffa6;margin-top:44px;padding-top:16px}footer a{text-underline-offset:4px;letter-spacing:0;font-size:13px}.result{max-width:1080px;width:100%;margin:10px auto 0;text-align:center}.profile-icon{width:112px;height:112px;border:4px solid var(--cyan);outline:10px solid #49c9ed22;border-radius:50%;display:grid;place-items:center;font-size:56px;color:var(--cyan);margin:20px auto 32px}.eyebrow{font-size:12px;letter-spacing:1.8px;font-weight:900;color:var(--cyan)}.result h2{font-family:ui-rounded,-apple-system,sans-serif;font-size:34px;line-height:1.2;margin:16px 0;font-weight:900}#profile-message{color:#ffffffd1;max-width:720px;margin:0 auto 20px}.result-stats{display:flex;gap:8px;margin-bottom:18px}.result-stats>div{flex:1;background:#ffffff12;border-radius:14px;padding:15px}.result-stats strong{display:block;font-size:24px;font-weight:900}.result-stats span{display:block;font-size:12px;color:#ffffffad}.result-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.result-card{background:#00000045;border:1px solid #ffffff1a;border-radius:20px;padding:18px;text-align:left}.result-card h3{font-size:17px;font-weight:900;color:var(--cyan);margin:0 0 12px}.result-card h4{font-size:20px;margin:0 0 10px}.result-card p{font-size:15px;color:#ffffffc7;line-height:1.5}.level{font-size:14px;color:#ffffffa0;padding:4px 0}.level.current{color:white;font-weight:700}.level.current span{color:var(--cyan)}.final-score{display:flex;justify-content:space-between;padding:5px 0;font-size:16px;color:#ffffffc7}.final-score strong{color:white}#final-scores{border-top:1px solid #ffffff26;padding-top:12px}.demo-note{font-size:13px!important;color:#ffffff99!important;margin-top:17px}.app-store,.replay{display:block;width:100%;padding:17px;border-radius:17px;border:0;margin-top:18px;text-decoration:none;font-size:17px;font-weight:900}.app-store{background:linear-gradient(90deg,#1caee9,#187dec)}.replay{background:linear-gradient(90deg,#ff9f0a,#ffdf08);color:#000}.skip{position:absolute;top:-80px;left:15px;z-index:2;background:#fff;color:#000;padding:10px}.skip:focus{top:10px}:focus-visible{outline:3px solid var(--cyan);outline-offset:4px}h2:focus{outline:none}[hidden]{display:none!important}@media(min-width:1600px){#app{padding-top:45px}}@media(max-width:950px) and (min-width:760px){.metric-label{font-size:9px}.metric-label svg{width:10px}.instruction{font-size:8px}.scenario-label{font-size:11px}}@media(max-width:759px){#app{padding:12px 16px 20px}.score-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 8px}.metric-label{font-size:10px}.metric strong{font-size:21px}.challenge-layout{grid-template-columns:1fr;gap:13px}.scenario-card h2{font-size:26px;margin:14px 0}.scenario-card p{font-size:17px}.choice{font-size:15px}.game-header{margin-bottom:13px}.progress-section{margin:13px 0}.result-columns{grid-template-columns:1fr}.result h2{font-size:30px}footer{flex-direction:column;gap:8px;margin-top:28px}.instruction{font-size:8px}.scenario-label{font-size:12px}.game-name h1{font-size:18px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}