@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";*{box-sizing:border-box;margin:0;padding:0}:root{--color-bg-primary: #0a0a0a;--color-bg-secondary: #111111;--color-bg-tertiary: #1a1a1a;--color-bg-dark: #000000;--color-bg-card: #151515;--color-text-primary: #ffffff;--color-text-secondary: #b3b3b3;--color-text-muted: #808080;--color-text-light: #666666;--color-text-inverse: #0a0a0a;--color-accent: #FF7A00;--color-accent-hover: #FF9933;--color-accent-light: rgba(255, 122, 0, .15);--color-success: #22C55E;--color-success-light: rgba(34, 197, 94, .15);--color-warning: #F59E0B;--color-error: #EF4444;--color-border: #2a2a2a;--color-border-light: #222222;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);--shadow-md: 0 4px 12px rgba(0, 0, 0, .4);--shadow-lg: 0 12px 40px rgba(0, 0, 0, .5);--shadow-xl: 0 24px 60px rgba(0, 0, 0, .6);--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono: "JetBrains Mono", "Fira Code", monospace;--radius-sm: 6px;--radius-md: 10px;--radius-lg: 16px;--radius-xl: 24px;--transition-fast: .15s ease;--transition-normal: .25s ease;--transition-slow: .4s ease}html{font-size:16px;scroll-behavior:smooth}html,body,#root{width:100%;height:100%}body{font-family:var(--font-sans);font-weight:400;line-height:1.6;color:var(--color-text-primary);background-color:var(--color-bg-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.3;color:var(--color-text-primary)}h1{font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.5rem}h4{font-size:1.25rem}p{color:var(--color-text-secondary)}a{color:var(--color-accent);text-decoration:none;transition:color var(--transition-fast)}a:hover{color:var(--color-accent-hover)}button{font-family:inherit;font-weight:500;cursor:pointer;border:none;outline:none;transition:all var(--transition-fast)}button:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}input,textarea,select{font-family:inherit;font-size:1rem;border:1px solid var(--color-border);background:var(--color-bg-card);color:var(--color-text-primary);transition:all var(--transition-fast)}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--color-accent);box-shadow:0 0 0 3px var(--color-accent-light)}input::placeholder,textarea::placeholder{color:var(--color-text-light)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--color-bg-secondary)}::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--color-text-light)}::selection{background:var(--color-accent-light);color:var(--color-accent)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.animate-fade-in{animation:fadeIn var(--transition-normal) ease-out}.animate-slide-up{animation:slideUp var(--transition-slow) ease-out}.language-switcher{display:flex;gap:4px;background:var(--color-bg-secondary);padding:4px;border-radius:8px;border:1px solid var(--color-border)}.lang-btn{padding:6px 12px;border:none;background:transparent;color:var(--color-text-muted);font-size:.85rem;font-weight:500;cursor:pointer;border-radius:6px;transition:all .2s ease}.lang-btn:hover{background:var(--color-bg-tertiary);color:var(--color-text-primary)}.lang-btn.active{background:var(--color-accent);color:#fff}.language-switcher-container{position:fixed;top:16px;right:16px;z-index:1000}.home-page{min-height:100vh;display:flex;flex-direction:column;background:#0a0a0a;color:#fff}.home-header{display:flex;justify-content:space-between;align-items:center;padding:16px 40px;background:#0a0a0af2;border-bottom:1px solid #1a1a1a;position:sticky;top:0;z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.home-header .logo{display:flex;align-items:center;gap:8px;text-decoration:none}.home-header .logo-text{font-size:1.5rem;font-weight:700;color:#ff7a00;letter-spacing:-.02em}.home-header .logo-badge{font-size:.7rem;color:#666;padding:2px 6px;background:#1a1a1a;border-radius:4px}.home-header .header-nav{display:flex;gap:32px}.home-header .nav-link{color:gray;text-decoration:none;font-size:.95rem;font-weight:500;transition:color .2s}.home-header .nav-link:hover{color:#fff}.home-header .header-right{display:flex;align-items:center;gap:16px}.home-header .btn-login{padding:10px 24px;background:#ff7a00;color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:600;font-size:.95rem;transition:all .2s}.home-header .btn-login:hover{background:#f93;transform:translateY(-1px)}.home-content{flex:1;max-width:1200px;margin:0 auto;padding:0 40px;width:100%}.hero-section{text-align:center;padding:80px 0 40px}.hero-title{margin-bottom:24px}.hero-title-line1{display:block;font-size:1.2rem;color:#ff7a00;font-weight:500;margin-bottom:12px}.hero-title-line2{display:block;font-size:3.5rem;font-weight:700;color:#fff;line-height:1.2}.hero-subtitle{font-size:1.1rem;color:gray;max-width:700px;margin:0 auto 32px;line-height:1.6}.hero-actions{display:flex;gap:16px;justify-content:center}.btn-primary{padding:14px 32px;background:linear-gradient(135deg,#ff7a00,#f93);color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .2s;display:flex;align-items:center;gap:8px}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 30px #ff7a004d}.feature-badges{display:flex;justify-content:center;gap:40px;padding:40px 0;border-bottom:1px solid #1a1a1a}.badge{display:flex;align-items:center;gap:8px;color:#666;font-size:.95rem}.badge-icon{color:#ff7a00;font-weight:700}.journey-section{text-align:center;padding:80px 0}.section-title{font-size:2rem;font-weight:700;color:#fff;margin-bottom:12px}.section-subtitle{color:#666;margin-bottom:40px;font-size:1rem}.providers-grid{display:flex;justify-content:center;gap:24px;margin-bottom:24px}.provider-card{display:flex;align-items:center;gap:12px;padding:16px 24px;background:#151515;border:1px solid #2a2a2a;border-radius:12px;transition:all .2s}.provider-card:hover{border-color:#ff7a00;transform:translateY(-2px)}.provider-icon{width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.1rem}.provider-icon.claude{background:linear-gradient(135deg,#d97706,#f59e0b);color:#fff}.provider-icon.codex{background:linear-gradient(135deg,#059669,#10b981);color:#fff}.provider-icon.gemini{background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff}.provider-name{font-weight:600;color:#fff}.journey-hint{color:#666;font-size:.9rem}.ide-section{text-align:center;padding:60px 0;background:#0f0f0f;border-radius:24px;margin:40px 0}.ide-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;background:#1a1a1a;border:1px solid #2a2a2a;border-radius:8px;margin-bottom:24px}.ide-icon{background:#007acc;color:#fff;padding:4px 6px;border-radius:4px;font-size:.75rem;font-weight:700}.ide-description{color:gray;max-width:700px;margin:0 auto;line-height:1.7;font-size:1rem}.pricing-section{padding:80px 0}.pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:40px}.pricing-card{background:#151515;border:1px solid #2a2a2a;border-radius:16px;padding:32px 24px;position:relative;transition:all .3s}.pricing-card:hover{border-color:#ff7a00;transform:translateY(-4px)}.pricing-card.highlighted{border-color:#ff7a00;background:linear-gradient(180deg,#ff7a001a,#151515)}.plan-badge-hot{position:absolute;top:-12px;left:50%;transform:translate(-50%);background:#ff7a00;color:#fff;padding:4px 16px;border-radius:20px;font-size:.75rem;font-weight:600}.plan-header{margin-bottom:24px}.plan-name{font-size:1.25rem;font-weight:700;color:#fff;margin:0 0 8px}.plan-price{font-size:1.5rem;font-weight:700;color:#ff7a00}.plan-price small{font-size:.875rem;color:#666;font-weight:400}.plan-features li{padding:8px 0;color:#b3b3b3;font-size:.9rem;border-bottom:1px solid #1a1a1a}.plan-features li:last-child{border-bottom:none}.btn-plan{width:100%;padding:12px;background:#1a1a1a;color:#fff;border:1px solid #2a2a2a;border-radius:8px;cursor:pointer;font-weight:600;transition:all .2s}.btn-plan:hover{background:#2a2a2a;border-color:#ff7a00}.btn-plan.primary{background:#ff7a00;border-color:#ff7a00}.btn-plan.primary:hover{background:#f93}.home-footer{border-top:1px solid #1a1a1a;padding:40px;margin-top:auto}.footer-content{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.footer-brand .logo-text{font-size:1.25rem;font-weight:700;color:#ff7a00}.footer-nav{display:flex;gap:32px}.footer-nav a{color:#666;text-decoration:none;font-size:.9rem;transition:color .2s}.footer-nav a:hover{color:#fff}.footer-copyright{color:#444;font-size:.85rem}@media(max-width:1024px){.pricing-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.home-header{flex-wrap:wrap;gap:16px;padding:16px 20px}.home-header .header-nav{order:3;width:100%;justify-content:center;gap:16px}.home-content{padding:0 20px}.hero-title-line2{font-size:2rem}.feature-badges{flex-direction:column;gap:16px;align-items:center}.providers-grid{flex-direction:column;align-items:center}.pricing-grid{grid-template-columns:1fr}.footer-content{flex-direction:column;gap:24px;text-align:center}.footer-nav{flex-wrap:wrap;justify-content:center}}.layout{min-height:100vh;background:var(--color-bg-primary)}.layout-header{display:flex;align-items:center;justify-content:space-between;padding:12px 32px;background:#0a0a0af2;border-bottom:1px solid var(--color-border);position:sticky;top:0;z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header-left .logo{display:flex;align-items:center;gap:10px;text-decoration:none}.header-left .logo-icon{width:32px;height:32px;background:var(--color-accent);border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.8rem}.header-left .logo-text{font-size:1.1rem;font-weight:700;color:var(--color-text-primary);letter-spacing:-.02em}.header-nav{display:flex;gap:4px}.nav-item{padding:8px 14px;color:var(--color-text-muted);text-decoration:none;border-radius:6px;font-weight:500;font-size:.9rem;transition:all .2s}.nav-item:hover{background:var(--color-bg-tertiary);color:var(--color-text-primary)}.nav-item.active{background:var(--color-accent);color:#fff}.nav-item.admin-link{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.nav-item.admin-link:hover{background:linear-gradient(135deg,#5a67d8,#6b46c1);color:#fff}.header-right{display:flex;align-items:center;gap:16px}.header-right .user-email{color:var(--color-text-secondary);font-size:.85rem}.header-right .logout-btn{padding:8px 16px;background:transparent;border:1px solid var(--color-border);border-radius:6px;color:var(--color-text-muted);font-size:.85rem;cursor:pointer;transition:all .2s}.header-right .logout-btn:hover{border-color:var(--color-accent);color:var(--color-accent)}.layout-content{max-width:1200px;margin:0 auto;padding:32px}@media(max-width:768px){.layout-header{flex-wrap:wrap;gap:16px;padding:12px 16px}.header-nav{order:3;width:100%;justify-content:center;flex-wrap:wrap;gap:4px}.nav-item{padding:6px 12px;font-size:.85rem}.layout-content{padding:16px}}.dashboard-page{min-height:100vh;background:var(--color-bg-primary)}.announcements-section{margin-bottom:24px}.announcement-banner{padding:12px 20px;border-radius:8px;margin-bottom:8px;font-size:.9rem}.announcement-banner.info{background:#6366f126;border:1px solid rgba(99,102,241,.3);color:#a5b4fc}.announcement-banner.warning{background:#f59e0b26;border:1px solid rgba(245,158,11,.3);color:#fbbf24}.announcement-banner.success{background:#10b98126;border:1px solid rgba(16,185,129,.3);color:#34d399}.announcement-banner.error{background:#ef444426;border:1px solid rgba(239,68,68,.3);color:#f87171}.balance-section{display:grid;grid-template-columns:2fr 1fr;gap:24px;margin-bottom:40px}.balance-card,.api-keys-card{background:var(--color-bg-card);border-radius:16px;padding:24px;border:1px solid var(--color-border)}.balance-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.balance-header h2{font-size:1.1rem;font-weight:600;color:var(--color-text-primary);margin:0}.balance-header-right{display:flex;align-items:center;gap:12px}.plan-badge{padding:6px 12px;background:var(--color-accent-light);color:var(--color-accent);border-radius:20px;font-size:.8rem;font-weight:600;text-transform:uppercase}.reset-btn{padding:6px 12px;background:#ef444426;color:#f87171;border:1px solid rgba(239,68,68,.3);border-radius:6px;font-size:.8rem;cursor:pointer;transition:all .2s}.reset-btn:hover:not(:disabled){background:#ef444440}.reset-btn:disabled{opacity:.5;cursor:not-allowed}.balance-display{text-align:center;margin-bottom:24px}.points-row{display:flex;align-items:center;justify-content:center;gap:12px}.points-large{font-size:3rem;font-weight:700;color:var(--color-accent);line-height:1}.explanation-btn{width:24px;height:24px;border-radius:50%;background:var(--color-bg-tertiary);border:1px solid var(--color-border);color:var(--color-text-muted);font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.explanation-btn:hover{background:var(--color-accent-light);border-color:var(--color-accent);color:var(--color-accent)}.points-label{color:var(--color-text-muted);font-size:.9rem;margin-top:8px}.balance-bar{height:8px;background:var(--color-bg-tertiary);border-radius:4px;overflow:hidden;margin-bottom:24px}.balance-bar-fill{height:100%;background:linear-gradient(90deg,var(--color-accent) 0%,var(--color-accent-hover) 100%);border-radius:4px;transition:width .3s ease}.balance-details{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding-top:16px;border-top:1px solid var(--color-border)}.detail-item{text-align:center}.detail-label{display:block;font-size:.8rem;color:var(--color-text-muted);margin-bottom:4px}.detail-value{font-size:1rem;font-weight:600;color:var(--color-text-primary)}.api-keys-card{display:flex;flex-direction:column;justify-content:center;text-align:center}.api-keys-card h3{font-size:1.1rem;font-weight:600;color:var(--color-text-primary);margin:0 0 8px}.api-keys-card p{color:var(--color-text-muted);font-size:.9rem;margin:0 0 16px}.btn-primary{display:inline-block;padding:12px 24px;background:var(--color-accent);color:#fff;border-radius:8px;font-weight:500;text-decoration:none;transition:all .2s}.btn-primary:hover{background:var(--color-accent-hover);color:#fff;transform:translateY(-1px)}.plans-section{margin-bottom:40px}.plans-section h2{font-size:1.5rem;font-weight:700;color:var(--color-text-primary);margin:0 0 8px}.section-subtitle{color:var(--color-text-muted);margin:0 0 24px}.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}.plan-card{background:var(--color-bg-card);border-radius:16px;padding:24px;border:2px solid var(--color-border);position:relative;transition:all .2s}.plan-card:hover{border-color:var(--color-accent);box-shadow:0 4px 20px #ff7a0026}.plan-card.current{border-color:var(--color-accent);background:linear-gradient(135deg,var(--color-bg-card) 0%,var(--color-accent-light) 100%)}.current-badge{position:absolute;top:-12px;left:50%;transform:translate(-50%);padding:4px 12px;background:var(--color-accent);color:#fff;border-radius:12px;font-size:.75rem;font-weight:600}.plan-name{font-size:1.25rem;font-weight:700;color:var(--color-text-primary);margin:0 0 16px}.plan-quota{margin-bottom:24px}.quota-value{font-size:2.5rem;font-weight:700;color:var(--color-accent)}.quota-label{font-size:.9rem;color:var(--color-text-muted);margin-left:8px}.plan-features{list-style:none;padding:0;margin:0 0 24px}.plan-features li{display:flex;align-items:center;gap:8px;padding:8px 0;color:var(--color-text-secondary);font-size:.9rem}.plan-features .check{color:var(--color-success);font-weight:700}.plan-btn{width:100%;padding:12px;background:var(--color-accent);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.plan-btn:hover:not(:disabled){background:var(--color-accent-hover)}.plan-btn.current,.plan-btn:disabled{background:var(--color-bg-tertiary);color:var(--color-text-muted);cursor:default}.referral-section{margin-bottom:40px}.referral-card{background:linear-gradient(135deg,var(--color-bg-card) 0%,var(--color-accent-light) 100%);border-radius:16px;padding:32px;border:1px solid var(--color-accent)}.referral-content{display:flex;align-items:flex-start;gap:20px;margin-bottom:24px}.referral-icon{font-size:3rem}.referral-info h2{font-size:1.5rem;font-weight:700;color:var(--color-text-primary);margin:0 0 8px}.referral-info p{color:var(--color-text-secondary);margin:0;line-height:1.6}.referral-info strong{color:var(--color-accent)}.referral-code-section{margin-bottom:24px}.referral-code-section label{display:block;font-size:.85rem;font-weight:600;color:var(--color-text-muted);margin-bottom:8px}.referral-code-box{display:flex;gap:12px}.referral-code-box code{flex:1;padding:12px 16px;background:var(--color-bg-tertiary);border:1px solid var(--color-border);border-radius:8px;font-family:monospace;font-size:1rem;color:var(--color-text-primary)}.copy-btn{padding:12px 24px;background:var(--color-accent);color:#fff;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.copy-btn:hover{background:var(--color-accent-hover)}.referral-stats{display:flex;gap:32px}.referral-stats .stat{text-align:center}.referral-stats .stat-value{display:block;font-size:1.5rem;font-weight:700;color:var(--color-text-primary)}.referral-stats .stat-label{font-size:.85rem;color:var(--color-text-muted)}@media(max-width:768px){.balance-section{grid-template-columns:1fr}.balance-details{grid-template-columns:1fr;gap:12px}.referral-content{flex-direction:column;text-align:center}.referral-code-box{flex-direction:column}.referral-stats{justify-content:center}}.modal-overlay{position:fixed;inset:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid var(--color-border)}.modal-body{padding:1.5rem;overflow-y:auto;max-height:calc(80vh - 80px)}.explanation-stats{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem}.exp-stat{background:var(--color-bg-tertiary);border-radius:8px;padding:1rem;text-align:center}.exp-label{display:block;font-size:.8rem;color:var(--color-text-muted);margin-bottom:.5rem}.exp-value{font-size:1.5rem;font-weight:600;color:var(--color-text-primary)}.explanation-content{color:var(--color-text-secondary);line-height:1.6;font-size:.9rem}.login-page{min-height:100vh;display:flex;background:linear-gradient(135deg,var(--color-bg-primary) 0%,var(--color-bg-secondary) 100%);position:relative;overflow:hidden}.login-page:before{content:"";position:absolute;top:-50%;right:-20%;width:80%;height:150%;background:radial-gradient(ellipse,var(--color-accent-light) 0%,transparent 70%);opacity:.5;pointer-events:none}.login-page:after{content:"";position:absolute;bottom:-30%;left:-10%;width:50%;height:80%;background:radial-gradient(ellipse,var(--color-bg-tertiary) 0%,transparent 70%);opacity:.6;pointer-events:none}.login-branding{flex:1;display:flex;flex-direction:column;justify-content:center;padding:60px;position:relative;z-index:1}.login-branding-content{max-width:500px}.login-logo{display:flex;align-items:center;gap:12px;margin-bottom:40px}.login-logo-icon{width:48px;height:48px;background:var(--color-accent);border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1.5rem}.login-logo-text{font-size:1.75rem;font-weight:700;color:var(--color-text-primary)}.login-branding h1{font-size:3rem;line-height:1.2;margin-bottom:24px;color:var(--color-text-primary)}.login-branding h1 span{color:var(--color-accent)}.login-branding p{font-size:1.125rem;color:var(--color-text-secondary);margin-bottom:40px;line-height:1.7}.login-features{display:flex;flex-direction:column;gap:16px}.login-feature{display:flex;align-items:center;gap:12px;color:var(--color-text-secondary);font-size:.95rem}.login-feature-icon{width:24px;height:24px;background:var(--color-success-light);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--color-success);font-size:.75rem;flex-shrink:0}.login-form-section{flex:1;display:flex;align-items:center;justify-content:center;padding:40px;position:relative;z-index:1}.login-container{width:100%;max-width:440px;background:var(--color-bg-card);border-radius:var(--radius-xl);padding:48px;box-shadow:var(--shadow-xl);animation:slideUp .5s ease-out}.login-header{text-align:center;margin-bottom:32px}.login-header h2{font-size:1.75rem;margin-bottom:8px;color:var(--color-text-primary)}.login-header p{color:var(--color-text-muted);font-size:.95rem}.login-tabs{display:flex;margin-bottom:32px;background:var(--color-bg-secondary);border-radius:var(--radius-md);padding:4px}.login-tabs button{flex:1;padding:12px 20px;background:transparent;color:var(--color-text-muted);font-size:.95rem;font-weight:500;border-radius:var(--radius-sm);transition:all var(--transition-fast)}.login-tabs button.active{background:var(--color-bg-card);color:var(--color-text-primary);box-shadow:var(--shadow-sm)}.login-tabs button:hover:not(.active){color:var(--color-text-primary)}.login-form{display:flex;flex-direction:column;gap:20px}.error-message{background:#fef2f2;border:1px solid #FECACA;color:var(--color-error);padding:14px 16px;border-radius:var(--radius-md);font-size:.9rem;display:flex;align-items:center;gap:10px}.error-message:before{content:"!";width:20px;height:20px;background:var(--color-error);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;flex-shrink:0}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:.9rem;font-weight:500;color:var(--color-text-primary)}.form-group input{padding:14px 16px;border-radius:var(--radius-md);font-size:1rem}.form-group input:hover{border-color:var(--color-text-light)}.submit-btn{padding:16px 24px;background:var(--color-accent);color:#fff;font-size:1rem;font-weight:600;border-radius:var(--radius-md);margin-top:8px;position:relative;overflow:hidden}.submit-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s ease}.submit-btn:hover:not(:disabled){background:var(--color-accent-hover);transform:translateY(-1px);box-shadow:0 4px 12px #e85d4c4d}.submit-btn:hover:before{left:100%}.submit-btn:disabled{background:var(--color-border);color:var(--color-text-light);cursor:not-allowed;transform:none}.submit-btn:active:not(:disabled){transform:translateY(0)}.login-footer{text-align:center;margin-top:28px;padding-top:24px;border-top:1px solid var(--color-border-light)}.login-footer p{color:var(--color-text-muted);font-size:.9rem}.toggle-btn{background:none;color:var(--color-accent);font-weight:600;padding:0;margin-left:4px}.toggle-btn:hover{color:var(--color-accent-hover);text-decoration:underline}@media(max-width:1024px){.login-branding{display:none}.login-form-section{flex:1}}@media(max-width:480px){.login-form-section{padding:20px}.login-container{padding:32px 24px}.login-header h2{font-size:1.5rem}}.usage-page{min-height:100vh;background:var(--color-bg-primary)}.usage-header{display:flex;align-items:center;justify-content:space-between;padding:16px 32px;background:var(--color-bg-card);border-bottom:1px solid var(--color-border);position:sticky;top:0;z-index:100}.usage-header .header-left .logo{display:flex;align-items:center;gap:10px}.usage-header .header-left .logo-icon{width:36px;height:36px;background:var(--color-accent);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.9rem}.usage-header .header-left .logo-text{font-size:1.1rem;font-weight:700;color:var(--color-text-primary)}.usage-header .header-nav{display:flex;gap:8px}.usage-header .nav-item{padding:8px 16px;color:var(--color-text-muted);text-decoration:none;border-radius:8px;font-weight:500;transition:all .2s}.usage-header .nav-item:hover{background:var(--color-bg-secondary);color:var(--color-text-primary)}.usage-header .nav-item.active{background:var(--color-accent-light);color:var(--color-accent)}.usage-header .header-right{display:flex;align-items:center;gap:16px}.usage-header .user-email{color:var(--color-text-secondary);font-size:.9rem}.usage-header .logout-btn{padding:8px 16px;background:transparent;border:1px solid var(--color-border);border-radius:8px;color:var(--color-text-muted);font-size:.85rem;cursor:pointer;transition:all .2s}.usage-header .logout-btn:hover{border-color:var(--color-error);color:var(--color-error)}.usage-content{max-width:1200px;margin:0 auto;padding:40px 32px}.usage-title-section{margin-bottom:32px}.usage-title-section h1{font-size:2rem;font-weight:700;color:var(--color-text-primary);margin:0 0 8px}.usage-title-section p{color:var(--color-text-muted);margin:0}.usage-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:32px}.stat-card{background:var(--color-bg-card);border-radius:12px;padding:20px;border:1px solid var(--color-border-light)}.stat-label{font-size:.85rem;color:var(--color-text-muted);margin-bottom:8px}.stat-value{font-size:1.75rem;font-weight:700;color:var(--color-text-primary)}.usage-table-container{background:var(--color-bg-card);border-radius:16px;border:1px solid var(--color-border-light);overflow:hidden}.table-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--color-border-light)}.table-header h2{font-size:1.1rem;font-weight:600;color:var(--color-text-primary);margin:0}.pagination-info{font-size:.9rem;color:var(--color-text-muted)}.loading{padding:48px;text-align:center;color:var(--color-text-muted)}.empty{padding:64px 32px;text-align:center}.empty h3{font-size:1.25rem;font-weight:600;color:var(--color-text-primary);margin:0 0 8px}.empty p{color:var(--color-text-muted);margin:0 0 24px}.empty-link{display:inline-block;padding:12px 24px;background:var(--color-accent);color:#fff;border-radius:8px;text-decoration:none;font-weight:500;transition:all .2s}.empty-link:hover{background:var(--color-accent-hover)}.usage-table{width:100%;border-collapse:collapse}.usage-table th{text-align:left;padding:12px 16px;background:var(--color-bg-secondary);font-size:.85rem;font-weight:600;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.05em}.usage-table td{padding:16px;border-bottom:1px solid var(--color-border-light);font-size:.9rem;color:var(--color-text-secondary)}.usage-table tbody tr:hover{background:var(--color-bg-secondary)}.usage-table tbody tr:last-child td{border-bottom:none}.model-badge{display:inline-block;padding:4px 10px;background:var(--color-accent-light);color:var(--color-accent);border-radius:6px;font-size:.8rem;font-weight:500}.token-count{font-family:SF Mono,Menlo,Monaco,Courier New,monospace;color:var(--color-text-primary)}.points-badge{display:inline-block;padding:4px 10px;background:var(--color-success);color:#fff;border-radius:6px;font-size:.85rem;font-weight:600}.pagination{display:flex;justify-content:center;align-items:center;gap:16px;padding:20px;border-top:1px solid var(--color-border-light)}.page-btn{padding:8px 16px;background:var(--color-bg-secondary);border:1px solid var(--color-border);border-radius:6px;color:var(--color-text-secondary);font-size:.9rem;cursor:pointer;transition:all .2s}.page-btn:hover:not(:disabled){background:var(--color-accent-light);border-color:var(--color-accent);color:var(--color-accent)}.page-btn:disabled{opacity:.5;cursor:not-allowed}.page-numbers{display:flex;gap:8px}.page-number{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid var(--color-border);border-radius:6px;color:var(--color-text-secondary);font-size:.9rem;cursor:pointer;transition:all .2s}.page-number:hover{background:var(--color-bg-secondary)}.page-number.active{background:var(--color-accent);border-color:var(--color-accent);color:#fff}@media(max-width:768px){.usage-header{flex-wrap:wrap;gap:16px;padding:16px}.usage-header .header-nav{order:3;width:100%;justify-content:center}.usage-content{padding:24px 16px}.usage-stats{grid-template-columns:repeat(2,1fr)}.usage-table-container{overflow-x:auto}.usage-table{min-width:700px}.pagination{flex-wrap:wrap;gap:12px}}.language-switcher-container,.back-link{display:none}.tutorial-page{min-height:100vh;background:var(--color-bg-primary)}.tutorial-header{display:flex;align-items:center;justify-content:space-between;padding:16px 32px;background:var(--color-bg-card);border-bottom:1px solid var(--color-border);position:sticky;top:0;z-index:100}.tutorial-header .header-left .logo{display:flex;align-items:center;gap:10px}.tutorial-header .header-left .logo-icon{width:36px;height:36px;background:var(--color-accent);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.9rem}.tutorial-header .header-left .logo-text{font-size:1.1rem;font-weight:700;color:var(--color-text-primary)}.tutorial-header .header-nav{display:flex;gap:8px}.tutorial-header .nav-item{padding:8px 16px;color:var(--color-text-muted);text-decoration:none;border-radius:8px;font-weight:500;transition:all .2s}.tutorial-header .nav-item:hover{background:var(--color-bg-secondary);color:var(--color-text-primary)}.tutorial-header .nav-item.active{background:var(--color-accent-light);color:var(--color-accent)}.tutorial-header .header-right{display:flex;align-items:center;gap:16px}.tutorial-header .user-email{color:var(--color-text-secondary);font-size:.9rem}.tutorial-header .logout-btn{padding:8px 16px;background:transparent;border:1px solid var(--color-border);border-radius:8px;color:var(--color-text-muted);font-size:.85rem;cursor:pointer;transition:all .2s}.tutorial-header .logout-btn:hover{border-color:var(--color-error);color:var(--color-error)}.tutorial-content{max-width:900px;margin:0 auto;padding:40px 32px}.tutorial-intro{text-align:center;margin-bottom:40px}.tutorial-intro h1{font-size:2rem;font-weight:700;color:var(--color-text-primary);margin:0 0 12px}.tutorial-intro p{color:var(--color-text-muted);font-size:1.1rem;margin:0}.guide-intro{color:var(--color-text-muted);font-size:1rem;margin:0 0 32px;line-height:1.6}@media(max-width:768px){.tutorial-header{flex-wrap:wrap;gap:16px;padding:16px}.tutorial-header .header-nav{order:3;width:100%;justify-content:center}.tutorial-content{padding:24px 16px}.tabs-header{flex-direction:column}.tab-btn{justify-content:flex-start;padding:12px 16px}.step{flex-direction:column;gap:12px}.help-links{flex-direction:column}}.guide-page{min-height:100vh;background:var(--color-bg-primary)}.guide-header{display:flex;align-items:center;justify-content:space-between;padding:16px 32px;background:var(--color-bg-card);border-bottom:1px solid var(--color-border);position:sticky;top:0;z-index:100}.guide-header .header-left .logo{display:flex;align-items:center;gap:10px}.guide-header .header-left .logo-icon{width:36px;height:36px;background:var(--color-accent);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.9rem}.guide-header .header-left .logo-text{font-size:1.1rem;font-weight:700;color:var(--color-text-primary)}.guide-header .header-nav{display:flex;gap:8px}.guide-header .nav-item{padding:8px 16px;color:var(--color-text-muted);text-decoration:none;border-radius:8px;font-weight:500;transition:all .2s}.guide-header .nav-item:hover{background:var(--color-bg-secondary);color:var(--color-text-primary)}.guide-header .nav-item.active{background:var(--color-accent-light);color:var(--color-accent)}.guide-header .nav-item.admin-link{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.guide-header .nav-item.admin-link:hover{background:linear-gradient(135deg,#5a67d8,#6b46c1);color:#fff}.guide-header .header-right{display:flex;align-items:center;gap:16px}.guide-header .user-email{color:var(--color-text-secondary);font-size:.9rem}.guide-header .logout-btn{padding:8px 16px;background:transparent;border:1px solid var(--color-border);border-radius:8px;color:var(--color-text-muted);font-size:.85rem;cursor:pointer;transition:all .2s}.guide-header .logout-btn:hover{border-color:var(--color-error);color:var(--color-error)}.guide-content{max-width:900px;margin:0 auto;padding:40px 32px}.guide-intro{text-align:center;margin-bottom:40px}.guide-intro h1{font-size:2rem;font-weight:700;color:var(--color-text-primary);margin:0 0 12px}.guide-intro p{color:var(--color-text-muted);font-size:1.1rem;margin:0}.doc-links-section{margin-bottom:32px}.doc-links-section h2{font-size:1.25rem;font-weight:600;color:var(--color-text-primary);margin:0 0 16px}.doc-links-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.doc-link-card{display:flex;align-items:center;gap:16px;padding:16px 20px;background:var(--color-bg-card);border:1px solid var(--color-border-light);border-radius:12px;text-decoration:none;transition:all .2s}.doc-link-card:hover{border-color:var(--color-accent);box-shadow:0 4px 12px #0000001a}.doc-link-icon{font-size:1.5rem;flex-shrink:0}.doc-link-info{flex:1;min-width:0}.doc-link-info h3{font-size:1rem;font-weight:600;color:var(--color-text-primary);margin:0 0 4px}.doc-link-info p{font-size:.85rem;color:var(--color-text-muted);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.external-icon{color:var(--color-text-muted);font-size:.875rem;flex-shrink:0}.api-info-card{background:var(--color-bg-card);border-radius:16px;padding:24px;border:1px solid var(--color-border-light);margin-bottom:32px}.api-info-card h3{font-size:1rem;font-weight:600;color:var(--color-text-primary);margin:0 0 12px}.api-info-card .code-block{display:flex;align-items:center;gap:12px;background:var(--color-bg-secondary);border-radius:8px;padding:12px 16px}.api-info-card .code-block code{flex:1;font-family:monospace;font-size:1rem;color:var(--color-accent)}.api-info-card .copy-btn{padding:6px 12px;background:var(--color-accent);color:#fff;border:none;border-radius:6px;font-size:.85rem;cursor:pointer;transition:all .2s}.api-info-card .copy-btn:hover{background:var(--color-accent-hover)}.info-note{margin:12px 0 0;color:var(--color-text-muted);font-size:.9rem}.info-note a{color:var(--color-accent);text-decoration:none}.info-note a:hover{text-decoration:underline}.tabs-container{background:var(--color-bg-card);border-radius:16px;border:1px solid var(--color-border-light);overflow:hidden;margin-bottom:32px}.tabs-header{display:flex;border-bottom:1px solid var(--color-border-light);background:var(--color-bg-secondary)}.tab-btn{flex:1;padding:16px 24px;background:transparent;border:none;font-size:.95rem;font-weight:500;color:var(--color-text-muted);cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px}.tab-btn:hover{background:var(--color-bg-card);color:var(--color-text-primary)}.tab-btn.active{background:var(--color-bg-card);color:var(--color-accent);border-bottom:2px solid var(--color-accent);margin-bottom:-1px}.tab-icon{font-size:1.2rem}.tab-content{padding:32px}.guide-section h2{font-size:1.5rem;font-weight:700;color:var(--color-text-primary);margin:0 0 12px}.guide-section-intro{color:var(--color-text-muted);font-size:1rem;margin:0 0 32px;line-height:1.6}.step{display:flex;gap:20px;margin-bottom:32px}.step-number{width:32px;height:32px;background:var(--color-accent);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;flex-shrink:0}.step-content{flex:1}.step-content h3{font-size:1.1rem;font-weight:600;color:var(--color-text-primary);margin:0 0 8px}.step-content p{color:var(--color-text-muted);margin:0 0 12px;line-height:1.5}.code-block{background:#1e1e2e;border-radius:8px;padding:16px;overflow-x:auto}.code-block code{font-family:SF Mono,Menlo,Monaco,Courier New,monospace;font-size:.9rem;color:#a6e3a1;line-height:1.6}.code-block.multi-line code{display:block;white-space:pre}.tip-box{background:var(--color-accent-light);border-left:4px solid var(--color-accent);padding:16px 20px;border-radius:0 8px 8px 0;margin-top:24px;color:var(--color-text-secondary);font-size:.9rem;line-height:1.6}.tip-box strong{color:var(--color-accent)}.tip-box a{color:var(--color-accent);text-decoration:none}.tip-box a:hover{text-decoration:underline}.help-section{background:var(--color-bg-card);border-radius:16px;padding:32px;border:1px solid var(--color-border-light);text-align:center}.help-section h3{font-size:1.25rem;font-weight:600;color:var(--color-text-primary);margin:0 0 8px}.help-section p{color:var(--color-text-muted);margin:0 0 24px}.help-links{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}.help-link{display:flex;align-items:center;gap:8px;padding:12px 20px;background:var(--color-bg-secondary);border-radius:8px;color:var(--color-text-primary);text-decoration:none;font-weight:500;transition:all .2s}.help-link:hover{background:var(--color-accent-light);color:var(--color-accent)}.link-icon{font-size:1.1rem}@media(max-width:768px){.guide-header{flex-wrap:wrap;gap:16px;padding:16px}.guide-header .header-nav{order:3;width:100%;justify-content:center;flex-wrap:wrap}.guide-content{padding:24px 16px}.doc-links-grid{grid-template-columns:1fr}.tabs-header{flex-direction:column}.tab-btn{justify-content:flex-start;padding:12px 16px}.step{flex-direction:column;gap:12px}.help-links{flex-direction:column}}.tokens-page{min-height:100vh;background:var(--color-bg-primary)}.tokens-header{display:flex;align-items:center;justify-content:space-between;padding:16px 32px;background:var(--color-bg-card);border-bottom:1px solid var(--color-border);position:sticky;top:0;z-index:100}.tokens-header .header-left .logo{display:flex;align-items:center;gap:10px}.tokens-header .header-left .logo-icon{width:36px;height:36px;background:var(--color-accent);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.9rem}.tokens-header .header-left .logo-text{font-size:1.1rem;font-weight:700;color:var(--color-text-primary)}.tokens-header .header-nav{display:flex;gap:8px}.tokens-header .nav-item{padding:8px 16px;color:var(--color-text-muted);text-decoration:none;border-radius:8px;font-weight:500;transition:all .2s}.tokens-header .nav-item:hover{background:var(--color-bg-secondary);color:var(--color-text-primary)}.tokens-header .nav-item.active{background:var(--color-accent-light);color:var(--color-accent)}.tokens-header .header-right{display:flex;align-items:center;gap:16px}.tokens-header .user-email{color:var(--color-text-secondary);font-size:.9rem}.tokens-header .logout-btn{padding:8px 16px;background:transparent;border:1px solid var(--color-border);border-radius:8px;color:var(--color-text-muted);font-size:.85rem;cursor:pointer;transition:all .2s}.tokens-header .logout-btn:hover{border-color:var(--color-error);color:var(--color-error)}.tokens-content{max-width:900px;margin:0 auto;padding:40px 32px}.tokens-title-section{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:32px}.tokens-title-section h1{font-size:2rem;font-weight:700;color:var(--color-text-primary);margin:0 0 8px}.tokens-title-section p{color:var(--color-text-muted);margin:0}.create-btn{padding:12px 24px;background:var(--color-accent);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.create-btn:hover:not(:disabled){background:var(--color-accent-hover);transform:translateY(-1px)}.create-btn:disabled{opacity:.6;cursor:not-allowed}.tokens-card{background:var(--color-bg-card);border-radius:16px;border:1px solid var(--color-border-light);overflow:hidden;margin-bottom:32px}.loading-state{padding:48px;text-align:center;color:var(--color-text-muted)}.empty-state{padding:64px 32px;text-align:center}.empty-icon{font-size:3rem;margin-bottom:16px}.empty-state h3{font-size:1.25rem;font-weight:600;color:var(--color-text-primary);margin:0 0 8px}.empty-state p{color:var(--color-text-muted);margin:0 0 24px}.create-btn-alt{padding:12px 24px;background:var(--color-accent);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.create-btn-alt:hover{background:var(--color-accent-hover)}.tokens-list{padding:8px}.token-item{display:flex;justify-content:space-between;align-items:center;padding:20px;border-radius:12px;margin-bottom:8px;background:var(--color-bg-secondary);transition:all .2s}.token-item:last-child{margin-bottom:0}.token-item:hover{background:var(--color-bg-primary)}.token-item.inactive{opacity:.6}.token-info{flex:1}.token-name{font-size:1rem;font-weight:600;color:var(--color-text-primary);margin-bottom:8px;display:flex;align-items:center;gap:8px}.inactive-badge{padding:2px 8px;background:var(--color-text-muted);color:#fff;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase}.token-key code{font-family:SF Mono,Menlo,Monaco,Courier New,monospace;font-size:.9rem;color:var(--color-accent);background:var(--color-bg-card);padding:4px 8px;border-radius:4px}.token-meta{margin-top:8px;display:flex;gap:16px;font-size:.85rem;color:var(--color-text-muted)}.token-actions{display:flex;gap:8px}.toggle-btn{padding:8px 16px;background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:6px;font-size:.85rem;cursor:pointer;transition:all .2s;color:var(--color-text-secondary)}.toggle-btn:hover{border-color:var(--color-accent);color:var(--color-accent)}.toggle-btn.active{color:var(--color-warning)}.toggle-btn.active:hover{border-color:var(--color-warning)}.delete-btn{padding:8px 16px;background:transparent;border:1px solid var(--color-border);border-radius:6px;font-size:.85rem;color:var(--color-text-muted);cursor:pointer;transition:all .2s}.delete-btn:hover{background:var(--color-error);border-color:var(--color-error);color:#fff}.security-notice{background:var(--color-bg-card);border-radius:16px;padding:24px;border:1px solid var(--color-border-light)}.security-notice h3{font-size:1rem;font-weight:600;color:var(--color-text-primary);margin:0 0 12px}.security-notice ul{margin:0;padding-left:20px;color:var(--color-text-muted);font-size:.9rem;line-height:1.8}.modal{background:var(--color-bg-card);border-radius:16px;padding:32px;width:100%;max-width:480px;box-shadow:0 20px 60px #0000004d}.modal h2{font-size:1.5rem;font-weight:700;color:var(--color-text-primary);margin:0 0 12px}.modal p{color:var(--color-text-muted);margin:0 0 24px}.modal-warning{color:var(--color-warning)!important;font-weight:500}.form-group{margin-bottom:24px}.form-group label{display:block;font-size:.9rem;font-weight:500;color:var(--color-text-secondary);margin-bottom:8px}.form-group input{width:100%;padding:12px 16px;background:var(--color-bg-secondary);border:1px solid var(--color-border);border-radius:8px;font-size:1rem;color:var(--color-text-primary);transition:border-color .2s}.form-group input:focus{outline:none;border-color:var(--color-accent)}.modal-actions{display:flex;gap:12px;justify-content:flex-end}.cancel-btn{padding:12px 24px;background:transparent;border:1px solid var(--color-border);border-radius:8px;color:var(--color-text-secondary);font-weight:500;cursor:pointer;transition:all .2s}.cancel-btn:hover{background:var(--color-bg-secondary)}.new-key-display{display:flex;align-items:center;gap:12px;background:#1e1e2e;border-radius:8px;padding:16px;margin-bottom:24px}.new-key-display code{flex:1;font-family:SF Mono,Menlo,Monaco,Courier New,monospace;font-size:.9rem;color:#a6e3a1;word-break:break-all}.new-key-display .copy-btn{padding:8px 16px;background:var(--color-accent);color:#fff;border:none;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.new-key-display .copy-btn:hover{background:var(--color-accent-hover)}.modal-close-btn{width:100%;padding:12px;background:var(--color-accent);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.modal-close-btn:hover{background:var(--color-accent-hover)}@media(max-width:768px){.tokens-header{flex-wrap:wrap;gap:16px;padding:16px}.tokens-header .header-nav{order:3;width:100%;justify-content:center}.tokens-content{padding:24px 16px}.tokens-title-section{flex-direction:column;gap:16px}.token-item{flex-direction:column;align-items:flex-start;gap:16px}.token-actions{width:100%}.token-actions button{flex:1}.modal{margin:16px}}.credits-detail-page{padding:0}.credits-title-section{margin-bottom:2rem}.credits-title-section h1{font-size:1.75rem;font-weight:700;color:var(--color-text-primary);margin:0 0 .5rem}.credits-title-section p{color:var(--color-text-muted);margin:0 0 1rem}.btn-explanation{padding:.5rem 1rem;background:var(--color-accent-light);color:var(--color-accent);border:1px solid var(--color-accent);border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s}.btn-explanation:hover{background:var(--color-accent);color:#fff}.credits-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.stat-card{background:var(--color-bg-card);border:1px solid var(--color-border-light);border-radius:12px;padding:1.5rem;text-align:center}.stat-label{color:var(--color-text-muted);font-size:.875rem;margin-bottom:.5rem}.stat-value{font-size:1.75rem;font-weight:600;color:var(--color-text-primary)}.view-toggle{display:flex;gap:.5rem;margin-bottom:1.5rem}.toggle-btn{padding:.75rem 1.5rem;background:transparent;color:var(--color-text-muted);border:1px solid var(--color-border);border-radius:8px;cursor:pointer;transition:all .2s}.toggle-btn:hover{color:var(--color-text-primary);border-color:var(--color-text-muted)}.toggle-btn.active{background:var(--color-accent-light);color:var(--color-accent);border-color:var(--color-accent)}.daily-table-container,.detail-table-container{background:var(--color-bg-card);border:1px solid var(--color-border-light);border-radius:12px;overflow:hidden}.credits-table{width:100%;border-collapse:collapse}.credits-table th{background:var(--color-bg-secondary);padding:1rem;text-align:left;font-weight:500;color:var(--color-text-muted);border-bottom:1px solid var(--color-border-light)}.credits-table td{padding:1rem;border-bottom:1px solid var(--color-border-light);color:var(--color-text-primary)}.credits-table tr:last-child td{border-bottom:none}.credits-table tr:hover td{background:var(--color-bg-secondary)}.points-cell{font-weight:600;color:var(--color-accent)}.model-badge{display:inline-block;padding:.25rem .75rem;background:var(--color-accent-light);border-radius:999px;font-size:.75rem;color:var(--color-accent)}.points-badge{display:inline-block;padding:.25rem .75rem;background:#f59e0b1a;border-radius:999px;font-size:.875rem;font-weight:500;color:#f59e0b}.empty-cell{text-align:center;color:var(--color-text-muted);padding:3rem!important}.modal-content{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:16px;max-width:600px;width:90%;max-height:80vh;overflow:hidden}.formula-section{background:var(--color-accent-light);border:1px solid var(--color-accent);border-radius:8px;padding:1rem;margin-bottom:1.5rem}.formula-section h3{font-size:1rem;margin:0 0 .5rem;color:var(--color-accent)}.formula-text{font-family:monospace;font-size:.875rem;color:var(--color-text-secondary);margin:0}.explanation-content{color:var(--color-text-secondary);line-height:1.6}.explanation-content h2,.explanation-content h3{color:var(--color-text-primary);margin-top:1.5rem;margin-bottom:.75rem}.explanation-content ul{margin-left:1.5rem}@media(max-width:768px){.credits-stats{grid-template-columns:repeat(2,1fr)}.view-toggle{flex-direction:column}.toggle-btn{width:100%}}.credit-packs-page{padding:0}.packs-title-section{text-align:center;margin-bottom:3rem}.packs-title-section h1{font-size:1.75rem;font-weight:700;color:var(--color-text-primary);margin:0 0 .5rem}.packs-title-section p{color:var(--color-text-muted);margin:0}.loading{text-align:center;padding:3rem;color:var(--color-text-muted)}.empty-state{text-align:center;padding:4rem 2rem}.empty-icon{font-size:4rem;margin-bottom:1rem}.empty-state h3{color:var(--color-text-muted);font-weight:400}.packs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}.pack-card{background:var(--color-bg-card);border:1px solid var(--color-border-light);border-radius:16px;padding:2rem;text-align:center;transition:all .3s}.pack-card:hover{border-color:var(--color-accent);transform:translateY(-5px);box-shadow:0 10px 30px #0000001a}.pack-name{font-size:1.25rem;font-weight:600;color:var(--color-text-primary);margin:0 0 .5rem}.pack-description{color:var(--color-text-muted);font-size:.875rem;margin-bottom:1.5rem}.pack-points{margin-bottom:.5rem}.points-value{font-size:2.5rem;font-weight:700;color:var(--color-accent)}.points-label{display:block;color:var(--color-text-muted);font-size:.875rem;margin-top:.25rem}.pack-price{font-size:1.5rem;font-weight:600;color:var(--color-success);margin-bottom:1.5rem}.btn-buy{width:100%;padding:.75rem 1.5rem;background:var(--color-accent);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-buy:hover{background:var(--color-accent-hover);transform:translateY(-2px)}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:16px;max-width:500px;width:90%;max-height:80vh;overflow:hidden}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid var(--color-border-light)}.modal-header h2{font-size:1.25rem;margin:0;color:var(--color-text-primary)}.modal-close{background:transparent;border:none;color:var(--color-text-muted);font-size:1.5rem;cursor:pointer;padding:0;line-height:1}.modal-close:hover{color:var(--color-text-primary)}.modal-body{padding:1.5rem;overflow-y:auto;max-height:calc(80vh - 100px)}.purchase-summary{background:var(--color-bg-secondary);border-radius:8px;padding:1rem;margin-bottom:1.5rem}.summary-item{display:flex;justify-content:space-between;padding:.5rem 0}.summary-item:not(:last-child){border-bottom:1px solid var(--color-border-light)}.summary-label{color:var(--color-text-muted)}.summary-value{font-weight:600;color:var(--color-text-primary)}.purchase-notes{margin-bottom:1.5rem}.purchase-notes h3{font-size:1rem;margin:0 0 .75rem;color:var(--color-accent)}.notes-content{background:var(--color-accent-light);border:1px solid var(--color-accent);border-radius:8px;padding:1rem;font-size:.875rem;color:var(--color-text-secondary);line-height:1.6}.modal-actions{display:flex;gap:1rem;justify-content:flex-end}.btn-cancel{padding:.75rem 1.5rem;background:transparent;color:var(--color-text-muted);border:1px solid var(--color-border);border-radius:8px;cursor:pointer;transition:all .2s}.btn-cancel:hover{color:var(--color-text-primary);border-color:var(--color-text-muted)}.btn-confirm{padding:.75rem 1.5rem;background:var(--color-success);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.btn-confirm:hover{background:#059669;transform:translateY(-2px)}@media(max-width:768px){.packs-grid{grid-template-columns:1fr}.modal-actions{flex-direction:column}.btn-cancel,.btn-confirm{width:100%}}.admin-layout{display:flex;min-height:100vh;background:#0a0a0a}.admin-sidebar{width:260px;background:#111;color:#fff;display:flex;flex-direction:column;flex-shrink:0;border-right:1px solid #2a2a2a}.admin-sidebar-header{padding:20px 24px;border-bottom:1px solid #2a2a2a}.admin-sidebar-header h2{margin:0;font-size:1.25rem;font-weight:700;color:#ff7a00}.admin-nav{flex:1;padding:16px 12px}.admin-nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 16px;background:none;border:none;color:gray;font-size:.95rem;cursor:pointer;transition:all .2s;text-align:left;border-radius:8px;margin-bottom:4px}.admin-nav-item:hover{background:#1a1a1a;color:#fff}.admin-nav-item.active{background:#ff7a00;color:#fff}.admin-nav-icon{font-size:1.1rem}.admin-nav-label{font-weight:500}.admin-sidebar-footer{padding:16px 12px;border-top:1px solid #2a2a2a}.admin-back-btn{width:100%;padding:12px;background:#1a1a1a;border:1px solid #2a2a2a;border-radius:8px;color:#b3b3b3;cursor:pointer;font-size:.9rem;transition:all .2s}.admin-back-btn:hover{background:#2a2a2a;border-color:#ff7a00;color:#ff7a00}.admin-content{flex:1;padding:24px 32px;overflow-y:auto;background:#0a0a0a}.admin-page{max-width:1400px;margin:0 auto}.admin-page-header{margin-bottom:32px}.admin-page-header h1{font-size:1.75rem;font-weight:700;color:#fff;margin:0 0 8px}.admin-page-header p{color:gray;margin:0}.admin-card{background:#151515;border-radius:12px;padding:24px;border:1px solid #2a2a2a;margin-bottom:24px}.admin-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #2a2a2a}.admin-card-header h3{margin:0;font-size:1.1rem;color:#fff}.admin-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin-bottom:32px}.admin-stat-card{background:#151515;border-radius:12px;padding:24px;border:1px solid #2a2a2a;transition:all .2s}.admin-stat-card:hover{border-color:#ff7a00}.admin-stat-card .stat-value{font-size:2.25rem;font-weight:700;color:#ff7a00;margin-bottom:4px}.admin-stat-card .stat-label{font-size:.9rem;color:gray}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:14px 16px;text-align:left;border-bottom:1px solid #2a2a2a}.admin-table th{font-weight:600;color:gray;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em;background:#111}.admin-table td{color:#b3b3b3}.admin-table tr:hover td{background:#1a1a1a}.admin-btn{padding:10px 18px;border-radius:8px;font-size:.9rem;cursor:pointer;border:none;transition:all .2s;font-weight:500}.admin-btn-primary{background:#ff7a00;color:#fff}.admin-btn-primary:hover{background:#f93}.admin-btn-secondary{background:#1a1a1a;color:#b3b3b3;border:1px solid #2a2a2a}.admin-btn-secondary:hover{background:#2a2a2a;color:#fff}.admin-btn-danger{background:#ef444426;color:#f87171;border:1px solid rgba(239,68,68,.3)}.admin-btn-danger:hover{background:#ef444440}.admin-btn-success{background:#22c55e26;color:#4ade80;border:1px solid rgba(34,197,94,.3)}.admin-btn-success:hover{background:#22c55e40}.admin-btn-sm{padding:6px 12px;font-size:.8rem}.admin-actions{display:flex;gap:8px}.admin-badge{display:inline-block;padding:4px 12px;border-radius:20px;font-size:.8rem;font-weight:500}.admin-badge-success{background:#22c55e26;color:#4ade80}.admin-badge-warning{background:#f59e0b26;color:#fbbf24}.admin-badge-danger{background:#ef444426;color:#f87171}.admin-badge-info{background:#6366f126;color:#a5b4fc}.admin-modal-overlay{position:fixed;inset:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:1000}.admin-modal{background:#151515;border-radius:16px;width:90%;max-width:560px;max-height:90vh;overflow-y:auto;border:1px solid #2a2a2a}.admin-modal-header{padding:24px;border-bottom:1px solid #2a2a2a;display:flex;justify-content:space-between;align-items:center}.admin-modal-header h3{margin:0;font-size:1.2rem;color:#fff}.admin-modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:gray;transition:color .2s}.admin-modal-close:hover{color:#fff}.admin-modal-body{padding:24px}.admin-modal-footer{padding:20px 24px;border-top:1px solid #2a2a2a;display:flex;justify-content:flex-end;gap:12px}.admin-form-group{margin-bottom:20px}.admin-form-group label{display:block;margin-bottom:8px;font-weight:500;color:#b3b3b3}.admin-form-group input,.admin-form-group select,.admin-form-group textarea{width:100%;padding:12px 14px;background:#1a1a1a;border:1px solid #2a2a2a;border-radius:8px;font-size:.95rem;color:#fff;transition:all .2s}.admin-form-group input:focus,.admin-form-group select:focus,.admin-form-group textarea:focus{outline:none;border-color:#ff7a00;box-shadow:0 0 0 3px #ff7a0026}.admin-form-group input::placeholder,.admin-form-group textarea::placeholder{color:#666}.admin-form-row{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.model-selector{border:1px solid #2a2a2a;border-radius:8px;overflow:hidden;background:#1a1a1a}.model-selector-header{display:flex;gap:12px;padding:12px;background:#111;border-bottom:1px solid #2a2a2a;flex-wrap:wrap}.model-filter-input{flex:1;min-width:150px;padding:10px 12px!important;background:#1a1a1a!important;border:1px solid #2a2a2a!important;border-radius:6px!important;font-size:.9rem!important;color:#fff!important}.model-filter-input::placeholder{color:#666!important}.model-selector-actions{display:flex;gap:8px}.model-list{max-height:250px;overflow-y:auto;padding:8px}.model-list-empty{text-align:center;padding:24px;color:#666;font-size:.9rem}.model-item{display:flex;align-items:center;gap:10px;padding:10px 12px;margin:4px 0;border-radius:6px;cursor:pointer;transition:all .15s;border:1px solid transparent}.model-item:hover{background:#2a2a2a}.model-item.selected{background:#ff7a0026;border-color:#ff7a00}.model-item input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#FF7A00}.model-name{font-family:monospace;font-size:.9rem;color:#b3b3b3}.selected-models-preview{padding:12px;background:#111;border-top:1px solid #2a2a2a}.selected-models-preview small{color:#666;font-size:.8rem;word-break:break-all}.admin-loading{text-align:center;padding:48px;color:gray}.admin-empty{text-align:center;padding:48px;color:#666}.admin-toggle{position:relative;display:inline-block;width:48px;height:26px}.admin-toggle input{opacity:0;width:0;height:0}.admin-toggle-slider{position:absolute;cursor:pointer;inset:0;background-color:#2a2a2a;transition:.3s;border-radius:26px}.admin-toggle-slider:before{position:absolute;content:"";height:20px;width:20px;left:3px;bottom:3px;background-color:#666;transition:.3s;border-radius:50%}.admin-toggle input:checked+.admin-toggle-slider{background-color:#ff7a00}.admin-toggle input:checked+.admin-toggle-slider:before{transform:translate(22px);background-color:#fff}.admin-content::-webkit-scrollbar,.model-list::-webkit-scrollbar,.admin-modal::-webkit-scrollbar{width:8px}.admin-content::-webkit-scrollbar-track,.model-list::-webkit-scrollbar-track,.admin-modal::-webkit-scrollbar-track{background:#111}.admin-content::-webkit-scrollbar-thumb,.model-list::-webkit-scrollbar-thumb,.admin-modal::-webkit-scrollbar-thumb{background:#2a2a2a;border-radius:4px}.admin-content::-webkit-scrollbar-thumb:hover,.model-list::-webkit-scrollbar-thumb:hover,.admin-modal::-webkit-scrollbar-thumb:hover{background:#3a3a3a}@media(max-width:768px){.admin-layout{flex-direction:column}.admin-sidebar{width:100%;order:2;position:fixed;bottom:0;left:0;right:0;flex-direction:row;padding:8px;border-right:none;border-top:1px solid #2a2a2a}.admin-sidebar-header,.admin-sidebar-footer{display:none}.admin-nav{display:flex;justify-content:space-around;padding:0;overflow-x:auto}.admin-nav-item{flex-direction:column;padding:8px 12px;font-size:.7rem;margin-bottom:0;border-radius:6px}.admin-nav-item.active{background:#ff7a00}.admin-content{padding:16px 16px 100px}.admin-form-row{grid-template-columns:1fr}}#root{width:100%;height:100%;margin:0;padding:0}.loading-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;background:var(--color-bg-primary)}.loading-spinner{width:48px;height:48px;border:3px solid var(--color-border);border-top-color:var(--color-accent);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:20px}.loading-screen p{color:var(--color-text-muted);font-size:1rem}@keyframes spin{to{transform:rotate(360deg)}}
