/* Arenas 360 — Página de evento (resultados, medallería, programación).
   Se apoya en /home/home.css (marca, barra, botones, pie). */

.page-evento { background: var(--tint); }
.page-evento [hidden] { display: none !important; }
.mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }

/* ── Cabecera ───────────────────────────────────── */
.ev-hero {
  position: relative; overflow: hidden; color: rgb(255 255 255 / .8);
  background:
    radial-gradient(800px 420px at 90% 10%, rgb(255 202 125 / .14), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 50%, var(--navy-900) 100%);
  padding: 128px 0 64px;
}
.ev-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold) 0 50%, #fff 50% 75%, var(--navy) 75%); opacity: .9; }
.ev-hero__grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; margin-bottom: 22px; }
.crumbs a { color: rgb(255 255 255 / .7); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: rgb(255 255 255 / .45); }
.crumbs span:last-child { color: #fff; }
.ev-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag { font-family: var(--label); text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .3); color: #fff; }
.tag--solid { background: rgb(255 255 255 / .14); border-color: transparent; }
.tag--open { background: var(--green); border-color: transparent; }
.tag--live { background: #dc2626; border-color: transparent; }
.ev-title { font-family: var(--display); font-style: italic; font-weight: 600; text-transform: uppercase; color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.01em; max-width: 18em; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 20px; font-size: 1.05rem; }
.ev-meta span { display: inline-flex; align-items: center; gap: 8px; }
.ev-meta svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 2; }
.ev-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ev-poster { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 50px rgb(3 15 32 / .45); aspect-ratio: 4 / 5; background: var(--navy-900); }
.ev-poster img { width: 100%; height: 100%; object-fit: cover; }

/* Descripción */
.ev-about { background: #fff; border-bottom: 1px solid var(--line); padding: 32px 0; }
.eyebrow-dark { font-family: var(--label); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.ev-about__text { color: var(--text); max-width: 75ch; }
.ev-about__text p + p { margin-top: 10px; }
.ev-about__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.link-btn { margin-top: 8px; background: none; border: 0; padding: 0; color: var(--navy); font: inherit; font-weight: 600; cursor: pointer; }

/* ── Sección resultados ─────────────────────────── */
.ev-live { padding: 56px 0 72px; }
.ev-live__head { margin-bottom: 26px; }
.ev-h2 { font-family: var(--display); font-style: italic; font-weight: 600; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.4rem); line-height: 1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ev-sub { margin-top: 10px; color: var(--muted); }
.live { font-family: var(--label); font-style: normal; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: #fff; background: #dc2626; border-radius: 999px; padding: 5px 10px 5px 22px; position: relative; }
.live::before { content: ""; position: absolute; left: 10px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }

.tabs { display: flex; gap: 4px; padding: 6px 8px 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgb(15 23 42 / .04); overflow-x: auto; scrollbar-width: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 14px 16px 16px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.tab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--navy); }
.tab[data-tab="medallero"] svg { stroke: var(--gold-700); }
.tab[data-tab="programacion"] svg { stroke: var(--green); }
.tab[data-tab="resultados"] svg { stroke: var(--navy); }
.panel { margin-top: 22px; }

/* Días */
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 18px; }
.day { text-align: left; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font: inherit; }
.day small { display: block; font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--muted); }
.day strong { display: block; margin-top: 4px; font-size: 1.08rem; color: var(--ink); }
.day.is-active { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }

/* Barra de búsqueda */
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.search { flex: 1 1 320px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.search:focus-within { border-color: var(--navy); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.search input { flex: 1; border: 0; outline: 0; padding: 13px 0; font: inherit; background: none; color: var(--ink); min-width: 0; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: none; font: inherit; font-size: .92rem; font-weight: 600; color: var(--muted); padding: 7px 12px; border-radius: 8px; cursor: pointer; }
.seg button.is-active { background: var(--navy); color: #fff; }

/* Jornadas */
.jornada { margin-bottom: 18px; }
.jornada__head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 4px 14px; border: 0; border-bottom: 2px solid var(--ink); background: none; font: inherit; cursor: pointer; text-align: left; }
.jornada__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff5e6; color: #d97706; flex: none; }
.jornada__icon--tarde { background: #eef2ff; color: #4f46e5; }
.jornada__icon--todas { background: #e8f0fb; color: var(--navy); }
.jornada__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.jornada__title { font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.jornada__time { color: var(--muted); font-size: .9rem; }
.jornada__chev { margin-left: auto; width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; transition: transform .2s; }
.jornada.is-collapsed .jornada__chev { transform: rotate(-90deg); }
.jornada.is-collapsed .jornada__body { display: none; }
.jornada__body { display: grid; gap: 10px; padding-top: 14px; }

/* Fila de prueba */
.prueba { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.prueba__row { width: 100%; display: grid; grid-template-columns: 64px 1fr auto 20px; align-items: center; gap: 14px; padding: 16px 20px; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.prueba__row:hover { background: #fafbfd; }
.prueba.is-open .prueba__row { background: #f8fafc; border-bottom: 1px solid var(--line); }
.prueba__time { color: var(--muted); font-size: .95rem; }
.prueba__name { font-weight: 700; color: var(--ink); }
.prueba__name em { font-style: normal; font-weight: 400; color: var(--text); }
.prueba__sub { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }
.prueba__chev { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; transition: transform .2s; }
.prueba.is-open .prueba__chev { transform: rotate(90deg); }
.pill { font-family: var(--label); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.pill--ok { background: #e7f6ec; color: #15803d; }
.pill--prov { background: #fff4e0; color: #b45309; }
.pill--none { background: #f1f5f9; color: var(--muted); }
.prueba__detail { padding: 6px 0 8px; }

.no-time .prueba__row { grid-template-columns: 1fr auto 20px; }
.no-time .prueba__time { display: none; }

/* Tabla de resultados */
.rt { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rt caption { text-align: left; padding: 14px 20px 6px; font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--muted); }
.rt th { text-align: left; font-family: var(--label); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--muted); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.rt td { padding: 12px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.rt tr:last-child td { border-bottom: 0; }
.rt th:first-child, .rt td:first-child { padding-left: 20px; width: 56px; text-align: center; }
.rt th:last-child, .rt td:last-child { padding-right: 20px; text-align: right; }
.rt .col-dorsal { width: 72px; color: var(--muted); text-align: center; }
.rt .col-viento { width: 70px; color: var(--muted); text-align: right; }
.rt tr.is-match td { background: #fffbeb; }
.athlete { font-weight: 600; color: var(--ink); }
.athlete__link { color: inherit; text-decoration: none; }
.athlete__link:hover { color: var(--navy); text-decoration: underline; }
.athlete small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; }
.mark { font-size: 1.02rem; color: var(--ink); white-space: nowrap; }
.irm { font-family: var(--label); letter-spacing: .08em; font-size: .78rem; color: #b91c1c; background: #fef2f2; padding: 3px 8px; border-radius: 6px; }
.pos { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 700; font-size: .9rem; color: var(--ink); }
.pos--1 { background: #f5c542; color: #5b4300; }
.pos--2 { background: #d5dae1; color: #374151; }
.pos--3 { background: #d9a06b; color: #4a2a0c; }
.org { display: inline-flex; align-items: center; gap: 10px; color: var(--text); min-width: 0; }
.org__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.mono-badge { flex: none; display: inline-grid; place-items: center; width: 30px; height: 20px; border-radius: 4px; font-family: var(--label); font-size: .64rem; letter-spacing: .04em; color: #fff; }
.empty-row { padding: 18px 20px; color: var(--muted); }

/* Tarjetas (medallería / programación) */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.card--mt { margin-top: 20px; }
.card__head { padding: 20px 22px 12px; }
.card__head--row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.card__title { font-weight: 700; font-size: 1.2rem; color: var(--ink); padding-left: 12px; border-left: 4px solid var(--navy); line-height: 1.2; }
.card__title--gold { border-left-color: var(--gold-700); }
.card__title--green { border-left-color: var(--green); }
.card__hint { margin-top: 6px; color: var(--muted); font-size: .92rem; }
.mt { width: 100%; border-collapse: collapse; font-size: .95rem; }
.mt th { font-family: var(--label); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--muted); font-weight: 500; padding: 10px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.mt th:nth-child(2) { text-align: left; }
.mt td { padding: 12px 10px; border-bottom: 1px solid #f1f5f9; text-align: center; font-weight: 600; color: var(--ink); }
.mt td:first-child, .mt th:first-child { padding-left: 22px; width: 40px; color: var(--muted); font-weight: 500; }
.mt td:nth-child(2) { text-align: left; font-weight: 600; }
.mt td:last-child, .mt th:last-child { padding-right: 22px; }
.mt tr.is-click { cursor: pointer; }
.mt tr.is-click:hover td { background: #fafbfd; }
.mt tr.is-open td { background: #f8fafc; }
.medal { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; }
.medal--1 { background: #f5c542; } .medal--2 { background: #c9ced6; } .medal--3 { background: #d9a06b; }
.mt .podios td { text-align: left; padding: 4px 22px 14px 62px; background: #f8fafc; font-weight: 400; }
.podio { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .92rem; color: var(--text); border-bottom: 1px dashed var(--line); }
.podio:last-child { border-bottom: 0; }
.podio b { color: var(--ink); }

/* Programación */
.prog-days { display: flex; gap: 6px; padding: 0 22px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.prog-day { border: 0; background: none; font: inherit; font-weight: 600; color: var(--muted); padding: 12px 14px; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; }
.prog-day.is-active { color: var(--ink); border-bottom-color: #dc2626; }
.prog-date { padding: 18px 22px 4px; font-weight: 600; color: var(--text); }
.prog-jornada { padding: 10px 22px 6px; font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; color: var(--muted); }
.prog-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 14px 22px; border-bottom: 1px solid #f1f5f9; }
.prog-row:last-child { border-bottom: 0; }
.prog-row .mono { color: var(--ink); }
.chip-dark { font-size: .82rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: var(--ink); color: #fff; white-space: nowrap; }
.chip-light { font-size: .82rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: #f1f5f9; color: var(--text); white-space: nowrap; }

/* Participantes */
.participants { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-align: center; }
.participants__title { font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--muted); margin-bottom: 16px; }
.participants__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 10px; }
.participants__list li { width: 74px; display: grid; justify-items: center; gap: 6px; font-family: var(--label); font-size: .7rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; line-height: 1.2; }
.participants__list .mono-badge { width: 44px; height: 30px; font-size: .78rem; }
.powered { text-align: center; margin-top: 22px; font-size: .88rem; color: var(--muted); }
.powered a { color: var(--navy); text-decoration: none; font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; }

.loading, .empty-state { padding: 48px 20px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 14px; }
.empty-state strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .ev-hero { padding: 108px 0 48px; }
  .ev-hero__grid { grid-template-columns: 1fr; }
  .ev-poster { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .prueba__row { grid-template-columns: 48px 1fr 18px; padding: 14px 14px; gap: 10px; }
  .prueba__row .pill { grid-column: 2; justify-self: start; margin-top: 4px; }
  .prueba__row .prueba__chev { grid-row: 1; grid-column: 3; }
  .no-time .prueba__row { grid-template-columns: 1fr 18px; }
  .no-time .prueba__row .pill { grid-column: 1; }
  .no-time .prueba__row .prueba__chev { grid-column: 2; }
  .rt .col-dorsal, .rt .col-org { display: none; }
  .rt th:first-child, .rt td:first-child { padding-left: 12px; width: 44px; }
  .rt th:last-child, .rt td:last-child { padding-right: 14px; }
  .athlete small.org-inline { display: flex; }
  .seg { width: 100%; justify-content: space-between; }
  .seg button { flex: 1; padding: 8px 6px; }
  .mt td:first-child, .mt th:first-child { padding-left: 14px; }
  .prog-row { grid-template-columns: 56px 1fr; }
  .prog-row > span:last-child { grid-column: 2; justify-self: start; }
}
@media (min-width: 621px) { .athlete small.org-inline { display: none; } }
@media print {
  .topbar, .footer, .tabs, .toolbar, .ev-cta, .participants, .powered, .ev-poster { display: none !important; }
  .ev-hero { padding: 0; background: none; color: #000; }
  .ev-title { color: #000; }
  .prueba__detail { display: block !important; }
}

/* ── Medallería y puntos (rediseño) ───────────────────── */
.mz-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.mz-kpi { background: linear-gradient(135deg, var(--navy-900), var(--navy)); color: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.mz-kpi b { display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1.1; color: #fff; }
.mz-kpi span { display: block; line-height: 1.35; font-family: var(--label); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: rgb(255 255 255 / .78); }

.mz-podio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; margin-bottom: 20px; }
.mz-pod { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px 0; text-align: center; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mz-pod__pos { font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--muted); }
.mz-pod__badge { width: 54px; height: 38px; font-size: .9rem; border-radius: 8px; }
.mz-pod__nom { font-size: 1.02rem; font-weight: 700; color: var(--ink); line-height: 1.25; max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.mz-pod__pts { margin: 0 0 4px; color: var(--muted); font-size: .9rem; }
.mz-pod__pts b { color: var(--ink); font-size: 1.35rem; }
.mz-pod__base { align-self: stretch; margin: 10px -18px 0; height: 14px; }
.mz-pod--1 { padding-top: 30px; border-color: #f5c542; }
.mz-pod--1 .mz-pod__pos { color: #b7791f; font-size: 1.3rem; }
.mz-pod--1 .mz-pod__base { height: 40px; background: linear-gradient(180deg, #fde68a, #f5c542); }
.mz-pod--2 .mz-pod__base { height: 26px; background: linear-gradient(180deg, #e5e7eb, #c9ced6); }
.mz-pod--3 .mz-pod__base { height: 18px; background: linear-gradient(180deg, #f3d3b3, #d9a06b); }

.mz-meds { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.mz-med { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 6px; border-radius: 999px; font-weight: 700; font-size: .86rem; color: var(--ink); background: #f8fafc; border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mz-med i { width: 12px; height: 12px; border-radius: 50%; }
.mz-med--1 i { background: #f5c542; box-shadow: inset 0 -2px 0 #d69e2e; } .mz-med--1 { background: #fffbeb; border-color: #fde68a; }
.mz-med--2 i { background: #c9ced6; box-shadow: inset 0 -2px 0 #9aa3ae; } .mz-med--2 { background: #f8fafc; border-color: #e2e8f0; }
.mz-med--3 i { background: #d9a06b; box-shadow: inset 0 -2px 0 #b7794a; } .mz-med--3 { background: #fdf6ef; border-color: #f3d3b3; }
.mz-med.is-cero { opacity: .38; }

.mz-rank { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #f1f5f9; color: var(--muted); font-weight: 700; font-size: .85rem; flex: none; }
.mz-rank--1 { background: #f5c542; color: #5b3d00; } .mz-rank--2 { background: #d9dde3; color: #334155; } .mz-rank--3 { background: #e6b88a; color: #5a3410; }
.mt .mz-total { color: var(--navy); font-weight: 800; }

.mz-bars { list-style: none; margin: 0; padding: 4px 22px 18px; display: grid; gap: 14px; }
.mz-bars li { display: flex; align-items: center; gap: 12px; }
.mz-bar { flex: 1; min-width: 0; }
.mz-bar__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.mz-bar__top b { color: var(--ink); font-size: 1.05rem; }
.mz-bar__track { height: 10px; background: #f1f5f9; border-radius: 999px; overflow: hidden; }
.mz-bar__track span { display: block; height: 100%; border-radius: 999px; transition: width .5s ease; }

.mz-chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 22px 14px; }
.mz-chip { border: 1px solid var(--line); background: #fff; color: var(--text); font: inherit; font-weight: 600; font-size: .9rem; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.mz-chip:hover { border-color: var(--navy); color: var(--navy); }
.mz-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.mz-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; padding: 0 22px 22px; }
.mz-cat { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.mz-cat__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; background: linear-gradient(90deg, #eef4fb, #fff); border-bottom: 1px solid var(--line); }
.mz-cat__head h4 { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.25rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
.mz-cat__rama { font-family: var(--label); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: #e0e7ff; color: #3730a3; }
.mz-cat--femenino .mz-cat__head { background: linear-gradient(90deg, #fdf2f8, #fff); } .mz-cat--femenino .mz-cat__rama { background: #fce7f3; color: #9d174d; }
.mz-cat--masculino .mz-cat__rama { background: #dbeafe; color: #1e40af; }
.mz-cat__n { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.mz-deps { list-style: none; margin: 0; padding: 0; }
.mz-dep { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 12px 16px; border-bottom: 1px solid #f1f5f9; }
.mz-dep:last-child { border-bottom: 0; }
.mz-dep .mz-rank { margin-top: 2px; }
.mz-dep__info { min-width: 0; }
.mz-dep__nom { display: block; color: var(--ink); font-weight: 700; line-height: 1.3; }
.mz-dep__org { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); margin-top: 2px; }
.mz-dep__org .mono-badge { width: 26px; height: 16px; font-size: .55rem; }
.mz-dep__org .org__name { max-width: 220px; }
.mz-dep__org em { font-style: normal; background: #f1f5f9; border-radius: 6px; padding: 0 6px; font-size: .78rem; }
.mz-logros { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mz-logro { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 600; color: var(--text); background: #f8fafc; border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px 2px 6px; }
.mz-logro i { width: 10px; height: 10px; border-radius: 50%; }
.mz-logro small { font-weight: 700; color: var(--muted); font-size: .74rem; }
.mz-logro--1 i { background: #f5c542; } .mz-logro--1 { background: #fffbeb; border-color: #fde68a; }
.mz-logro--2 i { background: #c9ced6; }
.mz-logro--3 i { background: #d9a06b; } .mz-logro--3 { background: #fdf6ef; border-color: #f3d3b3; }
.mz-dep__der { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mz-dep__der .mz-meds { justify-content: flex-end; }
.mz-dep__der .mz-med { padding: 1px 7px 1px 5px; font-size: .78rem; }
.mz-dep__der .mz-med i { width: 10px; height: 10px; }
.mz-dep__pts { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.mz-dep__pts b { color: var(--navy); font-size: 1.25rem; }
.mz-mas { display: block; width: 100%; border: 0; border-top: 1px solid var(--line); background: #fafbfd; color: var(--navy); font: inherit; font-weight: 700; padding: 10px; cursor: pointer; }
.mz-mas:hover { background: #eef4fb; }

@media (max-width: 900px) {
  .mz-kpis { grid-template-columns: repeat(2, 1fr); }
  .mz-cats { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .mz-podio { gap: 8px; }
  .mz-pod { padding: 14px 8px 0; }
  .mz-pod__badge { width: 40px; height: 28px; font-size: .72rem; }
  .mz-pod__nom { font-size: .84rem; }
  .mz-pod .mz-meds { display: none; }
  #medallero .org__name, #puntos .org__name { max-width: 30vw; }
  #medallero .mono-badge { display: none; }
  #medallero .mt td, #medallero .mt th { padding-left: 6px; padding-right: 6px; }
  .mz-kpi { padding: 12px 14px; }
  .mz-pod__pts b { font-size: 1.1rem; }
  .mz-kpi b { font-size: 1.5rem; }
  .mz-cats, .mz-chips { padding-left: 14px; padding-right: 14px; }
  .mz-bars { padding: 4px 14px 16px; }
  .mz-dep { grid-template-columns: auto 1fr; }
  .mz-dep__der { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ── Resultados (rediseño) ────────────────────────────── */
.rz-filtros { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: -4px 0 14px; }
.rz-cats { padding: 0; }
.rz-resumen { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; margin-bottom: 6px; }
.rz-resumen b { color: var(--ink); font-size: 1.05rem; }
.rz-resumen:empty { display: none; }
.prueba { transition: box-shadow .2s, border-color .2s; }
.prueba:hover { box-shadow: 0 6px 18px rgb(15 23 42 / .07); border-color: #cbd5e1; }
.prueba.is-vacia .prueba__name { color: var(--muted); }
.rz-row { grid-template-columns: 56px 38px minmax(0, 1fr) minmax(0, 1.25fr) auto 18px; }
.no-time .rz-row { grid-template-columns: 38px minmax(0, 1fr) minmax(0, 1.25fr) auto 18px; }
.rz-tipo { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; }
.rz-tipo svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.rz-tipo--pista { background: #e8f0fb; color: var(--navy); }
.rz-tipo--campo { background: #ecfdf3; color: #15803d; }
.rz-info { min-width: 0; }
.rz-info .prueba__name { display: block; font-size: 1.05rem; line-height: 1.25; }
.rz-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.rz-tags .prueba__sub { display: inline; margin: 0 0 0 2px; font-size: .84rem; }
.rz-cat { font-family: var(--display); font-weight: 800; font-size: .78rem; color: #fff; background: var(--navy); border-radius: 6px; padding: 1px 7px; }
.rz-rama { font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; border-radius: 999px; padding: 2px 8px; }
.rz-rama--fem { background: #fce7f3; color: #9d174d; } .rz-rama--masc { background: #dbeafe; color: #1e40af; } .rz-rama--mix { background: #ede9fe; color: #5b21b6; }
.rz-podio { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rz-podio__it { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: .86rem; }
.rz-podio__it i { width: 10px; height: 10px; border-radius: 50%; }
.rz-podio__it--1 i { background: #f5c542; } .rz-podio__it--2 i { background: #c9ced6; } .rz-podio__it--3 i { background: #d9a06b; }
.rz-podio__it b { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rz-podio__it--1 b { font-weight: 800; }
.rz-podio__it span { color: var(--muted); font-size: .82rem; }
.rt tr.rz-top--1 td { background: #fffbeb; } .rt tr.rz-top--2 td { background: #f8fafc; } .rt tr.rz-top--3 td { background: #fdf8f3; }
.rt tr.rz-top .mark { font-weight: 800; font-size: 1.1rem; }
.rt tr.rz-irm td { color: var(--muted); }
.rt tr.rz-irm .athlete__link { color: var(--muted); font-weight: 500; }
@media (max-width: 900px) {
  .rz-row { grid-template-columns: 48px 34px minmax(0, 1fr) auto 18px; }
  .rz-row .rz-podio { grid-column: 3 / 5; grid-row: 2; }
  .rz-row .pill { grid-column: 4; grid-row: 1; }
}
@media (max-width: 620px) {
  .rz-row { grid-template-columns: 34px minmax(0, 1fr) 16px; gap: 10px; }
  .rz-row .prueba__time { display: none; }
  .rz-row .rz-tipo { width: 34px; height: 34px; }
  .rz-row .rz-info { grid-column: 2; }
  .rz-row .pill { grid-column: 2; grid-row: 2; justify-self: start; margin-top: 0; }
  .rz-row .rz-podio { grid-column: 2 / 4; grid-row: 3; }
  .rz-row .prueba__chev { grid-column: 3; grid-row: 1; }
  .rz-filtros { flex-direction: column; align-items: stretch; }
  .rz-filtros > * { min-width: 0; max-width: 100%; }
  .rz-cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; width: 100%; }
  .rz-cats .mz-chip { flex: none; }
  .jornada__title { font-size: 1.02rem; white-space: nowrap; }
  .jornada__time { font-size: .8rem; white-space: nowrap; }
  .jornada__head .pill { display: none; }
}
.rz-nadie { color: var(--muted); font-size: .86rem; font-style: italic; }
.rz-podio { max-width: 340px; }

/* ── Programación (rediseño) ──────────────────────────── */
.pz-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px 22px 4px; }
.pz-kpi { background: #f5f8fc; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.pz-kpi b { display: block; font-size: 1.2rem; color: var(--ink); }
.pz-kpi span { font-family: var(--label); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; color: var(--muted); }
.pz-filtros { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 22px 0; }
.pz-tl { list-style: none; margin: 0; padding: 6px 22px 22px; position: relative; }
.pz-jor { padding: 18px 0 8px 86px; font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; color: var(--muted); }
.pz-slot { display: grid; grid-template-columns: 72px 1fr; gap: 14px; position: relative; padding: 6px 0; }
.pz-slot::before { content: ""; position: absolute; left: 79px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.pz-slot::after { content: ""; position: absolute; left: 74px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); }
.pz-slot.is-vivo::after { background: #16a34a; border-color: #16a34a; box-shadow: 0 0 0 5px rgb(22 163 74 / .18); }
.pz-slot.is-prox::after { background: #f5c542; border-color: #d69e2e; }
.pz-hora { text-align: right; padding-top: 12px; padding-right: 8px; }
.pz-hora b { font-size: 1.05rem; color: var(--ink); }
.pz-ahora { display: block; margin-top: 4px; font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .62rem; color: #15803d; }
.pz-ahora--prox { color: #b7791f; }
.pz-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; padding-left: 14px; }
.pz-items--sueltas { padding: 0 22px 22px; }
.pz-card { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 12px; padding: 12px 14px; width: 100%; }
.pz-card--campo { border-left-color: #16a34a; }
.pz-card.is-link { cursor: pointer; transition: box-shadow .2s, transform .2s; }
.pz-card.is-link:hover { box-shadow: 0 6px 18px rgb(15 23 42 / .08); transform: translateY(-1px); }
.pz-card__info { min-width: 0; }
.pz-card__nom { display: block; color: var(--ink); font-size: 1rem; line-height: 1.25; }
.pz-meta { display: block; color: var(--muted); font-size: .82rem; margin-top: 3px; }
.rz-tags .pz-meta { display: inline; margin: 0; }
.pz-card__der { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pz-ver { display: inline-flex; align-items: center; gap: 2px; color: var(--navy); font-weight: 700; font-size: .8rem; }
.pz-ver svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
@media (max-width: 900px) { .pz-kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .pz-kpis, .pz-filtros { padding-left: 14px; padding-right: 14px; }
  .pz-filtros { flex-direction: column; align-items: stretch; }
  .pz-filtros > * { min-width: 0; max-width: 100%; }
  .pz-tl { padding: 4px 14px 18px; }
  .pz-slot { grid-template-columns: 52px 1fr; gap: 8px; }
  .pz-slot::before { left: 57px; } .pz-slot::after { left: 52px; }
  .pz-hora { padding-right: 6px; } .pz-hora b { font-size: .9rem; }
  .pz-jor { padding-left: 64px; }
  .pz-items { grid-template-columns: 1fr; padding-left: 10px; }
  .pz-card { grid-template-columns: 32px minmax(0, 1fr); padding: 10px 12px; }
  .pz-card .rz-tipo { width: 32px; height: 32px; }
  .pz-card__der { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
}
.seg[hidden] { display: none; }

/* Deportes de combate: lista de combates bajo la clasificación final (.cbz-*) */
.rz-tipo--combate { background: #fdf2f2; color: #b91c1c; }
.cbz { margin-top: 14px; padding: 0 16px 8px; }
.cbz__tit { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted, #64748b); }
.cbz__item { display: grid; grid-template-columns: 130px 1fr 1fr; gap: 6px 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line, #e7ecf3); }
.cbz__ronda { font-size: 12px; font-weight: 600; color: var(--muted, #64748b); }
.cbz__lado { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 10px; background: #f8fafc; min-width: 0; }
.cbz__lado.is-gana { background: #ecfdf3; }
.cbz__lado.is-gana .cbz__nom a, .cbz__lado.is-gana .cbz__nom b { color: #15803d; font-weight: 700; }
.cbz__lado:not(.is-gana) { opacity: .75; }
.cbz__lado.is-match { outline: 2px solid #f5c542; }
.cbz__nom { display: grid; min-width: 0; }
.cbz__nom a, .cbz__nom b { font-size: 14px; font-weight: 600; color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbz__nom small { font-size: 12px; color: var(--muted, #64748b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbz__pts { font-size: 16px; font-weight: 700; }
@media (max-width: 640px) { .cbz__item { grid-template-columns: 1fr; } }
.cbz--poules { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 12px; }
.cbz--poules .cbz__tit { grid-column: 1 / -1; margin-bottom: 0; }
.cbz__poule { width: 100%; }

/* Llave pública de combate (.lv-*) y combates por área (.ar-*) */
.lv__btn { margin: 10px 16px 0; min-height: 38px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line, #e2e8f0); background: #fff; color: var(--navy, #0b4789); font: inherit; font-weight: 700; cursor: pointer; }
.lv__caja { padding: 0 16px; }
.lv { display: grid; gap: 12px; padding: 12px 0; }
.lv__scroll { overflow-x: auto; padding-bottom: 6px; }
.lv__cuadro { display: flex; gap: 14px; min-width: max-content; }
.lv__col { width: 220px; display: flex; flex-direction: column; }
.lv__col h5 { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted, #64748b); }
.lv__lista { display: flex; flex-direction: column; justify-content: space-around; gap: 8px; flex: 1; }
.lv__c { border: 1px solid var(--line, #e2e8f0); border-radius: 10px; padding: 4px; background: #fff; display: grid; gap: 2px; }
.lv__c.is-bye { opacity: .6; border-style: dashed; }
.lv__comp { display: flex; justify-content: space-between; gap: 6px; padding: 4px 6px 4px 8px; border-radius: 7px; font-size: 13px; border-left: 3px solid #cbd5e1; }
.lv__comp--rojo { border-left-color: #dc2626; }
.lv__comp--azul { border-left-color: #2563eb; }
.lv__comp.is-gana { background: #ecfdf3; font-weight: 700; color: #14532d; }
.lv__nom { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv__prog, .lv__met { font-size: 11px; color: var(--muted, #64748b); padding: 0 6px; }
.lv__rep { display: flex; flex-wrap: wrap; gap: 10px; }
.lv__rep .lv__c { width: 230px; }
.lv__poules { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 10px; }
.lv__poule td, .lv__poule th { padding: 4px 6px; text-align: center; }
.lv__poule td:nth-child(2) { text-align: left; }
.lv__diag { background: #334155; }
.lv__v { color: #15803d; font-weight: 700; }
.lv__ret td { opacity: .5; }
.ar { padding: 0 20px 16px; }
.ar__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.ar__area { border: 1px solid var(--line, #e2e8f0); border-radius: 14px; overflow: hidden; background: #fff; }
.ar__area header { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: var(--navy, #0b4789); color: #fff; }
.ar__vivo { color: #ffca7d; font-size: 12px; font-weight: 700; text-decoration: none; }
.ar__lista { list-style: none; margin: 0; padding: 0; }
.ar__t { display: grid; grid-template-columns: minmax(46px, max-content) 1fr auto; gap: 8px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--line, #eef2f7); }
.ar__t.is-ahora { background: #f0fdf4; }
.ar__h { font-weight: 700; white-space: nowrap; font-size: .85rem; }
.ar__txt { display: grid; min-width: 0; }
.ar__txt b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar__txt small { font-size: 12px; color: var(--muted, #64748b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar__tag { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; }
.ar__tag--ahora { background: #dcfce7; color: #15803d; }
.ar__tag--sig { background: #e0ecff; color: #1d4ed8; }
.ar__fin { padding: 12px; color: var(--muted, #64748b); font-size: 13px; }
/* Torneos de deportes de conjunto */
.tz { display: grid; gap: 10px; margin-top: 8px; }
.tz__nota { margin: 0; font-size: 12px; color: #64748b; }
.tz__tit { margin: 8px 0 0; font-size: 15px; }
.tz__ronda { margin: 6px 0 2px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #64748b; }
.tz__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tz__p { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding: 6px 10px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; }
.tz__p.is-jugado { background: #f8fafc; }
.tz__eq--v { text-align: right; }
.tz__eq.is-gana { font-weight: 700; }
.tz__m { min-width: 64px; text-align: center; }
.tz__info { grid-column: 1 / -1; text-align: center; color: #64748b; font-size: 11px; }
.tz__grupo { display: grid; gap: 6px; }
.tz__tabla td, .tz__tabla th { text-align: center; }
.tz__tabla .tz__nom { text-align: left; }
.tz__tabla .tz__nom small { display: block; color: #64748b; font-size: 11px; }
.tz__podio, .tz__goles { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 4px; }
.tz__podio li.m1 b { color: #b8860b; } .tz__podio li.m2 b { color: #708090; } .tz__podio li.m3 b { color: #a0522d; }
.tz__goles small, .tz__podio small { color: #64748b; }
.tz__tabla th:nth-child(2) { text-align: left; }

/* Todos contra todos (judo intercolegiados) */
.lv__nota { color: var(--muted, #64748b); font-size: 12px; margin: 6px 0 12px; }
.lv__cuadro--liga .lv__col::before, .lv__cuadro--liga .lv__col::after, .lv__cuadro--liga .lv__c::before, .lv__cuadro--liga .lv__c::after { display: none; }

/* PDF de resultados oficiales */
.rz-pdf { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 5px 12px; border: 1px solid #cbd5e1;
  border-radius: 999px; font-size: 12px; font-weight: 600; color: #0f172a; text-decoration: none; background: #fff; }
.rz-pdf::before { content: "⬇"; font-size: 11px; }
.rz-pdf + .rz-pdf { margin-left: 6px; }
.rz-pdf:hover { border-color: #0f766e; color: #0f766e; }
.rz-pdf--prueba { margin: 8px 0 0; }

/* Pruebas combinadas: puntos por prueba */
.cmz th.cmz__p { font-size: 11px; white-space: nowrap; }
.cmz td.cmz__c { text-align: center; }
.cmz td.cmz__c small { display: block; color: var(--muted, #64748b); font-size: 11px; }
.cmz td.cmz__t { font-weight: 700; }

/* Resultados por deporte */
.rz-deps { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 8px; margin: 4px 0 14px; }
.rz-deps[hidden] { display: none; }
.rz-dep { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line, #e2e8f0); background: #fff; color: var(--ink, #0f172a); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.rz-dep:hover { border-color: var(--navy, #0b4789); }
.rz-dep__ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 19px; background: #f1f5f9; }
.rz-dep__txt { display: grid; min-width: 0; }
.rz-dep__txt b { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rz-dep__txt small { font-size: .72rem; color: var(--muted, #64748b); white-space: nowrap; }
.rz-dep.is-active { background: var(--navy, #0b4789); border-color: var(--navy, #0b4789); color: #fff; box-shadow: 0 6px 16px rgb(11 71 137 / .25); }
.rz-dep.is-active small { color: #c8d6ea; }
.rz-dep.is-active .rz-dep__ico { background: #ffca7d; }

/* Medallería y Programación por deporte */
#med-dep, #prog-dep { margin-bottom: 14px; }
.mz-dep-tit { margin: 0 0 12px; font-size: 1.15rem; font-weight: 800; }
.rz-deps__tit { display: none; margin: 0 2px 2px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #64748b); }

/* Deportes en columna (escritorio) o fila deslizable (celular/tableta) */
@media (min-width: 1000px) {
  .panel.con-deps:not([hidden]) { display: grid; grid-template-columns: 230px minmax(0, 1fr); column-gap: 20px; align-items: start; }
  .panel.con-deps > * { grid-column: 2; min-width: 0; }
  .panel.con-deps > .rz-deps { grid-column: 1; grid-row: 1 / span 30; display: flex; flex-direction: column; gap: 6px; margin: 0;
    position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 2px 4px 2px 2px; }
  .panel.con-deps > .rz-deps[hidden] { display: none; }
  .panel.con-deps .rz-deps__tit { display: block; }
  .panel.con-deps .rz-dep { padding: 6px 8px; border-radius: 12px; }
  .panel.con-deps .rz-dep__ico { width: 30px; height: 30px; font-size: 17px; }
}
@media (max-width: 999px) {
  .rz-deps { display: flex; overflow-x: auto; gap: 8px; padding: 2px 2px 8px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .rz-deps > .rz-dep { flex: 0 0 auto; min-width: 150px; max-width: 210px; scroll-snap-align: start; }
}

/* Medallería por deporte */
.card--mb { margin-bottom: 18px; }
.mdz__wrap { overflow-x: auto; }
.mdz td, .mdz th { vertical-align: middle; }
.mdz__dep { display: flex; align-items: center; gap: 9px; }
.mdz__dep > span:last-child { display: grid; }
.mdz__dep b { font-size: .92rem; }
.mdz__dep small { font-size: .72rem; color: var(--muted, #64748b); }
.mdz__lider { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.mdz__nada { color: var(--muted, #94a3b8); }
.mdz--cero td { color: var(--muted, #94a3b8); }
@media (max-width: 640px) { .mdz .mdz__lid { display: none; } }
.mdz__dep b, .mdz__dep small { white-space: nowrap; }
