.app{display:flex;flex-direction:column;align-items:center;padding:20px;min-height:100vh}.title{font-size:2.5rem;font-weight:700;margin-bottom:16px;background:linear-gradient(90deg,#4ade80,#22d3ee);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-align:center}.date-display{color:#ffffff80;font-size:.85rem;margin-top:8px;margin-bottom:6px;width:100%;max-width:500px;text-align:left;padding-left:12px}.date-picker-row{display:flex;align-items:center;gap:8px;margin-top:8px;margin-bottom:6px}.date-picker{padding:6px 10px;border:1px solid rgba(255,255,255,.2);border-radius:6px;background:#ffffff1a;color:#fff;font-size:.85rem}.date-picker::-webkit-calendar-picker-indicator{filter:invert(1)}.date-nav-btn{width:28px;height:28px;border:none;border-radius:6px;background:#ffffff26;color:#fffc;font-size:1rem;cursor:pointer;transition:all .2s ease}.date-nav-btn:hover{background:#ffffff40;color:#fff}.difficulty-row{display:flex;align-items:center;gap:12px}.difficulty-selector{display:flex;gap:8px;background:#ffffff1a;padding:6px;border-radius:12px}.help-btn{width:32px;height:32px;border:none;border-radius:50%;background:#ffffff26;color:#fffc;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.help-btn:hover{background:#ffffff40;color:#fff}.difficulty-btn{padding:10px 20px;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease;background:transparent;color:#ffffffb3}.difficulty-btn:hover{color:#fff;background:#ffffff1a}.difficulty-btn.active{background:linear-gradient(135deg,#4ade80,#22d3ee);color:#1a1a2e;font-weight:600}.level-selector{display:flex;align-items:center;gap:12px;margin-bottom:20px;background:#ffffff1a;padding:8px 16px;border-radius:12px}.level-nav-btn{width:36px;height:36px;border:none;border-radius:8px;font-size:1.2rem;font-weight:600;cursor:pointer;transition:all .2s ease;background:#ffffff26;color:#fff;display:flex;align-items:center;justify-content:center}.level-nav-btn:hover:not(:disabled){background:#ffffff40;transform:scale(1.05)}.level-nav-btn:disabled{opacity:.3;cursor:not-allowed}.level-info{font-size:1.1rem;color:#fff;font-weight:500;text-align:center;min-width:180px}.level-difficulty{margin-left:8px;font-size:.9rem;color:#fff9;font-weight:400}.loading-message,.no-level-message{font-size:1.2rem;color:#ffffffb3;text-align:center;padding:40px 20px;line-height:1.6}.difficulty-btn:disabled{opacity:.4;cursor:not-allowed}.stats-bar{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:500px;margin-top:16px;padding:0 12px}.reset-btn{padding:10px 20px;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease;background:#ef4444cc;color:#fff}.reset-btn:hover{background:#ef4444;transform:scale(1.05)}.stats{display:flex;gap:20px}.stat{font-size:1.1rem;color:#ffffffe6}.stat-label{color:#fff9;margin-right:4px}.par{color:#ffffff80;font-size:.9rem;margin-left:4px}.grid-container{width:100%;max-width:500px;aspect-ratio:1;padding:10px}.grid{display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(5,1fr);gap:5px;width:100%;height:100%;background:linear-gradient(145deg,#2a3f5f,#1e2d47,#162236);padding:10px;border-radius:14px;position:relative;box-shadow:inset 0 2px 4px #ffffff14,inset 0 -3px 6px #0006,0 8px 24px #00000080,0 2px 8px #0000004d;border:1px solid rgba(255,255,255,.06)}.grid:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:14px;box-shadow:inset 0 0 40px #0006;pointer-events:none;z-index:100}.cell{background:linear-gradient(145deg,#78a0c847,#648cb438,#5078a02e);border-radius:8px;aspect-ratio:1;cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative;box-shadow:inset 0 1px 2px #ffffff26,inset 0 -1px 2px #0003,0 2px 4px #00000040;border:1px solid rgba(255,255,255,.05)}.cell:nth-child(odd){background:linear-gradient(145deg,#6e96be42,#5a82aa33,#466e9629)}.cell:nth-child(3n){background:linear-gradient(145deg,#7da5cd4d,#6991b93d,#557da533)}.cell:hover{background:linear-gradient(145deg,#8cb4dc61,#78a0c852,#648cb447);box-shadow:inset 0 1px 3px #fff3,inset 0 -1px 2px #00000026,0 3px 6px #0000004d}.cell-frog{background:linear-gradient(145deg,#4ade8066,#22c55e59,#16a34a4d);box-shadow:inset 0 1px 3px #86efac4d,inset 0 -2px 3px #16653440,0 2px 4px #00000040}.snake-overlay{position:absolute;display:flex;align-items:center;justify-content:center;pointer-events:auto;z-index:15;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;filter:drop-shadow(2px 4px 4px rgba(0,0,0,.4))}.snake-overlay.dragging{cursor:grabbing;filter:drop-shadow(3px 6px 6px rgba(0,0,0,.5))}.snake-svg{width:68%;height:86%;pointer-events:none}.snake-svg-horizontal{width:86%;height:68%;pointer-events:none}.cell-log{background:linear-gradient(145deg,#b4530980,#92400e73,#78350f66);box-shadow:inset 0 1px 2px #fbbf2440,inset 0 -2px 4px #451a034d,0 3px 6px #00000059}.cell-lilypad{background:linear-gradient(145deg,#4ade8073,#22c55e61,#16a34a52);box-shadow:inset 0 1px 3px #86efac59,inset 0 -2px 3px #16653440,0 2px 4px #00000040}.cell-lilypad .piece-icon{width:95%;height:95%}.cell-frog-active{background:linear-gradient(145deg,#64e6968c,#4ac8807a,#32aa646b);box-shadow:0 0 0 3px #4ade80d9 inset,0 0 12px #4ade8066;z-index:50}.cell-valid-dest{background:linear-gradient(145deg,#5096ff73,#3b82f661,#2864dc52);box-shadow:0 0 0 3px #3b82f6d9 inset,0 0 12px #3b82f659;animation:pulse 1s ease-in-out infinite}@keyframes pulse{0%,to{box-shadow:0 0 0 3px #3b82f6d9 inset,0 0 12px #3b82f659}50%{box-shadow:0 0 0 4px #3b82f6b3 inset,0 0 16px #3b82f673}}.frog-piece{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;position:relative;z-index:25;filter:drop-shadow(2px 4px 4px rgba(0,0,0,.4));width:95%;height:95%}.frog-piece.selected{transform:scale(1.05)}.frog-piece.dragging{cursor:grabbing;filter:drop-shadow(3px 6px 6px rgba(0,0,0,.5))}.lilypad-under-frog{position:absolute;top:2.5%;left:2.5%;width:95%;height:95%;z-index:5;pointer-events:none}.frog-on-pad{z-index:26}.piece-icon{display:flex;align-items:center;justify-content:center;width:92%;height:92%;font-size:min(10vw,4rem)}.cell-log .piece-icon{filter:drop-shadow(2px 4px 5px rgba(0,0,0,.5));z-index:10;width:95%;height:95%}.piece-svg{width:100%;height:100%}.win-message{margin-top:16px;padding:10px 20px;font-size:1.4rem;font-weight:700;background:linear-gradient(135deg,#4ade80,#22d3ee);color:#1a1a2e;border-radius:10px;animation:bounce .5s ease-in-out infinite alternate;display:flex;flex-direction:column;align-items:center;gap:8px}.next-level-btn{padding:10px 24px;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;background:#1a1a2e;color:#fff}.next-level-btn:hover{background:#2a2a4e;transform:scale(1.05)}.editor-toggle-btn{position:fixed;bottom:20px;right:20px;padding:12px 20px;border:none;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease;background:#ffffff26;color:#ffffffb3}.editor-toggle-btn:hover{background:#ffffff40;color:#fff;transform:scale(1.05)}@keyframes bounce{0%{transform:scale(1)}to{transform:scale(1.05)}}@media (max-width: 480px){.app{padding:16px}.title{font-size:1.8rem;margin-bottom:16px}.difficulty-row{margin-bottom:12px}.difficulty-selector{gap:4px;padding:4px}.difficulty-btn{padding:8px 14px;font-size:.9rem}.help-btn{width:28px;height:28px;font-size:.9rem}.grid-container{max-width:100%;padding:0}.grid{gap:4px;padding:8px;border-radius:12px}.grid:before{border-radius:12px;box-shadow:inset 0 0 30px #00000059}.cell{border-radius:6px}.piece-icon{font-size:min(14vw,3rem)}.frog-piece{filter:drop-shadow(1px 2px 2px rgba(0,0,0,.3))}.snake-overlay{filter:drop-shadow(1px 3px 3px rgba(0,0,0,.35))}}@media (min-width: 481px) and (max-width: 768px){.grid-container{max-width:400px}}@media (min-width: 769px){.title{font-size:3rem;margin-bottom:24px}.difficulty-btn{padding:12px 28px;font-size:1.1rem}.grid-container{max-width:500px}.grid{gap:6px;padding:12px;border-radius:16px}.grid:before{border-radius:16px;box-shadow:inset 0 0 50px #00000073}.cell{border-radius:10px}}.help-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.help-modal{background:#1a1a2e;border-radius:16px;max-width:400px;width:100%;padding:24px;position:relative;box-shadow:0 20px 60px #00000080;max-height:90vh;overflow-y:auto}.help-modal h2{margin:0 0 16px;color:#fff;font-size:1.5rem;text-align:center}.help-close-btn{position:absolute;top:12px;right:12px;width:32px;height:32px;border:none;border-radius:8px;background:#ef4444cc;color:#fff;font-size:1.4rem;line-height:1;cursor:pointer;transition:all .2s ease}.help-close-btn:hover{background:#ef4444;transform:scale(1.05)}.help-goal{background:linear-gradient(135deg,#4ade8033,#22d3ee33);border-radius:12px;padding:12px 16px;margin-bottom:20px;text-align:center}.help-goal p{margin:0;color:#4ade80;font-size:1.1rem;font-weight:600}.help-section{display:flex;flex-direction:column;gap:16px;margin-bottom:20px}.help-item{display:flex;align-items:center;gap:16px}.help-icon{width:50px;height:50px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.help-icon svg{width:100%;height:100%}.help-icon-wide{width:70px}.help-icon-wide svg{width:100%;height:auto}.help-text{flex:1}.help-text strong{color:#fff;font-size:1rem;display:block;margin-bottom:2px}.help-text p{margin:0;color:#ffffffb3;font-size:.9rem;line-height:1.4}.help-tip{background:#fbbf2426;border:1px solid rgba(251,191,36,.3);border-radius:8px;padding:12px;color:#ffffffe6;font-size:.9rem}.help-tip strong{color:#fbbf24}.level-editor-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.level-editor{background:#1a1a2e;border-radius:16px;max-width:900px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #00000080}.level-editor.wide{max-width:1200px}.editor-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom:1px solid rgba(255,255,255,.1)}.editor-header h2{margin:0;color:#fff;font-size:1.5rem}.close-btn{width:36px;height:36px;border:none;border-radius:8px;background:#ef4444cc;color:#fff;font-size:1.2rem;font-weight:600;cursor:pointer;transition:all .2s ease}.close-btn:hover{background:#ef4444;transform:scale(1.05)}.editor-layout{display:flex;gap:0}.editor-main{flex:1;border-right:1px solid rgba(255,255,255,.1)}.editor-content{display:flex;gap:24px;padding:24px}.editor-sidebar{width:200px;flex-shrink:0;display:flex;flex-direction:column;gap:16px}.current-editing{background:#ffffff1a;padding:12px;border-radius:8px;color:#fff;font-size:.9rem}.current-editing strong{color:#4ade80}.difficulty-tag{padding:2px 8px;border-radius:4px;font-size:.8rem;font-weight:600;text-transform:capitalize}.difficulty-tag.easy{background:#4ade804d;color:#4ade80}.difficulty-tag.medium{background:#fbbf244d;color:#fbbf24}.difficulty-tag.hard{background:#ef44444d;color:#ef4444}.editor-section{display:flex;flex-direction:column;gap:8px}.editor-section label{color:#ffffffb3;font-size:.9rem;font-weight:500}.editor-section input,.editor-section select{padding:10px 12px;border:1px solid rgba(255,255,255,.2);border-radius:8px;background:#ffffff1a;color:#fff;font-size:1rem}.editor-section input:focus,.editor-section select:focus{outline:none;border-color:#4ade80}.tool-buttons{display:flex;flex-wrap:wrap;gap:8px}.tool-btn{padding:8px 12px;border:none;border-radius:6px;background:#ffffff26;color:#fff;font-size:.85rem;cursor:pointer;transition:all .2s ease}.tool-btn:hover{background:#ffffff40}.tool-btn.active{background:linear-gradient(135deg,#4ade80,#22d3ee);color:#1a1a2e;font-weight:600}.tool-btn.eraser{background:#ef444480}.tool-btn.eraser.active{background:#ef4444;color:#fff}.option-row{display:flex;align-items:center;gap:8px}.option-row span{color:#fff9;font-size:.85rem;min-width:80px}.option-row select,.option-row input{flex:1;padding:6px 10px}.action-btn{padding:12px 16px;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s ease;width:100%;margin-top:4px}.action-btn.clear{background:#ef4444cc;color:#fff}.action-btn.clear:hover{background:#ef4444}.action-row{display:flex;gap:8px}.action-row .action-btn{flex:1;padding:10px 12px;font-size:.85rem}.action-btn.copy{background:#3b82f6cc;color:#fff}.action-btn.copy:hover{background:#3b82f6}.action-btn.paste{background:#22c55ecc;color:#fff}.action-btn.paste:hover{background:#22c55e}.action-btn.check{background:#8b5cf6cc;color:#fff}.action-btn.check:hover{background:#8b5cf6}.action-btn.generate{background:#fb923ccc;color:#fff}.action-btn.generate:hover{background:#fb923c}.check-result{padding:10px;border-radius:6px;font-size:.9rem;text-align:center;margin-top:4px}.check-result.solvable{background:#4ade8033;color:#4ade80;border:1px solid rgba(74,222,128,.4)}.check-result.solvable strong{font-size:1.1rem}.check-result.unsolvable{background:#ef444433;color:#ef4444;border:1px solid rgba(239,68,68,.4)}.action-btn.export{background:linear-gradient(135deg,#4ade80,#22d3ee);color:#1a1a2e}.action-btn.export:hover{transform:scale(1.02)}.action-btn:disabled{opacity:.6;cursor:not-allowed}.save-error{color:#ef4444;font-size:.85rem;margin-top:8px;padding:8px;background:#ef44441a;border-radius:4px}.editor-grid-area{flex:1;display:flex;align-items:center;justify-content:center}.editor-grid{display:grid;gap:4px;width:100%;max-width:350px;aspect-ratio:1;background:#ffffff1a;padding:8px;border-radius:12px;position:relative}.editor-snake-overlay{position:absolute;display:flex;align-items:center;justify-content:center;pointer-events:auto;z-index:10;cursor:pointer}.editor-snake-svg-vertical{width:68%;height:86%;pointer-events:none}.editor-snake-svg-horizontal{width:86%;height:68%;pointer-events:none}.editor-cell{background:#ffffff59;border-radius:6px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:all .15s ease;position:relative}.editor-cell:hover{background:#ffffff80;transform:scale(1.02)}.editor-cell.cell-frog{background:#bef264b3}.editor-cell.cell-frog-green{background:#4ade80cc}.editor-cell.cell-frog-brown{background:#b48250cc}.editor-cell.cell-frog-blue{background:#60a5facc}.editor-cell.cell-frog-selected{box-shadow:0 0 0 3px #fbbf24,0 0 12px #fbbf2499;transform:scale(1.05);z-index:5}.editor-cell.cell-log{background:#5c4033}.editor-cell.cell-lilypad{background:#5eead499}.cell-coords{font-size:.65rem;color:#fff6;position:absolute;top:2px;left:4px}.cell-piece{display:flex;align-items:center;justify-content:center;width:80%;height:80%}.editor-piece-svg{width:100%;height:100%}.level-schedule{width:280px;padding:16px;overflow-y:auto;max-height:calc(90vh - 70px)}.level-schedule h3{margin:0 0 16px;color:#fff;font-size:1rem;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.1)}.schedule-loading{color:#fff9;text-align:center;padding:20px}.schedule-list{display:flex;flex-direction:column;gap:8px}.schedule-day{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.05)}.schedule-date{width:100px;font-size:.85rem;color:#fffc;flex-shrink:0}.schedule-slots{display:flex;gap:6px;flex:1}.schedule-slot{width:36px;height:36px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;position:relative;font-weight:600;font-size:.85rem}.schedule-slot:hover{transform:scale(1.1)}.schedule-slot.selected{box-shadow:0 0 0 2px #fff}.schedule-slot.easy{background:#4ade8033;color:#4ade80}.schedule-slot.easy.filled{background:#4ade8099;color:#fff}.schedule-slot.medium{background:#fbbf2433;color:#fbbf24}.schedule-slot.medium.filled{background:#fbbf2499;color:#fff}.schedule-slot.hard{background:#ef444433;color:#ef4444}.schedule-slot.hard.filled{background:#ef444499;color:#fff}.schedule-slot.empty{border:2px dashed currentColor;opacity:.6}.schedule-slot.empty:hover{opacity:1}.slot-difficulty{font-size:.9rem}.slot-needed{position:absolute;font-size:1.2rem;opacity:.5}@media (max-width: 900px){.editor-layout{flex-direction:column}.editor-main{border-right:none;border-bottom:1px solid rgba(255,255,255,.1)}.level-schedule{width:100%;max-height:300px}.editor-content{flex-direction:column}.editor-sidebar{width:100%}.tool-buttons{justify-content:center}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:radial-gradient(ellipse at 30% 20%,rgba(34,60,90,.4) 0%,transparent 50%),radial-gradient(ellipse at 70% 80%,rgba(20,50,70,.3) 0%,transparent 50%),linear-gradient(145deg,#141e30,#1a2744 30%,#152238 70%,#0f1724);min-height:100vh;color:#fff;overscroll-behavior:none}#root{min-height:100vh}
