/* Stadium treatment, shared by associations, clubs and the map's selected profile. */
#fch-gallery .social-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border:0;padding:0;margin-top:18px;min-height:0}
#fch-gallery .social-links .social-control,#fch-gallery .club-showcase .social-links .social-control{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:10px;gap:0;border-radius:50%;background:#ffffff08;border:1px solid #8ba9bf68;color:#fff;line-height:1}
#fch-gallery .social-links a.social-control:hover{background:#e82e47;border-color:#ff8b9e;box-shadow:none;transform:translateY(-2px)}
#fch-gallery .social-links .social-control.social-example{border-style:dashed;background:#ffffff06}
#fch-gallery .social-links .social-control .social-icon{width:21px;height:21px;min-width:21px;margin:0;object-fit:contain;filter:invert(1)}
#fch-gallery .social-demo-group{color:#bdcad6;background:none;font:700 10px/1.3 Arial,sans-serif;letter-spacing:1px;padding:0 3px}
#fch-gallery .social-links:empty{display:none}
/* One shared profile stage: identity at left, the stand's scoreboard at right. */
#fch-gallery .profile-stage{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(345px,1fr);gap:0;background:#0a2035;border-bottom:5px solid #e82e47;padding:34px 4.5%;position:relative;isolation:isolate}
#fch-gallery .profile-stage:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 10% 0,#38577370,transparent 60%),repeating-linear-gradient(135deg,transparent 0 80px,#ffffff02 80px 81px);pointer-events:none}
#fch-gallery .profile-stage .detail-head,#fch-gallery .profile-stage .club-profile-hero{display:grid;grid-template-columns:150px minmax(0,1fr);gap:25px;align-items:center;border:0;padding:20px 35px 20px 0;background:none;min-width:0}
#fch-gallery .profile-stage #detail-emblem,#fch-gallery .profile-stage #club-profile-logo{width:150px;min-width:0;margin:0}
#fch-gallery .profile-stage #detail-emblem img,#fch-gallery .profile-stage #club-profile-logo img{height:200px;width:150px;max-width:100%;object-fit:contain;margin:0;filter:drop-shadow(0 15px 16px #0006)}
#fch-gallery .profile-stage #detail-emblem .unavailable{width:140px;height:140px;margin:0}
#fch-gallery .profile-stage .detail-head h1,#fch-gallery .profile-stage .club-profile-hero h1{font:900 clamp(40px,4.4cqw,62px)/.95 GalleryDisplay,Impact,sans-serif;text-transform:uppercase;margin:15px 0 16px;letter-spacing:-.5px;color:#fff;overflow-wrap:anywhere}
#fch-gallery .profile-stage .detail-head p:not(.eyebrow),#fch-gallery .profile-stage .club-profile-hero p:not(.eyebrow){font:400 14px/1.7 Arial,sans-serif;color:#c4d5e3;margin-bottom:5px}
#fch-gallery .profile-stage .eyebrow{font-size:11px;letter-spacing:1.4px}
#fch-gallery .profile-stage .disciplines{margin:16px 0 0;gap:8px}
#fch-gallery .profile-stage .disciplines span{font-size:11px;padding:7px 9px;background:#ffffff0a}
#fch-gallery #club-profile-tribune,#fch-gallery #association-tribune{padding:0;background:none;min-width:0}
#fch-gallery .profile-stage #club-profile-networks .social-links,#fch-gallery .profile-stage #detail-networks{margin-top:20px;padding:0;border:0}
/* The public stand: stadium stripe, a genuine scoreboard and a clear action. */
#fch-gallery .tribune{display:grid;grid-template-columns:1fr;gap:20px;padding:25px;background:radial-gradient(ellipse at 50% 0,#28475b88,transparent 80%),#061725;border:1px solid #53728975;border-top:0;border-radius:0;box-shadow:0 18px 35px #0004;isolation:isolate;overflow:hidden;position:relative;color:#fff;min-width:0}
#fch-gallery .tribune:before{content:'';position:absolute;top:0;left:0;right:0;height:5px;background:repeating-linear-gradient(120deg,#e82e47 0 36px,#f8e9d8 36px 45px,#102e47 45px 65px);z-index:0}
#fch-gallery .tribune:after{content:'CHILE';position:absolute;right:-3px;bottom:-18px;font:900 104px/1 GalleryDisplay,Impact,sans-serif;letter-spacing:-3px;color:#ffffff03;pointer-events:none;z-index:-1}
#fch-gallery .tribune-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}
#fch-gallery .tribune .tribune-eyebrow{margin:0;font:800 11px/1.4 Arial,sans-serif;letter-spacing:2px;color:#ff8fa4}
#fch-gallery .tribune-topline>span{font:700 9px/1.4 Arial,sans-serif;letter-spacing:1px;color:#b8cad7}
#fch-gallery .tribune .tribune-intro h3{font:900 56px/.88 GalleryDisplay,Impact,sans-serif;letter-spacing:-.5px;color:#fff;margin:0;text-transform:uppercase;min-height:0}
#fch-gallery .tribune .tribune-callout{font:400 13px/1.6 Arial,sans-serif;color:#c1d1de;margin-top:10px}
#fch-gallery .tribune-figures{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#455b6d80;border:1px solid #455b6d80;min-width:0}
#fch-gallery .tribune-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:120px;padding:15px 8px 12px;background:radial-gradient(#7092a11c .7px,transparent .7px) 0 0/5px 5px,#07121e}
#fch-gallery .tribune-stat strong{font:800 57px/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:-2px;color:#fff0d9;text-shadow:0 0 12px #fff0d926;max-width:100%;overflow-wrap:anywhere}
#fch-gallery .tribune-stat.tribune-visits strong{color:#c7d7e3;text-shadow:none}
#fch-gallery .tribune-stat span{font:700 10px/1.4 Arial,sans-serif;letter-spacing:1px;color:#c1d2df;text-align:center}
#fch-gallery .tribune-stat small{font:400 11px/1.3 Arial,sans-serif;color:#a2b9cb;text-align:center}
#fch-gallery .tribune .applause-button{position:relative;display:flex;justify-content:center;align-items:center;gap:10px;min-height:54px;padding:14px 18px;border-radius:0;border:0;border-bottom:3px solid #8c1229;background:#ed2e4b;color:#fff;font:900 24px/1 GalleryDisplay,Impact,sans-serif;text-transform:uppercase;letter-spacing:.7px;width:100%;box-shadow:none}
#fch-gallery .tribune .applause-button:before{content:'👏';font:400 24px/1 Arial,sans-serif;letter-spacing:0}
#fch-gallery .tribune .applause-button:hover:not(:disabled){background:#ff405c}
#fch-gallery .tribune .applause-button:disabled{background:#1a3d4a;border-bottom-color:#0d2835;color:#daecef}
#fch-gallery .tribune .applause-button:disabled:before{content:'✓';color:#8bd6bd}
#fch-gallery .tribune .tribune-status{font:400 11px/1.6 Arial,sans-serif;color:#acbfce;margin-top:10px;text-align:center}
#fch-gallery .tribune.has-applauded .tribune-applause strong{color:#9fe1c6;text-shadow:0 0 12px #9fe1c626}
/* A compact scoreboard on collection cards, without repeating a full hero. */
#fch-gallery .tribune.tribune-compact{display:grid;gap:13px;padding:17px 0 0;margin-top:20px;background:none;border:0;border-top:1px solid #ffffff26;box-shadow:none;overflow:hidden}
#fch-gallery .tribune.tribune-compact:before,#fch-gallery .tribune.tribune-compact:after{display:none}
#fch-gallery .tribune-compact .tribune-topline{margin-bottom:7px}
#fch-gallery .tribune-compact .tribune-topline>span,#fch-gallery .tribune-compact .tribune-callout{display:none}
#fch-gallery .tribune.tribune-compact .tribune-intro h3{font-size:28px;line-height:.95;letter-spacing:0}
#fch-gallery .tribune-compact .tribune-stat{min-height:83px;padding:10px 5px;gap:5px}
#fch-gallery .tribune-compact .tribune-stat strong{font-size:36px}
#fch-gallery .tribune-compact .tribune-stat span{font-size:9px;letter-spacing:.5px}
#fch-gallery .tribune-compact .tribune-stat small{font-size:10px}
#fch-gallery .tribune.tribune-compact .applause-button{font-size:21px;min-height:46px;padding:10px}
#fch-gallery .tribune-compact .tribune-status{font-size:10px;margin-top:7px}
#fch-gallery .club-showcase .club-crest-stage{height:225px}
#fch-gallery .club-showcase .club-crest-stage img{height:180px;width:180px}
#fch-gallery .club-showcase .club-card-body{padding:21px}
#fch-gallery .club-showcase h3{font-size:33px}
#fch-gallery .club-showcase .social-links{margin-top:16px;margin-bottom:0;padding:0}
#fch-gallery .club-open{border-color:#ffffff28;background:#ffffff08;font-size:12px;letter-spacing:.4px;margin-top:18px}
#fch-gallery .association-body .social-links{margin-top:15px}
@container gallery (max-width:1050px){#fch-gallery .profile-stage{grid-template-columns:minmax(0,1.3fr) minmax(310px,1fr);padding:25px 4%}#fch-gallery .profile-stage .detail-head,#fch-gallery .profile-stage .club-profile-hero{grid-template-columns:1fr;gap:15px;align-content:center;padding-right:25px}#fch-gallery .profile-stage #detail-emblem img,#fch-gallery .profile-stage #club-profile-logo img{height:145px;width:125px}#fch-gallery .profile-stage #detail-emblem .unavailable{height:115px;width:115px}#fch-gallery .profile-stage .detail-head h1,#fch-gallery .profile-stage .club-profile-hero h1{font-size:44px}#fch-gallery .tribune{padding:23px}#fch-gallery .tribune .tribune-intro h3{font-size:50px}}
@container gallery (max-width:700px){#fch-gallery .profile-stage{grid-template-columns:1fr;gap:25px;padding:25px 5% 28px}#fch-gallery .profile-stage .detail-head,#fch-gallery .profile-stage .club-profile-hero{display:grid;grid-template-columns:110px minmax(0,1fr);gap:20px;padding:0}#fch-gallery .profile-stage #detail-emblem,#fch-gallery .profile-stage #club-profile-logo{width:110px}#fch-gallery .profile-stage #detail-emblem img,#fch-gallery .profile-stage #club-profile-logo img{height:145px;width:110px}#fch-gallery .profile-stage #detail-emblem .unavailable{height:100px;width:100px}#fch-gallery .profile-stage .detail-head h1,#fch-gallery .profile-stage .club-profile-hero h1{font-size:39px}#fch-gallery .tribune:not(.tribune-compact){grid-template-columns:1fr;gap:18px;padding:23px}#fch-gallery .tribune .tribune-intro h3{font-size:49px}#fch-gallery .tribune-stat strong{font-size:51px}}
@container gallery (max-width:460px){#fch-gallery .profile-stage .detail-head,#fch-gallery .profile-stage .club-profile-hero{grid-template-columns:1fr;gap:15px}#fch-gallery .profile-stage .detail-head h1,#fch-gallery .profile-stage .club-profile-hero h1{font-size:42px;margin-top:10px}#fch-gallery .profile-stage #detail-emblem img,#fch-gallery .profile-stage #club-profile-logo img{height:150px;width:125px}#fch-gallery .profile-stage #detail-emblem,#fch-gallery .profile-stage #club-profile-logo{width:125px}#fch-gallery .profile-stage .detail-head p:not(.eyebrow),#fch-gallery .profile-stage .club-profile-hero p:not(.eyebrow){font-size:13px}#fch-gallery .profile-stage .social-links{gap:8px;margin-top:16px}#fch-gallery .tribune .tribune-intro h3{font-size:45px}#fch-gallery .tribune-topline>span{font-size:8px}#fch-gallery .tribune-stat{min-height:107px}#fch-gallery .club-showcase .club-crest-stage{height:235px}#fch-gallery .club-showcase .club-crest-stage img{height:190px;width:190px}}
@media(prefers-reduced-motion:reduce){#fch-gallery .social-links a.social-control:hover{transform:none}}
#fch-gallery .tribune-figures{align-items:stretch}
#fch-gallery #map-selected .tribune .tribune-intro h3{font:900 28px/.95 GalleryDisplay,Impact,sans-serif;margin:0;min-height:0}
#fch-gallery #map-selected .tribune .tribune-eyebrow{font:800 10px/1.4 Arial,sans-serif;color:#ff8fa4;margin:0}
@container gallery (max-width:460px){#fch-gallery .profile-stage .detail-head,#fch-gallery .profile-stage .club-profile-hero{grid-template-columns:88px minmax(0,1fr);gap:16px;align-items:start}#fch-gallery .profile-stage #detail-emblem,#fch-gallery .profile-stage #club-profile-logo{width:88px}#fch-gallery .profile-stage #detail-emblem img,#fch-gallery .profile-stage #club-profile-logo img{height:117px;width:88px}#fch-gallery .profile-stage #detail-emblem .unavailable{height:84px;width:84px}#fch-gallery .profile-stage #detail-emblem .unavailable strong{font-size:29px}#fch-gallery .profile-stage #detail-emblem .unavailable small{font-size:9px;max-width:68px}#fch-gallery .profile-stage .detail-head h1,#fch-gallery .profile-stage .club-profile-hero h1{font-size:35px;letter-spacing:0;margin:10px 0 13px}#fch-gallery .profile-stage .eyebrow{font-size:9px;letter-spacing:.8px}#fch-gallery .profile-stage .disciplines span{font-size:10px;padding:6px}#fch-gallery .profile-stage .social-links .social-control{width:42px;height:42px;min-height:42px;flex-basis:42px}#fch-gallery .profile-stage .social-links{gap:7px}}

/* Reserva la misma fila aunque las disciplinas estén pendientes. */
#fch-gallery .association-body > .disciplines,#fch-gallery .association-body > .sport-pending{min-height:28px;box-sizing:border-box;margin:16px 0;align-items:center}
#fch-gallery .association-body > .sport-pending{display:flex}

/* Mantiene una fila de redes incluso sin canales, sin inventar enlaces. */
#fch-gallery .association-body .social-links,#fch-gallery .club-showcase .social-links{min-height:44px;box-sizing:border-box}
#fch-gallery .association-body .social-links:empty,#fch-gallery .association-body .social-links[hidden],#fch-gallery .club-showcase .social-links:empty,#fch-gallery .club-showcase .social-links[hidden]{display:flex!important}

/* Clubes: ficha deportiva clara, distinta de las tarjetas territoriales. */
#fch-gallery .club-grid>.club-showcase{border-top:0;border-left:4px solid #e82e47;background:#f3f0e7;color:#071d33;box-shadow:0 8px 24px #0002}
#fch-gallery .club-showcase .club-crest-stage{height:190px;background:linear-gradient(135deg,transparent 48%,#ffffff12 49%,#ffffff12 50%,transparent 51%),radial-gradient(ellipse at center,#345c73,#0a263b 75%);border-bottom:4px solid #d9b467;padding:28px 20px}
#fch-gallery .club-showcase .club-crest-stage:before{font-size:48px;bottom:16px;color:#ffffff10}
#fch-gallery .club-showcase .club-crest-stage img{width:145px;height:145px}
#fch-gallery .club-showcase .club-location{font-size:9px;top:12px;letter-spacing:1px}
#fch-gallery .club-showcase .club-demo-label{background:#d9b467;color:#102a3d;font-size:8px}
#fch-gallery .club-showcase .club-card-body{padding:22px;gap:0}
#fch-gallery .club-showcase .club-association{color:#a82d43;font-size:9px;min-height:29px;margin:0 0 12px}
#fch-gallery .club-showcase h3{color:#09283e;font-size:34px;line-height:1;min-height:68px;margin:0 0 12px}
#fch-gallery .club-showcase .club-affiliation{color:#536777;line-height:1.6;min-height:39px;margin:0}
#fch-gallery .club-showcase .social-links{min-height:44px;margin:16px 0 0;padding:0}
#fch-gallery .club-showcase .social-links[hidden],#fch-gallery .club-showcase .social-links:empty{display:flex!important}
#fch-gallery .club-showcase .social-links .social-control{background:#09283e08;border-color:#09283e40;color:#09283e}
#fch-gallery .club-showcase .social-links .social-icon{filter:none}
#fch-gallery .club-showcase .social-demo-group{color:#536777}
#fch-gallery .club-showcase .social-links a.social-control:hover .social-icon{filter:invert(1)}
#fch-gallery .club-showcase .club-open{background:#0a2b42;border:0;color:white;font-size:12px;min-height:46px;margin:18px 0 0;text-align:left;padding:14px 16px}
#fch-gallery .club-showcase .club-open:after{content:' ↗';float:right;color:#e2bd73}
#fch-gallery .club-showcase .tribune{margin-top:20px;border-top:3px solid #d9b467}
@container gallery (max-width:460px){#fch-gallery .club-showcase .club-crest-stage{height:175px}#fch-gallery .club-showcase .club-crest-stage img{width:135px;height:135px}}

#fch-gallery .club-showcase .tribune.tribune-compact{background:#0b243a;padding:16px;color:#fff}
#fch-gallery .club-showcase .tribune .tribune-intro h3{min-height:0;color:#fff;margin:0;font-size:28px}
#fch-gallery .club-showcase .tribune .tribune-status{color:#b8ccd9}

#fch-gallery .directory-filter{min-width:0;font:700 9px/1.5 Arial,sans-serif;letter-spacing:1px;color:#18364b;text-transform:uppercase}
#fch-gallery .directory-dropdown{position:relative;margin-top:7px}
#fch-gallery .directory-dropdown-trigger{width:100%;min-height:44px;background:white;border:1px solid #9eafba;padding:12px 34px 12px 12px;text-align:left;color:#102d43;font:400 14px Arial,sans-serif;position:relative}
#fch-gallery .directory-dropdown-trigger:after{content:'';position:absolute;right:15px;top:16px;width:7px;height:7px;border-right:2px solid #17384e;border-bottom:2px solid #17384e;transform:rotate(45deg)}
#fch-gallery .directory-dropdown-trigger[aria-expanded=true]{border-color:#d42944}
#fch-gallery .directory-dropdown-menu{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:50;background:#102d43;color:white;border:1px solid #5b7a8f;box-shadow:0 10px 20px #0004;padding:5px;max-height:280px;overflow:auto}
#fch-gallery .directory-dropdown-menu button{width:100%;display:block;text-align:left;background:transparent;border:0;border-left:3px solid transparent;color:#e2edf4;padding:12px 10px;min-height:44px;font:400 14px Arial,sans-serif}
#fch-gallery .directory-dropdown-menu button[aria-selected=true]{background:#284d65;border-left-color:#ef3754}
#fch-gallery .directory-dropdown-menu button:hover,#fch-gallery .directory-dropdown-menu button:focus-visible{background:#385f77;outline:2px solid #d7b46f;outline-offset:-2px}
@container gallery (max-width:460px){#fch-gallery .directory-dropdown-trigger,#fch-gallery .directory-dropdown-menu button{font-size:16px}}
