@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Press+Start+2P&display=swap";:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;min-height:100vh;transition:background .3s ease,color .3s ease}body{background:linear-gradient(135deg,#e0f4ff,#f0f9ff,#faf5ff);color:#334155}body.dark-mode{background:linear-gradient(135deg,#0f172a,#1e293b,#0f172a);color:#e2e8f0}.app{width:100%;padding:40px 60px;min-height:100vh}.level-up-notification{position:fixed;top:20px;left:50%;transform:translate(-50%);background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#1e293b;padding:16px 32px;border-radius:12px;font-weight:700;font-size:1.1rem;box-shadow:0 8px 32px #fbbf2466;z-index:1000;animation:slideDown .5s ease,pulse 1s ease infinite}@keyframes slideDown{0%{transform:translate(-50%) translateY(-100px);opacity:0}to{transform:translate(-50%) translateY(0);opacity:1}}@keyframes pulse{0%,to{transform:translate(-50%) scale(1)}50%{transform:translate(-50%) scale(1.05)}}.app-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:20px;border-bottom:2px solid rgba(147,197,253,.3)}.app-header h1{font-family:"Press Start 2P",cursive;font-size:1.25rem;color:#fbbf24;text-shadow:2px 2px 0 #92400e}.dark .app-header h1{text-shadow:2px 2px 0 #78350f,0 0 20px rgba(251,191,36,.5)}.header-actions{display:flex;gap:12px}.theme-toggle,.settings-btn{background:#93c5fd33;border:1px solid rgba(147,197,253,.3);padding:10px 14px;border-radius:12px;cursor:pointer;font-size:1.25rem;transition:all .3s ease}.dark .theme-toggle,.dark .settings-btn{background:#ffffff1a;border-color:#fff3}.theme-toggle:hover,.settings-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.player-stats{background:linear-gradient(135deg,#fbbf241a,#f59e0b1a);border:2px solid rgba(251,191,36,.3);border-radius:16px;padding:20px;margin-bottom:24px}.dark .player-stats{background:linear-gradient(135deg,#fbbf2426,#f59e0b1a);border-color:#fbbf2466}.player-header{display:flex;align-items:center;gap:16px;margin-bottom:16px}.player-avatar{font-size:2.5rem;background:linear-gradient(135deg,#fbbf24,#f59e0b);width:60px;height:60px;display:flex;align-items:center;justify-content:center;border-radius:12px;box-shadow:0 4px 12px #fbbf244d}.player-info{flex:1;display:flex;flex-direction:column}.player-title{font-family:"Press Start 2P",cursive;font-size:.7rem;color:#fbbf24;margin-bottom:4px}.player-level{font-weight:600;color:#64748b}.dark .player-level{color:#94a3b8}.player-streak{display:flex;align-items:center;gap:6px;background:#ef44441a;padding:8px 14px;border-radius:20px;border:1px solid rgba(239,68,68,.3)}.streak-icon{font-size:1.2rem}.streak-count{font-weight:700;color:#ef4444}.stat-bars{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.stat-bar{display:flex;flex-direction:column;gap:6px}.stat-label{display:flex;justify-content:space-between;font-size:.85rem;font-weight:500}.bar-container{height:12px;background:#0000001a;border-radius:6px;overflow:hidden}.dark .bar-container{background:#ffffff1a}.bar-fill{height:100%;border-radius:6px;transition:width .5s ease}.xp-bar .bar-fill{background:linear-gradient(90deg,#a855f7,#6366f1);box-shadow:0 0 10px #a855f780}.hp-bar .bar-fill{box-shadow:0 0 10px currentColor}.player-footer{display:flex;justify-content:space-around;padding-top:12px;border-top:1px solid rgba(147,197,253,.2)}.stat-item{display:flex;align-items:center;gap:6px;font-size:.9rem}.stat-icon{font-size:1.1rem}.tab-nav{display:flex;gap:8px;margin-bottom:24px;background:#ffffff80;padding:6px;border-radius:16px;border:1px solid rgba(147,197,253,.3)}.dark .tab-nav{background:#ffffff0d;border-color:#ffffff1a}.tab-btn{flex:1;padding:14px 20px;border:none;background:transparent;color:#94a3b8;font-size:.95rem;font-weight:500;border-radius:12px;cursor:pointer;transition:all .3s ease}.tab-btn:hover{color:#64748b;background:#93c5fd26}.dark .tab-btn:hover{color:#e2e8f0;background:#ffffff1a}.tab-btn.active{background:linear-gradient(135deg,#93c5fd,#a5b4fc);color:#fff;box-shadow:0 4px 15px #93c5fd66}.main-grid{display:grid;grid-template-columns:450px 1fr;gap:40px;align-items:start}.left-panel{position:sticky;top:40px;display:flex;flex-direction:column;gap:20px}.right-panel{min-height:400px}.expense-form,.expense-list,.monthly-summary,.recurring-expenses,.charts-container,.settings-panel{background:#ffffffb3;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);padding:24px;border-radius:20px;border:1px solid rgba(147,197,253,.3);box-shadow:0 8px 32px #93c5fd1a}.dark .expense-form,.dark .expense-list,.dark .monthly-summary,.dark .recurring-expenses,.dark .charts-container,.dark .settings-panel{background:#1e293bcc;border-color:#ffffff1a;box-shadow:0 8px 32px #0000004d}.expense-form h2,.expense-list h2,.monthly-summary h2{margin-bottom:20px;font-size:1.1rem;font-weight:600}.form-group{margin-bottom:16px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#64748b;font-size:.875rem}.dark .form-group label{color:#94a3b8}.form-group input,.form-group select{width:100%;padding:12px 14px;background:#fffc;border:1px solid rgba(147,197,253,.4);border-radius:10px;font-size:1rem;color:#334155;transition:all .3s ease;font-family:inherit}.dark .form-group input,.dark .form-group select{background:#ffffff1a;border-color:#fff3;color:#e2e8f0}.form-group input:focus,.form-group select:focus{outline:none;border-color:#93c5fd;box-shadow:0 0 0 3px #93c5fd40}.form-group select{cursor:pointer}.auto-detected{color:#22c55e;font-weight:500;font-size:.8rem;margin-left:8px}.category-preview{margin-top:8px;padding:6px 12px;border-radius:16px;color:#fff;font-size:.8rem;display:inline-block;font-weight:500}button[type=submit]{width:100%;padding:14px;background:linear-gradient(135deg,#93c5fd,#a5b4fc);color:#fff;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #93c5fd66;font-family:inherit}button[type=submit]:hover{transform:translateY(-2px);box-shadow:0 6px 20px #93c5fd80}.expense-list ul{list-style:none}.expense-item{display:flex;align-items:center;padding:14px;margin-bottom:10px;background:#ffffff80;border-radius:14px;border:1px solid rgba(147,197,253,.2);transition:all .3s ease}.dark .expense-item{background:#ffffff0d;border-color:#ffffff1a}.expense-item:hover{transform:translate(4px);border-color:#93c5fd66}.expense-main{flex:1;display:flex;justify-content:space-between;align-items:center;gap:12px}.expense-info{display:flex;flex-direction:column;gap:2px}.expense-description{font-weight:500;font-size:.95rem}.expense-date{font-size:.8rem;color:#94a3b8}.expense-right{display:flex;align-items:center;gap:12px}.expense-amount{font-weight:700;color:#ef4444;font-size:1.05rem}.category-badge{padding:5px 10px;border-radius:16px;color:#fff;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.delete-btn{background:none;border:none;color:#cbd5e1;font-size:1.2rem;cursor:pointer;padding:6px;border-radius:8px;transition:all .2s ease}.delete-btn:hover{color:#ef4444;background:#ef44441a}.expense-list.empty,.monthly-summary.empty{text-align:center;color:#94a3b8;padding:40px 20px}.month-card{background:#ffffff80;border-radius:14px;padding:18px;margin-bottom:14px;border:1px solid rgba(147,197,253,.2)}.dark .month-card{background:#ffffff0d;border-color:#ffffff1a}.month-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid rgba(147,197,253,.3)}.month-header h3{font-size:1rem;font-weight:600}.month-total{font-size:1.25rem;font-weight:700;color:#ef4444}.category-breakdown{display:flex;flex-direction:column;gap:12px}.category-row{display:flex;justify-content:space-between;align-items:center}.category-info{display:flex;align-items:center;gap:10px;min-width:130px}.category-dot{width:10px;height:10px;border-radius:50%}.category-name{font-size:.85rem;color:#64748b;font-weight:500}.dark .category-name{color:#94a3b8}.category-stats{display:flex;align-items:center;gap:12px;flex:1}.progress-bar{flex:1;height:8px;background:#93c5fd33;border-radius:4px;overflow:hidden}.dark .progress-bar{background:#ffffff1a}.progress-fill{height:100%;border-radius:4px;transition:width .5s ease}.category-amount{font-weight:600;min-width:80px;text-align:right;font-size:.85rem}.category-percent{color:#94a3b8;font-size:.8rem;min-width:40px;text-align:right}.recurring-expenses{padding:20px}.recurring-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.recurring-header h3{font-size:1rem;font-weight:600}.recurring-subtitle{font-size:.8rem;color:#94a3b8;margin-top:4px}.add-recurring-btn{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#1e293b;border:none;padding:8px 14px;border-radius:10px;font-weight:600;cursor:pointer;transition:all .3s ease}.add-recurring-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #fbbf2466}.recurring-form{background:#fbbf241a;padding:16px;border-radius:12px;margin-bottom:16px;border:1px solid rgba(251,191,36,.3)}.form-row{display:flex;gap:10px;margin-bottom:10px}.form-row input,.form-row select{flex:1;padding:10px 12px;background:#fffc;border:1px solid rgba(147,197,253,.3);border-radius:8px;font-size:.9rem;color:#334155}.dark .form-row input,.dark .form-row select{background:#ffffff1a;color:#e2e8f0}.save-recurring-btn{width:100%;padding:10px;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#1e293b;border:none;border-radius:8px;font-weight:600;cursor:pointer}.recurring-list{display:flex;flex-direction:column;gap:10px}.empty-recurring{text-align:center;color:#94a3b8;font-size:.9rem;padding:20px}.recurring-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#ffffff80;border-radius:12px;border:1px solid rgba(251,191,36,.2)}.dark .recurring-item{background:#ffffff0d}.recurring-info{display:flex;align-items:center;gap:12px}.recurring-icon{font-size:1.2rem}.recurring-name{font-weight:500;display:block}.recurring-freq{font-size:.75rem;color:#94a3b8}.recurring-actions{display:flex;align-items:center;gap:10px}.recurring-amount{font-weight:700;color:#fbbf24}.apply-btn{background:linear-gradient(135deg,#22c55e,#16a34a);border:none;padding:6px 10px;border-radius:8px;cursor:pointer;font-size:1rem;transition:all .3s ease}.apply-btn:hover{transform:scale(1.1)}.delete-recurring-btn{background:none;border:none;color:#94a3b8;cursor:pointer;font-size:1rem;padding:4px 8px;border-radius:6px}.delete-recurring-btn:hover{color:#ef4444;background:#ef44441a}.charts-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}.charts-container.empty{display:flex;justify-content:center;align-items:center;min-height:300px;color:#94a3b8}.chart-card{background:#ffffff80;padding:20px;border-radius:16px;border:1px solid rgba(147,197,253,.2)}.dark .chart-card{background:#ffffff0d;border-color:#ffffff1a}.chart-card h3{font-size:.95rem;font-weight:600;margin-bottom:16px;text-align:center}.chart-wrapper{position:relative}.pie-chart{height:280px}.line-chart{height:250px}.settings-panel{margin-bottom:24px}.settings-panel h3{margin-bottom:8px;font-weight:600}.settings-desc{font-size:.875rem;color:#94a3b8;margin-bottom:16px}@media(max-width:900px){.main-grid{grid-template-columns:1fr}.left-panel{position:static}.app{padding:20px}.charts-container{grid-template-columns:1fr}}@media(max-width:500px){.app-header h1{font-size:.9rem}.player-header{flex-wrap:wrap}.expense-main{flex-direction:column;align-items:flex-start;gap:8px}.expense-right{width:100%;justify-content:space-between}.category-row{flex-direction:column;align-items:flex-start;gap:6px}.category-stats{width:100%}}
