.hangar{display:flex;gap:22px;align-items:center;flex-wrap:wrap;background:linear-gradient(110deg,#173b41,#12283e);border:1px solid #3c6971;padding:18px 22px;border-radius:14px;margin-bottom:22px;font-size:12px}.hangar p{margin:5px 0;color:#9edbd5}.hangar label{display:grid;gap:7px}.hangar strong{color:#b9ffdf;font-size:16px}select{background:#0a1d30;color:#d8f5ef;padding:9px;border:1px solid #406779;border-radius:7px;font:inherit}#nextGear{color:#f2d48e;margin-left:auto}.modeTabs{display:flex;gap:7px}.modeTabs button{flex:1;font-size:13px}.modeTabs [aria-pressed=true]{background:#2a5751;border-color:#8bffe2}#lessonText,#goalText{font-size:14px;line-height:1.95}#goalText{color:#ffdf99}#lessonPanel h2{color:#a6f6dc}.codebox{margin-top:12px}textarea{min-height:250px;font-size:14px;white-space:pre}.sound{padding:12px 18px}.planTools{padding:0 16px 16px;display:flex;gap:8px;flex-wrap:wrap}.planTools label{width:100%;font-size:12px;color:#a7c5cd}.planTools input{min-width:150px;flex:1;background:#091e2c;border:1px solid #34566b;border-radius:8px;padding:10px;color:#e4f7ff;font-size:12px}.planTools button{font-size:11px}.hintBox{margin-top:15px;padding:14px;background:#292e27;border:1px solid #6c7050;border-radius:10px}.hintBox p{font-size:13px;color:#f2dfb0;margin-bottom:0}.commandCard{padding:12px;background:#142e3c;border-radius:8px;margin-top:7px}.commandCard code{color:#9bffe5;font-size:13px}.commandCard p{font-size:12px;margin:5px 0 0;color:#bad0dd}.exportTools{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;font-size:11px;align-items:center}.exportTools button{font-size:11px}.exportTools a{color:#96d6cd}#runtime{margin-left:auto;color:#afdbc9;font-size:11px}#output{white-space:pre-wrap;font:12px/1.6 monospace;max-height:160px;overflow:auto;color:#b5efd8}#bestRecord{color:#afefcc;font-size:13px}.watch{max-height:120px}.heading{padding-bottom:18px}#stages button{font-size:11px}.scene{position:sticky;top:12px}button[hidden],[hidden]{display:none!important}.workspace{grid-template-columns:minmax(0,1.15fr) minmax(380px,1fr)}@media(max-width:850px){.scene{position:static}.workspace{grid-template-columns:1fr}.hangar{gap:12px}.hangar #nextGear{margin-left:0}.chapterPicker{font-size:11px}.version{max-width:100px}.editor{padding:15px}}@media(min-width:1200px){main{padding-top:20px}#world{max-height:540px;object-fit:contain}}

@media(min-width:1000px){header{height:62px}.chapterPicker{margin-bottom:12px}#stages{margin-bottom:18px}.heading{padding:8px 0 16px}#missionTitle{font-size:28px}.heading p{margin:4px 0}.hangar{padding:12px 18px;margin-bottom:16px}.scenehead{padding:12px 18px}}

#chapters{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}#chapters button{font-size:12px;text-align:left;padding:12px}#chapters .active{background:#31544d;border-color:#8ae1ca}.prediction{border-left:3px solid #85bccc;background:#142e3d;padding:12px;font-size:12px}.prediction b{font-size:13px}.prediction p{margin:8px 0 0;color:#bce3d8}#predictionOptions{display:flex;gap:7px;margin-top:10px}#predictionOptions button{font-size:12px;padding:8px}.checklist{margin:4px 18px 12px;color:#e3d195;font-size:12px}.sound{gap:9px}.sound input{width:60px}#status{white-space:pre-line}.hangar{border-left:4px solid #8dd2c4}@media(max-width:750px){#chapters{grid-template-columns:repeat(2,1fr)}#chapters button{font-size:11px}.version{max-width:120px}#predictionOptions{flex-wrap:wrap}}

.sound{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.sound label{display:flex;align-items:center;gap:6px}.sound input[type=range]{width:90px}#audioStatus{padding:0 18px}

.badgePanel{background:#102b37;border:1px solid #345b67;border-radius:16px;padding:20px;margin-bottom:22px}.badgeHeading{display:flex;justify-content:space-between;gap:12px;align-items:center}.badgeHeading h2{font-size:18px;margin:0}.badgeHeading span,.badgePanel>p{font-size:12px;color:#b4cbd0}.badgeGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;text-align:left}.badgeCard{position:relative;border:1px solid #49606a;background:#152630;border-radius:12px;padding:14px;display:flex;flex-wrap:wrap;gap:8px;align-content:start;align-items:center}.badgeIcon{font-size:23px}.badgeCard strong{font-size:13px}.badgeStatus{font-size:10px;color:#a6b7be}.badgeCard p{font-size:12px;line-height:1.7;margin:0;width:100%;color:#c5d6dc}.badgeCard.earned{background:linear-gradient(125deg,#184c46,#193841);border-color:#64cdb0}.badgeCard.earned .badgeStatus{color:#aaffd5}.badgeCard.fresh{box-shadow:0 0 18px #71ffc52a;border-color:#e1ca78}.stageBadges{display:block;font-size:11px;margin-top:7px;color:#a3c8bc}#clearDialog{max-width:780px;max-height:90vh;overflow:auto}#rewardBadges{margin-top:18px}#recordChange{font-weight:bold;color:#a7ffe0}#badgeNext{padding:12px;background:#112e40;border-radius:9px;font-size:13px;line-height:1.7}@media(max-width:600px){.badgeGrid{grid-template-columns:1fr}.badgeHeading{align-items:start;flex-direction:column}.badgePanel{padding:14px}}

.hangar{display:block}.hangarTitle strong{font-size:20px}.hangarTitle p{font-size:13px;line-height:1.7}#equipmentCards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.equipmentCard{display:flex;flex-direction:column;border:2px solid #466273;border-radius:14px;padding:16px;background:#102435}.equipmentCard h3{font-size:15px;margin:0 0 8px}.equipmentCard p{font-size:12px;line-height:1.7}.equipmentCard button{margin-top:auto;min-height:44px;font-size:13px;white-space:normal}.equipmentCard.equipped{border-color:#83ffe0;background:#17473f;box-shadow:0 0 16px #69ffd326}.equipmentCard.equipped button{background:#8fffe2;color:#10392f}.equipmentCard.gearLocked{opacity:.65}.equipmentTip{color:#e7cf90!important}.currentEquipment{background:#24483e;color:#b4ffdf;margin:0;padding:12px 18px;font-weight:bold;font-size:14px}#gearNotice{color:#aaffdf;font-size:13px}#chapters{max-height:220px;overflow:auto}.badgeGrid{min-width:0}@media(max-width:1000px){#equipmentCards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){#equipmentCards{grid-template-columns:1fr}.equipmentCard{padding:12px}}
