/* Pàgines interiors (estadístiques, com funciona la lliga): reutilitzen el vidre de styles.css */
.page { max-width: 1100px; margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) clamp(16px, 4vw, 48px) 2rem; display: grid; gap: 1.25rem; }
.page > *, .rules > * { min-width: 0; }
.page__head { text-shadow: 0 2px 20px rgba(0, 0, 0, .55); }
.page__title { font-size: clamp(2.8rem, 8vw, 5rem); }
.page__filters { margin: 0; }
.page__card { padding: clamp(1.2rem, 3vw, 2rem); }
.page__h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
.nav__links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .12); }

/* ---------- ESTADÍSTIQUES ---------- */
.awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.awards:empty { display: none; }
.award { padding: 1.3rem 1.4rem; position: relative; overflow: hidden; }
.award__icon { position: absolute; right: .9rem; top: .7rem; font-size: 2.2rem; opacity: .9; }
.award .eyebrow { padding-right: 2.6rem; }
.award h3 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--ball); margin: .1rem 0 .3rem; padding-right: 2.6rem; }
.award__detail { margin: 0; color: var(--muted); font-size: .9rem; }

.stats td, .stats th { text-align: center; }
.stats td:nth-child(2), .stats th:nth-child(2) { text-align: left; }
.stats__name { font-weight: 700; }
.stats tbody tr:first-child td { background: rgba(230, 242, 58, .08); }
.stats tbody tr:first-child td:first-child { box-shadow: inset 3px 0 0 var(--ball); }
.bar { display: inline-block; width: 52px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .12); margin-right: .5rem; vertical-align: middle; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--clay), var(--ball)); border-radius: inherit; }
.stats__form { white-space: nowrap; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 2px; }
.dot--w { background: #5fe08a; }
.dot--l { background: #ff6b5e; }

/* ---------- COM FUNCIONA LA LLIGA ---------- */
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1rem; }
.rule { padding: 1.4rem 1.5rem; }
.rule__num { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--ball); }
.rule h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: .3rem 0 .6rem; }
.rule p, .rule li { color: rgba(244, 241, 236, .88); }
.rule p { margin: 0 0 .6rem; }
.rule ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
.rule b { color: var(--text); }
.scoring { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: .6rem 0; }
.scoring div { text-align: center; padding: .8rem .4rem; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .1); }
.scoring b { display: block; font-family: var(--display); font-size: 2rem; color: var(--ball); font-weight: 400; }
.scoring span { font-size: .8rem; color: var(--muted); }
.ourteams td, .ourteams th { text-align: left; white-space: normal; }
.page__links { display: flex; flex-wrap: wrap; gap: .6rem; }

@media (max-width: 600px) {
  .stats th:nth-child(6), .stats td:nth-child(6), .stats th:nth-child(7), .stats td:nth-child(7) { display: none; }
  .bar { display: none; }
}
