:root{--navy:#061a4d;--blue:#0b3279;--green:#087441;--lime:#20b85f;--gold:#f4cf22;--ink:#10203a;--muted:#69758a;--paper:#f4f7f6;--white:#fff;--shadow:0 18px 48px rgba(6,26,77,.12)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:82px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.site-header{position:fixed;inset:0 0 auto;z-index:50;height:76px;padding:0 clamp(20px,5vw,76px);display:flex;align-items:center;justify-content:space-between;color:#fff;transition:.3s;background:linear-gradient(180deg,rgba(3,14,43,.78),transparent)}.site-header.scrolled{height:66px;background:rgba(4,20,60,.96);box-shadow:0 8px 30px #0003;backdrop-filter:blur(14px)}.public-brand{display:flex;align-items:center;gap:11px}.public-brand img{width:48px;height:48px;object-fit:contain}.public-brand strong,.public-brand small{display:block}.public-brand strong{font-family:Georgia,serif;font-size:21px}.public-brand small{font-size:10px;letter-spacing:.08em;color:#bdd4ce}.public-nav{display:flex;align-items:center;gap:clamp(14px,2vw,30px);font-weight:700;font-size:14px}.public-nav a{position:relative;transition:.2s}.public-nav a:not(.admin-link):after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:2px;background:var(--gold);transition:.25s}.public-nav a:hover:after{right:0}.admin-link{border:1px solid #ffffff55;border-radius:999px;padding:9px 15px}.nav-toggle{display:none;border:0;background:none;color:#fff;font-size:28px}.hero{position:relative;min-height:680px;height:min(88vh,850px);padding:130px clamp(20px,7vw,105px) 80px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(290px,.55fr);align-items:center;gap:7vw;color:#fff;background:url('../img/credential-field-bg.png') center 58%/cover fixed no-repeat;overflow:hidden}.hero:after{content:"";position:absolute;width:440px;height:440px;right:-150px;bottom:-210px;border:80px solid rgba(244,207,34,.12);border-radius:50%;animation:pulse 5s ease-in-out infinite}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,14,48,.96) 0%,rgba(4,31,54,.82) 48%,rgba(3,50,33,.38) 100%)}.hero-content,.competition-panel{position:relative;z-index:2}.eyebrow,.section-kicker{font-size:12px;font-weight:900;letter-spacing:.19em;color:var(--gold)}.hero h1{max-width:800px;margin:18px 0;font-family:Georgia,serif;font-size:clamp(52px,7vw,98px);line-height:.92;letter-spacing:-.045em}.hero h1 em{color:var(--gold);font-weight:inherit}.hero p{max-width:650px;font-size:clamp(17px,2vw,22px);line-height:1.55;color:#d9e4e1}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.button{display:inline-flex;align-items:center;gap:9px;padding:14px 21px;border-radius:12px;font-weight:800;transition:.25s}.button:hover{transform:translateY(-3px)}.button.primary{background:var(--green);box-shadow:0 10px 26px #031a1366}.button.glass{border:1px solid #ffffff66;background:#ffffff12;backdrop-filter:blur(10px)}.competition-panel{padding:24px;border:1px solid #ffffff3d;border-radius:20px;background:rgba(5,24,64,.68);box-shadow:0 24px 50px #0005;backdrop-filter:blur(13px)}.competition-panel label{display:block;margin-bottom:9px;color:#c8d9d5;font-size:12px;font-weight:900;letter-spacing:.13em}.competition-panel select{width:100%;border:1px solid #ffffff44;border-radius:11px;padding:13px;background:#fff;color:var(--navy);font-weight:750}.competition-meta{display:flex;justify-content:space-between;align-items:end;margin-top:20px;border-top:1px solid #ffffff28;padding-top:18px}.competition-meta span{font-size:13px;color:#c8d9d5}.competition-meta strong{font-family:Georgia,serif;font-size:22px;color:var(--gold)}.quick-search{position:relative;z-index:4;width:min(780px,calc(100% - 40px));margin:-29px auto 54px;height:60px;border-radius:18px;background:#fff;display:flex;align-items:center;box-shadow:var(--shadow)}.quick-search>i{margin-left:21px;color:var(--green);font-size:20px}.quick-search input{flex:1;height:100%;border:0;outline:0;padding:0 15px;font-size:16px;background:transparent}.quick-search button{margin-right:10px;border:0;background:#eef4f1;width:38px;height:38px;border-radius:10px;color:var(--muted)}.search-message{width:min(1180px,calc(100% - 40px));margin:-30px auto 38px;text-align:center;color:var(--muted)}.featured,.section{width:min(1180px,calc(100% - 40px));margin:0 auto 78px}.featured>.section-kicker{display:block;margin-bottom:12px}.featured-game{overflow:hidden;border-radius:24px;background:linear-gradient(125deg,var(--navy),#0b3e67 64%,var(--green));box-shadow:var(--shadow);color:#fff;display:grid;grid-template-columns:240px 1fr}.featured-date{padding:31px;background:#ffffff0d;display:flex;flex-direction:column;justify-content:center}.featured-date strong{font-family:Georgia,serif;font-size:27px;color:var(--gold)}.featured-date span{margin:7px 0;font-weight:800}.featured-date small{color:#c1d4d1}.duel{padding:25px;display:grid;grid-template-columns:1fr 70px 1fr;align-items:center}.duel-team{text-align:center}.duel-team img{width:82px;height:82px;margin:0 auto 10px;object-fit:contain;filter:drop-shadow(0 8px 12px #0006)}.duel-team strong,.duel-team small{display:block}.duel-team strong{font-size:20px}.duel-team small{margin-top:4px;color:#bed1cd;font-size:12px}.versus{text-align:center}.versus span{display:block;font-family:Georgia,serif;font-size:25px}.versus i{color:var(--gold)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.section h2{margin:7px 0 0;font-family:Georgia,serif;color:var(--navy);font-size:clamp(29px,4vw,44px)}.season-pill,.count-pill{padding:9px 13px;border-radius:999px;background:#e4eee9;color:var(--green);font-size:13px;font-weight:800}.table-shell{overflow-x:auto;border-radius:18px;background:#fff;box-shadow:var(--shadow)}table{width:100%;border-collapse:collapse;min-width:650px}th,td{padding:15px 18px;text-align:center;border-bottom:1px solid #e9eeec}th{background:#f7faf9;color:var(--muted);font-size:11px;letter-spacing:.1em}th:nth-child(2),td:nth-child(2){text-align:left}.position{display:inline-grid;place-items:center;width:29px;height:29px;border-radius:50%;font-weight:900}.position.top{background:var(--green);color:#fff}.team-cell{display:flex;align-items:center;gap:12px}.team-cell img{width:38px;height:38px;object-fit:contain}.win{font-weight:900;color:var(--green)}.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.team-card{position:relative;overflow:hidden;padding:25px 18px;border-radius:20px;background:#fff;text-align:center;box-shadow:0 10px 30px rgba(6,26,77,.08);transition:.3s}.team-card:hover{transform:translateY(-8px);box-shadow:var(--shadow)}.team-card img{position:relative;width:88px;height:88px;margin:auto;object-fit:contain}.team-card h3{position:relative;margin:14px 0 4px;color:var(--navy)}.team-card p{position:relative;margin:0 0 12px;color:var(--muted)}.team-card span{position:relative;color:var(--green);font-size:12px;font-weight:800}.team-glow{position:absolute;width:130px;height:130px;top:-70px;left:50%;transform:translateX(-50%);border-radius:50%;background:#20b85f22;filter:blur(12px)}.game-list{display:grid;gap:12px}.game-row{display:grid;grid-template-columns:130px 1fr 50px 1fr 175px;align-items:center;gap:13px;padding:16px 22px;border-radius:17px;background:#fff;box-shadow:0 8px 25px rgba(6,26,77,.07);transition:.25s}.game-row:hover{transform:translateX(5px)}.game-row time strong,.game-row time span{display:block}.game-row time strong{color:var(--navy)}.game-row time span{font-size:13px;color:var(--green);font-weight:800}.game-team{display:flex;align-items:center;gap:10px}.game-team.right{justify-content:flex-end;text-align:right}.game-team img{width:42px;height:42px;object-fit:contain}.vs{text-align:center;color:var(--muted);font-weight:900}.venue{color:var(--navy);font-size:13px}.venue i{color:var(--green);margin-right:7px}.venue small{display:block;margin:4px 0 0 20px;color:var(--muted)}.results-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.result-card{position:relative;padding:18px;border-radius:18px;background:#fff;box-shadow:0 9px 28px rgba(6,26,77,.08)}.result-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-bottom:15px}.score-team{display:grid;grid-template-columns:35px 1fr 32px;align-items:center;gap:9px;padding:7px 0}.score-team img{width:34px;height:34px;object-fit:contain}.score-team b{font-family:Georgia,serif;font-size:27px;color:var(--navy);text-align:right}.final-label{display:inline-block;margin-top:12px;padding:4px 8px;border-radius:5px;background:var(--navy);color:#fff;font-size:9px;font-weight:900;letter-spacing:.12em}.stat-tabs{display:flex;padding:4px;border-radius:11px;background:#e5ece9}.stat-tabs button{border:0;border-radius:8px;padding:9px 15px;background:none;color:var(--muted);font-weight:800}.stat-tabs button.active{background:var(--green);color:#fff}.leader-panel{display:none;padding:10px 24px;border-radius:20px;background:#fff;box-shadow:var(--shadow)}.leader-panel.active{display:block;animation:fadeUp .35s ease}.leader{display:grid;grid-template-columns:35px 50px 1fr auto;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #e9eeec}.leader:last-child{border:0}.leader-rank{font-family:Georgia,serif;font-size:22px;color:var(--green)}.leader img{width:48px;height:48px;border-radius:50%;object-fit:cover}.leader strong,.leader small,.leader>b small{display:block}.leader>div small{margin-top:3px;color:var(--muted)}.leader>b{font-family:Georgia,serif;font-size:28px;color:var(--navy);text-align:right}.leader>b small{font-family:inherit;font-size:10px;color:var(--green)}.no-data,.empty-state{padding:45px;text-align:center;color:var(--muted)}.empty-state{margin:80px auto}.empty-state i{font-size:50px;color:var(--green)}footer{position:relative;padding:55px clamp(20px,7vw,105px) 25px;background:var(--navy);color:#fff;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:35px}.footer-brand{display:flex;align-items:center;gap:13px}.footer-brand img{width:62px}.footer-brand strong,.footer-brand small{display:block}.footer-brand strong{font-family:Georgia,serif;font-size:20px}.footer-brand small{color:#aebfcb}.footer-links,.footer-contact{display:grid;gap:8px;font-size:13px;color:#c8d4db}.footer-links a:hover{color:var(--gold)}.copyright{grid-column:1/-1;border-top:1px solid #ffffff20;padding-top:20px;color:#8194a7}.to-top{position:fixed;right:22px;bottom:22px;z-index:30;width:45px;height:45px;border:0;border-radius:50%;background:var(--green);color:#fff;box-shadow:0 8px 25px #0004;opacity:0;transform:translateY(15px);pointer-events:none;transition:.3s}.to-top.show{opacity:1;transform:none;pointer-events:auto}.reveal{opacity:0;transform:translateY(25px);transition:opacity .65s,transform .65s}.reveal.visible{opacity:1;transform:none}.search-hidden{display:none!important}@keyframes fadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes pulse{50%{transform:scale(1.08)}}
@media(max-width:950px){.nav-toggle{display:block}.public-nav{position:absolute;top:66px;left:16px;right:16px;padding:18px;display:none;flex-direction:column;align-items:stretch;border-radius:16px;background:rgba(4,20,60,.98);box-shadow:0 20px 40px #0004}.public-nav.open{display:flex}.hero{grid-template-columns:1fr;height:auto;min-height:760px;background-attachment:scroll}.competition-panel{max-width:520px}.team-grid,.results-grid{grid-template-columns:repeat(2,1fr)}.game-row{grid-template-columns:100px 1fr 35px 1fr}.venue{grid-column:2/-1;text-align:center}.featured-game{grid-template-columns:1fr}footer{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}}
@media(max-width:620px){.site-header{height:66px;padding:0 16px}.public-brand img{width:42px;height:42px}.public-brand small{display:none}.hero{padding:105px 20px 65px;min-height:700px}.hero h1{font-size:50px}.hero p{font-size:16px}.competition-panel{padding:18px}.quick-search{margin-bottom:42px}.featured,.section{width:min(100% - 24px,1180px);margin-bottom:55px}.featured-game{border-radius:18px}.duel{grid-template-columns:1fr 45px 1fr;padding:19px 10px}.duel-team img{width:60px;height:60px}.duel-team strong{font-size:15px}.team-grid{grid-template-columns:1fr 1fr;gap:10px}.team-card{padding:19px 10px}.team-card img{width:67px;height:67px}.team-card h3{font-size:15px}.game-row{grid-template-columns:1fr 34px 1fr;padding:16px 12px}.game-row time{grid-column:1/-1;text-align:center}.game-team{display:grid;text-align:center;justify-items:center;font-size:13px}.game-team.right{display:grid;text-align:center;justify-items:center}.game-team.right strong{order:2}.game-team img{width:45px;height:45px}.venue{grid-column:1/-1}.section-head{align-items:flex-start;flex-direction:column}.stat-tabs{align-self:stretch}.stat-tabs button{flex:1}.leader-panel{padding:7px 13px}.leader{grid-template-columns:24px 43px 1fr auto;gap:9px}.leader img{width:42px;height:42px}.leader strong{font-size:13px}.leader>div small{font-size:10px}.leader>b{font-size:22px}footer{grid-template-columns:1fr;padding:45px 24px 24px}.footer-brand{grid-column:auto}.copyright{grid-column:auto}.results-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}}
.hero{background-image:url('../../APP/assets/img/credential-field-bg.png')}
.reveal{opacity:1;transform:none;animation:fadeUp .6s ease both}
.public-gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-flow:dense;gap:12px}.gallery-photo{position:relative;overflow:hidden;min-height:230px;padding:0;border:0;border-radius:18px;background:#10203a;cursor:pointer}.gallery-photo.horizontal{grid-column:span 2}.gallery-photo.vertical{grid-row:span 2}.gallery-photo img{width:100%;height:100%;min-height:230px;object-fit:cover;transition:transform .45s}.gallery-photo:hover img{transform:scale(1.06)}.gallery-photo span{position:absolute;inset:auto 0 0;padding:35px 16px 15px;text-align:left;color:#fff;background:linear-gradient(transparent,#061a4de8)}.gallery-photo strong,.gallery-photo small{display:block}.gallery-photo small{margin-top:4px;color:#d8e2df}.gallery-lightbox{position:fixed;inset:0;z-index:100;display:none;place-items:center;padding:25px;background:#020918e8;backdrop-filter:blur(9px)}.gallery-lightbox.open{display:grid}.gallery-lightbox img{max-width:min(1100px,95vw);max-height:82vh;border-radius:14px;box-shadow:0 20px 70px #000}.gallery-lightbox>button{position:absolute;right:25px;top:20px;border:0;background:none;color:#fff;font-size:30px}.gallery-lightbox>strong{color:#fff;margin-top:12px}@media(max-width:760px){.public-gallery{grid-template-columns:repeat(2,1fr)}.gallery-photo.horizontal{grid-column:span 2}.gallery-photo.vertical{grid-row:span 1}.gallery-photo{min-height:190px}}
.team-card-link{display:block;color:inherit;text-decoration:none;cursor:pointer}.team-card-link:focus-visible{outline:3px solid var(--gold);outline-offset:4px}.team-card-action{display:flex!important;align-items:center;justify-content:center;gap:.4rem;margin-top:1rem;color:var(--green)!important;font-weight:800}.team-card-link:hover .team-card-action i{transform:translateX(4px)}.team-card-action i{transition:transform .2s ease}
.team-profile-page{padding-top:88px}.team-profile-hero{max-width:1200px;margin:2rem auto;padding:2rem;border-radius:28px;background:linear-gradient(135deg,#061a4d,#073b2a);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:2rem;box-shadow:0 24px 60px rgba(6,26,77,.2)}.team-profile-brand{display:flex;align-items:center;gap:1.5rem}.team-profile-brand>img{width:150px;height:150px;border-radius:24px;object-fit:cover;background:#fff;border:4px solid rgba(255,255,255,.25)}.team-profile-brand h1{font-size:clamp(2rem,5vw,4rem);margin:.4rem 0}.team-profile-brand p{margin:0;color:rgba(255,255,255,.72)}.team-profile-numbers{display:flex;gap:1rem}.team-profile-numbers div{min-width:100px;padding:1rem;text-align:center;border-radius:18px;background:rgba(255,255,255,.1)}.team-profile-numbers strong,.team-profile-numbers span{display:block}.team-profile-numbers strong{font-size:2rem;color:#f6c900}.team-profile-numbers span{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}.game-team b{font-size:1.4rem;color:var(--navy)}.roster-public-grid{display:grid;grid-template-columns:1fr;gap:.75rem;counter-reset:roster-player}.roster-public-card{position:relative;display:grid;grid-template-columns:minmax(260px,1fr) minmax(420px,1.7fr);align-items:center;gap:1.25rem;background:#fff;border:1px solid #e6ebef;border-radius:18px;padding:1rem 1.25rem 1rem 4.4rem;box-shadow:0 10px 28px rgba(6,26,77,.06);counter-increment:roster-player}.roster-public-card::before{content:counter(roster-player);position:absolute;left:1.15rem;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#073b2a;color:#fff;font-size:.95rem;font-weight:900}.roster-player-head{display:flex;align-items:center;gap:1rem;margin:0}.roster-player-head img{width:68px;height:68px;border-radius:50%;object-fit:cover;border:3px solid #e8f0ec}.roster-player-head h3{font-size:1rem;margin:0 0 .2rem}.roster-player-head p{margin:0;color:#728079;font-size:.85rem}.player-stat-lines{display:grid;grid-template-columns:1fr;gap:.4rem}.player-stat-lines>div{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;padding:.55rem .7rem;border-radius:10px;background:#f4f7f5}.player-stat-lines span{font-size:.67rem;font-weight:800;color:#77837c}.player-stat-lines strong{font-size:.82rem;margin-right:.35rem;color:#062f22}@media(max-width:800px){.team-profile-hero{margin:1rem;align-items:flex-start;flex-direction:column}.team-profile-brand{align-items:flex-start}.team-profile-brand>img{width:100px;height:100px}.team-profile-numbers{width:100%}.team-profile-numbers div{min-width:0;flex:1}.roster-public-card{grid-template-columns:1fr;padding-left:4rem}.roster-public-card::before{top:2.1rem;transform:none}.roster-player-head{padding-left:.35rem}}
.standings-team-link{color:inherit;text-decoration:none}.standings-team-link:hover strong{color:var(--green)}.standings-team-link i{color:var(--green);font-size:1.25rem;transition:transform .2s ease}.standings-team-link:hover i{transform:translateX(3px)}

/* Identidad visual de softbol */
body{background-color:#f2f7f4;background-image:radial-gradient(circle at 8% 22%,rgba(32,184,95,.08),transparent 24%),radial-gradient(circle at 92% 58%,rgba(11,50,121,.07),transparent 25%)}
.hero:before{content:"";position:absolute;z-index:1;right:clamp(25px,8vw,130px);top:105px;width:clamp(105px,13vw,180px);aspect-ratio:1;border-radius:50%;opacity:.22;background-color:#f7df43;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23d33b32' stroke-width='7' stroke-linecap='round'%3E%3Cpath d='M36 20c50 37 50 123 0 160'/%3E%3Cpath d='M164 20c-50 37-50 123 0 160'/%3E%3C/g%3E%3Cg stroke='%23d33b32' stroke-width='3'%3E%3Cpath d='m49 43-13 8m20 5-14 9m19 7-14 8m18 9-15 6m101-52 13 8m-20 5 14 9m-19 7 14 8m-18 9 15 6'/%3E%3C/g%3E%3C/svg%3E");box-shadow:0 0 0 22px rgba(255,255,255,.07),0 18px 50px #0005;animation:softballFloat 6s ease-in-out infinite}
.competition-panel:before{content:"LIGA MC";display:block;margin:-8px 0 14px;color:rgba(255,255,255,.1);font-family:Georgia,serif;font-size:42px;font-weight:900;line-height:1;letter-spacing:.08em}
.section{position:relative}.section:before{content:"";position:absolute;z-index:-1;right:-25px;top:-24px;width:72px;height:72px;border:2px solid rgba(8,116,65,.11);transform:rotate(45deg);border-radius:13px}.section:nth-of-type(even):before{right:auto;left:-25px;border-color:rgba(11,50,121,.11)}
.section-head:after{content:"";position:absolute;left:0;bottom:-10px;width:72px;height:4px;border-radius:999px;background:linear-gradient(90deg,var(--green) 0 67%,var(--gold) 67%)}.section-head{position:relative}
.featured-game:before,.team-profile-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:url('../../APP/assets/img/logo-stase-liga.png');background-repeat:no-repeat;background-position:calc(100% + 45px) center;background-size:210px;opacity:.055}.featured-game{position:relative}
.team-card{border-top:4px solid var(--green)}.team-card:nth-child(3n+2){border-top-color:var(--gold)}.team-card:nth-child(3n){border-top-color:var(--blue)}
.team-card:after{content:"";position:absolute;right:-22px;bottom:-28px;width:72px;height:72px;border:7px double rgba(8,116,65,.08);border-radius:50%}
.result-card{border-bottom:4px solid var(--navy)}.result-card:nth-child(even){border-bottom-color:var(--green)}
.leader-rank{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e8f4ed}.leader:nth-child(-n+3) .leader-rank{background:linear-gradient(135deg,var(--gold),#fff3a8);color:var(--navy);box-shadow:0 5px 14px rgba(244,207,34,.28)}
.team-profile-hero{position:relative;overflow:hidden}.team-profile-hero:after{content:"";position:absolute;right:-65px;bottom:-65px;width:190px;height:190px;border:25px solid rgba(244,207,34,.12);border-radius:50%}.team-profile-hero>*{position:relative;z-index:1}
.roster-public-card{overflow:hidden;border-left:5px solid var(--green)}.roster-public-card:nth-child(even){border-left-color:var(--gold)}
footer:before{content:"";position:absolute;right:5%;top:50%;width:180px;height:180px;transform:translateY(-50%);background:url('../../APP/assets/img/logo-stase-liga.png') center/contain no-repeat;opacity:.055;pointer-events:none}
@keyframes softballFloat{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(16px) rotate(8deg)}}
@media(max-width:950px){.hero:before{right:25px;top:90px;width:110px}.competition-panel:before{font-size:30px}.section:before{display:none}}
@media(max-width:620px){.hero:before{width:76px;top:82px;right:14px}.section-head:after{bottom:-8px}.team-profile-hero:after{width:125px;height:125px}}

/* Paleta institucional STASE. */
:root {
    --navy: #123f3a;
    --blue: #176b5f;
    --green: #08745f;
    --lime: #20a878;
    --gold: #f3c623;
    --red: #ed2632;
    --ink: #17302d;
    --muted: #697b77;
    --paper: #f2f7f5;
    --shadow: 0 18px 48px rgba(9, 60, 53, .14);
}

.public-brand img,
.footer-brand img {
    padding: 2px;
    border-radius: 50%;
    background: #fff;
}

.public-brand img,
.footer-brand img {
    content: url('../../APP/assets/img/logo-stase-liga.png');
}

.button.primary,
.to-top {
    background: linear-gradient(135deg, var(--green), var(--blue));
}

.hero:after {
    border-color: rgba(237, 38, 50, .14);
}

.team-card:focus-visible,
.button:focus-visible,
.public-nav a:focus-visible,
.nav-toggle:focus-visible {
    outline: 3px solid rgba(243, 198, 35, .7);
    outline-offset: 4px;
}

.public-brand strong {
    font-size: 0;
}

.public-brand strong::after {
    content: "Liga de Softbol STASE";
    font-size: 21px;
}

.public-brand small {
    font-size: 0;
}

.public-brand small::after {
    content: "Temporada oficial STASE";
    font-size: 10px;
}

.competition-panel:before {
    content: "LIGA DE SOFTBOL STASE";
}

/* Hero oficial de la temporada STASE. */
.hero {
    background-image: url('../../APP/assets/img/stase-field-hero.png');
    background-position: center center;
    background-size: cover;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(6, 38, 34, .94) 0%, rgba(7, 67, 57, .74) 48%, rgba(5, 42, 36, .22) 100%),
        linear-gradient(0deg, rgba(4, 25, 22, .5), transparent 45%);
}

.site-header {
    background: linear-gradient(180deg, rgba(6, 38, 34, .88), transparent);
}

.site-header.scrolled {
    background: rgba(6, 50, 44, .96);
}

.hero-content,
.competition-panel {
    animation: heroEnter .75s cubic-bezier(.2, .8, .2, 1) both;
}

.competition-panel {
    border-color: rgba(255, 255, 255, .32);
    background: rgba(8, 55, 47, .72);
}

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Sistema visual de temporada: STASE Liga Softball. */
:root {
    --navy: #062d27;
    --blue: #0b5145;
    --green: #0f7562;
    --lime: #39b58d;
    --gold: #d7dde1;
    --red: #8f2936;
    --ink: #102d29;
    --muted: #687b77;
    --paper: #f2f6f5;
    --shadow: 0 18px 48px rgba(6, 45, 39, .16);
}

.hero::before {
    z-index: 2;
    width: clamp(120px, 15vw, 210px);
    opacity: .23;
    background-color: #fff;
    background-image:
        radial-gradient(circle at 50% 50%, transparent 0 53%, #8f2936 54% 57%, transparent 58%),
        linear-gradient(62deg, transparent 46%, #8f2936 47% 50%, transparent 51%),
        linear-gradient(-62deg, transparent 46%, #8f2936 47% 50%, transparent 51%);
    box-shadow: 0 0 0 18px rgba(255, 255, 255, .06), 0 16px 40px rgba(0, 0, 0, .3);
}

.hero::after {
    border-color: rgba(143, 41, 54, .24);
}

.hero h1 em,
.eyebrow,
.section-kicker,
.competition-meta strong {
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .24);
}

.button.primary,
.stat-tabs button.active,
.position.top,
.final-label {
    background: linear-gradient(135deg, var(--red), #b43847);
}

.section h2,
.team-card h3,
.game-row time strong,
.venue,
.score-team b,
.leader > b {
    color: var(--navy);
}

.team-card::after,
.result-card::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 14px;
    width: 38px;
    height: 38px;
    border: 2px solid rgba(143, 41, 54, .16);
    border-radius: 50%;
    transform: rotate(35deg);
}

.team-card,
.result-card {
    isolation: isolate;
}

.team-card > *,
.result-card > * {
    position: relative;
    z-index: 1;
}

.team-card:hover,
.result-card:hover,
.game-row:hover {
    box-shadow: 0 18px 38px rgba(6, 45, 39, .16);
}

.footer-contact a {
    color: #d7dde1;
    transition: color .2s ease;
}

.footer-contact a:hover {
    color: #fff;
}

/* Tarjeta de competencia: estética de diamante y softball. */
.competition-panel {
    isolation: isolate;
    overflow: hidden;
    min-width: min(100%, 360px);
    padding: 28px 24px 24px;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(7, 54, 46, .96), rgba(3, 35, 31, .9)),
        url('../../APP/assets/img/stase-field-hero.png') center / cover;
}

.competition-panel::before {
    position: relative;
    z-index: 2;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .78);
    font-family: Georgia, serif;
    font-size: clamp(25px, 3vw, 36px);
    letter-spacing: .08em;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .25);
}

.competition-panel::after {
    content: '';
    position: absolute;
    z-index: 0;
    right: -62px;
    top: 42px;
    width: 145px;
    height: 145px;
    border: 8px solid rgba(215, 221, 225, .2);
    border-radius: 50%;
    background:
        linear-gradient(62deg, transparent 46%, rgba(143, 41, 54, .85) 47% 50%, transparent 51%),
        linear-gradient(-62deg, transparent 46%, rgba(143, 41, 54, .85) 47% 50%, transparent 51%),
        #f8faf9;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .3);
    opacity: .32;
    transform: rotate(-18deg);
    animation: softballFloat 6s ease-in-out infinite;
}

.competition-panel > * {
    position: relative;
    z-index: 2;
}

.competition-panel label {
    color: #fff;
    font-size: 13px;
}

.competition-panel select {
    min-height: 52px;
    border: 0;
    border-radius: 13px;
    padding: 0 15px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.competition-meta {
    border-top-color: rgba(255, 255, 255, .18);
}

.competition-feature {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: min(1180px, calc(100% - 40px));
    min-height: 300px;
    margin: -20px auto 78px;
    padding: 48px clamp(24px, 6vw, 76px);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 30px;
    background:
        linear-gradient(100deg, rgba(4, 39, 34, .96), rgba(6, 82, 66, .74)),
        url('../../APP/assets/img/stase-field-hero.png') center / cover;
    color: #fff;
    box-shadow: 0 24px 60px rgba(6, 45, 39, .22);
}

.competition-feature-content {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
}

.competition-feature h2 {
    margin: 12px 0 10px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(30px, 4vw, 52px);
    line-height: .98;
}

.competition-feature p {
    max-width: 480px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.55;
}

.competition-feature label {
    display: block;
    margin: 22px 0 8px;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.competition-feature select {
    width: min(100%, 360px);
    min-height: 52px;
    border: 0;
    border-radius: 13px;
    padding: 0 15px;
    color: var(--ink);
    font-weight: 800;
}

.competition-feature-art {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.softball-vector {
    position: absolute;
    display: block;
}

.softball-vector-ball {
    right: 14%;
    top: 18%;
    width: 128px;
    aspect-ratio: 1;
    border: 7px solid rgba(255, 255, 255, .78);
    border-radius: 50%;
    background:
        linear-gradient(62deg, transparent 46%, rgba(143, 41, 54, .9) 47% 50%, transparent 51%),
        linear-gradient(-62deg, transparent 46%, rgba(143, 41, 54, .9) 47% 50%, transparent 51%),
        #f8faf9;
    box-shadow: 0 18px 32px rgba(0, 0, 0, .26);
    opacity: .76;
    transform: rotate(-18deg);
    animation: softballFloat 6s ease-in-out infinite;
}

.softball-vector-diamond {
    right: 7%;
    bottom: -54px;
    width: 220px;
    height: 220px;
    border: 2px solid rgba(255, 255, 255, .42);
    transform: rotate(45deg);
    opacity: .35;
}

.softball-vector-diamond::before,
.softball-vector-diamond::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .65);
    background: rgba(215, 221, 225, .55);
}

.softball-vector-diamond::before {
    left: -10px;
    top: 100px;
}

.softball-vector-diamond::after {
    right: -10px;
    top: 100px;
}

.softball-vector-bat {
    right: 29%;
    bottom: 25px;
    width: 190px;
    height: 15px;
    border-radius: 99px;
    background: linear-gradient(90deg, #d7dde1 0 72%, #8f2936 73% 100%);
    box-shadow: 0 7px 12px rgba(0, 0, 0, .3);
    opacity: .58;
    transform: rotate(-28deg);
}

@media (max-width: 620px) {
    .competition-feature {
        width: min(100% - 24px, 1180px);
        margin-top: -5px;
        padding: 32px 22px;
    }

    .softball-vector-ball {
        right: -20px;
        top: 20px;
        width: 96px;
    }

    .softball-vector-bat {
        right: -22px;
        bottom: 25px;
        width: 150px;
    }
}

/* Selector de temporada y categoría. */
.hero::before,
.hero::after {
    display: none;
}

.competition-filter-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}

.competition-filter-grid label {
    display: grid;
    gap: 7px;
    margin: 0;
    color: #fff;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.competition-filter-grid select {
    min-height: 48px;
    width: 100%;
    min-width: 0;
    padding: 0 15px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 620px) {
    .competition-filter-grid {
        grid-template-columns: 1fr;
    }

    .competition-filter-grid select {
        min-height: 58px;
        font-size: 16px;
    }
}

.hero h1 {
    max-width: 700px;
    font-size: clamp(44px, 6vw, 76px);
    line-height: .98;
}

@media (max-width: 620px) {
    .hero h1 {
        font-size: clamp(42px, 12vw, 58px);
    }
}

.photo-zoomable{cursor:zoom-in}.photo-zoomable:hover{filter:brightness(1.08)}
.player-search-results{width:min(780px,calc(100% - 40px));margin:-34px auto 42px;display:grid;gap:8px}.player-search-result{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:14px;background:#fff;color:var(--navy);box-shadow:var(--shadow)}.player-search-result:hover{transform:translateY(-2px)}.player-search-result>span:nth-child(2){display:grid;gap:3px;flex:1}.player-search-result strong{font-size:14px}.player-search-result small{color:var(--muted)}.player-search-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e5f0eb;color:var(--green);font-size:20px}.player-search-result>i:last-child{color:var(--green)}

/* Marcadores: tarjetas con lectura deportiva y animacion sutil. */
#resultados .results-grid{gap:20px}
#resultados .result-card{isolation:isolate;overflow:hidden;min-height:205px;padding:21px 18px 17px;border:1px solid rgba(8,116,65,.08);border-bottom:4px solid var(--green);background:linear-gradient(145deg,#fff 0%,#fff 68%,#edf7f2 100%);box-shadow:0 12px 28px rgba(6,26,77,.09);animation:scoreCardIn .55s ease both}
#resultados .result-card:nth-child(2){animation-delay:.06s}#resultados .result-card:nth-child(3){animation-delay:.12s}#resultados .result-card:nth-child(4){animation-delay:.18s}#resultados .result-card:nth-child(5){animation-delay:.24s}#resultados .result-card:nth-child(6){animation-delay:.30s}#resultados .result-card:nth-child(7){animation-delay:.36s}#resultados .result-card:nth-child(8){animation-delay:.42s}
#resultados .result-card:before{content:'';position:absolute;z-index:-1;right:-35px;top:-45px;width:118px;height:118px;border:2px solid rgba(178,38,57,.18);border-radius:50%;box-shadow:0 0 0 10px rgba(178,38,57,.045),0 0 0 20px rgba(178,38,57,.025)}
#resultados .result-card:after{content:'FINAL';position:absolute;right:17px;bottom:17px;color:rgba(8,116,65,.08);font-size:28px;font-weight:950;letter-spacing:.08em;transform:rotate(-12deg);pointer-events:none}
#resultados .result-meta{position:relative;z-index:1;align-items:center;margin-bottom:15px;color:#71817f;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.025em}
#resultados .result-meta span{max-width:72%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#resultados .result-meta time{padding:5px 7px;border-radius:7px;background:#f1f6f3;color:var(--green);font-size:10px;font-weight:900}
#resultados .score-team{position:relative;z-index:1;grid-template-columns:34px minmax(0,1fr) 40px;gap:10px;padding:9px 0;border-bottom:1px solid #e9efec}
#resultados .score-team:last-of-type{border-bottom:0}
#resultados .score-team img{width:32px;height:32px;border-radius:8px;padding:2px;background:#fff;object-fit:cover;box-shadow:0 3px 8px rgba(6,26,77,.13)}
#resultados .score-team strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#07382f;font-size:14px;line-height:1.15}
#resultados .score-team b{font-size:28px;line-height:1;color:#07382f;text-shadow:1px 2px 0 #dcebe4}
#resultados .final-label{position:relative;z-index:2;margin-top:15px;border-radius:7px;background:#b22639;box-shadow:0 4px 9px rgba(178,38,57,.2);font-size:9px;letter-spacing:.1em}
#resultados .result-card:hover{transform:translateY(-7px) scale(1.015);border-bottom-color:#f4cf22;box-shadow:0 20px 38px rgba(6,26,77,.16)}
@keyframes scoreCardIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@media(max-width:620px){#resultados .results-grid{grid-template-columns:1fr 1fr;gap:12px}#resultados .result-card{min-height:190px;padding:15px 12px 13px}#resultados .result-meta{font-size:8px}#resultados .score-team{grid-template-columns:28px minmax(0,1fr) 29px;gap:6px}#resultados .score-team img{width:27px;height:27px}#resultados .score-team strong{font-size:11px}#resultados .score-team b{font-size:22px}#resultados .final-label{font-size:8px;margin-top:11px}}
@media(max-width:390px){#resultados .results-grid{grid-template-columns:1fr}}

/* Las fotos grupales necesitan un área amplia sin deformarse. */
.team-card img{width:100%;height:180px;margin:0 auto 14px;border-radius:14px;object-fit:cover;background:#eef5f2;}
.team-card>.team-glow{position:absolute;width:130px;height:130px;top:-70px;left:50%;transform:translateX(-50%);}
.team-profile-brand>img{width:220px;height:220px;object-fit:cover;}
.team-profile-brand>img{width:300px;height:190px;object-fit:contain;background:#fff;}
.team-profile-numbers{flex-wrap:wrap;justify-content:flex-end;max-width:560px;}
.team-profile-brand,.team-profile-brand>div{min-width:0}.team-profile-brand h1{overflow-wrap:anywhere;word-break:normal}.team-profile-numbers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;}
@media (min-width:801px){.team-profile-hero{display:grid;grid-template-columns:270px minmax(300px,1fr) minmax(430px,500px);gap:1.5rem;align-items:center}.team-profile-brand{display:contents}.team-profile-brand>img{grid-column:1;width:270px;height:190px}.team-profile-brand>div{grid-column:2}.team-profile-brand h1{font-size:clamp(2.6rem,4vw,4.1rem);line-height:1.02;letter-spacing:-.03em}.team-profile-numbers{grid-column:3;gap:8px}.team-profile-numbers div{min-width:0;padding:.85rem .35rem}.team-profile-numbers strong{font-size:1.7rem}.team-profile-numbers span{font-size:.65rem;letter-spacing:.03em}}
@media (max-width:800px){.team-card img{height:135px}.team-profile-hero{margin:12px;padding:18px;gap:20px;overflow:hidden}.team-profile-brand{display:flex;width:100%;flex-direction:column;align-items:stretch;text-align:center}.team-profile-brand>img{width:100%;height:auto;min-height:150px;max-height:230px;object-fit:contain}.team-profile-brand h1{font-size:clamp(2rem,9vw,3.4rem);line-height:1.02;margin:.7rem 0}.team-profile-brand p{font-size:.95rem}.team-profile-numbers{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.team-profile-numbers div{min-width:0;padding:.75rem .35rem}.team-profile-numbers strong{font-size:1.55rem}.team-profile-numbers span{font-size:.65rem;letter-spacing:.04em;white-space:normal}}
@media (max-width:430px){.team-profile-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}.team-profile-numbers div:last-child{grid-column:1/-1}.team-profile-brand>img{min-height:125px;max-height:190px}}

/* Softbol realista: textura amarilla, sombra esferica y costuras rojas con puntadas. */
.hero:before{opacity:.86;background-color:#e4d36b;background-image:radial-gradient(circle at 29% 23%,rgba(255,255,240,.9) 0 4%,rgba(255,255,240,.25) 18%,transparent 39%),radial-gradient(circle at 70% 76%,rgba(87,65,17,.56) 0,rgba(87,65,17,.2) 42%,transparent 68%),linear-gradient(125deg,#fff3a5 0%,#e7d66e 45%,#aa933f 100%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23a52b35' stroke-width='6' stroke-linecap='round'%3E%3Cpath d='M30 14c62 43 62 129 0 172'/%3E%3Cpath d='M170 14c-62 43-62 129 0 172'/%3E%3C/g%3E%3Cg stroke='%23f7e8ae' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m43 39-13 10m22 4-15 11m24 3-16 11m23 2-16 10m-3 5-15 10m101-72 13 10m-22 4 15 11m-24 3 16 11m-23 2 16 10m3 5 15 10'/%3E%3C/g%3E%3C/svg%3E");box-shadow:inset -18px -20px 28px rgba(73,53,10,.38),inset 10px 8px 16px rgba(255,255,255,.3),0 0 0 22px rgba(255,255,255,.07),0 18px 50px rgba(0,0,0,.42);filter:saturate(1.08)}
.softball-vector-ball{overflow:hidden;border-color:rgba(255,255,255,.86);background:radial-gradient(circle at 28% 24%,rgba(255,255,242,.92) 0 5%,rgba(255,255,242,.22) 22%,transparent 40%),radial-gradient(circle at 73% 78%,rgba(77,55,11,.58),transparent 64%),linear-gradient(130deg,#fff2a1 0%,#e6d367 48%,#aa913c 100%);box-shadow:inset -15px -18px 24px rgba(69,50,8,.42),inset 8px 7px 13px rgba(255,255,255,.34),0 18px 32px rgba(0,0,0,.3);opacity:.9}
.softball-vector-ball:before,.softball-vector-ball:after{content:'';position:absolute;pointer-events:none}
.softball-vector-ball:before{inset:-8% 21%;border-left:5px solid rgba(155,38,49,.92);border-right:5px solid rgba(155,38,49,.92);border-radius:48%;transform:rotate(34deg);box-shadow:0 0 0 1px rgba(255,235,160,.35)}
.softball-vector-ball:after{inset:8% 27%;background:repeating-linear-gradient(145deg,transparent 0 10px,rgba(255,241,176,.95) 10px 13px,transparent 13px 22px);border-radius:50%;transform:rotate(34deg);opacity:.9}
