.profile-container{max-width:1400px;margin:2rem auto;padding:2rem}.profile-header{background:linear-gradient(135deg,#4fd1c5,#38b2ac);color:#fff;padding:2rem;border-radius:12px 12px 0 0;text-align:center}.avatar-wrapper{position:relative;width:100px;height:100px;margin:0 auto 1rem;display:inline-block}.profile-avatar{width:100px;height:100px;border-radius:50%;background:#fff;margin:0 auto 1rem;display:flex;align-items:center;justify-content:center;font-size:2.5rem;font-weight:700;color:#4fd1c5;cursor:pointer;position:relative;overflow:hidden;transition:transform .2s}.profile-avatar:hover{transform:scale(1.05)}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-avatar::after{content:'📷';position:absolute;bottom:0;right:0;background:rgba(79,209,197,.9);width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px}.rc-tester-badge-avatar{position:absolute;right:-5px;bottom:-5px;width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#22c55e,#16a34a);color:#0f172a;font-size:.7rem;font-weight:700;display:flex;align-items:center;justify-content:center;border:3px solid #1a202c;box-shadow:0 2px 8px rgba(0,0,0,.3);text-transform:uppercase;letter-spacing:.5px}#avatarInput{display:none}.badge{display:inline-block;padding:.25rem .75rem;border-radius:999px;font-size:.75rem;font-weight:600;margin:.25rem}.badge-admin{background:#fc8181;color:#fff}.badge-rc-tester{background:linear-gradient(135deg,#22c55e,#16a34a);color:#0f172a}.badge-rc-tester::before{content:'🧪 '}.profile-content{background:#1a202c;border:1px solid #2d3748;border-top:none;border-radius:0 0 12px 12px;padding:2rem;max-width:100%}.profile-content h2{color:#fff}.tabs{display:flex;border-bottom:2px solid #2d3748;margin-bottom:2rem;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.tabs::-webkit-scrollbar{height:4px}.tabs::-webkit-scrollbar-track{background:#2d3748}.tabs::-webkit-scrollbar-thumb{background:#4fd1c5;border-radius:2px}.tab{padding:.75rem 1.5rem;cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px;transition:all .2s;color:#a0aec0;white-space:nowrap;flex-shrink:0}.tab.active{border-bottom-color:#4fd1c5;color:#4fd1c5;font-weight:600}.tab-content{display:none}.tab-content.active{display:block}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#e2e8f0}.form-group input,.form-group textarea{width:100%;padding:.75rem;border:1px solid #4a5568;border-radius:6px;background:#2d3748;color:#fff}.form-group textarea{min-height:100px;resize:vertical}.btn-primary{padding:.75rem 1.5rem;background:linear-gradient(135deg,#4fd1c5,#38b2ac);color:#fff;border:none;border-radius:6px;font-weight:600;cursor:pointer}.btn-secondary{padding:.75rem 1.5rem;background:#e2e8f0;color:#2d3748;border:none;border-radius:6px;font-weight:600;cursor:pointer;margin-left:.5rem}.alert{padding:.75rem;margin-bottom:1rem;border-radius:6px}.alert-success{background:#22543d;border:1px solid #68d391;color:#9ae6b4}.alert-error{background:#742a2a;border:1px solid #fc8181;color:#feb2b2}.toggle-container{display:flex;align-items:center}.toggle-switch{position:relative;display:inline-block;width:50px;height:28px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#4a5568;transition:.3s;border-radius:28px}.toggle-slider:before{position:absolute;content:"";height:20px;width:20px;left:4px;bottom:4px;background-color:#fff;transition:.3s;border-radius:50%}input:checked+.toggle-slider{background-color:#4fd1c5}input:checked+.toggle-slider:before{transform:translateX(22px)}input:focus+.toggle-slider{box-shadow:0 0 1px #4fd1c5}.info-row{display:flex;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid #2d3748}.info-label{font-weight:600;color:#a0aec0}.info-value{color:#e2e8f0}.license-card{background:#2d3748;border:1px solid #4a5568;border-radius:12px;padding:2rem;margin-bottom:2rem}.license-card h3{color:#fff;margin-top:0;margin-bottom:1.5rem}.plan-display{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.plan-badge{padding:.5rem 1rem;border-radius:999px;font-weight:600;font-size:.875rem}.plan-badge.free{background:#4a5568;color:#e2e8f0}.plan-badge.renpy_free{background:#38b2ac;color:#fff}.plan-badge.pro{background:#4fd1c5;color:#fff}.plan-badge.team{background:#f6ad55;color:#fff}.plan-badge.enterprise{background:#fc8181;color:#fff}.plan-name{font-size:1.5rem;font-weight:600;color:#fff}.plan-description{color:#a0aec0;margin:0}.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-top:1.5rem;max-width:100%;justify-items:center}@media (min-width:1024px){.pricing-grid{grid-template-columns:repeat(4,1fr);justify-items:stretch}}.pricing-card{background:#1a202c;border:2px solid #4a5568;border-radius:12px;padding:1.5rem;text-align:center}.pricing-card h4{color:#fff;margin-top:0;font-size:1.5rem}.pricing-card .price{font-size:2.5rem;font-weight:700;color:#4fd1c5;margin:1rem 0}.pricing-card .price span{font-size:1rem;color:#a0aec0}.pricing-card ul{list-style:none;padding:0;margin:1.5rem 0;text-align:left}.pricing-card ul li{color:#e2e8f0;padding:.5rem 0;border-bottom:1px solid #2d3748}.pricing-card ul li:last-child{border-bottom:none}.device-item{background:#1a202c;border:1px solid #4a5568;border-radius:8px;padding:1rem;margin-bottom:.75rem;display:flex;justify-content:space-between;align-items:center}.device-info{flex:1}.device-name{font-weight:600;color:#fff;margin-bottom:.25rem}.device-meta{font-size:.875rem;color:#a0aec0}.device-actions{display:flex;gap:.5rem}.btn-danger{padding:.5rem 1rem;background:#fc8181;color:#fff;border:none;border-radius:6px;font-weight:600;cursor:pointer;font-size:.875rem}.btn-danger:hover{background:#f56565}.license-key-item{background:#1a202c;border:1px solid #4a5568;border-radius:8px;padding:1rem;margin-bottom:.75rem}.license-key-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.license-key-code{font-family:'Courier New',monospace;font-weight:600;color:#4fd1c5;font-size:1.125rem}.license-key-status{padding:.25rem .75rem;border-radius:999px;font-size:.75rem;font-weight:600}.license-key-status.active{background:#22543d;color:#9ae6b4}.license-key-status.expired{background:#742a2a;color:#feb2b2}.license-key-details{font-size:.875rem;color:#a0aec0}.license-display{margin-top:1.5rem;padding:1rem;background:rgba(79,209,197,.1);border:1px solid #4fd1c5;border-radius:8px}.license-key-display{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.license-key-value{font-family:'Courier New',monospace;font-size:1.125rem;font-weight:600;color:#4fd1c5;flex:1;padding:.5rem;background:rgba(0,0,0,.3);border-radius:4px}.copy-btn{padding:.5rem 1rem;background:#4fd1c5;color:#1a202c;border:none;border-radius:6px;font-weight:600;cursor:pointer;font-size:.875rem;transition:all .2s}.copy-btn:hover{background:#38b2ac}.copy-btn.copied{background:#48bb78}.license-info-row{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid rgba(255,255,255,.1)}.license-info-row:last-child{border-bottom:none}.license-info-label{color:#a0aec0;font-size:.9rem}.license-info-value{color:#e2e8f0;font-weight:500}.plan-context{text-align:center;color:#a0aec0;margin-bottom:1rem;font-size:1.1rem}.plan-context strong{color:#4fd1c5}.popular-badge{position:absolute;top:-12px;right:20px;background:linear-gradient(135deg,#667eea 0,#764ba2 100%);color:#fff;padding:.35rem .75rem;border-radius:999px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.pricing-card{background:#1a202c;border:2px solid #4a5568;border-radius:12px;padding:1.5rem;text-align:center;position:relative;width:100%;max-width:320px}@media (min-width:1024px){.pricing-card{max-width:none}}.pricing-card.popular{border-color:#667eea;box-shadow:0 0 20px rgba(102,126,234,.3)}.device-summary{padding:.75rem;background:rgba(79,209,197,.1);border-radius:6px;margin-bottom:1rem;text-align:center;font-weight:600}.current-plan-highlight{background:linear-gradient(135deg,rgba(79,209,197,.1) 0,rgba(56,178,172,.05) 100%);border-color:#4fd1c5}@media (max-width:768px){.tabs{flex-direction:column;border-bottom:none;max-height:300px;overflow-y:auto;overflow-x:hidden;margin-bottom:1rem;background:#1a202c;border-radius:8px;border:1px solid #2d3748}.tab{border-bottom:1px solid #2d3748;border-left:3px solid transparent;padding:1rem 1.25rem;width:100%;text-align:left;margin-bottom:0}.tab:last-child{border-bottom:none}.tab.active{border-bottom-color:#2d3748;border-left-color:#4fd1c5;background:rgba(79,209,197,.1)}.profile-content{padding:1rem}}.modal{display:none;position:fixed;z-index:10000;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.85);overflow:auto}.modal.active{display:block}.modal-content{background:#1a202c;margin:2rem auto;max-width:900px;border-radius:12px;position:relative}.modal-header{background:linear-gradient(135deg,#4fd1c5,#38b2ac);color:#fff;padding:2rem;border-radius:12px 12px 0 0;text-align:center}.modal-body{padding:2rem;color:#e2e8f0;max-height:60vh;overflow-y:auto}.modal-close{position:absolute;top:1rem;right:1rem;font-size:2rem;color:#fff;cursor:pointer;z-index:1;background:rgba(0,0,0,.3);border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;line-height:1}.modal-close:hover{background:rgba(0,0,0,.5)}.agreement-section{margin-bottom:2rem}.agreement-section h3{color:#4fd1c5;margin-bottom:.75rem;font-size:1.15rem}.agreement-section p{line-height:1.7;color:#cbd5e0}.signature-block{background:rgba(79,209,197,.1);border-left:4px solid #4fd1c5;padding:1.5rem;margin-top:2rem;border-radius:4px}.signature-row{display:flex;justify-content:space-between;margin-bottom:.5rem}.view-agreement-btn{margin-left:8px;padding:4px 12px;background:#4fd1c5;color:#1a202c;border:none;border-radius:4px;cursor:pointer;font-size:.85rem;font-weight:600;text-decoration:none;display:inline-block;transition:background .2s}.view-agreement-btn:hover{background:#38b2ac}