/* Card design from Prisma Agenda, scoped to the events content. */
.bf-events-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.bf-events-ranking{width:300px;min-width:0;padding:2em 0;}
#bestfy-prisma.bf-events-content{min-width:0;width:auto;margin:10px 0;padding:24px;background:#fff;border-top:0;color:#142b42;font-family:Montserrat,"Segoe UI",Arial,sans-serif;line-height:1.5}
.bf-events-page .filtro-casas{display:none!important}
#bestfy-prisma .bf-events-group{margin:0 0 36px}
#bestfy-prisma .bf-events-group h2{font-family:Roboto;font-size:20px;margin:0 0 16px;color:#000;font-weight:700}
#bestfy-prisma [hidden]{display:none!important}
#bestfy-prisma .bf-events-empty{padding:24px;background:#f5f8fc;border:1px solid #dce6f0;border-radius:15px;color:#63788f}
#bestfy-prisma .bf-event-resource{display:flex;align-items:flex-start;gap:6px;min-width:0;padding:4px 2px;border-radius:5px}
#bestfy-prisma .bf-event-resource>span{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
#bestfy-prisma a.bf-event-resource:hover{background:#edf5fc}
#bestfy-prisma .bf-event-resource .bf-icon{width:14px;height:14px}
#bestfy-prisma .bf-event-resource .bf-event-resource-arrow{display:none}
#bestfy-prisma .bf-events-no-tips{display:flex;align-items:center;justify-content:center;color:#63788f;font-size:11px}
#bestfy-prisma .bf7-team-code .bf6-team-logo{width:80%;height:80%;object-fit:contain}
#bestfy-prisma [data-bf-event-fallback]{font-size:12px;margin-top:12px}
#bestfy-prisma [data-bf-event-fallback] summary{cursor:pointer}
#bestfy-prisma .bf-modal-ui .gap-3{gap:12px}
@media(max-width:991px){.bf-events-layout{gap:16px}#bestfy-prisma.bf-events-content{padding:16px}}
@media(max-width:767px){.bf-events-layout{grid-template-columns:minmax(0,1fr)}.bf-events-ranking{display:none}#bestfy-prisma.bf-events-content{margin:0;padding:12px}}
#bestfy-prisma .bf7-agenda{container:agenda / inline-size}
#bestfy-prisma .bf7-agenda *{box-sizing:border-box}
#bestfy-prisma .bf7-icon{width:19px;height:19px;flex:0 0 auto;display:inline-block;vertical-align:middle}
#bestfy-prisma .bf7-agenda-board{border:1px solid #dce6f0;background:#f5f8fc;border-radius:20px;padding:20px}
#bestfy-prisma .bf7-agenda-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
#bestfy-prisma .bf7-agenda-dates{display:flex;gap:8px;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:thin;padding:3px 2px 7px;scroll-snap-type:x proximity}
#bestfy-prisma .bf7-date-chip{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:91px;padding:11px 14px;background:#fff;border:1px solid #dbe4ef;border-radius:10px;color:#182f45;cursor:pointer;scroll-snap-align:start;text-align:left;transition:background .18s,border-color .18s,color .18s;flex:0 0 auto;font-family:inherit}
#bestfy-prisma .bf7-date-chip>span{font-size:17px;line-height:1.1;font-weight:800;letter-spacing:-.4px}
#bestfy-prisma .bf7-date-chip em{font-size:10px;letter-spacing:1px;font-style:normal;font-weight:750;margin-left:2px}
#bestfy-prisma .bf7-date-chip strong{font-size:10px;line-height:1.35;font-weight:500;color:#62768a}
#bestfy-prisma .bf7-date-chip:hover{border-color:#90b6d3;background:#eff7fd}
#bestfy-prisma .bf7-date-chip.is-selected{background:#0071bc;border-color:#0071bc;color:#fff;box-shadow:0 4px 10px #0071bc1a}
#bestfy-prisma .bf7-date-chip.is-selected strong{color:#e8f4ff}
#bestfy-prisma .bf7-agenda-count{flex:0 0 auto;font-size:11px!important;line-height:1.4;color:#667b90!important;margin:0!important;white-space:nowrap}
#bestfy-prisma .bf7-match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
#bestfy-prisma .bf7-match-card{position:relative;overflow:hidden;min-width:0;padding:18px;border:1px solid #dce5f0;border-radius:15px;background:#fff;box-shadow:0 2px 3px #1e4b7003;transition:box-shadow .2s,border-color .2s}
#bestfy-prisma .bf7-match-card::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--match-accent)}
#bestfy-prisma .bf7-match-card:hover{border-color:#b8cbde;box-shadow:0 8px 24px #173e620c}
#bestfy-prisma .bf7-match-card[hidden]{display:none!important}
#bestfy-prisma .bf7-match-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
#bestfy-prisma .bf7-match-meta{display:flex;flex-direction:column;gap:6px;min-width:0}
#bestfy-prisma .bf7-match-league{font-size:10px;font-weight:700;color:#63788f;line-height:1.4;letter-spacing:.1px}
#bestfy-prisma .bf7-match-kickoff{display:flex;align-items:center;gap:6px;font-size:11px;color:#53697f;font-variant-numeric:tabular-nums}
#bestfy-prisma .bf7-match-kickoff .bf7-icon{height:14px;width:14px}
#bestfy-prisma .bf7-match-kickoff b{font-size:17px;line-height:1.2;color:#142b42;margin-left:3px;letter-spacing:-.3px}
#bestfy-prisma .bf7-live-label,#bestfy-prisma .bf7-next-label{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:5px 6px;border-radius:5px;font-size:8px;font-weight:800;line-height:1.3;white-space:nowrap;letter-spacing:.4px}
#bestfy-prisma .bf7-live-label{color:#b51c32;background:#fff0f2;border:1px solid #f7d8df}
#bestfy-prisma .bf7-live-label i{width:5px;height:5px;border-radius:50%;background:currentColor}
#bestfy-prisma .bf7-next-label{color:#657a90;background:#f3f6fa}
#bestfy-prisma .bf7-versus{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:9px;margin:24px 0 12px;min-height:64px}
#bestfy-prisma .bf7-team{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0}
#bestfy-prisma .bf7-team:last-child{align-items:flex-end;text-align:right}
#bestfy-prisma .bf7-team-code{display:flex;align-items:center;justify-content:center;width:39px;height:39px;border:1px solid #0f24371a;border-radius:11px;background:var(--team-bg);color:var(--team-fg);font:800 11px/1 inherit;letter-spacing:.5px;box-shadow:0 3px 7px #173e6208;flex:0 0 auto}
#bestfy-prisma .bf7-team h3{font-family:Cabin,Arial,sans-serif;font-size:18px!important;font-weight:700;line-height:1.2!important;letter-spacing:-.4px;color:#142c43!important;margin:0!important;overflow-wrap:normal}
#bestfy-prisma .bf7-versus-label{font-size:10px;font-weight:800;color:#94a4b5;text-align:center;letter-spacing:1px}
#bestfy-prisma .bf7-match-stadium{display:flex;align-items:center;justify-content:center;gap:5px;color:#7890a5!important;font-size:10px!important;line-height:1.5!important;margin:0 0 18px!important}
#bestfy-prisma .bf7-match-stadium .bf7-icon{width:13px;height:13px}
#bestfy-prisma .bf7-match-resources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #eaf0f6;border-bottom:1px solid #eaf0f6;padding:12px 0;margin-bottom:13px;gap:5px}
#bestfy-prisma .bf7-match-resources.bf7-match-resources-two{grid-template-columns:repeat(2,minmax(0,1fr))}
#bestfy-prisma .bf7-match-resources button{display:flex;align-items:flex-start;gap:6px;background:none;border:0;border-radius:5px;text-align:left;padding:4px 2px;font-family:inherit;color:#405b74;cursor:pointer;min-width:0;transition:background .2s}
#bestfy-prisma .bf7-match-resources button:hover{background:#edf5fc}
#bestfy-prisma .bf7-match-resources button>.bf7-icon:first-child{height:16px;width:16px;margin-top:1px}
#bestfy-prisma .bf7-match-resources button>.bf7-icon:last-child{display:none}
#bestfy-prisma .bf7-match-resources button span{display:flex;flex-direction:column;gap:4px;min-width:0}
#bestfy-prisma .bf7-match-resources b{font-size:10px;font-weight:700;line-height:1.3;color:#253d54}
#bestfy-prisma .bf7-match-resources small{font-size:8px;line-height:1.3;color:#7890a5}
#bestfy-prisma .bf7-match-resources .bf7-status-ready{color:#11775e}
#bestfy-prisma .bf7-match-resources .bf7-status-wait{color:#93621a}
#bestfy-prisma .bf7-match-sponsor{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:0 0 14px;min-height:28px}
#bestfy-prisma .bf7-operator-link{display:flex;align-items:center;gap:5px;min-width:0;background:none;border:0;padding:0;font-family:inherit;cursor:pointer;color:#597087}
#bestfy-prisma .bf7-operator-link>.bf7-icon{height:12px;width:12px}
#bestfy-prisma .bf7-operator-link .bf-brand{border:0;box-shadow:none;border-radius:4px;max-width:88px;height:26px;min-height:26px;padding:3px 6px}
#bestfy-prisma .bf7-operator-link .bf-brand img{height:22px;width:70px;max-width:100%;object-fit:contain;vertical-align:middle}
#bestfy-prisma .bf7-match-sponsor p{margin:0!important;font-size:10px!important;line-height:1.4!important;font-weight:650;color:#365169!important;text-align:right}
#bestfy-prisma .bf7-match-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:8px}
#bestfy-prisma .bf7-match-actions button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:42px;border-radius:8px;font-family:inherit;font-size:11px;font-weight:700;cursor:pointer;padding:8px 9px;line-height:1.2;transition:filter .18s,transform .18s,background .18s}
#bestfy-prisma .bf7-match-actions .bf7-icon{height:15px;width:15px}
#bestfy-prisma .bf7-event-button{border:1px solid #cfdeec;background:#fff;color:#284d6a}
#bestfy-prisma .bf7-event-button:hover{background:#edf5fb}
#bestfy-prisma .bf7-tips-button{border:1px solid var(--match-button);background:var(--match-button);color:var(--match-on-button)}
#bestfy-prisma .bf7-tips-button:hover{filter:brightness(1.1)}
#bestfy-prisma .bf7-tips-button>span{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:5px;background:#ffffff24;font-size:9px}
#bestfy-prisma .bf7-match-actions button:active{transform:translateY(1px)}
#bestfy-prisma .bf7-live-link{display:flex;align-items:center;justify-content:center;gap:6px;background:none;border:0;color:#c21f36;font-size:11px;font-weight:700;font-family:inherit;padding:12px 0 0;cursor:pointer;width:100%}
#bestfy-prisma .bf7-live-link .bf7-icon{height:14px;width:14px}
#bestfy-prisma .bf7-match-live{grid-column:1/-1;background:linear-gradient(120deg,#fff 25%,#f5faff);padding:23px 26px}
#bestfy-prisma .bf7-match-live .bf7-match-meta{flex-direction:row;align-items:center;gap:20px}
#bestfy-prisma .bf7-match-live .bf7-match-league{font-size:11px}
#bestfy-prisma .bf7-match-live .bf7-match-kickoff b{font-size:21px}
#bestfy-prisma .bf7-match-live .bf7-versus{margin:29px auto 17px;max-width:660px;gap:16px;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr)}
#bestfy-prisma .bf7-match-live .bf7-team{flex-direction:row;align-items:center;gap:14px}
#bestfy-prisma .bf7-match-live .bf7-team:last-child{flex-direction:row-reverse}
#bestfy-prisma .bf7-match-live .bf7-team-code{width:58px;height:58px;border-radius:17px;font-size:15px}
#bestfy-prisma .bf7-match-live .bf7-team h3{font-size:27px!important;letter-spacing:-.8px}
#bestfy-prisma .bf7-match-live .bf7-match-stadium{font-size:11px!important;margin-bottom:24px!important}
#bestfy-prisma .bf7-match-live .bf7-match-resources{padding:13px 0;gap:14px}
#bestfy-prisma .bf7-match-live .bf7-match-resources button{align-items:center;padding:5px 10px;gap:10px}
#bestfy-prisma .bf7-match-live .bf7-match-resources b{font-size:12px}
#bestfy-prisma .bf7-match-live .bf7-match-resources small{font-size:10px}
#bestfy-prisma .bf7-match-live .bf7-match-resources button>.bf7-icon:first-child{height:20px;width:20px}
#bestfy-prisma .bf7-match-live .bf7-match-resources button>.bf7-icon:last-child{display:block;width:15px;height:15px;margin-left:auto;color:#91a6ba}
#bestfy-prisma .bf7-match-live .bf7-match-actions{grid-template-columns:1fr 1fr}
#bestfy-prisma .bf7-match-live .bf7-match-actions button{min-height:45px;font-size:12px}
#bestfy-prisma .bf7-match-live .bf7-match-sponsor{margin:0 0 17px}
#bestfy-prisma .bf7-match-live .bf7-match-sponsor p{font-size:12px!important}
#bestfy-prisma .bf7-match-live .bf7-live-link{padding-top:14px}
#bestfy-prisma .bf7-agenda button:focus-visible{outline:2px solid #0071bc;outline-offset:3px}
@container  agenda (max-width:700px){#bestfy-prisma .bf7-agenda-board{padding:15px}
#bestfy-prisma .bf7-agenda-count{display:none}
#bestfy-prisma .bf7-match-grid{grid-template-columns:1fr}
#bestfy-prisma .bf7-match-card{padding:19px}
#bestfy-prisma .bf7-team{flex-direction:row;align-items:center;gap:10px}
#bestfy-prisma .bf7-team:last-child{flex-direction:row-reverse}
#bestfy-prisma .bf7-team-code{width:40px;height:40px}
#bestfy-prisma .bf7-team h3{font-size:20px!important}
#bestfy-prisma .bf7-match-live .bf7-team h3{font-size:23px!important}
#bestfy-prisma .bf7-match-live .bf7-team-code{width:48px;height:48px}
#bestfy-prisma .bf7-match-top{gap:10px}
#bestfy-prisma .bf7-match-meta{flex-direction:row;align-items:center;gap:12px}
#bestfy-prisma .bf7-match-live .bf7-match-meta{gap:12px}
#bestfy-prisma .bf7-match-actions button{font-size:12px;min-height:44px}
#bestfy-prisma .bf7-match-resources b{font-size:11px}
#bestfy-prisma .bf7-match-resources small{font-size:9px}
#bestfy-prisma .bf7-match-sponsor p{font-size:11px!important}}
@container  agenda (max-width:450px){#bestfy-prisma .bf7-agenda-board{padding:11px;border-radius:15px}
#bestfy-prisma .bf7-agenda-toolbar{margin-bottom:13px}
#bestfy-prisma .bf7-date-chip{min-width:77px;padding:10px 12px}
#bestfy-prisma .bf7-date-chip>span{font-size:15px}
#bestfy-prisma .bf7-date-chip strong{font-size:9px}
#bestfy-prisma .bf7-agenda-dates{gap:7px}
#bestfy-prisma .bf7-match-grid{gap:12px}
#bestfy-prisma .bf7-match-card,#bestfy-prisma .bf7-match-live{padding:15px;border-radius:12px}
#bestfy-prisma .bf7-match-meta,#bestfy-prisma .bf7-match-live .bf7-match-meta{flex-direction:column;align-items:flex-start;gap:5px}
#bestfy-prisma .bf7-match-live .bf7-match-league{font-size:10px}
#bestfy-prisma .bf7-match-live .bf7-match-kickoff b{font-size:17px}
#bestfy-prisma .bf7-versus,#bestfy-prisma .bf7-match-live .bf7-versus{grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:8px;margin:22px 0 14px}
#bestfy-prisma .bf7-team,#bestfy-prisma .bf7-team:last-child,#bestfy-prisma .bf7-match-live .bf7-team,#bestfy-prisma .bf7-match-live .bf7-team:last-child{flex-direction:column;align-items:center;text-align:center;gap:9px}
#bestfy-prisma .bf7-team h3,#bestfy-prisma .bf7-match-live .bf7-team h3{font-size:18px!important;letter-spacing:-.4px}
#bestfy-prisma .bf7-team-code,#bestfy-prisma .bf7-match-live .bf7-team-code{height:44px;width:44px;border-radius:12px;font-size:12px}
#bestfy-prisma .bf7-match-stadium,#bestfy-prisma .bf7-match-live .bf7-match-stadium{font-size:9px!important;margin-bottom:14px!important}
#bestfy-prisma .bf7-match-resources,#bestfy-prisma .bf7-match-live .bf7-match-resources{padding:10px 0;gap:3px}
#bestfy-prisma .bf7-match-resources button,#bestfy-prisma .bf7-match-live .bf7-match-resources button{gap:5px;padding:6px 2px;align-items:flex-start}
#bestfy-prisma .bf7-match-live .bf7-match-resources button>.bf7-icon:first-child,#bestfy-prisma .bf7-match-resources button>.bf7-icon:first-child{height:14px;width:14px}
#bestfy-prisma .bf7-match-live .bf7-match-resources button>.bf7-icon:last-child{display:none}
#bestfy-prisma .bf7-match-resources b,#bestfy-prisma .bf7-match-live .bf7-match-resources b{font-size:10px}
#bestfy-prisma .bf7-match-resources small,#bestfy-prisma .bf7-match-live .bf7-match-resources small{font-size:8px}
#bestfy-prisma .bf7-match-actions,#bestfy-prisma .bf7-match-live .bf7-match-actions{grid-template-columns:1fr 1.16fr;gap:7px}
#bestfy-prisma .bf7-match-actions button,#bestfy-prisma .bf7-match-live .bf7-match-actions button{font-size:10px;padding:8px 6px;gap:5px;min-height:43px}
#bestfy-prisma .bf7-tips-button>span{display:none}
#bestfy-prisma .bf7-match-sponsor p,#bestfy-prisma .bf7-match-live .bf7-match-sponsor p{font-size:10px!important}
#bestfy-prisma .bf7-match-sponsor{gap:5px}
#bestfy-prisma .bf7-live-label,#bestfy-prisma .bf7-next-label{font-size:7px}}
@media (prefers-reduced-motion:reduce){#bestfy-prisma .bf7-agenda *,#bestfy-prisma.bf .bf7-rank-item,#bestfy-prisma.bf .bf7-bonus-button,#bestfy-prisma.bf .bf7-promo-item{transition:none!important}}
