:root{--primary-color: #4ADE80;--secondary-color: #333;--background-color: #f5f5f5;--surface-color: #ffffff;--text-color: #333;--border-color: #ddd;--shadow-color: rgba(0, 0, 0, .1);--error-color: #ff4444;--success-color: #00C851;--warning-color: #ffbb33;--info-color: #33b5e5;--header-height: 60px;--surface-color-hover: #f5f5f5}[data-theme=dark]{--background-color: #121212;--surface-color: #1e1e1e;--text-color: #e0e0e0;--border-color: #333;--shadow-color: rgba(0, 0, 0, .3)}body{color:var(--text-color);background-color:var(--background-color)}.navigation,.bottom-nav,.account-container,.page-content,.dropdown-menu,.section-dropdown,.profile-dropdown,.stats-section,.weekly-tracker-section,.workout-totals-section,.achievements-section,.modal-content{background-color:var(--surface-color);color:var(--text-color);border-color:var(--border-color)}.nav__logo,.greeting-text,h1,h2,h3,h4,p,.account-form__label,.bottom-nav__item,#repCounter,#formFeedback{color:var(--text-color)}[data-theme=dark] .video-container{background:#000;border:1px solid var(--border-color)}[data-theme=dark]{--surface-color: var(--dark-surface-color);--surface-color-hover: var(--dark-surface-color-hover);--text-color: var(--dark-text-color);--border-color: var(--dark-border-color);--shadow-color: var(--dark-shadow-color)}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.6;min-height:100vh;display:flex;flex-direction:column;align-items:center}.navigation{position:fixed;top:0;left:0;right:0;background:#ffffffe6;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 2px 10px var(--shadow-color);z-index:1000;width:100%}.controls{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;flex-wrap:wrap;gap:1rem}.controls-row{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap;flex:1}.nav__logo{color:var(--primary-color);text-decoration:none;font-size:1.8rem;font-weight:800;white-space:nowrap;padding-left:2rem}.nav__logo:hover{color:#43a047}.exercise-select,.difficulty-select{background-color:var(--surface-color);border:1px solid var(--primary-color);color:var(--primary-color);cursor:pointer;padding:.75rem 2.5rem .75rem 1rem;font-size:1rem;border-radius:50px;transition:none;flex:1;min-width:120px;max-width:160px;text-align:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ADE80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:1rem}.target-angles{padding:.75rem 1.5rem;font-size:1rem;color:var(--text-color);white-space:nowrap;text-align:center}.workout-mode-indicator{padding:.5rem 1rem;font-size:.85rem;font-weight:600;color:#fff;background:linear-gradient(135deg,var(--primary-color),#22C55E);border-radius:20px;white-space:nowrap;text-align:center;box-shadow:0 2px 8px #4ade804d;transition:all .3s ease}.workout-mode-indicator.free{background:linear-gradient(135deg,#f59e0b,#f97316);box-shadow:0 2px 8px #f59e0b4d}.start-button,#login,#signup{cursor:pointer;padding:.75rem 1.5rem;font-size:1rem;border-radius:50px;border:none;transition:none}.start-button{background-color:var(--primary-color);color:#fff;border:none;padding:.75rem 1.5rem;font-size:1rem;cursor:pointer;transition:none;white-space:nowrap;flex:0 0 auto}.start-button:hover{background-color:#43a047}.start-button.tracking{background:#dc2626}.start-button.tracking:hover{background:#b91c1c}#login{background-color:var(--secondary-color);color:#fff}#signup{background-color:#6b46c1;color:#fff}#signup:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6b46c14d}.user-profile-container{display:none}.dropdown-menu{position:absolute;top:calc(100% + 10px);right:0;background:var(--surface-color);border-radius:8px;box-shadow:0 2px 10px var(--shadow-color);min-width:180px;display:none;z-index:1004}.dropdown-menu.active{display:block}.dropdown-menu a,.dropdown-menu button{display:block;padding:12px 16px;text-decoration:none;color:#333;width:100%;text-align:left;border:none;background:none;font-size:14px;cursor:pointer;transition:none}.dropdown-menu a:hover,.dropdown-menu button:hover{background-color:var(--surface-color-hover)}.dropdown-menu button.logout{color:#f44;border-top:1px solid #eee}.mobile-nav{display:none}.desktop-nav{display:block}@media (max-width: 900px){.navigation{background:#fffc;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 2px 10px var(--shadow-color)}.mobile-nav{display:flex;flex-direction:column;padding:.75rem 1rem;gap:.75rem}.mobile-header{display:flex;align-items:center;width:100%;min-height:40px;gap:1rem}.mobile-header .nav__logo{font-size:1.6rem;font-weight:800;padding-left:.5rem;flex:0 0 auto;width:25%}.mobile-header .workout-mode-indicator{font-size:.7rem;padding:.3rem .6rem;margin:0;flex:0 0 auto;width:20%;display:flex;justify-content:center;align-items:center}.mobile-header .target-angles{font-size:.7rem;color:var(--text-color);opacity:.7;line-height:1;text-align:center;flex:0 0 auto;width:20%;display:flex;justify-content:center;align-items:center}.mobile-header .exercise-label{font-size:.9rem;font-weight:600;color:var(--primary-color);line-height:1.2;text-align:right;flex:0 0 auto;width:35%;padding-right:.5rem}.desktop-nav{display:none}.mobile-controls{display:flex;gap:.75rem;width:100%;max-width:400px;margin:0 auto;justify-content:center;align-items:center}.mobile-controls .exercise-select{flex:1;min-width:0;padding:.6rem 1rem;font-size:.9rem}.mobile-controls .start-button{flex-shrink:0;min-width:110px;padding:.6rem 1rem;font-size:.9rem}}.container{width:100%;max-width:1072px;margin:80px auto;padding:.5rem 2rem 1.5rem}.page-content{max-width:800px;margin:calc(var(--header-height) + 2rem) auto 6rem auto;padding:1.5rem;background:var(--surface-color);border-radius:8px;box-shadow:0 2px 10px var(--shadow-color);padding-top:75px}.video-container{position:relative;width:100%;height:70vh;max-height:calc(100vh - 200px);border-radius:20px;overflow:hidden;background:#000}#video,#overlay{position:absolute;width:100%;height:100%;object-fit:cover}#repCounter{position:absolute;left:40px;top:20px;color:var(--primary-color);font-size:8rem;font-weight:700;text-shadow:0px 3px 3px rgba(0,0,0,.5);z-index:2}#formFeedback{position:absolute;top:105px;right:40px;font-size:1.5rem;color:var(--primary-color);text-shadow:0px 2px 2px rgba(0,0,0,.5);text-align:right;z-index:2;max-width:300px;word-wrap:break-word;line-height:1.3;transition:all .3s ease}#formFeedback.transitioning{color:orange;animation:transitionPulse 1.5s ease-in-out infinite;text-shadow:0px 2px 4px rgba(255,165,0,.3)}@keyframes transitionPulse{0%,to{opacity:.8;transform:scale(1)}50%{opacity:1;transform:scale(1.05)}}.countdown-overlay{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:#00000080;z-index:1000}.countdown-overlay span{font-size:120px;color:var(--primary-color);font-weight:700;animation:countdownPulse .5s ease-in-out}@keyframes countdownPulse{0%{transform:scale(.5);opacity:0}50%{transform:scale(1.2)}to{transform:scale(1);opacity:1}}.hidden{display:none!important}.rest-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#000000e6;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .3s ease-out}.rest-overlay.hidden{display:none!important}.rest-content{text-align:center;color:#fff;max-width:400px;padding:2rem;position:relative}.close-overlay-btn{position:absolute;top:1.5rem;right:1.5rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;font-size:1.2rem;transition:all .3s ease;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);z-index:10;flex-shrink:0}.rest-overlay .close-overlay-btn{background:#0006;border:1px solid rgba(255,255,255,.3);color:#fff;position:fixed;top:1rem;right:1rem}.rest-overlay .close-overlay-btn:hover{background:#0009;border-color:#ffffff80;transform:scale(1.1)}.workout-complete-overlay .close-overlay-btn{background:#0000001a;border:1px solid rgba(0,0,0,.2);color:#374151}.workout-complete-overlay .close-overlay-btn:hover{background:#0003;border-color:#0000004d;transform:scale(1.1)}.close-overlay-btn:hover{background:#fff3;border-color:#fff6;transform:scale(1.1)}.close-overlay-btn:active{transform:scale(.95)}.close-overlay-btn i{pointer-events:none}.set-complete-banner{margin-bottom:2rem;animation:slideInFromTop .6s ease-out}.celebration-icon{font-size:3rem;margin-bottom:1rem;animation:bounce 1s ease-in-out infinite}.set-complete-title{font-size:2.5rem;font-weight:700;color:var(--primary-color);margin-bottom:.5rem;text-shadow:0 2px 4px rgba(0,0,0,.3)}.set-progress{font-size:1.2rem;color:#ccc;margin:0}.rest-timer-container{margin:2rem 0;display:flex;justify-content:center;animation:slideInFromBottom .6s ease-out .2s both}.rest-timer-circle{position:relative;display:inline-block}.progress-ring-bg{fill:none;stroke:#ffffff1a;stroke-width:8}.progress-ring-fill{fill:none;stroke:var(--primary-color);stroke-width:8;stroke-linecap:round;stroke-dasharray:439.82;stroke-dashoffset:0}.rest-timer-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.rest-timer-text{display:flex;flex-direction:column;align-items:center}#restTimeRemaining{font-size:3.5rem;font-weight:700;color:#fff;line-height:1;text-shadow:0 2px 4px rgba(0,0,0,.3)}.rest-timer-label{font-size:1rem;color:#ccc;margin-top:.25rem}.rest-instructions{animation:slideInFromBottom .6s ease-out .4s both}#restMessage{font-size:1.3rem;color:#ccc;margin-bottom:1rem}.next-set-info{padding:.75rem 1.5rem;background:#ffffff1a;border-radius:25px;font-size:1.1rem;color:#fff;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}#nextExercise{color:var(--primary-color);font-weight:700}.rest-overlay.warning .progress-ring-fill{stroke:var(--warning-color)}.rest-overlay.warning #restTimeRemaining{color:var(--warning-color);animation:pulse 1s ease-in-out infinite}.rest-overlay.critical .progress-ring-fill{stroke:var(--error-color)}.rest-overlay.critical #restTimeRemaining{color:var(--error-color);animation:urgentPulse .5s ease-in-out infinite}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideInFromTop{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInFromBottom{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes bounce{0%,20%,50%,80%,to{transform:translateY(0)}40%{transform:translateY(-10px)}60%{transform:translateY(-5px)}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}@keyframes urgentPulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}@media (max-width: 600px){.rest-content{padding:1.5rem;max-width:380px;min-height:400px}.set-complete-title{font-size:2rem;margin-bottom:1rem}.celebration-icon{font-size:2.5rem;margin-bottom:.5rem}.progress-ring{width:140px;height:140px;margin:.5rem auto}.progress-ring-bg,.progress-ring-fill{r:60;stroke-dasharray:376.99;cx:70;cy:70}#restTimeRemaining{font-size:2.6rem}#restMessage{font-size:1.1rem;margin-top:1rem}.next-set-info{font-size:1rem;padding:.5rem 1rem;margin-top:1rem}.close-overlay-btn{width:36px;height:36px;font-size:1.1rem;top:1rem;right:1rem}.rest-overlay .close-overlay-btn{top:1rem;right:1rem}}@media (max-width: 768px) and (min-width: 601px){.close-overlay-btn{top:1.25rem;right:1.25rem;width:38px;height:38px;font-size:1.15rem}.rest-overlay .close-overlay-btn{top:1rem;right:1rem}}@media (max-width: 400px){.rest-content{padding:1rem;max-width:320px;min-height:380px}.set-complete-title{font-size:1.8rem;margin-bottom:.75rem}.celebration-icon{font-size:2rem;margin-bottom:.5rem}.progress-ring{width:120px;height:120px;margin:.5rem auto}.progress-ring-bg,.progress-ring-fill{r:50;stroke-dasharray:314.16;cx:60;cy:60}#restTimeRemaining{font-size:2.2rem}#restMessage{font-size:1rem;margin-top:.75rem}.next-set-info{font-size:.9rem;padding:.4rem .8rem;margin-top:.75rem}.close-overlay-btn{width:32px;height:32px;font-size:1rem;top:.75rem;right:.75rem}.rest-overlay .close-overlay-btn{top:.75rem;right:.75rem}}[data-theme=dark] .rest-overlay{background:#121212f2}[data-theme=dark] .set-complete-title{color:var(--primary-color)}[data-theme=dark] .set-progress,[data-theme=dark] .rest-timer-label,[data-theme=dark] #restMessage{color:#b0b0b0}[data-theme=dark] .next-set-info{background:#ffffff0d;border:1px solid rgba(255,255,255,.1)}[data-theme=dark] .progress-ring-bg{stroke:#ffffff0d}[data-theme=dark] .rest-overlay .close-overlay-btn{background:#0009;border-color:#fff6;color:#fff}[data-theme=dark] .rest-overlay .close-overlay-btn:hover{background:#000c;border-color:#fff9;color:#fff}[data-theme=dark] .workout-complete-overlay .close-overlay-btn{background:#ffffff1a;border-color:#fff3;color:#e5e7eb}[data-theme=dark] .workout-complete-overlay .close-overlay-btn:hover{background:#fff3;border-color:#ffffff4d;color:#fff}.workout-complete-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000e6;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .5s ease-out}.workout-complete-overlay.hidden{display:none}.workout-complete-content{background:linear-gradient(135deg,#fff,#f8f9fa);border-radius:24px;padding:3rem;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;text-align:center;box-shadow:0 20px 60px #0000004d;animation:slideInFromTop .6s ease-out;position:relative}.workout-complete-banner{margin-bottom:2rem;animation:slideInFromTop .8s ease-out}.workout-complete-banner .celebration-icon{font-size:4rem;margin-bottom:1rem;animation:bounce 1s ease-out}.workout-complete-title{font-size:2.5rem;font-weight:800;color:#2d3748;margin-bottom:.5rem;background:linear-gradient(135deg,#4ade80,#22c55e);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.workout-complete-subtitle{font-size:1.1rem;color:#6b7280;margin-bottom:0}.workout-summary{margin-bottom:2rem;animation:slideInFromBottom 1s ease-out}.summary-stats{display:flex;justify-content:space-around;margin-bottom:2rem;padding:1.5rem;background:#4ade801a;border-radius:16px;border:1px solid rgba(74,222,128,.2)}.stat-item{text-align:center}.stat-number{font-size:2rem;font-weight:800;color:#4ade80;margin-bottom:.25rem}.stat-label{font-size:.9rem;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.exercise-summary{text-align:left;background:#f8f9fa;padding:1.5rem;border-radius:12px;border:1px solid #e5e7eb}.exercise-summary h3{font-size:1.2rem;color:#374151;margin-bottom:1rem;font-weight:600}.set-breakdown{display:flex;flex-direction:column;gap:.75rem}.set-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#fff;border-radius:8px;border:1px solid #e5e7eb}.set-info{font-weight:600;color:#374151}.set-reps{color:#4ade80;font-weight:700}.set-duration{font-size:.85rem;color:#6b7280}.workout-complete-actions{display:flex;gap:1rem;margin-bottom:2rem;animation:slideInFromBottom 1.2s ease-out}.action-btn{flex:1;padding:1rem 1.5rem;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:.5rem}.action-btn.primary{background:linear-gradient(135deg,#4ade80,#22c55e);color:#fff;box-shadow:0 4px 15px #4ade804d}.action-btn.primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #4ade8066}.action-btn.secondary{background:#f8f9fa;color:#6b7280;border:1px solid #e5e7eb}.action-btn.secondary:hover{background:#e5e7eb;color:#374151;transform:translateY(-1px)}.action-btn.challenge{background:linear-gradient(135deg,#f59e0b,#f97316);color:#fff;box-shadow:0 4px 15px #f59e0b4d}.action-btn.challenge:hover{background:linear-gradient(135deg,#f97316,#f59e0b);transform:translateY(-2px);box-shadow:0 6px 20px #f59e0b66}.motivational-message{padding:1.5rem;background:linear-gradient(135deg,#4ade801a,#22c55e1a);border-radius:12px;border:1px solid rgba(74,222,128,.2);animation:fadeIn 1.5s ease-out}.motivational-message p{font-style:italic;color:#4b5563;margin:0;font-size:1rem;line-height:1.5}@media (max-width: 600px){.workout-complete-content{padding:2rem 1.5rem;border-radius:16px}.workout-complete-title{font-size:2rem}.workout-complete-banner .celebration-icon{font-size:3rem}.summary-stats{flex-direction:column;gap:1rem;padding:1rem}.stat-number{font-size:1.5rem}.workout-complete-actions{flex-direction:column}.action-btn{padding:.875rem 1.25rem}}@media (max-width: 400px){.workout-complete-content{padding:1.5rem 1rem;width:95%}.workout-complete-title{font-size:1.75rem}.summary-stats{padding:.75rem}.stat-number{font-size:1.25rem}}[data-theme=dark] .workout-complete-content{background:linear-gradient(135deg,#1e1e1e,#2d2d2d);border:1px solid #333}[data-theme=dark] .workout-complete-title{color:#e0e0e0}[data-theme=dark] .workout-complete-subtitle{color:#b0b0b0}[data-theme=dark] .summary-stats{background:#4ade8026;border:1px solid rgba(74,222,128,.3)}[data-theme=dark] .stat-label{color:#b0b0b0}[data-theme=dark] .exercise-summary{background:#2d2d2d;border:1px solid #404040}[data-theme=dark] .exercise-summary h3{color:#e0e0e0}[data-theme=dark] .set-item{background:#1e1e1e;border:1px solid #404040}[data-theme=dark] .set-info{color:#e0e0e0}[data-theme=dark] .set-duration{color:#b0b0b0}[data-theme=dark] .action-btn.secondary{background:#2d2d2d;color:#b0b0b0;border:1px solid #404040}[data-theme=dark] .action-btn.secondary:hover{background:#404040;color:#e0e0e0}[data-theme=dark] .motivational-message{background:linear-gradient(135deg,#4ade8026,#22c55e26);border:1px solid rgba(74,222,128,.3)}[data-theme=dark] .motivational-message p{color:#d0d0d0}.free-workout-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;padding:1rem;background:linear-gradient(135deg,#f59e0b1a,#f973161a);border:1px solid rgba(245,158,11,.2);border-radius:12px;margin-top:1rem}.free-stat-item{text-align:center;padding:.75rem;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;transition:transform .3s ease}.free-stat-item:hover{transform:translateY(-2px)}.free-stat-label{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.25rem;font-weight:600}.free-stat-value{font-size:1.25rem;font-weight:700;color:#f59e0b}.challenge-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:10000;padding:1rem;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);animation:fadeIn .3s ease-out}.challenge-modal.hidden{display:none}.challenge-modal-content{background:#fff;border-radius:16px;padding:2rem;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 20px 40px #0003;animation:slideInFromBottom .4s ease-out}.close-modal-btn{position:absolute;top:1rem;right:1rem;background:#f3f4f6;border:none;border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;color:#6b7280}.close-modal-btn:hover{background:#e5e7eb;color:#374151;transform:rotate(90deg)}.challenge-header{text-align:center;margin-bottom:2rem}.challenge-icon{font-size:3rem;margin-bottom:1rem}.challenge-header h2{color:#1f2937;margin-bottom:.5rem;font-size:1.5rem;font-weight:700}.challenge-header p{color:#6b7280;font-size:1rem}.challenge-workout-summary{margin-bottom:2rem}.challenge-workout-summary h3{color:#1f2937;margin-bottom:1rem;font-size:1.1rem;font-weight:600}.challenge-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;padding:1rem;background:linear-gradient(135deg,#f59e0b1a,#f973161a);border:1px solid rgba(245,158,11,.2);border-radius:12px}.challenge-stat{text-align:center;padding:.75rem;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a}.challenge-stat-label{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.25rem;font-weight:600}.challenge-stat-value{font-size:1.1rem;font-weight:700;color:#f59e0b}.challenge-friend-selection{margin-bottom:2rem}.challenge-friend-selection h3{color:#1f2937;margin-bottom:1rem;font-size:1.1rem;font-weight:600}.friend-input-container{display:flex;flex-direction:column;gap:1rem}.challenge-link-container{display:flex;gap:.5rem;align-items:center}.challenge-link-input{flex:1;padding:.75rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;background-color:#f9fafb;color:#374151;font-family:Courier New,monospace;font-size:.875rem;transition:border-color .3s ease}.challenge-link-input:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.copy-link-btn{padding:.75rem;background:#f59e0b;color:#fff;border:none;border-radius:8px;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;min-width:48px}.copy-link-btn:hover{background:#d97706;transform:translateY(-1px)}.copy-link-btn i{font-size:1rem}.challenge-message-input{width:100%;padding:.75rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;transition:border-color .3s ease;min-height:80px;resize:vertical;font-family:inherit}.challenge-message-input:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.challenge-message-input{min-height:80px;resize:vertical;font-family:inherit}.challenge-actions{display:flex;gap:1rem}@media (max-width: 600px){.challenge-modal-content{padding:1.5rem;margin:.5rem}.challenge-stats{grid-template-columns:1fr;gap:.5rem;padding:.75rem}.challenge-actions{flex-direction:column}.free-workout-stats{grid-template-columns:1fr;gap:.75rem;padding:.75rem}.free-stat-item{padding:.5rem}.free-stat-value{font-size:1rem}}[data-theme=dark] .challenge-modal-content{background:linear-gradient(135deg,#1e1e1e,#2d2d2d);border:1px solid #333}[data-theme=dark] .challenge-header h2,[data-theme=dark] .challenge-workout-summary h3,[data-theme=dark] .challenge-friend-selection h3{color:#e0e0e0}[data-theme=dark] .challenge-header p{color:#b0b0b0}[data-theme=dark] .challenge-stats{background:linear-gradient(135deg,#f59e0b26,#f9731626);border:1px solid rgba(245,158,11,.3)}[data-theme=dark] .challenge-stat,[data-theme=dark] .free-stat-item{background:#1e1e1e;border:1px solid #404040}[data-theme=dark] .challenge-stat-label,[data-theme=dark] .free-stat-label{color:#b0b0b0}[data-theme=dark] .challenge-link-input{background:#2d2d2d;border-color:#404040;color:#e0e0e0}[data-theme=dark] .challenge-link-input:focus{border-color:#f59e0b;background:#1e1e1e}[data-theme=dark] .copy-link-btn{background:#f59e0b;color:#1e1e1e}[data-theme=dark] .copy-link-btn:hover{background:#d97706}[data-theme=dark] .challenge-message-input{background:#2d2d2d;border-color:#404040;color:#e0e0e0}[data-theme=dark] .challenge-message-input:focus{border-color:#f59e0b;background:#1e1e1e}[data-theme=dark] .close-modal-btn{background:#2d2d2d;color:#b0b0b0}[data-theme=dark] .close-modal-btn:hover{background:#404040;color:#e0e0e0}[data-theme=dark] .free-workout-stats{background:linear-gradient(135deg,#f59e0b26,#f9731626);border:1px solid rgba(245,158,11,.3)}.exercise-breakdown{margin-top:1.5rem;padding:1rem;background:linear-gradient(135deg,#4ade801a,#22c55e1a);border:1px solid rgba(74,222,128,.2);border-radius:12px}.exercise-breakdown h4{margin:0 0 1rem;color:#1f2937;font-size:1rem;font-weight:600}.exercise-segments{display:flex;flex-direction:column;gap:.75rem}.exercise-segment{padding:.75rem;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;transition:transform .3s ease}.exercise-segment:hover{transform:translateY(-2px)}.exercise-segment-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.25rem}.exercise-name{font-weight:600;color:#1f2937;font-size:.9rem}.exercise-reps{font-weight:700;color:#4ade80;font-size:.9rem}.exercise-segment-duration{font-size:.8rem;color:#6b7280}.challenge-exercises-breakdown{margin-top:1rem;padding:1rem;background:linear-gradient(135deg,#f59e0b1a,#f973161a);border:1px solid rgba(245,158,11,.2);border-radius:8px;grid-column:1 / -1}.challenge-exercises-breakdown h5{margin:0 0 .75rem;color:#1f2937;font-size:.9rem;font-weight:600}.challenge-exercise-item{padding:.5rem .75rem;background:#fff;border-radius:6px;margin-bottom:.5rem;font-size:.85rem;color:#374151;box-shadow:0 1px 4px #0000001a}.challenge-exercise-item:last-child{margin-bottom:0}[data-theme=dark] .exercise-breakdown{background:linear-gradient(135deg,#4ade8026,#22c55e26);border:1px solid rgba(74,222,128,.3)}[data-theme=dark] .exercise-breakdown h4{color:#e0e0e0}[data-theme=dark] .exercise-segment{background:#1e1e1e;border:1px solid #404040}[data-theme=dark] .exercise-name{color:#e0e0e0}[data-theme=dark] .exercise-segment-duration{color:#b0b0b0}[data-theme=dark] .challenge-exercises-breakdown{background:linear-gradient(135deg,#f59e0b26,#f9731626);border:1px solid rgba(245,158,11,.3)}[data-theme=dark] .challenge-exercises-breakdown h5{color:#e0e0e0}[data-theme=dark] .challenge-exercise-item{background:#1e1e1e;border:1px solid #404040;color:#e0e0e0}@media (max-width: 600px){.exercise-breakdown{padding:.75rem;margin-top:1rem}.exercise-segment{padding:.5rem}.exercise-segment-header{flex-direction:column;align-items:flex-start;gap:.25rem}.challenge-exercises-breakdown{padding:.75rem;margin-top:.75rem}}@media (max-width: 900px) and (min-width: 600px){.mobile-controls{padding:.75rem 2rem;justify-content:center;align-items:center;max-width:500px}.mobile-controls .exercise-select{max-width:200px}.mobile-controls .start-button{max-width:180px}}@media (max-width: 480px){.mobile-nav{padding:.6rem .75rem;gap:.6rem}.mobile-header{gap:.5rem}.mobile-header .nav__logo{font-size:1.6rem;padding-left:.75rem}.mobile-header .exercise-label{font-size:.9rem;padding-right:.75rem}.mobile-header .target-angles{font-size:.75rem}.mobile-header .workout-mode-indicator{font-size:.6rem;padding:.2rem .4rem}.mobile-controls{flex-direction:column;gap:.6rem}.mobile-controls .exercise-select,.mobile-controls .start-button{padding:.5rem .75rem;font-size:.85rem}.mobile-controls .start-button{min-width:100%}.auto-detect-toggle{gap:.25rem;justify-content:center;flex-direction:column;align-items:center}.toggle-label{display:block;font-size:.75rem;margin-top:.15rem;order:2}.exercise-label{font-size:.85rem;margin-left:.25rem;text-align:center;order:3;flex-shrink:0;white-space:nowrap}.auto-detect-toggle input[type=checkbox]{order:1;margin:0}.user-profile-container{margin-left:auto;padding-right:0;order:3}.mobile-controls{padding:.5rem 1rem;gap:.5rem}.mobile-controls .controls-row{justify-content:space-between;width:100%;gap:.5rem}.mobile-controls .exercise-select{flex:1;min-width:140px;max-width:none;font-size:.85rem;padding:.4rem .8rem}.auto-detect-toggle input[type=checkbox]{width:40px;height:22px;margin:0}.auto-detect-toggle input[type=checkbox]:before{width:18px;height:18px}.auto-detect-toggle input[type=checkbox]:checked:before{transform:translate(18px)}.container{padding:.25rem 0rem 1rem}.controls{padding:.5rem 1rem 1rem}.mobile-controls .target-angles{font-size:.85rem;background-color:#fffc;border-radius:20px;border:1px solid rgba(74,222,128,.3);padding:.4rem .8rem;min-width:100px;text-align:center}.start-button{margin:.15rem auto;padding:.6rem 1.25rem}.mobile-controls .start-button{width:100%;max-width:200px;margin:0 auto;font-size:.9rem;padding:.6rem 1.2rem}.user-profile{gap:.15rem}.user-icon{width:32px;height:32px}#mobileUserDisplayName,#desktopUserDisplayName{font-size:.85rem;max-width:80px}.video-container{margin-top:3.8rem}#formFeedback{font-size:1rem;max-width:200px;top:90px;right:20px}}@media (max-width: 900px){#formFeedback{font-size:1.2rem;max-width:250px;top:95px;right:30px}}@media (max-width: 600px){#formFeedback{font-size:1rem;max-width:180px;top:85px;right:25px}}@media (max-width: 400px){#formFeedback{font-size:.9rem;max-width:150px;top:80px;right:15px}}@media (max-width: 320px){#formFeedback{font-size:.8rem;max-width:120px;top:75px;right:10px}}.account-container{width:min(95%,1200px);margin:calc(var(--header-height) + 2rem) auto 6rem auto;padding:2rem;background:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a}.greeting-section{margin-bottom:2rem;text-align:left;padding-left:.5rem}.greeting-text{font-size:1.75rem;color:var(--text-color);margin:0;padding:0;font-weight:500}.account-title{text-align:center;margin-bottom:2rem;color:var(--text-color);font-size:2rem}.account-form{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:2rem}.account-form__group{display:flex;flex-direction:column;gap:.5rem}.account-form__label{font-weight:500;color:var(--text-color)}.account-form__input{padding:.75rem;border:1px solid var(--border-color);border-radius:5px;font-size:1rem}.account-form__input:read-only{background-color:#f5f5f5}.account-form__save-btn{background-color:var(--primary-color);color:#fff;padding:.75rem;border:none;border-radius:5px;font-size:1rem;cursor:pointer;transition:background-color .2s;margin-top:1rem}.account-form__save-btn:hover{background-color:#45a049}.profile-section{display:flex;flex-direction:column;align-items:center;margin-bottom:2rem}.profile-section__upload{position:relative;width:150px;height:150px;margin-bottom:1rem}.profile-section__picture{width:100%;height:100%;border-radius:50%;border:3px solid var(--primary-color);background-color:#f5f5f5;display:flex;align-items:center;justify-content:center;transition:border-color .2s;overflow:hidden}.profile-section__picture img{width:100%;height:100%;object-fit:cover;border-radius:50%}.profile-section__picture i{font-size:80px;color:var(--primary-color)}.profile-section__picture:hover{border-color:var(--secondary-color)}.profile-section__upload-overlay{position:relative;background:var(--primary-color);width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;transition:all .2s;box-shadow:0 2px 4px #0000001a}.profile-section__upload-overlay:hover{background:var(--secondary-color);transform:scale(1.05)}.profile-section__upload-input{display:none}.profile-section__actions{position:absolute;bottom:10px;right:10px;display:flex;gap:8px}.profile-section__gallery-btn{position:relative;background:var(--primary-color);width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;transition:all .2s;box-shadow:0 2px 4px #0000001a;border:none;z-index:10}.profile-section__gallery-btn:hover{background:var(--secondary-color);transform:scale(1.05)}.profile-section__gallery-btn i{font-size:16px}.profile-dropdown{width:100%;margin-bottom:2rem;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 4px #0000000d}.profile-dropdown__toggle{width:100%;padding:1.25rem;display:flex;justify-content:space-between;align-items:center;background:#fff;border:none;color:var(--text-color);font-size:1rem;cursor:pointer;transition:background-color .2s}.profile-dropdown__toggle:hover{background:#f8f8f8}.profile-dropdown__toggle i{transition:transform .2s;color:var(--text-color)}.profile-dropdown__toggle.active i{transform:rotate(180deg)}.profile-dropdown__content{max-height:0;overflow:visible;background:#fff}.profile-dropdown__content.active{max-height:5000px;overflow:visible;min-height:fit-content}.profile-dropdown .account-form{padding:1.5rem;border-top:1px solid var(--border-color)}.section-dropdown{width:100%;margin-bottom:2rem;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 4px #0000000d}.section-dropdown__toggle{width:100%;padding:1.25rem;display:flex;justify-content:space-between;align-items:center;background:#fff;border:none;color:var(--text-color);font-size:1rem;cursor:pointer;transition:background-color .2s}.section-dropdown__toggle:hover{background:#f8f8f8}.section-dropdown__toggle i{transition:transform .2s;color:var(--text-color)}.section-dropdown__toggle.active i{transform:rotate(180deg)}.beta-pill{background:var(--primary-color);color:#fff;font-size:.7rem;font-weight:700;padding:.25rem .6rem;border-radius:12px;text-transform:uppercase;letter-spacing:.5px;margin-left:.5rem;box-shadow:0 2px 4px #4ade804d}.update-pill{background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;font-size:.7rem;font-weight:700;padding:.25rem .6rem;border-radius:12px;text-transform:uppercase;letter-spacing:.5px;margin-left:.5rem;box-shadow:0 2px 4px #22c55e4d;animation:updatePulse 2s infinite}@keyframes updatePulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.05);opacity:.9}}.section-dropdown__content{max-height:0;overflow:hidden;background:#fff;padding:0;transition:max-height .3s ease}.section-dropdown__content.active{max-height:5000px;overflow:visible;min-height:fit-content}.stats-section{background:#fff;border-radius:10px;padding:2rem;box-shadow:0 2px 4px #0000000d}.stats-section__title{text-align:center;margin-bottom:2rem;color:var(--text-color);font-size:1.5rem}.stats-section__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}.stats-section__chart{background:#fffffff2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(74,222,128,.2);padding:1.5rem;border-radius:12px;box-shadow:0 4px 12px #00000014;height:300px;position:relative;transition:all .3s ease}.stats-section__chart h4{margin-bottom:1rem;color:var(--text-color);text-align:center}.stats-section__chart canvas{width:100%!important;height:calc(100% - 40px)!important}.workout-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:2rem;text-align:center}.workout-totals-section{background:#fffffff2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(74,222,128,.2);border-radius:12px;padding:2rem;box-shadow:0 4px 12px #00000014;margin-bottom:2rem;transition:all .3s ease}.workout-total-item{background:#fffc;border:1px solid rgba(74,222,128,.15);padding:20px;border-radius:10px;transition:all .3s ease;box-shadow:0 2px 8px #0000000d}.workout-total-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a;border-color:#4ade804d}.workout-total-item h4{margin:0 0 10px;color:#666}.workout-total-item span{font-size:24px;font-weight:700;color:#333}.time-range-button{position:fixed;bottom:calc(4rem + 60px);right:2rem;z-index:1000}.time-range-toggle{background:#ffffffe6;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:var(--primary-color);padding:.75rem 1.5rem;border:1px solid rgba(74,222,128,.3);border-radius:25px;font-size:1rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.5rem;box-shadow:0 2px 10px #0000001a;transition:transform .2s,box-shadow .2s,background-color .2s,border-color .2s}.time-range-toggle:hover{transform:translateY(-2px);background:#fffffff2;border-color:#4ade8080;box-shadow:0 4px 15px #00000026}.time-range-toggle i{transition:transform .2s}.time-range-toggle.active i{transform:rotate(180deg)}.time-range-dropdown{position:absolute;bottom:100%;right:0;margin-bottom:.5rem;background:#fffffff2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(74,222,128,.3);border-radius:12px;box-shadow:0 4px 15px #00000026;overflow:hidden;display:none}.time-range-dropdown.active{display:block}.time-range-option{padding:.75rem 1.5rem;cursor:pointer;transition:background-color .2s;white-space:nowrap}.time-range-option:hover{background-color:#4ade801a;color:var(--primary-color)}.time-range-option.selected{background-color:#4ade8033;color:var(--primary-color);font-weight:600}.achievements-section{background:#fffffff2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(74,222,128,.2);border-radius:12px;padding:2rem;margin-top:2rem;box-shadow:0 4px 12px #00000014;transition:all .3s ease}.achievements-section__title{color:var(--text-color);font-size:1.5rem;margin-bottom:1.5rem}.achievements-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.achievement-card{background:#fffffff2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(74,222,128,.2);border-radius:12px;padding:1.5rem;text-align:center;transition:all .3s ease;position:relative;box-shadow:0 4px 12px #00000014}.achievement-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #0000001f;border-color:#4ade8066}.achievement-icon{font-size:2rem;margin-bottom:1rem;color:#ccc;transition:color .3s ease}.achievement-card.completed .achievement-icon{color:gold;text-shadow:0 2px 4px rgba(255,215,0,.3)}.achievement-card.completed{background:linear-gradient(135deg,#fffffff2,#fff8dcf2);border-color:#ffd70066;box-shadow:0 4px 16px #ffd70033}.achievement-card h4{color:var(--text-color);margin-bottom:.5rem}.achievement-card p{color:#666;font-size:.9rem;margin-bottom:1rem}.achievement-progress{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:1rem;gap:1rem}.daily-progress{width:100%;margin-top:.5rem}.daily-progress-bar{width:100%;height:6px;background:#eee;border-radius:3px;overflow:hidden;position:relative}.daily-progress-fill{height:100%;background:var(--primary-color);border-radius:3px;transition:width .3s ease}.daily-progress-text{font-size:.8rem;color:var(--text-color);text-align:center;margin-top:.25rem}.progress-ring{position:relative;display:inline-flex;justify-content:center;align-items:center;width:60px;height:60px}.progress-ring__circle{transform:rotate(-90deg)}.progress-ring__circle-bg{fill:none;stroke:#eee;stroke-width:4}.progress-ring__circle-progress{fill:none;stroke:var(--primary-color);stroke-width:4;stroke-linecap:round;transition:stroke-dashoffset .3s ease}.progress-ring__text{position:absolute;top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;font-size:1rem;color:var(--text-color);font-weight:600;pointer-events:none;white-space:nowrap}.weekly-tracker-section{background:#fffffff2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(74,222,128,.2);border-radius:12px;padding:2rem;margin-bottom:2rem;box-shadow:0 4px 12px #00000014;transition:all .3s ease}.weekly-tracker-section__title{color:var(--text-color);font-size:1.5rem;margin-bottom:2rem;text-align:center}.weekly-tracker-grid{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:.5rem}.day-circle{display:flex;flex-direction:column;align-items:center;gap:.5rem;flex:1;min-width:60px;max-width:80px}.day-label{font-size:1rem;font-weight:500;color:var(--text-color)}.completion-circle{width:50px;height:50px;border-radius:50%;border:2px solid var(--border-color);display:flex;align-items:center;justify-content:center;background:#fff;transition:all .3s ease}.completion-circle i{color:var(--border-color);font-size:1.2rem;opacity:0;transition:all .3s ease}.day-circle[data-completed=true] .completion-circle{background:var(--primary-color);border-color:var(--primary-color)}.day-circle[data-completed=true] .completion-circle i{color:#fff;opacity:1}.day-circle[data-current=true]{position:relative}.day-circle[data-current=true] .day-label{font-weight:700}.day-circle[data-current=true] .completion-circle{box-shadow:0 0 0 3px #4ade8066}.day-circle[data-current=true]:after{content:none}@media (max-width: 768px){.weekly-tracker-grid{justify-content:center;gap:1rem;padding:0}.day-circle{min-width:50px;max-width:70px}.completion-circle{width:45px;height:45px}.day-label{font-size:.9rem}}@media (max-width: 600px){.account-container{width:100%;margin:calc(var(--header-height)) auto 6rem auto;padding:0;border-radius:0;box-shadow:none}.workout-totals-section{padding:.75rem;margin-bottom:.75rem}.workout-totals{gap:.5rem;margin-bottom:.5rem;grid-template-columns:repeat(2,1fr)}.workout-total-item{padding:.5rem;font-size:.85rem}.workout-total-item h4{margin:0 0 .25rem;font-size:.75rem}.workout-total-item span{font-size:1.25rem}}@media (max-width: 480px){.account-container{width:100%;margin:calc(var(--header-height)) auto 6rem auto;padding:0;border-radius:0;box-shadow:none}.workout-totals-section{padding:.5rem;margin-bottom:.5rem}.workout-totals{gap:.25rem;margin-bottom:.25rem;grid-template-columns:repeat(2,1fr)}.workout-total-item{padding:.375rem;font-size:.8rem}.workout-total-item h4{margin:0 0 .125rem;font-size:.7rem}.workout-total-item span{font-size:1.1rem}}.weekly-tracker-section{padding:1rem;margin-bottom:1.5rem}.weekly-tracker-section__title{font-size:1.25rem;margin-bottom:1.5rem}.weekly-tracker-grid{gap:.75rem}.day-circle{min-width:40px;max-width:60px}.completion-circle{width:40px;height:40px}.completion-circle i{font-size:1rem}.day-label{font-size:.8rem}@media (max-width: 1024px){.stats-section__grid{grid-template-columns:1fr}}@media (max-width: 768px){.account-container{padding:1.5rem 1rem}.stats-section{padding:1rem}.stats-section__grid{gap:1rem}.stats-section__chart{height:300px;padding:1rem}.workout-totals,.achievements-grid{grid-template-columns:1fr}.achievement-card{padding:1rem}.time-range-button{bottom:calc(4rem + 70px);right:1rem}.time-range-toggle{padding:.6rem 1.25rem;font-size:.9rem}}.modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:1000;align-items:center;justify-content:center}.modal.active{display:flex}.modal-content{background:#fff;border-radius:10px;width:90%;max-width:600px;max-height:80vh;overflow:hidden;position:relative;animation:modalFadeIn .3s ease}@keyframes modalFadeIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.modal-header{padding:1rem;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center}.modal-header h3{margin:0;color:var(--text-color)}.close-modal{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#666;padding:.5rem;transition:color .2s}.close-modal:hover{color:#333}.modal-body{padding:2rem;overflow-y:auto;max-height:calc(80vh - 60px)}.avatar-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:1rem;padding:1rem}.avatar-gallery-item{position:relative;aspect-ratio:1;cursor:pointer;transition:all .2s;margin:8px}.avatar-gallery-item .image-container{width:100%;height:100%;border-radius:50%;border:3px solid transparent;overflow:hidden;background-color:#f5f5f5;transition:border-color .2s}.avatar-gallery-item:hover .image-container,.avatar-gallery-item:active .image-container{border-color:var(--primary-color)}.avatar-gallery-item img{width:100%;height:100%;object-fit:cover}.avatar-gallery-item .delete-btn{position:absolute;top:-8px;right:-8px;width:24px;height:24px;background:none;z-index:2;display:block}.delete-btn button{background:#f44;border:none;color:#fff;width:24px;height:24px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s;box-shadow:0 2px 4px #0003}.delete-btn button:hover,.delete-btn button:active{background:red;transform:scale(1.1)}.delete-btn button i{font-size:12px}.leaderboard-container{width:min(95%,1200px);margin:calc(var(--header-height) + 2rem) auto 6rem auto;padding:2rem;background:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a}.leaderboard-header{text-align:center;margin-bottom:1.5rem;padding:0 1rem}.leaderboard-header h1{color:var(--text-color);margin:0;font-size:2rem;font-weight:500}.user-position-display{background:#fffffff2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(74,222,128,.2);border-radius:12px;padding:2rem;margin:0 1rem 1.5rem;box-shadow:0 4px 12px #00000014;transition:all .3s ease}.user-position-display:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a;border-color:#4ade804d}.user-position-display h3{color:var(--text-color);margin:0 0 1.5rem;text-align:center;font-size:1.25rem;font-weight:500}.position-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.position-stat{text-align:center;padding:1.5rem;background:#fffc;border:1px solid rgba(74,222,128,.15);border-radius:10px;transition:all .3s ease;box-shadow:0 2px 8px #0000000d}.position-stat:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a;border-color:#4ade804d}.position-stat-label{margin:0 0 10px;color:#666;font-size:1rem;font-weight:600}.position-stat-value{font-size:28px;font-weight:700;color:#333;line-height:1}.position-stat-subtitle{margin-top:4px;color:#888;font-size:.85rem;font-weight:500}.user-position-loading{text-align:center;color:var(--primary-color);font-style:italic;padding:3rem;font-size:1.1rem;display:flex;align-items:center;justify-content:center;gap:1rem}.user-position-loading:before{content:"";width:20px;height:20px;border:2px solid var(--primary-color);border-top:2px solid transparent;border-radius:50%;animation:spin 1s linear infinite}.leaderboard-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.5rem;padding:0 1rem}.leaderboard-category{background:#fffffff2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(74,222,128,.2);border-radius:12px;padding:.5rem;box-shadow:0 4px 12px #00000014;margin-bottom:2rem;transition:all .3s ease}.leaderboard-category:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a;border-color:#4ade804d}.leaderboard-category h3{color:var(--text-color);margin:0 0 1.5rem;text-align:center;font-size:1.25rem;font-weight:500}.leaderboard-list{min-height:240px;display:flex;flex-direction:column;gap:.5rem}.leaderboard-item{display:flex;align-items:center;padding:.5rem;border-radius:12px;background:#fffc;border:1px solid rgba(74,222,128,.15);transition:all .3s ease;position:relative;overflow:hidden;box-shadow:0 2px 8px #0000000d}.leaderboard-item:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(74,222,128,.1),transparent);transition:left .5s ease}.leaderboard-item:hover:before{left:100%}.leaderboard-item:hover{transform:translate(4px);background:#fffffff2;border-color:#4ade804d;box-shadow:0 4px 12px #0000001a}.leaderboard-rank{font-size:2.5rem;font-weight:800;color:var(--primary-color);width:70px;text-align:center;position:relative;z-index:1}.leaderboard-user{display:flex;align-items:center;flex:1;z-index:1}.leaderboard-avatar{width:48px;height:48px;border-radius:50%;margin-right:1rem;object-fit:cover;background:linear-gradient(135deg,var(--primary-color),#22c55e);border:3px solid rgba(74,222,128,.2);transition:all .3s ease;box-shadow:0 4px 12px #4ade8033}.leaderboard-item:hover .leaderboard-avatar{transform:scale(1.05);border-color:#4ade8066;box-shadow:0 6px 16px #4ade804d}.leaderboard-username{font-weight:600;color:#333;font-size:1.1rem}.leaderboard-score{font-weight:800;color:var(--primary-color);font-size:1.3rem;z-index:1}.leaderboard-loading{display:flex;justify-content:center;align-items:center;height:240px;color:var(--primary-color);font-style:italic;font-size:1.1rem;flex-direction:column;gap:1rem}.leaderboard-loading:before{content:"";width:32px;height:32px;border:3px solid rgba(74,222,128,.3);border-top:3px solid var(--primary-color);border-radius:50%;animation:spin 1s linear infinite}.leaderboard-item[data-rank="1"]{background:linear-gradient(135deg,#ffd7001a,#ffd7000d);border-color:#ffd7004d}.leaderboard-item[data-rank="1"] .leaderboard-rank{color:gold;text-shadow:0 2px 4px rgba(255,215,0,.3);position:relative}.leaderboard-item[data-rank="2"]{background:linear-gradient(135deg,#c0c0c01a,#c0c0c00d);border-color:#c0c0c04d}.leaderboard-item[data-rank="2"] .leaderboard-rank{color:silver;text-shadow:0 2px 4px rgba(192,192,192,.3);position:relative}.leaderboard-item[data-rank="3"]{background:linear-gradient(135deg,#cd7f321a,#cd7f320d);border-color:#cd7f324d}.leaderboard-item[data-rank="3"] .leaderboard-rank{color:#cd7f32;text-shadow:0 2px 4px rgba(205,127,50,.3);position:relative}[data-theme=dark] .leaderboard-container{background:var(--surface-color);box-shadow:0 2px 10px #0000004d}[data-theme=dark] .leaderboard-category,[data-theme=dark] .user-position-display{background-color:#2d2d2d;border:1px solid #444;box-shadow:0 2px 8px #0003;color:#ffffffe6}[data-theme=dark] .position-stat{background-color:#1e1e1e;border:1px solid #444;box-shadow:0 2px 8px #0003;color:#ffffffe6}[data-theme=dark] .position-stat-label{color:#ffffffb3}[data-theme=dark] .position-stat-value{color:#fffffff2}[data-theme=dark] .position-stat-subtitle{color:#ffffff80}[data-theme=dark] .leaderboard-item{background:#1e1e1e;border:1px solid #444;box-shadow:0 2px 8px #0003}[data-theme=dark] .leaderboard-item:hover{background:#2a2a2a;border-color:#555;box-shadow:0 4px 12px #0000004d}[data-theme=dark] .leaderboard-username{color:#ffffffe6}[data-theme=dark] .leaderboard-rank:not([data-rank="1"]):not([data-rank="2"]):not([data-rank="3"]){color:var(--primary-color)}[data-theme=dark] .leaderboard-item[data-rank="1"]{background:linear-gradient(135deg,#ffd70026,#ffd70014)}[data-theme=dark] .leaderboard-item[data-rank="2"]{background:linear-gradient(135deg,#c0c0c026,#c0c0c014)}[data-theme=dark] .leaderboard-item[data-rank="3"]{background:linear-gradient(135deg,#cd7f3226,#cd7f3214)}@media (max-width: 600px){[data-theme=dark] .leaderboard-container{background:var(--surface-color)}[data-theme=dark] .leaderboard-category,[data-theme=dark] .user-position-display{background-color:#2d2d2d;border:1px solid #444;box-shadow:0 2px 8px #0003}[data-theme=dark] .position-stat{background-color:#1e1e1e;border:1px solid #444;box-shadow:0 2px 8px #0003}[data-theme=dark] .position-stat-label{color:#ffffffb3}[data-theme=dark] .position-stat-value{color:#fffffff2}[data-theme=dark] .position-stat-subtitle{color:#ffffff80}}@media (max-width: 480px){[data-theme=dark] .leaderboard-container{background:var(--surface-color)}[data-theme=dark] .leaderboard-category,[data-theme=dark] .user-position-display{background-color:#2d2d2d;border:1px solid #444;box-shadow:0 2px 8px #0003}[data-theme=dark] .position-stat{background-color:#1e1e1e;border:1px solid #444;box-shadow:0 2px 8px #0003}[data-theme=dark] .position-stat-label{color:#ffffffb3}[data-theme=dark] .position-stat-value{color:#fffffff2}[data-theme=dark] .position-stat-subtitle{color:#ffffff80}}@media (max-width: 768px){.leaderboard-container{margin:calc(var(--header-height) + 1rem) auto 6rem auto;padding:1.5rem;border-radius:16px}}@media (max-width: 600px){.leaderboard-container{width:100%;margin:calc(var(--header-height)) auto 6rem auto;padding:1rem;border-radius:0;box-shadow:none;background:#fff}.leaderboard-categories{grid-template-columns:1fr;gap:.75rem;padding:0}.leaderboard-category{padding:.75rem;margin-bottom:.75rem;border-radius:12px;box-shadow:0 4px 12px #00000014;background:#fff;border:1px solid rgba(74,222,128,.2)}.user-position-display{margin:0 0 .75rem;padding:.75rem;border-radius:12px;box-shadow:0 4px 12px #00000014;background:#fff;border:1px solid rgba(74,222,128,.2)}.position-stat{padding:.5rem;border-radius:10px;background:#fff;border:1px solid rgba(74,222,128,.15);box-shadow:0 2px 8px #0000000d}}@media (max-width: 480px){.leaderboard-container{width:100%;margin:calc(var(--header-height)) auto 6rem auto;padding:.75rem;border-radius:0;box-shadow:none;background:#fff}.leaderboard-categories{gap:.5rem;padding:0}.leaderboard-category{padding:.5rem;margin-bottom:.5rem;border-radius:12px;box-shadow:0 4px 12px #00000014;background:#fff;border:1px solid rgba(74,222,128,.2)}.user-position-display{margin:0 0 .5rem;padding:.5rem;border-radius:12px;box-shadow:0 4px 12px #00000014;background:#fff;border:1px solid rgba(74,222,128,.2)}.position-stat{padding:.375rem;border-radius:10px;background:#fff;border:1px solid rgba(74,222,128,.15);box-shadow:0 2px 8px #0000000d}}.auth-logo{display:block;width:96px;height:96px;margin:0 auto 2rem}.auth-title{text-align:center;color:var(--secondary-color);margin-bottom:1.5rem;font-size:1.8rem;width:100%}.google-auth-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;background:#fff;color:var(--secondary-color);padding:.75rem;border:1px solid var(--border-color);border-radius:8px;font-size:1rem;cursor:pointer;transition:all .3s ease;width:100%;margin-bottom:1rem}.auth-divider{display:flex;align-items:center;text-align:center;margin:0 0 1rem;color:var(--secondary-color);font-size:.9rem;width:100%}.auth-divider:before,.auth-divider:after{content:"";flex:1;border-bottom:1px solid var(--border-color)}.auth-divider span{padding:0 10px}.auth-form{display:flex;flex-direction:column;gap:1.5rem;width:100%}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.9rem;color:var(--secondary-color);font-weight:500}.form-group input{padding:.75rem;border:1px solid var(--border-color);border-radius:8px;font-size:1rem;transition:border-color .3s ease}.form-group input:focus{outline:none;border-color:var(--primary-color)}.auth-btn{background:var(--primary-color);color:#fff;padding:.75rem;border:none;border-radius:8px;font-size:1rem;cursor:pointer;transition:all .3s ease}.auth-btn:hover{background:#43a047;transform:translateY(-2px)}.auth-link{text-align:center;margin-top:1rem}.auth-link a{color:var(--primary-color);text-decoration:none;font-size:.9rem;transition:color .3s ease}.auth-link a:hover{color:#43a047}.forgot-password{color:var(--primary-color);text-decoration:none;font-size:.9rem;transition:color .3s ease;display:inline-block;margin-top:.5rem}.forgot-password:hover{color:#43a047}.auto-detect-toggle{display:flex;align-items:center;cursor:pointer;margin-right:.5rem;white-space:nowrap}.auto-detect-toggle input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:44px;height:24px;background-color:#e0e0e0;border-radius:24px;position:relative;cursor:pointer;transition:background-color .2s}.auto-detect-toggle input[type=checkbox]:before{content:"";position:absolute;width:20px;height:20px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform .2s}.auto-detect-toggle input[type=checkbox]:checked{background-color:var(--primary-color)}.auto-detect-toggle input[type=checkbox]:checked:before{transform:translate(20px)}.toggle-label{font-size:.95rem;color:var(--text-color)}.exercise-label{font-size:.95rem;font-weight:600;color:var(--primary-color);margin-left:.5rem;white-space:nowrap}@media (max-width: 900px){.auto-detect-toggle{margin-right:0}.toggle-label{font-size:.9rem}.exercise-label{font-size:.9rem;margin-left:0}}@media (max-width: 480px){.auto-detect-toggle input[type=checkbox]{width:44px;height:24px}.auto-detect-toggle input[type=checkbox]:before{width:20px;height:20px}.auto-detect-toggle input[type=checkbox]:checked:before{transform:translate(20px)}.toggle-label,.exercise-label{font-size:.85rem}}.tools-container{position:absolute;top:50%;right:10px;transform:translateY(-50%);display:flex;flex-direction:column;gap:12px;z-index:150;pointer-events:none}.tool-item{pointer-events:auto;display:flex;justify-content:flex-end}.tools-container .settings-btn{background:linear-gradient(135deg,#4ade80,#22c55e);color:#fff;border:none;border-radius:50%;width:45px;height:45px;font-size:18px;cursor:pointer;box-shadow:0 4px 12px #4ade804d;transition:all .3s ease;display:flex;align-items:center;justify-content:center}.tools-container .settings-btn:hover{transform:scale(1.1) rotate(45deg);box-shadow:0 6px 16px #4ade8066;background:linear-gradient(135deg,#22c55e,#16a34a)}.debug-overlay{position:relative;top:0;right:0;transform:none;background:#000c;border-radius:6px;color:#fff;font-size:11px;display:block;transition:all .3s ease}.debug-overlay.active{display:block}.debug-overlay.minimized{width:40px;height:40px;padding:0;cursor:pointer}.debug-overlay.minimized .debug-content{display:none}.debug-overlay.expanded{width:180px;padding:8px}.debug-overlay.expanded .debug-content{display:block}.debug-toggle{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:6px;background:#000c;cursor:pointer;transition:background-color .2s ease}.debug-toggle:hover{background:#000000e6}.debug-toggle .material-symbols-outlined{color:var(--primary-color);font-size:20px}.debug-overlay.expanded .debug-toggle{position:absolute;top:-5px;right:-5px;width:24px;height:24px;border-radius:50%;background:var(--primary-color)}.debug-overlay.expanded .debug-toggle .material-symbols-outlined{color:#000;font-size:16px}.debug-content{margin-top:8px}.debug-section{margin-bottom:10px}.debug-section h3{margin:0 0 6px;font-size:12px;color:var(--primary-color)}.pattern-row{display:flex;justify-content:space-between;margin-bottom:3px}.pattern-value{font-weight:700}.pattern-value.significant{color:#4ade80}.pattern-value.moderate{color:#fcd34d}.pattern-value.minimal{color:#f87171}.pattern-value.high{color:#4ade80}.pattern-value.low{color:#f87171}.confidence-section{margin-top:15px}.confidence-row{margin-bottom:10px}.confidence-row span{display:block;margin-bottom:3px}.confidence-bar{background:#ffffff1a;border-radius:5px;height:20px;position:relative;overflow:hidden;display:flex;align-items:center}.confidence-fill{height:100%;background:var(--primary-color);width:0%;transition:none;border-radius:5px}.confidence-value{margin-left:10px;font-size:12px;color:#fff}@media (max-width: 900px){.tools-container{gap:10px}.tools-container .settings-btn{width:40px;height:40px;font-size:16px;box-shadow:0 3px 10px #4ade804d}.tools-container .settings-btn:hover{box-shadow:0 5px 14px #4ade8066}.debug-overlay.minimized{width:35px;height:35px}.debug-overlay.expanded{width:150px;max-width:150px}.debug-toggle{width:35px;height:35px}.debug-toggle .material-symbols-outlined{font-size:18px}}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#ffffffe6;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 -2px 10px #0000001a;z-index:1000;padding:.75rem 1rem}.bottom-nav__container{display:flex;justify-content:space-around;align-items:center;max-width:600px;margin:0 auto}.bottom-nav__item{display:flex;flex-direction:column;align-items:center;text-decoration:none;color:var(--secondary-color);gap:.25rem;padding:.5rem;border-radius:12px;transition:all .3s ease}.bottom-nav__item:hover,.bottom-nav__item.active{color:var(--primary-color);transform:translateY(-2px)}.bottom-nav__item.active .material-symbols-outlined,.bottom-nav__item.active .bottom-nav__label{filter:drop-shadow(0 0 8px rgba(74,222,128,.9))}.bottom-nav__item .material-symbols-outlined{font-size:1.5rem}.bottom-nav__label{font-size:.75rem;font-weight:500}.theme-toggle{display:flex;align-items:center;margin-top:.5rem}.theme-toggle__input{opacity:0;position:absolute}.theme-toggle__label{position:relative;display:flex;align-items:center;justify-content:space-between;padding:.25rem;width:3.5rem;height:2rem;background-color:var(--surface-color);border:2px solid var(--primary-color);border-radius:2rem;cursor:pointer;transition:background-color .3s}.theme-toggle__label i{font-size:1rem;color:var(--text-color);transition:color .3s}.theme-toggle__label .fa-sun{color:#ffb74d}.theme-toggle__label .fa-moon{color:#9575cd}.theme-toggle__slider{position:absolute;left:.25rem;width:1.5rem;height:1.5rem;background-color:var(--primary-color);border-radius:50%;transition:transform .3s}.theme-toggle__input:checked+.theme-toggle__label .theme-toggle__slider{transform:translate(1.5rem)}.theme-toggle__input:checked+.theme-toggle__label{background-color:var(--surface-color)}[data-theme=dark]{background-color:#121212!important}[data-theme=dark] .navigation{background:#1e1e1ee6!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#e0e0e0}@media (max-width: 768px){[data-theme=dark] .navigation{background:#1e1e1ef2!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 2px 8px #0000004d;border-bottom:1px solid #444}}[data-theme=dark] .account-container{background-color:transparent;color:#ffffffe6}[data-theme=dark] .weekly-tracker-section,[data-theme=dark] .workout-totals-section,[data-theme=dark] .achievements-section,[data-theme=dark] .stats-section{background-color:#2d2d2d;border:1px solid #444;box-shadow:0 2px 8px #0003;color:#ffffffe6}[data-theme=dark] .workout-total-item{background-color:#1e1e1e;border:1px solid #444;box-shadow:0 2px 8px #0003;color:#ffffffe6}[data-theme=dark] .profile-dropdown,[data-theme=dark] .section-dropdown{background-color:#2d2d2d;border:1px solid #444;box-shadow:0 2px 8px #0003}[data-theme=dark] .profile-dropdown__content,[data-theme=dark] .section-dropdown__content{background-color:#2d2d2d;border:1px solid #444;box-shadow:0 4px 12px #0000004d;color:#ffffffe6}[data-theme=dark] .profile-dropdown__toggle,[data-theme=dark] .section-dropdown__toggle{background-color:#2d2d2d;border:1px solid #444;color:#ffffffe6}[data-theme=dark] .page-content,[data-theme=dark] .dropdown-menu,[data-theme=dark] .modal-content,[data-theme=dark] .video-container,[data-theme=dark] .debug-overlay,[data-theme=dark] .confidence-bar,[data-theme=dark] .time-range-toggle,[data-theme=dark] .time-range-dropdown{background-color:#1e1e1e!important;color:#e0e0e0}[data-theme=dark] .nav__logo,[data-theme=dark] .greeting-text{color:var(--primary-color)}[data-theme=dark] h1,[data-theme=dark] h2,[data-theme=dark] h3,[data-theme=dark] h4{color:#fffffff2}[data-theme=dark] p,[data-theme=dark] .account-form__label{color:#ffffffe6}[data-theme=dark] .bottom-nav__item,[data-theme=dark] #repCounter,[data-theme=dark] #formFeedback,[data-theme=dark] .pattern-row span,[data-theme=dark] .confidence-row span,[data-theme=dark] .confidence-value,[data-theme=dark] .time-range-toggle span{color:var(--primary-color)}[data-theme=dark] .bottom-nav__item.active .material-symbols-outlined,[data-theme=dark] .bottom-nav__item.active .bottom-nav__label{filter:drop-shadow(0 0 10px rgba(74,222,128,1))}[data-theme=dark] .workout-total-item h4{color:#fffffff2}[data-theme=dark] .workout-total-item span{color:var(--primary-color);font-weight:600}[data-theme=dark] .profile-dropdown__toggle span,[data-theme=dark] .section-dropdown__toggle span{color:#ffffffe6}[data-theme=dark] .weekly-tracker-section__title,[data-theme=dark] .stats-section__title{color:#fffffff2}[data-theme=dark] .account-form__input,[data-theme=dark] .exercise-select,[data-theme=dark] .difficulty-select{background-color:#2d2d2d;color:#ffffffe6;border:1px solid #444;box-shadow:0 2px 4px #0000001a}[data-theme=dark] .account-form__input:focus,[data-theme=dark] .exercise-select:focus,[data-theme=dark] .difficulty-select:focus{border-color:var(--primary-color);box-shadow:0 0 0 2px #4ade8033}[data-theme=dark] .profile-dropdown__toggle:hover,[data-theme=dark] .section-dropdown__toggle:hover{background-color:#3d3d3d;border-color:#4ade8080;box-shadow:0 4px 12px #0000004d}[data-theme=dark] .time-range-option:hover{background-color:#4ade801a;color:var(--primary-color)}[data-theme=dark] .time-range-dropdown{border-color:#444}[data-theme=dark] .time-range-option{color:var(--primary-color)}[data-theme=dark] .time-range-option.selected{background-color:var(--primary-color);color:#fff}[data-theme=dark] .debug-overlay{background:#1e1e1ee6}[data-theme=dark] .confidence-bar{background:#ffffff1a}[data-theme=dark] .pattern-value.significant,[data-theme=dark] .pattern-value.high{color:#4ade80}[data-theme=dark] .pattern-value.moderate{color:#fcd34d}[data-theme=dark] .pattern-value.minimal,[data-theme=dark] .pattern-value.low{color:#f87171}[data-theme=dark] .day-circle[data-current=true] .completion-circle{box-shadow:0 0 0 3px #4ade804d}[data-theme=dark] .day-circle{background-color:transparent;border:none}[data-theme=dark] .day-label{color:#ffffffe6}[data-theme=dark] .completion-circle{background-color:#1e1e1e;border:1px solid #444}[data-theme=dark] .day-circle[data-completed=true] .completion-circle{background-color:var(--primary-color);border-color:var(--primary-color);box-shadow:0 2px 8px #4ade804d}[data-theme=dark] .bottom-nav{background:#1e1e1ee6;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-top:1px solid #333}[data-theme=dark] .video-container{background:#000;border:1px solid #333}[data-theme=dark] .navigation{background:#1e1e1ecc}[data-theme=dark] .mobile-header .exercise-label,[data-theme=dark] .exercise-label{color:var(--primary-color)}[data-theme=dark] .mobile-header .target-angles,[data-theme=dark] .target-angles{color:#e0e0e0}[data-theme=dark] .exercise-select{background-color:#2d2d2d;color:#e0e0e0;border:1px solid #444;border-radius:50px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0e0e0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:1rem}[data-theme=dark] .account-form__save-btn{background-color:var(--primary-color);color:#121212;font-weight:600;border:1px solid rgba(74,222,128,.3);box-shadow:0 2px 8px #4ade804d}[data-theme=dark] .account-form__save-btn:hover{background-color:#43a047;box-shadow:0 4px 12px #4ade8066;transform:translateY(-1px)}[data-theme=dark] .beta-pill{background-color:#4ade8033;color:var(--primary-color);border:1px solid rgba(74,222,128,.4)}[data-theme=dark] .update-pill{background:linear-gradient(135deg,#16a34a,#15803d);color:#fff;box-shadow:0 2px 4px #16a34a66}[data-theme=dark] .strava-section{background-color:#2d2d2d;border:1px solid #444;border-radius:12px;padding:1.5rem}[data-theme=dark] .strava-header{border-bottom:1px solid #444}[data-theme=dark] .strava-logo span{color:#fffffff2}[data-theme=dark] .status-text{color:#fffc}[data-theme=dark] .stats-section__chart{background:#1e1e1ef2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid #444;box-shadow:0 4px 12px #0000004d}[data-theme=dark] .stats-section__chart:hover{border-color:#4ade8080;box-shadow:0 6px 16px #0006}[data-theme=dark] .achievement-card{background:#1e1e1ef2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid #444;box-shadow:0 4px 12px #0000004d}[data-theme=dark] .achievement-card:hover{border-color:#4ade8080;box-shadow:0 8px 20px #0006}[data-theme=dark] .achievement-card.completed{background:linear-gradient(135deg,#1e1e1ef2,#282314f2);border-color:#ffd70099;box-shadow:0 4px 16px #ffd7004d}[data-theme=dark] .achievement-card h4{color:#ffffffe6}[data-theme=dark] .achievement-card p{color:#ffffffb3}[data-theme=dark] .workout-total-item{background:#1e1e1ecc;border:1px solid #444;box-shadow:0 2px 8px #0003}[data-theme=dark] .workout-total-item:hover{border-color:#4ade8080;box-shadow:0 4px 12px #0000004d}[data-theme=dark] .stats-section__chart h4,[data-theme=dark] .achievements-section__title,[data-theme=dark] .stats-section__title{color:#ffffffe6}[data-theme=dark] .progress-ring__text,[data-theme=dark] .daily-progress-text{color:#fffc}[data-theme=dark] .daily-progress-bar{background:#1e1e1e;border:1px solid #333}[data-theme=dark] .progress-ring__circle-bg{stroke:#333}.logout-container{display:flex;justify-content:center;margin:2rem 0}.logout-button{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;background-color:#f44336;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s ease-in-out}.logout-button:hover{background-color:#d32f2f}.logout-button i{font-size:1.1rem}.dark-theme .logout-button{background-color:#b71c1c}.dark-theme .logout-button:hover{background-color:#d32f2f}.loading-state,.error-state,.no-data-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-align:center;padding:2rem;color:var(--text-color)}.loading-state{color:var(--primary-color)}.loading-spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid var(--primary-color);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-state{color:#dc3545}.error-state i{font-size:2rem;margin-bottom:1rem;opacity:.7}.no-data-state{color:#6c757d}.no-data-state i{font-size:2rem;margin-bottom:1rem;opacity:.5}.loading-state p,.error-state p,.no-data-state p{margin:.5rem 0;font-weight:500}.loading-state small,.error-state small,.no-data-state small{opacity:.7;font-size:.875rem}.retry-btn{background:var(--primary-color);color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;margin-top:1rem;font-size:.875rem;transition:background-color .2s}.retry-btn:hover{background:#43a047}.strava-section{padding:1.5rem;position:relative;overflow:visible;transition:padding-bottom .3s ease}.strava-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.strava-logo{display:flex;align-items:center;gap:.5rem;font-size:1.2rem;font-weight:600}.strava-logo i{color:#fc4c02;font-size:1.5rem}.strava-status{display:flex;align-items:center;gap:.5rem}.status-indicator{width:10px;height:10px;border-radius:50%;background:#ccc}.status-indicator.connected{background:var(--success-color)}.strava-not-connected{text-align:center}.strava-not-connected p{margin-bottom:1.5rem;color:var(--text-color);opacity:.8}.strava-benefits{display:flex;flex-direction:column;gap:.75rem;margin-bottom:2rem}.benefit-item{display:flex;align-items:center;gap:.75rem;padding:.5rem;background:var(--surface-color);border:1px solid var(--border-color);border-radius:8px}.benefit-item i{color:var(--primary-color);width:20px;text-align:center}.strava-connect-btn{background:#fc4c02;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.5rem;justify-content:center;transition:background-color .2s;width:100%}.strava-connect-btn:hover{background:#e63e00}.strava-connected{display:none}.strava-info p{margin-bottom:1.5rem;color:var(--text-color);opacity:.8}.strava-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:2rem}.stat-item{text-align:center;padding:1rem;background:var(--surface-color);border:1px solid var(--border-color);border-radius:8px}.stat-label{display:block;font-size:.875rem;color:var(--text-color);opacity:.7;margin-bottom:.5rem}.stat-value{display:block;font-size:1.25rem;font-weight:600;color:var(--primary-color)}.strava-activities h4{margin-bottom:1rem;color:var(--text-color)}.activities-list{max-height:300px;overflow-y:auto}.activity-item{padding:1rem;background:var(--surface-color);border:1px solid var(--border-color);border-radius:8px;margin-bottom:.75rem}.activity-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.activity-header h5{margin:0;color:var(--text-color);font-size:1rem}.activity-date{font-size:.875rem;color:var(--text-color);opacity:.7}.activity-stats{display:flex;gap:1rem;flex-wrap:wrap}.activity-stat{display:flex;align-items:center;gap:.25rem;font-size:.875rem;color:var(--text-color)}.activity-stat i{color:var(--primary-color);width:16px;text-align:center}.no-activities{text-align:center;padding:2rem;color:var(--text-color);opacity:.7}.strava-actions{display:flex;gap:2rem;margin-top:2rem;position:relative;z-index:1}.strava-sync-btn{flex:1;padding:1rem 1.25rem;border:none;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.5rem;justify-content:center;transition:background-color .2s;background:var(--primary-color);color:#fff;min-height:48px;box-sizing:border-box}.strava-sync-btn:hover{background:#43a047}.strava-sync-btn:disabled{background:#ccc;cursor:not-allowed}.strava-disconnect-btn{flex:0 0 auto;padding:1rem 1.25rem;border:none;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.5rem;justify-content:center;transition:background-color .2s;background:var(--error-color);color:#fff;min-height:48px;box-sizing:border-box}.strava-disconnect-btn:hover{background:#c00}.notification{position:fixed;top:20px;right:20px;background:var(--surface-color);border:1px solid var(--border-color);border-radius:8px;padding:1rem;box-shadow:0 4px 12px var(--shadow-color);z-index:10000;transform:translate(100%);opacity:0;transition:all .3s ease;max-width:400px}.notification.show{transform:translate(0);opacity:1}.notification--success{border-left:4px solid var(--success-color)}.notification--error{border-left:4px solid var(--error-color)}.notification--info{border-left:4px solid var(--info-color)}.notification-content{display:flex;align-items:center;gap:.75rem}.notification-content i{font-size:1.25rem}.notification--success .notification-content i{color:var(--success-color)}.notification--error .notification-content i{color:var(--error-color)}.notification--info .notification-content i{color:var(--info-color)}[data-theme=dark] .benefit-item,[data-theme=dark] .stat-item,[data-theme=dark] .activity-item,[data-theme=dark] .notification{background:var(--surface-color);border-color:var(--border-color)}@media (max-width: 768px){.strava-stats{grid-template-columns:1fr}.strava-actions{flex-direction:column;gap:1rem}.strava-disconnect-btn{margin-top:.5rem}.activity-stats{justify-content:space-between}.notification{right:10px;left:10px;max-width:none}}@media (max-width: 480px){.strava-actions{gap:.75rem}.strava-sync-btn,.strava-disconnect-btn{min-height:44px;padding:.875rem 1rem}}.about{max-width:1200px;margin:6rem auto 2rem;padding:0 2rem}.about__container{background-color:var(--surface-color);border-radius:1rem;padding:2rem;box-shadow:0 4px 6px #0000001a}.about__container h1{color:var(--primary-color);font-size:2.5rem;margin-bottom:2rem;text-align:center}.about__container h2{color:var(--primary-color);font-size:2rem;margin:2rem 0 1rem}.about__container p{font-size:1.1rem;line-height:1.6;color:var(--text-color);margin-bottom:1.5rem}.profile-section{margin:2rem 0 3rem;padding:2rem;background-color:var(--background-color);border-radius:1rem;border:2px solid var(--primary-color)}.profile-content{display:flex;align-items:center;gap:2rem}.profile-image{flex-shrink:0}.profile-image img{width:200px;height:200px;border-radius:50%;object-fit:cover;border:4px solid var(--primary-color);box-shadow:0 4px 15px #4ade8033}.profile-text{flex:1}.profile-text h2{color:var(--primary-color);font-size:1.8rem;margin:0 0 1rem}.profile-text p{font-size:1rem;line-height:1.6;color:var(--text-color);margin-bottom:1rem}.profile-text p:last-child{margin-bottom:0}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin:2rem 0}.feature{background-color:var(--background-color);padding:1.5rem;border-radius:.5rem;transition:transform .3s ease}.feature:hover{transform:translateY(-5px)}.feature h3{color:var(--primary-color);font-size:1.3rem;margin-bottom:1rem}.feature p{font-size:1rem;margin-bottom:0}.cta-section{text-align:center;margin-top:3rem;padding:2rem;background-color:var(--background-color);border-radius:.5rem}.cta-section p{font-size:1.2rem;margin-bottom:1.5rem}.cta-button{display:inline-block;padding:1rem 2rem;background-color:var(--primary-color);color:var(--text-color);text-decoration:none;border-radius:2rem;font-weight:700;box-shadow:0 4px 15px #4ade8033;transition:transform .2s,box-shadow .2s}.cta-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #4ade804d}@media (max-width: 768px){.about{margin:5rem auto 1rem;padding:0 1rem}.about__container{padding:1.5rem}.features-grid{grid-template-columns:1fr;gap:1.5rem}.about__container h1{font-size:2rem}.about__container h2{font-size:1.5rem}.profile-content{flex-direction:column;text-align:center;gap:1.5rem}.profile-image img{width:150px;height:150px}.profile-text h2{font-size:1.5rem}}.notification-dot{position:absolute;top:8px;right:8px;width:8px;height:8px;background-color:#f44;border-radius:50%;border:2px solid white;z-index:10;animation:pulse 2s infinite}@keyframes pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.7}to{transform:scale(1);opacity:1}}.measurement-group{margin-bottom:1.5rem!important}.measurement-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.measurement-header .account-form__label{margin-bottom:0}.unit-toggle{display:flex;background-color:var(--background-color);border:2px solid var(--primary-color);border-radius:20px;overflow:hidden;box-shadow:0 2px 8px #4ade801a}.unit-btn{background:none;border:none;padding:.4rem .8rem;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .3s ease;color:var(--text-color);position:relative}.unit-btn.active{background-color:var(--primary-color);color:#000}.unit-btn:hover:not(.active){background-color:#4ade801a}.measurement-inputs{position:relative}.metric-input,.imperial-input{display:none;position:relative}.metric-input.active,.imperial-input.active{display:flex;align-items:center;gap:.75rem}.metric-input{align-items:center}.imperial-input{flex-wrap:wrap;gap:.75rem}.measurement-inputs .account-form__input{min-width:140px;width:100%;font-size:1.1rem;padding:.75rem 1rem;height:auto;min-height:48px}.height-feet,.height-inches{flex:1;min-width:120px}.input-unit{font-size:1rem;color:var(--primary-color);font-weight:600;min-width:35px;text-align:center;white-space:nowrap}.imperial-input .account-form__input{margin-bottom:0}.profile-completion-banner{background:linear-gradient(135deg,#ff6b6b,#ff8e53);color:#fff;padding:1rem;border-radius:10px;margin-bottom:1.5rem;display:none;align-items:center;gap:1rem;box-shadow:0 4px 15px #ff6b6b4d}.profile-completion-banner.show{display:flex}.profile-completion-banner .icon{font-size:1.5rem;animation:bounce 2s infinite}.profile-completion-banner .content h4{margin:0 0 .5rem;font-size:1.1rem}.profile-completion-banner .content p{margin:0;font-size:.9rem;opacity:.9}.profile-completion-banner .missing-items{list-style:none;padding:0;margin:.5rem 0 0;font-size:.85rem}.profile-completion-banner .missing-items li{padding:.2rem 0}.profile-completion-banner .missing-items li:before{content:"• ";color:#fffc}@keyframes bounce{0%,20%,50%,80%,to{transform:translateY(0)}40%{transform:translateY(-5px)}60%{transform:translateY(-3px)}}[data-theme=dark] .unit-toggle{background-color:var(--background-color);border-color:var(--primary-color)}[data-theme=dark] .unit-btn{color:var(--text-color)}[data-theme=dark] .unit-btn.active{background-color:var(--primary-color);color:#000}[data-theme=dark] .unit-btn:hover:not(.active){background-color:#4ade8026}[data-theme=dark] .input-unit{color:var(--primary-color)}[data-theme=dark] .profile-completion-banner{background:linear-gradient(135deg,#e74c3c,#f39c12)}@media (max-width: 600px){.measurement-header{flex-direction:column;align-items:flex-start;gap:.5rem}.unit-toggle{align-self:flex-end}.imperial-input{flex-direction:column;gap:.75rem}.height-feet,.height-inches{flex:none;width:100%;min-width:100%}.measurement-inputs .account-form__input{min-width:100%;font-size:1rem;padding:.875rem 1rem;min-height:52px}.profile-completion-banner{flex-direction:column;text-align:center}.profile-completion-banner .icon{font-size:2rem}}@media (max-width: 768px) and (min-width: 601px){.measurement-inputs .account-form__input{min-width:160px;font-size:1.05rem;min-height:50px}.height-feet,.height-inches{min-width:140px}}
