
.community-content{display:grid;gap:18px;border:0;padding:0;margin:0;min-width:0}.community-content:disabled{opacity:.75}

.community-calendar{display:flex;flex-wrap:wrap;gap:6px}.community-calendar span{padding:8px;color:var(--muted)}.community-calendar .active{color:var(--lime)}.club-cover{display:block;width:100%;height:180px;object-fit:cover;border-radius:14px}.shared-muscle-map svg{width:100%;max-height:340px}.community-media{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px}.community-media>a,.community-media>video{flex:0 0 100%;scroll-snap-align:center;min-width:0}

.community-media>.shared-workout-card{flex:0 0 100%;scroll-snap-align:center;box-sizing:border-box;padding:16px;min-width:0}.community-media img{max-width:100%}

.community .feed-post{width:100%;max-width:700px;margin-inline:auto}.feed-post .community-media{border-radius:14px;overflow:hidden}.feed-post .community-media img{max-height:600px}.community a.secondary{display:inline-flex;align-items:center;text-decoration:none;min-height:44px}.community [data-social="share-target"]{display:block;margin-top:12px;width:100%}

/* Photo-led social layout, with YuFit's own accent and neutral dark surfaces. */
.social-route .account-bar,.social-route .profile-nudge{display:none}
.community.feed-mode{gap:10px}.feed-shell{max-width:1060px;margin:0 auto;width:100%;min-width:0}.feed-section-title{font:700 28px Manrope,sans-serif;margin:8px 0}
.feed-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 0 23px;gap:14px}.feed-toolbar p{color:var(--muted);font-size:9px;letter-spacing:1.5px;margin:0 0 7px}.feed-toolbar h1{font:700 34px Manrope,sans-serif;letter-spacing:-1.6px;margin:0}.feed-brand-dot{color:var(--lime)}.feed-toolbar-actions{display:flex;align-items:center;gap:10px}.feed-new{display:flex;align-items:center;gap:8px;background:var(--lime);color:#15200e;min-height:42px;padding:10px 17px;border-radius:999px;font-weight:600}.feed-new .icon{width:18px;height:18px}
.feed-layout{display:grid;grid-template-columns:minmax(0,620px) minmax(220px,280px);gap:48px;align-items:start}.feed-stream{min-width:0;display:flex;flex-direction:column}.feed-tabs{display:flex;align-items:center;border-bottom:1px solid var(--line);gap:26px;padding:0 4px;margin-bottom:3px}.feed-tabs button{border:0;background:none;color:var(--muted);font-size:14px;font-weight:600;padding:14px 0;min-height:48px;border-bottom:2px solid transparent}.feed-tabs button.active{color:var(--text);border-bottom-color:var(--lime)}.feed-tabs button.feed-refresh{margin-left:auto;min-width:44px}.feed-tabs .icon{width:20px;height:20px}.feed-search{border-bottom:1px solid var(--line);padding:8px 0}.feed-search>summary{list-style:none;display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);min-height:36px;cursor:pointer}.feed-search .icon{width:17px;height:17px}.feed-search .community-form{padding:5px 0 15px}.feed-empty{padding:70px 22px;text-align:center}.feed-empty>span{font-size:40px}.feed-empty h2{font:600 20px Manrope,sans-serif;margin:16px 0 10px}.feed-empty p{color:var(--muted);line-height:1.7;font-size:13px}.feed-empty button{margin-top:12px}
.community .feed-post{width:100%;max-width:none;margin:0;padding:0 0 20px;background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;min-width:0;box-sizing:border-box}.feed-post button{border:0;background:none;color:var(--text);font:inherit;cursor:pointer}.feed-post-header{display:flex;align-items:center;gap:10px;padding:17px 3px 13px;position:relative}.feed-profile{display:flex;align-items:center;gap:11px;min-width:0;text-align:left;flex:1;padding:0!important;min-height:44px}.feed-avatar{height:42px;width:42px;flex-shrink:0;border-radius:50%;object-fit:cover;border:1px solid var(--line);background:var(--panel2)}.feed-monogram{display:flex;align-items:center;justify-content:center;font:700 17px Manrope,sans-serif;color:var(--lime)}.feed-profile-copy{display:grid;gap:4px;min-width:0}.feed-profile-copy strong{font-size:13px;color:var(--text);font-weight:600}.feed-profile-copy>span{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.feed-post-menu,.feed-tools{position:relative}.feed-post-menu summary,.feed-tools summary{list-style:none;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%;color:var(--text)}.feed-post-menu summary::-webkit-details-marker,.feed-tools summary::-webkit-details-marker,.feed-search summary::-webkit-details-marker{display:none}.feed-post-menu summary:hover,.feed-tools summary:hover{background:var(--panel)}.feed-post-menu .icon,.feed-tools .icon{width:23px;height:23px;stroke-linecap:round;stroke-width:3}.feed-menu-items{position:absolute;right:0;top:47px;min-width:245px;max-width:calc(100vw - 40px);z-index:4;border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:6px;box-shadow:0 14px 44px #0007}.feed-menu-items button{font:500 12px 'DM Sans',sans-serif!important;text-align:left;width:100%;display:block;background:transparent!important;border:0!important;color:var(--text);padding:14px 12px!important;min-height:44px;border-radius:8px}.feed-menu-items button:hover{background:var(--panel2)!important}.feed-menu-items button.feed-danger{color:var(--danger,var(--danger))}
.feed-media-wrap{position:relative;min-width:0}.feed-media.community-media,.feed-post .feed-media.community-media{display:flex;overflow-x:auto;overflow-y:hidden;gap:0!important;scrollbar-width:none;border-radius:0;scroll-snap-type:x mandatory}.feed-media::-webkit-scrollbar{display:none}.feed-media>a{flex:0 0 100%;display:flex;justify-content:center;align-items:center;width:100%;aspect-ratio:4/5;max-height:min(78svh,760px);background:#070907;scroll-snap-align:start;overflow:hidden}.feed-media img{display:block;width:100%;height:100%;max-height:none!important;object-fit:contain;border-radius:0!important}.feed-media>video{flex:0 0 100%;width:100%;max-height:680px;border-radius:0!important;scroll-snap-align:start}.feed-media>.shared-workout-card{border-radius:0;background:var(--panel);scroll-snap-align:start}.feed-image-count{position:absolute;right:12px;top:12px;pointer-events:none;padding:5px 9px;border-radius:99px;background:#0009;color:white;font-size:10px}.feed-pagination{display:flex;justify-content:center;align-items:center;gap:0;padding-top:6px}.feed-pagination button{display:flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;padding:0!important}.feed-pagination i{height:5px;width:5px;background:var(--line);border-radius:5px;display:block}.feed-pagination [aria-pressed=true] i{background:var(--lime);width:16px}.feed-post-copy{padding:5px 3px 0}.feed-reactions{display:flex;align-items:center;gap:17px;margin:2px 0 4px}.feed-reactions button{display:flex;align-items:center;gap:7px;min-height:48px;padding:0;min-width:48px;font-size:13px;font-weight:600;border-radius:13px}.feed-flex-emoji{font:28px 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;line-height:1.3}.feed-reaction.is-active{color:var(--lime);background:var(--panel);padding-inline:9px}.feed-comment-action .icon{width:27px;height:27px;stroke-width:1.7}.feed-total{font-size:13px;font-weight:600;margin:5px 0 8px}.feed-caption{font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 8px}.feed-caption button{padding:0;font-weight:600}.feed-activity{font-size:11px;color:var(--lime);margin:8px 0}.feed-view-comments{display:block;color:var(--muted)!important;font-size:13px!important;padding:3px 0!important;min-height:32px}.feed-time{display:block;font-size:10px;color:var(--muted);margin-top:6px;line-height:1.6}.feed-sidebar{padding-top:14px;min-width:0}.feed-sidebar .card{border:0;border-top:1px solid var(--line);border-radius:0;background:none;padding:21px 0;margin-top:19px}.feed-sidebar h3{font-size:13px!important}.feed-sidebar .secondary{width:100%;display:block;text-align:left;background:none;border:0;color:var(--text);font-size:12px;padding:12px 3px}.feed-self .community-person button{color:var(--text)}.feed-self>p,.feed-sidebar-note{font-size:11px;line-height:1.7;color:var(--muted);margin-top:17px}.feed-self .community-avatar{background:var(--panel2)}
.feed-post button:focus-visible,.feed-pagination button:focus-visible,.feed-tools summary:focus-visible,.feed-post-menu summary:focus-visible,.feed-tabs button:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
@media(max-width:1150px){.feed-layout{grid-template-columns:minmax(0,620px);justify-content:center}.feed-sidebar{display:none}.feed-toolbar{max-width:620px;margin:auto}.feed-shell{max-width:620px}}
@media(max-width:600px){.feed-toolbar{padding-bottom:14px}.feed-toolbar p{font-size:8px;letter-spacing:1.1px}.feed-toolbar h1{font-size:29px}.feed-new{padding:10px 13px;font-size:12px}.feed-layout{display:block}.feed-toolbar-actions{gap:3px}.feed-post .feed-media-wrap{margin-inline:-22px}.feed-post-copy{padding-inline:0}.feed-post-header{padding:14px 0 12px}.feed-post .feed-media{width:calc(100vw - 0px);max-width:none}.feed-pagination{margin-inline:22px}.feed-post-menu .feed-menu-items{right:-3px}.feed-tabs{gap:24px}.feed-profile-copy strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.feed-media{scroll-behavior:auto}}
@media(max-width:600px){body.social-route:has(.feed-mode) main{padding-inline:0}.feed-mode .feed-toolbar{padding-inline:16px}.feed-mode .feed-tabs,.feed-mode .feed-search{margin-inline:16px}.feed-mode .feed-post-header,.feed-mode .feed-post-copy{padding-left:16px;padding-right:16px}.feed-post .feed-media-wrap{margin-inline:0!important}.feed-post .feed-media{width:100%;max-width:100%}.feed-mode .feed-section-title{padding-inline:16px}.feed-mode>.community-error{margin-inline:16px}}
.social-route .sidebar,.social-route .topbar{background:var(--bg)}

/* Community forms use the shared rhythm; page navigation belongs to style.css. */
.community-form{gap:20px}.community-form .field{margin:0}.community-form .field :is(input,select,textarea){margin-top:8px}
.community-form textarea{border-color:var(--control-line);font-size:16px;line-height:1.6;background:var(--bg)}
.community-actions .primary,.community-actions .secondary{min-height:48px}
.club-editor>h2{margin:0;font:700 23px/1.35 Manrope,sans-serif}.club-editor>.note{margin:12px 0 24px}
.club-editor .community-public-note{margin:0;line-height:1.7}

.community:has(.community-create-fab){padding-bottom:100px}
.community-create-fab{position:fixed;right:28px;bottom:28px;z-index:6;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--lime);color:var(--on-lime);box-shadow:0 6px 20px #0005}
.community-create-fab .icon{width:29px;height:29px;stroke-width:1.8}
.community-form input[type=file]::file-selector-button{font:inherit;font-size:14px;border:0;border-radius:8px;padding:8px 12px;margin-right:12px;background:var(--panel2);color:var(--text);cursor:pointer}
@media(hover:hover){.community-create-fab:hover{background:var(--lime-soft)}}
@media(max-width:900px){.community-create-fab{right:20px;bottom:calc(102px + env(safe-area-inset-bottom,0px))}}

/* Community discovery: real covers, membership and audience at a glance. */
.club-summary{display:grid;gap:16px;align-content:start}.club-summary-head{display:grid;grid-template-columns:76px minmax(0,1fr);gap:16px;align-items:center}
.club-summary-cover,.club-summary-placeholder{width:76px;height:76px;border-radius:12px;object-fit:cover;background:var(--panel2)}
.club-summary-placeholder{display:grid;place-items:center;color:var(--muted)}.club-summary-placeholder .icon{width:30px;height:30px}
.club-summary-name{min-width:0}.club-summary h3{margin:0;font:700 19px/1.4 Manrope,sans-serif;overflow-wrap:anywhere}
.club-summary-category{color:var(--muted);font-size:13px;margin:4px 0 8px}.club-privacy{display:inline-flex;align-items:center;gap:6px;color:var(--text);font-size:12px;line-height:1.5;background:var(--panel2);padding:5px 9px;border-radius:8px}
.club-privacy .icon{width:14px;height:14px}.club-summary-description{margin:0;color:var(--muted);font-size:14px}
.club-summary-meta{display:flex;flex-wrap:wrap;gap:10px 20px;color:var(--muted);font-size:13px}.club-summary-meta span{display:inline-flex;gap:6px;align-items:center;min-width:0;overflow-wrap:anywhere}
.club-summary-meta .icon{width:17px;height:17px}.club-summary-tags{color:var(--muted);font-size:12px;margin:0;overflow-wrap:anywhere}.club-summary>.secondary{justify-content:space-between;width:100%}
.community-empty{display:grid;justify-items:center;gap:12px;padding:36px 20px;text-align:center;border:1px dashed var(--line);border-radius:16px}
.community-empty>.icon{width:32px;height:32px;color:var(--muted)}.community-empty h2,.community-empty h3{margin:0;font:600 20px/1.4 Manrope,sans-serif}.community-empty p{margin:0;max-width:48ch;color:var(--muted);line-height:1.7}
.community-notice{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;background:var(--panel2);border-radius:12px;line-height:1.6}
.community-notice p{margin:0}.community-notice>div{min-width:0}.community-notice>.icon{margin-top:2px;width:20px;height:20px;color:var(--muted)}.community-notice-error{color:var(--danger);background:#2b1e1d}
.community-loading-mark{width:18px;height:18px;border:2px solid var(--muted);border-top-color:transparent;border-radius:50%;margin-top:3px;flex-shrink:0;animation:community-spin 1s linear infinite}
@keyframes community-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.community-loading-mark{animation:none}}

.club-filters>summary{display:flex;align-items:center;gap:10px;list-style:none;min-height:48px;padding:12px 0;color:var(--text);font-size:14px}.club-filters>summary::-webkit-details-marker{display:none}.club-filters>summary .icon:last-child{margin-left:auto;width:18px;height:18px}.club-filters[open]>summary .icon:last-child{transform:rotate(90deg)}.club-filters .community-form{padding-top:16px}
/* Compact discovery rows; complete descriptions and rules remain in detail. */
.club-summary-compact{padding:16px!important}.club-summary-compact .club-summary-head{grid-template-columns:76px minmax(0,1fr) 48px;gap:14px}.club-summary-compact h3{font-size:17px;line-height:1.45}.club-summary-compact .club-summary-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;line-height:1.5;margin:4px 0}.club-summary-compact .club-summary-meta,.club-summary-city{font-size:12px;line-height:1.5;color:var(--muted);margin:4px 0 0}.club-summary-city{overflow-wrap:anywhere}.club-summary-open{display:grid;place-items:center;min-width:48px;min-height:48px;border:0;border-radius:12px;background:var(--panel2);color:var(--text);cursor:pointer}.club-summary-open .icon{width:20px;height:20px}.club-summary-open:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
.club-detail-disclosure,.club-participation{margin:16px 0}.club-detail-disclosure>summary,.club-participation>summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;cursor:pointer;list-style:none;padding:12px 0;border-bottom:1px solid var(--line)}.club-detail-disclosure>summary::after,.club-participation>summary::after{content:'+';font-size:22px;color:var(--muted)}.club-detail-disclosure[open]>summary::after,.club-participation[open]>summary::after{content:'−'}.club-detail-disclosure>summary:focus-visible,.club-participation>summary:focus-visible{outline:2px solid var(--lime);outline-offset:3px}.club-detail-disclosure .community-actions{padding-top:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.club-participation>section{margin-top:16px}
@media(max-width:400px){.club-summary-compact{padding:12px!important}.club-summary-compact .club-summary-head{grid-template-columns:60px minmax(0,1fr) 48px;gap:10px}.club-summary-compact .club-summary-cover,.club-summary-compact .club-summary-placeholder{width:60px;height:60px}}
.shared-workout-card{display:flex;flex-direction:column;justify-content:center;gap:14px;padding:24px;background:var(--panel);border-radius:20px;min-width:0;box-sizing:border-box}.workout-share-heading>span{font-size:10px;letter-spacing:.14em;color:var(--muted)}.workout-share-heading h3{font-size:22px;margin:8px 0 0;overflow-wrap:anywhere}.workout-share-visual{display:grid;grid-template-columns:minmax(0,1fr) minmax(76px,.36fr);align-items:center;gap:12px}.workout-share-map svg{display:block;width:100%;max-height:310px}.workout-share-stats{display:grid;gap:18px}.workout-share-stats>div{display:grid;gap:4px}.workout-share-stats strong{color:var(--lime,var(--lime));font-family:Manrope,sans-serif;font-size:clamp(18px,4vw,26px);overflow-wrap:anywhere}.workout-share-stats span{font-size:11px;color:var(--muted);line-height:1.4}.workout-share-groups{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.shared-workout-card>.secondary{width:100%;min-height:48px}.shared-muscle-map svg{display:block;width:100%;max-height:330px}.calendar-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.calendar-month-head h3{text-transform:capitalize;text-align:center;font-size:15px;margin:0}.calendar-month-head button{min-width:44px;min-height:44px;font-size:26px}.calendar-month-head button:disabled{opacity:.3}.social-month{max-width:460px;margin:16px auto;width:100%}.social-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-weekday{text-align:center;font-size:10px;color:var(--muted);padding:8px 0}.social-month-day{display:grid;place-items:center;aspect-ratio:1;border-radius:50%;background:var(--panel2);font-size:12px;color:var(--muted)}.social-month-day.active{background:var(--lime,var(--lime));color:var(--panel2);font-weight:700}.social-month-day.untracked{opacity:.35}

.community{display:grid;gap:18px;max-width:100%;min-width:0}.community .card{min-width:0}.community-tabs,.community-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.community-tabs button,.community-actions button{min-height:42px}.community-person{display:flex;gap:12px;align-items:center;min-width:0}.community-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#1c2831}.community-person-info{min-width:0;overflow-wrap:anywhere}.community-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.community-media{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.community-media img,.community-media video{width:100%;max-height:460px;object-fit:contain;background:var(--panel-deep);border-radius:14px}.community-form{display:grid;gap:15px}.community-form textarea{min-height:110px;resize:vertical}.community-form input,.community-form textarea,.community-form select{max-width:100%;min-width:0}.community-comment{padding:16px 0;border-top:1px solid var(--line,var(--line));overflow-wrap:anywhere}.community-reply{margin-left:18px;border-left:2px solid var(--line);padding-left:12px}.community-error{padding:14px;background:#321e25;color:var(--danger);border-radius:12px}.community-profile-links{display:flex;flex-wrap:wrap;gap:12px;overflow-wrap:anywhere}.community-small{font-size:12px;color:var(--muted)}.community-public-note{padding:14px;background:#1b2922;border-radius:12px}.community-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media(max-width:520px){.community-field-row{grid-template-columns:1fr}.community-media{grid-template-columns:1fr}.community-reply{margin-left:8px;padding-left:8px}.community-actions button{flex:1 1 auto}}

/* Confirmação do perfil social automático */
dialog.social-confirm{max-width:440px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:20px;background:var(--panel-deep);color:var(--text);padding:22px}dialog.social-confirm::backdrop{background:#000a}dialog.social-confirm h2{margin:4px 0 14px}.social-confirm-card{display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;background:var(--bg);margin-bottom:12px}.social-confirm-card strong,.social-confirm-card small{display:block}.social-confirm-card small{color:var(--muted)}.social-confirm-avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(var(--lime-rgb),0.13);color:var(--lime);font:700 20px Manrope,sans-serif}.social-confirm-actions{display:grid;gap:8px;margin-top:14px}.social-confirm-error{color:var(--danger)}.social-confirm-actions .ghost{background:none;border:0;color:var(--muted);min-height:44px;font-weight:500}
@media(prefers-reduced-motion:no-preference){dialog.social-confirm[open]{animation:social-confirm-in .28s cubic-bezier(.2,.8,.2,1)}}@keyframes social-confirm-in{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}

/* Planos */
.web-plans{display:grid;gap:10px;margin:12px 0}.web-plan{display:grid;gap:6px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--panel-deep)}.web-plan span{font:700 20px Manrope,sans-serif}.web-plan small{font:400 13px 'DM Sans',sans-serif;color:var(--muted);margin-left:6px}.plan-features{margin:8px 0;padding-left:18px}.plan-features li{margin:4px 0}

/* Esqueletos de perfil e clubes */
.skeleton-card{display:grid;gap:12px}.sk{display:block;background:var(--panel2);border-radius:8px}.sk-row{display:flex;align-items:center;gap:14px}.sk-col{display:grid;gap:8px;flex:1}.sk-avatar{width:72px;height:72px;border-radius:50%;flex:none}.sk-line{height:12px}.w35{width:35%}.w40{width:40%}.w55{width:55%}.w60{width:60%}.w90{width:90%}.sk-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.sk-stats .sk{height:54px;border-radius:14px}.sk-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.sk-grid .sk{height:110px;border-radius:12px}.sk-cover{height:96px;border-radius:12px}.skeleton-clubs{display:grid;gap:14px}
@media(prefers-reduced-motion:no-preference){.sk{animation:sk-pulse 1.4s ease-in-out infinite}}@keyframes sk-pulse{0%,100%{opacity:.55}50%{opacity:1}}

.plan-trial{display:grid;gap:8px;margin:12px 0;padding:14px;border:1px solid rgba(var(--lime-rgb),0.33);border-radius:14px;background:rgba(var(--lime-rgb),0.07)}.plan-trial h3{margin:0}.plan-bonus{padding:12px 14px;border-radius:14px;background:rgba(var(--blue-rgb),.09);color:#cfe3ff}
.dictation-button{display:inline-flex;align-items:center;gap:6px;min-height:40px;margin:6px 0;padding:0 14px;border-radius:20px;border:1px solid var(--line);background:var(--panel-deep);color:var(--text);font:600 14px 'DM Sans',sans-serif;cursor:pointer}.dictation-button.on{background:var(--lime);color:var(--bg);border-color:var(--lime)}
.composer-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.composer-close{min-width:44px;min-height:44px;border-radius:50%;border:1px solid rgba(var(--ink-rgb),.18);background:transparent;color:inherit;font-size:18px;cursor:pointer}.composer-tips{margin:4px 0 8px}.composer-tips p{margin:0 0 8px;padding:10px 12px;border-radius:12px;background:rgba(115,175,255,.12);border:1px solid rgba(115,175,255,.35)}
.shared-meal-card{display:grid;gap:12px;margin:12px 0;padding:16px;border-radius:16px;background:rgba(var(--lime-rgb),.07);border:1px solid rgba(var(--lime-rgb),.3)}
.workout-heat-legend{display:block;margin-top:6px;color:var(--muted);font-size:12px}
.post-tag{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;border:1px solid rgba(var(--lime-rgb),.45);color:var(--lime);font-size:12px}
.profile-tabs{display:flex;gap:8px;margin:12px 0}.profile-tabs button{min-height:44px;padding:0 16px;border-radius:999px;border:1px solid rgba(var(--ink-rgb),.18);background:transparent;color:inherit;cursor:pointer}.profile-tabs button.active{background:var(--lime);color:var(--bg);border-color:var(--lime)}
.profile-photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.profile-photo-grid button{padding:0;border:0;background:var(--panel);aspect-ratio:1;overflow:hidden;cursor:pointer}.profile-photo-grid img,.profile-photo-grid video{width:100%;height:100%;object-fit:cover}
.profile-collections{display:flex;flex-wrap:wrap;gap:8px}.composer-clubs{border:1px solid rgba(var(--ink-rgb),.15);border-radius:12px;padding:12px;margin:0}
#post-camera{position:fixed;inset:0;z-index:100;background:#000;display:flex;flex-direction:column}#post-camera video{flex:1;min-height:0;width:100%;object-fit:cover}.post-camera-error{position:absolute;top:70px;left:16px;right:16px;margin:0;padding:12px;border-radius:12px;background:rgba(0,0,0,.7);color:#fff}.post-camera-bar{position:absolute;bottom:24px;left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;gap:8px}.post-camera-bar button{min-width:56px;min-height:56px;border-radius:28px;border:1px solid rgba(var(--ink-rgb),.3);background:rgba(0,0,0,.55);color:#fff;cursor:pointer}.post-camera-bar [data-cam=close]{position:fixed;top:16px;left:16px}.post-camera-bar [data-cam=flash]{position:fixed;top:16px;right:16px}.post-camera-bar .post-camera-shutter{width:76px;height:76px;border:5px solid #fff;background:#fff;background-clip:content-box;padding:5px}
/* Cartão de post — hierarquia em uma linha, mídia recuada e arredondada, ações discretas */
.community .feed-post{padding:0 0 8px;border-bottom:1px solid var(--line)}
.feed-post-header{padding:16px 4px 6px}
.feed-line{display:flex;align-items:baseline;gap:6px;min-width:0}.feed-line strong{font-size:15px;font-weight:700}.feed-line .feed-time{font-size:12px;color:var(--muted);white-space:nowrap}
.feed-profile-copy{gap:2px}.feed-profile-copy>.feed-sub{font-size:12px}
.feed-audience{display:inline-flex;align-items:center;color:var(--muted)}.feed-audience .icon{width:16px;height:16px}
.feed-post .feed-caption{margin:2px 4px 10px;font-size:15px;line-height:1.45;color:var(--text)}
.feed-post .feed-media-wrap{margin:0 4px}.feed-post .feed-media.community-media{border-radius:20px}
.feed-post .feed-media>a{aspect-ratio:1/1;background:var(--panel)}.feed-post .feed-media img{object-fit:cover}
.feed-post-copy{padding:6px 4px 4px;display:grid;gap:0}
.feed-reactions{display:flex;align-items:center;gap:6px}
.feed-reaction,.feed-comment-action{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px!important;border-radius:999px!important;color:var(--muted)!important;font-size:14px;transition:transform .15s ease,background .15s ease}
.feed-reaction:hover,.feed-comment-action:hover{background:var(--panel)!important}.feed-reaction:active,.feed-comment-action:active{transform:scale(.94)}
.feed-reaction.is-active{background:rgba(var(--lime-rgb),.14)!important;color:var(--lime)!important}
.feed-reaction.is-active .feed-flex-emoji{animation:feed-pop .28s ease}
@keyframes feed-pop{0%{transform:scale(.7)}60%{transform:scale(1.25)}100%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.feed-reaction.is-active .feed-flex-emoji{animation:none}.feed-reaction,.feed-comment-action{transition:none}}
.feed-reactions .post-tag{margin-left:auto}
/* Criar post — texto primeiro, ícones abrem folhas */
.composer2{padding:0;border:0;background:none;position:relative}
.composer2 .composer-head{padding:8px 0 12px;gap:12px}.composer2 .composer-head h2{margin:0;font-size:17px;flex:1;text-align:center}
.composer-publish{min-height:44px;padding:0 20px;border-radius:999px}
.composer-form{gap:12px}.composer-author .community-person{padding:0}
.composer-text{width:100%;min-height:150px;border:0!important;background:transparent!important;color:var(--text);font:inherit;font-size:18px;line-height:1.5;resize:vertical;padding:8px 2px;outline:none;box-shadow:none!important}
.composer-text::placeholder{color:var(--muted)}
.composer-chips{display:flex;flex-wrap:wrap;gap:8px}.composer-chip{display:inline-flex;align-items:center;border:1px solid rgba(var(--lime-rgb),.4);border-radius:999px;background:rgba(var(--lime-rgb),.08);max-width:100%}
.composer-chip button{border:0;background:none;color:var(--text);font:inherit;font-size:13px;min-height:36px;padding:0 12px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-chip .composer-chip-x{padding:0 10px 0 2px;color:var(--muted)}
.composer-toolbar{display:flex;gap:6px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}
.composer-tool{width:48px;height:48px;border-radius:50%;border:1px solid var(--line);background:var(--panel);color:var(--text);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s ease,background .15s ease}.composer-tool:active{transform:scale(.92)}.composer-tool.active,.composer-tool:hover{background:rgba(var(--lime-rgb),.14);border-color:rgba(var(--lime-rgb),.5);color:var(--lime)}.composer-tool .icon{width:22px;height:22px}
.composer-audience{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:var(--panel);color:var(--text);font:inherit;font-size:14px;cursor:pointer}.composer-audience .icon{width:18px;height:18px}
.composer-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:60}
.composer-sheet{display:none;position:fixed;left:0;right:0;bottom:0;z-index:61;max-height:82vh;overflow:auto;background:var(--panel);border-radius:24px 24px 0 0;border:1px solid var(--line);padding:8px 16px calc(20px + env(safe-area-inset-bottom));box-sizing:border-box}
.composer-sheet.open{display:block;animation:composer-sheet-in .24s cubic-bezier(.2,.8,.2,1)}
@keyframes composer-sheet-in{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){.composer-sheet.open{animation:none}.composer-tool{transition:none}}
.composer-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:10px 0;position:sticky;top:0;background:var(--panel)}
.composer-sheet-body{display:grid;gap:14px}
@media(min-width:760px){.composer-sheet{left:50%;right:auto;bottom:auto;top:50%;transform:translate(-50%,-50%);width:min(520px,92vw);border-radius:24px}.composer-sheet.open{animation:none}}
.composer2{padding-bottom:120px}
body:has(.composer2) .feed-section-title,body:has(.composer2) h1.feed-section-title{display:none}
@media(max-width:600px){.feed-post-header{padding-inline:16px}.feed-post .feed-caption,.feed-post .feed-media-wrap,.feed-post-copy{margin-inline:16px}.feed-post-copy{padding-inline:0}.composer2{padding-inline:16px}}
/* Menos ruído: nas telas sociais a barra de data/sincronização não ajuda; o selo "Registros na conta" some em todas */
body.social-route .account-bar{display:none}
.account-bar .tag{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Cartão de treino compartilhado: mapa em destaque, resumo em grade, chips e ações lado a lado */
.workout-share-visual{display:grid;grid-template-columns:1fr;justify-items:center;gap:14px}
.workout-share-map{width:min(100%,460px);border-radius:20px;padding:14px 10px 6px;background:radial-gradient(120% 90% at 50% 0%,rgba(var(--lime-rgb),.10),transparent 60%),var(--panel-deep)}
.workout-share-map svg{display:block;width:100%;height:auto}
.heat-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 14px;list-style:none;margin:0;padding:0;font-size:11px;color:var(--muted)}.heat-legend li{display:inline-flex;align-items:center;gap:6px}.heat-legend i{width:12px;height:12px;border-radius:4px;display:inline-block}
.workout-share-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:10px;width:100%}
.workout-share-stats>div{display:grid;gap:2px;padding:12px 10px;border-radius:14px;background:var(--panel-deep);text-align:center}.workout-share-stats strong{font:700 20px Manrope,sans-serif;color:var(--lime)}.workout-share-stats span{font-size:11px;color:var(--muted)}
.workout-share-groups{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.group-chip{padding:3px 10px;border-radius:999px;border:1px solid var(--line);font-size:12px;color:var(--text)}
.workout-share-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.workout-share-actions button{min-height:48px;border-radius:14px}
.workout-final{margin:6px 0 10px}
.shared-muscle-map{width:min(100%,460px);margin:12px auto}.shared-muscle-map svg{display:block;width:100%;height:auto}

/* Música nos posts */
.music-row{display:flex;align-items:center;gap:10px;padding:8px 0}.music-play{flex:none;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--panel2);color:var(--lime);font-size:14px;cursor:pointer}
.music-cover{flex:none;width:44px;height:44px;border-radius:8px;object-fit:cover;background:var(--panel2)}
.music-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;text-align:left;background:none;border:0;color:inherit;font:inherit;padding:0}.music-main strong,.music-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.music-main small{color:var(--muted)}
button.music-main{cursor:pointer}.feed-music{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:6px 14px;padding:2px 10px;border-radius:14px;background:var(--panel2)}.music-link{flex:none;font-size:12px;color:var(--lime)}
