*{box-sizing:border-box}body.cg{margin:0;background:#edf2fc;color:#26334c;font-family:ui-rounded,"Avenir Next",Arial,sans-serif}.cg h1,.cg h2,.cg h3,.cg p{margin:0}.cg button,.cg input,.cg textarea{font:inherit}.cg-shell{max-width:1600px;margin:auto;padding:28px 36px}.cg-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.cg-brand{font-weight:850;font-size:23px;letter-spacing:-1px}.cg-brand i{font-style:normal;color:#ed7958}.cg-note{font-size:12px;color:#59677b}.cg-actions{display:flex;flex-wrap:wrap;gap:8px}.cg-title{font-size:clamp(30px,4vw,60px);line-height:1.06;letter-spacing:-2px;max-width:700px}.cg-intro{max-width:420px;font-size:17px;line-height:1.6;color:#627089;margin:20px 0!important}.cg-entry{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;min-height:74vh}.cg-scene{position:relative;min-width:0}.cg-scene svg{display:block;width:100%;height:auto;overflow:visible}.cg-scene-caption{text-align:center;font-size:13px;color:#627089}.cg-cloud{position:absolute;top:12%;left:9%;background:#fff;padding:12px 17px;border-radius:18px;box-shadow:0 8px 24px #53688d12;font-size:13px}.cg-cloud b{color:#3d7862}.cg-board{display:grid;grid-template-columns:180px minmax(320px,1fr) 360px;gap:24px;align-items:start}.cg-game-title{margin-bottom:24px;display:flex;justify-content:space-between;align-items:end}.cg-game-title h1{font-size:31px;letter-spacing:-1px}.cg-muted{color:#627089;font-size:13px;line-height:1.5}.cg-stat{padding:16px 0;border-bottom:1px solid #dce3f0}.cg-stat strong{display:block;font-size:24px;letter-spacing:-.7px;margin-top:5px}.cg-radar{width:100%;max-width:270px;overflow:visible;display:block;margin:16px auto}.cg-panel{background:#fff;border-radius:26px;padding:25px;box-shadow:0 14px 45px #52617f0c}.cg-panel h2{font-size:24px;letter-spacing:-.6px;margin:12px 0}.cg-round{color:#a6553d;background:#fff0e8;border-radius:20px;padding:6px 10px;font-size:12px;display:inline-block}.cg-task{font-size:14px;line-height:1.55;margin:12px 0 18px!important;color:#59677b}.cg-field{display:block;margin:22px 0}.cg-field>span{display:flex;justify-content:space-between;margin-bottom:12px;font-size:14px;font-weight:650}.cg input[type=range]{width:100%;accent-color:#d36b4c;cursor:pointer}.cg-options{display:grid;gap:8px;margin:16px 0}.cg-option{display:flex;gap:10px;align-items:center;padding:13px;border:1px solid #dfe5ef;border-radius:13px;cursor:pointer;font-size:14px}.cg-option:has(input:checked){border-color:#e89880;background:#fff4ed}.cg-option input{accent-color:#d36b4c}.cg-option small{display:block;color:#627089;font-size:12px;margin-top:3px}.cg textarea{display:block;resize:vertical;min-height:135px;width:100%;border:1px solid #cbd5e6;border-radius:13px;padding:13px;color:#26334c;background:#fbfcff;line-height:1.5;font-size:14px}.cg textarea:focus,.cg input:focus-visible{outline:3px solid #edb9a4;outline-offset:3px}.cg-rubric{font-size:12px;color:#627089;margin:12px 0;line-height:1.7}.cg-rubric ul{list-style:none;padding:0;margin:6px 0}.cg-check{color:#347259}.cg-forecast{border-radius:14px;background:#f0f5fa;padding:14px;margin:16px 0;font-size:13px;line-height:1.6}.cg-forecast strong{display:block;margin-bottom:5px}.cg-milestones{display:flex;gap:12px;margin:28px 0 0;padding:18px 0;border-top:1px solid #d6deec;list-style:none}.cg-milestones li{flex:1;display:flex;gap:9px;align-items:center;font-size:12px;color:#69768d}.cg-milestones span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#dfe6f1;flex-shrink:0}.cg-milestones .cg-current{color:#a95239;font-weight:700}.cg-current span{background:#f8c5af}.cg-done span{background:#b9ddc9;color:#326448}.cg-settings{max-width:1100px;margin:20px auto;display:grid;grid-template-columns:1fr 440px;align-items:center;gap:60px}.cg-settings h1{font-size:43px;letter-spacing:-1.5px}.cg-result{max-width:1000px;margin:40px auto;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.cg-result h1{font-size:43px;letter-spacing:-1.5px}.cg-result .cg-radar{max-width:380px}.cg-score{font-size:65px;color:#3e7963;letter-spacing:-4px;margin:14px 0}.cg-axis-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:13px}.cg-axis-list b{float:right}.cg-toast{padding:12px 15px;background:#dceee3;border-radius:12px;font-size:13px;margin-top:15px}.cg-build .cg-building{animation:cg-build .75s ease-out both;transform-origin:50% 80%}@keyframes cg-build{from{opacity:0;transform:translateY(-35px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1100px){.cg-board{grid-template-columns:140px 1fr}.cg-board>.cg-panel{grid-column:1/-1;max-width:none}.cg-board>.cg-panel .cg-options{grid-template-columns:repeat(3,1fr)}.cg-settings{gap:20px;grid-template-columns:1fr 1fr}}@media(max-width:650px){.cg-shell{padding:18px}.cg-header{align-items:start;flex-wrap:wrap;margin-bottom:25px}.cg-note{max-width:200px}.cg-entry,.cg-settings,.cg-result{display:flex;flex-direction:column;gap:25px;min-height:auto;margin-top:35px}.cg-entry .cg-scene{order:-1;width:100%}.cg-title{font-size:40px;letter-spacing:-1.5px}.cg-entry .cg-scene svg{max-height:310px}.cg-settings h1,.cg-result h1{font-size:34px}.cg-panel{width:100%;padding:20px}.cg-board{display:flex;flex-direction:column;gap:15px}.cg-sidebar{display:flex;gap:20px;flex-wrap:wrap;width:100%}.cg-sidebar .cg-radar{display:none}.cg-stat{padding:0;border:0;flex:1}.cg-stat strong{font-size:20px}.cg-board .cg-scene{width:100%}.cg-game-title h1{font-size:25px}.cg-board>.cg-panel .cg-options{grid-template-columns:1fr}.cg-milestones{gap:5px;flex-wrap:wrap}.cg-milestones li{min-width:44%;flex:none}.cg-cloud{font-size:11px;padding:8px;top:4%}.cg-result{margin-top:20px}.cg-result>div{width:100%}.cg-result .cg-radar{max-width:280px}}@media(prefers-reduced-motion:reduce){.cg-build .cg-building{animation:none}}
/* Named local scene theme: kit controls keep their own shared dark contract. */
.cg[data-cg-theme=dark]{background:#202b40;color:#edf2fc}.cg[data-cg-theme=dark] .cg-panel{background:#2a374e;box-shadow:0 14px 45px #10182b24}.cg[data-cg-theme=dark] .cg-muted,.cg[data-cg-theme=dark] .cg-note,.cg[data-cg-theme=dark] .cg-intro,.cg[data-cg-theme=dark] .cg-task,.cg[data-cg-theme=dark] .cg-option small,.cg[data-cg-theme=dark] .cg-rubric,.cg[data-cg-theme=dark] .cg-scene-caption{color:#becce0}.cg[data-cg-theme=dark] .cg-forecast{background:#35445c;color:#edf2fc}.cg[data-cg-theme=dark] .cg-option{border-color:#51617b}.cg[data-cg-theme=dark] .cg-option:has(input:checked){border-color:#eaa486;background:#574237}.cg[data-cg-theme=dark] textarea{background:#223047;border-color:#66748d;color:#f0f4fc}.cg[data-cg-theme=dark] textarea::placeholder{color:#a8b9d0}.cg[data-cg-theme=dark] .cg-radar text{fill:#cad6e8}.cg[data-cg-theme=dark] .cg-radar polygon:not([fill=none]){fill:#8ec8b0;fill-opacity:.6;stroke:#a7dfc2}.cg[data-cg-theme=dark] .cg-check,.cg[data-cg-theme=dark] .cg-score{color:#a4dbbd}.cg[data-cg-theme=dark] .cg-round{background:#59463d;color:#ffd4ba}.cg[data-cg-theme=dark] .cg-stat,.cg[data-cg-theme=dark] .cg-milestones{border-color:#42516b}.cg[data-cg-theme=dark] .cg-milestones li{color:#bdcce1}.cg[data-cg-theme=dark] .cg-milestones span{background:#45536c}.cg[data-cg-theme=dark] .cg-milestones .cg-current{color:#ffc6a8}.cg[data-cg-theme=dark] .cg-current span{background:#835c48}.cg[data-cg-theme=dark] .cg-done span{background:#4a7461;color:#e0f7e9}.cg[data-cg-theme=dark] .cg-cloud{background:#34465d;color:#e7f0fa}.cg[data-cg-theme=dark] .cg-cloud b{color:#b2e0c6}
.cg-game-title{flex-wrap:wrap;gap:12px}.cg-game-title>div{min-width:0;flex:1 1 250px}.cg-game-title>.cg-round{flex:0 1 auto;overflow-wrap:anywhere}.cg-board .cg-panel{min-width:0}
.cg h1,.cg h2,.cg h3,.cg-task,.cg-intro,.cg-option span,.cg-forecast,.cg-rubric{overflow-wrap:anywhere}
