/* FULBO 2.20 · Simulador del Clausura */
.sim-shell{max-width:100%;min-width:0;color:var(--ink);font-size:13px}
.sim-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;flex-wrap:wrap;margin-bottom:13px}
.sim-intro h3{font-size:23px;margin:6px 0!important}
.sim-intro p{font-size:12px;line-height:1.55;color:var(--muted);max-width:600px;margin:0}
.sim-eyebrow{font-size:9px;color:var(--accent);font-weight:850;letter-spacing:.15em}
.sim-scenario{display:flex;flex-direction:column;gap:7px;min-width:min(100%,280px);max-width:340px}
.sim-scenario label{font-size:11px;font-weight:800;color:var(--ink)}
.sim-scenario select{width:100%;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--ink);padding:11px 12px;font-size:12px;font-weight:750}
.sim-scenario-note{margin:0 0 16px!important;padding:10px 13px;border-radius:8px;background:var(--panel2);color:var(--muted);font-size:11px;line-height:1.6;border:1px solid var(--line)}
.sim-bracket{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:10px;max-width:100%;min-width:0}
.sim-round{min-width:0;display:flex;flex-direction:column;gap:8px}
.sim-round h4{font-size:13px;min-height:38px;padding:10px 7px;margin:0;border-radius:8px;background:#163625;color:#baff83;text-align:center;letter-spacing:.01em}
.sim-games{display:flex;flex-direction:column;gap:10px;min-width:0}
.sim-game{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:8px;min-width:0;box-sizing:border-box}
.sim-game-title{display:flex;justify-content:space-between;align-items:center;gap:4px;padding:1px 2px 7px;font-size:10px;color:var(--muted);font-weight:800}
.sim-decided{color:var(--accent)}.sim-undecided{font-size:9px;font-weight:600}
.sim-team{display:flex;align-items:center;gap:7px;text-align:left;cursor:pointer;width:100%;min-width:0;padding:9px 8px;margin:3px 0;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:7px}
.sim-team:hover:not(:disabled){border-color:var(--accent)}.sim-team.chosen{background:rgba(121,214,83,.16);border-color:#5eaa51}
.sim-team:disabled{cursor:default;opacity:.58}.sim-team-text{min-width:0;display:flex;flex-direction:column;gap:3px}.sim-team strong{font-size:11px;font-weight:750;overflow-wrap:anywhere;line-height:1.25}.sim-team small{font-size:9px;color:var(--muted)}
.sim-pick-dot{font-size:15px;color:var(--accent);flex-shrink:0}.sim-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:17px 0 8px;padding:11px;background:var(--panel2);border-radius:9px}
.sim-champion{font-weight:750}.sim-champion strong{color:var(--accent)}.sim-reset{border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);padding:9px 11px;font-size:12px;font-weight:700;cursor:pointer}.sim-disclaimer{font-size:10px!important;line-height:1.6;color:var(--muted);margin:8px 0 0!important}.sim-disclaimer a{color:var(--accent)}
@media(max-width:1080px){.sim-bracket{grid-template-columns:repeat(2,minmax(0,1fr))}.sim-round:nth-child(3),.sim-round:nth-child(4){margin-top:5px}}
@media(max-width:600px){.sim-intro{gap:12px}.sim-intro h3{font-size:19px}.sim-bracket{grid-template-columns:1fr;gap:18px}.sim-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.sim-game{padding:6px}.sim-team{padding:8px 5px;gap:3px}.sim-team strong{font-size:10px}.sim-team small{font-size:8px}.sim-round h4{min-height:0}.sim-round:nth-child(4) .sim-games{grid-template-columns:1fr}.sim-scenario{max-width:100%;width:100%}}
@media(max-width:360px){.sim-games{grid-template-columns:1fr}.sim-team strong{font-size:12px}}
[data-theme='light'] .sim-round h4{background:#d8ecdb;color:#245c30}
/* FULBO 2.20: incidencias diferenciadas por equipo */
.v2-events-teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.v2-events-team{background:var(--panel);border:1px solid var(--line);border-radius:12px;min-width:0;overflow:hidden}
.v2-events-team h4{display:flex;align-items:center;gap:9px;font-size:13px;margin:0;padding:11px 12px;border-bottom:1px solid var(--line);color:var(--ink);line-height:1.4}
.v2-events-team h4 img{height:25px;width:25px;object-fit:contain;flex-shrink:0}
.v2-events-team .event-row{margin:0 11px;padding:10px 0;align-items:flex-start;gap:8px;min-width:0}
.v2-events-team .event-minute{min-width:32px}.v2-events-team .event-body{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere}
.v2-events-team .event-body strong{font-size:11px;color:var(--ink);font-weight:800}.v2-events-team .event-body small{font-size:11px;color:var(--muted)}
.v2-events-team .event-icon{font-size:15px;line-height:1.5}.v2-events-team .event-no-data{font-size:11px;color:var(--muted);padding:17px 12px;margin:0}
.v2-events-unclear{margin-top:10px;border:1px dashed var(--line);border-radius:10px;padding:9px 13px;color:var(--muted)}
.v2-events-unclear summary{cursor:pointer;font-size:12px;font-weight:750}.v2-events-unclear .event-row{padding:9px 0}
@media(max-width:650px){.v2-events-teams{grid-template-columns:1fr}.v2-events-team h4{font-size:12px}.v2-events-team .event-row{padding:9px 0}}

.sim-fullscreen{margin:10px 0 0!important;font-size:11px}.sim-fullscreen a{color:var(--accent);font-weight:750}

/* Alineación de cada llave en escritorio: enfrentamientos conectados lógicamente. */
@media(min-width:1081px){
 .sim-round:nth-child(1) .sim-games{display:grid;grid-template-rows:repeat(8,minmax(141px,auto));gap:0}
 .sim-round:nth-child(2) .sim-games{display:grid;grid-template-rows:repeat(4,282px);gap:0}
 .sim-round:nth-child(3) .sim-games{display:grid;grid-template-rows:repeat(2,564px);gap:0}
 .sim-round:nth-child(4) .sim-games{display:grid;grid-template-rows:1128px;gap:0}
 .sim-round .sim-games .sim-game{align-self:center}
}
