:root{--bg-body: #f5f5f5;--bg-app: #f0f2f5;--bg-panel: #ffffff;--bg-secondary: #f9f9f9;--bg-hover: #f0f2f5;--text-primary: #333333;--text-secondary: #666666;--text-muted: #999999;--border-color: #e0e0e0;--border-light: #eeeeee;--shadow-panel: 0 4px 12px rgba(0, 0, 0, .05);--primary-blue: #2196F3;--primary-blue-dark: #1976D2;--primary-blue-light: #E3F2FD;--success-green: #4CAF50;--success-green-dark: #45a049;--success-green-light: #e8f5e9;--danger-red: #f44336;--danger-red-dark: #d32f2f;--danger-red-light: #ffebee;--warning-yellow: #FFC107;--warning-yellow-dark: #FFA000;--warning-bg: #FFF8E1}[data-theme=dark]{--bg-body: #121212;--bg-app: #18181b;--bg-panel: #242526;--bg-secondary: #3a3b3c;--bg-hover: #3a3b3c;--text-primary: #e4e6eb;--text-secondary: #b0b3b8;--text-muted: #65676b;--border-color: #393a3b;--border-light: #2f3031;--shadow-panel: 0 4px 12px rgba(0, 0, 0, .2);--primary-blue: #4dabf5;--primary-blue-dark: #2196F3;--primary-blue-light: rgba(33, 150, 243, .2);--success-green: #66bb6a;--success-green-dark: #4CAF50;--success-green-light: rgba(76, 175, 80, .1);--danger-red: #ef5350;--danger-red-dark: #f44336;--danger-red-light: rgba(244, 67, 54, .1);--warning-yellow: #ffd54f;--warning-yellow-dark: #ffca28;--warning-bg: rgba(255, 193, 7, .1)}*{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-color:var(--bg-body);color:var(--text-primary);transition:background-color .3s,color .3s}#root{min-height:100vh}.app{min-height:100vh;padding:20px;background-color:var(--bg-app);box-sizing:border-box;transition:background-color .3s}.app-loading{display:flex;justify-content:center;align-items:center;height:100vh;font-family:system-ui,sans-serif;color:var(--text-primary)}.main-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;height:calc(100vh - 40px);max-width:1600px;margin:0 auto}.panel{background-color:var(--bg-panel);padding:20px;border-radius:12px;box-shadow:var(--shadow-panel);overflow-y:auto;display:flex;flex-direction:column;height:100%;transition:background-color .3s,box-shadow .3s}.panel-wrapper{height:100%;overflow:hidden}.panel h2{display:none}.theme-toggle{background:none;border:none;cursor:pointer;font-size:24px;padding:8px;border-radius:50%;transition:background-color .2s;display:flex;align-items:center;justify-content:center;color:var(--text-primary)}.theme-toggle:hover{background-color:var(--bg-hover)}.task-header{margin-bottom:20px}.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:16px;color:var(--text-secondary)}.breadcrumb-item{cursor:pointer;color:var(--primary-blue);transition:color .2s}.breadcrumb-item:hover{text-decoration:underline;color:var(--primary-blue-dark)}.breadcrumb-item.active{color:var(--text-primary);font-weight:500;cursor:default;text-decoration:none}.breadcrumb-separator{color:var(--border-color)}.tasks-container{flex:1;overflow-y:auto}.task-item{margin-bottom:8px}.task-row{display:flex;align-items:center;padding:8px 0;gap:10px}.task-content{display:flex;align-items:center;gap:8px;flex:1}.collapse-button{background:none;border:none;cursor:pointer;font-size:12px;color:var(--text-secondary);padding:4px 8px;min-width:24px;transition:color .2s}.collapse-button:hover{color:var(--text-primary)}.collapse-spacer{display:inline-block;min-width:24px}.task-checkbox{cursor:pointer;width:18px;height:18px}.task-text{font-size:16px;color:var(--text-primary);-webkit-user-select:none;user-select:none;transition:color .2s}.task-text:hover{color:var(--primary-blue);text-decoration:underline;text-decoration-color:#2196f34d}.task-text.done{text-decoration:line-through;color:var(--text-muted)}.task-text.done:hover{color:var(--text-muted);text-decoration:line-through}.task-children{margin-left:32px;border-left:2px solid var(--border-color);padding-left:16px}.add-task-button{background-color:var(--success-green);color:#fff;border:none;padding:6px 16px;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s;white-space:nowrap}.add-task-button:hover{background-color:var(--success-green-dark)}.add-task-input{padding:6px 12px;border:2px solid var(--success-green);border-radius:4px;font-size:14px;outline:none;min-width:200px;background-color:var(--bg-panel);color:var(--text-primary)}.add-task-input:focus{border-color:var(--success-green-dark)}.root-add-task{margin-top:20px;padding-top:20px;border-top:2px solid var(--border-color);display:flex;gap:12px;align-items:center}.undo-button{background-color:var(--danger-red);color:#fff;border:none;padding:6px 16px;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.undo-button:hover{background-color:var(--danger-red-dark)}.focus-header{margin-bottom:20px;text-align:center}.focus-header h2{display:block;font-size:24px;color:var(--text-primary);font-weight:700;margin:0}.top-tasks-section{margin-bottom:24px;padding:16px;background-color:var(--bg-secondary);border-radius:8px;border:1px solid var(--border-color)}.top-tasks-title{font-size:14px;font-weight:600;color:var(--text-secondary);margin:0 0 12px;text-transform:uppercase;letter-spacing:.5px}.top-tasks-list{display:flex;flex-direction:column;gap:8px}.top-task-item{display:flex;align-items:center;gap:10px}.top-task-item .task-checkbox{cursor:pointer;width:18px;height:18px;flex-shrink:0}.top-task-input{flex:1;padding:8px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;background-color:var(--bg-panel);color:var(--text-primary);transition:border-color .2s}.top-task-input:focus{outline:none;border-color:var(--primary-blue)}.top-task-input.completed{text-decoration:line-through;color:var(--text-muted)}.top-task-input::placeholder{color:var(--text-muted)}.top-task-text{flex:1;padding:8px 12px;font-size:14px;color:var(--text-primary);cursor:pointer;border-radius:6px;transition:background-color .2s}.top-task-text:hover{background-color:var(--bg-hover)}.top-task-text.completed{text-decoration:line-through;color:var(--text-muted)}.delete-task-btn{background:none;border:none;cursor:pointer;font-size:18px;color:var(--danger-red);padding:4px 8px;border-radius:4px;transition:background-color .2s;flex-shrink:0}.delete-task-btn:hover{background-color:var(--danger-red-light)}.focus-controls{display:flex;justify-content:center;margin-bottom:30px}.start-focus-btn{background-color:var(--primary-blue);color:#fff;border:none;padding:12px 24px;border-radius:24px;font-size:18px;font-weight:700;cursor:pointer;transition:transform .1s,background-color .2s;box-shadow:0 4px 6px #2196f34d}.start-focus-btn:hover{background-color:var(--primary-blue-dark);transform:translateY(-2px)}.start-focus-btn:active{transform:translateY(0)}.active-session-indicator{text-align:center;color:var(--primary-blue);font-weight:500;padding:15px;background-color:var(--primary-blue-light);border-radius:8px;width:100%}.sessions-list h3{font-size:18px;color:var(--text-secondary);margin-bottom:15px}.session-item{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid var(--border-light)}.session-item:last-child{border-bottom:none}.session-item.newly-added{animation:sessionEntrance .8s cubic-bezier(.68,-.55,.265,1.55)}@keyframes sessionEntrance{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.session-info{display:flex;flex-direction:column;flex:1;text-align:left}.session-time{font-size:14px;color:var(--text-secondary)}.session-duration{font-size:16px;font-weight:500;color:var(--text-primary)}.session-coins{font-weight:700;color:var(--warning-yellow);font-size:18px}.no-sessions{color:var(--text-muted);text-align:center;margin-top:20px;font-style:italic}.start-session-form{display:flex;flex-direction:column;gap:10px;width:100%;max-width:300px}.task-input{padding:12px;border:2px solid var(--border-color);border-radius:8px;font-size:16px;outline:none;transition:border-color .2s;background-color:var(--bg-panel);color:var(--text-primary)}.task-input:focus{border-color:var(--primary-blue)}.task-footer{display:flex;justify-content:space-between;align-items:center}.active-session-indicator h3{margin:10px 0;color:var(--primary-blue-dark)}.session-task{font-weight:500;color:var(--text-primary);margin-bottom:4px}.session-meta{font-size:13px;color:var(--text-secondary)}.play-button{background:none;border:none;cursor:pointer;font-size:14px;color:var(--primary-blue);padding:4px 8px;border-radius:50%;transition:background-color .2s,color .2s;margin-left:8px;display:flex;align-items:center;justify-content:center;width:24px;height:24px}.play-button:hover{background-color:var(--primary-blue-light);color:var(--primary-blue-dark)}.play-button:disabled{color:var(--text-muted);cursor:not-allowed;background-color:transparent}.game-content{display:flex;flex-direction:column;align-items:center;flex:1}.enemy-container{position:relative;width:100%}.coin-display{display:flex;align-items:center;gap:10px;background-color:var(--warning-bg);padding:10px 20px;border-radius:20px;margin-bottom:30px;border:2px solid var(--warning-yellow)}.coin-icon{font-size:24px}.coin-count{font-size:24px;font-weight:700;color:var(--warning-yellow-dark)}.game-placeholder{flex:1;display:flex;align-items:center;justify-content:center;background-color:var(--bg-secondary);width:100%;border-radius:8px;border:2px dashed var(--border-color);color:var(--text-muted)}.game-panel{padding:0;overflow:hidden;display:flex;flex-direction:column}.game-controls{padding:20px;text-align:center;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:20px}.game-controls h3{font-size:24px;color:var(--text-primary);margin:0}.attack-button{background-color:var(--danger-red);color:#fff;border:none;padding:12px 40px;border-radius:25px;font-size:18px;font-weight:700;cursor:pointer;transition:transform .1s,background-color .2s;box-shadow:0 4px 6px #ff47574d}.attack-button:hover{background-color:var(--danger-red-dark);transform:translateY(-2px)}.attack-button:active{transform:translateY(0)}.user-info{display:flex;align-items:flex-start;gap:20px;padding:15px 20px;margin-top:20px;width:100%}.user-details{display:flex;flex-direction:column;gap:15px;flex:1}.avatar-container{width:100px;height:100px;border-radius:50%;overflow:hidden;border:2px solid var(--bg-panel);box-shadow:0 2px 4px #0000001a;flex-shrink:0;position:relative;transition:transform .1s}.avatar-container.attacking{animation:attackAnimation 1s cubic-bezier(.4,0,.2,1)}@keyframes attackAnimation{0%{transform:translate(0) scale(1)}35%{transform:translate(var(--attack-offset, 200px),-400px) scale(.5)}to{transform:translate(0) scale(1)}}.enemy-shake{animation:shake .2s ease-in-out}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-10px) rotate(-2deg)}75%{transform:translate(10px) rotate(2deg)}}.impact-particles{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;z-index:100}.particle{position:absolute;width:12px;height:12px;background:var(--particle-color, radial-gradient(circle, #FFD700, #FF6B35));border-radius:50%;box-shadow:var(--particle-shadow, 0 0 10px #FFD700)}.particle-1{animation:particle1Explosion .5s ease-out forwards}.particle-2{animation:particle2Explosion .5s ease-out forwards}.particle-3{animation:particle3Explosion .5s ease-out forwards}.particle-4{animation:particle4Explosion .5s ease-out forwards}.particle-5{animation:particle5Explosion .5s ease-out forwards}.particle-6{animation:particle6Explosion .5s ease-out forwards}@keyframes particle1Explosion{0%{transform:translate(0) scale(1);opacity:1}to{transform:translate(40px) scale(0);opacity:0}}@keyframes particle2Explosion{0%{transform:translate(0) scale(1);opacity:1}to{transform:translate(20px,-35px) scale(0);opacity:0}}@keyframes particle3Explosion{0%{transform:translate(0) scale(1);opacity:1}to{transform:translate(-20px,-35px) scale(0);opacity:0}}@keyframes particle4Explosion{0%{transform:translate(0) scale(1);opacity:1}to{transform:translate(-40px) scale(0);opacity:0}}@keyframes particle5Explosion{0%{transform:translate(0) scale(1);opacity:1}to{transform:translate(-20px,35px) scale(0);opacity:0}}@keyframes particle6Explosion{0%{transform:translate(0) scale(1);opacity:1}to{transform:translate(20px,35px) scale(0);opacity:0}}.user-avatar{width:100%;height:100%;object-fit:cover}.username{font-weight:700;color:var(--text-primary);font-size:24px;line-height:1.2}.equipment-slots{display:flex;gap:10px;flex-wrap:wrap}.slot{width:60px;height:60px;background-color:var(--bg-app);border:2px solid var(--border-color);border-radius:12px;display:flex;align-items:center;font-size:10px;color:var(--text-muted);font-weight:600;text-transform:uppercase;box-shadow:inset 0 2px 4px #0000000d;cursor:pointer;transition:all .2s;padding:8px}.slot:hover{border-color:var(--primary-blue);background-color:var(--primary-blue-light);color:var(--primary-blue-dark)}.equipment-icon{width:100%;height:100%;object-fit:contain}.slot-empty{background-color:var(--bg-secondary);border-style:dashed;justify-content:center;padding:4px}.slot-label{font-size:9px;color:var(--text-muted);text-align:center;text-transform:uppercase;font-weight:600;line-height:1.1}.slot-empty:hover .slot-label{color:var(--primary-blue-dark)}.bottom-nav{display:none;position:fixed;bottom:0;left:0;right:0;background-color:var(--bg-panel);border-top:1px solid var(--border-color);padding:8px 0;justify-content:space-around;z-index:1000;box-shadow:0 -2px 10px #0000000d}.nav-item{display:flex;flex-direction:column;align-items:center;background:none;border:none;cursor:pointer;color:var(--text-secondary);padding:4px 12px;gap:4px;transition:color .2s}.nav-item.active{color:var(--primary-blue)}.nav-icon{font-size:24px}.nav-label{font-size:12px;font-weight:500}@media (max-width: 960px){.app{padding:10px 10px 80px}.main-grid{display:block;height:auto}.bottom-nav{display:flex}.panel-wrapper{display:none;height:100%;animation:fadeIn .3s ease-in-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.tasks-active .task-wrapper,.focus-active .focus-wrapper,.game-active .game-wrapper{display:block}.panel{min-height:calc(100vh - 100px);height:auto;background-color:transparent;padding:0;border-radius:0;box-shadow:none}}.active-session-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--bg-app);display:flex;justify-content:center;align-items:center;z-index:2000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.active-session-card{background:var(--bg-panel);padding:40px;border-radius:20px;box-shadow:0 10px 30px #0000001a;text-align:center;max-width:600px;width:90%;height:90vh;display:flex;flex-direction:column;justify-content:center;align-items:center;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.session-task-title{font-size:48px;color:var(--text-primary);margin-bottom:20px;font-weight:700;max-width:800px}.timer-display{font-size:48px;font-weight:600;color:var(--text-secondary);font-variant-numeric:tabular-nums;margin-bottom:40px;letter-spacing:-1px}.session-controls,.rating-controls{display:flex;flex-direction:column;align-items:center;gap:15px}.session-status{color:var(--text-secondary);font-size:16px}.cancel-session-btn{background-color:transparent;border:2px solid var(--danger-red);color:var(--danger-red);padding:10px 20px;border-radius:30px;font-size:16px;cursor:pointer;transition:all .2s}.cancel-session-btn:hover{background-color:var(--danger-red-light)}.rating-controls h3{color:var(--primary-blue);font-size:24px;margin-bottom:5px}.rating-buttons{display:flex;gap:20px;margin-top:10px}.rating-btn{font-size:32px;width:60px;height:60px;border-radius:50%;border:2px solid var(--border-light);background:var(--bg-panel);cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.rating-btn:hover{transform:scale(1.1);border-color:var(--primary-blue);background-color:var(--primary-blue-light)}.rating-btn.great:hover{border-color:var(--success-green);background-color:var(--success-green-light)}.rating-btn.ok:hover{border-color:var(--warning-yellow);background-color:var(--warning-bg)}.rating-btn.bad:hover{border-color:var(--danger-red);background-color:var(--danger-red-light)}.session-subtasks{flex:1;width:100%;min-height:0;margin-bottom:30px;text-align:left;overflow-y:auto;background:var(--bg-secondary);padding:15px;border-radius:12px;border:1px solid var(--border-light)}.subtasks-list{margin-bottom:15px}.add-subtask-wrapper{display:flex;justify-content:flex-start}.completed-tasks-group{margin-top:10px;padding-top:10px;border-top:1px dashed var(--border-color)}.completed-tasks-header{display:flex;align-items:center;gap:10px}.completed-tasks-toggle{background:none;border:none;cursor:pointer;color:var(--text-secondary);font-size:14px;display:flex;align-items:center;gap:5px;padding:5px 0;text-align:left;flex:1}.completed-tasks-toggle:hover{color:var(--text-primary)}.completed-tasks-list{margin-left:10px;opacity:.8}.delete-all-button{background:none;border:none;cursor:pointer;font-size:18px;padding:4px 8px;opacity:.7;transition:opacity .2s,filter .2s;filter:grayscale(100%) brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(7471%) hue-rotate(356deg) brightness(91%) contrast(115%)}.delete-all-button:hover{opacity:1;filter:grayscale(100%) brightness(0) saturate(100%) invert(17%) sepia(98%) saturate(7471%) hue-rotate(356deg) brightness(81%) contrast(115%)}.delete-button{background:none;border:none;cursor:pointer;font-size:16px;padding:4px 8px;margin-left:auto;opacity:.6;transition:opacity .2s}.delete-button:hover{opacity:1}.laser-beam{animation:laserWobble .1s infinite}@keyframes laserWobble{0%{transform:translate(-50%) rotate(var(--laser-angle));opacity:1;box-shadow:0 0 15px red,0 0 30px #ff000080}25%{transform:translate(-50%) rotate(calc(var(--laser-angle) - 1deg));opacity:.8;box-shadow:0 0 20px red,0 0 40px #ff0000b3}75%{transform:translate(-50%) rotate(calc(var(--laser-angle) + 2deg));opacity:.9;box-shadow:0 0 10px red,0 0 20px #ff00004d}to{transform:translate(-50%) rotate(var(--laser-angle));opacity:1;box-shadow:0 0 15px red,0 0 30px #ff000080}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-color:var(--border-color);border-radius:4px}::-webkit-scrollbar-thumb:hover{background-color:var(--text-secondary)}.date-nav-btn{background:none;border:none;cursor:pointer;font-size:24px;color:var(--text-primary);padding:0 10px;transition:color .2s;display:flex;align-items:center;justify-content:center;border-radius:50%;width:40px;height:40px}.date-nav-btn:hover{background-color:var(--bg-hover);color:var(--primary-blue)}.jump-to-today-btn{background-color:var(--primary-blue);color:#fff;border:none;padding:10px 20px;border-radius:20px;font-size:16px;font-weight:500;cursor:pointer;transition:background-color .2s,transform .1s;box-shadow:0 2px 4px #0000001a}.jump-to-today-btn:hover{background-color:var(--primary-blue-dark);transform:translateY(-1px)}.jump-to-today-btn:active{transform:translateY(0)}
