/* El Contraataque · Community Product v60 */
:root{--ec60-gold:#c98712;--ec60-gold2:#b96f00;--ec60-cream:#fff3d8;--ec60-ink:#17130f;--ec60-muted:#746e67;--ec60-line:rgba(48,39,28,.09);--ec60-shadow:0 .45rem 1.35rem rgba(57,43,22,.065)}

/* One five-position footer, with the same physical geometry as Home v59. */
#communityPersistentNav.community-fusion-v44-footer,.phone-frame>.community-fusion-v44-footer[data-community-fusion-footer]{right:0!important;bottom:0!important;left:0!important;z-index:140!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch!important;width:100%!important;min-width:0!important;min-height:4.65rem!important;height:auto!important;margin:0!important;padding:.32rem .24rem max(.42rem,env(safe-area-inset-bottom))!important;overflow:hidden!important;border:0!important;border-top:1px solid rgba(56,47,34,.08)!important;border-radius:1.1rem 1.1rem 0 0!important;background:rgba(255,255,255,.985)!important;box-shadow:0 -.45rem 1.4rem rgba(55,42,20,.07)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;touch-action:manipulation!important}
body[data-screen="communityPostDetail"] #communityPersistentNav.community-fusion-v44-footer,body[data-screen="communityPostDetail"] .phone-frame>.community-fusion-v44-footer[data-community-fusion-footer]{display:none!important;visibility:hidden!important;pointer-events:none!important}
#communityPersistentNav.community-fusion-v44-footer>button,.phone-frame>.community-fusion-v44-footer[data-community-fusion-footer]>button{position:relative!important;display:grid!important;grid-template-rows:1.45rem 1rem!important;place-items:center!important;align-content:center!important;gap:.12rem!important;min-width:0!important;min-height:3.55rem!important;margin:0!important;padding:.22rem .04rem!important;border:0!important;border-radius:.82rem!important;color:#625d57!important;background:transparent!important;box-shadow:none!important;touch-action:manipulation!important}
#communityPersistentNav.community-fusion-v44-footer>button>span,.phone-frame>.community-fusion-v44-footer[data-community-fusion-footer]>button>span{display:grid!important;width:1.4rem!important;height:1.4rem!important;place-items:center!important;color:currentColor!important}
#communityPersistentNav.community-fusion-v44-footer svg,.phone-frame>.community-fusion-v44-footer[data-community-fusion-footer] svg{width:1.36rem!important;height:1.36rem!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
#communityPersistentNav.community-fusion-v44-footer>button>small,.phone-frame>.community-fusion-v44-footer[data-community-fusion-footer]>button>small{display:block!important;width:100%!important;min-width:0!important;overflow:visible!important;color:inherit!important;font-size:clamp(.53rem,2.15vw,.66rem)!important;font-weight:800!important;line-height:1!important;text-align:center!important;text-overflow:clip!important;white-space:nowrap!important}
#communityPersistentNav.community-fusion-v44-footer>button.is-active,.phone-frame>.community-fusion-v44-footer[data-community-fusion-footer]>button.is-active{color:var(--ec60-gold2)!important;background:linear-gradient(180deg,#fffaf0,#fff1d3)!important}
.community-v60-footer-badge{position:absolute!important;top:.08rem!important;left:calc(50% + .35rem)!important;z-index:2!important;display:grid!important;min-width:1.05rem!important;height:1.05rem!important;place-items:center!important;border:2px solid #fff!important;border-radius:999px!important;padding:0 .2rem!important;color:#fff!important;background:var(--ec60-gold2)!important;font-size:.48rem!important;font-weight:950!important;line-height:1!important}
body[data-screen="community"] .mobile-content{padding-bottom:calc(5.05rem + env(safe-area-inset-bottom))!important;scroll-padding-bottom:calc(5.35rem + env(safe-area-inset-bottom))!important}body[data-screen="communityPostDetail"] .mobile-content{padding-bottom:calc(5.15rem + env(safe-area-inset-bottom))!important;scroll-padding-bottom:calc(5.55rem + env(safe-area-inset-bottom))!important}

/* Activity */
.community-v60-activity{display:grid;gap:.76rem;width:100%;min-width:0;padding:.15rem .1rem 1rem;color:var(--ec60-ink)}
.community-v60-activity-hero{display:grid;grid-template-columns:3.55rem minmax(0,1fr) auto;align-items:center;gap:.8rem;border:1px solid var(--ec60-line);border-radius:1.22rem;padding:.86rem .9rem;background:#fff;box-shadow:var(--ec60-shadow)}
.community-v60-activity-hero__icon{display:grid;width:3.55rem;height:3.55rem;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(145deg,#eda70b,#cf7b00);box-shadow:0 .35rem .85rem rgba(197,119,0,.2)}.community-v60-activity-hero__icon svg{width:1.6rem;height:1.6rem;fill:none;stroke:currentColor;stroke-width:1.8}
.community-v60-activity-hero__copy{display:grid;min-width:0;gap:.18rem}.community-v60-activity-hero__copy strong{font-size:clamp(1.1rem,4.6vw,1.4rem);font-weight:1000;letter-spacing:-.025em;line-height:1}.community-v60-activity-hero__copy small{color:#69635c;font-size:clamp(.68rem,2.65vw,.8rem);line-height:1.3}
.community-v60-activity-hero>button{min-height:2.75rem;border:0;border-radius:.86rem;padding:.58rem .82rem;color:#fff;background:linear-gradient(135deg,#e9a20a,#cf7a00);font-size:.66rem;font-weight:900;white-space:nowrap}.community-v60-activity-hero>button:disabled{opacity:.42}
.community-v60-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.48rem}.community-v60-metrics article{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.15rem .4rem;min-width:0;min-height:4.5rem;border:1px solid var(--ec60-line);border-radius:1.02rem;padding:.65rem .55rem;background:#fff;box-shadow:0 .25rem .8rem rgba(57,43,22,.04)}.community-v60-metrics article>span{display:grid;width:1.4rem;height:1.4rem;place-items:center;color:var(--ec60-gold)}.community-v60-metrics svg{width:1.25rem;height:1.25rem;fill:none;stroke:currentColor;stroke-width:1.8}.community-v60-metrics b{font-size:1rem;font-weight:1000}.community-v60-metrics small{grid-column:1/-1;color:#6d665f;font-size:.61rem;line-height:1.1}
.community-v60-search{display:flex;min-height:3.25rem;align-items:center;gap:.6rem;border:1px solid var(--ec60-line);border-radius:999px;padding:0 1rem;color:#6b655e;background:#fff}.community-v60-search svg{width:1.18rem;height:1.18rem;fill:none;stroke:currentColor;stroke-width:1.8}.community-v60-search input{width:100%;min-width:0;border:0;outline:0;padding:0;color:var(--ec60-ink);background:transparent;font:inherit;font-size:.77rem}.community-v60-search input::placeholder{color:#aaa39b}
.community-v60-filters{display:flex;gap:.42rem;overflow-x:auto;padding:.02rem 0 .1rem;scrollbar-width:none}.community-v60-filters::-webkit-scrollbar{display:none}.community-v60-filters button{flex:0 0 auto;min-height:2.3rem;border:1px solid rgba(42,35,27,.08);border-radius:999px;padding:.48rem .84rem;color:#4e4944;background:#fff;font-size:.63rem;font-weight:800;white-space:nowrap}.community-v60-filters button.is-active{border-color:transparent;color:#fff;background:linear-gradient(135deg,#e9a20a,#cf7a00)}
.community-v60-recent{display:grid;gap:.52rem}.community-v60-recent>header{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.12rem .06rem 0}.community-v60-recent>header>strong{color:#a86406;font-size:.66rem;font-weight:950;letter-spacing:.04em}.community-v60-recent>header>span{display:inline-flex;align-items:center;gap:.28rem;color:#68625c;font-size:.59rem;font-weight:700}.community-v60-recent>header i{width:.46rem;height:.46rem;border-radius:50%;background:#23bc65}
.community-v60-activity-group{display:grid;gap:.34rem}.community-v60-activity-group>h3{margin:0;padding:.04rem .07rem;color:#211d19;font-size:.68rem;font-weight:900}.community-v60-activity-group>div{overflow:hidden;border:1px solid var(--ec60-line);border-radius:1.12rem;background:#fff;box-shadow:var(--ec60-shadow)}
.community-v60-activity-row{position:relative;display:grid;grid-template-columns:.36rem 2.5rem minmax(0,1fr) 1.15rem;align-items:center;gap:.6rem;width:100%;min-width:0;min-height:4.45rem;border:0;border-bottom:1px solid rgba(46,38,29,.075);padding:.6rem .68rem .6rem .6rem;color:inherit;background:#fff;text-align:left}.community-v60-activity-row:last-child{border-bottom:0}.community-v60-activity-row.is-read{background:rgba(255,255,255,.72)}.community-v60-unread-dot{width:.42rem;height:.42rem;border-radius:50%;background:#1977ef;opacity:0}.community-v60-activity-row.is-unread .community-v60-unread-dot{opacity:1}
.community-v60-activity-avatar{display:grid;width:2.5rem;height:2.5rem;place-items:center;overflow:hidden;border-radius:50%;color:#b96f00;background:#f2f6ff;font-size:.77rem;font-weight:900}.community-v60-activity-avatar img{width:100%;height:100%;object-fit:cover}.community-v60-activity-avatar svg{width:1.28rem;height:1.28rem;fill:none;stroke:currentColor;stroke-width:1.8}.community-v60-activity-copy{display:grid;min-width:0;gap:.14rem}.community-v60-activity-copy strong{overflow:hidden;color:#1b1713;font-size:.68rem;font-weight:900;line-height:1.24;text-overflow:ellipsis}.community-v60-activity-copy small{display:-webkit-box;overflow:hidden;color:#77716a;font-size:.61rem;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:1}.community-v60-activity-copy time{display:inline-flex;align-items:center;gap:.2rem;color:#918a83;font-size:.56rem}.community-v60-activity-copy time svg{width:.78rem;height:.78rem;fill:none;stroke:currentColor;stroke-width:1.7}.community-v60-chevron{display:grid;place-items:center;color:#28231e}.community-v60-chevron svg{width:.9rem;height:.9rem;fill:none;stroke:currentColor;stroke-width:2}
.community-v60-empty{display:grid;gap:.3rem;border:1px solid var(--ec60-line);border-radius:1rem;padding:1.3rem 1rem;background:#fff;text-align:center}.community-v60-empty strong{font-size:.77rem}.community-v60-empty p{margin:0;color:var(--ec60-muted);font-size:.65rem;line-height:1.4}

/* Ranking: visual only; calculations stay in v48. */
.community-v48-ranking .community-v48-ranking-hero{position:relative;overflow:hidden;min-height:8rem;border-radius:1.22rem;padding:1.1rem 1.15rem;color:#fff;background:radial-gradient(circle at 80% 28%,rgba(221,156,39,.24),transparent 34%),linear-gradient(135deg,#171512,#262019 58%,#181512);box-shadow:0 .6rem 1.5rem rgba(33,26,17,.14)}.community-v48-ranking .community-v48-ranking-hero::after{content:"";position:absolute;right:-1rem;bottom:-2.4rem;width:9rem;height:9rem;opacity:.055;background:url('/assets/icons/icono-rm-logo.svg') center/contain no-repeat;pointer-events:none}.community-v48-ranking .community-v48-ranking-hero small{color:#e2a33b!important}.community-v48-ranking .community-v48-ranking-hero strong{color:#fff!important;font-size:clamp(1.5rem,6.3vw,2rem)!important}.community-v48-ranking .community-v48-ranking-hero p{max-width:15rem;color:rgba(255,255,255,.76)!important;line-height:1.35!important}
.community-v60-ranking-personal{display:grid;grid-template-columns:.8fr .9fr 1.55fr;gap:.48rem;margin:.62rem 0 .68rem}.community-v60-ranking-personal article{display:grid;gap:.13rem;min-width:0;border:1px solid var(--ec60-line);border-radius:.92rem;padding:.7rem .68rem;background:#fff}.community-v60-ranking-personal small{color:#837b73;font-size:.54rem;font-weight:750}.community-v60-ranking-personal strong{font-size:.84rem;font-weight:950;line-height:1.12}.community-v60-ranking-personal .is-objective strong{color:#a66707;font-size:.65rem;line-height:1.25}.community-v48-ranking [data-community-v48-user].is-me-v60{border-color:rgba(196,124,12,.52)!important;background:#fff9ec!important}.community-v48-ranking [data-community-v48-user].is-me-v60::after{content:"TÚ";display:inline-grid;place-items:center;min-width:1.6rem;min-height:1rem;border-radius:999px;padding:0 .3rem;color:#a56605;background:#fff1d3;font-size:.46rem;font-weight:950}.community-v60-ranking-rules{margin:.68rem 0 1rem;border:1px solid var(--ec60-line);border-radius:.88rem;padding:.62rem .75rem;background:#fff}.community-v60-ranking-rules summary{color:#9f6206;cursor:pointer;font-size:.64rem;font-weight:900}.community-v60-ranking-rules p{margin:.48rem 0 0;color:#6f6861;font-size:.6rem;line-height:1.4}

/* Topic: header + hero stay visible, comments use the width, composer is the only footer. */
body[data-screen="communityPostDetail"] .community-hub-header{position:sticky!important;top:0!important;z-index:92!important;margin:0 0 .42rem!important;border-bottom:1px solid rgba(50,40,28,.06)!important;background:rgba(255,255,255,.965)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
body[data-screen="communityPostDetail"] .community-topic-hero-v41{top:calc(4.1rem + env(safe-area-inset-top))!important;z-index:88!important;grid-template-columns:clamp(5.7rem,27vw,6.9rem) minmax(0,1fr)!important;gap:0!important;margin:0 0 .52rem!important;border-color:rgba(190,116,8,.28)!important;border-radius:1.05rem!important;padding:0!important;background:linear-gradient(90deg,#fff 0 28%,#dda127 28% 78%,#fffaf0 78% 100%)!important;box-shadow:0 .4rem 1rem rgba(52,37,13,.07)!important}
body[data-screen="communityPostDetail"] .community-topic-hero-v41::after{display:block!important;content:""!important;position:absolute!important;right:.25rem!important;top:50%!important;width:5rem!important;height:5rem!important;opacity:.07!important;background:url('/assets/icons/icono-rm-logo.svg') center/contain no-repeat!important;transform:translateY(-50%)!important;pointer-events:none!important}
body[data-screen="communityPostDetail"] .community-topic-hero-v41__image{align-self:stretch!important;width:100%!important;height:auto!important;min-height:6.7rem!important;border:0!important;border-radius:1.02rem 0 0 1.02rem!important;background:#ece7dc!important}body[data-screen="communityPostDetail"] .community-topic-hero-v41__image img{width:100%!important;height:100%!important;min-height:6.7rem!important;object-fit:cover!important;object-position:center!important}
body[data-screen="communityPostDetail"] .community-topic-hero-v41__copy{position:relative!important;z-index:2!important;align-content:center!important;gap:.26rem!important;min-height:6.7rem!important;padding:.68rem 5rem .68rem .86rem!important}body[data-screen="communityPostDetail"] .community-topic-hero-v41__copy>small{color:#a26709!important;background:rgba(255,255,255,.94)!important}body[data-screen="communityPostDetail"] .community-topic-hero-v41__copy h3{overflow:visible!important;color:#111!important;font-size:clamp(1rem,4.5vw,1.34rem)!important;white-space:normal!important;text-overflow:clip!important}body[data-screen="communityPostDetail"] .community-topic-hero-v41__copy p{color:#2e2418!important;font-size:clamp(.64rem,2.6vw,.75rem)!important}body[data-screen="communityPostDetail"] .community-topic-hero-v41__stats{color:#322413!important}
body[data-screen="communityPostDetail"] .community-chat-v41 .post-comments__list{gap:.1rem!important;padding:.2rem 0 1rem!important}body[data-screen="communityPostDetail"] .community-chat-v41 .post-comment{position:relative!important;grid-template-columns:2.5rem minmax(0,1fr)!important;gap:.56rem!important;width:100%!important;padding:.46rem .04rem .54rem!important}body[data-screen="communityPostDetail"] .community-chat-v41 .post-comment>span:last-child{position:relative!important;padding-right:2.5rem!important}body[data-screen="communityPostDetail"] .community-chat-v41 .post-comment__body{justify-self:stretch!important;width:100%!important;max-width:none!important;border-radius:.35rem .92rem .92rem .92rem!important;padding:.63rem .76rem!important;font-size:clamp(calc(.78rem + 1px),calc(3.05vw + 1px),calc(.89rem + 1px))!important;line-height:1.4!important;text-align:left!important}
body[data-screen="communityPostDetail"] .post-comment [data-comment-like],body[data-screen="communityPostDetail"] .post-comment [data-like-comment],body[data-screen="communityPostDetail"] .post-comment .post-comment__like,body[data-screen="communityPostDetail"] .post-comment .comment-like,body[data-screen="communityPostDetail"] .post-comment .community-comment-like{position:absolute!important;top:50%!important;right:.04rem!important;z-index:3!important;display:grid!important;width:2.2rem!important;height:2.2rem!important;place-items:center!important;margin:0!important;transform:translateY(-50%)!important}
body[data-screen="communityPostDetail"] .community-comment-dock,body[data-screen="communityPostDetail"] .football-comment-dock{z-index:150!important;border-top:1px solid rgba(50,40,28,.08)!important;background:rgba(255,255,255,.985)!important;box-shadow:0 -.5rem 1.25rem rgba(42,31,17,.07)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
body[data-screen="communityPostDetail"] .post-comment-form{display:grid!important;grid-template-columns:2.3rem minmax(0,1fr) 2.3rem 2.6rem!important;align-items:end!important;gap:.4rem!important;width:100%!important;min-width:0!important}.community-v60-composer-avatar{display:grid;width:2.3rem;height:2.3rem;place-items:center;align-self:end;overflow:hidden;border:1px solid rgba(57,45,30,.1);border-radius:50%;color:#a76505;background:#f7f1e5;font-size:.67rem;font-weight:900}.community-v60-composer-avatar img{width:100%;height:100%;object-fit:cover}
body[data-screen="communityPostDetail"] .post-comment-form textarea,body[data-screen="communityPostDetail"] .post-comment-form input[type="text"]{grid-column:2!important;width:100%!important;min-width:0!important;max-width:100%!important;border:1px solid rgba(50,40,28,.12)!important;border-radius:999px!important;padding:.6rem .8rem!important;background:#fff!important;font-size:16px!important;line-height:1.3!important}body[data-screen="communityPostDetail"] .post-comment-form button[type="submit"]{grid-column:4!important;display:grid!important;width:2.6rem!important;height:2.6rem!important;min-width:2.6rem!important;min-height:2.6rem!important;place-items:center!important;align-self:end!important;border:0!important;border-radius:50%!important;color:#fff!important;background:linear-gradient(145deg,#e9a20a,#cd7900)!important;box-shadow:0 .28rem .65rem rgba(190,111,0,.18)!important}body[data-screen="communityPostDetail"] .post-comment-form .community-v41-emoji-button,body[data-screen="communityPostDetail"] .post-comment-form .community-v41-more-button{display:none!important}

@media(max-width:390px){.community-v60-activity-hero{grid-template-columns:3rem minmax(0,1fr);gap:.6rem;padding:.72rem}.community-v60-activity-hero__icon{width:3rem;height:3rem}.community-v60-activity-hero>button{grid-column:1/-1;width:100%;min-height:2.3rem}.community-v60-metrics{gap:.32rem}.community-v60-metrics article{min-height:4.05rem;padding:.52rem .4rem}.community-v60-metrics small{font-size:.53rem}.community-v60-ranking-personal{grid-template-columns:repeat(2,minmax(0,1fr))}.community-v60-ranking-personal .is-objective{grid-column:1/-1}body[data-screen="communityPostDetail"] .community-topic-hero-v41{grid-template-columns:5.2rem minmax(0,1fr)!important}body[data-screen="communityPostDetail"] .community-topic-hero-v41__copy{padding-right:3.5rem!important}body[data-screen="communityPostDetail"] .community-topic-hero-v41::after{width:3.6rem!important;height:3.6rem!important;right:.08rem!important}body[data-screen="communityPostDetail"] .post-comment-form{grid-template-columns:2.1rem minmax(0,1fr) 2.1rem 2.45rem!important;gap:.28rem!important}.community-v60-composer-avatar{width:2.1rem;height:2.1rem}}
@media(max-width:860px),(pointer:coarse){#communityPersistentNav.community-fusion-v44-footer,.phone-frame>.community-fusion-v44-footer[data-community-fusion-footer]{position:fixed!important;width:100vw!important}}
@media(min-width:861px) and (pointer:fine){#communityPersistentNav.community-fusion-v44-footer,.phone-frame>.community-fusion-v44-footer[data-community-fusion-footer]{position:absolute!important;width:100%!important}#communityPersistentNav.community-fusion-v44-footer>button>small,.phone-frame>.community-fusion-v44-footer[data-community-fusion-footer]>button>small{font-size:.58rem!important}}
