/* Módulos deportivos independientes: se pueden mover o convertir en rutas */
.sports-page{padding:12px clamp(0px,1vw,15px) 65px;min-height:70vh;--sport-line:#ffffff1b}
.sports-page .sports-eyebrow{color:var(--gold);text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.16em}
.sports-page .sports-hero{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:15px;margin:14px 0 21px}
.sports-page .sports-hero h1{font-size:clamp(36px,5vw,64px);margin:8px 0 6px;letter-spacing:-.045em}
.sports-page .sports-hero p{margin:0;color:#b3aca1}
.sports-page .sports-demo-warning{display:flex;align-items:center;gap:10px;background:#2e271b;border:1px solid #806035;border-radius:12px;padding:13px 16px;color:#f0d5a0;font-size:13px;line-height:1.5}
.sports-page .sports-demo-warning strong{color:#ffdaa0}
.sports-page .sports-surface{margin-top:20px;background:linear-gradient(150deg,#201d18,#141310 70%);border:1px solid #5c4727;border-radius:16px;overflow:hidden}
.sports-page .sports-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--sport-line)}
.sports-page .sports-section-title h2{font-size:19px;margin:0;letter-spacing:0}
.sports-page .sports-section-title span{color:#aaa196;font-size:12px}
.sports-page .sports-table-scroll{width:100%;overflow-x:auto}
.sports-page .sports-table{width:100%;border-spacing:0;border-collapse:collapse;white-space:nowrap}
.sports-page .sports-table thead{background:#29231b;color:#c9c0ad}
.sports-page .sports-table th{font-size:11px;text-align:center;font-weight:800;padding:13px 10px}
.sports-page .sports-table th:nth-child(2){text-align:left}
.sports-page .sports-table td{border-top:1px solid #ffffff10;text-align:center;font-size:13px;padding:9px 10px}
.sports-page .sports-table tbody tr:hover{background:#ffffff0c}
.sports-page .sports-table tr.sports-unionistas{background:#d6a23c12}
.sports-page .sports-table tr.sports-unionistas .sports-team-name{font-weight:800}
.sports-page .sports-rank{font-weight:800;border-left:3px solid transparent;min-width:44px}
.sports-page .sports-rank.top{border-left-color:#d6a23c}
.sports-page .sports-rank.bottom{border-left-color:#bd645c}
.sports-page .sports-points{font-size:15px!important;font-weight:900;color:#f8d38b}
.sports-page .sports-team-button{display:inline-flex;align-items:center;gap:10px;max-width:265px;padding:0;border:0;background:none;color:#f6f1e7;text-align:left;font-weight:600}
.sports-page .sports-team-button img{width:27px;height:27px;object-fit:contain;flex:none}
.sports-page .sports-team-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sports-page .sports-table .sports-team-cell{text-align:left}
.sports-page .sports-form{display:flex;align-items:center;justify-content:center;gap:4px}
.sports-page .sports-form span{width:18px;height:18px;display:grid;place-items:center;border-radius:50%;font-size:10px;font-weight:800}
.sports-page .sports-form .W{background:#397a54;color:#fff}
.sports-page .sports-form .D{background:#6b6353;color:#fff}
.sports-page .sports-form .L{background:#864447;color:#fff}
.sports-page .sports-legend{padding:14px 20px;display:flex;flex-wrap:wrap;align-items:center;gap:15px;color:#a9a095;font-size:12px;border-top:1px solid var(--sport-line)}
.sports-page .sports-legend span:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#d6a23c;margin-right:7px}
.sports-page .sports-legend span:last-child:before{background:#bd645c}
.sports-page .sports-round-tools{display:flex;align-items:center;justify-content:center;gap:20px;margin:22px 0}
.sports-page .sports-round-tools button{width:41px;height:40px;display:grid;place-items:center;border-radius:10px;border:1px solid #685233;color:#f0c982;background:#29251e;font-size:24px}
.sports-page .sports-round-tools button:disabled{opacity:.32}
.sports-page .sports-round-counter{text-align:center;min-width:160px}
.sports-page .sports-round-counter strong{display:block;font-size:19px}
.sports-page .sports-round-counter small{display:block;color:#b8aea0;font-size:11px;margin-top:5px;letter-spacing:0}
.sports-page .sports-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}
.sports-page .sports-match{border:1px solid #4c3c27;border-radius:14px;background:linear-gradient(145deg,#27221a,#161512);padding:16px;min-width:0}
.sports-page .sports-match-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:15px;color:#aaa094;font-size:11px}
.sports-page .sports-match-status{font-weight:700;white-space:nowrap}
.sports-page .sports-match-status.live{color:#f0927b}
.sports-page .sports-match-body{display:grid;grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);gap:8px;align-items:center}
.sports-page .sports-match-team{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;min-width:0;border:0;background:none;color:#f3efe5;font-weight:650;text-align:center;min-height:78px}
.sports-page .sports-match-team img{width:43px;height:43px;object-fit:contain;flex:none}
.sports-page .sports-match-team span{max-width:100%;font-size:12px;overflow-wrap:anywhere}
.sports-page .sports-match-score{text-align:center;color:#f8f0e1;font-size:clamp(17px,2.3vw,28px);font-weight:850;font-variant-numeric:tabular-nums;white-space:nowrap}
.sports-page .sports-match-score.upcoming{color:#877968}
.sports-page .sports-match-note{margin-top:13px;text-align:center;font-size:11px;color:#9d9384}
.sports-page button:hover:not(:disabled){filter:brightness(1.13)}
@media(max-width:950px){
 .sports-page .sports-results-grid{grid-template-columns:1fr}
 .sports-page .sports-hide-tablet{display:none}
}
@media(max-width:760px){
 header{flex-wrap:wrap}
 header nav{display:flex;width:100%;gap:6px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}
 header nav button{white-space:nowrap;flex:none;font-size:12px;padding:9px 10px}
 .sports-page{padding:8px 0 38px}
 .sports-page .sports-hero h1{font-size:36px}
 .sports-page .sports-table th,.sports-page .sports-table td{padding:9px 5px;font-size:12px}
 .sports-page .sports-table .sports-team-button{max-width:145px;gap:6px}
 .sports-page .sports-table .sports-team-button img{width:23px;height:23px}
 .sports-page .sports-hide-mobile{display:none}
 .sports-page .sports-rank{min-width:26px}
 .sports-page .sports-match{padding:13px}
 .sports-page .sports-match-body{grid-template-columns:minmax(0,1fr) 75px minmax(0,1fr)}
 .sports-page .sports-match-team img{width:37px;height:37px}
 .sports-page .sports-match-team span{font-size:11px}
}

.sports-page .sports-feed-status{margin:12px 0;padding:8px 0;color:#a69e90;font-size:12px;text-align:right}

/* Datos manuales: estado vacío y enlace al editor */
.sports-page .sports-empty{padding:35px 22px;text-align:center;color:#c4b9a5;line-height:1.7}
.sports-page .sports-editor-link{margin:0 0 10px;text-align:right}
.sports-page .sports-editor-link a{color:#ddb571;font-size:12px;text-decoration:underline;text-underline-offset:3px}

/* Widget autorizado de Arena Rete, aislado de resultados manuales */
header nav .nav-live{display:inline-flex;align-items:center;gap:7px}
header nav .live-dot{width:7px;height:7px;border-radius:50%;background:#f36c63;box-shadow:0 0 0 3px #f36c631b}
.live-scores-page{max-width:1120px;margin-inline:auto}
.live-scores-page .sports-hero{margin-bottom:24px}
.live-widget-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border:1px solid #65502c;border-radius:15px 15px 0 0;background:linear-gradient(115deg,#30271d,#1b1915);padding:18px 22px}
.live-widget-head>div{display:flex;flex-direction:column;gap:5px}
.live-widget-head strong{color:#f8f3e8;font-size:18px}
.live-widget-head span{color:#b8aa91;font-size:12px}
.live-widget-head button{border:1px solid #927142;color:#f2ce87;background:#292117;border-radius:20px;padding:10px 15px;font-size:12px;font-weight:700}
.live-widget-frame{border:1px solid #65502c;border-top:0;background:#1b1915;border-radius:0 0 15px 15px;overflow:hidden}
.live-widget-frame iframe{display:block;width:100%;height:800px;min-height:620px;border:0;background:#1b1915}
.live-widget-foot{padding:10px 4px}
.live-widget-foot p{color:#b4aa98;font-size:12px;line-height:1.65;margin:13px 0}
.live-widget-foot a{color:#e6b965;text-underline-offset:3px}
@media(max-width:760px){
 .live-widget-head{padding:14px}
 .live-widget-head strong{font-size:15px}
 .live-widget-frame iframe{height:850px}
}
