/* Kisure Sports v608 — live surface, referee discipline and compact lineup marker polish. */

/* Referee profile: factual discipline summary from normalized assignments/events. */
.football-referee-page-v608 .football-referee-quick-v608{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:min(720px,100%);margin-top:18px}
.football-referee-page-v608 .football-referee-quick-v608>span{display:flex;min-width:0;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--site-border,rgba(148,163,184,.22));border-radius:14px;background:var(--site-surface-soft,rgba(148,163,184,.08))}
.football-referee-page-v608 .football-referee-quick-v608 strong{font-size:1.28rem;line-height:1.05;font-weight:900}
.football-referee-page-v608 .football-referee-quick-v608 small{font-size:.76rem;opacity:.75}
.football-referee-page-v608 .football-referee-quick-v608 .is-yellow strong{color:#f5b700}
.football-referee-page-v608 .football-referee-quick-v608 .is-red strong{color:#ef4444}

.football-referee-recent-v608{display:grid;gap:10px}
.football-referee-match-v608{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(320px,1.7fr) auto;align-items:center;gap:16px;padding:14px 16px;border:1px solid var(--site-border,rgba(148,163,184,.2));border-radius:16px;color:inherit;text-decoration:none;background:var(--site-surface,rgba(255,255,255,.03));transition:border-color .16s ease,transform .16s ease,background .16s ease}
.football-referee-match-v608:hover{transform:translateY(-1px);border-color:rgba(17,185,175,.42);background:rgba(17,185,175,.045)}
.football-referee-match-v608__meta{display:grid;gap:6px;min-width:0}
.football-referee-match-v608__meta time{font-weight:800;font-size:.9rem}
.football-referee-match-v608__meta span{display:flex;align-items:center;gap:7px;font-size:.78rem;opacity:.76;min-width:0}
.football-referee-match-v608__meta img{width:20px;height:20px;object-fit:contain;flex:0 0 20px}
.football-referee-match-v608__score{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;min-width:0}
.football-referee-match-v608__score>span{display:flex;align-items:center;gap:8px;min-width:0}
.football-referee-match-v608__score>span:last-child{justify-content:flex-end;text-align:right}
.football-referee-match-v608__score img{width:28px;height:28px;object-fit:contain;flex:0 0 28px}
.football-referee-match-v608__score strong{font-size:.93rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.football-referee-match-v608__score>b{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:1rem;font-weight:900}
.football-referee-match-v608__score>b i{font-style:normal;opacity:.45}
.football-referee-match-v608__discipline{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:72px}
.football-referee-match-v608__discipline>span{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 8px;border-radius:999px;background:var(--site-surface-soft,rgba(148,163,184,.1));font-size:.78rem;font-weight:900}
.football-referee-match-v608__discipline>span>i:not(.fa-futbol){display:inline-block;width:9px;height:14px;border-radius:2px}
.football-referee-match-v608__discipline .is-yellow>i{background:#f6c51c}
.football-referee-match-v608__discipline .is-red>i{background:#ef4444}
.football-referee-match-v608__discipline .is-penalty i{font-size:.7rem}

.football-referee-seasons-v608{display:grid;gap:10px}
.football-referee-season-v608{display:grid;grid-template-columns:minmax(135px,1.15fr) repeat(4,minmax(92px,.72fr));align-items:center;gap:10px;padding:14px 16px;border:1px solid var(--site-border,rgba(148,163,184,.2));border-radius:16px;background:var(--site-surface,rgba(255,255,255,.03))}
.football-referee-season-v608>div,.football-referee-season-v608>span{display:flex;min-width:0;flex-direction:column;gap:2px}
.football-referee-season-v608>span{align-items:center;text-align:center;padding-left:10px;border-left:1px solid var(--site-border,rgba(148,163,184,.15))}
.football-referee-season-v608 b,.football-referee-season-v608 strong{font-size:1rem;font-weight:900}
.football-referee-season-v608 small{font-size:.72rem;opacity:.7}
.football-referee-season-v608 .is-yellow b{color:#f5b700}
.football-referee-season-v608 .is-red b{color:#ef4444}
.football-referee-season-v608 .is-yellow i,.football-referee-season-v608 .is-red i{display:block;width:9px;height:14px;border-radius:2px;margin-bottom:2px}
.football-referee-season-v608 .is-yellow i{background:#f6c51c}
.football-referee-season-v608 .is-red i{background:#ef4444}

.football-referee-summary-v608__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.football-referee-summary-v608__grid>span{display:flex;flex-direction:column;gap:2px;padding:10px;border:1px solid var(--site-border,rgba(148,163,184,.16));border-radius:12px;background:var(--site-surface-soft,rgba(148,163,184,.07))}
.football-referee-summary-v608__grid strong{font-size:1rem;font-weight:900}
.football-referee-summary-v608__grid small{font-size:.7rem;opacity:.7}

/* Lineup marker v608: keep goals as compact as OG rather than a large white puck. */
#lineups .football-formation-player__markers{min-height:16px!important;gap:3px!important;margin:1px 0 0!important}
#lineups .football-formation-player__goal,
#lineups .football-formation-player__own-goal{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:18px!important;height:18px!important;box-sizing:border-box!important;margin:0!important;padding:0 4px!important;border:1px solid rgba(255,255,255,.72)!important;border-radius:999px!important;background:#0f172a!important;color:#fff!important;box-shadow:0 2px 5px rgba(0,0,0,.2)!important;font-size:.5rem!important;font-weight:900!important;line-height:1!important;white-space:nowrap!important}
#lineups .football-formation-player__goal{gap:2px!important}
#lineups .football-formation-player__goal i{font-size:.47rem!important;line-height:1!important}
#lineups .football-formation-player__goal b{font-size:.47rem!important;line-height:1!important}
#lineups .football-formation-player__own-goal{font-size:.48rem!important;letter-spacing:.01em!important}

/* Live values transition without replacing the whole page. */
[data-live-clock-state="running"]{font-variant-numeric:tabular-nums}
.is-live-clock-final{animation:none!important}

@media (max-width:900px){
  .football-referee-page-v608 .football-referee-quick-v608{grid-template-columns:repeat(2,minmax(0,1fr))}
  .football-referee-match-v608{grid-template-columns:1fr auto;gap:10px}
  .football-referee-match-v608__score{grid-column:1/-1;grid-row:2}
  .football-referee-match-v608__discipline{grid-column:2;grid-row:1}
  .football-referee-season-v608{grid-template-columns:repeat(2,minmax(0,1fr))}
  .football-referee-season-v608>div{grid-column:1/-1}
  .football-referee-season-v608>span{align-items:flex-start;text-align:left;border-left:0;padding-left:0}
}
@media (max-width:560px){
  .football-referee-match-v608{padding:12px}
  .football-referee-match-v608__score{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px}
  .football-referee-match-v608__score img{width:24px;height:24px;flex-basis:24px}
  .football-referee-match-v608__score strong{font-size:.82rem}
  .football-referee-match-v608__discipline>span{height:25px;padding:0 6px}
}
/* Legacy pitch CSS styles every <b> as a 48px player fallback circle. The goal
   count is also a <b>, so explicitly neutralize that generic rule. */
#lineups .football-formation-player__goal b{display:inline!important;width:auto!important;height:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;box-shadow:none!important;font-size:.47rem!important;font-weight:900!important;line-height:1!important}
