/* =====================================================================
   LOPIVI · Panel "Acta" — FFCV
   Estética: acta arbitral / marcador de estadio.
   Papel de acta, tinta azul FFCV, tarjetas amarilla y roja como señales.
   ===================================================================== */

:root {
  --azul: #003087;
  --azul-2: #0a3f9e;
  --noche: #001437;
  --oro: #ffd700;
  --oro-2: #f2c200;
  --rojo: #c8102e;
  --verde: #0f7a43;
  --papel: #f4f1e8;
  --papel-2: #fbf9f3;
  --tinta: #121a2e;
  --tinta-2: #3d4560;
  --gris: #77746a;
  --linea: #d8d2c1;
  --linea-2: #e8e3d5;
  --cond: "Roboto Condensed", "Roboto", "Arial Narrow", sans-serif;
  --text: "Roboto", "Segoe UI", Arial, sans-serif;
  --radio: 3px;
}

* { box-sizing: border-box; }
html, body.lp-body { margin: 0; padding: 0; }
body.lp-body {
  background: var(--papel);
  color: var(--tinta);
  font: 15px/1.45 var(--text);
  -webkit-font-smoothing: antialiased;
  /* trama muy sutil de papel milimetrado */
  background-image:
    linear-gradient(rgba(0, 48, 135, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 48, 135, .035) 1px, transparent 1px);
  background-size: 24px 24px;
  min-height: 100vh;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--azul); }
.lp-boot { padding: 80px 24px; text-align: center; font: 600 18px var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.num, .lp-num { font-family: var(--cond); font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------------
   CABECERA · túnel de vestuario
   --------------------------------------------------------------------- */
.lp-head {
  position: relative;
  overflow: hidden;
  background: var(--noche);
  color: #fff;
  border-bottom: 6px solid var(--oro);
}
.lp-head::before { /* césped rayado */
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 64px, transparent 64px 128px);
}
.lp-pitch { position: absolute; right: -40px; top: -30px; width: 520px; height: 260px; opacity: .22; pointer-events: none; }
.lp-head-in { position: relative; max-width: 1320px; margin: 0 auto; padding: 22px 28px 20px; display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.lp-kicker { font: 600 12px var(--cond); letter-spacing: .28em; text-transform: uppercase; color: var(--oro); display: flex; gap: 10px; align-items: center; }
.lp-kicker i { display: inline-block; width: 26px; height: 2px; background: var(--oro); }
.lp-title { margin: 6px 0 0; font: 800 44px/0.95 var(--cond); letter-spacing: .01em; text-transform: uppercase; }
.lp-title small { display: block; font: 500 15px var(--text); letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.72); margin-top: 8px; }
.lp-who { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.lp-who img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--oro); }
.lp-who b { display: block; font: 600 15px var(--cond); letter-spacing: .04em; text-transform: uppercase; }
.lp-who span { color: rgba(255,255,255,.65); }
.lp-out {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff !important; text-decoration: none !important;
  border: 1px solid rgba(255,255,255,.35); border-radius: var(--radio);
  padding: 7px 12px; font: 600 13px var(--cond); letter-spacing: .1em; text-transform: uppercase;
}
.lp-out:hover { border-color: var(--oro); color: var(--oro) !important; }

/* ---------------------------------------------------------------------
   MARCADOR · una placa por jornada
   --------------------------------------------------------------------- */
.lp-wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px 64px; }
.lp-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; margin-top: -1px; border: 1px solid var(--tinta); border-top: 0; background: var(--tinta); }
.lp-plate {
  position: relative; background: #0b1220; color: #fff;
  padding: 16px 18px 14px; border-right: 1px solid #263048; cursor: pointer;
  text-align: left; border-top: 0; border-left: 0; border-bottom: 0;
}
.lp-plate:last-child { border-right: 0; }
.lp-plate:hover, .lp-plate[aria-pressed="true"] { background: #111b31; }
.lp-plate[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--oro); }
.lp-plate h3 { margin: 0; font: 700 22px/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; }
.lp-plate .when { font: 500 13px var(--cond); letter-spacing: .12em; text-transform: uppercase; color: #9aa6c4; margin-top: 4px; }
.lp-plate .big { font: 800 68px/0.9 var(--cond); font-variant-numeric: tabular-nums; margin: 14px 0 8px; color: var(--oro); letter-spacing: -.01em; }
.lp-plate .big.zero { color: #4b5675; }
.lp-plate .sub { display: flex; gap: 16px; font-size: 12.5px; color: #c4cbe0; }
.lp-plate .sub b { font: 700 16px var(--cond); color: #fff; margin-right: 3px; }
.lp-plate.total { background: var(--azul); }
.lp-plate.total:hover { background: var(--azul-2); }
.lp-plate.total .big { color: #fff; }
.lp-state { position: absolute; top: 16px; right: 16px; font: 600 11px var(--cond); letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; color: #c4cbe0; }
.lp-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lp-state.abierta { color: #5fe39b; }
.lp-state.cerrada { color: #ff8a8a; }
.lp-state.finalizada { color: #8792ad; }
.lp-state.finalizada::before { border-radius: 1px; }

/* ---------------------------------------------------------------------
   EVOLUCIÓN
   --------------------------------------------------------------------- */
.lp-trend { display: grid; grid-template-columns: 1fr; margin: 22px 0 0; background: var(--papel-2); border: 1px solid var(--linea); }
.lp-trend header { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px 0; gap: 12px; flex-wrap: wrap; }
.lp-h { margin: 0; font: 700 15px var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--tinta); }
.lp-h em { font-style: normal; color: var(--gris); font-weight: 500; letter-spacing: .08em; }
.lp-chart { position: relative; padding: 6px 12px 10px; }
.lp-chart svg { display: block; width: 100%; height: 150px; overflow: visible; }
.lp-chart .grid { stroke: var(--linea-2); stroke-width: 1; }
.lp-chart .axis { fill: var(--gris); font: 500 11px var(--cond); letter-spacing: .06em; }
.lp-chart .area { fill: rgba(0, 48, 135, .08); }
.lp-chart .line { fill: none; stroke: var(--azul); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lp-chart .bar { fill: var(--oro-2); }
.lp-chart .cross { stroke: var(--tinta); stroke-width: 1; stroke-dasharray: 3 3; }
.lp-chart .dot { fill: var(--azul); stroke: var(--papel-2); stroke-width: 2; }
.lp-tip {
  position: absolute; pointer-events: none; transform: translate(-50%, -110%);
  background: var(--tinta); color: #fff; padding: 7px 10px; border-radius: var(--radio);
  font-size: 12px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.lp-tip b { font: 700 15px var(--cond); color: var(--oro); }
.lp-legend { display: flex; gap: 16px; font-size: 12px; color: var(--tinta-2); }
.lp-legend i { display: inline-block; width: 12px; height: 3px; vertical-align: middle; margin-right: 6px; background: var(--azul); }
.lp-legend i.b { height: 10px; width: 8px; background: var(--oro-2); }

/* ---------------------------------------------------------------------
   PESTAÑAS · secciones numeradas del acta
   --------------------------------------------------------------------- */
.lp-tabs { display: flex; gap: 0; margin: 28px 0 0; border-bottom: 2px solid var(--tinta); overflow-x: auto; scrollbar-width: none; }
.lp-tab {
  position: relative; background: none; border: 0; cursor: pointer;
  padding: 10px 22px 10px 0; margin-right: 18px;
  font: 700 19px var(--cond); letter-spacing: .06em; text-transform: uppercase; color: var(--gris); white-space: nowrap;
}
.lp-tab span { font: 600 12px var(--cond); color: var(--linea); margin-right: 8px; letter-spacing: .1em; }
.lp-tab[aria-selected="true"] { color: var(--tinta); }
.lp-tab[aria-selected="true"] span { color: var(--azul); }
.lp-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 22px; bottom: -2px; height: 5px; background: var(--azul); }
.lp-tab .badge { display: inline-block; margin-left: 8px; min-width: 20px; padding: 0 6px; font: 700 13px/20px var(--cond); text-align: center; color: var(--tinta); background: var(--oro); border-radius: 2px; transform: translateY(-2px); }

.lp-pane { padding-top: 18px; }

/* ---------------------------------------------------------------------
   BARRA DE HERRAMIENTAS
   --------------------------------------------------------------------- */
.lp-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.lp-search { position: relative; flex: 1 1 260px; }
.lp-search input { width: 100%; padding: 10px 12px 10px 38px; border: 1px solid var(--linea); background: #fff; border-radius: var(--radio); }
.lp-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--gris); }
.lp-tools select { padding: 9px 30px 9px 10px; border: 1px solid var(--linea); background: #fff; border-radius: var(--radio); max-width: 220px; }
.lp-search input:focus, .lp-tools select:focus, .lp-field input:focus, .lp-field select:focus, .lp-field textarea:focus {
  outline: 2px solid var(--azul); outline-offset: -1px; border-color: var(--azul);
}
.lp-count { font: 600 13px var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--gris); margin: 14px 0 8px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.lp-count b { color: var(--tinta); font-size: 15px; }

.lp-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 14px; border-radius: var(--radio); border: 1px solid var(--tinta);
  background: #fff; color: var(--tinta); text-decoration: none;
  font: 700 14px var(--cond); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.lp-btn:hover { background: var(--tinta); color: #fff; }
.lp-btn.pri { background: var(--azul); border-color: var(--azul); color: #fff; }
.lp-btn.pri:hover { background: var(--noche); border-color: var(--noche); }
.lp-btn.gold { background: var(--oro); border-color: var(--oro); color: var(--tinta); }
.lp-btn.gold:hover { background: var(--oro-2); border-color: var(--oro-2); color: var(--tinta); }
.lp-btn.ghost { border-color: transparent; background: transparent; padding: 6px 8px; }
.lp-btn.ghost:hover { background: var(--linea-2); color: var(--tinta); }
.lp-btn.danger { border-color: var(--rojo); color: var(--rojo); }
.lp-btn.danger:hover { background: var(--rojo); color: #fff; }
.lp-btn:disabled { opacity: .45; cursor: not-allowed; }
.lp-btn svg { width: 15px; height: 15px; }

.lp-bulk { display: none; align-items: center; gap: 10px; padding: 8px 12px; background: var(--tinta); color: #fff; border-radius: var(--radio); font-size: 13px; }
.lp-bulk.on { display: flex; flex-wrap: wrap; }
.lp-bulk .lp-btn { border-color: rgba(255,255,255,.4); background: transparent; color: #fff; padding: 6px 10px; font-size: 13px; }
.lp-bulk .lp-btn:hover { background: #fff; color: var(--tinta); }

/* ---------------------------------------------------------------------
   ALINEACIÓN · tabla tipo acta
   --------------------------------------------------------------------- */
.lp-sheet { background: #fff; border: 1px solid var(--tinta); }
.lp-table { width: 100%; border-collapse: collapse; }
.lp-table th {
  position: sticky; top: 0; z-index: 1; background: var(--tinta); color: #fff; text-align: left;
  font: 600 12px var(--cond); letter-spacing: .14em; text-transform: uppercase; padding: 9px 10px;
}
.lp-table th button { all: unset; cursor: pointer; }
.lp-table th button:hover { color: var(--oro); }
.lp-table td { padding: 10px; border-bottom: 1px solid var(--linea-2); vertical-align: top; font-size: 14px; }
.lp-table tr:nth-child(even) td { background: #fcfbf7; }
.lp-table tr:hover td { background: #f6f3e8; }
.lp-table td.chk, .lp-table th.chk { width: 34px; text-align: center; }
.lp-dorsal {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border: 2px solid var(--azul); border-radius: 50% 50% 46% 46%; color: var(--azul);
  font: 800 16px var(--cond); font-variant-numeric: tabular-nums;
}
.lp-club { font-weight: 600; }
.lp-meta { display: block; color: var(--gris); font-size: 12.5px; }
.lp-chip { display: inline-block; padding: 2px 8px; border: 1px solid var(--azul); color: var(--azul); border-radius: 2px; font: 700 12px var(--cond); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.lp-flags { display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.lp-card { display: inline-block; width: 11px; height: 15px; border-radius: 2px; box-shadow: 0 1px 0 rgba(0,0,0,.25); transform: rotate(-8deg); }
.lp-card.y { background: var(--oro); }
.lp-card.r { background: var(--rojo); }
.lp-flag { font: 600 11px var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-2); display: inline-flex; gap: 5px; align-items: center; }
tr.is-anulada td { color: #9b988e; }
tr.is-anulada .lp-club, tr.is-anulada .lp-name { text-decoration: line-through; text-decoration-color: var(--rojo); }
tr.is-anulada .lp-dorsal { border-color: #b8b4a8; color: #b8b4a8; }
.lp-actions { display: flex; gap: 2px; justify-content: flex-end; }
.lp-empty { padding: 48px 20px; text-align: center; color: var(--gris); }
.lp-empty b { display: block; font: 700 22px var(--cond); letter-spacing: .06em; text-transform: uppercase; color: var(--tinta); margin-bottom: 6px; }
.lp-obs { margin-top: 6px; padding: 6px 8px; border-left: 3px solid var(--oro); background: #fffbe0; font-size: 13px; color: var(--tinta-2); }
.lp-more { text-align: center; padding: 14px; }

/* ---------------------------------------------------------------------
   CALENDARIO · fichas de partido
   --------------------------------------------------------------------- */
.lp-fixtures { display: grid; gap: 12px; }
.lp-fixture { display: grid; grid-template-columns: 96px 1fr auto; background: #fff; border: 1px solid var(--linea); }
.lp-fixture.is-past { opacity: .72; }
.lp-date { background: var(--azul); color: #fff; display: grid; place-content: center; text-align: center; padding: 12px 6px; }
.lp-date .d { font: 800 40px/0.9 var(--cond); }
.lp-date .m { font: 600 13px var(--cond); letter-spacing: .2em; text-transform: uppercase; color: var(--oro); }
.lp-date .w { font: 500 11px var(--cond); letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-top: 2px; }
.lp-fixture.is-past .lp-date { background: #59607a; }
.lp-fx-body { padding: 14px 18px; }
.lp-fx-body h3 { margin: 0 0 2px; font: 700 24px/1.05 var(--cond); text-transform: uppercase; letter-spacing: .03em; }
.lp-fx-body p { margin: 0; color: var(--tinta-2); font-size: 14px; }
.lp-fx-stat { display: flex; gap: 18px; margin-top: 8px; font-size: 13px; color: var(--gris); }
.lp-fx-stat b { font: 700 18px var(--cond); color: var(--tinta); margin-right: 3px; }
.lp-fx-side { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; justify-content: center; padding: 12px 16px; border-left: 1px dashed var(--linea); }
.lp-pill { font: 700 12px var(--cond); letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; }
.lp-pill.abierta { background: #e2f5ea; color: var(--verde); }
.lp-pill.cerrada { background: #fde6e9; color: var(--rojo); }
.lp-pill.finalizada { background: var(--linea-2); color: var(--gris); }
.lp-fx-btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------------------------------------------------------------------
   INCIDENCIAS
   --------------------------------------------------------------------- */
.lp-incs { display: grid; gap: 16px; }
.lp-inc { background: #fff; border: 1px solid var(--linea); border-left: 6px solid var(--oro); }
.lp-inc.red { border-left-color: var(--rojo); }
.lp-inc.info { border-left-color: var(--azul); }
.lp-inc > header { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--linea-2); flex-wrap: wrap; }
.lp-inc h3 { margin: 0; font: 700 19px var(--cond); text-transform: uppercase; letter-spacing: .05em; display: flex; gap: 10px; align-items: center; }
.lp-inc p.why { margin: 2px 0 0; font-size: 13px; color: var(--gris); }
.lp-inc ul { list-style: none; margin: 0; padding: 0; }
.lp-inc li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--linea-2); align-items: center; flex-wrap: wrap; }
.lp-inc li:last-child { border-bottom: 0; }
.lp-clean { text-align: center; padding: 56px 20px; background: #fff; border: 1px solid var(--linea); }
.lp-clean b { display: block; font: 800 30px var(--cond); text-transform: uppercase; letter-spacing: .04em; color: var(--verde); }

/* ---------------------------------------------------------------------
   COMUNICADOS
   --------------------------------------------------------------------- */
.lp-compose { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 18px; align-items: start; }
.lp-paper { background: var(--papel-2); border: 1px solid var(--linea); padding: 18px; }
.lp-field { display: block; margin-bottom: 14px; }
.lp-field > span { display: block; font: 600 12px var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-2); margin-bottom: 5px; }
.lp-field input, .lp-field select, .lp-field textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--linea); background: #fff; border-radius: var(--radio); }
.lp-field textarea { min-height: 196px; resize: vertical; line-height: 28px; padding: 0 10px;
  background-image: repeating-linear-gradient(#fff 0 27px, #eef1f8 27px 28px); background-attachment: local; }
.lp-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 14px; }
.lp-tag { cursor: pointer; border: 1px dashed var(--azul); background: #fff; color: var(--azul); border-radius: 2px; padding: 2px 8px; font: 600 12px var(--cond); letter-spacing: .06em; }
.lp-tag:hover { background: var(--azul); color: #fff; }
.lp-recip { font: 700 34px var(--cond); color: var(--azul); line-height: 1; }
.lp-log { list-style: none; margin: 0; padding: 0; }
.lp-log li { padding: 10px 0; border-bottom: 1px dashed var(--linea); font-size: 13px; }
.lp-log li b { display: block; font-size: 14px; }

/* ---------------------------------------------------------------------
   CAJÓN LATERAL (edición) y DIÁLOGO
   --------------------------------------------------------------------- */
.lp-scrim { position: fixed; inset: 0; background: rgba(0, 20, 55, .45); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .2s; }
.lp-scrim.on { opacity: 1; pointer-events: auto; }
.lp-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100%); z-index: 51;
  background: var(--papel-2); box-shadow: -16px 0 40px rgba(0,0,0,.18);
  transform: translateX(105%); transition: transform .25s ease; display: flex; flex-direction: column;
  border-left: 6px solid var(--azul);
}
.lp-drawer.on { transform: none; }
.lp-drawer header { padding: 18px 22px 12px; border-bottom: 2px solid var(--tinta); display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.lp-drawer h2 { margin: 0; font: 800 26px/1 var(--cond); text-transform: uppercase; }
.lp-drawer .body { padding: 18px 22px; overflow: auto; flex: 1; }
.lp-drawer footer { padding: 14px 22px; border-top: 1px solid var(--linea); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lp-x { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--gris); }

.lp-dialog { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -46%); z-index: 60; width: min(440px, calc(100% - 32px)); background: #fff; border-top: 6px solid var(--oro); padding: 22px; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.lp-dialog.on { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.lp-dialog.red { border-top-color: var(--rojo); }
.lp-dialog h3 { margin: 0 0 8px; font: 800 24px var(--cond); text-transform: uppercase; }
.lp-dialog p { margin: 0 0 18px; color: var(--tinta-2); }
.lp-dialog .btns { display: flex; justify-content: flex-end; gap: 8px; }

/* Aviso tipo panel del cuarto árbitro */
.lp-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 70;
  background: #0b1220; color: var(--oro); border: 2px solid #263048; border-radius: 4px;
  padding: 12px 18px; font: 700 16px var(--cond); letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0,0,0,.3); transition: transform .25s ease, visibility .25s; max-width: calc(100% - 32px);
  visibility: hidden;
}
.lp-toast.on { transform: translate(-50%, 0); visibility: visible; }
.lp-toast.err { color: #ff9b9b; }

/* ---------------------------------------------------------------------
   PANTALLA DE ACCESO (misma estética)
   --------------------------------------------------------------------- */
.lp-login-stage { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--noche); position: relative; overflow: hidden; }
.lp-login-stage::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 80px, transparent 80px 160px); }
.lp-login-stage::after { content: ""; position: absolute; width: 520px; height: 520px; border: 2px solid rgba(255,255,255,.08); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.lp-login-stage .lopivi-auth-wrap { background: transparent !important; padding: 0 !important; position: relative; z-index: 1; }
.lp-login-stage .lopivi-auth-card { border-radius: 0 !important; border: 0 !important; box-shadow: 0 30px 80px rgba(0,0,0,.45) !important; background: var(--papel-2) !important; }
.lp-login-stage .lopivi-auth-head { background: var(--azul) !important; border-bottom: 6px solid var(--oro) !important; }
.lp-login-stage .lopivi-auth-head h2 { font: 800 30px/1 var(--cond) !important; text-transform: uppercase; }
.lp-login-stage .lopivi-auth-head .kicker { font-family: var(--cond) !important; letter-spacing: .24em !important; }

/* ---------------------------------------------------------------------
   MÓVIL
   --------------------------------------------------------------------- */
@media (max-width: 860px) {
  .lp-head-in, .lp-wrap { padding-left: 16px; padding-right: 16px; }
  .lp-title { font-size: 32px; }
  .lp-pitch { display: none; }
  .lp-board { grid-template-columns: 1fr 1fr; }
  .lp-plate { border-bottom: 1px solid #263048; padding: 12px 12px 10px; }
  .lp-plate.total { grid-column: 1 / -1; }
  .lp-plate .big { font-size: 44px; margin: 8px 0 6px; }
  .lp-plate h3 { font-size: 18px; }
  .lp-state { position: static; display: inline-flex; margin-bottom: 6px; }
  .lp-plate .sub { flex-direction: column; gap: 0; }
  .lp-compose { grid-template-columns: 1fr; }
  .lp-fixture { grid-template-columns: 78px 1fr; }
  .lp-fx-side { grid-column: 1 / -1; border-left: 0; border-top: 1px dashed var(--linea); flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .lp-table thead { display: none; }
  .lp-table, .lp-table tbody, .lp-table tr, .lp-table td { display: block; width: 100%; }
  .lp-table tr { border-bottom: 2px solid var(--linea); padding: 8px 0; position: relative; }
  .lp-table td { border: 0; padding: 4px 12px 4px 56px; }
  .lp-table td.dor { position: absolute; left: 0; top: 10px; width: 56px; padding: 0 0 0 10px; }
  .lp-table td.chk { position: absolute; right: 6px; top: 6px; width: auto; padding: 0; }
  .lp-actions { justify-content: flex-start; }
  .lp-row2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* v2.4.1: pantalla de acceso con la misma tipografía (Roboto) */
.lp-login-stage .lopivi-auth-wrap, .lp-login-stage .lopivi-auth-wrap * { font-family: var(--text) !important; }
.lp-login-stage .lopivi-auth-head h2, .lp-login-stage .lopivi-auth-head .kicker { font-family: var(--cond) !important; }