@keyframes profile-spin{to{transform:rotate(360deg)}}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.community-section{padding:120px 0 60px;min-height:100vh}.community-section.community-centered{display:flex;flex-direction:column}.community-section.community-centered>.container{flex:1;display:flex;flex-direction:column;justify-content:center}.community-header{text-align:center;margin-bottom:40px}.community-header h1{font-size:2.5rem;font-weight:800;color:var(--text-primary);margin-bottom:12px}.community-header p{font-size:1.1rem;color:var(--text-secondary);max-width:600px;margin:0 auto}.community-login-required{display:flex;justify-content:center;align-items:center}.community-loading{display:flex;flex-direction:column;align-items:stretch;padding:60px 0}.skeleton-inline-loading{padding:20px 0}.community-tabs{gap:8px;border-bottom:1px solid var(--border-color)}.community-tab:hover{color:#3b82f6;background:rgba(59,130,246,.05)}.community-tab.active{color:#3b82f6;background:rgba(59,130,246,.1)}.community-filters{display:flex;flex-direction:row;gap:12px;margin-bottom:32px;align-items:center}.search-box{display:flex;gap:8px;flex:1;min-width:280px}.search-box .form-input{flex:1}.filter-dropdown{flex-shrink:0}.filter-select{padding:14px 40px 14px 16px;border:1px solid var(--border);border-radius:12px;background-color:var(--surface);font-size:.95rem;font-weight:500;color:var(--text-primary);cursor:pointer;transition:all .2s 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='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a5a72' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px}.filter-select:hover{border-color:var(--primary)}.filter-select:focus,.search-box-modern .search-input:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px rgba(59,130,246,.1)}.filter-pills{display:flex;gap:8px;justify-content:center}.filter-pill{background:var(--card-bg)}.filter-pill:hover{border-color:var(--primary);color:var(--primary)}.filter-pill.active{background:var(--primary);border-color:var(--primary);color:#fff}.community-routes{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px}.community-route-card{display:block;background:var(--card-bg);text-decoration:none;color:inherit;cursor:pointer}.route-card-preview{position:relative;height:160px;background:var(--bg-secondary, #f8f9fa);overflow:hidden;display:flex;align-items:center;justify-content:center}.route-card-map,.route-card-preview>svg,.user-avatar img{width:100%;height:100%}.route-card-map{pointer-events:none}.route-card-preview-empty{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.route-card-profile-badge{position:absolute;top:10px;right:10px;z-index:500;display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:600;background:rgba(var(--primary-rgb),.15);color:var(--primary-text);backdrop-filter:blur(8px)}.route-card-profile-badge.profile-racing{background:rgba(239,68,68,.15);color:#ef4444}.route-card-profile-badge.profile-gravel{background:rgba(139,92,246,.15);color:#8b5cf6}.route-card-profile-badge.profile-mtb{background:rgba(34,197,94,.15);color:#22c55e}.route-author-compact{display:flex;align-items:center;gap:8px}.route-author-compact .route-author-avatar{width:28px;height:28px;font-size:12px;overflow:hidden}.route-author-compact .route-author-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.route-author-compact .route-author-name{font-size:.85rem;font-weight:500}.route-author-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-hover) 100%);display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;color:#fff}.route-author-info{display:flex;flex-direction:column}.route-author-name{font-weight:600;color:var(--text-primary)}.route-author-username{font-size:.85rem;color:var(--text-secondary)}.route-card-body{padding:14px 16px 8px}.route-name{font-size:1.05rem;font-weight:600;color:var(--text-primary);margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-stats{display:flex;gap:14px}.login-card p,.route-stat{color:var(--text-secondary)}.route-stat{display:inline-flex;align-items:center;gap:4px;font-size:.85rem}.ghost-likes svg,.ghost-name svg,.ghost-stat svg,.route-card-profile-badge svg,.route-comments svg,.route-forks svg,.route-likes svg,.route-stat svg{width:14px;height:14px;flex-shrink:0}.route-card-footer{padding:10px 16px 14px;display:flex;justify-content:space-between;align-items:center}.route-engagement{display:flex;gap:12px}.route-comments,.route-forks,.route-likes{display:inline-flex;align-items:center;gap:4px;font-size:.85rem;color:var(--text-secondary)}.community-empty{text-align:center;padding:60px 20px}.empty-icon{font-size:4rem;margin-bottom:16px}.community-empty h3,.login-card h2{font-size:1.4rem;font-weight:700;color:var(--text-primary);margin-bottom:12px}.community-load-more{text-align:center;margin-top:32px}.community-users{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}.community-user-card{background:linear-gradient(145deg,#fff 0,#f8f9fc 100%);border-radius:20px;border:1px solid rgba(0,0,0,.06);padding:24px;display:flex;flex-direction:column;gap:14px;transition:transform .25s ease,box-shadow .25s ease;box-shadow:0 4px 20px rgba(0,0,0,.04);position:relative;overflow:hidden}.community-user-card::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#3b82f6 0,#60a5fa 50%,#93c5fd 100%);opacity:0;transition:opacity .25s ease}.community-user-card:hover{transform:translateY(-6px);box-shadow:0 16px 48px rgba(59,130,246,.15),0 8px 24px rgba(0,0,0,.08)}.community-tab.active svg,.community-tab:hover svg,.community-user-card:hover::before,.filter-pill.active svg,.filter-pill:hover svg{opacity:1}.user-card-header{display:flex;align-items:flex-start;gap:14px}.user-avatar{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#3b82f6 0,#60a5fa 50%,#93c5fd 100%);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;color:#fff;flex-shrink:0;overflow:hidden;box-shadow:0 4px 12px rgba(59,130,246,.3)}.user-avatar img{object-fit:cover}.user-info{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.user-name{font-weight:700;font-size:1.05rem;color:#1a1a2e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-username{font-size:.85rem;color:#888}.user-follow-stats{display:flex;flex-direction:column;gap:2px;text-align:right;font-size:.8rem;color:#666;flex-shrink:0}.user-follow-stats strong{color:#1a1a2e;font-weight:700}.user-bio{font-size:.9rem;color:#666;line-height:1.5;padding:8px 12px;background:#f0f7ff;border-radius:10px;border-left:3px solid #3b82f6}.user-medal,.user-medals{display:flex;align-items:center}.user-medals{gap:8px;justify-content:space-between;padding:10px 0;border-top:1px solid #eee;border-bottom:1px solid #eee;width:100%}.user-medal{width:36px;height:36px;border-radius:10px;border:2px solid;justify-content:center;font-size:15px;background:linear-gradient(145deg,#fff 0,#f5f5f5 100%);box-shadow:0 2px 6px rgba(0,0,0,.08);transition:transform .2s ease}.user-medal:hover{transform:scale(1.1)}.medals-more{font-size:.8rem;color:#3b82f6;font-weight:700;background:#eff6ff;padding:4px 8px;border-radius:6px}.user-card-actions{margin-top:auto;display:flex;gap:10px;padding-top:4px}.user-card-actions .btn{flex:1;text-align:center}.btn-outline{background:0 0;border:2px solid #3b82f6;color:#3b82f6}.btn-outline:hover{background:#3b82f6;color:#fff}@media (max-width:768px){.community-header h1{font-size:1.8rem}.community-filters{flex-direction:column}.search-box{width:100%}.filter-pills{width:100%;justify-content:center}.community-routes,.community-users{grid-template-columns:1fr}.community-tabs{flex-wrap:wrap}.social-profile-row{flex-direction:column}.social-profile-left{width:100%}.social-profile-right{width:100%;align-items:flex-start}.social-stats{justify-content:flex-start}}.community-header .section-label{display:inline-block;margin-bottom:12px;text-transform:none;letter-spacing:.3px}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-xl);padding:48px 40px;text-align:center;max-width:420px;box-shadow:0 8px 32px rgba(0,0,0,.08)}.login-card-icon{width:80px;height:80px;margin:0 auto 24px;background:linear-gradient(135deg,rgba(59,130,246,.1)0,rgba(59,130,246,.05) 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--primary)}.login-card h2{font-size:1.5rem}.login-card p{margin-bottom:24px;line-height:1.6}.community-tabs-inner{display:inline-flex;gap:4px;position:relative;background:var(--background-alt);border-radius:12px;padding:4px}.community-tabs{border-bottom:none;padding-bottom:0;margin-bottom:32px;display:flex;justify-content:center}.community-tab{display:flex;align-items:center;gap:8px;padding:12px 20px;font-size:.95rem;font-weight:600;color:var(--text-secondary);background:0 0;border:0;border-radius:8px;cursor:pointer;transition:all .2s ease;position:relative;z-index:1}.community-tab svg{opacity:.7;transition:opacity .2s ease}.community-tab:hover{color:var(--text-primary);background:0 0}.community-tab.active{color:var(--primary);background:var(--surface);box-shadow:0 2px 8px rgba(0,0,0,.08);border-bottom:none;margin-bottom:0}.search-box-modern{position:relative;flex:1;min-width:0}.search-box-modern .search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--text-tertiary);pointer-events:none}.search-box-modern .search-input{width:100%;padding:14px 16px 14px 48px;border:1px solid var(--border);border-radius:12px;background:var(--surface);font-size:.95rem;color:var(--text-primary);transition:all .2s ease}.search-box-modern .search-input::placeholder{color:var(--text-tertiary)}.filter-pill{display:flex;align-items:center;gap:6px;padding:10px 18px;border-radius:24px;border:1px solid var(--border);background:var(--surface);color:var(--text-secondary);font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease}.filter-pill svg{opacity:.7}.empty-illustration{width:120px;height:120px;margin:0 auto 24px;background:linear-gradient(135deg,rgba(59,130,246,.1)0,rgba(59,130,246,.05) 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--primary)}.empty-illustration.ghost{background:linear-gradient(135deg,rgba(139,92,246,.1)0,rgba(139,92,246,.05) 100%);color:#8b5cf6}.empty-illustration.users{background:linear-gradient(135deg,rgba(16,185,129,.1)0,rgba(16,185,129,.05) 100%);color:#10b981}.community-empty p{color:var(--text-secondary);max-width:320px;margin:0 auto;line-height:1.6}.community-route-card{border-radius:16px;overflow:hidden;transition:all .25s ease}.community-route-card:hover{transform:translateY(-4px);box-shadow:0 16px 48px rgba(59,130,246,.12);border-color:rgba(59,130,246,.3)}.community-ghost-card,.community-route-card{background:var(--surface);border:1px solid var(--border)}.community-ghost-card:hover{border-color:rgba(139,92,246,.3)}[data-theme=dark] .login-card-icon{background:linear-gradient(135deg,rgba(59,130,246,.2)0,rgba(59,130,246,.1) 100%)}[data-theme=dark] .community-tabs-inner{background:var(--surface)}[data-theme=dark] .community-tab.active{background:var(--background);box-shadow:0 2px 8px rgba(0,0,0,.2)}[data-theme=dark] .filter-pill,[data-theme=dark] .search-box-modern .search-input{background:var(--surface);border-color:var(--border)}[data-theme=dark] .filter-select{background-color:var(--surface);border-color:var(--border);color:var(--text-primary);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8a9a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px}[data-theme=dark] .community-user-card{background:var(--surface);border-color:var(--border)}[data-theme=dark] .community-user-card::before{background:linear-gradient(90deg,#3b82f6 0,#60a5fa 50%,#93c5fd 100%)}.profile-redirect h1,[data-theme=dark] .user-follow-stats strong,[data-theme=dark] .user-name{color:var(--text-primary)}.profile-redirect p,[data-theme=dark] .user-follow-stats,[data-theme=dark] .user-username{color:var(--text-secondary)}[data-theme=dark] .user-bio{color:#cbd5e1;background:rgba(59,130,246,.1);border-left-color:#3b82f6}[data-theme=dark] .user-medals{border-top-color:var(--border);border-bottom-color:var(--border)}[data-theme=dark] .user-medal{background:linear-gradient(145deg,#2a2a3a 0,#1e1e2e 100%);box-shadow:0 2px 6px rgba(0,0,0,.2)}[data-theme=dark] .medals-more{color:#60a5fa;background:rgba(59,130,246,.15)}[data-theme=dark] .community-ghost-card,[data-theme=dark] .community-route-card{background:var(--surface);border-color:var(--border)}[data-theme=dark] .route-card-preview{background:var(--background-alt, #1a1a2e)}[data-theme=dark] .route-card-profile-badge{background:rgba(var(--primary-rgb),.2)}[data-theme=dark] .route-card-profile-badge.profile-racing{background:rgba(239,68,68,.2)}[data-theme=dark] .route-card-profile-badge.profile-gravel{background:rgba(139,92,246,.2)}[data-theme=dark] .route-card-profile-badge.profile-mtb{background:rgba(34,197,94,.2)}[data-theme=dark] .empty-illustration{background:linear-gradient(135deg,rgba(59,130,246,.2)0,rgba(59,130,246,.1) 100%)}[data-theme=dark] .empty-illustration.ghost{background:linear-gradient(135deg,rgba(139,92,246,.2)0,rgba(139,92,246,.1) 100%)}[data-theme=dark] .empty-illustration.users{background:linear-gradient(135deg,rgba(16,185,129,.2)0,rgba(16,185,129,.1) 100%)}@media (max-width:768px){.community-tabs-inner{flex-wrap:wrap;gap:4px}.community-tab{flex:1;justify-content:center;padding:10px 12px;font-size:.85rem}.community-tab svg{width:16px;height:16px}.search-box-modern{min-width:100%;max-width:100%}.filter-pills{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.filter-pills::-webkit-scrollbar{display:none}.login-card{padding:32px 24px;margin:0 16px}.login-card-icon{width:64px;height:64px}.login-card-icon svg{width:32px;height:32px}}.user-avatar-wrapper{position:relative;flex-shrink:0}.user-avatar-wrapper,.user-avatar-wrapper .user-avatar{width:48px;height:48px}.user-country-flag{position:absolute;bottom:-4px;right:-4px;font-size:16px;line-height:1}.route-author-avatar-wrapper{position:relative;flex-shrink:0}.route-country-flag{position:absolute;bottom:-2px;right:-4px;font-size:12px;line-height:1}.community-ghosts{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.community-ghost-card{background:var(--card-bg, #fff);border-radius:12px;padding:16px;box-shadow:0 2px 8px rgba(0,0,0,.08);transition:transform .2s,box-shadow .2s}.community-ghost-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.12)}.ghost-card-header{margin-bottom:12px}.ghost-author{display:flex}.ghost-author-avatar-wrapper{position:relative;flex-shrink:0}.ghost-author-avatar{background:linear-gradient(135deg,#8b5cf6 0,#a78bfa 100%);font-size:14px}.ghost-country-flag{position:absolute;bottom:-2px;right:-2px;font-size:12px;line-height:1}.ghost-author-info{display:flex;flex-direction:column}.ghost-author-name{font-weight:600;font-size:.9rem;color:var(--text-primary)}.ghost-author-username{font-size:.8rem;color:var(--text-secondary)}.ghost-card-body{margin-bottom:12px}.ghost-name{font-size:1rem;font-weight:600;margin:0 0 8px;color:var(--text-primary)}.ghost-description{font-size:.85rem;color:var(--text-secondary);margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ghost-stats{display:flex}.ghost-stat{display:inline-flex;align-items:center;gap:4px;font-size:.85rem;color:var(--text-secondary)}.ghost-card-footer{display:flex;justify-content:space-between;align-items:center}.ghost-engagement{display:flex;gap:12px}.ghost-likes{display:inline-flex;align-items:center;gap:4px;font-size:.85rem;color:var(--text-secondary)}.user-card-header{cursor:pointer;transition:opacity .2s}.user-card-header:hover{opacity:.8}.profile-redirect{max-width:500px;margin:80px auto;padding:40px;text-align:center}.profile-redirect-icon{font-size:4rem;margin-bottom:20px}.profile-redirect h1{font-size:1.5rem;margin:0 0 12px}.profile-redirect p{margin:0 0 24px}.profile-redirect .loading-state{display:flex;flex-direction:column;align-items:center;gap:16px}.profile-redirect .loading-spinner{width:40px;height:40px;border:3px solid var(--bg-secondary);border-top-color:var(--accent-color);border-radius:50%;animation:spin 1s linear infinite}.profile-redirect .login-prompt{display:none}.profile-redirect .btn-primary,.profile-redirect .btn-secondary{display:inline-block;padding:12px 28px;text-decoration:none;border-radius:10px;font-weight:600}.profile-redirect .btn-primary{background:var(--accent-color);color:#fff}.profile-redirect .btn-secondary{background:var(--bg-secondary);color:var(--text-primary);margin-left:12px}.workout-page{max-width:1200px;margin:0 auto;padding:100px 24px 40px}.workout-error,.workout-loading{text-align:center;padding:60px 20px;color:var(--text-secondary)}.ghost-error h2,.workout-error h2{color:var(--text-primary);margin-bottom:10px}.ghost-page .back-link,.workout-page .back-link{display:inline-flex;align-items:center;gap:8px;color:var(--text-secondary);text-decoration:none;margin-bottom:20px;font-size:.9rem}.ghost-page .back-link:hover,.workout-page .back-link:hover{color:var(--accent-color)}.workout-date-badge{display:inline-flex;align-items:center;padding:4px 12px;background:var(--bg-secondary);border-radius:20px;font-size:.85rem;color:var(--text-secondary);white-space:nowrap}.workout-author,.workout-page .stat-card{background:var(--bg-secondary);border-radius:12px}.workout-author{display:flex;align-items:center;gap:12px;margin-top:16px;padding:12px}.workout-author-avatar{width:44px;height:44px;border-radius:50%;background:var(--accent-color);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1rem}.ghost-author-avatar img,.workout-author-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.workout-author-info{flex:1}.workout-author-name{font-weight:600;color:var(--text-primary)}.workout-author-username{color:var(--text-secondary);font-size:.85rem}.workout-stats{display:flex;gap:12px;margin-bottom:24px;overflow-x:auto;padding-bottom:4px}.workout-page .stat-card{padding:16px 20px;text-align:center;flex:1 1 0;min-width:100px}.workout-page .stat-icon{font-size:1.5rem;margin-bottom:4px}.ghost-page .stat-icon svg,.route-detail-page .stat-icon svg,.workout-page .stat-icon svg{width:24px;height:24px;opacity:.7}.workout-page .stat-value{display:block;font-size:1.4rem;font-weight:700;color:var(--text-primary)}.workout-page .stat-label{display:block;font-size:.8rem;color:var(--text-secondary);margin-top:2px}.workout-map-container{margin-bottom:24px;border-radius:16px;overflow:hidden;box-shadow:var(--card-shadow)}.workout-map{background:var(--bg-tertiary)}.workout-page .emoji-marker{background:0 0;border:0}.workout-charts-container{margin-bottom:24px}.workout-page .chart-wrapper{background:var(--bg-secondary);border-radius:12px;padding:16px;margin-bottom:16px}.workout-page .chart-wrapper h3{font-size:.9rem;color:var(--text-secondary);margin:0 0 12px}.workout-page .chart-wrapper canvas{max-height:200px}.ghost-page .engagement-section,.workout-page .engagement-section{background:var(--bg-secondary);border-radius:16px;padding:20px;margin-bottom:24px}.ghost-page .engagement-actions,.workout-page .engagement-actions{display:flex;gap:16px;margin-bottom:20px;justify-content:space-between}.ghost-page .engagement-actions-left,.workout-page .engagement-actions-left{display:flex;gap:16px}.ghost-page .engagement-btn,.workout-page .engagement-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;border:0;border-radius:10px;background:var(--bg-tertiary);color:var(--text-primary);font-size:.95rem;cursor:pointer;transition:all .2s}.ghost-page .engagement-btn:hover,.workout-page .engagement-btn:hover{background:var(--accent-color);color:#fff}.ghost-page .engagement-btn.liked,.workout-page .engagement-btn.liked{background:#fee2e2;color:#dc2626}.ghost-page .comments-section h3,.route-detail-page .comments-section h3,.workout-page .comments-section h3{font-size:1rem;color:var(--text-primary);margin:0 0 16px}.ghost-page .comment-input-wrapper,.workout-page .comment-input-wrapper{display:flex;gap:12px;margin-bottom:20px}.ghost-page .comment-input,.workout-page .comment-input{flex:1;padding:12px 16px;border:1px solid var(--border-color);border-radius:10px;background:var(--bg-primary);color:var(--text-primary);font-size:.95rem}.ghost-page .comment-submit,.workout-page .comment-submit{padding:12px 20px;background:var(--accent-color);color:#fff;border:0;border-radius:10px;font-weight:600;cursor:pointer}.ghost-page .comment-submit:disabled,.workout-page .comment-submit:disabled{opacity:.5;cursor:not-allowed}.ghost-page .comments-list,.workout-page .comments-list{display:flex;flex-direction:column;gap:16px}.ghost-page .comment-item,.workout-page .comment-item{display:flex;gap:12px}.ghost-page .comment-avatar,.workout-page .comment-avatar{width:36px;height:36px;border-radius:50%;background:var(--accent-color);color:#fff;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:600;flex-shrink:0}.ghost-page .comment-content,.workout-page .comment-content{flex:1}.ghost-page .comment-author,.workout-page .comment-author{font-weight:600;color:var(--text-primary);font-size:.9rem}.ghost-page .comment-text,.workout-page .comment-text{color:var(--text-primary);margin-top:4px;line-height:1.5}.ghost-page .comment-time,.workout-page .comment-time{color:var(--text-secondary);font-size:.8rem;margin-top:4px}.ghost-page .no-comments,.workout-page .no-comments{color:var(--text-secondary);text-align:center;padding:20px}.share-buttons{display:flex;align-items:center;gap:8px}.ghost-page .share-btn,.route-detail-page .share-buttons .share-btn,.workout-page .share-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:10px;background:var(--bg-tertiary);color:var(--text-primary);cursor:pointer;transition:all .2s;text-decoration:none}.share-btn.share-whatsapp:hover{background:#25d366;color:#fff}.share-btn.share-facebook:hover{background:#1877f2;color:#fff}.share-btn.share-x:hover{background:#000;color:#fff}.share-btn.share-copy:hover{background:var(--accent-color);color:#fff}.share-btn.share-copy.copied{background:#22c55e;color:#fff}.ghost-page .login-prompt,.workout-page .login-prompt{text-align:center;padding:20px;background:var(--bg-tertiary);border-radius:12px;margin-bottom:16px}.ghost-page .login-prompt a,.route-detail-page .login-prompt a,.workout-page .login-prompt a{color:var(--accent-color);font-weight:600}.route-detail-page{max-width:1200px;margin:0 auto;padding:100px 24px 40px}.route-detail-page .back-link{display:inline-flex;align-items:center;gap:8px;color:var(--text-secondary);text-decoration:none;margin-bottom:20px;font-size:.9rem}.route-detail-page .back-link:hover{color:var(--accent-color)}.route-detail-header{margin-bottom:24px}.route-detail-title-row{display:flex;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}.route-detail-title-row h1{font-size:1.8rem;color:var(--text-primary);margin:0;font-weight:700}.route-profile-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:20px;font-size:.85rem;font-weight:600;background:rgba(var(--primary-rgb),.1);color:var(--primary-text)}.route-profile-badge.profile-racing{background:rgba(239,68,68,.1);color:#ef4444}.route-profile-badge.profile-gravel{background:rgba(139,92,246,.1);color:#8b5cf6}.route-profile-badge.profile-mtb{background:rgba(34,197,94,.1);color:#22c55e}.route-actions-grid{display:flex;flex-direction:column;gap:16px;margin-bottom:24px}.route-open-planner-card{display:flex;align-items:center;gap:20px;padding:24px;background:var(--bg-secondary);border-radius:16px;border:1px solid var(--border-color)}.route-open-planner-icon{width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.route-action-planner .route-open-planner-icon{background:rgba(var(--primary-rgb),.1);color:var(--primary-text)}.route-action-planner .btn{background:var(--primary);border-color:var(--primary);box-shadow:none}.route-action-planner .btn:hover{background:var(--primary-hover);border-color:var(--primary-hover);box-shadow:0 4px 12px rgba(var(--primary-rgb),.3)}.route-action-app .route-open-planner-icon{background:rgba(59,130,246,.1);color:var(--accent-color)}.route-action-app .btn{background:var(--accent-color);border-color:var(--accent-color)}.route-open-planner-text{flex:1;display:flex;flex-direction:column;gap:4px}.route-open-planner-text strong{font-size:1.05rem;color:var(--text-primary)}.ghost-download p,.route-open-planner-text span{font-size:.9rem;color:var(--text-secondary)}.route-open-planner-card .btn-lg{padding:14px 28px;font-size:1rem;white-space:nowrap;flex-shrink:0}.route-detail-page .stat-card{background:var(--bg-secondary);border-radius:12px;padding:16px 20px;text-align:center;flex:1 1 0;min-width:100px}.route-detail-map{margin-bottom:24px;border-radius:12px;overflow:hidden;border:1px solid var(--border-color, rgba(255,255,255,0.1))}.route-detail-map .leaflet-container{background:var(--bg-secondary, #1a1a2e)}.route-detail-page .stat-icon{font-size:1.5rem;margin-bottom:4px}.engagement-btn,.share-btn{display:inline-flex;align-items:center;gap:6px}.engagement-btn svg,.share-btn svg{vertical-align:middle;flex-shrink:0}.route-detail-page .stat-value{display:block;font-size:1.4rem;font-weight:700;color:var(--text-primary)}.route-detail-page .stat-label{display:block;font-size:.8rem;color:var(--text-secondary);margin-top:2px}.route-detail-page .engagement-section{background:var(--bg-secondary);border-radius:16px;padding:20px;margin-bottom:24px}.route-detail-page .engagement-actions{display:flex;gap:16px;margin-bottom:20px;justify-content:space-between}.route-detail-page .engagement-actions-left{display:flex;gap:16px}.route-detail-page .engagement-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;border:0;border-radius:10px;background:var(--bg-tertiary);color:var(--text-primary);font-size:.95rem;cursor:pointer;transition:all .2s}.route-detail-page .engagement-btn:hover{background:var(--accent-color);color:#fff}.route-detail-page .engagement-btn.liked{background:#fee2e2;color:#dc2626}.route-detail-page .comment-input-wrapper{display:flex;gap:12px;margin-bottom:20px}.route-detail-page .comment-input{flex:1;padding:12px 16px;border:1px solid var(--border-color);border-radius:10px;background:var(--bg-primary);color:var(--text-primary);font-size:.95rem}.route-detail-page .comment-submit{padding:12px 20px;background:var(--accent-color);color:#fff;border:0;border-radius:10px;font-weight:600;cursor:pointer}.route-detail-page .comments-list{display:flex;flex-direction:column;gap:16px}.route-detail-page .comment-item{display:flex;gap:12px}.route-detail-page .comment-avatar{width:36px;height:36px;border-radius:50%;background:var(--accent-color);color:#fff;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:600;flex-shrink:0}.route-detail-page .comment-content{flex:1}.route-detail-page .comment-author{font-weight:600;color:var(--text-primary);font-size:.9rem}.route-detail-page .comment-text{color:var(--text-primary);margin-top:4px;line-height:1.5}.route-detail-page .comment-time{color:var(--text-secondary);font-size:.8rem;margin-top:4px}.route-detail-page .no-comments{color:var(--text-secondary);text-align:center;padding:20px}.route-detail-page .login-prompt{text-align:center;padding:20px;background:var(--bg-tertiary);border-radius:12px;margin-bottom:16px}@media (max-width:640px){.route-detail-page{padding:80px 16px 40px}.route-detail-title-row h1{font-size:1.4rem}.route-open-planner-card{flex-direction:column;text-align:center}}.ghost-page{max-width:700px;margin:0 auto;padding:100px 20px 40px}.ghost-error,.ghost-loading{text-align:center;padding:60px 20px;color:var(--text-secondary)}.ghost-card{background:var(--bg-secondary);border-radius:20px;padding:30px;box-shadow:var(--card-shadow);margin-bottom:24px}.ghost-icon{font-size:4rem;text-align:center;margin-bottom:20px}.ghost-header{text-align:center;margin-bottom:24px}.ghost-header h1{font-size:1.6rem;color:#1e293b;margin:0 0 8px;font-weight:700}.ghost-author{display:inline-flex;align-items:center;gap:8px;color:var(--text-secondary);text-decoration:none;font-size:.95rem}.ghost-author:hover{color:var(--accent-color)}.ghost-author-avatar{width:28px;height:28px;border-radius:50%;background:var(--accent-color);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.75rem}.ghost-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.ghost-page .stat-card{background:var(--bg-tertiary);border-radius:12px;padding:16px;text-align:center}.ghost-page .stat-icon{font-size:1.3rem;margin-bottom:4px}.ghost-page .stat-value{display:block;font-size:1.3rem;font-weight:700;color:var(--text-primary)}.ghost-page .stat-label{display:block;font-size:.75rem;color:var(--text-secondary);margin-top:2px}.ghost-download{text-align:center;padding:20px;border-top:1px solid var(--border-color);margin-top:20px}.ghost-download p{margin:0 0 16px}.ghost-page .download-count{color:var(--text-secondary);font-size:.85rem;margin-top:12px}.ghost-page .btn-download{display:inline-flex;align-items:center;gap:8px;padding:14px 28px;background:var(--accent-color);color:#fff;border:0;border-radius:12px;font-weight:600;font-size:1rem;cursor:pointer;text-decoration:none}.ghost-page .btn-download:disabled{opacity:.5;cursor:not-allowed}.community-profile-section{padding:120px 0 80px;min-height:70vh}.profile-page-loading{padding:40px 0}.private-profile-message{display:flex;flex-direction:column;align-items:center;gap:12px;padding:48px 24px;color:var(--text-secondary);text-align:center}.private-profile-message svg{opacity:.5}.community-login-required,.profile-not-found{text-align:center;padding:60px 20px}.community-profile-section .error-card,.community-profile-section .login-card{background:var(--card-bg);border-radius:20px;padding:48px 40px;max-width:420px;margin:0 auto;box-shadow:0 8px 32px rgba(0,0,0,.08);border:1px solid var(--border-color, #e5e7eb)}.community-profile-section .error-card-icon,.community-profile-section .login-card-icon{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 24px}.community-profile-section .login-card-icon{background:linear-gradient(135deg,rgba(59,130,246,.1)0,rgba(59,130,246,.05) 100%);color:#3b82f6}.community-profile-section .error-card-icon{background:linear-gradient(135deg,rgba(245,158,11,.1)0,rgba(245,158,11,.05) 100%);color:#f59e0b}.community-profile-section .error-card h2,.community-profile-section .login-card h2{margin:0 0 12px;color:var(--text-primary);font-size:1.5rem}.community-profile-section .error-card p,.community-profile-section .login-card p{color:var(--text-secondary);margin:0 0 28px;line-height:1.6}.community-profile-section .back-link{display:inline-flex;align-items:center;gap:8px;color:var(--text-secondary);text-decoration:none;margin-bottom:32px;font-size:.9rem}.community-profile-section .back-link:hover{color:var(--accent-color)}.profile-page-content{max-width:1200px;margin:0 auto}.profile-top-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch;margin-bottom:32px}.profile-page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:28px;background:var(--card-bg);border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,.08)}.profile-header-main{display:flex;gap:24px;align-items:center;flex:1;min-width:0}.profile-header-actions{flex-shrink:0;display:flex;gap:10px;align-items:center}.follow-stats-inline{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:.9rem;color:var(--text-secondary)}.follow-stat-inline strong,.profile-info-main h1,[data-theme=dark] .follow-stat-inline strong{color:var(--text-primary)}.follow-stat-divider{color:var(--text-tertiary)}.profile-content-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.profile-avatar-wrapper{position:relative;flex-shrink:0}.profile-avatar-large{width:100px;height:100px;border-radius:50%;background:linear-gradient(135deg,var(--accent-color) 0%,var(--accent-hover) 100%);display:flex;align-items:center;justify-content:center;font-size:40px;font-weight:700;color:#fff;overflow:hidden;box-shadow:0 4px 16px rgba(59,130,246,.3)}.profile-avatar-large img{width:100%;height:100%;object-fit:cover}.profile-country-flag{position:absolute;bottom:-4px;right:-4px;font-size:28px;line-height:1}.profile-name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-info-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.profile-info-main h1{margin:0;font-size:1.75rem;font-weight:700}.pro-badge{display:inline-flex;align-items:center;padding:4px 10px;background:linear-gradient(135deg,#f59e0b 0,#d97706 100%);color:#fff;font-size:.7rem;font-weight:700;letter-spacing:.5px;border-radius:6px;box-shadow:0 2px 8px rgba(245,158,11,.3)}.pro-badge.pro-badge-team{background:linear-gradient(135deg,#3b82f6 0,#1d4ed8 100%);box-shadow:0 2px 8px rgba(59,130,246,.3)}.pro-badge.pro-badge-partner{background:linear-gradient(135deg,#8b5cf6 0,#6d28d9 100%);box-shadow:0 2px 8px rgba(139,92,246,.3)}.pro-badge.pro-badge-ambassador{background:linear-gradient(135deg,#14b8a6 0,#0d9488 100%);box-shadow:0 2px 8px rgba(20,184,166,.3)}.pro-badge.pro-badge-developer{background:linear-gradient(135deg,#ef4444 0,#dc2626 100%);box-shadow:0 2px 8px rgba(239,68,68,.3)}.pro-badge.pro-badge-verified{background:linear-gradient(135deg,#22b862 0,#118d45 100%);box-shadow:0 2px 8px rgba(34,184,98,.3)}.pro-badge.pro-badge-founding{background:linear-gradient(135deg,#f59e0b 0,#b45309 100%);box-shadow:0 2px 8px rgba(245,158,11,.3)}.profile-username{color:var(--text-secondary);font-size:.95rem}.follow-stat{text-align:center}.follow-count{display:block;font-size:2rem;font-weight:700;color:var(--text-primary)}.follow-label{font-size:.9rem;color:var(--text-secondary)}.profile-bio{margin:0 0 48px;font-size:.9rem;color:#666;line-height:1.5;padding:12px 16px;background:#f0f7ff;border-radius:8px;border-left:3px solid #3b82f6}.shared-empty-text{color:var(--text-secondary);font-size:.9rem;text-align:center;padding:16px;margin:0}.profile-medals-section,.profile-shared-section,.profile-stats-section{background:var(--card-bg);border-radius:16px;box-shadow:0 2px 12px rgba(0,0,0,.06);overflow:hidden}.profile-medals-section,.profile-shared-section{margin-bottom:24px}.profile-medals-section h3,.profile-shared-section h3,.profile-stats-section h3{font-size:.8rem;margin:0;padding:10px 14px;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;background:#f8f9fa;border-bottom:1px solid #eee;display:flex;align-items:center;gap:10px}.profile-medals-section h3,.profile-shared-section h3{font-size:.85rem;padding:14px 20px}.profile-shared-section h3 svg{flex-shrink:0;opacity:.7}.profile-stats-section>:not(h3){padding:14px}.profile-shared-section>:not(h3){padding:20px}.profile-medals-section .collapsible-header{cursor:pointer;display:flex;justify-content:space-between;align-items:center;user-select:none;transition:color .2s}.profile-medals-section .collapsible-header:hover{color:var(--accent-color)!important}.profile-stats-grid{display:flex;gap:12px}.profile-stat{flex:1;background:var(--bg-secondary);padding:12px 10px;border-radius:10px;text-align:center}.community-profile-section .stat-icon-wrapper{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin:0 auto 6px}.community-profile-section .stat-icon-wrapper.blue{background:rgba(59,130,246,.1);color:#3b82f6}.community-profile-section .stat-icon-wrapper.green{background:rgba(34,197,94,.1);color:#22c55e}.community-profile-section .stat-icon-wrapper.orange{background:rgba(249,115,22,.1);color:#f97316}.community-profile-section .stat-icon-wrapper.purple{background:rgba(139,92,246,.1);color:#8b5cf6}.profile-stat .stat-value{display:block;font-size:1.25rem;font-weight:700;color:var(--text-primary);line-height:1.2}.profile-stat .stat-label{font-size:.75rem;color:var(--text-secondary);margin-top:2px}.profile-medals-section{background:linear-gradient(135deg,var(--card-bg) 0%,var(--bg-secondary) 100%)}.community-profile-section .collapse-icon{font-size:.75rem;background:var(--bg-secondary);width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;transition:transform .2s}.profile-medals-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;overflow:hidden;transition:max-height .3s ease,opacity .3s ease,padding .3s ease;padding:20px}.profile-medals-grid.collapsed{max-height:0;opacity:0;padding:0 20px}.profile-medal{background:var(--card-bg);padding:16px 12px;border-radius:12px;text-align:center;border-left:4px solid;box-shadow:0 2px 8px rgba(0,0,0,.06);transition:transform .2s,box-shadow .2s}.profile-medal:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}.medal-icon-wrapper{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 8px}.profile-medal .medal-name{display:block;font-size:.8rem;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text-primary)}.profile-medal .medal-tier{font-size:.7rem;text-transform:uppercase;font-weight:600}.profile-shared-list{display:flex;flex-direction:column;gap:12px}.profile-shared-item,.shared-item-icon{display:flex;align-items:center;border-radius:12px}.profile-shared-item{gap:16px;padding:16px;background:var(--bg-secondary);transition:transform .2s}.profile-shared-item:hover{transform:translateX(4px)}.shared-item-icon{width:48px;height:48px;justify-content:center;flex-shrink:0}.shared-item-icon.routes{background:rgba(59,130,246,.1);color:#3b82f6}.shared-item-icon.workouts{background:rgba(34,197,94,.1);color:#22c55e}.shared-item-icon.ghosts{background:rgba(6,182,212,.1);color:#06b6d4}.shared-item-info{flex:1;min-width:0}.shared-item-title{display:block;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shared-item-date,.shared-item-meta{font-size:.85rem;color:var(--text-secondary)}.shared-item-date{display:block;font-size:.8rem;margin-top:2px}.shared-item-engagement,.shared-item-stats{display:flex;gap:12px;color:var(--text-secondary)}.shared-item-stats{flex-wrap:wrap;margin-top:8px;font-size:.85rem}.shared-item-stats span{background:var(--bg-secondary, #f0f4f8);padding:4px 8px;border-radius:6px}.shared-item-engagement{margin-top:6px;font-size:.8rem}.shared-item-engagement .engagement-stat,.shared-item-stats span{display:inline-flex;align-items:center;gap:4px}@media (max-width:900px){.profile-two-columns{grid-template-columns:1fr}}@media (max-width:768px){.profile-page-header{flex-direction:column;gap:20px}.profile-header-left{width:100%}.profile-content-grid,.profile-top-row{grid-template-columns:1fr}}@media (max-width:640px){.profile-header-main{flex-direction:column;text-align:center}.profile-avatar-wrapper{margin:0 auto}.profile-header-actions{flex-direction:column;width:100%}.profile-header-actions .btn,.profile-header-actions .open-in-app-btn{width:100%;justify-content:center}.follow-stats-inline{justify-content:center}.profile-stats-grid{flex-wrap:wrap}.profile-stat{flex:1 1 calc(50% - 6px);min-width:calc(50% - 6px)}.profile-medals-grid{grid-template-columns:repeat(2,1fr)}}.profile-shared-item.clickable{cursor:pointer;text-decoration:none;color:inherit}a.profile-shared-item.clickable{display:flex}.profile-shared-item.clickable:hover{background:var(--bg-hover, #f0f4f8)}.shared-item-arrow{font-size:1.5rem;color:var(--text-secondary);opacity:.5;transition:opacity .2s,transform .2s}.profile-shared-item.clickable:hover .shared-item-arrow{opacity:1;transform:translateX(4px)}.workout-detail-modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6);backdrop-filter:blur(4px);z-index:1000;align-items:center;justify-content:center;padding:20px}.workout-detail-modal-content{background:var(--card-bg, #fff);border-radius:20px;max-width:900px;width:90%;max-height:90vh;overflow:hidden;position:relative;box-shadow:0 20px 60px rgba(0,0,0,.3);animation:modalSlideIn .3s ease;display:flex;flex-direction:column}.workout-detail-body{overflow-y:auto;flex:1;min-height:0}.community-profile-section .modal-close-btn{position:absolute;top:16px;right:16px;width:36px;height:36px;border:0;background:var(--bg-secondary, #f0f0f0);border-radius:50%;font-size:24px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-secondary);transition:all .2s;z-index:10}.community-profile-section .modal-close-btn:hover{background:var(--bg-hover, #e0e0e0);color:var(--text-primary)}.workout-detail-header{padding:24px 24px 16px;border-bottom:1px solid var(--border-color, #eee)}.workout-detail-header h2{margin:0 0 8px;font-size:1.5rem;color:var(--text-primary);padding-right:40px}.workout-detail-date{margin:0;color:var(--text-secondary);font-size:.9rem}.workout-detail-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;padding:20px}.workout-stat-card{background:var(--bg-secondary, #f8f9fa);border-radius:12px;padding:16px;text-align:center}.workout-stat-card .stat-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin:0 auto 10px}.workout-stat-card .stat-icon.blue{background:rgba(59,130,246,.1);color:#3b82f6}.workout-stat-card .stat-icon.green{background:rgba(34,197,94,.1);color:#22c55e}.workout-stat-card .stat-icon.orange{background:rgba(249,115,22,.1);color:#f97316}.workout-stat-card .stat-icon.purple{background:rgba(139,92,246,.1);color:#8b5cf6}.workout-stat-card .stat-icon.red{background:rgba(239,68,68,.1);color:#ef4444}.workout-stat-card .stat-icon.amber{background:rgba(245,158,11,.1);color:#f59e0b}.workout-stat-card .stat-icon.yellow{background:rgba(234,179,8,.1);color:#eab308}.workout-stat-card .stat-value{display:block;font-size:1.25rem;font-weight:700;color:var(--text-primary)}.workout-stat-card .stat-label{display:block;font-size:.75rem;color:var(--text-secondary);margin-top:4px;text-transform:uppercase;letter-spacing:.5px}@media (max-width:480px){.workout-detail-stats{grid-template-columns:1fr 1fr;gap:8px;padding:16px}.workout-stat-card{padding:12px}}.workout-map-container{padding:0 20px 20px}.community-profile-section .comments-section h3,.workout-charts-container h3,.workout-map-container h3{font-size:.9rem;color:var(--text-secondary);margin:0 0 12px;text-transform:uppercase;letter-spacing:.5px}.workout-map{height:350px;border-radius:12px;overflow:hidden;z-index:1}.route-marker{font-size:20px;text-align:center}.workout-charts-container{padding:0 20px 20px}.workout-chart-wrapper{margin-bottom:20px}.workout-chart-wrapper:last-child{margin-bottom:0}.workout-chart-wrapper h4{font-size:.8rem;color:var(--text-secondary);margin:0 0 8px;font-weight:500}.workout-chart-wrapper canvas{height:160px!important;background:var(--bg-secondary, #f8f9fa);border-radius:8px;padding:8px}.workout-engagement-container{padding:20px;border-top:1px solid var(--border-color, #eee)}.community-profile-section .engagement-actions{display:flex;align-items:center;gap:20px;margin-bottom:20px}.community-profile-section .engagement-btn{display:flex;align-items:center;gap:8px;background:var(--bg-secondary, #f0f0f0);border:0;padding:10px 16px;border-radius:20px;cursor:pointer;font-size:1rem;transition:all .2s}.community-profile-section .engagement-btn:hover{background:var(--bg-hover, #e0e0e0)}.community-profile-section .engagement-btn.like-btn.liked{background:rgba(239,68,68,.1)}.community-profile-section .engagement-btn:disabled{opacity:.6;cursor:not-allowed}.community-profile-section .comment-icon,.community-profile-section .like-icon{font-size:1.1rem}.community-profile-section .like-count{font-weight:600;color:var(--text-primary)}.community-profile-section .engagement-stat{display:flex;align-items:center;gap:6px;color:var(--text-secondary)}.community-profile-section .comments-section{border-top:1px solid var(--border-color, #eee);padding-top:16px}.community-profile-section .comment-input-wrapper{display:flex;gap:12px;margin-bottom:16px}.community-profile-section .comment-input-wrapper input{flex:1;padding:10px 14px;border:1px solid var(--border-color, #ddd);border-radius:20px;font-size:.9rem;outline:0;transition:border-color .2s}.community-profile-section .comment-input-wrapper input:focus{border-color:var(--accent-color)}.community-profile-section .comments-list{max-height:300px;overflow-y:auto}.community-profile-section .comments-empty,.community-profile-section .comments-loading{color:var(--text-secondary);font-size:.9rem;text-align:center;padding:16px;margin:0}.community-profile-section .comment-item{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--border-color, #f0f0f0)}.community-profile-section .comment-item:last-child{border-bottom:none}.community-profile-section .comment-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--accent-color) 0%,var(--accent-hover) 100%);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:#fff;flex-shrink:0}.community-profile-section .comment-body{flex:1;min-width:0}.community-profile-section .comment-header{display:flex;align-items:center;gap:8px;margin-bottom:4px}.community-profile-section .comment-author{font-weight:600;font-size:.85rem;color:var(--text-primary)}.community-profile-section .comment-date{font-size:.75rem;color:var(--text-secondary)}.community-profile-section .comment-text{margin:0;font-size:.9rem;color:var(--text-primary);line-height:1.4}[data-theme=dark] .error-card,[data-theme=dark] .login-card{background:var(--surface);border-color:var(--border)}[data-theme=dark] .login-card-icon{background:linear-gradient(135deg,rgba(59,130,246,.15)0,rgba(59,130,246,.08) 100%)}[data-theme=dark] .error-card-icon{background:linear-gradient(135deg,rgba(245,158,11,.15)0,rgba(245,158,11,.08) 100%)}[data-theme=dark] .profile-page-header{background:var(--surface);box-shadow:0 4px 20px rgba(0,0,0,.2);border:1px solid var(--border)}[data-theme=dark] .follow-stat-divider{color:var(--text-tertiary)}[data-theme=dark] .profile-bio{background:rgba(59,130,246,.1);border-color:rgba(59,130,246,.3);color:var(--text-primary, #e0e0e0)}[data-theme=dark] .profile-medals-section,[data-theme=dark] .profile-shared-section,[data-theme=dark] .profile-stats-section{background:var(--surface)}[data-theme=dark] .comment-input-wrapper input,[data-theme=dark] .profile-medals-section h3,[data-theme=dark] .profile-shared-section h3,[data-theme=dark] .profile-stats-section h3{background:var(--background-alt);border-color:var(--border)}[data-theme=dark] .profile-stat{background:var(--background-alt)}[data-theme=dark] .profile-stat .stat-value{color:#f1f5f9}[data-theme=dark] .profile-stat .stat-label{color:#94a3b8}[data-theme=dark] .profile-medals-section{background:linear-gradient(135deg,var(--surface) 0%,var(--background-alt) 100%)}[data-theme=dark] .collapse-icon{background:var(--background-alt)}[data-theme=dark] .profile-medal,[data-theme=dark] .shared-item-stats span{background:var(--surface)}[data-theme=dark] .profile-shared-item{background:var(--background-alt)}[data-theme=dark] .notification-item.unread:hover,[data-theme=dark] .profile-shared-item.clickable:hover{background:rgba(59,130,246,.1)}[data-theme=dark] .workout-detail-modal-content{background:var(--surface)}[data-theme=dark] .workout-detail-header{border-color:var(--border)}[data-theme=dark] .workout-chart-wrapper canvas,[data-theme=dark] .workout-stat-card{background:var(--background-alt)}[data-theme=dark] .workout-engagement-container{border-color:var(--border)}.open-in-app-section{margin-bottom:16px}.open-in-app-btn{display:inline-flex;align-items:center;gap:10px;padding:12px 24px;min-height:44px;background:var(--accent-color);color:#fff;border-radius:12px;text-decoration:none;font-weight:600;font-size:.95rem;transition:all .25s ease;border:0;cursor:pointer;line-height:1.4;box-shadow:0 2px 8px rgba(59,130,246,.25)}.open-in-app-btn:hover{filter:brightness(1.1);transform:translateY(-1px);box-shadow:0 4px 16px rgba(59,130,246,.35);color:#fff;text-decoration:none}.open-in-app-btn:active{transform:translateY(0);box-shadow:0 1px 4px rgba(59,130,246,.2)}.open-in-app-btn svg{width:20px;height:20px;flex-shrink:0}.profile-header-actions .open-in-app-btn{display:inline-flex}@media (max-width:768px){.open-in-app-section .open-in-app-btn,.profile-header-actions .open-in-app-btn{width:100%;justify-content:center;padding:14px 24px}}.follow-requested,[data-theme=dark] .engagement-btn{background:var(--background-alt)}[data-theme=dark] .engagement-btn:hover{background:rgba(59,130,246,.15)}.follow-requested{color:var(--text-secondary);border:1px solid var(--border);opacity:.85}.follow-requested:hover{background:rgba(239,68,68,.08);border-color:rgba(239,68,68,.4);color:#ef4444;opacity:1}[data-theme=dark] .follow-requested{background:var(--surface);color:var(--text-secondary);border-color:var(--border)}[data-theme=dark] .follow-requested:hover{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.4);color:#f87171}[data-theme=dark] .comment-item,[data-theme=dark] .comments-section{border-color:var(--border)}[data-theme=dark] .comment-input-wrapper input{color:var(--text-primary)}[data-theme=dark] .modal-close-btn{background:var(--background-alt)}[data-theme=dark] .modal-close-btn:hover{background:rgba(59,130,246,.15)}.notifications-page-header{margin-bottom:32px}.notifications-page-header .back-link{display:inline-flex;align-items:center;gap:6px;font-size:var(--font-size-sm);color:var(--text-tertiary);text-decoration:none;margin-bottom:16px;transition:color .2s ease}.notifications-page-header .back-link:hover{color:var(--accent-color)}.notifications-page-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.notifications-page-title-row h1{font-size:2rem;font-weight:800;color:var(--text-primary);margin:0}.notifications-skeleton-list{display:flex;flex-direction:column;gap:12px;width:100%}.notification-skeleton{display:flex;align-items:center;gap:16px;padding:16px}.skeleton-circle{width:44px;height:44px;min-width:44px;border-radius:50%}.notifications-full-list{display:flex;flex-direction:column;gap:2px}.notification-item{display:flex;align-items:flex-start;gap:4px;border-radius:var(--radius-md);transition:background .15s ease;position:relative}.notification-item.unread{background:rgba(59,130,246,.04)}.notification-item:hover{background:var(--background-alt)}.notification-item.unread:hover{background:rgba(59,130,246,.08)}.notification-item-link{display:flex;align-items:flex-start;gap:16px;flex:1;padding:16px;text-decoration:none;color:inherit;min-width:0}.notification-avatar{width:44px;height:44px;min-width:44px;border-radius:50%;background:var(--background-alt);overflow:hidden;color:var(--text-tertiary)}.notification-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.notification-avatar,.notification-avatar-placeholder{display:flex;align-items:center;justify-content:center}.notification-content{flex:1;min-width:0}.notification-message{font-size:var(--font-size-base);color:var(--text-primary);line-height:1.5;margin:0 0 4px}.notification-message strong{font-weight:700}.notification-time{font-size:var(--font-size-xs);color:var(--text-tertiary);display:inline-flex;align-items:center;gap:4px}.notification-unread-dot{width:10px;height:10px;min-width:10px;border-radius:50%;background:var(--accent-color);margin-top:18px;margin-right:8px}.notification-actions{display:flex;align-items:center;gap:4px;padding:16px 12px 16px 0;opacity:0;transition:opacity .15s ease}.notification-item:hover .notification-actions{opacity:1}.notification-action-btn{background:0 0;border:0;cursor:pointer;padding:6px;border-radius:var(--radius-sm);color:var(--text-tertiary);transition:all .15s ease;display:flex;align-items:center;justify-content:center}.notification-action-btn:hover{background:rgba(59,130,246,.1);color:var(--accent-color)}.notification-action-delete:hover{background:rgba(239,68,68,.1);color:#ef4444}.btn-sm{padding:8px 16px;font-size:var(--font-size-sm);gap:6px;display:inline-flex;align-items:center}[data-theme=dark] .notification-item.unread{background:rgba(59,130,246,.06)}[data-theme=dark] .notification-item:hover{background:var(--background-alt)}@media (max-width:768px){.notifications-page-title-row{flex-direction:column;align-items:flex-start;gap:12px}.notification-actions{opacity:1;padding:12px 8px 12px 0}.notification-item-link{padding:12px;gap:12px}.notification-avatar{width:36px;height:36px;min-width:36px}.notification-message{font-size:var(--font-size-sm)}}