/* Matchday poster: preview shell only. Exported PNG has its own fixed canvas palette. */
.mcPosterTrigger{white-space:nowrap}
.mcPosterOverlay{position:fixed;inset:0;z-index:300;background:rgba(10,12,16,.86);display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}
.mcPosterDialog{width:min(560px,100%);max-height:calc(100dvh - 40px);min-height:0;display:flex;flex-direction:column;gap:15px;padding:17px;border-radius:22px;background:var(--theme-surface,#fff);color:var(--ink);box-shadow:0 20px 80px rgba(0,0,0,.36)}
.mcPosterTop{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mcPosterTop strong,.mcPosterTop span{display:block}
.mcPosterTop strong{font-size:16px;font-weight:900}
.mcPosterTop span{margin-top:3px;font-size:11px;color:var(--mut)}
.mcPosterClose{appearance:none;border:1px solid var(--line);border-radius:50%;width:38px;height:38px;flex:0 0 38px;background:var(--soft);color:var(--ink);font-size:25px;cursor:pointer}
.mcPosterImage{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto;border-radius:12px;background:#16191f}
.mcPosterImage img{display:block;max-width:100%;max-height:min(65dvh,650px);width:auto;height:auto;object-fit:contain}
.mcPosterImage img[hidden]{display:none}
.mcPosterMessage{padding:40px 16px;color:#f5f5f6;text-align:center;font-size:13px}
.mcPosterActions{display:flex;gap:9px;flex-wrap:wrap}
.mcPosterActions .btn{flex:1 1 auto}
.mcPosterActions [hidden]{display:none}
.mcPosterHelp{margin:0;font-size:11px;line-height:1.45;color:var(--mut)}
.mcPosterActions button:disabled{cursor:wait;opacity:.5}
.mcPosterDialog button:focus-visible{outline:3px solid var(--theme-focus,rgba(227,6,19,.3));outline-offset:3px}
@media(max-width:600px){
  .mcPosterOverlay{padding:10px}
  .mcPosterDialog{max-height:calc(100dvh - 20px);padding:13px;gap:10px;border-radius:17px}
  .mcPosterImage img{max-height:58dvh}
  .mcPosterActions .btn{font-size:11px;padding:12px}
}

/* Youth overview uses the existing matchday modal and theme-aware controls. */
.mcYouthRange{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.mcYouthDialog{width:min(690px,100%)}
.mcYouthRange{align-items:end}
.mcYouthRange label{display:grid;gap:5px;flex:1 1 130px;font-weight:800;font-size:12px}
.mcYouthRange input{box-sizing:border-box;min-width:0;width:100%;padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--theme-surface,#fff);color:var(--ink);font:inherit}
.mcYouthRange>.btn{flex:1 1 135px}
.mcYouthStatus{font-size:12px;line-height:1.45;color:var(--mut);margin:0}
.mcYouthImage[hidden],.mcYouthPages[hidden]{display:none}
.mcYouthPages{display:flex;align-items:center;justify-content:space-between;gap:8px}
.mcYouthPages strong{font-size:12px;text-align:center;color:var(--ink)}
.mcYouthPages button{font-size:12px}
.mcYouthPages button:disabled{opacity:.35;cursor:default}
.mcYouthDialog .mcYouthImage{min-height:0}
@media(max-width:600px){.mcYouthRange{gap:8px}.mcYouthRange label{flex:1 1 42%}.mcYouthRange>.btn{flex:1 1 100%}.mcYouthPages button{font-size:10px;padding:10px 8px}}
