/* Scoped components: suitable for WordPress blocks and Elementor columns. */
.efm-app {
    --efm-navy: #101e38;
    --efm-red: #ba243b;
    --efm-muted: #5d687a;
    --efm-line: #dfe4ed;
    --efm-bg: #f2f4f8;
    font: 15px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--efm-navy);
    background: var(--efm-bg);
    padding: 24px;
    border-radius: 16px;
    max-width: 1600px;
    min-width: 0;
    margin: 24px auto;
    box-sizing: border-box;
    isolation: isolate;
    container-type: inline-size;
}
.efm-app *, .efm-app *::before, .efm-app *::after { box-sizing: border-box; }
.efm-app [hidden] { display: none !important; }
.efm-app h2, .efm-app h3, .efm-app h4, .efm-app p { margin: 0 0 12px; color: inherit; }
.efm-app h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.08; font-weight: 850; letter-spacing: -1.5px; }
.efm-app h3 { font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -.5px; }
.efm-app h4 { font-size: 15px; font-weight: 750; line-height: 1.4; }
.efm-app a { color: #9e1c30; }
.efm-app button, .efm-app input, .efm-app select { font: inherit; max-width: 100%; letter-spacing: normal; text-transform: none; }
.efm-app button, .efm-app summary { cursor: pointer; }
.efm-app :is(button, a, input, select, summary, [tabindex]):focus-visible { outline: 3px solid #2878cd; outline-offset: 3px; }
.efm-app button:disabled { opacity: .45; cursor: default; }
.efm-app img { max-width: 100%; }

/* Club banner, with pitch markings drawn in CSS. */
.efm-app .efm-hero { background: var(--efm-navy); color: #fff; padding: 26px 30px 0; border-radius: 10px; position: relative; overflow: hidden; border-top: 5px solid var(--efm-red); }
.efm-app .efm-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 60px, #ffffff03 60px 120px); pointer-events: none; }
.efm-app .efm-club { display: flex; align-items: center; gap: 11px; position: relative; z-index: 1; font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.efm-app .efm-club small { display: block; color: #c0ccde; font-size: 9px; font-weight: 650; letter-spacing: 2.3px; margin-top: 1px; }
.efm-app .efm-club-mark { flex: 0 0 44px; width: 44px; height: 48px; display: grid; place-items: center; color: #fff; }
.efm-app .efm-club-mark svg { width: 38px; height: 44px; }
.efm-app .efm-club-mark img { width: 44px; height: 44px; object-fit: contain; }
.efm-app .efm-hero-copy { position: relative; z-index: 1; max-width: 78%; padding: 32px 0 30px; }
.efm-app .efm-eyebrow { display: block; color: #f8a8b4; font-size: 10px; letter-spacing: 2px; font-weight: 800; margin-bottom: 12px; }
.efm-app .efm-hero h2 { color: #fff; }
.efm-app .efm-hero p { color: #d1daea; font-size: 14px; margin: 14px 0 0; }
.efm-app .efm-pitch { position: absolute; width: 260px; height: 335px; right: -25px; top: 22px; border: 1px solid #ffffff1e; transform: rotate(18deg); pointer-events: none; }
.efm-app .efm-pitch::before, .efm-app .efm-pitch::after { content: ""; position: absolute; left: 25%; width: 50%; height: 55px; border: 1px solid #ffffff1e; }
.efm-app .efm-pitch::before { top: -1px; }
.efm-app .efm-pitch::after { bottom: -1px; }
.efm-app .efm-pitch span { position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #ffffff1e; }
.efm-app .efm-pitch span::before { content: ""; position: absolute; width: 82px; height: 82px; border: 1px solid #ffffff25; border-radius: 50%; left: calc(50% - 41px); top: -41px; }
.efm-app .efm-hero-footer { position: relative; z-index: 1; border-top: 1px solid #ffffff24; display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; font-size: 8px; font-weight: 750; letter-spacing: 1.7px; color: #c1cde0; }
.efm-app .efm-hero-footer > span + span { color: #e76a7d; white-space: nowrap; }

/* Filters and view selection. */
.efm-app .efm-filters { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) auto; align-items: end; gap: 14px; background: #fff; border: 1px solid var(--efm-line); padding: 20px; border-radius: 10px; margin: 22px 0 14px; }
.efm-app .efm-filters--players { grid-template-columns: minmax(0,1.4fr) minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr) auto; }
.efm-app .efm-filters > div { min-width: 0; }
.efm-app .efm-filters label { display: block; font-size: 11px; font-weight: 800; margin-bottom: 7px; text-transform: uppercase; letter-spacing: .7px; }
.efm-app .efm-filters input, .efm-app .efm-filters select { width: 100%; height: 44px; border: 1px solid #c5cedb; background: #f9fafc; color: var(--efm-navy); border-radius: 5px; padding: 8px 11px; font-size: 13px; }
.efm-app .efm-button, .efm-app .efm-pagination button { display: inline-block; background: var(--efm-red); color: #fff; padding: 10px 18px; border: 1px solid transparent; border-radius: 5px; line-height: 1.5; font-weight: 750; min-height: 44px; text-decoration: none; }
.efm-app .efm-button:hover, .efm-app .efm-pagination button:hover:not(:disabled) { background: #981b2f; }
.efm-app .efm-button span { margin-left: 10px; }
.efm-app .efm-button-secondary { background: #fff; color: var(--efm-navy); border-color: #a8b5c9; }
.efm-app .efm-button-secondary:hover { background: #edf0f6; }
.efm-app .efm-member-note, .efm-app .efm-muted { color: var(--efm-muted); font-size: 12px; }
.efm-app .efm-member-note a { font-weight: 750; }
.efm-app .efm-feedback { min-height: 6px; font-size: 13px; color: #8f1d30; margin: 8px 0; }
.efm-app .efm-feedback:empty { margin: 0; }
.efm-app .efm-results[aria-busy=true] { opacity: .6; }
.efm-app .efm-results-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 16px; }
.efm-app .efm-count { color: var(--efm-muted); font-size: 12px; margin: 0; }
.efm-app .efm-count strong { color: var(--efm-navy); font-size: 20px; margin-right: 4px; }
.efm-app .efm-layout-switch { display: flex; padding: 3px; background: #e4e8f0; border-radius: 6px; }
.efm-app .efm-layout-switch button { background: transparent; border: 0; color: #48556a; padding: 8px 12px; min-height: 38px; font-size: 12px; font-weight: 750; border-radius: 4px; }
.efm-app .efm-layout-switch button[aria-pressed=true] { color: #fff; background: var(--efm-navy); box-shadow: 0 2px 4px #101e3820; }

/* Football player cards. */
.efm-app .efm-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr)); gap: 20px; align-items: start; }
.efm-app .efm-cards-events { grid-template-columns: repeat(auto-fit,minmax(min(100%,340px),1fr)); }
.efm-app .efm-card { background: #fff; border: 1px solid var(--efm-line); border-radius: 9px; overflow: hidden; min-width: 0; box-shadow: 0 4px 12px #172b4d05; }
.efm-app .efm-player-card { border-bottom: 3px solid var(--efm-red); }
.efm-app .efm-portrait { height: 245px; background: radial-gradient(ellipse at 50% 22%, #354b6b, #14243e 75%); display: flex; align-items: center; justify-content: center; position: relative; color: #99abc3; overflow: hidden; }
.efm-app .efm-portrait::before { content: ""; position: absolute; inset: 14px; border: 1px solid #ffffff19; pointer-events: none; z-index: 1; }
.efm-app .efm-portrait::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #0c1935c9); pointer-events: none; }
.efm-app .efm-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.efm-app .efm-portrait svg { display: block; width: 100px; height: 100px; opacity: .7; }
.efm-app .efm-portrait-label { position: absolute; z-index: 2; bottom: 17px; left: 19px; max-width: calc(100% - 105px); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; color: #fff; text-transform: uppercase; }
.efm-app .efm-jersey { position: absolute; z-index: 2; bottom: 10px; right: 18px; color: #fff; font-size: 50px; line-height: 1; font-weight: 900; letter-spacing: -3px; text-shadow: 0 2px 10px #0004; }
.efm-app .efm-jersey small { display: block; font-size: 8px; line-height: 1.5; font-weight: 650; letter-spacing: 1.5px; text-align: center; }
.efm-app .efm-card-body { padding: 22px; }
.efm-app .efm-card h3 { overflow-wrap: anywhere; }
.efm-app .efm-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.efm-app .efm-badges span { color: #9e2034; background: #fbecef; font-size: 10px; font-weight: 800; padding: 4px 7px; border-radius: 3px; max-width: 100%; overflow-wrap: anywhere; }
.efm-app .efm-badges span:empty { display: none; }
.efm-app .efm-badges span + span { color: #54627a; background: #edf0f6; }
.efm-app .efm-position { color: var(--efm-muted); font-size: 12px; margin-bottom: 18px; }
.efm-app .efm-player-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0 0 18px; padding: 14px 0; border-top: 1px solid var(--efm-line); border-bottom: 1px solid var(--efm-line); }
.efm-app .efm-player-metrics > div { min-width: 0; text-align: center; border-right: 1px solid var(--efm-line); }
.efm-app .efm-player-metrics > div:last-child { border-right: 0; }
.efm-app .efm-player-metrics dt { font-size: 9px; color: var(--efm-muted); text-transform: uppercase; font-weight: 650; letter-spacing: .8px; }
.efm-app .efm-player-metrics dd { margin: 3px 0 0; font-size: 21px; font-weight: 850; line-height: 1.3; }
.efm-app .efm-player-metrics small { font-size: 10px; font-weight: 500; color: var(--efm-muted); }
.efm-app .efm-profile > summary { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border: 1px solid #cbd3e0; border-radius: 4px; color: var(--efm-navy); font-size: 12px; font-weight: 800; list-style: none; }
.efm-app .efm-profile > summary::-webkit-details-marker { display: none; }
.efm-app .efm-profile > summary:hover { border-color: var(--efm-navy); background: #f5f7fa; }
.efm-app .efm-profile > summary span { color: var(--efm-red); font-size: 19px; line-height: 1; }
.efm-app .efm-profile[open] > summary { margin-bottom: 16px; }

/* Full player profile. Native details remains usable without JavaScript. */
.efm-app .efm-profile-content { display: grid; grid-template-columns: minmax(0,1fr); background: #fff; color: var(--efm-navy); }
.efm-app .efm-profile-photo { min-height: 240px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 30%, #3b506f, #101e38); color: #b8c7db; overflow: hidden; }
.efm-app .efm-profile-photo > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 20%; }
.efm-app .efm-profile-photo > svg { width: 130px; height: 130px; }
.efm-app .efm-profile-photo > p { font-size: 10px; letter-spacing: 2px; margin-top: 15px; text-transform: uppercase; }
.efm-app .efm-profile-photo::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent,#0c1935b3); pointer-events: none; }
.efm-app .efm-profile-dorsal { position: absolute; z-index: 1; color: #fff; bottom: 20px; left: 24px; font-size: 92px; font-weight: 900; letter-spacing: -6px; line-height: 1; }
.efm-app .efm-profile-info { padding: 24px; min-width: 0; }
.efm-app .efm-section-label { color: #a62437; font-size: 9px; letter-spacing: 1.8px; font-weight: 800; }
.efm-app .efm-profile-name { font-size: 29px; font-weight: 850; margin: 10px 0; overflow-wrap: anywhere; }
.efm-app .efm-profile-position { font-size: 12px; font-weight: 700; color: var(--efm-muted); }
.efm-app .efm-profile-team { display: flex; align-items: center; gap: 12px; margin: 20px 0; padding: 14px 0; border-block: 1px solid var(--efm-line); font-weight: 750; font-size: 13px; }
.efm-app .efm-profile-team img { width: 36px; height: 40px; object-fit: contain; }
.efm-app .efm-profile-team small { display: block; color: var(--efm-muted); letter-spacing: .7px; font-size: 8px; font-weight: 700; margin-bottom: 3px; }
.efm-app .efm-data { margin: 10px 0; }
.efm-app .efm-data > div { display: flex; gap: 12px; justify-content: space-between; border-bottom: 1px solid #edf0f5; padding: 9px 0; font-size: 12px; }
.efm-app .efm-data dt { color: var(--efm-muted); }
.efm-app .efm-data dd { margin: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.efm-app .efm-video { display: block; border: 1px solid var(--efm-line); border-radius: 5px; overflow: hidden; margin-top: 18px; text-decoration: none; font-size: 12px; font-weight: 700; }
.efm-app .efm-video img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.efm-app .efm-video span { display: block; padding: 10px 12px; }
.efm-app .efm-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.efm-app .efm-socials:empty { display: none; }
.efm-app .efm-socials a { font-size: 11px; text-decoration: none; padding: 8px 10px; border: 1px solid #c5cedb; border-radius: 4px; font-weight: 700; }
.efm-app .efm-dialog { position: fixed; inset: 0; width: min(960px,calc(100vw - 24px)); max-width: none; max-height: 90vh; max-height: 90dvh; padding: 0; border: 0; border-top: 5px solid var(--efm-red); border-radius: 10px; margin: auto; box-shadow: 0 24px 100px #06102666; background: #fff; }
.efm-app .efm-dialog::backdrop { background: #07142bd9; backdrop-filter: blur(4px); }
.efm-app .efm-dialog-body { max-height: calc(90vh - 5px); max-height: calc(90dvh - 5px); overflow-y: auto; overscroll-behavior: contain; }
.efm-app .efm-dialog-close { position: absolute; z-index: 3; top: 12px; right: 12px; background: #fff; color: var(--efm-navy); border: 1px solid #c5cedb; border-radius: 50%; width: 40px; height: 40px; padding: 0; font-size: 28px; line-height: 1; box-shadow: 0 2px 10px #0001; }
.efm-app .efm-dialog .efm-profile-info { padding: 46px 32px 30px; }
.efm-app .efm-dialog .efm-profile-photo { min-height: 390px; }
.efm-app .efm-dialog .efm-profile-name { font-size: 34px; }

/* Roster table inspired by a club squad sheet. */
.efm-app .efm-roster-wrap { background: #fff; border: 1px solid var(--efm-line); border-radius: 8px; overflow: auto; max-width: 100%; }
.efm-app .efm-roster-table { border-collapse: collapse; width: 100%; min-width: 650px; text-align: left; margin: 0; font-size: 12px; border: 0; }
.efm-app .efm-roster-table caption { text-align: left; font-size: 11px; font-weight: 700; padding: 14px 18px; color: var(--efm-muted); background: #fff; }
.efm-app .efm-roster-table thead { background: var(--efm-navy); color: #fff; border-bottom: 3px solid var(--efm-red); }
.efm-app .efm-roster-table thead th { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; font-weight: 750; }
.efm-app .efm-roster-table td, .efm-app .efm-roster-table th { padding: 13px 15px; border: 0; vertical-align: middle; }
.efm-app .efm-roster-table tbody tr { border-bottom: 1px solid var(--efm-line); }
.efm-app .efm-roster-table tbody tr:nth-child(even) { background: #f7f8fb; }
.efm-app .efm-roster-table tbody tr:hover { background: #fceef1; }
.efm-app .efm-roster-table tbody th { min-width: 235px; }
.efm-app .efm-table-jersey { display: grid; place-items: center; min-width: 29px; height: 32px; background: #edf0f6; color: var(--efm-navy); border-radius: 4px; font-size: 17px; font-weight: 850; }
.efm-app .efm-roster-player { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; border-radius: 0; padding: 0; background: transparent; color: var(--efm-navy); text-align: left; font-weight: 800; font-size: 12px; }
.efm-app .efm-roster-player img, .efm-app .efm-mini-shirt { width: 40px; height: 46px; flex: 0 0 40px; object-fit: cover; object-position: center 20%; border-radius: 3px; background: #e1e6ef; }
.efm-app .efm-mini-shirt { display: grid; place-items: center; color: #536987; font-size: 25px; }
.efm-app .efm-roster-player small { display: block; font-size: 10px; font-weight: 500; color: var(--efm-muted); margin-top: 3px; }
.efm-app .efm-row-arrow { margin-left: auto; color: var(--efm-red); }
.efm-app .efm-table-category { display: inline-block; background: #edf0f6; padding: 4px 7px; border-radius: 3px; font-size: 10px; font-weight: 750; }
.efm-app .efm-table-team { display: flex; align-items: center; gap: 8px; min-width: 100px; }
.efm-app .efm-table-team img { width: 25px; height: 28px; object-fit: contain; }

/* Squad categories start closed and expand into their own player table. */
.efm-app .efm-roster-wrap.efm-squad-groups { overflow: visible; background: transparent; border: 0; border-radius: 0; }
.efm-app .efm-squad-hint { color: var(--efm-muted); font-size: 12px; margin: 0 0 14px; }
.efm-app .efm-squad-group { background: #fff; border: 1px solid var(--efm-line); border-radius: 7px; margin: 0 0 12px; overflow: hidden; min-width: 0; }
.efm-app .efm-squad-group > summary { display: flex; align-items: center; gap: 14px; padding: 17px 18px; min-height: 62px; color: #fff; background: var(--efm-navy); border-left: 4px solid var(--efm-red); cursor: pointer; list-style: none; }
.efm-app .efm-squad-group > summary::-webkit-details-marker { display: none; }
.efm-app .efm-squad-group > summary::marker { content: ""; }
.efm-app .efm-squad-group > summary:focus-visible { outline: 3px solid #61b6ff; outline-offset: -4px; }
.efm-app .efm-squad-group-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 800; }
.efm-app .efm-squad-group > summary > small { flex: 0 1 auto; max-width: 40%; padding: 4px 8px; border: 1px solid #ffffff35; border-radius: 4px; color: #e0e8f6; font-size: 10px; text-align: center; }
.efm-app .efm-squad-toggle { display: flex; gap: 10px; align-items: center; font-size: 10px; font-weight: 700; color: #dce7f7; flex: 0 0 auto; }
.efm-app .efm-squad-chevron { display: block; width: 8px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); margin: 0 2px 4px 0; }
.efm-app .efm-squad-hide { display: none; }
.efm-app .efm-squad-group[open] > summary .efm-squad-hide { display: inline; }
.efm-app .efm-squad-group[open] > summary .efm-squad-show { display: none; }
.efm-app .efm-squad-group[open] > summary .efm-squad-chevron { transform: rotate(225deg); margin-top: 5px; margin-bottom: 0; }
.efm-app .efm-squad-table-scroll { max-width: 100%; overflow: auto; }
.efm-app .efm-squad-table-scroll:focus-visible { outline-offset: -3px; }
.efm-app .efm-roster-profile > summary { list-style: none; cursor: pointer; }
.efm-app .efm-roster-profile > summary::-webkit-details-marker { display: none; }
.efm-app .efm-roster-profile > summary::marker { content: ""; }
.efm-app .efm-roster-profile[open] > .efm-profile-content { margin-top: 14px; border: 1px solid var(--efm-line); border-radius: 5px; overflow: hidden; }
@container (max-width: 480px) {
    .efm-app .efm-squad-group > summary { padding: 15px 12px; gap: 10px; }
    .efm-app .efm-squad-toggle > span:not(.efm-squad-chevron) { display: none; }
}
@media (max-width: 580px) {
    .efm-app .efm-squad-group > summary { padding: 15px 12px; gap: 10px; }
    .efm-app .efm-squad-toggle > span:not(.efm-squad-chevron) { display: none; }
}

/* Teams, fixtures and attendance. */
.efm-app .efm-crest { height: 200px; }
.efm-app .efm-crest img { object-fit: contain; padding: 30px 30px 44px; }
.efm-app .efm-crest .efm-portrait-label { max-width: none; }
.efm-app .efm-event-top { padding: 12px 20px; background: var(--efm-navy); color: #fff; display: flex; gap: 12px; justify-content: space-between; align-items: center; border-left: 4px solid var(--efm-red); font-size: 9px; letter-spacing: 1px; font-weight: 800; }
.efm-app .efm-event-top > span + span { color: #c2cee0; text-align: right; letter-spacing: 0; overflow-wrap: anywhere; }
.efm-app .efm-fixture { display: grid; grid-template-columns: minmax(0,1fr) 35px minmax(0,1fr); align-items: center; gap: 8px; padding: 20px 0; }
.efm-app .efm-fixture > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; min-width: 0; }
.efm-app .efm-fixture img, .efm-app .efm-fixture-shield { width: 54px; height: 59px; object-fit: contain; }
.efm-app .efm-fixture-shield { display: grid; place-items: center; background: #edf0f6; color: #314866; clip-path: polygon(0 0,100% 0,100% 68%,50% 100%,0 68%); font-size: 24px; padding-bottom: 5px; }
.efm-app .efm-fixture-shield svg { width: 29px; height: 29px; }
.efm-app .efm-fixture-rival { background: #f9e9ed; color: #a62438; }
.efm-app .efm-fixture strong { font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
.efm-app .efm-fixture small { font-size: 8px; color: var(--efm-muted); font-weight: 750; letter-spacing: 1px; }
.efm-app .efm-versus { text-align: center; color: var(--efm-red); font-size: 13px; font-style: italic; font-weight: 900; }
.efm-app .efm-match-info { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; background: #f3f5f9; border-radius: 6px; padding: 16px; border-left: 3px solid var(--efm-red); }
.efm-app .efm-match-info > div { display: flex; flex-direction: column; min-width: 0; }
.efm-app .efm-match-info span { font-size: 8px; font-weight: 750; color: var(--efm-muted); letter-spacing: 1px; margin-bottom: 5px; }
.efm-app .efm-match-info strong { font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.efm-app .efm-match-info small { color: var(--efm-muted); text-transform: capitalize; font-size: 10px; }
.efm-app .efm-match-info .efm-match-location { grid-column: 1/-1; padding-top: 12px; border-top: 1px solid var(--efm-line); }
.efm-app .efm-match-location strong { font-size: 12px; }
.efm-app .efm-roster-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 23px 0 0; }
.efm-app .efm-roster-heading h4 { margin: 0; font-size: 13px; }
.efm-app .efm-roster-heading > span { font-size: 10px; color: var(--efm-muted); }
.efm-app .efm-callup-list { list-style: none; margin: 12px 0 0; padding: 0; }
.efm-app .efm-callup-list li { padding: 13px 0; border-top: 1px solid var(--efm-line); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 650; }
.efm-app .efm-callup-list li > span { flex: 1 1 130px; min-width: 0; overflow-wrap: anywhere; }
.efm-app .efm-player-category { display: block; font-size: 10px; font-weight: 500; color: var(--efm-muted); margin-top: 3px; }
.efm-app .efm-state { font-size: 10px; padding: 4px 8px; border-radius: 4px; background: #fff2cf; color: #775000; }
.efm-app .efm-state-confirmado { background: #e2f3e9; color: #166341; }
.efm-app .efm-state-ausente { background: #fce4e8; color: #97263a; }
.efm-app .efm-response { width: 100%; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.efm-app .efm-response button { font-size: 11px; padding: 8px 12px; }
.efm-app .efm-roster-private { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--efm-line); }
.efm-app .efm-empty { padding: 38px 22px; text-align: center; background: #fff; border: 1px dashed #bac6d8; border-radius: 8px; }
.efm-app .efm-empty strong { display: block; font-size: 16px; }
.efm-app .efm-empty p { margin: 8px 0 0; font-size: 12px; color: var(--efm-muted); }
.efm-app .efm-pagination { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 24px 0 0; }
.efm-app .efm-pagination span { font-size: 12px; }
.efm-app .efm-pagination button { background: var(--efm-navy); font-size: 12px; padding: 9px 14px; }

/* Native category dropdowns: keyboard and no-JavaScript support. */
.efm-app .efm-callup-groups { margin-top: 14px; }
.efm-app .efm-callup-group { margin: 8px 0; border: 1px solid var(--efm-line); border-radius: 5px; overflow: hidden; background: #fff; }
.efm-app .efm-callup-group > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; padding: 13px 14px; min-height: 46px; background: #f1f4f9; border-left: 3px solid var(--efm-red); }
.efm-app .efm-callup-group > summary::-webkit-details-marker { display: none; }
.efm-app .efm-callup-group > summary::marker { content: ""; }
.efm-app .efm-callup-group-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 12px; font-weight: 800; }
.efm-app .efm-callup-group > summary small { color: var(--efm-muted); background: #fff; padding: 3px 7px; border: 1px solid var(--efm-line); border-radius: 4px; white-space: nowrap; font-size: 10px; font-weight: 600; }
.efm-app .efm-callup-group .efm-group-chevron { flex: 0 0 7px; width: 7px; height: 7px; border-right: 2px solid var(--efm-navy); border-bottom: 2px solid var(--efm-navy); transform: rotate(45deg); margin: 0 2px 4px 3px; }
.efm-app .efm-callup-group[open] > summary .efm-group-chevron { transform: rotate(225deg); margin-top: 5px; margin-bottom: 0; }
.efm-app .efm-callup-group > .efm-callup-list { margin: 0; padding: 0 13px; }

/* Calendar uses the same club palette. */
.efm-app .efm-calendar-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin: 22px 0 18px; }
.efm-app .efm-calendar-toolbar h3 { font-size: 18px; margin: 0; text-transform: capitalize; }
.efm-app .efm-calendar-toolbar button { background: #fff; border: 1px solid #b8c4d6; color: var(--efm-navy); padding: 8px 12px; min-height: 42px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.efm-app .efm-calendar-toolbar button[aria-pressed=true] { background: var(--efm-navy); color: #fff; border-color: var(--efm-navy); }
.efm-app .efm-calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); border-top: 1px solid var(--efm-line); border-left: 1px solid var(--efm-line); border-radius: 6px; overflow: hidden; }
.efm-app .efm-weekday { font-size: 10px; font-weight: 750; text-align: center; background: var(--efm-navy); color: #fff; padding: 12px 4px; border-right: 1px solid #ffffff20; }
.efm-app .efm-day { background: #fff; min-height: 115px; padding: 7px; border-right: 1px solid var(--efm-line); border-bottom: 1px solid var(--efm-line); min-width: 0; }
.efm-app .efm-other-month { background: #f5f6f9; }
.efm-app .efm-today { background: #fff5f6; box-shadow: inset 0 3px var(--efm-red); }
.efm-app .efm-day-label { font-weight: 750; border: 0; background: transparent; color: var(--efm-navy); padding: 3px 6px; border-radius: 4px; min-width: 32px; min-height: 32px; font-size: 12px; }
.efm-app .efm-today .efm-day-label { background: var(--efm-red); color: #fff; }
.efm-app .efm-calendar-event { border-left: 3px solid var(--efm-red); background: #f7e9ed; padding: 8px; margin: 7px 0 0; border-radius: 3px; font-size: 11px; overflow-wrap: anywhere; }
.efm-app .efm-calendar-event strong, .efm-app .efm-calendar-event span, .efm-app .efm-calendar-event small { display: block; margin-bottom: 3px; }
.efm-app .efm-calendar-grid[data-view=dia] { grid-template-columns: 1fr; }
.efm-app .efm-calendar-grid[data-view=dia] .efm-day { min-height: 180px; }
.efm-app .efm-calendar-grid[data-view=dia] .efm-calendar-event { font-size: 14px; padding: 16px; }

/* Respond to the actual Elementor/theme column width, as well as mobiles. */
@container (max-width: 800px) {
    .efm-app .efm-filters { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
    .efm-app .efm-calendar-toolbar h3 { order: -1; width: 100%; }
    .efm-app .efm-day { padding: 3px; min-height: 90px; }
    .efm-app .efm-calendar-event { font-size: 10px; padding: 4px; }
    .efm-app .efm-calendar-event span, .efm-app .efm-calendar-event small { display: none; }
    .efm-app .efm-calendar-grid[data-view=dia] .efm-calendar-event span, .efm-app .efm-calendar-grid[data-view=dia] .efm-calendar-event small { display: block; }
}
@container (max-width: 480px) {
    .efm-app .efm-hero { padding: 22px 20px 0; }
    .efm-app .efm-hero-copy { max-width: 100%; padding: 27px 0; }
    .efm-app .efm-hero h2 { font-size: 34px; }
    .efm-app .efm-pitch { opacity: .45; right: -150px; }
    .efm-app .efm-hero-footer { font-size: 7px; letter-spacing: .8px; }
    .efm-app .efm-filters { padding: 14px; gap: 12px; }
    .efm-app .efm-filters > div:first-child, .efm-app .efm-team-filter, .efm-app .efm-filters > .efm-button { grid-column: 1/-1; }
    .efm-app .efm-cards, .efm-app .efm-cards-events { grid-template-columns: minmax(0,1fr); }
    .efm-app .efm-weekday { font-size: 9px; padding: 10px 0; }
    .efm-app .efm-day { min-height: 75px; padding: 2px; }
    .efm-app .efm-day-label { padding: 2px; font-size: 11px; min-width: 25px; min-height: 30px; }
    .efm-app .efm-calendar-event { font-size: 9px; padding: 3px 2px; border-left-width: 2px; }
    .efm-app .efm-calendar-event strong { font-weight: 600; }
}
@media (min-width: 700px) {
    .efm-app .efm-dialog .efm-profile-content { grid-template-columns: minmax(0,.95fr) minmax(0,1.1fr); }
}
@media (max-width: 900px) {
    .efm-app .efm-filters { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
@media (max-width: 580px) {
    .efm-app { padding: 12px; border-radius: 10px; margin: 12px 0; }
    .efm-app .efm-filters { padding: 14px; gap: 12px; }
    .efm-app .efm-filters > div:first-child, .efm-app .efm-team-filter, .efm-app .efm-filters > .efm-button { grid-column: 1/-1; }
    .efm-app .efm-hero-copy { max-width: 100%; }
    .efm-app .efm-pitch { opacity: .45; right: -150px; }
    .efm-app .efm-cards, .efm-app .efm-cards-events { grid-template-columns: minmax(0,1fr); }
    .efm-app .efm-pagination { gap: 8px; }
    .efm-app .efm-pagination button { padding: 8px 10px; font-size: 11px; }
    .efm-app .efm-calendar-toolbar h3 { order: -1; width: 100%; }
    .efm-app .efm-calendar-toolbar button { padding: 8px 9px; }
    .efm-app .efm-dialog .efm-profile-info { padding: 26px 22px; }
    .efm-app .efm-dialog .efm-profile-name { font-size: 29px; }
    .efm-app .efm-dialog .efm-profile-photo { min-height: 310px; }
}
@media (prefers-reduced-motion: no-preference) {
    .efm-app .efm-player-card { transition: box-shadow .2s ease, transform .2s ease; }
    .efm-app .efm-player-card:hover { box-shadow: 0 10px 28px #152b4c16; transform: translateY(-3px); }
}
@media print {
    .efm-app .efm-filters, .efm-app .efm-pagination, .efm-app .efm-response, .efm-app .efm-calendar-toolbar button, .efm-app .efm-layout-switch, .efm-app .efm-dialog { display: none; }
    .efm-app { background: #fff; padding: 0; }
    .efm-app .efm-card { break-inside: avoid; }
}
