/* AA Sports Studio 23.10.1 – actually target the HTML emitted by all three EPS plugins.
   Only inside Match Center; all source tables, scores and URLs remain untouched. */
.aass7-match-bg .aass7-matchpanel{--aa-u-line:#dce5ee;--aa-u-ink:#092744;--aa-u-soft:#f3f7fb;background:#fff!important}
/* All content surfaces use same grid and identical proportions, regardless of source CSS. */
.aass7-match-bg .aass235-kozanis-live .aaepsk-group:not([hidden])>.aaepsk-panels,
.aass7-match-bg .aass2396-florinas-live .aaepsf>div:nth-child(2),
.aass7-match-bg .aass2397-kastoria-live .aaepsk>.aaepsk-cols,
.aass7-match-bg .aass7-matchcols{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;padding:0!important;margin:0!important;width:100%!important;background:#fff!important}
.aass7-match-bg .aass235-kozanis-live .aaepsk-group:not([hidden])>.aaepsk-panels>section,
.aass7-match-bg .aass2396-florinas-live .aaepsf>div:nth-child(2)>div,
.aass7-match-bg .aass2397-kastoria-live .aaepsk>.aaepsk-cols>section,
.aass7-match-bg .aass7-matchcols>div{display:block!important;min-width:0!important;background:#fff!important;padding:20px 17px 24px!important;margin:0!important;border:0!important;border-right:1px solid var(--aa-u-line)!important;box-shadow:none!important;border-radius:0!important}
.aass7-match-bg .aass235-kozanis-live .aaepsk-group:not([hidden])>.aaepsk-panels>section:last-child,
.aass7-match-bg .aass2396-florinas-live .aaepsf>div:nth-child(2)>div:last-child,
.aass7-match-bg .aass2397-kastoria-live .aaepsk>.aaepsk-cols>section:last-child,
.aass7-match-bg .aass7-matchcols>div:last-child{border-right:0!important}
/* Explicit common title treatment. Each source uses h4 or h3. */
.aass7-match-bg .aass235-kozanis-live .aaepsk-panel>h4,
.aass7-match-bg .aass2396-florinas-live .aaepsf>div:nth-child(2)>div>h3,
.aass7-match-bg .aass2397-kastoria-live .aaepsk-cols>section>h3,
.aass7-match-bg .aass7-matchcols h3{display:block!important;color:var(--aa-u-ink)!important;font:900 22px/1.13 'Roboto Condensed',Roboto,Arial,sans-serif!important;letter-spacing:0!important;text-transform:uppercase!important;padding:0 0 12px!important;margin:0 0 13px!important;border:0!important;border-bottom:3px solid #f87818!important;background:none!important}
/* Remove competing third-party frames/mastheads inside Match Center only. */
.aass7-match-bg .aass235-kozanis-live .aaepsk,
.aass7-match-bg .aass2396-florinas-live .aaepsf,
.aass7-match-bg .aass2397-kastoria-live .aaepsk{background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;max-width:none!important}
.aass7-match-bg .aass2396-florinas-live .aaepsf>div:first-child,
.aass7-match-bg .aass2397-kastoria-live .aaepsk>.aaepsk-top{display:none!important}
/* Same A/B selection ribbon. */
.aass7-match-bg .aass235-kozanis-live .aaepsk>.aaepsk-tabs,
.aass7-match-bg .aass2396-florinas-live .aass2396-florinas-labels,
.aass7-match-bg .aass2397-kastoria-live .aass2396-florinas-labels{display:flex!important;flex-wrap:wrap!important;gap:8px!important;background:#edf3f8!important;min-height:59px!important;padding:10px 13px!important;border-bottom:1px solid #d6e1eb!important}
.aass7-match-bg .aass235-kozanis-live .aaepsk>.aaepsk-tabs>button,
.aass7-match-bg .aass2396-florinas-live .aass2396-florinas-labels>label,
.aass7-match-bg .aass2397-kastoria-live .aass2396-florinas-labels>label{flex:0 0 auto!important;border-radius:7px!important;min-height:38px!important;padding:10px 17px!important;color:#fff!important;background:#103656!important;border:1px solid #285474!important;font:800 14px/1.1 'Roboto Condensed',Roboto,Arial,sans-serif!important;cursor:pointer!important}
.aass7-match-bg .aass235-kozanis-live .aaepsk>.aaepsk-tabs>button.active,
.aass7-match-bg .aass2396-florinas-switch>input:first-child:checked~.aass2396-florinas-labels>label:first-child,
.aass7-match-bg .aass2396-florinas-switch>input:nth-child(2):checked~.aass2396-florinas-labels>label:nth-child(2){background:#fb7216!important;border-color:#fb7216!important;color:#fff!important}
/* Consistent score and teams in all data rows, without rewriting source values. */
.aass7-match-bg .aass235-kozanis-live table,
.aass7-match-bg .aass2396-florinas-live table,
.aass7-match-bg .aass2397-kastoria-live table{border-collapse:collapse!important;width:100%!important;font:500 13px/1.42 Roboto,Arial,sans-serif!important}
.aass7-match-bg .aass235-kozanis-live table :is(td,th),
.aass7-match-bg .aass2396-florinas-live table :is(td,th),
.aass7-match-bg .aass2397-kastoria-live table :is(td,th){padding:9px 6px!important;border:0!important;border-bottom:1px solid var(--aa-u-line)!important;font:500 12px/1.4 Roboto,Arial,sans-serif!important;color:#173d5c!important;vertical-align:middle!important;background:transparent!important}
.aass7-match-bg .aass235-kozanis-live table tr:nth-child(even),
.aass7-match-bg .aass2396-florinas-live table tr:nth-child(even),
.aass7-match-bg .aass2397-kastoria-live table tr:nth-child(even){background:var(--aa-u-soft)!important}
.aass7-match-bg .aass2397-kastoria-live .aaepsk-match,
.aass7-match-bg .aass2397-kastoria-live .aaepsk-fixture,
.aass7-match-bg .aass2396-florinas-live .aaepsf>div:nth-child(2)>div>div{margin:0!important;padding:10px 0!important;border-bottom:1px solid var(--aa-u-line)!important}
.aass7-match-bg .aass2397-kastoria-live .aaepsk-match b,
.aass7-match-bg .aass2396-florinas-live .aaepsf strong[style*="white-space"]{background:#0c304f!important;color:#fff!important;border-radius:4px!important;padding:5px 8px!important;font:800 15px/1.15 'Roboto Condensed',Roboto,Arial,sans-serif!important}
.aass7-match-bg .aass235-kozanis-live table,
.aass7-match-bg .aass2396-florinas-live .aaepsf,
.aass7-match-bg .aass2397-kastoria-live .aaepsk{color:#163b59!important}
.aass7-match-bg .aass235-kozanis-live .aaepsk-group>small,
.aass7-match-bg .aass2396-florinas-live .aaepsf>small,
.aass7-match-bg .aass2397-kastoria-live .aaepsk-foot{display:block!important;margin:0!important;background:#edf3f8!important;border-top:1px solid var(--aa-u-line)!important;padding:11px 14px!important;font:500 11px/1.45 Roboto,Arial,sans-serif!important}
@media(max-width:980px){
.aass7-match-bg .aass235-kozanis-live .aaepsk-group:not([hidden])>.aaepsk-panels,
.aass7-match-bg .aass2396-florinas-live .aaepsf>div:nth-child(2),
.aass7-match-bg .aass2397-kastoria-live .aaepsk>.aaepsk-cols,
.aass7-match-bg .aass7-matchcols{grid-template-columns:1fr!important}
.aass7-match-bg .aass235-kozanis-live .aaepsk-group:not([hidden])>.aaepsk-panels>section,
.aass7-match-bg .aass2396-florinas-live .aaepsf>div:nth-child(2)>div,
.aass7-match-bg .aass2397-kastoria-live .aaepsk>.aaepsk-cols>section,
.aass7-match-bg .aass7-matchcols>div{border-right:0!important;border-bottom:1px solid var(--aa-u-line)!important}
}
