.onboarding-container{min-height:100vh;background:linear-gradient(135deg,#f8fffe,#f0f9ff,#faf5ff);display:flex;flex-direction:column}.progress-header{position:sticky;top:0;z-index:10;background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:16px 20px;border-bottom:1px solid rgba(0,0,0,.05)}.progress-bar{height:4px;background:#e2e8f0;border-radius:2px;overflow:hidden;margin-bottom:16px}.progress-fill{height:100%;background:linear-gradient(90deg,#4ecdc4,#44a08d);border-radius:2px}.step-dots{display:flex;justify-content:center;gap:12px;margin-bottom:8px}.step-dot{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:#fff}.step-dot span{color:#a0aec0}.step-dot.active span{color:#fff}.step-label{display:block;text-align:center;font-size:13px;color:#718096;font-weight:500}.step-content{flex:1;padding:20px 20px 100px;overflow-y:auto}.step-panel{max-width:500px;margin:0 auto}.step-panel h2{font-size:24px;font-weight:700;color:#1a202c;margin-bottom:8px;letter-spacing:-.5px}.step-desc{font-size:14px;color:#718096;margin-bottom:28px;line-height:1.5}.error-toast{background:linear-gradient(135deg,#fff5f5,#fed7d7);border:1px solid #fc8181;color:#c53030;padding:12px 16px;border-radius:12px;margin-bottom:20px;font-size:14px;font-weight:500}.type-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:20px}.type-cards.three-cols{grid-template-columns:repeat(3,1fr);gap:12px}.type-cards.three-cols .option-card{padding:20px 12px}.type-cards.three-cols .option-card h3{font-size:16px}.type-cards.three-cols .option-card p{font-size:12px}.option-card{background:#fff;border:2px solid #e2e8f0;border-radius:20px;padding:28px 20px;text-align:center;cursor:pointer;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 8px #0000000a}.option-card:hover{border-color:#4ecdc4;box-shadow:0 8px 24px #4ecdc426}.option-card.selected{border-color:#4ecdc4;background:linear-gradient(135deg,#4ecdc414,#44a08d0a);box-shadow:0 8px 24px #4ecdc433}.type-icon{margin-bottom:12px;transition:color .3s ease}.option-card h3{font-size:18px;font-weight:600;color:#2d3748;margin-bottom:4px}.option-card p{font-size:13px;color:#718096}.check-indicator{position:absolute;top:12px;right:12px}.form-section{margin-bottom:28px}.section-label{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:#2d3748;margin-bottom:14px}.label-num{width:22px;height:22px;background:linear-gradient(135deg,#4ecdc4,#44a08d);border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff}.label-hint{font-size:12px;font-weight:400;color:#a0aec0;margin-left:auto}.gender-row{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.gender-row .option-card{padding:20px;display:flex;flex-direction:column;align-items:center;gap:8px}.gender-icon{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .3s ease}.gender-icon.male{background:#63b3ed1a;color:#63b3ed}.gender-icon.female{background:#f687b31a;color:#f687b3}.option-card.selected .gender-icon.male{background:#63b3ed33}.option-card.selected .gender-icon.female{background:#f687b333}.select-wrapper{display:flex;align-items:center;gap:12px}.form-select{flex:1;padding:14px 44px 14px 16px;border:2px solid #e2e8f0;border-radius:14px;font-size:15px;background:#fff;cursor:pointer;transition:all .3s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.form-select:focus{outline:none;border-color:#4ecdc4;box-shadow:0 0 0 4px #4ecdc41f}.age-badge{padding:6px 14px;background:linear-gradient(135deg,#4ecdc4,#44a08d);border-radius:20px;font-size:14px;font-weight:600;color:#fff}.input-group{display:flex;align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:14px;overflow:hidden;transition:all .3s ease}.input-group:focus-within{border-color:#4ecdc4;box-shadow:0 0 0 4px #4ecdc41f}.form-input{flex:1;padding:14px 16px;border:none;font-size:15px;outline:none;background:transparent}.input-suffix{padding:0 16px;font-size:14px;color:#718096;font-weight:500}.bmi-card{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-radius:16px;margin-top:16px;overflow:hidden}.bmi-info{display:flex;flex-direction:column;gap:2px}.bmi-label{font-size:12px;color:#718096}.bmi-value{font-size:28px;font-weight:700}.bmi-tag{padding:6px 14px;border-radius:20px;font-size:13px;font-weight:600;color:#fff}.option-list{display:flex;flex-direction:column;gap:10px}.option-item{background:#fff;border:2px solid #e2e8f0;border-radius:14px;padding:14px 16px;display:flex;align-items:center;gap:14px;cursor:pointer;transition:all .2s ease}.option-item.selected{border-color:#4ecdc4;background:linear-gradient(135deg,#4ecdc40f,#44a08d05)}.option-radio{width:22px;height:22px;border:2px solid #cbd5e0;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s ease}.radio-dot{width:10px;height:10px;background:#fff;border-radius:50%}.option-checkbox{width:22px;height:22px;border:2px solid #cbd5e0;border-radius:7px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s ease}.option-text{display:flex;flex-direction:column;gap:2px}.option-desc{font-size:12px;color:#a0aec0}.consent-panel{display:flex;align-items:center;justify-content:center;min-height:60vh}.consent-card{background:#fff;border-radius:24px;padding:40px 28px;text-align:center;box-shadow:0 20px 60px #00000014;max-width:400px;width:100%}.consent-icon{margin-bottom:20px;color:#4ecdc4}.consent-card h2{font-size:22px;margin-bottom:20px}.consent-text{text-align:left;margin-bottom:28px}.consent-text p{font-size:14px;color:#4a5568;line-height:1.8;margin-bottom:12px}.consent-text strong{color:#2d3748;font-weight:600}.consent-checkbox{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 20px;background:#f7fafc;border-radius:14px;cursor:pointer;border:2px solid transparent;transition:all .3s ease}.consent-checkbox:hover{background:#edf2f7}.consent-checkbox.checked{background:linear-gradient(135deg,#4ecdc41a,#44a08d0d);border-color:#4ecdc4}.checkbox-box{width:26px;height:26px;border:2px solid #cbd5e0;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s ease}.consent-checkbox span:last-child{font-size:15px;font-weight:500;color:#2d3748}.footer-actions{position:fixed;bottom:0;left:0;right:0;padding:16px 20px;padding-bottom:calc(16px + env(safe-area-inset-bottom));background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid rgba(0,0,0,.05);display:flex;gap:12px;max-width:540px;margin:0 auto}.btn-back{flex:1;padding:16px;background:#fff;border:2px solid #e2e8f0;border-radius:14px;font-size:15px;font-weight:600;color:#718096;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:all .2s ease}.btn-back:hover{background:#f7fafc;border-color:#cbd5e0}.btn-next{flex:2;padding:16px;background:linear-gradient(135deg,#4ecdc4,#44a08d);border:none;border-radius:14px;font-size:15px;font-weight:600;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:all .2s ease;box-shadow:0 4px 14px #4ecdc466}.btn-next:hover:not(.disabled){box-shadow:0 6px 20px #4ecdc480}.btn-next.disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.loading-spinner{width:20px;height:20px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@media (min-width: 768px){.step-content{padding:32px 32px 120px}.step-panel{max-width:560px}.footer-actions{border-radius:20px 20px 0 0;left:50%;transform:translate(-50%)}}.tab-bar{position:fixed;bottom:0;left:0;right:0;height:70px;background:#fffffff2;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);display:flex;justify-content:space-around;align-items:center;box-shadow:0 -8px 30px #0000000f;z-index:100;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid rgba(78,205,196,.1)}.tab-item{display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;padding:8px 12px;border-radius:12px;transition:all .3s cubic-bezier(.34,1.56,.64,1);position:relative;flex:1;min-width:0}.tab-item:before{content:"";position:absolute;top:-2px;left:50%;transform:translate(-50%) scaleX(0);width:40px;height:4px;background:linear-gradient(135deg,#4ecdc4,#44a08d);border-radius:0 0 4px 4px;transition:transform .3s cubic-bezier(.34,1.56,.64,1)}.tab-item.active:before{transform:translate(-50%) scaleX(1)}.tab-item:hover{background:#4ecdc414}.tab-item.active{background:#4ecdc41a}.tab-icon{width:26px;height:26px;display:flex;align-items:center;justify-content:center;transition:all .3s cubic-bezier(.34,1.56,.64,1)}.tab-icon svg{width:100%;height:100%}.tab-item.active .tab-icon{transform:scale(1.15) translateY(-2px)}.tab-item:active .tab-icon{transform:scale(.9)}.tab-label{font-size:10px;margin-top:4px;color:#a0aec0;font-weight:500;transition:all .3s ease;white-space:nowrap}.tab-item.active .tab-label{color:#4ecdc4;font-weight:600}.tab-item:hover .tab-label{color:#68d391}@media (min-width: 768px){.tab-bar{height:80px;max-width:500px;left:50%;transform:translate(-50%);bottom:20px;border-radius:24px;border:1px solid rgba(78,205,196,.15);box-shadow:0 10px 40px #0000001a}.tab-item{padding:12px 48px;border-radius:18px}.tab-icon{width:30px;height:30px}.tab-label{font-size:13px;margin-top:6px}}.loading-container{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(180deg,#f0fdf9,#f7fafc)}.loading-spinner{width:40px;height:40px;border:3px solid #e2e8f0;border-top-color:#4ecdc4;border-radius:50%;animation:spin .8s linear infinite;margin-bottom:16px}.loading-container p{color:#718096;font-size:14px}.home-container{min-height:100vh;background:linear-gradient(180deg,#f0fdf9,#f7fafc);padding-bottom:85px}.home-header{position:relative;padding:24px 20px 40px;overflow:hidden}.header-bg{position:absolute;top:-60%;left:-20%;right:-20%;height:200%;background:linear-gradient(135deg,#4ecdc4,#44a08d);border-radius:0 0 50% 50%;z-index:0}.home-header h1{position:relative;z-index:1;font-size:18px;font-weight:600;text-align:center;color:#fff;animation:fade-down .6s ease}@keyframes fade-down{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.home-content{padding:0 16px;margin-top:-20px;position:relative;z-index:1}.profile-card{background:#fff;border-radius:20px;padding:20px;box-shadow:0 10px 40px #4ecdc426;animation:slide-up .5s cubic-bezier(.34,1.56,.64,1);transition:transform .3s ease,box-shadow .3s ease}.profile-card:hover{transform:translateY(-4px);box-shadow:0 15px 50px #4ecdc433}@keyframes slide-up{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.profile-card-header{display:flex;align-items:center;gap:14px;margin-bottom:18px}.profile-avatar-home{width:52px;height:52px;background:linear-gradient(135deg,#4ecdc4,#44a08d);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.profile-avatar-home span{font-size:22px;font-weight:600;color:#fff}.profile-info{flex:1;min-width:0}.profile-info h3{font-size:17px;font-weight:600;color:#2d3748;margin-bottom:4px}.profile-tag{font-size:13px;color:#718096;background:linear-gradient(135deg,#4ecdc41a,#44a08d0d);padding:4px 10px;border-radius:12px;display:inline-block}.edit-btn{width:40px;height:40px;background:#f7fafc;border:none;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#718096;cursor:pointer;transition:all .3s ease;flex-shrink:0}.edit-btn:hover{background:linear-gradient(135deg,#4ecdc4,#44a08d);color:#fff;transform:scale(1.1)}.profile-stats{display:flex;align-items:center;justify-content:space-around;padding:16px 0;border-top:1px solid #f0f5f4;border-bottom:1px solid #f0f5f4}.stat-item{text-align:center;flex:1}.stat-value{display:block;font-size:16px;font-weight:700;color:#2d3748;margin-bottom:4px}.stat-label{font-size:12px;color:#a0aec0}.stat-divider{width:1px;height:36px;background:#e2e8f0}.profile-extra{display:flex;gap:12px;margin-top:14px}.extra-item{flex:1;background:#f7fafc;border-radius:12px;padding:12px;display:flex;justify-content:space-between;align-items:center}.extra-label{font-size:13px;color:#718096}.extra-value{font-size:13px;font-weight:600;color:#2d3748}.health-alert{display:flex;align-items:center;gap:10px;margin-top:14px;padding:12px 14px;background:linear-gradient(135deg,#fffaf0,#fef3c7);border-radius:12px;border:1px solid #fbd38d}.health-alert span{font-size:13px;color:#c05621;font-weight:500}.main-feature{display:flex;align-items:center;gap:16px;margin-top:20px;background:linear-gradient(135deg,#68d391,#48bb78);border-radius:20px;padding:20px;box-shadow:0 10px 30px #68d3914d;cursor:pointer;transition:all .3s cubic-bezier(.34,1.56,.64,1);animation:slide-up .5s cubic-bezier(.34,1.56,.64,1) .1s both}.main-feature:hover{transform:translateY(-4px) scale(1.02);box-shadow:0 15px 40px #68d39166}.main-feature:active{transform:scale(.98)}.main-feature-icon{width:60px;height:60px;border-radius:16px;display:flex;align-items:center;justify-content:center;padding:14px;background:#ffffff40;flex-shrink:0}.main-feature-icon svg{width:100%;height:100%;color:#fff}.main-feature-content{flex:1;display:flex;flex-direction:column;gap:4px}.main-feature-label{font-size:18px;font-weight:600;color:#fff}.main-feature-desc{font-size:13px;color:#ffffffd9}.main-feature-arrow{width:36px;height:36px;background:#fff3;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px;background:#fff;border-radius:20px;padding:20px 16px;box-shadow:0 10px 40px #0000000a}.feature-item{display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 4px;cursor:pointer;border-radius:16px;transition:all .3s cubic-bezier(.34,1.56,.64,1);animation:feature-pop .5s cubic-bezier(.34,1.56,.64,1) var(--delay) both}@keyframes feature-pop{0%{opacity:0;transform:scale(.5) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}.feature-item:hover{background:linear-gradient(135deg,#f7fafc,#edf2f7);transform:translateY(-6px) scale(1.02)}.feature-item:active{transform:scale(.95)}.feature-icon{width:54px;height:54px;border-radius:16px;display:flex;align-items:center;justify-content:center;padding:13px;background:linear-gradient(135deg,color-mix(in srgb,var(--icon-color) 10%,white),color-mix(in srgb,var(--icon-color) 5%,white));transition:all .3s ease;position:relative;overflow:hidden}.feature-icon:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,transparent 0%,rgba(255,255,255,.5) 100%);opacity:0;transition:opacity .3s ease}.feature-item:hover .feature-icon{transform:scale(1.1) rotate(5deg);box-shadow:0 8px 25px color-mix(in srgb,var(--icon-color) 30%,transparent)}.feature-item:hover .feature-icon:before{opacity:1}.feature-icon svg{width:100%;height:100%;position:relative;z-index:1}.feature-label{font-size:12px;color:#4a5568;font-weight:500;text-align:center;transition:color .3s ease}.feature-item:hover .feature-label{color:#2d3748}.health-tip{margin-top:20px;background:#fff;border-radius:20px;padding:20px;display:flex;gap:16px;align-items:flex-start;box-shadow:0 10px 40px #0000000a;animation:slide-up .6s cubic-bezier(.34,1.56,.64,1) .4s both;transition:all .3s ease;border-left:4px solid #4ecdc4}.health-tip:hover{transform:translate(4px);box-shadow:0 15px 50px #4ecdc41f}.tip-icon-wrap{width:44px;height:44px;background:linear-gradient(135deg,#4ecdc41a,#44a08d0d);border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.tip-svg{width:24px;height:24px}.tip-content{flex:1}.tip-title{font-size:15px;font-weight:600;color:#2d3748;display:block;margin-bottom:6px}.tip-content p{font-size:13px;color:#718096;line-height:1.6;margin:0}@media (max-width: 380px){.feature-grid{grid-template-columns:repeat(3,1fr)}.main-feature{padding:16px}.main-feature-icon{width:50px;height:50px}.main-feature-label{font-size:16px}}@media (min-width: 768px){.home-container{padding-bottom:100px}.home-header{padding:32px 40px 60px}.header-bg{border-radius:0 0 40% 40%}.home-header h1{font-size:24px}.home-content{max-width:900px;margin:-30px auto 0;padding:0 32px}.user-card{padding:32px 40px;border-radius:24px}.user-avatar{width:70px;height:70px}.user-avatar span{font-size:28px}.greeting{font-size:20px}.sub-text{font-size:14px}.create-btn{padding:12px 24px;font-size:15px}.feature-grid{grid-template-columns:repeat(3,1fr);gap:16px;padding:32px 24px;border-radius:24px;margin-top:20px}.main-feature{padding:24px;border-radius:24px;margin-top:24px}.main-feature-icon{width:70px;height:70px;padding:16px}.main-feature-label{font-size:20px}.main-feature-desc{font-size:14px}.feature-item{padding:20px 8px}.feature-icon{width:64px;height:64px;border-radius:18px;padding:15px}.feature-label{font-size:14px}.health-tip{padding:28px 32px;border-radius:24px;margin-top:24px}.tip-icon-wrap{width:56px;height:56px;border-radius:16px}.tip-svg{width:28px;height:28px}.tip-title{font-size:17px}.tip-content p{font-size:14px}}@media (min-width: 1200px){.home-content{max-width:1100px}.feature-grid{grid-template-columns:repeat(3,1fr);gap:20px;padding:40px 32px}.feature-icon{width:72px;height:72px}.feature-label{font-size:15px}}.profile-container{min-height:100vh;background:linear-gradient(180deg,#f0fdf9,#f7fafc);padding-bottom:calc(180px + env(safe-area-inset-bottom,34px))}.profile-header{position:relative;padding:50px 20px 60px;text-align:center;overflow:hidden}.header-bg-profile{position:absolute;top:-40%;left:-30%;right:-30%;height:180%;background:linear-gradient(135deg,#4ecdc4,#44a08d);border-radius:0 0 50% 50%;z-index:0}.profile-avatar{position:relative;width:90px;height:90px;background:#ffffff40;border:3px solid rgba(255,255,255,.5);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 18px;z-index:1;animation:avatar-enter .6s cubic-bezier(.34,1.56,.64,1)}@keyframes avatar-enter{0%{opacity:0;transform:scale(.5) rotate(-10deg)}to{opacity:1;transform:scale(1) rotate(0)}}.profile-avatar span{font-size:36px;font-weight:600;color:#fff;z-index:1}.avatar-glow{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;border:2px solid rgba(255,255,255,.3);border-radius:50%;animation:glow-pulse 2.5s ease-in-out infinite}@keyframes glow-pulse{0%,to{transform:scale(1);opacity:.8}50%{transform:scale(1.15);opacity:.3}}.profile-name{position:relative;z-index:1;font-size:22px;font-weight:600;color:#fff;margin-bottom:6px;animation:fade-up .5s ease .1s both}.profile-phone{position:relative;z-index:1;font-size:14px;color:#ffffffd9;animation:fade-up .5s ease .2s both}@keyframes fade-up{0%{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}.profile-content{padding:0 16px;margin-top:-30px;position:relative;z-index:1}.info-card{background:#fff;border-radius:20px;padding:20px;box-shadow:0 10px 40px #4ecdc41f;margin-bottom:16px;animation:slide-up .5s cubic-bezier(.34,1.56,.64,1)}@keyframes slide-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.info-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.info-card-header h3{font-size:16px;font-weight:600;color:#2d3748}.edit-info-btn{display:flex;align-items:center;gap:6px;padding:8px 14px;background:linear-gradient(135deg,#4ecdc41a,#44a08d0d);border:none;border-radius:20px;font-size:13px;font-weight:500;color:#4ecdc4;cursor:pointer;transition:all .3s ease}.edit-info-btn:hover{background:linear-gradient(135deg,#4ecdc4,#44a08d);color:#fff}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.info-item{background:#f7fafc;border-radius:12px;padding:14px 12px;text-align:center}.info-label{display:block;font-size:12px;color:#a0aec0;margin-bottom:6px}.info-value{display:block;font-size:15px;font-weight:600;color:#2d3748}.habits-section,.bmi-section{margin-top:16px;padding-top:16px;border-top:1px solid #f0f5f4}.bmi-display{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,#f7fafc,#edf2f7);border-radius:14px;padding:16px}.bmi-icon{width:48px;height:48px;background:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 4px 12px #0000000d}.bmi-info{flex:1}.bmi-label{display:block;font-size:12px;color:#a0aec0;margin-bottom:4px}.bmi-value-row{display:flex;align-items:center;gap:10px}.bmi-number{font-size:24px;font-weight:700}.bmi-status-tag{padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600;color:#fff}.habits-section h4{font-size:14px;font-weight:600;color:#2d3748;margin-bottom:12px}.habits-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.habit-item{display:flex;align-items:center;gap:10px;background:#f7fafc;border-radius:10px;padding:10px 12px}.habit-icon{width:32px;height:32px;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.habit-item div{display:flex;flex-direction:column;min-width:0}.habit-label{font-size:11px;color:#a0aec0}.habit-value{font-size:12px;font-weight:600;color:#2d3748;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.health-status{background:linear-gradient(135deg,#f0fdf9,#e6fffa);border-radius:14px;padding:16px;border:1px solid rgba(78,205,196,.2)}.health-status-header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.health-status-header span{font-size:14px;font-weight:600;color:#2d3748}.health-status-text{font-size:14px;color:#4a5568;margin:0}.health-status-text strong{color:#4ecdc4}.menu-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 10px 40px #4ecdc41f}.menu-item{display:flex;align-items:center;padding:18px 20px;border-bottom:1px solid #f0f5f4;cursor:pointer;transition:all .3s ease;animation:slide-in .4s cubic-bezier(.34,1.56,.64,1) var(--delay) both;position:relative;overflow:hidden}@keyframes slide-in{0%{opacity:0;transform:translate(-30px)}to{opacity:1;transform:translate(0)}}.menu-item:before{content:"";position:absolute;left:0;top:0;bottom:0;width:0;background:linear-gradient(90deg,rgba(78,205,196,.1) 0%,transparent 100%);transition:width .3s ease}.menu-item:hover:before{width:100%}.menu-item:last-child{border-bottom:none}.menu-item:hover{background:#fafffe}.menu-item:active{background:#f0fdf9;transform:scale(.99)}.menu-icon{width:42px;height:42px;background:linear-gradient(135deg,#4ecdc41a,#44a08d0d);border-radius:12px;display:flex;align-items:center;justify-content:center;margin-right:14px;color:#4ecdc4;transition:all .3s ease;flex-shrink:0}.menu-icon svg{width:22px;height:22px}.menu-item:hover .menu-icon{background:linear-gradient(135deg,#4ecdc4,#44a08d);color:#fff;transform:scale(1.1) rotate(5deg)}.menu-label{flex:1;font-size:15px;color:#2d3748;font-weight:500;position:relative;z-index:1}.menu-arrow{color:#cbd5e0;display:flex;align-items:center;transition:all .3s ease;position:relative;z-index:1}.menu-item:hover .menu-arrow{transform:translate(6px);color:#4ecdc4}.profile-logout-btn{width:100%;margin-top:24px;margin-bottom:60px;padding:16px;background:linear-gradient(135deg,#e53e3e,#c53030)!important;border:none!important;border-radius:16px;color:#fff!important;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 4px 15px #e53e3e4d}.profile-logout-btn:hover{background:linear-gradient(135deg,#c53030,#9b2c2c)!important;transform:translateY(-2px);box-shadow:0 8px 25px #e53e3e66}.profile-logout-btn:active{transform:scale(.98)}.profile-logout-btn svg{transition:transform .3s ease}.profile-logout-btn:hover svg{transform:translate(-4px)}@media (min-width: 768px){.profile-container{padding-bottom:100px}.profile-header{padding:60px 40px 80px}.header-bg-profile{border-radius:0 0 40% 40%}.profile-avatar{width:110px;height:110px}.profile-avatar span{font-size:44px}.profile-name{font-size:26px}.profile-phone{font-size:16px}.profile-content{max-width:600px;margin:-40px auto 0;padding:0 32px}.menu-card{border-radius:24px}.menu-item{padding:22px 28px}.menu-icon{width:50px;height:50px;border-radius:14px;margin-right:18px}.menu-icon svg{width:26px;height:26px}.menu-label{font-size:16px}.profile-logout-btn{max-width:600px;margin:28px auto 0;padding:18px;border-radius:18px;font-size:16px}}@media (min-width: 1200px){.profile-content,.profile-logout-btn{max-width:700px}}.ai-detect-container{min-height:100vh;background:#f5f5f5;display:flex;flex-direction:column}.detect-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:linear-gradient(135deg,#4ecdc4,#44a08d);position:sticky;top:0;z-index:10}.detect-header h1{font-size:18px;font-weight:600;color:#fff}.back-btn{width:36px;height:36px;border:none;background:transparent;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;transition:all .2s ease}.back-btn:hover{background:#ffffff26}.header-spacer{width:36px}.step-indicator{display:flex;align-items:center;justify-content:center;padding:20px;gap:0;background:#fff}.step-indicator .step-dot{width:32px;height:32px;border-radius:50%;background:#e2e8f0;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;color:#718096;transition:all .3s ease}.step-indicator .step-dot.active{background:linear-gradient(135deg,#4ecdc4,#44a08d);color:#fff;box-shadow:0 4px 12px #4ecdc466}.step-indicator .step-dot.done{background:#4ecdc4;color:#fff}.step-line{width:50px;height:3px;background:#e2e8f0;margin:0 8px;transition:background .3s ease}.step-line.active{background:#4ecdc4}.detect-content{flex:1;padding:0 0 140px;max-width:600px;margin:0 auto;width:100%}.intro-page{background:#f5f5f5}.pose-card{display:flex;gap:16px;padding:20px 16px;background:#fff;border-bottom:1px solid #f0f0f0}.pose-card:first-child{border-top:1px solid #f0f0f0}.pose-figure{width:80px;height:120px;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:8px;background:#f0fdf9}.pose-demo-img{width:100%;height:100%;object-fit:contain;border-radius:8px}.body-svg{width:50px;height:100px}.pose-info{flex:1;min-width:0}.pose-title{font-size:16px;font-weight:600;color:#4ecdc4;margin-bottom:10px}.pose-desc{font-size:14px;color:#333;line-height:1.6;margin-bottom:12px;font-weight:500}.pose-tip{font-size:13px;color:#e53e3e;line-height:1.5;font-weight:500;background:#fff5f5;padding:6px 10px;border-radius:6px;margin-top:8px;display:flex;align-items:center;gap:6px}.pose-tip .tip-icon{flex-shrink:0}.detect-footer{position:fixed;bottom:0;left:0;right:0;padding:16px 20px;padding-bottom:calc(16px + env(safe-area-inset-bottom));background:#fff;display:flex;flex-direction:column;gap:12px;max-width:640px;margin:0 auto;box-shadow:0 -4px 20px #00000014}.btn-secondary{padding:14px;background:#fff;border:2px solid #e2e8f0;border-radius:24px;font-size:15px;font-weight:600;color:#718096;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:all .2s ease}.btn-secondary:hover{background:#f7fafc;border-color:#cbd5e0}.btn-primary{padding:14px;background:linear-gradient(135deg,#4ecdc4,#44a08d);border:none;border-radius:24px;font-size:16px;font-weight:600;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:all .2s ease;box-shadow:0 4px 14px #4ecdc466}.btn-primary:hover:not(.disabled){box-shadow:0 6px 20px #4ecdc480}.btn-primary.disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.agreement-row{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 0;cursor:pointer;font-size:14px;color:#666}.check-circle{width:20px;height:20px;border:2px solid #4ecdc4;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s ease}.agreement-row.checked .check-circle{background:#4ecdc4}.agreement-link{color:#4ecdc4;text-decoration:none;font-weight:500}.capture-content{display:flex;flex-direction:column;align-items:center;padding:20px 20px 100px;background:#fff}.capture-header{text-align:center;margin-bottom:24px}.step-badge{display:inline-block;padding:6px 16px;background:linear-gradient(135deg,#4ecdc4,#44a08d);border-radius:20px;font-size:13px;font-weight:600;color:#fff;margin-bottom:12px}.capture-header h2{font-size:22px;font-weight:700;color:#1a202c;margin-bottom:8px}.capture-header p{font-size:14px;color:#718096}.capture-area{width:100%;max-width:300px;aspect-ratio:3/4;margin-bottom:24px}.capture-placeholder{width:100%;height:100%;background:#f8fffe;border:3px dashed #4ecdc4;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}.capture-placeholder:hover{background:#4ecdc40f;border-color:#44a08d}.body-outline{margin-bottom:16px;opacity:.7}.capture-hint{display:flex;flex-direction:column;align-items:center;gap:10px;color:#4ecdc4}.capture-hint span{font-size:14px;font-weight:500;color:#718096}.pose-guide-frame{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;pointer-events:none}.pose-guide-svg{width:90%;height:90%;opacity:.8;filter:drop-shadow(0 0 8px rgba(78,205,196,.3));margin-bottom:20px}.capture-placeholder:hover .pose-guide-svg{opacity:.9;filter:drop-shadow(0 0 12px rgba(78,205,196,.5))}.capture-hint{position:relative;z-index:10;pointer-events:none}.preview-image{width:100%;height:100%;position:relative;border-radius:20px;overflow:hidden}.preview-image img{width:100%;height:100%;object-fit:cover}.retake-btn{position:absolute;bottom:16px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;padding:10px 20px;background:#000000b3;border:none;border-radius:24px;color:#fff;font-size:14px;font-weight:500;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .2s ease}.retake-btn:hover{background:#000000d9}.capture-tips{display:flex;flex-direction:column;gap:10px;width:100%;max-width:300px}.tip-item{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#f7fafc;border-radius:10px;font-size:13px;color:#4a5568}.analyzing-content{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;background:#fff}.analyzing-animation{text-align:center}.scan-container{width:180px;height:260px;position:relative;margin:0 auto 40px;background:linear-gradient(135deg,#4ecdc414,#44a08d0a);border-radius:16px;display:flex;align-items:center;justify-content:center;overflow:hidden}.body-silhouette{opacity:.6}.scan-line{position:absolute;left:10px;right:10px;height:4px;background:linear-gradient(90deg,transparent,#4ecdc4,transparent);border-radius:2px;box-shadow:0 0 20px #4ecdc499}.analyzing-text{text-align:center}.loading-dots{font-size:17px;font-weight:600;color:#2d3748;margin-bottom:10px}.analyzing-hint{font-size:14px;color:#718096}.result-content{padding:20px 20px 120px;background:#f5f5f5}.result-header{text-align:center;margin-bottom:24px}.result-score{margin-bottom:16px}.score-circle{width:120px;height:120px;background:linear-gradient(135deg,#4ecdc4,#44a08d);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0 auto;box-shadow:0 10px 30px #4ecdc466}.score-value{font-size:42px;font-weight:700;color:#fff;line-height:1}.score-label{font-size:13px;color:#ffffffe6;margin-top:4px}.result-status{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:20px;font-size:14px;font-weight:600}.result-status.good{background:#68d39126;color:#38a169}.result-status.warning{background:#f6ad5526;color:#dd6b20}.result-details{background:#fff;border-radius:16px;padding:20px;margin-bottom:16px;box-shadow:0 2px 12px #0000000a}.result-details h3{font-size:15px;font-weight:600;color:#2d3748;margin-bottom:16px}.result-items{display:flex;flex-direction:column;gap:14px}.result-item{padding-bottom:14px;border-bottom:1px solid #f0f0f0}.result-item:last-child{padding-bottom:0;border-bottom:none}.item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.item-name{font-size:14px;color:#4a5568}.item-status{font-size:12px;font-weight:600;padding:3px 10px;border-radius:12px}.item-status.normal{background:#68d39126;color:#38a169}.item-status.warning{background:#f6ad5526;color:#dd6b20}.item-status.danger{background:#fc818126;color:#e53e3e}.item-bar{height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}.item-fill{height:100%;background:linear-gradient(90deg,#68d391,#48bb78);border-radius:3px;transition:width .5s ease}.item-fill.warning{background:linear-gradient(90deg,#f6ad55,#ed8936)}.item-fill.danger{background:linear-gradient(90deg,#fc8181,#f56565)}.result-suggestion{background:#fff;border-radius:16px;padding:20px;box-shadow:0 2px 12px #0000000a}.result-suggestion h3{font-size:15px;font-weight:600;color:#2d3748;margin-bottom:16px}.suggestion-list{display:flex;flex-direction:column;gap:12px}.suggestion-item{display:flex;align-items:flex-start;gap:12px;padding:12px;background:#f7fafc;border-radius:10px}.suggestion-icon{width:24px;height:24px;background:linear-gradient(135deg,#4ecdc4,#44a08d);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff;flex-shrink:0}.suggestion-item span:last-child{font-size:13px;color:#4a5568;line-height:1.5;padding-top:2px}@media (min-width: 768px){.detect-content{padding-bottom:160px}.detect-footer{border-radius:16px 16px 0 0;left:50%;transform:translate(-50%)}.capture-area{max-width:340px}.pose-card{padding:24px 20px}}.disclaimer-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:100;padding:20px}.disclaimer-modal{background:#fff;border-radius:16px;width:100%;max-width:320px;overflow:hidden}.disclaimer-modal h3{font-size:18px;font-weight:600;color:#1a202c;text-align:center;padding:20px 20px 16px;margin:0}.disclaimer-content{padding:0 20px 20px}.disclaimer-content p{font-size:14px;color:#4a5568;line-height:1.8;margin:0}.disclaimer-btn{width:100%;padding:14px;background:transparent;border:none;border-top:1px solid #e2e8f0;font-size:16px;font-weight:500;color:#4ecdc4;cursor:pointer;transition:background .2s ease}.disclaimer-btn:hover{background:#f7fafc}.model-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px;background:#4ecdc41a;margin:16px;border-radius:12px;font-size:14px;color:#4ecdc4}.loading-spinner-small{width:18px;height:18px;border:2px solid rgba(78,205,196,.3);border-top-color:#4ecdc4;border-radius:50%;animation:spin .8s linear infinite}.progress-bar{width:200px;height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden;margin:0 auto 16px}.progress-fill{height:100%;background:linear-gradient(90deg,#4ecdc4,#44a08d);border-radius:3px;transition:width .3s ease}.tip-dot{width:6px;height:6px;background:#4ecdc4;border-radius:50%;flex-shrink:0}.item-desc{font-size:12px;color:#718096;margin-top:6px}.body-outline .body-svg{width:80px;height:160px;opacity:.6}.scan-container .body-svg{width:100px;height:180px}.ai-suggestion-section{background:#fff;border-radius:16px;padding:20px;margin-top:16px;box-shadow:0 2px 12px #0000000a;border:1px solid rgba(78,205,196,.2)}.ai-suggestion-section h3{font-size:15px;font-weight:600;color:#2d3748;margin-bottom:16px;display:flex;align-items:center;gap:8px}.ai-suggestion-loading{display:flex;flex-direction:column;align-items:center;padding:20px;gap:12px}.ai-suggestion-loading p{font-size:13px;color:#718096}.typing-indicator{display:flex;gap:4px}.typing-indicator span{width:8px;height:8px;background:#4ecdc4;border-radius:50%;animation:typing 1.4s infinite ease-in-out}.typing-indicator span:nth-child(1){animation-delay:0s}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-6px);opacity:1}}.ai-suggestion-content{background:linear-gradient(135deg,#4ecdc40d,#44a08d08);border-radius:12px;padding:16px;border-left:3px solid #4ecdc4}.ai-suggestion-content p{font-size:14px;color:#4a5568;line-height:1.8;margin:0 0 12px}.ai-suggestion-content p:last-child{margin-bottom:0}.health-education-page{min-height:100vh;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);padding-bottom:80px}.page-header{padding:24px 20px 16px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff}.page-header h1{font-size:24px;font-weight:700;margin:0}.page-header .subtitle{font-size:14px;opacity:.9;margin-top:4px}.back-btn{background:none;border:none;color:#fff;font-size:16px;cursor:pointer;padding:0;margin-bottom:12px}.education-tabs{display:flex;gap:8px;padding:16px 20px;overflow-x:auto;background:#fff;border-bottom:1px solid #e5e7eb}.tab-btn{padding:8px 16px;border:none;background:#f3f4f6;border-radius:20px;font-size:14px;color:#6b7280;white-space:nowrap;cursor:pointer;transition:all .2s}.tab-btn.active{background:#3b82f6;color:#fff}.education-content{padding:20px}.content-section{margin-bottom:24px}.section-header h2{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:600;color:#1f2937;margin:0}.section-header h2 svg{width:24px;height:24px}.section-header p{font-size:13px;color:#6b7280;margin-top:4px}.content-list{display:flex;flex-direction:column;gap:12px}.education-card{display:flex;background:#fff;border-radius:16px;padding:16px;box-shadow:0 2px 8px #0000000f;cursor:pointer}.card-thumbnail{width:60px;height:60px;background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:28px;flex-shrink:0}.card-content{flex:1;margin-left:14px}.card-title{font-size:15px;font-weight:600;color:#1f2937;margin:0}.card-description{font-size:13px;color:#6b7280;margin:4px 0}.card-meta{display:flex;gap:12px;margin-top:8px}.card-meta span{font-size:12px;color:#9ca3af}.course-card{background:#fff;border-radius:16px;padding:20px;box-shadow:0 2px 8px #0000000f}.course-header{display:flex;align-items:flex-start;margin-bottom:16px}.course-icon{width:50px;height:50px;background:linear-gradient(135deg,#fef3c7,#fde68a);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px}.course-info{margin-left:14px}.course-info h3{font-size:16px;font-weight:600;color:#1f2937;margin:0}.course-info p{font-size:13px;color:#6b7280;margin-top:4px}.course-lessons{border-top:1px solid #f3f4f6;padding-top:16px;margin-bottom:16px}.lesson-item{display:flex;align-items:center;padding:10px 0;border-bottom:1px solid #f9fafb}.lesson-number{width:24px;height:24px;background:#f3f4f6;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;color:#6b7280}.lesson-title{flex:1;margin-left:12px;font-size:14px;color:#374151}.lesson-status{font-size:16px;color:#d1d5db}.lesson-status.completed{color:#10b981}.start-course-btn{width:100%;padding:12px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;border:none;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer}.article-content{padding:20px;background:#fff;min-height:calc(100vh - 120px)}.article-body{line-height:1.8;color:#374151}.article-body h3{font-size:18px;font-weight:600;color:#1f2937;margin:24px 0 12px}.article-body p{margin:12px 0;font-size:15px}.article-body strong{color:#1f2937}.article-illustration{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-radius:16px;padding:20px;margin-bottom:20px;display:flex;justify-content:center}.article-illustration svg{width:100%;max-width:200px;height:auto}.inline-illustration{background:#f9fafb;border-radius:12px;padding:16px;margin:16px 0;display:flex;justify-content:center}.inline-illustration svg{width:120px;height:80px}.tip-box{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:12px;margin:16px 0;font-size:14px}.tip-box .tip-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center}.tip-box svg.tip-icon{width:20px;height:20px}.tip-important{background:#d1fae5;color:#065f46;border-left:4px solid #10b981}.tip-warning{background:#fef3c7;color:#92400e;border-left:4px solid #f59e0b}.tip-reminder{background:#dbeafe;color:#1e40af;border-left:4px solid #3b82f6}.compare-box{display:flex;gap:16px;margin:16px 0;justify-content:center}.compare-item{display:flex;flex-direction:column;align-items:center;padding:16px;border-radius:12px;flex:1;max-width:140px}.compare-item svg{width:60px;height:80px;margin-bottom:8px}.compare-item span{font-size:12px;font-weight:500}.compare-item.wrong{background:#fee2e2}.compare-item.wrong span{color:#dc2626}.compare-item.correct{background:#d1fae5}.compare-item.correct span{color:#059669}.visual-comparison{margin:20px 0;padding:16px;background:#f9fafb;border-radius:16px}.visual-comparison .compare-box{margin:0 0 16px}.visual-comparison .compare-item{background:transparent;padding:0;max-width:none;flex:1}.visual-comparison .compare-item svg{width:100%;max-width:120px;height:auto;margin-bottom:10px;border-radius:8px;box-shadow:0 2px 8px #00000014}.compare-label{display:inline-block;padding:4px 12px;border-radius:16px;font-size:13px!important;font-weight:600!important}.compare-label.wrong{background:#fee2e2;color:#dc2626!important}.compare-label.correct{background:#d1fae5;color:#059669!important}.article-hero-image{margin:-20px -20px 20px;overflow:hidden;background:#f8fafc}.article-main-image{width:100%;height:auto;display:block;object-fit:contain;max-height:none}.illustration-placeholder{width:100%;background:linear-gradient(135deg,#f0fdf4,#dcfce7)}.illustration-placeholder svg{display:block}.photo-example-placeholder{margin-top:16px;padding:20px;background:linear-gradient(135deg,#f3e8ff,#e9d5ff);border-radius:12px;text-align:center;border:2px dashed #a855f7}.photo-example-placeholder .placeholder-icon{display:flex;align-items:center;justify-content:center;margin:0 auto 12px}.photo-example-placeholder svg.placeholder-icon{width:48px;height:48px}.photo-example-placeholder p{font-size:13px;color:#7e22ce;margin:0}.tip-practice{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;border-left:4px solid #f59e0b}.training-tip{display:flex;align-items:flex-start;gap:12px;background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:1px solid #93c5fd;border-radius:12px;padding:16px;margin-bottom:20px;position:relative}.training-tip .tip-icon{font-size:24px;flex-shrink:0}.training-tip .tip-content{flex:1}.training-tip .tip-content strong{display:block;color:#1e40af;font-size:15px;margin-bottom:4px}.training-tip .tip-content p{color:#3b82f6;font-size:13px;margin:2px 0}.training-tip .tip-close{position:absolute;top:8px;right:8px;width:24px;height:24px;border:none;background:#3b82f633;border-radius:50%;color:#3b82f6;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center}.training-loading{text-align:center;padding:40px 20px;background:#fff;border-radius:16px;margin-bottom:20px}.training-loading .loading-spinner{width:40px;height:40px;border:3px solid #e5e7eb;border-top-color:#4ecdc4;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 16px}.training-loading p{color:#6b7280;font-size:14px}.no-training-plan{text-align:center;padding:40px 20px;background:#fff;border-radius:16px;margin-bottom:20px}.no-training-plan svg{width:48px;height:48px;margin-bottom:12px}.no-training-plan p{color:#9ca3af;margin-bottom:16px}.generate-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;background:linear-gradient(135deg,#4ecdc4,#44a08d);color:#fff;border:none;border-radius:10px;font-size:15px;font-weight:600;cursor:pointer}.generate-btn svg{width:20px;height:20px}.training-plan{background:#fff;border-radius:16px;padding:20px;margin-bottom:20px}.plan-header{margin-bottom:16px}.plan-header h3{font-size:18px;font-weight:600;color:#1f2937;margin:0 0 8px}.plan-header p{font-size:14px;color:#6b7280;margin:0}.plan-routine{display:flex;align-items:center;gap:10px;padding:12px 16px;background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-radius:10px;margin-bottom:20px}.plan-routine .routine-icon{display:flex;align-items:center}.plan-routine .routine-icon svg{width:22px;height:22px}.plan-routine span:last-child{font-size:14px;color:#1e40af}.exercises-list h4{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:#374151;margin:0 0 12px}.exercises-list h4 svg{width:20px;height:20px}.exercise-card{display:flex;align-items:center;gap:12px;padding:16px;background:#f9fafb;border-radius:12px;margin-bottom:10px;cursor:pointer;transition:all .2s}.exercise-card:hover{background:#f3f4f6}.exercise-number{width:32px;height:32px;background:linear-gradient(135deg,#4ecdc4,#44a08d);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;flex-shrink:0}.exercise-info{flex:1}.exercise-info h5{font-size:15px;font-weight:600;color:#1f2937;margin:0 0 4px}.exercise-info p{font-size:13px;color:#6b7280;margin:0 0 6px}.exercise-meta-small{display:flex;gap:12px;font-size:12px;color:#9ca3af}.exercise-meta-small span{display:flex;align-items:center;gap:4px}.exercise-meta-small svg{width:14px;height:14px}.exercise-arrow{color:#9ca3af;font-size:18px}.plan-precautions{margin-top:20px;padding-top:16px;border-top:1px solid #e5e7eb}.plan-precautions h4{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:#374151;margin:0 0 12px}.plan-precautions h4 svg{width:20px;height:20px}.plan-precautions ul{margin:0;padding-left:20px}.plan-precautions li{font-size:13px;color:#6b7280;margin-bottom:6px;line-height:1.5}.regenerate-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;margin-top:16px;background:#f3f4f6;border:none;border-radius:10px;font-size:14px;color:#6b7280;cursor:pointer}.regenerate-btn svg{width:18px;height:18px}.regenerate-btn:hover{background:#e5e7eb}.exercise-detail-content{padding:20px}.exercise-detail-content .exercise-meta{display:flex;gap:16px;margin-bottom:20px}.exercise-detail-content .exercise-meta span{display:flex;align-items:center;gap:6px;padding:8px 16px;background:#f3f4f6;border-radius:20px;font-size:14px;color:#374151}.exercise-detail-content .exercise-meta span svg{width:18px;height:18px}.exercise-detail-content .exercise-description{background:#fff;border-radius:12px;padding:16px;margin-bottom:20px}.exercise-detail-content .exercise-description p{font-size:15px;color:#374151;line-height:1.6;margin:0}.exercise-detail-content .exercise-steps{background:#fff;border-radius:12px;padding:20px;margin-bottom:20px}.exercise-detail-content .exercise-steps h3{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#1f2937;margin:0 0 16px}.exercise-detail-content .exercise-steps h3 svg{width:22px;height:22px}.exercise-detail-content .exercise-steps ol{margin:0;padding:0;list-style:none}.exercise-detail-content .exercise-steps li{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid #f3f4f6}.exercise-detail-content .exercise-steps li:last-child{border-bottom:none}.exercise-detail-content .step-number{width:28px;height:28px;background:linear-gradient(135deg,#4ecdc4,#44a08d);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;flex-shrink:0}.exercise-detail-content .step-text{font-size:14px;color:#374151;line-height:1.6;padding-top:4px}.exercise-detail-content .exercise-tips{background:linear-gradient(135deg,#fef3c7,#fde68a);border-radius:12px;padding:16px}.exercise-detail-content .exercise-tips h3{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:#92400e;margin:0 0 8px}.exercise-detail-content .exercise-tips h3 svg{width:20px;height:20px}.exercise-detail-content .exercise-tips p{font-size:14px;color:#78350f;line-height:1.6;margin:0}.exercise-complete-section{margin-top:24px;padding:20px;background:#f8fafc;border-radius:16px;text-align:center}.complete-exercise-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 32px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #10b9814d}.complete-exercise-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #10b98166}.complete-exercise-btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.complete-exercise-btn .btn-spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.complete-success{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px;background:#d1fae5;border-radius:12px;color:#059669;font-size:16px;font-weight:600}.complete-success svg{width:24px;height:24px}.video-content{padding:0}.video-player{background:#000;width:100%}.video-player video{display:block;width:100%}.video-info{padding:20px;background:#fff}.video-info h2{font-size:18px;font-weight:600;color:#1f2937;margin:0 0 8px}.video-info p{font-size:14px;color:#6b7280;margin:0 0 12px}.video-duration{display:inline-block;padding:4px 12px;background:#f3f4f6;border-radius:12px;font-size:12px;color:#6b7280}.lesson-item.clickable{cursor:pointer;transition:background .2s}.lesson-item.clickable:hover{background:#eff6ff}.lesson-item.clickable:active{background:#dbeafe}.lesson-play{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.lesson-play svg{opacity:.6}.lesson-item.clickable:hover .lesson-play svg{opacity:1}.data-tracking-page{min-height:100vh;background:linear-gradient(135deg,#f0fdf4,#dcfce7);padding-bottom:80px}.data-tracking-page .page-header{padding:24px 20px 16px;background:linear-gradient(135deg,#10b981,#059669);color:#fff}.data-tracking-page .page-header h1{font-size:24px;font-weight:700;margin:0}.data-tracking-page .subtitle{font-size:14px;opacity:.9;margin-top:4px}.tracking-tabs{display:flex;gap:8px;padding:16px 20px;overflow-x:auto;background:#fff;border-bottom:1px solid #e5e7eb}.tracking-tabs .tab-btn{padding:8px 16px;border:none;background:#f3f4f6;border-radius:20px;font-size:14px;color:#6b7280;white-space:nowrap;cursor:pointer;transition:all .2s}.tracking-tabs .tab-btn.active{background:#10b981;color:#fff}.tracking-content{padding:20px}.score-card{background:#fff;border-radius:20px;padding:24px;box-shadow:0 4px 12px #00000014;margin-bottom:20px}.score-main{display:flex;align-items:center;justify-content:space-between}.score-circle{width:100px;height:100px;background:linear-gradient(135deg,#10b981,#059669);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff}.score-value{font-size:32px;font-weight:700}.score-label{font-size:12px;opacity:.9}.score-trend{text-align:right}.trend-badge{display:inline-block;padding:6px 12px;border-radius:20px;font-size:13px;font-weight:500}.trend-badge.improving{background:#d1fae5;color:#059669}.trend-badge.stable{background:#fef3c7;color:#d97706}.trend-badge.declining{background:#fee2e2;color:#dc2626}.trend-detail{font-size:13px;color:#6b7280;margin-top:8px}.chart-section{background:#fff;border-radius:16px;padding:20px;margin-bottom:20px;box-shadow:0 2px 8px #0000000f}.chart-section h2{font-size:16px;font-weight:600;color:#1f2937;margin:0 0 16px}.bar-chart{display:flex;align-items:flex-end;justify-content:space-around;height:120px;padding:10px 0}.bar-container{display:flex;flex-direction:column;align-items:center;flex:1}.bar{width:24px;background:linear-gradient(180deg,#10b981,#059669);border-radius:4px 4px 0 0;min-height:10px}.bar-score{font-size:12px;font-weight:600;color:#10b981;margin-bottom:4px}.bar-label{font-size:10px;color:#9ca3af;margin-top:8px}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:20px}.stat-card{background:#fff;border-radius:16px;padding:16px;text-align:center;box-shadow:0 2px 8px #0000000f}.stat-icon{font-size:24px;display:block;margin-bottom:8px}.stat-value{font-size:24px;font-weight:700;color:#1f2937;display:block}.stat-label{font-size:12px;color:#6b7280}.ai-analysis{background:#fff;border-radius:16px;padding:20px;box-shadow:0 2px 8px #0000000f}.analysis-header{display:flex;align-items:center;gap:10px;margin-bottom:16px}.analysis-header h2{font-size:16px;font-weight:600;color:#1f2937;margin:0}.analysis-content{font-size:14px;color:#374151;line-height:1.6}.analysis-content ul{margin:12px 0;padding-left:20px}.analysis-content li{margin:8px 0}.analysis-content strong{color:#10b981}.history-section,.exercise-section{margin-bottom:20px}.history-section h2,.exercise-section h2,.trend-analysis h2,.exercise-suggestions h2{font-size:16px;font-weight:600;color:#1f2937;margin:0 0 16px}.history-list,.exercise-list{display:flex;flex-direction:column;gap:12px}.history-item{background:#fff;border-radius:16px;padding:16px;box-shadow:0 2px 8px #0000000f}.history-date{font-size:13px;color:#6b7280;margin-bottom:12px}.history-details{margin-bottom:12px}.detail-row{display:flex;justify-content:space-between;padding:6px 0;font-size:14px}.detail-row span:first-child{color:#6b7280}.score.high{color:#dc2626}.score.medium{color:#d97706}.score.low{color:#10b981}.risk-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px}.risk-badge.high{background:#fee2e2;color:#dc2626}.risk-badge.medium{background:#fef3c7;color:#d97706}.risk-badge.low{background:#d1fae5;color:#059669}.trend-analysis{margin-bottom:20px}.trend-cards{display:flex;flex-direction:column;gap:12px}.trend-card{display:flex;align-items:center;background:#fff;border-radius:16px;padding:16px;box-shadow:0 2px 8px #0000000f}.trend-card.positive{border-left:4px solid #10b981}.trend-icon{font-size:24px;margin-right:12px}.trend-info h3{font-size:14px;font-weight:600;color:#1f2937;margin:0}.trend-info p{font-size:13px;color:#6b7280;margin:4px 0 0}.exercise-item{display:flex;align-items:center;background:#fff;border-radius:16px;padding:16px;box-shadow:0 2px 8px #0000000f}.exercise-icon{width:44px;height:44px;background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px}.exercise-info{flex:1;margin-left:12px}.exercise-info h3{font-size:15px;font-weight:600;color:#1f2937;margin:0}.exercise-info p{font-size:12px;color:#9ca3af;margin:2px 0 0}.exercise-stats{text-align:right}.duration{font-size:14px;font-weight:600;color:#1f2937}.completion-bar{width:60px;height:6px;background:#e5e7eb;border-radius:3px;margin:6px 0;overflow:hidden}.completion-fill{height:100%;background:linear-gradient(90deg,#10b981,#059669);border-radius:3px}.completion-text{font-size:12px;color:#6b7280}.suggestion-card{background:#fff;border-radius:16px;padding:20px;box-shadow:0 2px 8px #0000000f}.suggestion-card p{font-size:14px;color:#374151;margin:0}.suggestion-card ul{margin:12px 0 0;padding-left:20px}.suggestion-card li{font-size:14px;color:#374151;margin:8px 0}.prediction-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:1000;display:flex;align-items:flex-end}.prediction-modal{width:100%;max-height:90vh;background:#fff;border-radius:24px 24px 0 0;display:flex;flex-direction:column}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #f3f4f6;flex-shrink:0}.header-content{display:flex;align-items:center;gap:10px}.ai-icon{font-size:24px}.modal-header h2{font-size:18px;font-weight:600;color:#1f2937;margin:0}.close-btn{width:32px;height:32px;border:none;background:#f3f4f6;border-radius:50%;font-size:16px;color:#6b7280;cursor:pointer}.modal-body{flex:1;overflow-y:auto;padding:20px}.prediction-section{margin-bottom:28px}.prediction-section h3{font-size:16px;font-weight:600;color:#1f2937;margin:0 0 12px}.section-desc{font-size:13px;color:#6b7280;margin:-8px 0 12px}.risk-prediction{background:#f9fafb;border-radius:16px;padding:20px}.risk-flow{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:16px}.risk-box{padding:12px 20px;border-radius:12px;text-align:center}.risk-time{display:block;font-size:11px;opacity:.8;margin-bottom:4px}.risk-status{font-size:16px;font-weight:600}.risk-arrow{display:flex;flex-direction:column;align-items:center;color:#9ca3af}.risk-arrow span:first-child{font-size:20px}.timeframe{font-size:10px}.confidence{text-align:center;font-size:13px;color:#6b7280}.confidence strong{color:#10b981}.score-forecast{display:flex;flex-direction:column;gap:10px}.forecast-item{display:flex;align-items:center;gap:12px}.forecast-week{width:50px;font-size:13px;color:#6b7280}.forecast-bar-container{flex:1;height:20px;background:#e5e7eb;border-radius:10px;overflow:hidden}.forecast-bar{height:100%;border-radius:10px;transition:width .5s ease-out}.forecast-score{width:45px;font-size:14px;font-weight:600;color:#1f2937;text-align:right}.behavior-list{display:flex;flex-direction:column;gap:10px}.behavior-item{background:#f9fafb;border-radius:12px;padding:14px;border-left:4px solid #d1d5db}.behavior-item.priority-high{border-left-color:#10b981}.behavior-item.priority-medium{border-left-color:#f59e0b}.behavior-item.priority-low{border-left-color:#6b7280}.behavior-main{display:flex;justify-content:space-between;align-items:center}.behavior-name{font-size:14px;font-weight:600;color:#1f2937}.behavior-impact{font-size:14px;font-weight:700;color:#10b981}.behavior-desc{font-size:12px;color:#6b7280;margin:6px 0 0}.adjustment-list{display:flex;flex-direction:column;gap:10px}.adjustment-item{display:flex;gap:12px;background:#f9fafb;border-radius:12px;padding:14px}.adjustment-icon{font-size:20px;flex-shrink:0}.adjustment-content{flex:1}.adjustment-suggestion{font-size:14px;color:#1f2937;margin:0;font-weight:500}.adjustment-impact{font-size:12px;color:#6b7280;margin:4px 0 0}.factors-list{display:flex;flex-direction:column;gap:12px}.factor-item{display:flex;align-items:center;gap:12px}.factor-name{width:70px;font-size:13px;color:#6b7280}.factor-bar-container{flex:1;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.factor-bar{height:100%;border-radius:4px}.factor-bar.positive{background:#10b981}.factor-bar.negative{background:#f59e0b}.factor-score{width:40px;font-size:13px;font-weight:600;text-align:right}.factor-score.positive{color:#10b981}.factor-score.negative{color:#f59e0b}.modal-footer{padding:16px 20px;border-top:1px solid #f3f4f6;flex-shrink:0;padding-bottom:calc(16px + env(safe-area-inset-bottom))}.apply-btn{width:100%;padding:14px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer}.prediction-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px}.prediction-loading .loading-spinner{width:48px;height:48px;border:4px solid #e5e7eb;border-top-color:#6366f1;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.prediction-loading p{font-size:15px;color:#6b7280}.prediction-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.prediction-error p{font-size:15px;color:#ef4444;margin-bottom:16px}.prediction-error button{padding:10px 24px;background:#f3f4f6;border:none;border-radius:8px;font-size:14px;color:#374151;cursor:pointer}.prediction-error button:hover{background:#e5e7eb}.health-report-page{min-height:100vh;background:linear-gradient(135deg,#fef3c7,#fde68a);padding-bottom:100px}.health-report-page .page-header{padding:24px 20px 20px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;text-align:center}.health-report-page .page-header h1{font-size:24px;font-weight:700;margin:0}.report-date{font-size:13px;opacity:.9;margin-top:4px}.report-content{padding:20px;margin-top:-10px}.overall-score-section{background:#fff;border-radius:24px;padding:30px;text-align:center;box-shadow:0 4px 20px #00000014;margin-bottom:20px}.score-ring{position:relative;width:140px;height:140px;margin:0 auto 16px}.score-ring svg{transform:rotate(-90deg);width:100%;height:100%}.ring-bg{fill:none;stroke:#e5e7eb;stroke-width:8}.ring-progress{fill:none;stroke-width:8;stroke-linecap:round;transition:stroke-dasharray 1s ease-out}.score-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.score-number{font-size:36px;font-weight:700;color:#1f2937}.score-unit{font-size:16px;color:#6b7280}.risk-label{display:inline-block;padding:8px 20px;border-radius:20px;font-size:14px;font-weight:600}.metrics-section{margin-bottom:20px}.metrics-section h2,.improvement-section h2,.suggestions-section h2{font-size:16px;font-weight:600;color:#1f2937;margin:0 0 16px}.metrics-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.metric-card{background:#fff;border-radius:16px;padding:16px;box-shadow:0 2px 8px #0000000f}.metric-card.good{border-left:4px solid #10b981}.metric-card.warning{border-left:4px solid #f59e0b}.metric-card.danger{border-left:4px solid #ef4444}.metric-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.metric-label{font-size:13px;color:#6b7280}.status-dot{width:8px;height:8px;border-radius:50%}.status-dot.good{background:#10b981}.status-dot.warning{background:#f59e0b}.status-dot.danger{background:#ef4444}.metric-value{font-size:28px;font-weight:700;color:#1f2937}.metric-value .unit{font-size:14px;font-weight:400;color:#6b7280}.metric-normal{font-size:11px;color:#9ca3af;margin-top:4px}.improvement-section{margin-bottom:20px}.improvement-list{display:flex;flex-direction:column;gap:12px}.improvement-item{background:#fff;border-radius:16px;padding:16px;box-shadow:0 2px 8px #0000000f}.improvement-label{font-size:14px;font-weight:500;color:#374151;display:block;margin-bottom:10px}.improvement-bar{display:flex;align-items:center;gap:8px}.before-bar,.after-bar{flex:1;padding:8px 12px;border-radius:8px;text-align:center;font-size:14px;font-weight:600}.before-bar{background:#fee2e2;color:#dc2626}.after-bar{background:#d1fae5;color:#059669}.arrow{color:#9ca3af;font-size:18px}.improvement-percent{display:block;text-align:right;font-size:13px;font-weight:600;color:#10b981;margin-top:8px}.suggestions-section{margin-bottom:20px}.section-header{margin-bottom:16px}.ai-badge{display:inline-block;padding:4px 10px;background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff;border-radius:12px;font-size:12px;margin-bottom:8px}.suggestions-list{background:#fff;border-radius:16px;padding:16px;box-shadow:0 2px 8px #0000000f;max-height:300px;overflow-y:auto;-webkit-overflow-scrolling:touch}.suggestion-item{display:flex;align-items:flex-start;padding:12px 0;border-bottom:1px solid #f3f4f6}.suggestion-item:last-child{border-bottom:none}.suggestion-number{width:24px;height:24px;background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;flex-shrink:0}.suggestion-text{margin-left:12px;font-size:14px;color:#374151;line-height:1.5}.prediction-entry{margin-bottom:20px}.prediction-btn{width:100%;display:flex;align-items:center;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border:none;border-radius:16px;padding:16px 20px;cursor:pointer;color:#fff}.btn-icon{font-size:28px;margin-right:14px}.btn-content{flex:1;text-align:left}.btn-title{display:block;font-size:16px;font-weight:600}.btn-desc{display:block;font-size:12px;opacity:.9;margin-top:2px}.btn-arrow{font-size:20px;opacity:.8}.action-buttons{display:flex;gap:12px}.action-btn{flex:1;padding:20px 0;border-radius:16px;font-size:24px;font-weight:700;cursor:pointer;border:none;min-height:60px}.action-btn.primary{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.action-btn.secondary{background:#fff;color:#374151;border:1px solid #e5e7eb}.share-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.share-modal{background:#fff;border-radius:20px;padding:24px;width:100%;max-width:340px;text-align:center}.share-modal h3{font-size:18px;font-weight:600;color:#1f2937;margin:0 0 20px}.share-content{background:#f9fafb;border-radius:12px;padding:20px;margin-bottom:20px}.share-preview{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:12px}.share-score{font-size:32px;font-weight:700}.share-risk{padding:4px 12px;border-radius:12px;font-size:13px;font-weight:600}.share-text{font-size:14px;color:#6b7280;line-height:1.5;margin:0}.share-actions{display:flex;gap:12px;margin-bottom:16px}.share-btn{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px;border:none;border-radius:12px;cursor:pointer;font-size:13px;font-weight:500}.share-btn.copy{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff}.share-close{width:100%;padding:12px;background:#f3f4f6;border:none;border-radius:10px;font-size:15px;color:#6b7280;cursor:pointer}.admin-dashboard{min-height:100vh;background:#f5f7fa;padding-bottom:40px}.admin-header{background:linear-gradient(135deg,#4ecdc4,#44a08d);color:#fff;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 10px #0000001a}.admin-header h1{font-size:20px;font-weight:600}.logout-btn{background:#fff3;color:#fff;border:none;padding:8px 16px;border-radius:8px;cursor:pointer;font-size:14px;transition:background .2s}.logout-btn:hover{background:#ffffff4d}.admin-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:16px}.admin-loading .spinner{width:40px;height:40px;border:3px solid #e2e8f0;border-top-color:#4ecdc4;border-radius:50%;animation:spin .8s linear infinite}.admin-message{background:#4ecdc4;color:#fff;padding:12px 20px;text-align:center;cursor:pointer;font-size:14px}.stats-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:20px;max-width:800px;margin:0 auto}.stat-card{background:#fff;border-radius:12px;padding:20px;text-align:center;box-shadow:0 2px 8px #0000000f}.stat-value{font-size:32px;font-weight:700;color:#4ecdc4}.stat-label{font-size:14px;color:#718096;margin-top:4px}.users-section{padding:0 20px;max-width:1200px;margin:0 auto}.users-section h2{font-size:18px;color:#2d3748;margin-bottom:16px}.users-table-wrapper{overflow-x:auto;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f}.users-table{width:100%;border-collapse:collapse;font-size:13px}.users-table th,.users-table td{padding:12px 10px;text-align:left;border-bottom:1px solid #e2e8f0;white-space:nowrap}.users-table th{background:#f8fafc;font-weight:600;color:#4a5568}.users-table tr:hover{background:#f8fafc}.password-cell{font-family:monospace;font-size:11px;color:#718096;max-width:120px;overflow:hidden;text-overflow:ellipsis}.action-cell{display:flex;gap:8px}.action-btn{padding:6px 12px;border:none;border-radius:6px;font-size:12px;cursor:pointer;transition:all .2s}.reset-btn{background:#edf2f7;color:#4a5568}.reset-btn:hover{background:#e2e8f0}.delete-btn{background:#fed7d7;color:#c53030}.delete-btn:hover{background:#feb2b2}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:16px;padding:24px;width:100%;max-width:360px;animation:modalIn .2s ease}@keyframes modalIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.modal-content h3{font-size:18px;color:#2d3748;margin-bottom:12px}.modal-content p{font-size:14px;color:#4a5568;margin-bottom:8px}.warning-text{color:#c53030!important;font-size:13px!important}.modal-input{width:100%;padding:12px;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;margin:12px 0;outline:none;transition:border-color .2s}.modal-input:focus{border-color:#4ecdc4}.modal-actions{display:flex;gap:12px;margin-top:16px}.cancel-btn,.confirm-btn,.delete-confirm-btn{flex:1;padding:12px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.cancel-btn{background:#edf2f7;color:#4a5568}.confirm-btn{background:linear-gradient(135deg,#4ecdc4,#44a08d);color:#fff}.confirm-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #4ecdc466}.delete-confirm-btn{background:#e53e3e;color:#fff}.delete-confirm-btn:hover{background:#c53030}.confirm-btn:disabled,.delete-confirm-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}@media (max-width: 768px){.stats-cards{grid-template-columns:1fr}.stat-card{padding:16px}.stat-value{font-size:28px}.users-table{font-size:12px}.users-table th,.users-table td{padding:10px 8px}.action-cell{flex-direction:column;gap:4px}.action-btn{padding:4px 8px;font-size:11px}}.admin-tabs{display:flex;gap:8px;padding:0 20px;margin-bottom:16px}.tab-btn{padding:10px 20px;border:none;background:#e2e8f0;border-radius:8px;font-size:14px;font-weight:500;color:#4a5568;cursor:pointer;transition:all .2s}.tab-btn.active{background:linear-gradient(135deg,#4ecdc4,#44a08d);color:#fff}.tab-btn:hover:not(.active){background:#cbd5e0}.assessments-section{padding:0 20px;max-width:1400px;margin:0 auto}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-header h2{font-size:18px;color:#2d3748}.cleanup-btn{padding:8px 16px;background:#f56565;color:#fff;border:none;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.cleanup-btn:hover{background:#e53e3e}.cleanup-btn:disabled{opacity:.6;cursor:not-allowed}.score-good{color:#38a169;font-weight:600}.score-warn{color:#d69e2e;font-weight:600}.score-bad{color:#e53e3e;font-weight:600}.bad-row{background:#fff5f5!important}.bad-tag{display:inline-block;padding:2px 8px;background:#fed7d7;color:#c53030;border-radius:4px;font-size:11px;font-weight:500}.ok-tag{display:inline-block;padding:2px 8px;background:#c6f6d5;color:#276749;border-radius:4px;font-size:11px;font-weight:500}.clear-btn{background:#fbd38d;color:#744210}.clear-btn:hover{background:#f6ad55}@media (min-width: 769px){.stats-cards{grid-template-columns:repeat(6,1fr);max-width:1200px}}.products-section,.orders-section,.makeup-section{padding:0 20px;max-width:1400px;margin:0 auto}.add-btn{padding:8px 16px;background:linear-gradient(135deg,#4ecdc4,#44a08d);color:#fff;border:none;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.add-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #4ecdc466}.product-thumb{width:50px;height:50px;object-fit:cover;border-radius:4px}.no-image{color:#999;font-size:12px}.shipping-cell{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-tag{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}.status-pending{background:#fff7e6;color:#fa8c16}.status-processing{background:#e6f7ff;color:#1890ff}.status-shipped,.status-completed{background:#f6ffed;color:#52c41a}.status-cancelled{background:#fff1f0;color:#ff4d4f}.status-approved{background:#f6ffed;color:#52c41a}.status-rejected{background:#fff1f0;color:#ff4d4f}.product-modal{max-width:500px}.product-form{margin-bottom:16px}.product-form textarea{min-height:80px;resize:vertical}.form-row{display:flex;gap:12px}.form-group{flex:1}.form-group label{display:block;font-size:12px;color:#666;margin-bottom:4px}.form-group .modal-input{margin-bottom:8px}.header-actions{display:flex;gap:12px;align-items:center}.site-toggle-btn{padding:8px 16px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.site-toggle-btn.site-open{background:#48bb7833;color:#276749}.site-toggle-btn.site-open:hover{background:#48bb784d}.site-toggle-btn.site-closed{background:#f5656533;color:#c53030}.site-toggle-btn.site-closed:hover{background:#f565654d}.site-toggle-btn:disabled{opacity:.6;cursor:not-allowed}.points-shop{min-height:100vh;background:linear-gradient(180deg,#f8fafc,#e2e8f0);padding-bottom:100px}.points-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;background:linear-gradient(180deg,#f8fafc,#e2e8f0)}.points-loading .spinner{width:48px;height:48px;border:4px solid #e2e8f0;border-top-color:#6366f1;border-radius:50%;animation:spin .8s ease-in-out infinite}.points-loading p{margin-top:16px;color:#64748b;font-size:15px}.points-message{position:fixed;top:20px;left:50%;transform:translate(-50%);background:linear-gradient(135deg,#1e293b,#334155);color:#fff;padding:14px 28px;border-radius:12px;z-index:1000;cursor:pointer;font-size:14px;font-weight:500;box-shadow:0 10px 40px #0003;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translate(-50%) translateY(-20px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.points-summary-card{background:linear-gradient(135deg,#6366f1,#8b5cf6,#a855f7);border-radius:0 0 32px 32px;padding:48px 24px 32px;margin-bottom:24px;position:relative;overflow:hidden}.points-summary-card:before{content:"";position:absolute;top:-50%;right:-30%;width:300px;height:300px;background:radial-gradient(circle,rgba(255,255,255,.15) 0%,transparent 70%);border-radius:50%}.points-summary-card:after{content:"";position:absolute;bottom:-30%;left:-20%;width:200px;height:200px;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);border-radius:50%}.points-balance{text-align:center;margin-bottom:28px;position:relative;z-index:1}.points-balance .label{display:block;font-size:14px;color:#ffffffd9;margin-bottom:8px;font-weight:500;letter-spacing:.5px}.points-balance .value{font-size:56px;font-weight:700;color:#fff;text-shadow:0 4px 20px rgba(0,0,0,.15);line-height:1}.points-balance .value:after{content:" 分";font-size:18px;font-weight:500;opacity:.9}.points-info{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;position:relative;z-index:1}.info-item{background:#ffffff26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:16px 12px;text-align:center;border:1px solid rgba(255,255,255,.2)}.info-item .label{display:block;font-size:12px;color:#fffc;margin-bottom:6px}.info-item .value{font-size:15px;font-weight:600;color:#fff}.info-item .value.can-redeem{color:#86efac}.info-item .value.cannot-redeem{color:#fca5a5}.makeup-btn{width:100%;margin-top:20px;padding:14px;background:#fffffff2;color:#6366f1;border:none;border-radius:14px;font-size:15px;font-weight:600;cursor:pointer;position:relative;z-index:1;transition:all .3s ease;box-shadow:0 4px 15px #0000001a}.makeup-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #00000026}.makeup-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.makeup-hint{margin-top:16px;text-align:center;font-size:13px;color:#ffffffbf;position:relative;z-index:1}.points-tabs{display:flex;background:#fff;border-radius:16px;padding:6px;margin:0 16px 20px;box-shadow:0 2px 12px #0000000f}.points-tabs .tab-btn{flex:1;padding:14px 8px;border:none;background:transparent;font-size:14px;font-weight:500;color:#64748b;border-radius:12px;cursor:pointer;transition:all .3s ease;position:relative}.points-tabs .tab-btn.active{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;box-shadow:0 4px 15px #6366f166}.products-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;padding:0 16px}.product-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 4px 20px #0000000f;transition:all .3s ease;display:flex;flex-direction:column}.product-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px #0000001f}.product-image{width:100%;height:140px;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.product-image:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(180deg,transparent 60%,rgba(0,0,0,.03) 100%)}.product-image img{width:100%;height:100%;object-fit:cover}.placeholder-image{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#94a3b8}.placeholder-image svg{opacity:.6}.product-info{padding:16px;flex:1;display:flex;flex-direction:column}.product-name{font-size:15px;font-weight:600;color:#1e293b;margin:0 0 6px;line-height:1.4}.product-desc{font-size:12px;color:#94a3b8;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}.product-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.points-required{font-size:20px;font-weight:700;background:linear-gradient(135deg,#f97316,#ef4444);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.stock{font-size:12px;color:#94a3b8;background:#f1f5f9;padding:4px 10px;border-radius:20px}.product-requirement{font-size:11px;color:#94a3b8;margin-bottom:12px;display:flex;align-items:center;gap:4px}.redeem-btn{width:100%;padding:12px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;border-radius:12px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:auto}.redeem-btn:hover:not(:disabled){box-shadow:0 4px 15px #6366f166;transform:translateY(-1px)}.redeem-btn:disabled{background:#e2e8f0;color:#94a3b8;cursor:not-allowed}.history-list{background:#fff;border-radius:20px;overflow:hidden;margin:0 16px;box-shadow:0 4px 20px #0000000f}.history-item{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid #f1f5f9;transition:background .2s ease}.history-item:last-child{border-bottom:none}.history-item:hover{background:#fafafa}.history-left{display:flex;flex-direction:column;gap:4px}.history-type{font-size:15px;font-weight:600;color:#1e293b}.history-desc{font-size:13px;color:#64748b}.history-time{font-size:12px;color:#94a3b8}.history-amount{font-size:18px;font-weight:700}.history-amount.positive{color:#22c55e}.history-amount.negative{color:#ef4444}.orders-list{display:flex;flex-direction:column;gap:12px;padding:0 16px}.order-item{background:#fff;border-radius:20px;padding:20px;box-shadow:0 4px 20px #0000000f}.order-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.order-id{font-size:12px;color:#94a3b8}.order-status{font-size:12px;padding:6px 12px;border-radius:20px;font-weight:500}.order-status.status-pending{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#b45309}.order-status.status-processing{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1d4ed8}.order-status.status-shipped,.order-status.status-completed{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#047857}.order-status.status-cancelled{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#b91c1c}.order-content{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.order-product{font-size:15px;font-weight:600;color:#1e293b}.order-points{font-size:15px;font-weight:600;color:#ef4444}.order-time{font-size:12px;color:#94a3b8}.empty-state{text-align:center;padding:60px 20px;color:#94a3b8;font-size:15px;background:#fff;border-radius:20px;margin:0 16px;box-shadow:0 4px 20px #0000000f}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0f172a99;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:flex-end;justify-content:center;z-index:1000;padding:0;animation:fadeIn .2s ease-out}.modal-content{background:#fff;border-radius:28px 28px 0 0;padding:28px 24px 40px;width:100%;max-width:500px;max-height:85vh;overflow-y:auto;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}.modal-content h3{margin:0 0 20px;font-size:20px;font-weight:700;color:#1e293b;text-align:center}.redeem-product-info{text-align:center;padding:20px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:16px;margin-bottom:24px}.redeem-product-info .product-name{font-size:18px;font-weight:600;color:#1e293b;margin-bottom:8px}.redeem-product-info .product-points{font-size:16px;font-weight:600;background:linear-gradient(135deg,#f97316,#ef4444);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.shipping-form h4{font-size:15px;font-weight:600;color:#1e293b;margin:0 0 16px}.shipping-form input,.shipping-form textarea{width:100%;padding:14px 16px;border:2px solid #e2e8f0;border-radius:14px;font-size:15px;margin-bottom:12px;box-sizing:border-box;transition:all .2s ease;background:#f8fafc}.shipping-form input:focus,.shipping-form textarea:focus{outline:none;border-color:#6366f1;background:#fff;box-shadow:0 0 0 4px #6366f11a}.shipping-form input::placeholder,.shipping-form textarea::placeholder{color:#94a3b8}.shipping-form textarea{min-height:100px;resize:vertical}.modal-actions{display:flex;gap:12px;margin-top:24px}.modal-actions button{flex:1;padding:16px;border:none;border-radius:14px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s ease}.cancel-btn{background:#f1f5f9;color:#64748b}.cancel-btn:hover{background:#e2e8f0}.confirm-btn{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;box-shadow:0 4px 15px #6366f14d}.confirm-btn:hover:not(:disabled){box-shadow:0 6px 20px #6366f166;transform:translateY(-1px)}.confirm-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}@media (min-width: 768px){.products-grid{grid-template-columns:repeat(3,1fr)}.modal-overlay{align-items:center;padding:20px}.modal-content{border-radius:28px;max-height:80vh}}.maintenance-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1a1a2e,#16213e,#0f3460);padding:20px;position:relative;overflow:hidden}.particles{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.particle{position:absolute;width:4px;height:4px;background:#ffffff4d;border-radius:50%;left:var(--x);animation:float 15s infinite;animation-delay:var(--delay)}@keyframes float{0%,to{transform:translateY(100vh) scale(0);opacity:0}10%{opacity:1}90%{opacity:1}to{transform:translateY(-100vh) scale(1);opacity:0}}.maintenance-content{text-align:center;color:#fff;z-index:1;animation:fadeInUp .8s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.maintenance-icon-wrapper{position:relative;width:160px;height:160px;margin:0 auto 40px}.icon-glow{position:absolute;top:-20px;right:-20px;bottom:-20px;left:-20px;background:radial-gradient(circle,rgba(78,205,196,.3) 0%,transparent 70%);border-radius:50%;animation:pulse 3s ease-in-out infinite}@keyframes pulse{0%,to{transform:scale(1);opacity:.5}50%{transform:scale(1.1);opacity:.8}}.icon-ring{position:absolute;top:0;right:0;bottom:0;left:0;border:2px solid rgba(78,205,196,.3);border-radius:50%;animation:ringExpand 3s ease-out infinite}.icon-ring.ring-2{animation-delay:1.5s}@keyframes ringExpand{0%{transform:scale(.8);opacity:1}to{transform:scale(1.5);opacity:0}}.maintenance-icon{width:100%;height:100%;position:relative;z-index:1}.gear{transform-origin:50px 50px;animation:rotate 8s linear infinite}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.wrench{transform-origin:40px 57px;animation:swing 2s ease-in-out infinite}@keyframes swing{0%,to{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}.maintenance-title{font-size:36px;font-weight:700;margin-bottom:16px;display:flex;align-items:center;justify-content:center;gap:4px}.title-text{background:linear-gradient(135deg,#4ecdc4,#44a08d);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.title-dots{display:flex;gap:2px}.dot{color:#4ecdc4;animation:dotBounce 1.4s ease-in-out infinite}.dot:nth-child(2){animation-delay:.2s}.dot:nth-child(3){animation-delay:.4s}@keyframes dotBounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-8px)}}.maintenance-desc{font-size:18px;color:#fffc;margin-bottom:8px;animation:fadeIn 1s ease-out .3s both}.maintenance-desc.sub{font-size:14px;color:#ffffff80;margin-bottom:40px;animation-delay:.5s}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.progress-wrapper{max-width:300px;margin:0 auto 40px;animation:fadeIn 1s ease-out .7s both}.progress-bar{height:6px;background:#ffffff1a;border-radius:3px;overflow:hidden;position:relative}.progress-fill{height:100%;width:30%;background:linear-gradient(90deg,#4ecdc4,#44a08d);border-radius:3px;animation:progressMove 2s ease-in-out infinite}@keyframes progressMove{0%{width:0%;margin-left:0%}50%{width:50%;margin-left:25%}to{width:0%;margin-left:100%}}.progress-shine{position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);animation:shine 2s ease-in-out infinite}@keyframes shine{0%{left:-100%}to{left:100%}}.progress-text{display:block;margin-top:12px;font-size:12px;color:#ffffff80;text-transform:uppercase;letter-spacing:2px}.contact-info{display:flex;align-items:center;justify-content:center;gap:8px;padding:16px 24px;background:#ffffff0d;border-radius:12px;border:1px solid rgba(255,255,255,.1);animation:fadeIn 1s ease-out .9s both;transition:all .3s ease}.contact-info:hover{background:#ffffff1a;border-color:#4ecdc44d;transform:translateY(-2px)}.contact-icon{color:#4ecdc4;display:flex;animation:iconPulse 2s ease-in-out infinite}@keyframes iconPulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.contact-info span{font-size:14px;color:#ffffffb3}@media (max-width: 480px){.maintenance-icon-wrapper{width:120px;height:120px;margin-bottom:30px}.maintenance-title{font-size:28px}.maintenance-desc{font-size:16px}}*{margin:0;padding:0;box-sizing:border-box}:root{--primary: #4ecdc4;--primary-dark: #44a08d}body{font-family:Noto Sans SC,-apple-system,BlinkMacSystemFont,sans-serif;background:linear-gradient(135deg,#e8f5e9,#e3f2fd,#f3e5f5);min-height:100vh;overflow-x:hidden}.auth-container{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;position:relative}.auth-container:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(78,205,196,.1) 0%,transparent 50%);animation:pulse-bg 8s ease-in-out infinite}@keyframes pulse-bg{0%,to{transform:scale(1);opacity:.5}50%{transform:scale(1.1);opacity:.8}}.auth-card{background:#fffffff2;border-radius:24px;padding:40px;width:100%;max-width:420px;box-shadow:0 20px 60px #00000014;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:relative;z-index:1;animation:card-enter .6s cubic-bezier(.34,1.56,.64,1);transition:transform .3s ease,box-shadow .3s ease}.auth-card:hover{transform:translateY(-4px);box-shadow:0 25px 70px #0000001f}@keyframes card-enter{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.auth-logo{text-align:center;margin-bottom:32px}.auth-logo .icon{width:72px;height:72px;background:linear-gradient(135deg,#4ecdc4,#44a08d);border-radius:20px;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;padding:14px;animation:logo-bounce .8s cubic-bezier(.34,1.56,.64,1) .2s both;transition:transform .3s ease}.auth-logo .icon:hover{transform:scale(1.1) rotate(5deg)}.auth-logo .icon svg{width:100%;height:100%}.auth-logo .logo-img{width:100px;height:100px;margin:0 auto 16px;animation:logo-bounce .8s cubic-bezier(.34,1.56,.64,1) .2s both;transition:transform .3s ease;position:relative}.auth-logo .logo-img:hover{transform:scale(1.1)}.auth-logo .logo-img img{width:100%;height:100%;object-fit:contain;transition:opacity .3s ease}.logo-placeholder{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#4ecdc41a,#44a08d0d);border-radius:20px;animation:placeholder-pulse 1.5s ease-in-out infinite}@keyframes placeholder-pulse{0%,to{opacity:.6}50%{opacity:1}}.logo-img.loaded .logo-placeholder{display:none}@keyframes logo-bounce{0%{opacity:0;transform:scale(0) rotate(-20deg)}to{opacity:1;transform:scale(1) rotate(0)}}.auth-logo h1{font-size:22px;font-weight:600;color:#2d3748;margin-bottom:8px;animation:fade-up .5s ease .3s both}.auth-logo p{font-size:14px;color:#718096;animation:fade-up .5s ease .4s both}@keyframes fade-up{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.form-group{margin-bottom:20px;animation:fade-up .5s ease both}.form-group:nth-child(1){animation-delay:.4s}.form-group:nth-child(2){animation-delay:.5s}.form-group:nth-child(3){animation-delay:.6s}.form-group:nth-child(4){animation-delay:.7s}.form-group label{display:block;font-size:14px;font-weight:500;color:#4a5568;margin-bottom:8px}.input-wrapper{position:relative}.input-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:#a0aec0;transition:color .2s}.input-wrapper .form-input{padding-left:44px}.input-wrapper:focus-within .input-icon{color:#4ecdc4}.form-input{width:100%;padding:14px 16px;border:2px solid #e2e8f0;border-radius:12px;font-size:15px;transition:all .3s cubic-bezier(.4,0,.2,1);outline:none;background:#fff}.form-input:focus{border-color:#4ecdc4;box-shadow:0 0 0 4px #4ecdc426;transform:translateY(-2px)}.form-input:hover:not(:focus){border-color:#cbd5e0}.form-input::placeholder{color:#a0aec0}.submit-btn{width:100%;padding:14px;background:linear-gradient(135deg,#4ecdc4,#44a08d);color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);margin-top:8px;position:relative;overflow:hidden;animation:fade-up .5s ease .7s both}.submit-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .5s}.submit-btn:hover:before{left:100%}.submit-btn:hover{transform:translateY(-3px);box-shadow:0 10px 30px #4ecdc466}.submit-btn:active{transform:translateY(-1px)}.submit-btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.btn-spinner{display:inline-block;width:18px;height:18px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;margin-right:8px;vertical-align:middle}@keyframes spin{to{transform:rotate(360deg)}}.forgot-password{text-align:right;margin-top:8px;margin-bottom:8px;animation:fade-up .5s ease .6s both}.forgot-password span{font-size:13px;color:#718096;cursor:pointer;transition:color .2s ease}.forgot-password span:hover{color:#4ecdc4}.auth-footer{text-align:center;margin-top:24px;font-size:14px;color:#718096;animation:fade-up .5s ease .8s both}.auth-footer a{color:#4ecdc4;text-decoration:none;font-weight:500;position:relative}.auth-footer a:after{content:"";position:absolute;bottom:-2px;left:0;width:0;height:2px;background:#4ecdc4;transition:width .3s ease}.auth-footer a:hover:after{width:100%}.error-msg,.success-msg{padding:14px 18px;border-radius:12px;font-size:14px;margin-bottom:20px;animation:msg-enter .4s cubic-bezier(.34,1.56,.64,1);display:flex;align-items:center;gap:10px}.error-msg{background:linear-gradient(135deg,#fff5f5,#fed7d7);color:#c53030;border:1px solid #feb2b2}.success-msg{background:linear-gradient(135deg,#f0fff4,#c6f6d5);color:#276749;border:1px solid #9ae6b4}@keyframes msg-enter{0%{opacity:0;transform:translateY(-10px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.features{display:flex;justify-content:center;gap:32px;margin-top:40px;flex-wrap:wrap;position:relative;z-index:1}.feature-item{text-align:center;color:#4a5568;animation:feature-enter .6s cubic-bezier(.34,1.56,.64,1) both;cursor:pointer;transition:transform .3s ease}.feature-item:nth-child(1){animation-delay:.6s}.feature-item:nth-child(2){animation-delay:.7s}.feature-item:nth-child(3){animation-delay:.8s}.feature-item:hover{transform:translateY(-5px)}@keyframes feature-enter{0%{opacity:0;transform:translateY(20px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}.feature-item .icon{width:56px;height:56px;background:#fffffff2;border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;padding:12px;box-shadow:0 8px 25px #00000014;transition:all .3s ease}.feature-item:hover .icon{box-shadow:0 12px 35px #4ecdc440;transform:scale(1.1)}.feature-item .icon svg{width:100%;height:100%}.feature-item span{font-size:13px;color:#718096;font-weight:500}.feature-item:hover span{color:#4ecdc4}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:overlay-enter .3s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}@keyframes overlay-enter{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:24px;padding:40px;text-align:center;max-width:360px;width:90%;animation:modal-enter .4s cubic-bezier(.34,1.56,.64,1);box-shadow:0 25px 80px #00000026}@keyframes modal-enter{0%{opacity:0;transform:scale(.8) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}.modal-icon{width:80px;height:80px;background:linear-gradient(135deg,#4ecdc4,#44a08d);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;animation:success-bounce .6s cubic-bezier(.34,1.56,.64,1) .2s both}@keyframes success-bounce{0%{transform:scale(0)}50%{transform:scale(1.2)}to{transform:scale(1)}}.modal-icon svg{width:40px;height:40px}.modal-content h2{font-size:22px;color:#2d3748;margin-bottom:10px}.modal-content p{font-size:14px;color:#718096;margin-bottom:24px}.modal-btn{padding:12px 32px;background:linear-gradient(135deg,#4ecdc4,#44a08d);color:#fff;border:none;border-radius:10px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s ease}.modal-btn:hover{transform:translateY(-2px);box-shadow:0 8px 25px #4ecdc466}.floating-shapes{position:absolute;top:0;left:0;right:0;bottom:0;overflow:hidden;pointer-events:none;z-index:0}.shape{position:absolute;border-radius:50%;opacity:.1;animation:float 20s infinite ease-in-out}.shape-1{width:300px;height:300px;background:#4ecdc4;top:-100px;right:-100px}.shape-2{width:200px;height:200px;background:#44a08d;bottom:-50px;left:-50px;animation-delay:-5s}.shape-3{width:150px;height:150px;background:#4ecdc4;top:50%;left:10%;animation-delay:-10s}@keyframes float{0%,to{transform:translate(0) rotate(0)}25%{transform:translate(20px,-20px) rotate(5deg)}50%{transform:translate(-10px,20px) rotate(-5deg)}75%{transform:translate(-20px,-10px) rotate(3deg)}}@media (min-width: 900px){.auth-container{flex-direction:row;justify-content:center;gap:80px;padding:40px}.auth-card{max-width:440px;padding:48px}.features{flex-direction:column;margin-top:0;gap:24px}.feature-item{display:flex;align-items:center;gap:16px;text-align:left;background:#fffc;padding:20px 28px;border-radius:16px;min-width:220px}.feature-item .icon{margin:0;width:52px;height:52px}.feature-item span{font-size:15px;font-weight:600;color:#2d3748}}
