.cell-explorer-3d-simulation{position:relative;width:100%;height:100vh;background:linear-gradient(135deg,#0a1a0a,#1a2e1a,#0f230f);overflow:hidden}.back-btn-3d{position:absolute;top:1rem;left:1rem;z-index:100;display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background:#0f230fe6;border:1px solid rgba(39,174,96,.5);border-radius:.75rem;color:#94a3b8;cursor:pointer;transition:all .2s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header-3d{position:absolute;top:1rem;left:50%;transform:translate(-50%);z-index:100;display:flex;align-items:center;gap:1rem;padding:.75rem 1.5rem;background:#0f230ff2;border:1px solid rgba(39,174,96,.3);border-radius:1rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.cell-type-toggle{display:flex;gap:.25rem;background:#0000004d;padding:.25rem;border-radius:.5rem}.cell-type-toggle button{padding:.5rem .75rem;background:transparent;border:none;border-radius:.375rem;color:#94a3b8;font-size:.75rem;cursor:pointer;transition:all .2s}.cell-type-toggle button:hover{color:#fff}.cell-type-toggle button.active{background:#27ae604d;border:1px solid #27AE60;color:#27ae60}.action-btn:hover{background:#27ae6066;color:#fff}.organelle-label{padding:.25rem .5rem;background:#0f230fe6;border:1px solid rgba(39,174,96,.4);border-radius:.375rem;color:#e2e8f0;font-size:.65rem;font-weight:500;white-space:nowrap;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .2s}.organelle-label.selected{background:#27ae604d;border-color:#27ae60;color:#fff;transform:scale(1.1)}.organelle-info-panel{position:absolute;top:5rem;left:1rem;z-index:100;width:280px;background:#0f230ff2;border:1px solid rgba(39,174,96,.3);border-radius:1rem;overflow:hidden;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:slideIn .3s ease}@keyframes slideIn{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}.organelle-header{display:flex;align-items:center;gap:.75rem;padding:1rem;border-bottom:1px solid rgba(39,174,96,.2)}.organelle-icon{width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;font-size:1.5rem;font-weight:700}.organelle-header h2{font-size:1.125rem;color:#fff;margin:0}.organelle-name-en{font-size:.75rem;color:#94a3b8;font-style:italic;margin:0}.organelle-function,.organelle-description{padding:1rem;border-bottom:1px solid rgba(39,174,96,.1)}.organelle-function h4,.organelle-description h4{font-size:.8rem;color:#27ae60;margin:0 0 .5rem}.organelle-function p,.organelle-description p{font-size:.8rem;color:#e2e8f0;line-height:1.5;margin:0}.organelle-type-badge{padding:.75rem 1rem;font-size:.75rem;font-weight:600;color:#27ae60;text-align:center;background:#27ae601a}.control-panel-3d{position:absolute;top:5rem;right:1rem;z-index:100;width:280px;max-height:calc(100vh - 7rem);overflow-y:auto;background:#0f230ff2;border:1px solid rgba(39,174,96,.3);border-radius:1rem;padding:1rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.organelle-list{display:flex;flex-direction:column;gap:.375rem;max-height:300px;overflow-y:auto}.organelle-list::-webkit-scrollbar{width:4px}.organelle-list::-webkit-scrollbar-thumb{background:#27ae604d;border-radius:2px}.organelle-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#27ae600d;border:none;border-left:3px solid transparent;border-radius:.375rem;cursor:pointer;transition:all .2s ease;text-align:left}.organelle-btn:hover{background:#27ae6026}.organelle-btn.selected{background:#27ae6033}.organelle-btn .org-color{width:12px;height:12px;border-radius:50%;flex-shrink:0}.organelle-btn .org-name{font-size:.8rem;color:#e2e8f0}.learn-card.animal{border-color:#e74c3c66;background:#e74c3c1a}.learn-card.plant{border-color:#27ae6066}.learn-card.animal h4{color:#e74c3c}.learn-card ul{margin:0;padding-left:1rem}.learn-card li{font-size:.75rem;color:#94a3b8;line-height:1.6}.info-modal-3d{width:100%;max-width:550px;max-height:85vh;overflow-y:auto;background:linear-gradient(135deg,#1a2e1a,#0f230f);border:1px solid rgba(39,174,96,.4);border-radius:1.5rem}.info-modal-3d h3{font-size:1rem;color:#e2e8f0;margin:0 0 .75rem}.info-modal-3d p{font-size:.875rem;color:#94a3b8;line-height:1.6;margin:0}.info-modal-3d ul{margin:0;padding-left:1.25rem}.info-modal-3d li{font-size:.875rem;color:#94a3b8;line-height:1.6;margin-bottom:.5rem}.info-modal-3d li strong{color:#27ae60}@media(max-width:1024px){.organelle-info-panel{display:none}}@media(max-width:768px){.header-3d{flex-wrap:wrap;justify-content:center;gap:.5rem}.header-3d h1{font-size:.875rem}.control-panel-3d{position:fixed;inset:auto 0 0;width:100%;max-height:50vh;border-radius:1rem 1rem 0 0}.organelle-list{max-height:150px}}@media(max-width:480px){.mode-tabs button,.cell-type-toggle button{padding:.375rem .5rem;font-size:.65rem}}.photosynthesis-3d-simulation{position:fixed;inset:0;background:linear-gradient(135deg,#064e3b,#0f172a,#065f46);display:grid;grid-template-columns:280px 1fr 320px;grid-template-rows:60px 1fr;overflow:hidden}.photosynthesis-3d-simulation .back-btn-3d{position:absolute;top:1rem;left:1rem;z-index:100;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease}.photosynthesis-3d-simulation .back-btn-3d:hover{background:#fff3;transform:translate(-3px)}.photosynthesis-3d-simulation .header-3d{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;padding:0 1.5rem 0 4rem;background:#064e3bcc;border-bottom:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.photosynthesis-3d-simulation .header-3d h1{font-size:1.25rem;font-weight:600;color:#fff;display:flex;align-items:center;gap:.5rem}.photosynthesis-3d-simulation .mode-tabs{display:flex;gap:.5rem}.photosynthesis-3d-simulation .mode-tabs button{padding:.5rem 1rem;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#94a3b8;font-size:.875rem;cursor:pointer;transition:all .3s ease}.photosynthesis-3d-simulation .mode-tabs button.active{background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;border-color:transparent}.photosynthesis-3d-simulation .header-actions{display:flex;gap:.5rem}.photosynthesis-3d-simulation .action-btn{width:36px;height:36px;border-radius:8px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);color:#94a3b8;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease}.photosynthesis-3d-simulation .action-btn:hover,.photosynthesis-3d-simulation .action-btn.active{background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;border-color:transparent}.photosynthesis-3d-simulation .canvas-container{grid-column:2;grid-row:2;position:relative;background:linear-gradient(180deg,#0a4a3a,#0f172a);height:100%;overflow:hidden}.photosynthesis-3d-simulation .canvas-container canvas{width:100%!important;height:100%!important;display:block}.photosynthesis-3d-simulation .physics-info-panel{grid-column:1;grid-row:2;background:#064e3be6;border-right:1px solid rgba(255,255,255,.1);padding:1.25rem;overflow-y:auto;display:flex;flex-direction:column;gap:1rem}.photosynthesis-3d-simulation .physics-info-panel h2{font-size:1rem;color:#fff;display:flex;align-items:center;gap:.5rem}.photosynthesis-3d-simulation .equation-box{background:linear-gradient(135deg,#22c55e,#16a34a);padding:1rem;border-radius:12px;text-align:center}.photosynthesis-3d-simulation .equation-box .equation{display:block;font-size:1.1rem;font-family:Courier New,monospace;color:#fff;font-weight:700}.photosynthesis-3d-simulation .equation-box .catalyst{display:block;font-size:.75rem;color:#fffc;margin-top:.25rem}.photosynthesis-3d-simulation .stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.photosynthesis-3d-simulation .stat-card{background:#ffffff0d;padding:.75rem;border-radius:8px;display:flex;flex-direction:column;gap:.25rem}.photosynthesis-3d-simulation .stat-card .label{font-size:.7rem;color:#94a3b8}.photosynthesis-3d-simulation .stat-card .value{font-size:.95rem;font-weight:600;color:#fff}.photosynthesis-3d-simulation .stat-card.rate{border-left:3px solid #22c55e}.photosynthesis-3d-simulation .stat-card.glucose{border-left:3px solid #fbbf24}.photosynthesis-3d-simulation .stat-card.oxygen{border-left:3px solid #3b82f6}.photosynthesis-3d-simulation .stat-card.limiting{border-left:3px solid #ef4444}.photosynthesis-3d-simulation .factor-bars{background:#ffffff08;padding:1rem;border-radius:12px}.photosynthesis-3d-simulation .factor-bars h4{color:#fff;font-size:.85rem;margin-bottom:.75rem}.photosynthesis-3d-simulation .factor-bar{display:grid;grid-template-columns:60px 1fr 40px;align-items:center;gap:.5rem;margin-bottom:.5rem}.photosynthesis-3d-simulation .factor-label{font-size:.75rem;color:#94a3b8;display:flex;align-items:center;gap:.25rem}.photosynthesis-3d-simulation .bar-container{height:8px;background:#0000004d;border-radius:4px;overflow:hidden}.photosynthesis-3d-simulation .bar-fill{height:100%;border-radius:4px;transition:width .3s ease}.photosynthesis-3d-simulation .bar-fill.light{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.photosynthesis-3d-simulation .bar-fill.co2{background:linear-gradient(90deg,#64748b,#475569)}.photosynthesis-3d-simulation .bar-fill.water{background:linear-gradient(90deg,#3b82f6,#1d4ed8)}.photosynthesis-3d-simulation .bar-value{font-size:.75rem;color:#fff;text-align:right}.photosynthesis-3d-simulation .control-panel-3d{grid-column:3;grid-row:2;background:#064e3be6;border-left:1px solid rgba(255,255,255,.1);padding:1.25rem;overflow-y:auto;display:flex;flex-direction:column;gap:1rem}.photosynthesis-3d-simulation .panel-section{background:#ffffff08;border-radius:12px;padding:1rem}.photosynthesis-3d-simulation .panel-section h3{color:#fff;font-size:.9rem;margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem}.photosynthesis-3d-simulation .slider-group{display:flex;align-items:center;gap:.75rem}.photosynthesis-3d-simulation .slider-group input[type=range]{flex:1;height:6px;border-radius:3px;background:#ffffff1a;appearance:none}.photosynthesis-3d-simulation .slider-group input[type=range]::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border-radius:50%;cursor:pointer}.photosynthesis-3d-simulation .slider-light::-webkit-slider-thumb{background:linear-gradient(135deg,#fbbf24,#f59e0b)}.photosynthesis-3d-simulation .slider-co2::-webkit-slider-thumb{background:linear-gradient(135deg,#64748b,#475569)}.photosynthesis-3d-simulation .slider-water::-webkit-slider-thumb{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.photosynthesis-3d-simulation .slider-temp::-webkit-slider-thumb{background:linear-gradient(135deg,#ef4444,#dc2626)}.photosynthesis-3d-simulation .slider-value{min-width:45px;text-align:right;color:#fff;font-size:.85rem}.photosynthesis-3d-simulation .play-btn{width:100%;padding:.75rem;border-radius:8px;border:none;display:flex;align-items:center;justify-content:center;gap:.5rem;cursor:pointer;font-weight:500;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;transition:all .3s ease}.equation-display{background:#000c;padding:10px 16px;border-radius:10px;font-size:14px;display:flex;align-items:center;gap:8px}.equation-display .reactant{color:#94a3b8}.equation-display .arrow{color:#22c55e;font-size:18px}.equation-display .product{color:#fbbf24}.glucose-label{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#1f2937;padding:4px 8px;border-radius:6px;font-size:11px;font-weight:700}.organelle-label{background:#22c55ee6;color:#fff;padding:4px 8px;border-radius:6px;font-size:11px;font-weight:700}.structure-label{background:#000000b3;color:#fff;padding:4px 8px;border-radius:6px;font-size:10px}.photosynthesis-3d-simulation .challenge-panel,.photosynthesis-3d-simulation .learn-panel{display:flex;flex-direction:column;gap:1rem}.photosynthesis-3d-simulation .challenge-header{display:flex;justify-content:space-between;align-items:center}.photosynthesis-3d-simulation .challenge-header h3{color:#fff;margin:0}.photosynthesis-3d-simulation .score-display{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.85rem;font-weight:600}.photosynthesis-3d-simulation .challenge-question{color:#fff;font-size:1rem;line-height:1.5}.photosynthesis-3d-simulation .challenge-options{display:flex;flex-direction:column;gap:.5rem}.photosynthesis-3d-simulation .challenge-option{padding:.75rem 1rem;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#e2e8f0;text-align:left;cursor:pointer;transition:all .3s ease;display:flex;justify-content:space-between;align-items:center}.photosynthesis-3d-simulation .challenge-option:hover:not(:disabled){background:#ffffff1a}.photosynthesis-3d-simulation .challenge-option.correct{background:#22c55e33;border-color:#22c55e;color:#22c55e}.photosynthesis-3d-simulation .challenge-option.incorrect{background:#ef444433;border-color:#ef4444;color:#ef4444}.photosynthesis-3d-simulation .challenge-feedback{text-align:center;padding:1rem;background:#ffffff08;border-radius:12px}.photosynthesis-3d-simulation .correct-text{color:#22c55e;font-weight:600}.photosynthesis-3d-simulation .incorrect-text{color:#ef4444}.photosynthesis-3d-simulation .next-btn{margin-top:.75rem;padding:.5rem 1.5rem;background:linear-gradient(135deg,#22c55e,#16a34a);border:none;border-radius:8px;color:#fff;cursor:pointer}.photosynthesis-3d-simulation .challenge-complete{display:flex;flex-direction:column;align-items:center;gap:.75rem;color:#f59e0b}.photosynthesis-3d-simulation .learn-panel h3{color:#fff;display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.photosynthesis-3d-simulation .learn-content{display:flex;flex-direction:column;gap:.75rem}.photosynthesis-3d-simulation .learn-card{padding:1rem;border-radius:12px;border:1px solid rgba(255,255,255,.1)}.photosynthesis-3d-simulation .learn-card.light{background:linear-gradient(135deg,#fbbf2426,#fbbf240d);border-color:#fbbf244d}.photosynthesis-3d-simulation .learn-card.dark{background:linear-gradient(135deg,#6366f126,#6366f10d);border-color:#6366f14d}.photosynthesis-3d-simulation .learn-card.factors{background:linear-gradient(135deg,#ef444426,#ef44440d);border-color:#ef44444d}.photosynthesis-3d-simulation .learn-card.chloroplast{background:linear-gradient(135deg,#22c55e26,#22c55e0d);border-color:#22c55e4d}.photosynthesis-3d-simulation .learn-card h4{color:#fff;font-size:.9rem;margin-bottom:.5rem}.photosynthesis-3d-simulation .learn-card p{color:#94a3b8;font-size:.8rem}.photosynthesis-3d-simulation .learn-card ul{color:#94a3b8;font-size:.8rem;padding-left:1rem;margin:0}.photosynthesis-3d-simulation .tip-section{display:flex;gap:.75rem;align-items:flex-start;background:linear-gradient(135deg,#fbbf241a,#fbbf240d);border:1px solid rgba(251,191,36,.3);border-radius:12px;padding:1rem}.photosynthesis-3d-simulation .tip-section svg{color:#fbbf24;flex-shrink:0}.photosynthesis-3d-simulation .tip-section p{color:#94a3b8;font-size:.8rem;margin:0;line-height:1.5}.photosynthesis-3d-simulation .info-overlay-3d{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:200;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.photosynthesis-3d-simulation .info-modal-3d{background:linear-gradient(135deg,#064e3b,#0f172a);border:1px solid rgba(255,255,255,.1);border-radius:20px;width:90%;max-width:500px;max-height:80vh;overflow-y:auto}.photosynthesis-3d-simulation .modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem;border-bottom:1px solid rgba(255,255,255,.1)}.photosynthesis-3d-simulation .modal-header h2{color:#fff;font-size:1.1rem;display:flex;align-items:center;gap:.5rem}.photosynthesis-3d-simulation .modal-header button{background:#ffffff1a;border:none;color:#94a3b8;width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer}.photosynthesis-3d-simulation .modal-content{padding:1.25rem}.photosynthesis-3d-simulation .modal-content section{margin-bottom:1.5rem}.photosynthesis-3d-simulation .modal-content h3{color:#fff;font-size:.95rem;margin-bottom:.75rem}.photosynthesis-3d-simulation .modal-content p{color:#94a3b8;font-size:.85rem;line-height:1.6}.photosynthesis-3d-simulation .modal-content ul{color:#94a3b8;font-size:.85rem;padding-left:1.25rem}.photosynthesis-3d-simulation .modal-content li{margin-bottom:.5rem}.respiration-3d-simulation{position:relative;width:100%;height:100vh;background:linear-gradient(135deg,#0a0a1a,#1a1a2e,#0f0f23);overflow:hidden}.back-btn-3d{position:absolute;top:1rem;left:1rem;z-index:100;display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background:#0f172ae6;border:1px solid rgba(230,126,34,.5);border-radius:.75rem;color:#94a3b8;cursor:pointer;transition:all .2s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.back-btn-3d:hover{border-color:#e67e22;color:#fff;transform:scale(1.05)}.header-3d{position:absolute;top:1rem;left:50%;transform:translate(-50%);z-index:100;display:flex;align-items:center;gap:1rem;padding:.75rem 1.5rem;background:#0f172af2;border:1px solid rgba(230,126,34,.3);border-radius:1rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header-3d h1 svg{color:#e67e22}.mode-tabs button.active{background:linear-gradient(135deg,#e67e22,#d35400);color:#fff}.action-btn{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:#e67e2233;border:1px solid rgba(230,126,34,.4);border-radius:.5rem;color:#94a3b8;cursor:pointer;transition:all .2s ease}.action-btn:hover,.action-btn.active{background:#e67e2266;color:#fff}.molecule-label{padding:.15rem .3rem;background:#0f172ae6;border:1px solid;border-radius:.25rem;font-size:.6rem;font-weight:600;font-family:Roboto Mono,monospace;white-space:nowrap}.stage-label{padding:.5rem .75rem;background:#0f172ae6;border:2px solid;border-radius:.5rem;text-align:center}.stage-label .stage-name{display:block;font-size:.85rem;font-weight:700;color:#fff}.stage-label .stage-location{display:block;font-size:.65rem;color:#94a3b8;margin-top:.125rem}.atp-counter{display:flex;align-items:center;gap:.375rem;padding:.5rem .75rem;background:linear-gradient(135deg,#e74c3ce6,#c0392be6);border-radius:1rem;font-size:.9rem;font-weight:700;color:#fff;box-shadow:0 0 20px #e74c3c80}.atp-counter svg{color:#f1c40f}.complex-label{padding:.2rem .4rem;background:#0f172ae6;border-radius:.25rem;font-size:.7rem;font-weight:600;color:#e74c3c}.complex-label.atp{color:#f39c12}.respiration-info-panel{position:absolute;top:5rem;left:1rem;z-index:100;width:280px;max-height:calc(100vh - 7rem);overflow-y:auto;background:#0f172af2;border:1px solid rgba(230,126,34,.3);border-radius:1rem;padding:1.25rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.respiration-info-panel::-webkit-scrollbar{width:4px}.respiration-info-panel::-webkit-scrollbar-thumb{background:#e67e2280;border-radius:2px}.respiration-info-panel h2{display:flex;align-items:center;gap:.5rem;font-size:1rem;color:#fff;margin:0 0 1rem}.respiration-info-panel h2 svg{color:#e67e22}.equation-box{padding:.75rem;background:#e67e221a;border:1px solid rgba(230,126,34,.3);border-radius:.5rem;margin-bottom:1rem}.equation-box h4{font-size:.75rem;color:#e67e22;margin:0 0 .5rem}.equation-box .equation{font-size:.75rem;font-family:Roboto Mono,monospace;color:#e2e8f0;text-align:center;line-height:1.6}.equation-box .atp-highlight{color:#e74c3c;font-weight:700}.stage-info-box{padding:.75rem;background:#ffffff08;border:2px solid;border-radius:.5rem;margin-bottom:1rem}.stage-info-box h4{font-size:.85rem;margin:0 0 .5rem}.stage-details{display:flex;flex-direction:column;gap:.375rem}.stage-details .detail-row{display:flex;justify-content:space-between;font-size:.7rem}.stage-details .detail-row span:first-child{color:#94a3b8}.stage-details .detail-row span:last-child{color:#e2e8f0;text-align:right;max-width:60%}.stage-details .detail-row.highlight{padding-top:.375rem;border-top:1px solid rgba(255,255,255,.1)}.stage-details .atp-value{color:#e74c3c;font-weight:700}.atp-summary{padding:.75rem;background:#e74c3c1a;border:1px solid rgba(231,76,60,.3);border-radius:.5rem;margin-bottom:1rem}.atp-summary h4{display:flex;align-items:center;gap:.375rem;font-size:.8rem;color:#e74c3c;margin:0 0 .5rem}.atp-breakdown{display:flex;flex-direction:column;gap:.25rem}.atp-row{display:flex;justify-content:space-between;font-size:.7rem;padding:.25rem .375rem;border-radius:.25rem;transition:background .2s}.atp-row.active{background:#ffffff1a}.atp-row span:last-child{font-family:Roboto Mono,monospace;color:#e2e8f0}.atp-row.total{margin-top:.25rem;padding-top:.375rem;border-top:1px solid rgba(231,76,60,.3);font-weight:700}.atp-row.total span:last-child{color:#e74c3c}.legend-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.375rem}.legend-item{display:flex;align-items:center;gap:.375rem;font-size:.65rem;color:#94a3b8}.control-panel-3d{position:absolute;top:5rem;right:1rem;z-index:100;width:280px;max-height:calc(100vh - 7rem);overflow-y:auto;background:#0f172af2;border:1px solid rgba(230,126,34,.3);border-radius:1rem;padding:1rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.control-panel-3d::-webkit-scrollbar-thumb{background:#e67e2280;border-radius:2px}.panel-section{padding-bottom:1rem;margin-bottom:1rem;border-bottom:1px solid rgba(230,126,34,.2)}.stage-selector{display:flex;flex-direction:column;gap:.5rem}.stage-selector button{display:flex;align-items:center;gap:.5rem;padding:.625rem .75rem;background:#ffffff08;border:2px solid transparent;border-radius:.5rem;color:#94a3b8;font-size:.8rem;cursor:pointer;transition:all .2s;text-align:left}.stage-selector button:hover{background:#ffffff0d;color:#e2e8f0}.stage-selector button.active{background:#ffffff14;color:#fff}.stage-icon{width:12px;height:12px;border-radius:50%}.toggle-group input[type=checkbox]{width:1rem;height:1rem;accent-color:#E67E22;cursor:pointer}.challenge-header h3{margin:0;color:#e67e22}.score-display{font-size:.875rem;font-weight:700;color:#e67e22;background:#e67e2226;padding:.375rem .75rem;border-radius:1rem}.challenge-option{display:flex;align-items:center;justify-content:space-between;padding:.75rem;background:#e67e221a;border:1px solid rgba(230,126,34,.2);border-radius:.5rem;color:#e2e8f0;font-size:.75rem;cursor:pointer;transition:all .2s ease;text-align:left}.challenge-option:hover:not(:disabled){background:#e67e2233;border-color:#e67e2266}.challenge-option.correct{background:#2ecc7133;border-color:#2ecc71;color:#2ecc71}.next-btn{display:inline-flex;align-items:center;gap:.5rem;margin-top:.75rem;padding:.625rem 1.25rem;background:linear-gradient(135deg,#e67e22,#d35400);border:none;border-radius:.5rem;color:#fff;font-size:.875rem;font-weight:600;cursor:pointer}.challenge-complete button{padding:.5rem 1.5rem;background:#e67e224d;border:1px solid #E67E22;border-radius:.5rem;color:#fff;cursor:pointer}.learn-card{padding:.75rem;background:#e67e221a;border:1px solid rgba(230,126,34,.2);border-radius:.5rem}.learn-card h4{font-size:.8rem;color:#e67e22;margin:0 0 .5rem}.tip-section{display:flex;align-items:flex-start;gap:.5rem;padding:.75rem;background:#e67e221a;border:1px solid rgba(230,126,34,.2);border-radius:.5rem}.tip-section svg{color:#e67e22;flex-shrink:0;margin-top:2px}.info-modal-3d{width:100%;max-width:550px;max-height:85vh;overflow-y:auto;background:linear-gradient(135deg,#1a1a2e,#0f0f23);border:1px solid rgba(230,126,34,.4);border-radius:1.5rem}.info-modal-3d .modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid rgba(230,126,34,.2);position:sticky;top:0;background:inherit}.info-modal-3d .modal-header h2 svg{color:#e67e22}.info-modal-3d section h3{font-size:1rem;color:#e67e22;margin:0 0 .75rem}@media(max-width:768px){.header-3d{width:calc(100% - 2rem);flex-wrap:wrap;justify-content:center}.respiration-info-panel,.control-panel-3d{position:fixed;width:calc(100% - 2rem);max-height:40vh;left:1rem;right:1rem}.respiration-info-panel{top:auto;bottom:50vh}.control-panel-3d{top:auto;bottom:1rem}}.genetics-3d-simulation{position:relative;width:100%;height:100vh;background:linear-gradient(135deg,#0a0a1a,#1a1a2e,#0f0f23);overflow:hidden}.organism-label{padding:.25rem .5rem;background:#0f172af2;border:2px solid;border-radius:.5rem;text-align:center;pointer-events:none}.organism-label .genotype{display:block;font-size:.9rem;font-weight:700;font-family:Roboto Mono,monospace;color:#fff}.organism-label .phenotype{display:block;font-size:.6rem;color:#94a3b8}.parent-label{font-size:.75rem;font-weight:600;color:#94a3b8;text-shadow:0 0 10px rgba(0,0,0,.8)}.cross-symbol{font-size:2rem;font-weight:700;color:#f1c40f;text-shadow:0 0 20px rgba(241,196,15,.5)}.punnett-label{font-size:1rem;font-weight:700;font-family:Roboto Mono,monospace;padding:.25rem .5rem;background:#0f172ae6;border-radius:.25rem}.punnett-label.parent{color:#2ecc71}.punnett-cell{font-size:.9rem;font-weight:700;font-family:Roboto Mono,monospace}.genetics-info-panel{position:absolute;top:5rem;left:1rem;z-index:100;width:280px;max-height:calc(100vh - 7rem);overflow-y:auto;background:#0f172af2;border:1px solid rgba(46,204,113,.3);border-radius:1rem;padding:1.25rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.genetics-info-panel::-webkit-scrollbar{width:4px}.genetics-info-panel::-webkit-scrollbar-thumb{background:#2ecc7180;border-radius:2px}.genetics-info-panel h2{display:flex;align-items:center;gap:.5rem;font-size:1rem;color:#fff;margin:0 0 1rem}.genetics-info-panel h2 svg{color:#2ecc71}.parents-info{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.parent-box{flex:1;padding:.75rem;background:#ffffff08;border:2px solid;border-radius:.5rem;text-align:center}.parent-box h4{font-size:.7rem;margin:0 0 .375rem}.parent-box .genotype-display{font-size:1.25rem;font-weight:700;font-family:Roboto Mono,monospace;color:#fff}.parent-box .phenotype-text{font-size:.6rem;color:#94a3b8}.cross-divider{font-size:1.5rem;font-weight:700;color:#f1c40f}.results-box{padding:.75rem;background:#2ecc711a;border:1px solid rgba(46,204,113,.3);border-radius:.5rem;margin-bottom:1rem}.results-box h4{font-size:.8rem;color:#2ecc71;margin:0 0 .5rem}.ratio-section{margin-bottom:.5rem}.ratio-section:last-child{margin-bottom:0}.ratio-label{display:block;font-size:.7rem;color:#94a3b8;margin-bottom:.25rem}.ratios{display:flex;flex-wrap:wrap;gap:.375rem}.ratio-item{padding:.25rem .5rem;background:#ffffff0d;border-radius:.25rem;font-size:.7rem}.ratio-item .genotype{font-family:Roboto Mono,monospace;font-weight:600;color:#2ecc71}.ratio-item .phenotype{color:#e2e8f0}.legend-section{padding:.75rem;background:#ffffff08;border-radius:.5rem}.genotype-controls{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.parent-control{display:flex;align-items:center;justify-content:space-between}.control-label{font-size:.8rem;color:#94a3b8}.allele-buttons{display:flex;gap:.25rem}.allele-buttons button{width:2.5rem;height:2.5rem;background:#2ecc7133;border:1px solid rgba(46,204,113,.4);border-radius:.5rem;color:#fff;font-size:1rem;font-weight:700;font-family:Roboto Mono,monospace;cursor:pointer;transition:all .2s}.allele-buttons button:hover{background:#2ecc7166;transform:scale(1.05)}.cross-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem;background:linear-gradient(135deg,#2ecc71,#27ae60);border:none;border-radius:.5rem;color:#fff;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s}.cross-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 15px #2ecc7166}.cross-btn:disabled{opacity:.6;cursor:not-allowed}.toggle-group input[type=checkbox]{width:1rem;height:1rem;accent-color:#2ECC71;cursor:pointer}.presets-section{padding-bottom:1rem;margin-bottom:1rem;border-bottom:1px solid rgba(46,204,113,.2)}.presets-section h3{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:600;color:#e2e8f0;margin:0 0 .75rem}.presets-section button{width:100%;padding:.5rem;margin-bottom:.375rem;background:#2ecc711a;border:1px solid rgba(46,204,113,.3);border-radius:.375rem;color:#e2e8f0;font-size:.75rem;cursor:pointer;transition:all .2s;text-align:left}.presets-section button:hover{background:#2ecc7133;border-color:#2ecc71}.challenge-option{display:flex;align-items:center;justify-content:space-between;padding:.75rem;background:#2ecc711a;border:1px solid rgba(46,204,113,.2);border-radius:.5rem;color:#e2e8f0;font-size:.8rem;cursor:pointer;transition:all .2s ease;text-align:left}@media(max-width:768px){.header-3d{width:calc(100% - 2rem);flex-wrap:wrap;justify-content:center}.genetics-info-panel,.control-panel-3d{position:fixed;width:calc(100% - 2rem);max-height:40vh;left:1rem;right:1rem}.genetics-info-panel{top:auto;bottom:50vh}.control-panel-3d{top:auto;bottom:1rem}}.ecosystem-3d-simulation{position:relative;width:100%;height:100vh;background:linear-gradient(135deg,#0a0a1a,#1a1a2e,#0f0f23);overflow:hidden}.back-btn-3d{position:absolute;top:1rem;left:1rem;z-index:100;display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background:#0f172ae6;border:1px solid rgba(39,174,96,.5);border-radius:.75rem;color:#94a3b8;cursor:pointer;transition:all .2s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.back-btn-3d:hover{border-color:#27ae60;color:#fff;transform:scale(1.05)}.header-3d{position:absolute;top:1rem;left:50%;transform:translate(-50%);z-index:100;display:flex;align-items:center;gap:1rem;padding:.75rem 1.5rem;background:#0f172af2;border:1px solid rgba(39,174,96,.3);border-radius:1rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header-3d h1 svg{color:#27ae60}.mode-tabs button.active{background:linear-gradient(135deg,#27ae60,#1e8449);color:#fff}.action-btn{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:#27ae6033;border:1px solid rgba(39,174,96,.4);border-radius:.5rem;color:#94a3b8;cursor:pointer;transition:all .2s ease}.action-btn:hover,.action-btn.active{background:#27ae6066;color:#fff}.organism-icon{font-size:1.5rem;pointer-events:none}.organism-label{padding:.25rem .5rem;background:#0f172af2;border:2px solid;border-radius:.375rem;text-align:center;pointer-events:none}.organism-label.selected{box-shadow:0 0 15px #f1c40f80}.organism-label .name{display:block;font-size:.7rem;font-weight:600;color:#fff}.organism-label .population{display:block;font-size:.6rem;color:#94a3b8}.pyramid-label{font-size:.7rem;font-weight:600}.pyramid-title{font-size:.8rem;font-weight:700;color:#f1c40f;text-shadow:0 0 10px rgba(241,196,15,.5)}.ecosystem-info-panel{position:absolute;top:5rem;left:1rem;z-index:100;width:280px;max-height:calc(100vh - 7rem);overflow-y:auto;background:#0f172af2;border:1px solid rgba(39,174,96,.3);border-radius:1rem;padding:1.25rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.ecosystem-info-panel::-webkit-scrollbar{width:4px}.ecosystem-info-panel::-webkit-scrollbar-thumb{background:#27ae6080;border-radius:2px}.ecosystem-info-panel h2{display:flex;align-items:center;gap:.5rem;font-size:1rem;color:#fff;margin:0 0 1rem}.ecosystem-info-panel h2 svg{color:#27ae60}.ecosystem-stats{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.stat-row{display:flex;justify-content:space-between;padding:.375rem .5rem;background:#ffffff0d;border-radius:.375rem}.stat-row .label{font-size:.75rem;color:#94a3b8}.stat-row .value{font-size:.85rem;font-weight:700;font-family:Roboto Mono,monospace}.selected-org-box{padding:.75rem;background:#ffffff08;border:2px solid;border-radius:.5rem;margin-bottom:1rem}.selected-org-box h4{display:flex;align-items:center;gap:.375rem;font-size:.9rem;margin:0 0 .5rem}.org-details{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.5rem}.org-details .detail-row{display:flex;justify-content:space-between;font-size:.7rem}.org-details .detail-row span:first-child{color:#94a3b8}.org-details .detail-row span:last-child{color:#e2e8f0;font-family:Roboto Mono,monospace}.population-controls{display:flex;gap:.5rem}.population-controls button{flex:1;padding:.375rem;background:#27ae6033;border:1px solid rgba(39,174,96,.4);border-radius:.375rem;color:#e2e8f0;font-size:.8rem;font-weight:600;cursor:pointer;transition:all .2s}.population-controls button:hover{background:#27ae6066}.legend-section{padding:.75rem;background:#ffffff08;border-radius:.5rem;margin-bottom:1rem}.legend-section h4{font-size:.8rem;color:#e2e8f0;margin:0 0 .5rem}.legend-item{display:flex;align-items:center;gap:.5rem;font-size:.7rem;color:#94a3b8;margin-bottom:.25rem}.legend-item .dot{width:10px;height:10px;border-radius:50%}.energy-rule{padding:.75rem;background:#f1c40f1a;border:1px solid rgba(241,196,15,.3);border-radius:.5rem}.energy-rule h4{font-size:.8rem;color:#f1c40f;margin:0 0 .375rem}.energy-rule p{font-size:.7rem;color:#94a3b8;line-height:1.4;margin:0}.control-panel-3d{position:absolute;top:5rem;right:1rem;z-index:100;width:280px;max-height:calc(100vh - 7rem);overflow-y:auto;background:#0f172af2;border:1px solid rgba(39,174,96,.3);border-radius:1rem;padding:1rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.control-panel-3d::-webkit-scrollbar-thumb{background:#27ae6080;border-radius:2px}.panel-section{padding-bottom:1rem;margin-bottom:1rem;border-bottom:1px solid rgba(39,174,96,.2)}.panel-section h3{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:600;color:#e2e8f0;margin:0 0 .75rem}.organism-list{display:flex;flex-direction:column;gap:.375rem;max-height:200px;overflow-y:auto}.organism-item{display:flex;align-items:center;gap:.5rem;padding:.5rem;background:#ffffff08;border:1px solid transparent;border-radius:.375rem;cursor:pointer;transition:all .2s}.organism-item:hover{background:#ffffff0f}.organism-item.selected{background:#27ae6026;border-color:#27ae6066}.organism-item .icon{font-size:1rem}.organism-item .name{flex:1;font-size:.75rem;color:#e2e8f0}.organism-item .pop{font-size:.7rem;font-family:Roboto Mono,monospace;color:#27ae60}.toggle-group{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem;cursor:pointer}.toggle-group input[type=checkbox]{width:1rem;height:1rem;accent-color:#27AE60;cursor:pointer}.toggle-group span{font-size:.8rem;color:#e2e8f0}.challenge-header h3{margin:0;color:#27ae60}.score-display{font-size:.875rem;font-weight:700;color:#27ae60;background:#27ae6026;padding:.375rem .75rem;border-radius:1rem}.challenge-option{display:flex;align-items:center;justify-content:space-between;padding:.75rem;background:#27ae601a;border:1px solid rgba(39,174,96,.2);border-radius:.5rem;color:#e2e8f0;font-size:.8rem;cursor:pointer;transition:all .2s ease;text-align:left}.challenge-option:hover:not(:disabled){background:#27ae6033;border-color:#27ae6066}.next-btn{display:inline-flex;align-items:center;gap:.5rem;margin-top:.75rem;padding:.625rem 1.25rem;background:linear-gradient(135deg,#27ae60,#1e8449);border:none;border-radius:.5rem;color:#fff;font-size:.875rem;font-weight:600;cursor:pointer}.challenge-complete button{padding:.5rem 1.5rem;background:#27ae604d;border:1px solid #27AE60;border-radius:.5rem;color:#fff;cursor:pointer}.learn-card{padding:.75rem;background:#27ae601a;border:1px solid rgba(39,174,96,.2);border-radius:.5rem}.learn-card h4{font-size:.8rem;color:#27ae60;margin:0 0 .5rem}.tip-section{display:flex;align-items:flex-start;gap:.5rem;padding:.75rem;background:#27ae601a;border:1px solid rgba(39,174,96,.2);border-radius:.5rem}.tip-section svg{color:#27ae60;flex-shrink:0;margin-top:2px}.info-modal-3d{width:100%;max-width:550px;max-height:85vh;overflow-y:auto;background:linear-gradient(135deg,#1a1a2e,#0f0f23);border:1px solid rgba(39,174,96,.4);border-radius:1.5rem}.info-modal-3d .modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid rgba(39,174,96,.2);position:sticky;top:0;background:inherit}.info-modal-3d .modal-header h2 svg{color:#27ae60}.info-modal-3d .modal-header button{background:none;border:none;color:#94a3b8;cursor:pointer;transition:color .2s}.info-modal-3d section h3{font-size:1rem;color:#27ae60;margin:0 0 .75rem}@media(max-width:768px){.header-3d{width:calc(100% - 2rem);flex-wrap:wrap;justify-content:center}.ecosystem-info-panel,.control-panel-3d{position:fixed;width:calc(100% - 2rem);max-height:40vh;left:1rem;right:1rem}.ecosystem-info-panel{top:auto;bottom:50vh}.control-panel-3d{top:auto;bottom:1rem}}.evolution-3d-simulation{position:relative;width:100%;height:100vh;background:linear-gradient(135deg,#0a0a1a,#1a1a2e,#0f0f23);overflow:hidden}.back-btn-3d{position:absolute;top:1rem;left:1rem;z-index:100;display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background:#0f172ae6;border:1px solid rgba(46,204,113,.5);border-radius:.75rem;color:#94a3b8;cursor:pointer;transition:all .2s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.back-btn-3d:hover{border-color:#2ecc71;color:#fff;transform:scale(1.05)}.header-3d{position:absolute;top:1rem;left:50%;transform:translate(-50%);z-index:100;display:flex;align-items:center;gap:1rem;padding:.75rem 1.5rem;background:#0f172af2;border:1px solid rgba(46,204,113,.3);border-radius:1rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header-3d h1{display:flex;align-items:center;gap:.5rem;font-size:1rem;font-weight:700;color:#fff;margin:0}.header-3d h1 svg{color:#2ecc71}.mode-tabs{display:flex;gap:.25rem;background:#0000004d;padding:.25rem;border-radius:.5rem}.mode-tabs button{padding:.5rem .75rem;background:transparent;border:none;border-radius:.375rem;color:#94a3b8;font-size:.75rem;cursor:pointer;transition:all .2s}.mode-tabs button:hover{color:#fff}.mode-tabs button.active{background:linear-gradient(135deg,#2ecc71,#27ae60);color:#fff}.header-actions{display:flex;gap:.5rem}.action-btn{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:#2ecc7133;border:1px solid rgba(46,204,113,.4);border-radius:.5rem;color:#94a3b8;cursor:pointer;transition:all .2s ease}.action-btn:hover,.action-btn.active{background:#2ecc7166;color:#fff}.canvas-container{position:absolute;inset:0}.generation-marker{font-size:1.25rem;font-weight:700;color:#2ecc71;background:#0f172af2;padding:.5rem 1rem;border-radius:.5rem;border:2px solid rgba(46,204,113,.5)}.fitness-bar-3d{background:#0f172af2;padding:.5rem;border-radius:.375rem;border:1px solid rgba(46,204,113,.3)}.fitness-bar-3d span{font-size:.65rem;color:#94a3b8}.fitness-bar-3d .bar-container{width:80px;height:6px;background:#ffffff1a;border-radius:3px;margin-top:.25rem}.fitness-bar-3d .bar-fill{height:100%;background:linear-gradient(to right,#e74c3c,#f39c12,#2ecc71);border-radius:3px;transition:width .5s}.evolution-info-panel{position:absolute;top:5rem;left:1rem;z-index:100;width:260px;max-height:calc(100vh - 7rem);overflow-y:auto;background:#0f172af2;border:1px solid rgba(46,204,113,.3);border-radius:1rem;padding:1.25rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.evolution-info-panel::-webkit-scrollbar{width:4px}.evolution-info-panel::-webkit-scrollbar-thumb{background:#2ecc7180;border-radius:2px}.evolution-info-panel h2{display:flex;align-items:center;gap:.5rem;font-size:1rem;color:#fff;margin:0 0 1rem}.evolution-info-panel h2 svg{color:#2ecc71}.generation-display{padding:.75rem;background:#2ecc7126;border:1px solid rgba(46,204,113,.3);border-radius:.5rem;margin-bottom:1rem;text-align:center}.generation-display h4{font-size:.8rem;color:#2ecc71;margin:0 0 .25rem}.gen-value{font-size:2rem;font-weight:700;color:#2ecc71}.population-stats{padding:.75rem;background:#ffffff08;border-radius:.5rem;margin-bottom:1rem}.population-stats h4{font-size:.8rem;color:#e2e8f0;margin:0 0 .5rem}.color-distribution{display:flex;flex-direction:column;gap:.25rem}.color-bar{display:flex;align-items:center;gap:.5rem;position:relative}.color-dot{width:12px;height:12px;border-radius:50%;flex-shrink:0}.color-count{font-size:.7rem;color:#94a3b8;width:20px}.color-bar-fill{height:6px;border-radius:3px;opacity:.5}.selected-organism{padding:.75rem;background:#f39c121a;border:1px solid rgba(243,156,18,.3);border-radius:.5rem;margin-bottom:1rem}.selected-organism h4{font-size:.8rem;color:#f39c12;margin:0 0 .5rem}.org-detail{display:flex;justify-content:space-between;align-items:center;font-size:.7rem;padding:.25rem 0}.org-detail span:first-child{color:#94a3b8}.org-detail span:last-child{color:#e2e8f0;font-family:Roboto Mono,monospace}.legend{padding:.75rem;background:#ffffff08;border-radius:.5rem}.legend h4{font-size:.8rem;color:#e2e8f0;margin:0 0 .375rem}.legend p{font-size:.65rem;color:#94a3b8;line-height:1.4;margin:0}.control-panel-3d{position:absolute;top:5rem;right:1rem;z-index:100;width:280px;max-height:calc(100vh - 7rem);overflow-y:auto;background:#0f172af2;border:1px solid rgba(46,204,113,.3);border-radius:1rem;padding:1rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.control-panel-3d::-webkit-scrollbar{width:4px}.control-panel-3d::-webkit-scrollbar-thumb{background:#2ecc7180;border-radius:2px}.panel-section{padding-bottom:1rem;margin-bottom:1rem;border-bottom:1px solid rgba(46,204,113,.2)}.panel-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.panel-section h3{font-size:.875rem;font-weight:600;color:#e2e8f0;margin:0 0 .75rem}.env-buttons{display:flex;gap:.375rem;flex-wrap:wrap}.env-buttons button{padding:.5rem .75rem;background:transparent;border:2px solid;border-radius:.5rem;font-size:1rem;cursor:pointer;transition:all .2s}.env-buttons button:hover{opacity:.8}.slider-group{margin-bottom:.75rem}.slider-group label{display:block;font-size:.75rem;color:#94a3b8;margin-bottom:.375rem}.panel-section input[type=range]{width:100%;height:6px;background:#2ecc7133;border-radius:3px;outline:none;cursor:pointer;appearance:none}.panel-section input[type=range]::-webkit-slider-thumb{appearance:none;width:18px;height:18px;background:linear-gradient(135deg,#2ecc71,#27ae60);border-radius:50%;cursor:pointer;border:3px solid #fff}.challenge-panel{padding:0}.challenge-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.challenge-header h3{margin:0;color:#2ecc71}.score-display{font-size:.875rem;font-weight:700;color:#2ecc71;background:#2ecc7126;padding:.375rem .75rem;border-radius:1rem}.challenge-question{font-size:.875rem;color:#fff;line-height:1.5;margin:0 0 1rem}.challenge-options{display:flex;flex-direction:column;gap:.5rem}.challenge-option{display:flex;align-items:center;justify-content:space-between;padding:.75rem;background:#2ecc711a;border:1px solid rgba(46,204,113,.2);border-radius:.5rem;color:#e2e8f0;font-size:.75rem;cursor:pointer;transition:all .2s ease;text-align:left}.challenge-option:hover:not(:disabled){background:#2ecc7133;border-color:#2ecc7166}.challenge-option.correct{background:#2ecc714d;border-color:#2ecc71;color:#2ecc71}.challenge-option.incorrect{background:#e74c3c33;border-color:#e74c3c;color:#e74c3c}.challenge-feedback{margin-top:1rem;text-align:center}.correct-text{color:#2ecc71;font-weight:600}.incorrect-text{color:#e74c3c;font-weight:600}.next-btn{display:inline-flex;align-items:center;gap:.5rem;margin-top:.75rem;padding:.625rem 1.25rem;background:linear-gradient(135deg,#2ecc71,#27ae60);border:none;border-radius:.5rem;color:#fff;font-size:.875rem;font-weight:600;cursor:pointer}.challenge-complete{padding:1rem 0;text-align:center}.challenge-complete svg{color:#f39c12;margin-bottom:.5rem}.challenge-complete p{font-size:1.125rem;color:#fff;margin:0 0 1rem}.challenge-complete button{padding:.5rem 1.5rem;background:#2ecc714d;border:1px solid #2ECC71;border-radius:.5rem;color:#fff;cursor:pointer}.learn-panel h3{display:flex;align-items:center;gap:.5rem;margin:0 0 1rem;color:#e2e8f0}.learn-content{display:flex;flex-direction:column;gap:.75rem}.learn-card{padding:.75rem;background:#2ecc711a;border:1px solid rgba(46,204,113,.2);border-radius:.5rem}.learn-card h4{font-size:.8rem;color:#2ecc71;margin:0 0 .5rem}.learn-card p{font-size:.75rem;color:#94a3b8;line-height:1.5;margin:0}.tip-section{display:flex;align-items:flex-start;gap:.5rem;padding:.75rem;background:#2ecc711a;border:1px solid rgba(46,204,113,.2);border-radius:.5rem}.tip-section svg{color:#2ecc71;flex-shrink:0;margin-top:2px}.tip-section p{margin:0;font-size:.7rem;color:#94a3b8;line-height:1.4}.info-overlay-3d{position:fixed;inset:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.info-modal-3d{width:100%;max-width:550px;max-height:85vh;overflow-y:auto;background:linear-gradient(135deg,#1a1a2e,#0f0f23);border:1px solid rgba(46,204,113,.4);border-radius:1.5rem}.info-modal-3d .modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid rgba(46,204,113,.2);position:sticky;top:0;background:inherit}.info-modal-3d .modal-header h2{display:flex;align-items:center;gap:.5rem;font-size:1.125rem;color:#fff;margin:0}.info-modal-3d .modal-header h2 svg{color:#2ecc71}.info-modal-3d .modal-header button{background:none;border:none;color:#94a3b8;cursor:pointer}.info-modal-3d .modal-header button:hover{color:#fff}.info-modal-3d .modal-content{padding:1.5rem}.info-modal-3d section{margin-bottom:1.5rem}.info-modal-3d section:last-child{margin-bottom:0}.info-modal-3d section h3{font-size:1rem;color:#2ecc71;margin:0 0 .75rem}.info-modal-3d section p{font-size:.875rem;color:#94a3b8;line-height:1.6;margin:0}.info-modal-3d section ul{margin:0;padding-left:1.25rem}.info-modal-3d section li{font-size:.875rem;color:#94a3b8;line-height:1.8}.info-modal-3d section li strong{color:#e2e8f0}@media(max-width:768px){.header-3d{width:calc(100% - 2rem);flex-wrap:wrap;justify-content:center}.evolution-info-panel,.control-panel-3d{position:fixed;width:calc(100% - 2rem);max-height:40vh;left:1rem;right:1rem}.evolution-info-panel{top:auto;bottom:50vh}.control-panel-3d{top:auto;bottom:1rem}}
