/* A-LAB — Lápiz y editor del nombre de la fecha (solo administrador). Solo tokens de alab-tokens.css. */
.fch-lapiz { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: 6px; padding: 0; border: 0; border-radius: var(--r-md); background: transparent; color: var(--ink-3); cursor: pointer; vertical-align: middle; flex: none; }
.fch-lapiz svg { width: 15px; height: 15px; }
.fch-lapiz:hover { background: var(--surface-2); color: var(--brand); }
.fch-lapiz:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.fch-pop { position: fixed; z-index: 10300; width: 280px; max-width: calc(100vw - 16px); padding: 14px 14px 12px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-float); font: 400 var(--fs-sm)/1.4 var(--font-ui); color: var(--ink-2); }
.fch-pop__l { display: block; margin-bottom: 6px; font: 500 var(--fs-xs)/1 var(--font-data); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.fch-pop__i { width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); font: 500 var(--fs-md)/1 var(--font-ui); color: var(--ink); box-sizing: border-box; }
.fch-pop__i:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.fch-pop__h { margin: 8px 0 0; font-size: var(--fs-xs); color: var(--ink-3); }
.fch-pop__e { margin: 8px 0 0; padding: 7px 10px; border-left: 2px solid var(--bad); background: var(--bad-bg); font-size: var(--fs-xs); color: var(--bad); }
.fch-pop__e[hidden] { display: none; }
.fch-pop__b { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.fch-pop__r { margin-left: auto; padding: 4px 2px; border: 0; background: none; color: var(--ink-3); font: 500 var(--fs-xs)/1 var(--font-ui); text-decoration: underline; cursor: pointer; }
.fch-pop__r:hover { color: var(--bad); }
.fch-pop__a { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; font-size: var(--fs-sm); color: var(--ink-2); }
.fch-pop__a label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.fch-pop__a input { accent-color: var(--brand); margin: 0; }
.fch-pop__r[hidden] { display: none; }
.tp-mcw { position: relative; }
.tp-mcw > .tp-mc { height: 100%; box-sizing: border-box; }
.tp-mcw > .fch-lapiz { position: absolute; top: 3px; right: 3px; margin: 0; width: 22px; height: 22px; }
/* Nombre del partido arriba del resultado: mismo estilo que "Finalizado" (Geist chico, gris secundario), sin fondo ni borde */
.tp-mc__nom { max-width: 160px; font: 500 10.5px/1.3 var(--font-ui); font-style: normal; color: var(--ink-3); text-align: center; overflow-wrap: anywhere; }
.tp-mc__tag { max-width: 96px; margin-top: 2px; padding: 1px 7px; border: 1px solid var(--brand-tint-2); border-radius: 999px; background: var(--brand-tint); color: var(--brand-ink); font: 500 10px/1.4 var(--font-ui); font-style: normal; text-align: center; overflow-wrap: anywhere; }
.tp-fx__bar .fch-lapiz { margin: 0 2px; }
/* Video de cada partido en el fixture (torneos-pro2.js): ícono para todos si hay video; botón de edición solo para el administrador. */
.tp-mcw > .tp-vid, .tp-mcw > .tp-vid-ed { position: absolute; top: 3px; display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: var(--r-md); background: transparent; cursor: pointer; }
.tp-mcw > .tp-vid { left: 3px; color: var(--brand); }
.tp-mcw > .tp-vid-ed { right: 27px; color: var(--ink-3); }
.tp-mcw > .tp-vid-ed.is-on { color: var(--brand); }
.tp-vid svg, .tp-vid-ed svg { width: 15px; height: 15px; }
.tp-vid:hover, .tp-vid-ed:hover { background: var(--surface-2); color: var(--brand); }
.tp-vid:focus-visible, .tp-vid-ed:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
/* Video del jugador (alab-video-jugador.js): lápiz solo para el administrador, en el explorador y en el perfil. Verde = ya tiene video. */
.vj-ed { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: var(--r-md); background: transparent; color: var(--ink-3); cursor: pointer; flex: none; vertical-align: middle; touch-action: manipulation; }
.vj-ed svg { width: 15px; height: 15px; }
.vj-ed.is-on { color: var(--brand); }
.vj-ed:hover { background: var(--surface-2); color: var(--brand); }
.vj-ed:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.vj-ed__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vj-ed--hero { position: relative; display: inline-flex; gap: 6px; width: auto; height: 28px; padding: 0 10px; border: 1px solid var(--line-strong); background: var(--surface); font: 500 var(--fs-xs)/1 var(--font-ui); color: var(--ink-2); }
.vj-ed--hero .vj-ed__t { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.vj-ed--hero.is-on { border-color: var(--brand-tint-2); color: var(--brand); }
.vj-ed--card { position: absolute; right: 40px; top: 9px; }
/* En la fila de la tabla: angosto (no le saca lugar al nombre) y tenue hasta pasar por la fila, como el marcador de Mi lista. */
.nameCell .vj-ed { width: 24px; height: 26px; margin: 0 -6px; opacity: .45; }
tr:hover .nameCell .vj-ed, .nameCell .vj-ed.is-on, .nameCell .vj-ed:focus-visible { opacity: 1; }
@media (hover: none) { .nameCell .vj-ed { opacity: 1; } }
.pf-video-lapiz { display: inline-flex; align-self: center; }
.pf-video-ext { min-height: 220px; }
.pf-video-ext[hidden] { display: none; }
.ju-card__v { width: 18px; height: 18px; margin-left: 4px; vertical-align: -3px; }
.vj-pop__n { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.vj-conf { margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bad-bg); }
.vj-conf[hidden], .vj-pop .fch-pop__b[hidden] { display: none; }
.vj-conf__t { margin: 0; font-size: var(--fs-sm); color: var(--ink); overflow-wrap: anywhere; }
.vj-conf .fch-pop__b { margin-top: 10px; }
