/* Pizarra de apuestas — pizarra oscura, césped apagado. Los números mandan. */
:root {
  --bg: #0a0f0c;
  --bg2: #0f1611;
  --panel: #131b15;
  --panel2: #19231c;
  --line: #222e25;
  --line2: #2e3d32;
  --ink: #e9eee6;
  --ink2: #b9c4bb;
  --mut: #7e8e82;
  --segura: #7ccb8e;
  --media: #e0b04c;
  --bomba: #f0705f;
  --d: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --b: 'Instrument Sans', system-ui, 'Segoe UI', sans-serif;
  --nav-h: 60px;
  --top-h: 0px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  font-family: var(--b);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  background:
    repeating-linear-gradient(180deg, rgba(124, 203, 142, .018) 0 56px, transparent 56px 112px),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + 28px + env(safe-area-inset-bottom));
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 600px; margin: 0 auto; padding: 0 14px; }
.num { font-family: var(--d); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.mut { color: var(--mut); }
[hidden] { display: none !important; }

/* ── Cabecera ── */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.top .wrap { display: flex; align-items: center; gap: 12px; }
.brand { display: flex; flex-direction: column; gap: 2px; padding: 9px 0 9px; flex: none; }
.brand-name { font-family: var(--d); font-weight: 800; font-size: 26px; letter-spacing: .02em; line-height: 1; }
.brand-sub { font-size: 11.5px; color: var(--mut); line-height: 1; }
.dates { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; justify-content: flex-end; padding: 9px 0; }
.dates::-webkit-scrollbar { display: none; }
.dates[hidden] { display: none; }
.dt { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 4px 11px 5px; border: 1px solid var(--line2); border-radius: 3px; color: var(--ink2); min-height: 40px; transition: background .15s, border-color .15s, color .15s; }
.dt b { font-family: var(--d); font-size: 20px; font-weight: 700; line-height: 1; color: var(--ink); }
.dt small { font-size: 11px; color: var(--mut); line-height: 1; }
.dt:hover { border-color: var(--mut); }
.dt[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.dt[aria-current="true"] b { color: var(--bg); }
.dt[aria-current="true"] small { color: #44544a; }

/* ── Barra de abajo ── */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--bg2); border-top: 1px solid var(--line2); padding-bottom: env(safe-area-inset-bottom); }
.tabs a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--nav-h); font-size: 11.5px; color: var(--mut); transition: color .15s; }
.tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.tabs a[aria-current="page"] { color: var(--ink); }
.tabs a[aria-current="page"]::before { content: ""; position: absolute; top: -1px; left: 22%; right: 22%; height: 2px; background: var(--ink); }
.tabs a:active { background: var(--panel); }

/* ── Estructura de pantalla ── */
#app { padding-top: 16px; outline: none; }
.screen { animation: entra .26s ease-out both; }
@keyframes entra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.h-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 4px 0 12px; }
.h-sec h1 { font-family: var(--d); font-weight: 700; font-size: 30px; line-height: 1; }
.h-sec p { font-size: 12.5px; color: var(--mut); text-align: right; }
.banner { border: 1px solid var(--line2); border-left: 3px solid var(--mut); padding: 10px 12px; font-size: 13px; color: var(--ink2); margin-bottom: 14px; background: var(--bg2); }
.banner b { color: var(--ink); font-weight: 600; }

/* ── Combinada (boleto) ── */
.tier-Segura { --tc: var(--segura); }
.tier-Media { --tc: var(--media); }
.tier-Bomba { --tc: var(--bomba); }
.tier-Extra, .tier-Inter { --tc: #7ab7ff; }   /* pedidos aparte (Extra / Inter): aparecen con su propio color */
.tk { position: relative; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--tc, var(--mut)); border-radius: 4px; margin-bottom: 18px; }
.tk-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 14px 14px 4px 14px; }
.tk-name { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.tk-tier { font-family: var(--d); font-weight: 700; font-size: 24px; line-height: 1; color: var(--tc); }
.tk-tipo { font-size: 12px; color: var(--mut); }
.tk-odds { font-family: var(--d); font-weight: 800; font-size: 54px; line-height: .86; font-variant-numeric: tabular-nums; letter-spacing: -.005em; white-space: nowrap; }
.tk-odds .x { font-size: 28px; font-weight: 600; color: var(--mut); margin-right: 2px; }
.tk-odds .tilde { font-size: 38px; }
.st { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .01em; padding: 2px 7px; border-radius: 2px; border: 1px solid var(--line2); color: var(--mut); width: max-content; }
.st-ganada { color: #0c130e; background: var(--segura); border-color: var(--segura); }
.st-perdida { color: #190b09; background: var(--bomba); border-color: var(--bomba); }
.st-anulada { color: var(--ink2); }
.tk-chance { padding: 12px 14px 14px; }
.bar { position: relative; height: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 1px; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--tc, var(--ink)); transform-origin: left; animation: llena .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes llena { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ch-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 8px; font-size: 12.5px; color: var(--ink2); }
.ch-row b { font-family: var(--d); font-size: 24px; font-weight: 700; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.ch-row .sub { color: var(--mut); font-size: 12px; margin-left: auto; }
.cuenta { font-size: 12px; color: var(--mut); margin-top: 6px; }
.ojo { margin: 0 14px 12px; font-size: 12.5px; color: var(--ink2); border-left: 2px solid var(--media); padding-left: 9px; }
.tk-nota { margin: 0 14px 12px; font-size: 12.5px; line-height: 1.38; color: var(--ink2); border-left: 2px solid var(--tc, var(--mut)); padding-left: 9px; }

/* perforado del boleto */
.perf { position: relative; height: 0; border-top: 1.5px dashed var(--line2); margin: 0 0 0 0; }
.perf::after { content: ""; position: absolute; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.perf::after { right: -9px; border-right-color: transparent; border-bottom-color: transparent; transform: rotate(45deg); }
.perf.bot { margin-top: 2px; }

.legs { list-style: none; }
.leg { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 4px 10px; padding: 12px 14px 12px 14px; border-bottom: 1px solid var(--line); }
.leg:last-child { border-bottom: 0; }
.leg-hora { font-family: var(--d); font-weight: 700; font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink2); }
.leg-st { display: block; margin-top: 7px; font-size: 10.5px; font-weight: 600; color: var(--mut); }
.leg-st.ganada { color: var(--segura); }
.leg-st.perdida { color: var(--bomba); }
.leg-main { min-width: 0; }
.leg-t { font-size: 15px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.leg-p { font-size: 12.5px; color: var(--mut); margin-top: 2px; }
.leg-n { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.leg-q { font-family: var(--d); font-weight: 700; font-size: 25px; line-height: 1; font-variant-numeric: tabular-nums; }
.leg-pm { font-family: var(--d); font-weight: 700; font-size: 17px; line-height: 1.1; color: var(--tc, var(--ink)); font-variant-numeric: tabular-nums; }
.leg-mb { font-size: 11px; color: var(--mut); white-space: nowrap; font-variant-numeric: tabular-nums; }
.leg-why { grid-column: 2 / 4; font-size: 12.5px; color: var(--ink2); line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.leg-why.open { -webkit-line-clamp: unset; display: block; }
.leg-ali { grid-column: 2 / 4; font-size: 12px; color: var(--media); display: flex; align-items: center; gap: 6px; }
.leg-ali svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }

.avisos { margin: 0 14px 12px; display: grid; gap: 6px; }
.aviso { font-size: 12.5px; color: var(--ink); border: 1px solid #5b4721; background: repeating-linear-gradient(135deg, rgba(224, 176, 76, .09) 0 6px, transparent 6px 12px); padding: 8px 10px; border-radius: 2px; }
.aviso b { color: var(--media); font-weight: 600; }
.aviso span { display: block; color: var(--ink2); margin-top: 2px; }

.tk-f { padding: 12px 14px 14px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 16px; font-weight: 600; font-size: 15px; background: var(--ink); color: var(--bg); border-radius: 3px; transition: transform .1s, background .15s; }
.btn:hover { background: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line2); }
.btn.ghost:hover { border-color: var(--mut); background: var(--panel2); }
.btn.sm { min-height: 40px; font-size: 13.5px; width: auto; }
.btn[disabled] { opacity: .45; cursor: default; }
.mf { display: grid; gap: 10px; }
.mf label { font-size: 12.5px; color: var(--ink2); }
.mf-in { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line2); border-radius: 3px; padding: 0 12px; }
.mf-in:focus-within { border-color: var(--ink2); }
.mf-in span { font-family: var(--d); font-size: 26px; color: var(--mut); }
.mf-in input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-family: var(--d); font-weight: 700; font-size: 30px; padding: 8px 0; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 38px; padding: 0 13px; border: 1px solid var(--line2); border-radius: 3px; font-size: 13.5px; color: var(--ink2); background: transparent; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--mut); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .n { color: var(--mut); margin-left: 5px; font-size: 12px; }
.chip[aria-pressed="true"] .n { color: #44544a; }
.mf-cobro { font-size: 13px; color: var(--ink2); }
.mf-cobro b { font-family: var(--d); font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.mf-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jugada-ok { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jugada-ok .txt { font-size: 13.5px; color: var(--ink2); }
.jugada-ok .txt b { font-family: var(--d); font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.err { color: var(--bomba); font-size: 13px; }

/* ── Partidos ── */
.plist { border-top: 1px solid var(--line); }
.prow { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 2px; border-bottom: 1px solid var(--line); min-height: 64px; transition: background .15s; }
a.prow:hover { background: var(--panel); }
.prow.off { opacity: .5; }
.prow-h { font-family: var(--d); font-weight: 700; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.prow-t { font-weight: 600; font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
.prow-l { font-size: 12.5px; color: var(--mut); margin-top: 3px; }
.prow-r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.prow-n { font-family: var(--d); font-size: 22px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.prow-n small { font-family: var(--b); font-weight: 400; font-size: 11px; color: var(--mut); margin-left: 3px; }
.tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.tag { font-family: var(--d); font-weight: 700; font-size: 13px; line-height: 1; padding: 3px 6px; border: 1px solid var(--tc); color: var(--tc); border-radius: 2px; }
.tag.fill { background: var(--tc); color: var(--bg); }
details.desc { margin-top: 18px; font-size: 13px; color: var(--ink2); }
details.desc summary { cursor: pointer; padding: 10px 0; color: var(--mut); }
details.desc li { list-style: none; padding: 8px 0; border-top: 1px solid var(--line); }
details.desc li b { color: var(--ink); font-weight: 600; display: block; }

/* ── Ficha de partido ── */
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--ink2); font-size: 14px; margin: -6px 0 6px -4px; padding: 0 4px; }
.back:hover { color: var(--ink); }
.fh-meta { font-size: 12.5px; color: var(--mut); }
.fh-t { font-family: var(--d); font-weight: 800; font-size: 40px; line-height: .95; margin: 6px 0 12px; overflow-wrap: anywhere; }
.fh-t i { display: block; font-style: normal; font-size: 18px; font-weight: 600; color: var(--mut); margin: 4px 0; }
.odds { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line2); border-radius: 3px; margin-bottom: 10px; }
.odds div { padding: 8px 6px 7px; text-align: center; border-right: 1px solid var(--line); }
.odds div:last-child { border-right: 0; }
.odds small { display: block; font-size: 11px; color: var(--mut); }
.odds b { font-family: var(--d); font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fh-x { font-size: 13px; color: var(--ink2); margin-bottom: 4px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line2); border-radius: 3px; margin: 14px 0 14px; overflow: hidden; }
.seg button { min-height: 42px; font-size: 14px; color: var(--ink2); border-right: 1px solid var(--line2); transition: background .15s; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.pt { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--line); align-items: start; }
.pt-p { font-family: var(--d); font-weight: 800; font-size: 30px; line-height: .9; font-variant-numeric: tabular-nums; }
.pt-bar { height: 3px; background: var(--line); margin-top: 6px; position: relative; }
.pt-bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--ink2); }
.pt-t { font-weight: 600; font-size: 14.5px; line-height: 1.25; overflow-wrap: anywhere; }
.pt-s { font-size: 12px; color: var(--mut); margin-top: 2px; }
.pt-n { text-align: right; }
.pt-q { font-family: var(--d); font-weight: 700; font-size: 23px; line-height: 1; font-variant-numeric: tabular-nums; }
.pt-mb { font-size: 11px; color: var(--mut); white-space: nowrap; margin-top: 3px; font-variant-numeric: tabular-nums; }
.pt .tags { justify-content: flex-start; margin-top: 5px; }
.more { margin: 14px 0; }
.st-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.st-table th { font-weight: 600; text-align: right; padding: 6px 0; font-family: var(--d); font-size: 20px; }
.st-table th:first-child { text-align: left; font-family: var(--b); font-size: 12px; color: var(--mut); font-weight: 400; }
.st-table td { padding: 9px 0; border-top: 1px solid var(--line); text-align: right; font-family: var(--d); font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.st-table td:first-child { text-align: left; font-family: var(--b); font-weight: 400; font-size: 13.5px; color: var(--ink2); }
.st-table td.win { color: var(--ink); }
.st-table td.lose { color: var(--mut); }
.forma { display: inline-flex; gap: 3px; }
.forma i { width: 20px; height: 20px; font-style: normal; display: grid; place-items: center; font-size: 11px; font-weight: 700; border-radius: 2px; background: var(--panel2); color: var(--ink2); }
.forma i.G { background: var(--segura); color: #0c130e; }
.forma i.P { background: var(--bomba); color: #190b09; }
.blk { margin-top: 22px; }
.blk h2 { font-family: var(--d); font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.blk ul { list-style: none; }
.blk li { font-size: 13.5px; color: var(--ink2); padding: 8px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.jt { width: 100%; border-collapse: collapse; margin-top: 4px; }
.jt th { font-size: 11px; color: var(--mut); font-weight: 400; text-align: right; padding: 6px 0; }
.jt th:first-child { text-align: left; }
.jt td { padding: 8px 0; border-top: 1px solid var(--line); text-align: right; font-family: var(--d); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.jt td:first-child { text-align: left; font-family: var(--b); font-weight: 500; font-size: 14px; padding-right: 8px; }
.jt-eq { font-family: var(--d); font-weight: 700; font-size: 22px; margin: 20px 0 2px; }

/* ── Mis jugadas ── */
.sum { display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid var(--line2); border-radius: 4px; margin-bottom: 8px; background: var(--panel); }
.sum div { padding: 12px 10px 11px; border-right: 1px solid var(--line); min-width: 0; }
.sum div:last-child { border-right: 0; }
.sum small { display: block; font-size: 11.5px; color: var(--mut); margin-bottom: 4px; }
.sum b { font-family: var(--d); font-weight: 800; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; display: block; white-space: nowrap; }
.sum b.pos { color: var(--segura); }
.sum b.neg { color: var(--bomba); }
.sum-x { font-size: 12.5px; color: var(--mut); margin-bottom: 16px; }
.jg { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--tc); border-radius: 4px; margin-bottom: 12px; padding: 12px 14px; }
.jg-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.jg-n { font-family: var(--d); font-weight: 700; font-size: 22px; line-height: 1; color: var(--tc); }
.jg-f { font-size: 12px; color: var(--mut); margin-top: 4px; }
.jg-m { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0 8px; }
.jg-m small { display: block; font-size: 11px; color: var(--mut); }
.jg-m b { font-family: var(--d); font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; }
.jg details { font-size: 13px; }
.jg summary { cursor: pointer; color: var(--mut); padding: 6px 0; min-height: 32px; }
.jg details li { list-style: none; padding: 6px 0; border-top: 1px solid var(--line); color: var(--ink2); display: flex; justify-content: space-between; gap: 10px; }
.jg-a { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.jg-a .chip { min-height: 36px; font-size: 13px; padding: 0 11px; }
.jg-a .sp { flex: 1; }
.jg-a .del { color: var(--bomba); border-color: #5a2c26; }

/* ── Rendimiento / vacíos ── */
.vacio { border: 1px dashed var(--line2); border-radius: 4px; padding: 22px 16px; margin: 6px 0 18px; }
.vacio h2 { font-family: var(--d); font-size: 26px; font-weight: 700; line-height: 1.05; margin-bottom: 8px; }
.vacio p { color: var(--ink2); font-size: 14px; margin-top: 6px; }
.vacio .fig { font-family: var(--d); font-weight: 800; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.fantasma { opacity: .4; pointer-events: none; }
.rt { width: 100%; border-collapse: collapse; }
.rt th { font-size: 11.5px; font-weight: 400; color: var(--mut); text-align: right; padding: 6px 0; }
.rt th:first-child { text-align: left; }
.rt td { padding: 9px 0; border-top: 1px solid var(--line); text-align: right; font-family: var(--d); font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.rt td:first-child { text-align: left; font-family: var(--b); font-weight: 500; font-size: 14px; }
.rt td.dim { color: var(--mut); }
.rt small { display: block; font-family: var(--b); font-weight: 400; font-size: 11px; color: var(--mut); }
.cal { padding: 12px 0; border-top: 1px solid var(--line); }
.cal-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--ink2); margin-bottom: 8px; }
.cal-h b { font-family: var(--d); font-size: 20px; color: var(--ink); }
.cal-bar { position: relative; height: 10px; background: var(--bg); border: 1px solid var(--line); }
.cal-bar i { position: absolute; top: 0; bottom: 0; left: 0; background: var(--ink2); width: var(--w); }
.cal-bar u { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--media); left: var(--d); text-decoration: none; }
.cal-l { display: flex; justify-content: space-between; font-size: 12px; color: var(--mut); margin-top: 6px; }
.cal-l span:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--ink2); margin-right: 5px; }
.cal-l span:last-child::before { content: ""; display: inline-block; width: 2px; height: 10px; background: var(--media); margin-right: 5px; vertical-align: -1px; }
.cargando { color: var(--mut); padding: 30px 0; text-align: center; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (min-width: 640px) { body { font-size: 15.5px; } .tk-odds { font-size: 60px; } }
@media (max-width: 360px) { .tk-odds { font-size: 46px; } .sum b { font-size: 23px; } .fh-t { font-size: 34px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── Versión y modo de Partes ── */
.vers { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vers > span { font-size: 12px; color: var(--mut); margin-right: 2px; }
.vers .chip { min-height: 36px; }

/* ficha de liga de cada pata */
.leg-liga { grid-column: 2 / 4; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 11.5px; color: var(--mut); line-height: 1.35; }
.leg-liga .eq { overflow-wrap: anywhere; }
.leg-liga em { font-style: normal; font-weight: 700; font-size: 10.5px; color: var(--bg); background: var(--media); padding: 1px 5px; border-radius: 2px; }
.leg-abrir { grid-column: 2 / 4; display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-top: 6px; padding: 0 14px; border: 1px solid var(--ink2); border-radius: 3px; color: var(--ink); background: transparent; font-weight: 700; font-size: 14px; letter-spacing: .01em; text-decoration: none; transition: background .15s, color .15s, transform .1s; }
.leg-abrir { width: 100%; font-family: inherit; cursor: pointer; }
.leg-abrir span { font-size: 16px; }
.leg-abrir.ok { border-color: var(--segura); color: var(--segura); }
.leg-abrir.ok:hover { background: transparent; color: var(--segura); }
.leg-url { grid-column: 2 / 4; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 10px; font-size: 12px; color: var(--ink); background: var(--bg); border: 1px solid var(--media); border-radius: 3px; user-select: text; -webkit-user-select: text; }
.leg-url[hidden] { display: none; }
.leg-abrir:hover { background: var(--ink); color: var(--bg); }
.leg-abrir:active { transform: scale(.98); }
.leg-abrir:focus-visible { outline: 2px solid var(--media); outline-offset: 2px; }
