html body #postMatchOverlayModal .matchday-overlay-card{width:min(1180px,100%);padding:0!important;gap:0!important;overflow:hidden}
html body #postMatchOverlayModal .matchday-overlay-head,html body #tacticalSchemesOverlayModal .matchday-overlay-head{padding:24px!important;gap:20px!important}
html body #postMatchOverlayModal .matchday-overlay-body,html body #tacticalSchemesOverlayModal .matchday-overlay-body{padding:24px!important;box-sizing:border-box}
html body #tacticalSchemesOverlayModal .tactical-schemes-panel>.section-head{padding:0 0 20px!important;gap:16px!important}
html body #postMatchOverlayModal .matchday-overlay-head>div:first-child{min-width:0}
.pm-section-actions{display:flex;gap:12px;align-items:center;flex-shrink:0}
html body .pm-section-actions>.btn{white-space:nowrap;width:auto!important;margin:0!important}
html body .pm-section-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html body button.pm-section-button{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:20px!important;width:100%!important;min-height:94px!important;height:auto!important;padding:22px 24px!important;text-align:left!important;border-radius:18px!important}
.pm-section-button>span:first-child{display:grid;gap:7px;min-width:0}
.pm-section-button strong{font-size:17px;line-height:1.3}
.pm-section-button small{font-size:13px;line-height:1.4;font-weight:400;color:var(--muted,#9eb0c6)}
.pm-section-button>span:last-child{font-size:28px;font-weight:400;color:var(--muted,#9eb0c6)}
html body dialog.pm-fill-dialog{box-sizing:border-box;width:min(880px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line,rgba(255,255,255,.12));border-radius:24px;background:var(--mfa-dialog-bg);color:var(--mfa-dialog-text);box-shadow:0 24px 90px #0008}
.pm-fill-dialog::backdrop{background:#020a15bb;backdrop-filter:blur(6px)}
.pm-fill-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid var(--line,rgba(255,255,255,.10))}
.pm-fill-head h3{margin:0;font-size:24px}.pm-fill-head .btn{flex:none;width:auto!important}
.pm-fill-content{padding:24px;overflow:auto;max-height:calc(100dvh - 230px);display:grid;gap:18px}
.pm-fill-content>section.block{margin:0;padding:0;border:0;box-shadow:none;background:transparent}
.pm-fill-content textarea.pm-textarea{min-height:300px!important;resize:vertical}
.pm-fill-footer{padding:16px 24px 22px;display:flex;justify-content:flex-end;border-top:1px solid var(--line,rgba(255,255,255,.10))}
.pm-fill-footer>.btn{min-width:140px}
@media(max-width:760px){html body #postMatchOverlayModal .matchday-overlay-head{flex-wrap:wrap}.pm-section-actions{width:100%;justify-content:flex-end}html body #postMatchOverlayModal .matchday-overlay-head,html body #postMatchOverlayModal .matchday-overlay-body{padding:16px!important}.pm-section-buttons{gap:12px!important}html body button.pm-section-button{padding:16px!important;min-height:100px!important}}
@media(max-width:520px){html body .pm-section-buttons{grid-template-columns:1fr}.pm-section-actions{flex-wrap:wrap}.pm-section-button strong{font-size:16px}.pm-fill-content{padding:16px}}

html body .pm-fill-dialog :is(input,textarea,select){background:var(--mfa-dialog-input)!important;color:var(--mfa-dialog-text)!important;border-color:var(--mfa-dialog-border)!important}
html body .pm-fill-dialog :is(input,textarea,select):focus{outline:2px solid var(--mfa-dialog-accent)!important;outline-offset:2px!important}
html body .pm-fill-dialog .btn{background:var(--mfa-dialog-input)!important;color:var(--mfa-dialog-text)!important;border:1px solid var(--mfa-dialog-border)!important}
html body .pm-fill-dialog .btn.primary{background:linear-gradient(135deg,var(--mfa-dialog-accent),var(--mfa-dialog-dark))!important;color:var(--mfa-dialog-contrast)!important}
