/* ============================================================
   PASIÓN MANAGER · estilo "PES clásico": azul profundo y dorado
   ============================================================ */
:root {
  --fondo: #040b22; --panel: rgba(12, 30, 78, .78); --panel2: #102a66; --borde: rgba(110, 150, 235, .22); --texto: #eaf1ff; --suave: #94acd9;
  --verde: #45d483; --verde2: #24a85e; --oro: #e2bb55; --oro2: #f7dc8a; --oro3: #a8812a; --rojo: #ef5050; --azul: #3aa0ff; --cian: #6fdcff; --naranja: #ff9b3d;
  --cesped1: #1e7a3c; --cesped2: #1a6d35;
  --ruido: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .75 0 0 0 0 .82 0 0 0 0 1 0 0 0 .55 -.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --dorado: linear-gradient(90deg, #7a5a1a, #e2bb55 25%, #fff0b8 50%, #e2bb55 75%, #7a5a1a);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  color: var(--texto); font-family: 'Bahnschrift', 'Segoe UI', system-ui, sans-serif; font-size: 15px;
  background-color: #040b22;
  background-image:
    var(--ruido),
    radial-gradient(ellipse 70% 55% at 12% -5%, rgba(46, 104, 230, .42), transparent 62%),
    radial-gradient(ellipse 60% 50% at 95% 105%, rgba(24, 70, 190, .40), transparent 60%),
    radial-gradient(ellipse 40% 35% at 70% 30%, rgba(80, 60, 200, .16), transparent 70%),
    repeating-linear-gradient(118deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 11px),
    linear-gradient(165deg, #071741 0%, #030a20 48%, #061a4d 100%);
  background-attachment: fixed;
}
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }
b { color: #fff; }
a { color: var(--oro2); }
.oculto { display: none !important; }

/* ---------- Pantalla de inicio ---------- */
.portada { min-height: 100vh; position: relative; overflow: hidden; }
.portada-fondo { position: fixed; inset: 0; z-index: 0; }
.portada-fondo svg { width: 100%; height: 100%; }
.portada::before { content: ''; position: fixed; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(3, 10, 32, .55), rgba(3, 10, 32, .93) 55%), var(--ruido); }
.portada-int { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding: 40px 20px; }
.logo { text-align: center; margin-bottom: 26px; }
.logo h1 { font-size: 56px; margin: 0; letter-spacing: 3px; font-weight: 800; text-transform: uppercase; font-style: italic; text-shadow: 0 4px 24px rgba(0, 0, 0, .7), 0 0 30px rgba(60, 130, 255, .35); }
.logo h1 span { background: var(--dorado); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo p { color: var(--oro2); margin: 6px 0 0; font-size: 15px; letter-spacing: 4px; text-transform: uppercase; opacity: .85; }
.logo svg { display: block; margin: 0 auto 10px; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .6)); }
.bienvenida { text-align: center; font-size: 16px; line-height: 1.55; }
.bienvenida p { margin: 0; }
.bienv-tit { font-size: 28px; font-weight: 800; font-style: italic; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.bienv-sub { font-size: 19px; font-weight: 700; font-style: italic; background: var(--dorado); -webkit-background-clip: text; background-clip: text; color: transparent; margin-top: 2px; }
.bienv-sep { width: 70px; height: 2px; margin: 14px auto; background: linear-gradient(90deg, transparent, var(--oro), transparent); }
.bienv-falta { margin-top: 10px !important; font-size: 18px; }
.caja-bienv { max-width: 480px; margin: 0 auto; padding: 22px 26px; border-radius: 16px; background: rgba(6, 18, 52, .42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(226, 187, 85, .35); box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.inicio-portada::before { background: linear-gradient(180deg, rgba(3, 10, 32, .6), rgba(3, 10, 32, .25) 40%, rgba(3, 10, 32, .55) 75%, rgba(3, 10, 32, .85)) !important; }
.inicio-portada .portada-fondo .foto-real img { filter: brightness(.8) saturate(1.1); }
.inicio-portada .portada-int { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 20px; padding-bottom: 20px; }
.inicio-portada .logo { margin-bottom: 18px; }
.inicio-portada .logo h1, .inicio-portada .logo p { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .9)); }
.portada-pie { text-align: center; margin-top: 18px; font-size: 12.5px; color: rgba(255, 255, 255, .7); text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.btn-continuar.grande { font-size: 20px; padding: 14px 34px; }
.slots-partidas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 800px) { .slots-partidas { grid-template-columns: 1fr; } }
.escudo-real { object-fit: contain; flex-shrink: 0; vertical-align: middle; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.marca-det { margin-top: 8px; padding: 8px 10px; border-radius: 6px; background: rgba(8, 22, 64, .55); border-left: 3px solid rgba(226, 187, 85, .7); }
.marca-det select { width: 100%; margin-top: 2px; }
.ent-op { padding: 9px 11px; margin-top: 8px; border-radius: 6px; cursor: pointer; background: rgba(8, 22, 64, .6); border: 1px solid rgba(90, 130, 220, .3); transition: .12s; }
.ent-op:hover { border-color: rgba(226, 187, 85, .6); }
.ent-op.sel { border: 1px solid var(--oro); background: linear-gradient(90deg, rgba(226, 187, 85, .18), rgba(8, 22, 64, .7)); }
.ent-op .t { font-weight: 700; }
.ent-grid .card h3 { margin-bottom: 4px; }
.aceptar-pedido { justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 6px; background: rgba(226, 187, 85, .1); border: 1px solid rgba(226, 187, 85, .4); }
.tac-cab { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: -8px 0 8px; }
.tac-cab .titulo { margin: 0; }
.tac-grid { display: grid; grid-template-columns: minmax(300px, 494px) minmax(300px, 1fr) minmax(230px, 380px); gap: 12px; align-items: start; }
@media (max-width: 1250px) { .tac-grid { grid-template-columns: minmax(300px, 494px) 1fr; } .tac-grid > :last-child { grid-column: 1 / -1; } }
.tac-cancha { max-width: 494px; width: min(494px, calc((100vh - 175px) * 68 / 90)); margin: 0; }
/* Tácticas: la cancha es una pizarra del vestuario (marco de madera, tiza e imanes) */
.cancha.tac-cancha {
  background:
    radial-gradient(ellipse 40% 22% at 28% 18%, rgba(255, 255, 255, .07), transparent 70%),
    radial-gradient(ellipse 35% 18% at 72% 70%, rgba(255, 255, 255, .06), transparent 70%),
    radial-gradient(ellipse 50% 30% at 50% 45%, rgba(255, 255, 255, .035), transparent 70%),
    linear-gradient(160deg, #24453a, #1b362c 55%, #183026);
  border: 12px solid transparent; border-image: linear-gradient(135deg, #7a4b26, #b07a44 22%, #6b3f1e 48%, #a06a36 72%, #5c3518) 1;
  border-radius: 0; box-shadow: inset 0 0 50px rgba(0, 0, 0, .55), 0 6px 18px rgba(0, 0, 0, .55);
}
.cancha.tac-cancha::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px), repeating-linear-gradient(25deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 13px); }
.tac-cancha .slot { z-index: 1; } .tac-cancha .slot.arrastrando { z-index: 5; }
.tac-cancha .linea { border-color: rgba(238, 236, 222, .55); border-width: 2px; box-shadow: 0 0 2px rgba(238, 236, 222, .35); }
.tac-cancha .medio { border-style: dashed; }
.tac-cancha .slot .ficha { border: 3px solid rgba(250, 250, 245, .9); box-shadow: 0 3px 0 rgba(0, 0, 0, .35), 0 5px 10px rgba(0, 0, 0, .45), inset 0 -3px 0 rgba(0, 0, 0, .18), inset 0 2px 0 rgba(255, 255, 255, .35); }
.tac-cancha .slot .psl { color: rgba(238, 236, 222, .75); }
.tac-cancha .slot.vacio .ficha { background: transparent !important; border: 2px dashed rgba(238, 236, 222, .7); color: #eee; }
.tac-banco { padding: 12px; }
.tac-banco h3 { margin: 0 0 8px; }
.tac-grid h3 { font-size: 14.5px; margin-bottom: 8px; } .tac-grid .chico { font-size: 12.5px; } /* Tácticas entra sin scroll */
.scroll-lista.tac-lista { max-height: min(520px, calc(100vh - 264px)); min-height: 300px; }
.tac-cab .chico { font-size: 12.5px; }
.tac-lista td, .tac-lista th { padding: 4px 4px; font-size: 13px; }
.tac-lista td:nth-child(2) { max-width: 104px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tac-lista .barra { min-width: 0; }
.tac-lista .est2 { width: 40px; } .tac-lista .est2 .barra { height: 4px; margin: 2px 0; }
.tac-lista th { font-size: 10.5px; letter-spacing: .3px; }
.tac-grid .consejos { margin-top: 12px; }
.tac-grid .consejos .consejo { font-size: 13px; padding: 8px 10px; }
.selectores { display: grid; gap: 8px; }
.selector-cab { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px; cursor: pointer; background: rgba(8, 22, 64, .7); border: 1px solid rgba(90, 130, 220, .35); transition: .12s; }
.selector-cab:hover, .selector.abierto .selector-cab { border-color: rgba(226, 187, 85, .7); }
.selector-cab b { color: #f3d77a; }
.selector-cab .flecha { color: #f3d77a; font-size: 14px; }
.selector-ops { margin: 6px 0 4px; }
.consejos .consejo { margin-top: 10px; padding: 10px 12px; border-radius: 6px; background: rgba(8, 22, 64, .6); border-left: 3px solid rgba(226, 187, 85, .7); font-size: 14px; line-height: 1.45; }
.consejos .consejo.ok { border-left-color: #3ecf7a; }
.cambios-vivo { display: grid; grid-template-columns: 1fr 1fr 260px; gap: 12px; }
@media (max-width: 900px) { .cambios-vivo { grid-template-columns: 1fr; } }
.cv-lista .fila { padding: 5px 6px; border-radius: 5px; cursor: pointer; font-size: 13px; }
.cv-lista .fila:hover { background: rgba(90, 130, 220, .2); }
.cv-lista .fila.sel { background: #1c3f8f; outline: 1px solid #f3d77a; }
.cv-lista .fila.off { opacity: .4; cursor: default; }
.cancha.mini { max-width: 260px; }
.cv-lista .fila.cv-pend { background: rgba(226, 187, 85, .14); outline: 1px dashed rgba(226, 187, 85, .7); cursor: default; }
.cancha.mini .slot.pend .ficha { box-shadow: 0 0 0 3px #f3d77a; }
.cancha.mini .slot { width: 70px; }
.cancha.mini .ficha { width: 30px; height: 30px; font-size: 11px; border-width: 2px; }
.cancha.mini .nom { font-size: 10px; }
.btn-sonido { font-size: 18px; padding: 6px 10px; line-height: 1; }
.portada-sonido { position: fixed; top: 14px; right: 16px; z-index: 5; }
.prospectos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; white-space: normal; }
@media (max-width: 800px) { .prospectos { grid-template-columns: 1fr; } }
.prospecto { padding: 10px 12px; border-radius: 8px; background: rgba(8, 22, 64, .75); border: 1px solid rgba(226, 187, 85, .45); }
.prospecto-info { line-height: 1.45; font-style: italic; }
.oculto { display: none !important; }
.slot-partida { padding: 14px; border-radius: 8px; background: rgba(8, 22, 64, .75); border: 1px solid rgba(226, 187, 85, .55); min-height: 150px; }
.slot-partida.vacio { border-style: dashed; border-color: rgba(120, 150, 220, .45); }
.slot-partida.fin { opacity: .8; border-color: rgba(220, 80, 80, .6); }
.slot-num { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #f3d77a; margin-bottom: 8px; }
.slot-dt { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.logo .pelota { font-size: 46px; display: inline-block; animation: girar 6s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.caja { background: linear-gradient(180deg, rgba(16, 40, 100, .9), rgba(7, 20, 56, .94)); border: 1px solid rgba(226, 187, 85, .45); border-radius: 12px; padding: 18px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08); }
.grid-clubes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.club-op { background: linear-gradient(180deg, #14317a, #0b1d4e); border: 1px solid var(--borde); border-radius: 8px; padding: 10px 6px; text-align: center; cursor: pointer; transition: .15s; }
.club-op:hover { border-color: rgba(226, 187, 85, .6); transform: translateY(-2px); }
.club-op.sel { border-color: var(--oro); box-shadow: 0 0 0 2px rgba(226, 187, 85, .35), 0 0 22px rgba(226, 187, 85, .25); background: linear-gradient(180deg, #1d48b0, #0f2865); }
.club-op .nom { font-weight: 600; margin-top: 4px; font-size: 13px; }
.estrellas { color: var(--oro); font-size: 11px; letter-spacing: 1px; }

/* ---------- Layout principal ---------- */
.layout { display: grid; grid-template-columns: 214px 1fr; grid-template-rows: 66px 1fr; height: 100vh; }
.cabecera { grid-column: 1 / 3; display: flex; align-items: center; gap: 16px; padding: 0 18px; position: relative;
  background: linear-gradient(180deg, rgba(36, 86, 200, .55), rgba(10, 28, 80, .92)), var(--ruido); box-shadow: 0 4px 18px rgba(0, 0, 0, .45); }
.cabecera::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--dorado); opacity: .85; }
.cabecera .club { display: flex; align-items: center; gap: 10px; min-width: 240px; }
.cabecera .club .n { font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: .5px; font-style: italic; }
.cabecera .club .dt { color: var(--oro2); font-size: 12px; opacity: .9; }
.cabecera .fecha { flex: 1; text-align: center; font-weight: 700; color: var(--cian); letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; text-shadow: 0 0 12px rgba(111, 220, 255, .35); }
.indicadores { display: flex; gap: 18px; align-items: center; }
.ind { font-size: 11px; color: var(--suave); text-transform: uppercase; letter-spacing: .5px; }
.ind .v { font-size: 15px; color: var(--texto); font-weight: 700; display: block; text-transform: none; letter-spacing: 0; }
.mini-barra { width: 70px; height: 6px; background: rgba(0, 0, 0, .45); border-radius: 4px; overflow: hidden; margin-top: 3px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.mini-barra i { display: block; height: 100%; border-radius: 4px; }
@media (max-width: 1350px) { .cabecera .fecha { font-size: 11px; } .indicadores { gap: 10px; } .mini-barra { width: 52px; } .cabecera .club { min-width: 190px; } }
@media (max-width: 1150px) { .cabecera .fecha { display: none; } .ind:nth-child(5) { display: none; } }
.btn-continuar { background: linear-gradient(180deg, #ffe9a3 0%, #e7bd52 45%, #b98a26 100%); color: #1a1000; border: 1px solid #fff2c2; border-radius: 6px; padding: 11px 22px; font-weight: 800; font-size: 15px; letter-spacing: .8px; text-transform: uppercase; font-style: italic;
  box-shadow: 0 4px 16px rgba(226, 187, 85, .35), inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(0, 0, 0, .2); text-shadow: 0 1px 0 rgba(255, 255, 255, .4); }
.btn-continuar:hover { filter: brightness(1.08); box-shadow: 0 4px 22px rgba(226, 187, 85, .6), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn-continuar:disabled { filter: grayscale(.7); }
.lateral { background: linear-gradient(180deg, rgba(8, 22, 62, .92), rgba(4, 12, 36, .96)), var(--ruido); border-right: 1px solid rgba(226, 187, 85, .25); padding: 12px 8px; overflow-y: auto; }
.nav { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 4px; color: #b8c9ec; cursor: pointer; font-weight: 600; margin-bottom: 3px; position: relative; border: 1px solid transparent; transition: .12s; }
.nav:hover { background: linear-gradient(90deg, rgba(50, 110, 240, .35), rgba(50, 110, 240, .05)); color: #fff; }
.nav.act { background: linear-gradient(90deg, #2c64e0, #163a94 70%, rgba(22, 58, 148, .4)); color: var(--oro2); border-color: rgba(226, 187, 85, .55); box-shadow: inset 4px 0 0 var(--oro), 0 0 14px rgba(44, 100, 224, .45); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.nav .ico { width: 22px; text-align: center; font-size: 16px; }
.badge { background: var(--rojo); color: #fff; border-radius: 10px; padding: 1px 7px; font-size: 11px; margin-left: auto; font-weight: 700; }
.principal { overflow-y: auto; padding: 20px 24px 40px; }
h2.titulo { margin: 0 0 16px; font-size: 25px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; font-style: italic; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); padding-bottom: 8px; position: relative; }
h2.titulo::after { content: ''; position: absolute; left: 0; bottom: 0; width: 260px; max-width: 60%; height: 2px; background: linear-gradient(90deg, var(--oro), transparent); }
h3 { margin: 0 0 12px; font-size: 16px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--oro); font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }

.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.g-21 { grid-template-columns: 2fr 1fr; } .g-12 { grid-template-columns: 1fr 2fr; }
@media (max-width: 1100px) { .g3, .g4 { grid-template-columns: 1fr 1fr; } .g-21, .g-12 { grid-template-columns: 1fr; } }
.card { background: linear-gradient(180deg, rgba(20, 48, 118, .82), rgba(8, 22, 62, .86)), var(--ruido); border: 1px solid var(--borde); border-radius: 8px; padding: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .07); }
.card.destacada { background: linear-gradient(135deg, rgba(40, 92, 210, .75), rgba(10, 28, 80, .9) 70%), var(--ruido); border: 1px solid rgba(226, 187, 85, .7); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .45), inset 0 0 30px rgba(226, 187, 85, .08); }

/* ---------- Tablas ---------- */
table { width: 100%; border-collapse: collapse; }
th { text-align: left; color: var(--oro2); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; padding: 8px 6px; border-bottom: 1px solid rgba(226, 187, 85, .35); cursor: default; white-space: nowrap; background: rgba(0, 0, 0, .18); }
th.ord { cursor: pointer; } th.ord:hover { color: #fff; }
td { padding: 7px 6px; border-bottom: 1px solid rgba(90, 130, 220, .14); white-space: nowrap; }
tr:nth-child(even) td { background: rgba(255, 255, 255, .018); }
tr.click { cursor: pointer; } tr.click:hover td { background: rgba(58, 160, 255, .12); }
tr.mio td { background: linear-gradient(90deg, rgba(226, 187, 85, .22), rgba(226, 187, 85, .06)); font-weight: 700; }
.num { text-align: center; }

.media { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 24px; padding: 0 5px; border-radius: 4px; font-weight: 800; color: #08130c; font-size: 13px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(0, 0, 0, .25); }
.pos { display: inline-block; min-width: 38px; text-align: center; padding: 2px 4px; border-radius: 3px; font-size: 11px; font-weight: 800; letter-spacing: .3px; }
.pos.POR { background: #f5c542; color: #2a1f00; } .pos.DEF { background: #2f7bff; color: #fff; } .pos.MED { background: #25b562; color: #fff; } .pos.DEL { background: #e8414b; color: #fff; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 12px; font-weight: 700; }
.tag.les { background: rgba(239, 75, 75, .2); color: #ff9a9a; } .tag.sus { background: rgba(226, 187, 85, .2); color: var(--oro2); border: 1px solid rgba(226, 187, 85, .4); }
.tag.tr { background: rgba(58, 160, 255, .2); color: #9fd0ff; } .tag.esp { background: rgba(69, 212, 131, .2); color: var(--verde); }
.tag.ir { background: rgba(255, 155, 61, .2); color: var(--naranja); } .tag.cl { background: rgba(239, 75, 75, .25); color: #ffb8b8; }
.forma { display: inline-flex; gap: 3px; }
.forma i { width: 18px; height: 18px; border-radius: 3px; font-style: normal; font-size: 10px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.forma .G { background: var(--verde2); } .forma .E { background: #5d6f95; } .forma .P { background: #c43b3b; }
.barra { height: 8px; background: rgba(0, 0, 0, .4); border-radius: 4px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.barra i { display: block; height: 100%; border-radius: 4px; background-image: linear-gradient(180deg, rgba(255, 255, 255, .25), transparent); }
.suave { color: var(--suave); } .chico { font-size: 13.5px; }
/* las tablas son densas: mantienen su tamaño para no desbordar */
table { font-size: 14px; } table .chico { font-size: 12.5px; } table .tag { font-size: 11px; }
/* Inicio: izquierda (próximo partido + 3 tarjetas angostas), derecha (tabla anual + copa) */
.ini-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 14px; align-items: start; }
.ini-izq .card.destacada { display: flex; flex-direction: column; }
.prox-wrap { display: flex; align-items: center; gap: 16px; }
.prox-info { flex: 1; min-width: 0; }
.btn-analisis { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 22px; min-width: 150px; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 800; font-size: 15px; line-height: 1.2; text-align: center; color: #1a1400; background: linear-gradient(180deg, #f3d27a, #c9982e); border: 1px solid rgba(255, 230, 150, .9); box-shadow: 0 6px 18px rgba(0, 0, 0, .4); transition: transform .12s, filter .12s; }
.btn-analisis:hover { transform: translateY(-2px); filter: brightness(1.08); }
@media (max-width: 760px) { .prox-wrap { flex-direction: column; align-items: stretch; } }
.ini-situ {margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(226, 187, 85, .25); }
.ini-cards .card { padding: 12px 14px; min-width: 0; }
.ini-cards .card h3 { font-size: 14.5px; }
.anual-mini { max-height: min(430px, calc(100vh - 430px)); min-height: 220px; overflow-y: auto; }
.anual-mini td, .anual-mini th { padding: 3px 5px; font-size: 13px; }
@media (max-width: 1100px) { .ini-layout { grid-template-columns: 1fr; } }
/* Inicio: indicadores en una línea */
.inicio .indic { display: grid; grid-template-columns: 118px 1fr; align-items: center; gap: 6px 10px; margin-top: 12px; }
.inicio .indic span { color: var(--suave); font-size: 13px; }
.inicio .indic .barra, .inicio .indic > div { margin: 0; }
.inicio .gol-lin { padding: 2px 0; }
.fila { display: flex; align-items: center; gap: 10px; } .entre { justify-content: space-between; } .wrap { flex-wrap: wrap; }
.mt { margin-top: 12px; } .mb { margin-bottom: 12px; }

/* ---------- Botones ---------- */
.btn { background: linear-gradient(180deg, #1d4296, #112a66); color: var(--texto); border: 1px solid rgba(120, 160, 240, .35); border-radius: 4px; padding: 8px 14px; font-weight: 600; font-size: 13px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); transition: .1s; }
.btn:hover { border-color: var(--oro); color: #fff; background: linear-gradient(180deg, #2756bd, #163780); }
.btn.prim { background: linear-gradient(180deg, #3b7bff, #1a4cc4); border-color: var(--oro); color: #fff; box-shadow: 0 0 12px rgba(59, 123, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.prim:hover { filter: brightness(1.12); }
.btn.peligro { border-color: #8a2f2f; color: #ffb0b0; background: linear-gradient(180deg, #4a1a24, #2a0e16); }
.btn.sel { background: linear-gradient(180deg, #e7bd52, #a87e22); border-color: #fff0b8; color: #1a1000; font-weight: 800; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.grupo-btn { display: flex; gap: 6px; flex-wrap: wrap; }
.comp-sel { display: flex; gap: 0; border: 1px solid rgba(226, 187, 85, .45); border-radius: 6px; overflow: hidden; width: fit-content; }
.comp-sel button { font: inherit; font-weight: 700; font-size: 14px; padding: 9px 18px; cursor: pointer; color: var(--texto); background: rgba(8, 22, 64, .7); border: 0; border-right: 1px solid rgba(226, 187, 85, .3); }
.comp-sel button:last-child { border-right: 0; }
.comp-sel button.sel { background: linear-gradient(180deg, #e2bb55, #a8812a); color: #1a1000; }
.comp-sel button.sel .suave { color: #3a2a00; }
.mini-tabs { display: flex; gap: 3px; }
.mini-tabs button { font: inherit; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 3px; cursor: pointer; color: var(--suave); background: rgba(0, 0, 0, .25); border: 1px solid rgba(120, 150, 220, .3); }
.mini-tabs button.sel { color: #1a1000; background: var(--oro); border-color: var(--oro); }
input[type=text], input[type=number], select { background: rgba(3, 10, 32, .75); color: var(--texto); border: 1px solid var(--borde); border-radius: 4px; padding: 8px 10px; font-size: 13px; }
input[type=text]:focus, input[type=number]:focus, select:focus { outline: none; border-color: var(--oro); }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--oro); }

/* ---------- Cancha ---------- */
.cancha { position: relative; width: 100%; max-width: 520px; aspect-ratio: 68 / 90; margin: 0 auto; border-radius: 6px; overflow: hidden;
  background: repeating-linear-gradient(0deg, var(--cesped1) 0 9%, var(--cesped2) 9% 18%); border: 3px solid rgba(255, 255, 255, .75); box-shadow: inset 0 0 60px rgba(0, 0, 0, .35), 0 0 0 2px rgba(226, 187, 85, .5); }
.cancha .linea { position: absolute; border: 2px solid rgba(255, 255, 255, .6); }
.cancha .medio { left: 0; right: 0; top: 50%; height: 0; border-width: 2px 0 0 0; }
.cancha .circulo { width: 26%; aspect-ratio: 1; left: 37%; top: 50%; transform: translateY(-50%); border-radius: 50%; }
.cancha .area-inf { left: 22%; right: 22%; bottom: -2px; height: 16%; }
.cancha .area-sup { left: 22%; right: 22%; top: -2px; height: 16%; }
.cancha .chica-inf { left: 37%; right: 37%; bottom: -2px; height: 6%; }
.cancha .chica-sup { left: 37%; right: 37%; top: -2px; height: 6%; }
.slot { position: absolute; transform: translate(-50%, 50%); text-align: center; cursor: pointer; width: 96px; }
.slot .ficha { width: 42px; height: 42px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); transition: .12s; }
.slot:hover .ficha { transform: scale(1.1); }
.slot.sel .ficha { box-shadow: 0 0 0 4px var(--oro), 0 3px 8px rgba(0, 0, 0, .45); }
.slot .nom { margin-top: 3px; background: rgba(4, 12, 40, .78); border-radius: 3px; padding: 1px 4px; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot .psl { font-size: 10px; color: #cfe; }
.slot.arrastrable { cursor: grab; touch-action: none; user-select: none; }
.cancha { user-select: none; -webkit-user-select: none; }
.slot.arrastrando { cursor: grabbing; z-index: 5; transition: none; }
.slot.arrastrando .ficha { transform: scale(1.18); box-shadow: 0 0 0 4px var(--oro), 0 8px 18px rgba(0, 0, 0, .6); }
.plan .plan-ayu { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.plan-op { text-align: center; }
.marca-fila { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.marca-fila select { width: auto; max-width: 230px; }
.pchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 12px; }
.pchip { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(8, 22, 64, .7); border: 1px solid rgba(90, 130, 220, .4); white-space: nowrap; cursor: default; }
.pchip.warn { border-color: rgba(230, 150, 60, .7); background: rgba(90, 45, 10, .45); }
.plan-ops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan-op { position: relative; padding: 12px 10px 10px; border-radius: 8px; cursor: pointer; background: rgba(8, 22, 64, .7); border: 1px solid rgba(90, 130, 220, .35); transition: .12s; }
.plan-op:hover { border-color: rgba(226, 187, 85, .7); }
.plan-op.sel { border: 2px solid var(--oro); background: linear-gradient(180deg, rgba(226, 187, 85, .16), rgba(8, 22, 64, .8)); box-shadow: 0 0 14px rgba(226, 187, 85, .25); }
.plan-ico { font-size: 22px; }
.plan-rec { position: absolute; top: -9px; right: 8px; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 10px; background: linear-gradient(180deg, #f3d77a, #b8912f); color: #1a1405; }
.plan-tac { margin-top: 6px; color: #f3d77a; }
.plan-tabla { width: 100%; font-size: 12px; margin-top: 4px; }
.plan-tabla td { padding: 3px 4px; }
.plan-tabla select, .plan select { max-width: 100%; }
.consulta-top { display: flex; align-items: center; gap: 14px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid rgba(226, 187, 85, .35); }
.consulta-min { font-family: Bahnschrift, sans-serif; font-weight: 800; font-size: 20px; color: #f3d77a; }
.consulta-res { font-weight: 800; font-size: 18px; flex: 1; }
.consulta-cuerpo { display: flex; gap: 14px; align-items: flex-start; }
.consulta-cuerpo .dialogo { font-size: 17px; font-weight: 600; line-height: 1.45; margin-top: 4px; }
.consulta-ops { display: grid; gap: 8px; margin-top: 16px; }
.consulta-op { display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 8px; cursor: pointer; font: inherit; font-size: 15px; color: inherit; background: rgba(8, 22, 64, .75); border: 1px solid rgba(90, 130, 220, .4); transition: .12s; }
.consulta-op:hover { border-color: var(--oro); background: linear-gradient(90deg, rgba(226, 187, 85, .18), rgba(8, 22, 64, .8)); }
.consulta-op .n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; background: linear-gradient(180deg, #f3d77a, #b8912f); color: #1a1405; }
.analisis-item { padding: 10px 12px; margin: 8px 0; border-radius: 6px; background: rgba(8, 22, 64, .7); border-left: 4px solid rgba(226, 187, 85, .7); }
.analisis-item.ok { border-left-color: #3ecf7a; }
.analisis-item.mid { border-left-color: #e0b84a; }
.analisis-item.mal { border-left-color: #e25555; }
.analisis-cab { font-size: 13px; margin-bottom: 4px; }
.analisis-txt { font-size: 14px; line-height: 1.45; margin-top: 4px; }
.plan-res { margin-bottom: 10px; padding: 8px 10px; border-radius: 6px; background: rgba(226, 187, 85, .1); border: 1px solid rgba(226, 187, 85, .35); }
@media (max-width: 700px) { .plan-ops { grid-template-columns: 1fr; } }
.slot.vacio .ficha { background: rgba(0, 0, 0, .35) !important; border-style: dashed; }
.fit-mini { height: 3px; width: 42px; margin: 2px auto 0; background: rgba(0, 0, 0, .5); border-radius: 2px; overflow: hidden; }
.fit-mini i { display: block; height: 100%; }

/* ---------- Partido en vivo ---------- */
.vivo { min-height: 100vh; padding: 18px 24px; background: radial-gradient(ellipse at top, rgba(40, 92, 210, .55), transparent 65%), var(--ruido); }
.marcador { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; background: linear-gradient(180deg, rgba(20, 50, 130, .85), rgba(4, 12, 40, .92)); border: 1px solid rgba(226, 187, 85, .6); border-radius: 8px; padding: 16px 24px; max-width: 1100px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .1); }
.marcador .eq { display: flex; align-items: center; gap: 14px; font-size: 22px; font-weight: 800; text-transform: uppercase; font-style: italic; }
.marcador .eq.der { justify-content: flex-end; }
.marcador .res { font-size: 54px; font-weight: 800; letter-spacing: 6px; text-align: center; font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(111, 220, 255, .4); }
.marcador .min { text-align: center; color: var(--oro2); font-weight: 800; font-size: 16px; }
.prog { height: 5px; background: rgba(0, 0, 0, .45); border-radius: 4px; overflow: hidden; margin-top: 6px; } .prog i { display: block; height: 100%; background: var(--dorado); }
.vivo-cuerpo { display: grid; grid-template-columns: 320px 1fr 320px; gap: 14px; max-width: 1300px; margin: 14px auto 0; }
@media (max-width: 1150px) { .vivo-cuerpo { grid-template-columns: 1fr; } }
.btn-pausa { border: 1px solid var(--oro) !important; color: #ffe9a8 !important; font-weight: 700; }
.vivo .ev { animation: none; }
.vivo .ev.nueva { animation: entra .3s; }
.ev.menor { padding: 4px 10px; font-size: 13px; opacity: .75; }
.ev.gol.rival { background: linear-gradient(90deg, rgba(80, 140, 255, .35), rgba(80, 140, 255, .06)); border-color: #4aa3ff; }
.momento { margin-bottom: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(16, 42, 102, .9); border: 1px solid rgba(120, 160, 240, .5); text-align: center; }
.momento.mo-pop { animation: momentoPop .45s cubic-bezier(.2, 1.4, .4, 1); }
.momento .mo-tit { font-size: 22px; font-weight: 800; font-style: italic; letter-spacing: .5px; }
.momento .mo-sub { font-size: 15px; font-weight: 700; color: var(--oro2); margin-top: 2px; }
.momento .mo-txt { font-size: 13.5px; margin-top: 6px; opacity: .9; }
.momento.gol.nuestro { background: linear-gradient(135deg, rgba(226, 187, 85, .55), rgba(40, 70, 160, .9)); border-color: var(--oro); box-shadow: 0 0 24px rgba(226, 187, 85, .45); }
.momento.gol.nuestro .mo-tit { font-size: 28px; color: #fff3c4; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.momento.gol.rival { background: linear-gradient(135deg, rgba(150, 30, 30, .55), rgba(20, 30, 70, .9)); border-color: #c44; }
.momento.roja { border-color: #e04848; }
@keyframes momentoPop { 0% { transform: scale(.85); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.mj { user-select: none; }
.mj-top { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.mj-top b { font-size: 18px; color: var(--oro); }
.mj canvas { display: block; width: 100%; max-width: 640px; margin: 0 auto; border-radius: 10px; border: 1px solid rgba(226, 187, 85, .4); cursor: crosshair; background: #1f6b2c; }
.mj-res { min-height: 34px; margin-top: 8px; text-align: center; font-size: 22px; font-weight: 800; font-style: italic; }
.mj-res.bien { color: #ffe17a; animation: momentoPop .4s; }
.mj-res.mal { color: #ff8a7a; animation: momentoPop .4s; }
.mj-curva { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 6px; }
.mj-curva input { width: 220px; }
.relato { height: 430px;overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.ev { padding: 8px 10px; border-radius: 4px; background: rgba(16, 42, 102, .75); display: flex; gap: 10px; animation: entra .25s; border-left: 3px solid rgba(120, 160, 240, .35); }
.ev .m { color: var(--cian); font-weight: 800; min-width: 30px; }
.ev.gol { background: linear-gradient(90deg, rgba(226, 187, 85, .45), rgba(226, 187, 85, .08)); border: 1px solid var(--oro); border-left-width: 4px; font-weight: 700; }
.ev.roja { background: rgba(239, 75, 75, .2); border-left-color: var(--rojo); } .ev.amarilla { background: rgba(245, 197, 66, .1); border-left-color: #f5c542; } .ev.lesion { background: rgba(255, 155, 61, .14); border-left-color: var(--naranja); }
.ev.fin, .ev.entretiempo, .ev.inicio { background: rgba(3, 10, 32, .6); color: var(--suave); font-style: italic; }
@keyframes entra { from { opacity: 0; transform: translateY(-6px); } }
.stat-fila { display: grid; grid-template-columns: 36px 1fr 36px; gap: 8px; align-items: center; margin-bottom: 9px; font-weight: 700; }
.stat-fila .lbl { text-align: center; font-size: 11px; color: var(--suave); text-transform: uppercase; margin-bottom: 3px; }
.stat-fila .dbl { display: flex; height: 7px; border-radius: 4px; overflow: hidden; background: rgba(0, 0, 0, .4); }
.mini-cancha { position: relative; height: 90px; border-radius: 4px; overflow: hidden; background: repeating-linear-gradient(90deg, var(--cesped1) 0 10%, var(--cesped2) 10% 20%); border: 2px solid rgba(255, 255, 255, .6); margin-bottom: 12px; }
.mini-cancha::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px solid rgba(255, 255, 255, .5); }
.mini-cancha .bola { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; transition: left .4s ease, top .4s ease; z-index: 2; }
.mini-cancha .arco { position: absolute; top: 35%; height: 30%; width: 6px; background: rgba(255, 255, 255, .8); }
.lista-vivo .fila { padding: 4px 0; border-bottom: 1px solid rgba(90, 130, 220, .16); font-size: 13px; }
.sel-puesto { background: #0b1d4a; color: #f3d77a; border: 1px solid #b8912f; border-radius: 4px; font-size: 11px; font-weight: 700; padding: 1px 2px; cursor: pointer; }
.rt { display: inline-block; min-width: 30px; text-align: center; border-radius: 3px; font-weight: 800; padding: 1px 3px; font-size: 12px; color: #071209; }

/* ---------- Modal / toast ---------- */
.modal { position: fixed; inset: 0; background: rgba(2, 6, 20, .78); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px; backdrop-filter: blur(2px); }
.modal-caja { background: linear-gradient(180deg, rgba(22, 52, 128, .97), rgba(6, 18, 52, .98)), var(--ruido); border: 1px solid rgba(226, 187, 85, .7); border-radius: 8px; padding: 22px; width: 100%; max-width: 780px; max-height: 92vh; overflow-y: auto; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 20px 60px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .1); animation: entra .2s; }
.modal-caja.ancho { max-width: 1000px; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: linear-gradient(180deg, #1d4296, #0d2259); border: 1px solid var(--oro); color: #fff; padding: 10px 18px; border-radius: 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); animation: entra .2s; font-weight: 600; }
.toast.mal { border-color: var(--rojo); }

/* ---------- Bandeja ---------- */
.msg { padding: 10px 12px; border-radius: 4px; background: rgba(16, 42, 102, .55); margin-bottom: 6px; border-left: 3px solid rgba(120, 160, 240, .3); cursor: pointer; transition: .1s; }
.msg:hover { background: rgba(30, 70, 160, .6); }
.msg.act { background: linear-gradient(90deg, rgba(44, 100, 224, .7), rgba(16, 42, 102, .6)); box-shadow: inset 0 0 0 1px rgba(226, 187, 85, .45); }
.msg.nl { border-left-color: var(--cian); }
.msg.nl .t { color: #fff; }
.msg.dec { border-left-color: var(--oro); }
.msg .t { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .msg .c { color: var(--suave); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { display: inline-block; border-radius: 50%; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(226, 187, 85, .7), 0 3px 8px rgba(0, 0, 0, .5); background: #0b1838; }
.avatar svg { width: 100%; height: 100%; }
.foto-persona { position: relative; width: 100%; overflow: hidden; background: #0b1838; }
.foto-persona img { display: block; width: 100%; height: 100%; object-fit: cover; }
.avatar .foto-persona { height: 100%; }
.ph-ini { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ph-ini span { font-family: Bahnschrift, 'Segoe UI', sans-serif; font-weight: 800; font-size: clamp(12px, 38cqw, 64px); letter-spacing: 1px; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.foto-persona.ph { container-type: inline-size; }
.mail-cab { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(226, 187, 85, .25); }
.mail-de { font-size: 15px; }
.opciones { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.opciones .btn { text-align: left; padding: 11px 14px; }
.resultado { margin-top: 10px; padding: 10px 12px; background: rgba(3, 10, 32, .55); border-radius: 4px; border-left: 3px solid var(--oro); }

/* ---------- Jugador ---------- */
.jug-cab { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.jug-cab .grande { width: 72px; height: 72px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 800; color: #08130c; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), 0 0 0 2px rgba(226, 187, 85, .6); }
.atr { display: grid; grid-template-columns: 70px 1fr 34px; align-items: center; gap: 8px; margin-bottom: 7px; }
.atr .v { font-weight: 800; text-align: right; }
.etapa { padding: 3px 10px; border-radius: 3px; font-size: 12px; font-weight: 700; }
.etapa.crece { background: rgba(69, 212, 131, .18); color: var(--verde); } .etapa.pico { background: rgba(226, 187, 85, .2); color: var(--oro2); } .etapa.baja { background: rgba(239, 75, 75, .18); color: #ff9a9a; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.info-grid > div { background: rgba(3, 10, 32, .45); border: 1px solid rgba(120, 160, 240, .14); border-radius: 4px; padding: 8px 10px; }
.info-grid .k { font-size: 10px; color: var(--suave); text-transform: uppercase; letter-spacing: .5px; }
.info-grid .v { font-weight: 700; font-size: 15px; margin-top: 2px; }
.aviso { background: rgba(226, 187, 85, .1); border: 1px solid rgba(226, 187, 85, .4); border-radius: 6px; padding: 10px 14px; margin-bottom: 14px; }
.aviso.verde { background: rgba(69, 212, 131, .1); border-color: rgba(69, 212, 131, .35); }
.aviso.oro { background: linear-gradient(90deg, rgba(226, 187, 85, .22), rgba(44, 100, 224, .15)); border-color: var(--oro); box-shadow: 0 0 18px rgba(226, 187, 85, .15); }
.scroll-lista { max-height: 520px; overflow-y: auto; }
::-webkit-scrollbar { width: 9px; height: 9px; } ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #2a5bc4, #163780); border-radius: 6px; border: 1px solid rgba(226, 187, 85, .3); } ::-webkit-scrollbar-track { background: rgba(0, 0, 0, .2); }

/* ============================================================
   FOTOS, MEDIOS Y REUNIONES
   ============================================================ */
.foto { position: relative; margin: 0; overflow: hidden; border-radius: 4px; background: #0b1838; box-shadow: 0 0 0 1px rgba(226, 187, 85, .55), 0 6px 18px rgba(0, 0, 0, .45); }
.foto svg { display: block; width: 100%; height: auto; }
.foto-real { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.foto-real img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.05); }
.foto-real.triste img { filter: saturate(.35) brightness(.75) contrast(1.05); }
.foto-real .trapo { position: absolute; left: 12%; right: 12%; bottom: 16%; padding: 4px 6px; border: 2px solid; text-align: center; font-family: Impact, Bahnschrift, sans-serif; letter-spacing: 2px; font-size: clamp(11px, 2.4vw, 20px); transform: rotate(-2deg); box-shadow: 0 3px 10px rgba(0, 0, 0, .5); opacity: .93; }
.portada-fondo .foto-real { height: 100%; aspect-ratio: auto; }
.portada-fondo .foto-real img { filter: brightness(.55) saturate(1.1); }
.creditos { display: grid; gap: 6px; max-height: 320px; overflow: auto; }
.credito { display: flex; gap: 8px; align-items: center; font-size: 12px; }
.credito img { width: 64px; height: 36px; object-fit: cover; border-radius: 3px; flex: none; }
.foto::after { content: ''; position: absolute; inset: 0; background-image: var(--grano); opacity: .22; mix-blend-mode: overlay; pointer-events: none; }
.foto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 10px 6px; font-size: 12px; font-weight: 600; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78)); color: #fff; z-index: 1; text-shadow: 0 1px 2px #000; }
.foto-vacia { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.foto-ret { flex-shrink: 0; }
.fotos-fila { display: grid; gap: 10px; margin: 14px 0 4px; }
.fotos-fila.n2 { grid-template-columns: 1fr 1fr; } .fotos-fila.n1 { grid-template-columns: 1fr; }
.fotos-fila.n1 .foto svg { max-height: 260px; }
.previa-fotos .fotos-fila { margin-top: 10px; }
.previa-fotos .foto-real, .previa-fotos .foto svg { height: 120px !important; max-height: 120px; aspect-ratio: auto !important; width: 100%; }
.previa-fotos .foto-real img { height: 100%; object-fit: cover; }
.tapa-mini { cursor: pointer; padding: 8px 12px; border-radius: 4px; background: rgba(255, 255, 255, .06); border: 1px dashed rgba(226, 187, 85, .5); }
.tapa-mini-tit { font-weight: 800; text-transform: uppercase; font-style: italic; color: var(--oro2); }
.logo-medio { display: inline-block; padding: 2px 7px; border-radius: 2px; font-size: 10px; font-weight: 900; letter-spacing: .8px; color: #fff; font-style: italic; text-transform: uppercase; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25); white-space: nowrap; }
.nuevo { position: absolute; top: 8px; right: 8px; z-index: 3; background: var(--oro); color: #1a1000; font-size: 10px; font-weight: 900; padding: 2px 6px; border-radius: 2px; letter-spacing: .5px; }

.medios-grid { columns: 3 300px; column-gap: 14px; }
.medios-grid > * { break-inside: avoid; margin-bottom: 14px; position: relative; }
.nota { background: linear-gradient(180deg, rgba(20, 48, 118, .82), rgba(8, 22, 62, .9)); border: 1px solid var(--borde); border-radius: 6px; padding: 12px; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.nota-tit { font-weight: 800; font-size: 16px; margin-top: 6px; line-height: 1.25; }
.nota-txt { color: #c9d7f3; margin-top: 6px; line-height: 1.5; font-size: 13px; }
.nota blockquote, .tv blockquote { margin: 10px 0 0; padding: 8px 12px; border-left: 3px solid var(--oro); background: rgba(0, 0, 0, .22); font-style: italic; line-height: 1.5; font-size: 14px; }
.nota.columna { background: linear-gradient(180deg, #f3eee2, #e6dfcd); color: #1d1a14; border-color: #c9b98f; }
.nota.columna .nota-tit, .nota.columna b { color: #111; } .nota.columna .suave { color: #6a6252; } .nota.columna blockquote { background: rgba(0, 0, 0, .05); color: #222; border-left-color: #b8902e; }
.nota.dato { background: linear-gradient(135deg, rgba(226, 187, 85, .28), rgba(16, 42, 102, .9)); border-color: rgba(226, 187, 85, .6); }
.dato-txt { font-size: 17px; font-weight: 800; margin-top: 8px; line-height: 1.35; }
.post { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.post:last-child { border-bottom: 0; }
.verif { display: inline-flex; width: 15px; height: 15px; border-radius: 50%; background: #1d9bf0; color: #fff; font-size: 9px; align-items: center; justify-content: center; }
.nota.famoso { background: linear-gradient(180deg, rgba(10, 18, 40, .95), rgba(6, 12, 30, .95)); border-color: rgba(29, 155, 240, .45); }
.famoso-txt { font-size: 15px; margin: 6px 0 8px; line-height: 1.4; }
.nota.famoso .foto { margin-bottom: 6px; }

.diario { background: #f6f2e8; color: #111; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(226, 187, 85, .6), 0 10px 26px rgba(0, 0, 0, .5); padding-bottom: 10px; }
.diario-cab { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; color: #fff; }
.diario-logo { font-family: Impact, 'Arial Black', Bahnschrift, sans-serif; font-size: 26px; letter-spacing: 1px; font-style: italic; text-shadow: 2px 2px 0 rgba(0, 0, 0, .3); }
.diario.serio .diario-logo { font-family: Georgia, 'Times New Roman', serif; font-style: normal; font-size: 22px; letter-spacing: 2px; text-transform: uppercase; }
.diario-fecha { font-size: 10px; text-transform: uppercase; opacity: .9; text-align: right; max-width: 45%; }
.diario-tit { font-family: Impact, 'Arial Black', Bahnschrift, sans-serif; font-size: 34px; line-height: 1; text-transform: uppercase; padding: 10px 12px 8px; color: #0c0c0c; letter-spacing: .5px; }
.diario.serio .diario-tit { font-family: Georgia, 'Times New Roman', serif; font-size: 25px; font-weight: 700; text-transform: none; line-height: 1.15; }
.diario .foto { margin: 0 12px; box-shadow: none; border-radius: 0; }
.diario-baj { padding: 8px 12px 0; font-size: 14px; font-weight: 700; line-height: 1.35; color: #222; }
.diario-pie { padding: 4px 12px 0; font-size: 12px; color: #555; }
.diario .nuevo { top: 46px; }

.tv { background: #050a18; border: 1px solid rgba(226, 187, 85, .5); border-radius: 6px; overflow: hidden; padding-bottom: 12px; box-shadow: 0 8px 22px rgba(0, 0, 0, .45); }
.tv .foto { border-radius: 0; box-shadow: none; }
.tv-zocalo { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: linear-gradient(90deg, rgba(5, 14, 40, .95), rgba(18, 50, 130, .9)); border-top: 2px solid var(--oro); font-size: 11px; }
.tv-vivo { color: #ff4040; font-weight: 900; letter-spacing: .5px; animation: parpadeo 1.6s infinite; }
.radio .tv-vivo { color: #ffb030; }
@keyframes parpadeo { 50% { opacity: .35; } }
.tv-logo { padding: 1px 6px; font-weight: 900; font-style: italic; color: #fff; border-radius: 2px; }
.tv-nom { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #cfe0ff; }
.tv-tit { font-weight: 800; padding: 10px 12px 0; text-transform: uppercase; font-size: 13px; letter-spacing: .5px; color: var(--oro2); }
.tv blockquote { margin: 8px 12px 0; }
.tira-medios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1100px) { .tira-medios { grid-template-columns: 1fr 1fr; } }
.tira-item { cursor: pointer; }
.tira-item .foto svg { aspect-ratio: 16 / 9; height: auto; }
.tira-item:hover .foto { box-shadow: 0 0 0 2px var(--oro), 0 6px 18px rgba(0, 0, 0, .45); }
.tira-tit { font-weight: 700; font-size: 13px; margin-top: 4px; line-height: 1.25; }

.pres-card { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(226, 187, 85, .25); }
.pres-card .foto { width: 110px; flex-shrink: 0; }

.escena-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid rgba(226, 187, 85, .35); }
.escena-tit { font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--oro2); font-style: italic; }
.escena-paso { display: flex; gap: 4px; } .escena-paso i { width: 18px; height: 4px; background: rgba(255, 255, 255, .15); border-radius: 2px; } .escena-paso i.on { background: var(--oro); }
.escena-cuerpo { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: center; margin-top: 16px; animation: entra .3s; }
.escena-cuerpo.dt { grid-template-columns: 1fr 240px; }
.escena-cuerpo.dt .escena-foto { order: 2; }
.escena-foto svg { aspect-ratio: 5 / 6; }
.escena-texto .quien { color: var(--oro2); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }
.escena-texto .dialogo { font-size: 21px; line-height: 1.45; margin-top: 8px; font-weight: 600; text-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
@media (max-width: 760px) { .escena-cuerpo, .escena-cuerpo.dt { grid-template-columns: 1fr; } }
