.ssd-wrap{--ssd-yellow:#fdc300;--ssd-ink:#1e2530;--ssd-muted:#667085;font-family:inherit;color:var(--ssd-ink);max-width:1120px;margin:0 auto 35px}.ssd-wrap *{box-sizing:border-box}.ssd-header{margin:0 0 22px}.ssd-header>p:first-child{font-size:12px;letter-spacing:.12em;font-weight:800;color:#6b7280}.ssd-header h2{font-size:clamp(30px,4vw,44px);line-height:1.15;margin:8px 0 10px;color:#1e2530}.ssd-header p{color:#667085}.ssd-alphabet{display:flex;flex-wrap:wrap;gap:5px;margin:20px 0}.ssd-alphabet a{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #e5e7eb;border-radius:7px;text-decoration:none!important;color:#273142!important;font-weight:700;background:#fff}.ssd-alphabet a:hover,.ssd-alphabet a.is-active{background:#fdc300;color:#1e2530!important;border-color:#fdc300}.ssd-search{display:flex;gap:10px;margin:20px 0 28px}.ssd-search input{flex:1;min-width:0;border:1px solid #d0d5dd;border-radius:9px;padding:12px 15px;font-size:16px}.ssd-search button{background:#1e2530;border:0;color:white;border-radius:9px;padding:10px 22px;cursor:pointer}.ssd-wrap h3{font-size:22px;margin:25px 0 15px;color:#1e2530}.ssd-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px}.ssd-person{display:flex;align-items:center;gap:15px;min-height:92px;border:1px solid #e7e9ed;border-radius:12px;padding:10px 14px;text-decoration:none!important;color:#1e2530!important;background:#fff;transition:border-color .15s,transform .15s}.ssd-person:hover{border-color:#e0ad00;transform:translateY(-1px)}.ssd-person-name{font-size:16px;font-weight:700}.ssd-arrow{font-size:26px;margin-left:auto;color:#929aa5}.ssd-photo,.ssd-placeholder{display:flex;flex:0 0 60px;width:60px;height:72px;border-radius:7px;object-fit:cover;object-position:center top;background:#e8ebef;align-items:center;justify-content:center;font-size:35px;color:#9ca3af;overflow:hidden}.ssd-photo-large,.ssd-placeholder-large{flex-basis:150px;width:150px;height:190px;font-size:70px}.ssd-hero{display:flex;align-items:flex-start;gap:25px;padding:25px;border-radius:16px;background:#f5f6f8;margin:20px 0}.ssd-hero h3{margin:0 0 8px;font-size:28px}.ssd-hero p{margin:6px 0;color:#566071}.ssd-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.ssd-stats>div{padding:20px 12px;background:#f5f6f8;border-radius:12px;text-align:center}.ssd-stats strong{display:block;font-size:30px;line-height:1.2}.ssd-stats span{display:block;font-size:13px;color:#667085;margin-top:6px}.ssd-bio{line-height:1.75}.ssd-table-scroll{overflow-x:auto}.ssd-table{width:100%;border-collapse:collapse;font-size:15px}.ssd-table th{background:#fdc300;color:#1e2530;text-align:left}.ssd-table th,.ssd-table td{padding:12px 15px;border-bottom:1px solid #e6e8ec}.ssd-table tbody tr:nth-child(even){background:#f6f7f9}.ssd-footnote{font-size:12px;color:#667085;margin:15px 0 25px}.ssd-notice{padding:16px;border:1px solid #e3a008;background:#fff8df}@media(max-width:550px){.ssd-list{grid-template-columns:1fr}.ssd-alphabet a{width:32px;height:32px}.ssd-hero{padding:15px;gap:15px}.ssd-photo-large,.ssd-placeholder-large{flex-basis:110px;width:110px;height:145px}.ssd-stats strong{font-size:23px}.ssd-stats span{font-size:11px}}

/* Profile enhancements v0.2 */
.ssd-profile .ssd-hero{background:linear-gradient(115deg,#f6f7f9,#fff);border:1px solid #e6e8ec;align-items:center}
.ssd-hero-info{min-width:0}.ssd-eyebrow{font-size:11px;font-weight:800;letter-spacing:.13em;color:#687383}.ssd-role{font-weight:700;color:#303846!important}
.ssd-profile-links,.ssd-profile-footer{display:flex;flex-wrap:wrap;gap:16px;margin-top:15px}.ssd-profile-links a,.ssd-profile-footer a{font-weight:700;color:#263245;text-decoration:underline;text-decoration-color:#fdc300;text-underline-offset:4px}
.ssd-section-nav{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0 20px;border-bottom:1px solid #e6e8ec}.ssd-section-nav a{display:inline-flex;border:1px solid #e4e7eb;border-radius:30px;padding:9px 14px;text-decoration:none!important;font-size:13px;font-weight:700;color:#263245!important}.ssd-section-nav a:hover{background:#fdc300;border-color:#fdc300}.ssd-profile-section{scroll-margin-top:90px;margin:30px 0 42px}.ssd-section-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px}.ssd-section-heading span{font-size:13px;color:#667085}.ssd-table tfoot{background:#fff6d1;font-weight:800}.ssd-table tfoot th{background:#fff6d1;text-align:left}.ssd-profile-footer{border-top:1px solid #e6e8ec;padding:20px 0}
@media(max-width:550px){.ssd-profile .ssd-hero{align-items:flex-start}.ssd-hero-info h3{font-size:22px}.ssd-section-nav a{font-size:12px;padding:8px 10px}}

/* Profile portrait sizing v0.2.2: override the fixed 150px original. */
.ssd-profile .ssd-hero > img.ssd-photo-large,
.ssd-profile .ssd-hero > .ssd-placeholder-large {
  width: 220px !important;
  height: 278px !important;
  flex: 0 0 220px !important;
  max-width: 100%;
  object-fit: cover;
  object-position: center top;
}
@media (max-width: 600px) {
  .ssd-profile .ssd-hero > img.ssd-photo-large,
  .ssd-profile .ssd-hero > .ssd-placeholder-large {
    width: 140px !important;
    height: 178px !important;
    flex: 0 0 140px !important;
  }
}
@media (max-width: 390px) {
  .ssd-profile .ssd-hero { flex-wrap: wrap; }
}

/* Career discipline: compact accessible card symbols */
.ssd-stats .ssd-card-stat strong { display:flex; align-items:center; justify-content:center; gap:10px; }
.ssd-booking-card { display:inline-block; width:17px; height:24px; border-radius:2px; flex:none; border:1px solid rgba(0,0,0,.18); box-shadow:1px 2px 2px rgba(0,0,0,.12); transform:rotate(-7deg); }
.ssd-booking-yellow { background:#f9cd18; }
.ssd-booking-red { background:#df3434; }

/* Match result indicators v0.2.8 */
.ssd-table .ssd-result{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:7px;font-size:13px;font-weight:800;line-height:1;}
.ssd-table .ssd-result-w{background:#dcfce7;color:#166534;}
.ssd-table .ssd-result-d{background:#fef3c7;color:#92400e;}
.ssd-table .ssd-result-l{background:#fee2e2;color:#991b1b;}

/* Expandable complete match history */
.ssd-all-matches{margin-top:14px;}
.ssd-all-matches summary{display:inline-block;cursor:pointer;background:#fdc300;color:#242424;font-weight:750;padding:11px 17px;border-radius:8px;list-style:none;}
.ssd-all-matches summary::-webkit-details-marker{display:none;}
.ssd-all-matches summary::after{content:" ▾";}
.ssd-all-matches[open] summary::after{content:" ▴";}
.ssd-all-matches summary:focus-visible{outline:3px solid #333;outline-offset:3px;}
.ssd-all-matches .ssd-table-scroll{margin-top:12px;}

/* Playing position beneath the person name */
.ssd-hero .ssd-position{display:inline-block;margin:0 0 8px;padding:5px 11px;border-radius:6px;background:#fdc300;color:#1e2530;font-size:13px;font-weight:750;line-height:1.4}

/* v0.3.5: stronger position label specificity for themes */
.ssd-wrap.ssd-profile .ssd-hero-info .ssd-position{display:table!important;background-color:#fdc300!important;color:#1e2530!important;padding:6px 12px!important;border-radius:6px!important;font-weight:700!important;margin:2px 0 12px!important;}

/* Manager-only profiles display just the two managerial summary cards. */
.ssd-stats.ssd-stats-manager-only{grid-template-columns:repeat(2,minmax(0,1fr));}

/* Player debut beneath biographical details */
.ssd-profile .ssd-debut{margin:12px 0 16px;line-height:1.9;display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px}
.ssd-profile .ssd-debut strong{font-weight:800}
.ssd-profile .ssd-debut .ssd-result{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:6px;font-size:12px;font-weight:800;line-height:1}
.ssd-profile .ssd-debut .ssd-result-w{background:#dcfce7;color:#166534}
.ssd-profile .ssd-debut .ssd-result-d{background:#fef3c7;color:#92400e}
.ssd-profile .ssd-debut .ssd-result-l{background:#fee2e2;color:#991b1b}
.ssd-profile .ssd-debut-venue{font-weight:700}

/* Fixtures and results */
.ssd-fixtures-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:0 0 22px}.ssd-fixtures-toolbar h2{margin:0 0 5px}.ssd-fixtures-toolbar p{margin:0}.ssd-season-form{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.ssd-season-form label{font-weight:700}.ssd-season-form select{min-width:170px;padding:9px 12px;border:1px solid #bbb;border-radius:5px;background:white;color:#202020}.ssd-season-form button{padding:9px 14px;background:#f6c600;color:#222;border:0;border-radius:5px;font-weight:700;cursor:pointer}.ssd-fixtures-table a{font-weight:700;text-decoration:none}.ssd-fixtures-table a:hover{text-decoration:underline}@media(max-width:600px){.ssd-fixtures-toolbar{align-items:stretch}.ssd-season-form{width:100%}.ssd-fixtures-table{min-width:650px}}

/* v0.4.0 – month-grouped, badge-led fixtures */
.ssd-fixtures-cards{color:#1e2530;max-width:1120px;margin:0 auto 40px}
.ssd-fixtures-month{margin:28px 0 12px!important;padding:11px 15px;background:#252F59;color:#fff!important;border-left:5px solid #fdc300;border-radius:5px;font-size:21px!important}
.ssd-fixtures-month-list{display:grid;gap:9px}
.ssd-fixture-card{display:grid;grid-template-columns:115px minmax(0,1fr) 175px;align-items:center;gap:18px;background:#fff;border:1px solid #e5e7eb;border-radius:11px;padding:16px 19px;box-shadow:0 2px 8px rgba(20,30,45,.04)}
.ssd-fixture-date strong,.ssd-fixture-date span{display:block}.ssd-fixture-date strong{font-size:15px}.ssd-fixture-date span{font-size:12px;color:#667085}
.ssd-fixture-meta{font-size:12px;color:#667085;margin-bottom:10px;font-weight:650}
.ssd-fixture-opponent{display:flex;gap:13px;align-items:center}.ssd-fixture-crest{width:52px;height:52px;object-fit:contain;flex:0 0 52px}.ssd-fixture-crest-placeholder{width:52px;height:52px;align-items:center;justify-content:center;background:#f1f3f6;border-radius:50%;font-size:25px;flex:0 0 52px}
.ssd-fixture-teams{display:flex;flex-direction:column;gap:3px;min-width:0}.ssd-fixture-teams a{font-size:17px;font-weight:800;color:#1e2530!important;text-decoration:none!important}.ssd-fixture-teams a:hover{text-decoration:underline!important}.ssd-fixture-team-name{font-size:12px;color:#667085}
.ssd-fixture-outcome{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.ssd-fixture-score{font-size:23px;font-weight:850;white-space:nowrap;color:#1e2530!important;text-decoration:none!important}.ssd-fixture-report{width:100%;font-size:12px;text-align:right;font-weight:700;color:#475467!important}.ssd-fixture-upcoming{background:#fff5cc;color:#6d5100;border-radius:5px;padding:7px 11px;font-weight:700;font-size:13px}
@media(max-width:680px){.ssd-fixture-card{grid-template-columns:1fr auto;gap:9px;padding:14px}.ssd-fixture-date{grid-column:1/-1;display:flex;gap:6px;align-items:baseline}.ssd-fixture-date span{display:inline}.ssd-fixture-opponent{gap:9px}.ssd-fixture-crest,.ssd-fixture-crest-placeholder{width:40px;height:40px;flex-basis:40px}.ssd-fixture-teams a{font-size:14px}.ssd-fixture-score{font-size:19px}.ssd-fixture-outcome{max-width:115px}.ssd-fixture-report{font-size:11px}}

/* Match detail page */
.ssd-match-details{max-width:1050px;margin:0 auto 50px;color:#202938}.ssd-match-back{display:inline-block;margin:15px 0 22px}.ssd-match-top{text-align:center;background:#f8fafc;border:1px solid #e2e6eb;border-radius:12px;padding:25px 18px}.ssd-match-top>p{margin:5px 0 10px}.ssd-match-scoreboard{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:15px;margin:22px 0}.ssd-match-team{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0}.ssd-match-team img{width:65px;height:65px;object-fit:contain}.ssd-match-team strong{font-size:18px}.ssd-match-score{font-size:36px;font-weight:800;white-space:nowrap}.ssd-match-facts{display:flex;flex-wrap:wrap;gap:15px;margin:18px 0}.ssd-match-facts>div{padding:12px 16px;background:#f5f6f8;border-radius:8px;display:flex;gap:8px}.ssd-match-sections section{border:1px solid #e2e6eb;border-radius:10px;padding:20px;margin:18px 0}.ssd-match-sections h3{margin:0 0 14px;border-bottom:3px solid #fdc300;padding-bottom:10px}.ssd-match-player-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.ssd-match-sections ul{margin:0;padding-left:22px}.ssd-match-sections li{margin:6px 0}.ssd-match-report{line-height:1.75}@media(max-width:600px){.ssd-match-score{font-size:26px}.ssd-match-team strong{font-size:13px}.ssd-match-team img{width:48px;height:48px}.ssd-match-scoreboard{gap:6px}.ssd-match-sections section{padding:14px}}

/* 0.4.4 — editorial match report design */
.ssd-match-details{max-width:1080px!important;margin:0 auto 60px!important;font-family:inherit}
.ssd-match-details .ssd-match-back{font-weight:700;color:#273449;text-decoration:none}
.ssd-match-details .ssd-match-top{background:linear-gradient(155deg,#182537,#263a52)!important;color:#fff!important;border:0!important;border-radius:14px!important;padding:34px 26px!important;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.ssd-match-details .ssd-match-top>p{color:#dce4ed!important;font-weight:600!important}
.ssd-match-details .ssd-match-top .ssd-match-competition{display:inline-block!important;background:#fdc300!important;color:#1e293b!important;padding:7px 16px!important;border-radius:20px!important;font-weight:800!important;font-size:13px!important}
.ssd-match-details .ssd-match-scoreboard{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;gap:18px!important;margin:28px 0 16px!important}
.ssd-match-details .ssd-match-team{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:13px!important;min-width:0!important;text-align:center!important}
.ssd-match-details .ssd-match-team img{display:block!important;width:90px!important;height:90px!important;max-width:100%!important;object-fit:contain!important;background:#fff!important;border-radius:50%!important;padding:10px!important;box-sizing:border-box!important}
.ssd-match-details .ssd-match-team strong{color:#fff!important;font-size:clamp(14px,2vw,22px)!important;line-height:1.25!important}
.ssd-match-details .ssd-match-score{font-size:clamp(30px,5vw,58px)!important;line-height:1!important;font-weight:900!important;color:#fdc300!important;white-space:nowrap!important}
.ssd-match-details .ssd-saints-monogram{display:flex;align-items:center;justify-content:center;background:#fdc300;color:#182537;width:90px;height:90px;border-radius:50%;font-size:15px;font-weight:900}
.ssd-match-details .ssd-match-top .ssd-result{display:inline-block!important;margin:12px auto 0!important}
.ssd-match-details .ssd-match-facts{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(155px,1fr))!important;gap:12px!important;margin:22px 0!important}
.ssd-match-details .ssd-match-facts>div{display:flex!important;flex-direction:column!important;gap:6px!important;border:1px solid #e4e9ef!important;border-radius:10px!important;padding:15px!important;background:#f7f9fb!important}
.ssd-match-details .ssd-match-facts strong{font-size:11px!important;text-transform:uppercase!important;letter-spacing:.07em!important;color:#617084!important}
.ssd-match-details .ssd-match-facts span{font-weight:700!important;color:#243247!important}
.ssd-match-details .ssd-match-sections section{border:1px solid #e4e9ef!important;border-radius:12px!important;padding:25px!important;margin:18px 0!important;background:#fff!important}
.ssd-match-details .ssd-match-sections h3{font-size:21px!important;color:#1b2a3b!important;border-bottom:3px solid #fdc300!important;padding-bottom:12px!important;margin:0 0 18px!important}
.ssd-match-details .ssd-match-report{font-size:16px!important;line-height:1.8!important}
.ssd-match-details .ssd-match-player-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:8px 18px!important}
.ssd-match-details .ssd-match-player-grid a{display:block;padding:9px 11px;background:#f7f9fb;border-radius:6px;text-decoration:none!important}
@media(max-width:600px){.ssd-match-details .ssd-match-top{padding:22px 10px!important}.ssd-match-details .ssd-match-scoreboard{gap:5px!important}.ssd-match-details .ssd-match-team img,.ssd-match-details .ssd-saints-monogram{width:56px!important;height:56px!important}.ssd-match-details .ssd-match-sections section{padding:15px!important}.ssd-match-details .ssd-match-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Match details: ordered line-up with portraits */
.ssd-match-details .ssd-match-player-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;gap:10px!important}
.ssd-match-details .ssd-match-player-grid a.ssd-match-player{display:flex!important;align-items:center!important;gap:12px!important;padding:9px 12px!important;min-height:62px;background:#f7f9fb;border:1px solid #e7e9ee;border-radius:8px;color:#202938}
.ssd-match-details .ssd-lineup-number{flex:0 0 24px;font-weight:800;color:#555;font-size:14px;text-align:center}
.ssd-match-details .ssd-lineup-photo{flex:0 0 42px;width:42px;height:42px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:#e6e9ee}
.ssd-match-details .ssd-lineup-photo img.ssd-photo{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;object-fit:cover!important;border-radius:50%!important;margin:0!important;padding:0!important}
.ssd-match-details .ssd-lineup-photo .ssd-placeholder{width:42px;height:42px;min-width:42px;display:flex;align-items:center;justify-content:center}
.ssd-match-details .ssd-lineup-name{font-weight:650;line-height:1.3}
.ssd-match-details .ssd-lineup-note{font-size:12px;color:#667085;margin:12px 0 0}

/* 0.4.7 — used substitute cards */
.ssd-match-details .ssd-match-sub-player .ssd-match-sub-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.ssd-match-details .ssd-match-sub-player small{display:block;color:#667085;font-size:12px;line-height:1.4}

.ssd-match-details .ssd-opposition-names{line-height:1.8;margin:8px 0 0;}

/* Responsive YouTube videos within historical match reports */
.ssd-match-report .ssd-report-video { width:100%; max-width:720px; aspect-ratio:16/9; margin:18px 0; }
.ssd-match-report .ssd-report-video iframe { display:block; width:100%; height:100%; border:0; }

/* v0.5.2: prevent theme/WPBakery iframe sizing from flattening report videos. */
.ssd-match-details .ssd-match-report .ssd-report-body .ssd-report-video{display:block!important;position:relative!important;width:100%!important;max-width:720px!important;height:auto!important;aspect-ratio:16/9!important;overflow:hidden!important;margin:22px 0!important;padding:0!important;}
.ssd-match-details .ssd-match-report .ssd-report-body .ssd-report-video iframe{position:absolute!important;top:0!important;left:0!important;width:100%!important;height:100%!important;max-width:none!important;min-height:0!important;aspect-ratio:16/9!important;border:0!important;margin:0!important;padding:0!important;}

/* v0.5.3: smaller videos side by side, centred if only one. */
.ssd-match-details .ssd-match-report .ssd-report-body .ssd-report-videos{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:start!important;max-width:940px!important;margin:20px auto!important;}
.ssd-match-details .ssd-match-report .ssd-report-body .ssd-report-video{display:block!important;position:relative!important;width:100%!important;max-width:460px!important;aspect-ratio:16/9!important;height:auto!important;overflow:hidden!important;margin:18px auto!important;padding:0!important;}
.ssd-match-details .ssd-match-report .ssd-report-body .ssd-report-videos .ssd-report-video{margin:0 auto!important;}
@media(max-width:650px){.ssd-match-details .ssd-match-report .ssd-report-body .ssd-report-videos{grid-template-columns:1fr!important;max-width:460px!important;}}

/* v0.5.4: dedicated report video gallery, unaffected by paragraph wrappers. */
.ssd-match-details .ssd-report-body .ssd-report-videos{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;width:100%!important;max-width:940px!important;margin:22px auto!important;align-items:start!important;}
.ssd-match-details .ssd-report-body .ssd-report-videos-single{grid-template-columns:minmax(0,460px)!important;justify-content:center!important;}
.ssd-match-details .ssd-report-body .ssd-report-videos>.ssd-report-video{width:100%!important;max-width:none!important;margin:0!important;}
@media(max-width:650px){.ssd-match-details .ssd-report-body .ssd-report-videos{grid-template-columns:minmax(0,460px)!important;justify-content:center!important;}}

/* Saints Centurions */
.ssd-centurions-summary{display:inline-flex;align-items:center;gap:10px;background:#fff7d6;border:1px solid #f3d269;border-radius:9px;padding:12px 18px;margin:5px 0 23px;font-weight:700;color:#1e2530}
.ssd-centurions-summary strong{font-size:23px}
.ssd-centurions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:13px}
.ssd-centurion{display:flex;align-items:center;gap:13px;min-width:0;padding:14px;background:#fff;border:1px solid #e2e6ec;border-radius:12px;color:#1e2530!important;text-decoration:none!important;transition:box-shadow .15s,border-color .15s}
.ssd-centurion:hover{border-color:#d9ad00;box-shadow:0 4px 16px rgba(30,37,48,.09)}
.ssd-centurion-rank{flex:0 0 24px;font-size:14px;font-weight:800;color:#687383;text-align:center}
.ssd-centurion-photo{flex:0 0 60px;display:block}.ssd-centurion-photo .ssd-photo,.ssd-centurion-photo .ssd-placeholder{width:60px;height:72px;max-width:60px}
.ssd-centurion-info{display:flex;flex-direction:column;min-width:0;gap:5px}
.ssd-centurion-name{font-size:16px;line-height:1.25;color:#1e2530}
.ssd-centurion-years{font-size:12px;color:#667085}
.ssd-centurion-totals{font-size:13px;color:#354052}.ssd-centurion-totals b{font-size:15px}
@media(max-width:480px){.ssd-centurions-grid{grid-template-columns:1fr}}

/* Opponent directory and head-to-head pages v0.5.6 */
.ssd-opponent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ssd-opponent-item{display:flex;align-items:center;gap:15px;padding:13px 16px;border:1px solid #e3e6eb;border-radius:12px;background:#fff;text-decoration:none!important;color:#1e2530!important;min-width:0}.ssd-opponent-item:hover{border-color:#fdc300;background:#fffdf4}.ssd-opponent-item img,.ssd-opponent-no-logo{width:52px;height:52px;object-fit:contain;flex:none}.ssd-opponent-no-logo{display:flex;align-items:center;justify-content:center;background:#f5f6f8;border-radius:8px}.ssd-opponent-name{font-weight:750;flex:1;min-width:0}.ssd-opponent-name small{display:block;color:#667085;font-weight:400;font-size:12px;margin-top:4px}.ssd-opponent-hero{display:flex;align-items:center;gap:22px;padding:24px;background:#f6f7f9;border-radius:15px}.ssd-opponent-hero img{width:100px;height:100px;object-fit:contain}.ssd-opponent-hero h2{margin:0 0 10px}.ssd-opponent-hero p{margin:3px 0}.ssd-opponent-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:20px 0}.ssd-opponent-stats>div{padding:15px 7px;border-radius:10px;background:#f5f6f8;text-align:center}.ssd-opponent-stats strong{display:block;font-size:25px}.ssd-opponent-stats span{display:block;font-size:12px;color:#667085}.ssd-opponent-detail .ssd-table .ssd-result{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:7px;font-weight:800}.ssd-opponent-info{margin:25px 0}@media(max-width:700px){.ssd-opponent-grid{grid-template-columns:1fr}.ssd-opponent-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.ssd-opponent-hero{padding:15px}.ssd-opponent-hero img{width:70px;height:70px}}

/* v0.5.8: opponent directory uses neutral containers, avoiding theme-wide header/nav selectors. */
.ssd-opponents .ssd-header{position:static!important;inset:auto!important;transform:none!important;float:none!important;display:block!important;background:transparent!important;color:inherit!important;width:auto!important;height:auto!important;min-height:0!important;z-index:auto!important;padding:0!important;margin:0 0 22px!important;}
.ssd-opponents .ssd-alphabet{position:static!important;transform:none!important;float:none!important;height:auto!important;min-height:0!important;background:transparent!important;}

/* Season squads v0.5.9 — scoped to avoid theme header/navigation conflicts. */
.ssd-season-squads .ssd-squad-season-form{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0 25px;padding:16px;background:#f6f7f9;border-radius:10px}
.ssd-season-squads .ssd-squad-season-form label{font-weight:700;color:#202938}
.ssd-season-squads .ssd-squad-season-form select{min-width:210px;max-width:100%;padding:10px 13px;border:1px solid #d7dce3;border-radius:7px;background:#fff;color:#202938}
.ssd-season-squads .ssd-squad-season-form button{background:#202938;color:#fff;border:0;border-radius:7px;padding:11px 16px;cursor:pointer}
.ssd-season-squads .ssd-squad-summary{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin:0 0 15px}
.ssd-season-squads .ssd-squad-summary h3{margin:0}.ssd-season-squads .ssd-squad-summary span{color:#667085}
.ssd-season-squads .ssd-squad-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.ssd-season-squads .ssd-squad-player{display:flex;align-items:center;gap:13px;min-width:0;padding:12px;border:1px solid #e3e6eb;border-radius:10px;background:#fff;color:#202938!important;text-decoration:none!important}
.ssd-season-squads .ssd-squad-player:hover{border-color:#fdc300;background:#fffdf4}
.ssd-season-squads .ssd-squad-player .ssd-photo,.ssd-season-squads .ssd-squad-player .ssd-placeholder{flex:0 0 52px;width:52px;height:64px;object-fit:cover}
.ssd-season-squads .ssd-squad-player-name{font-weight:750;min-width:0;flex:1}
.ssd-season-squads .ssd-squad-player-stats{font-size:12px;color:#667085;text-align:right;max-width:165px}
.ssd-season-squads .ssd-squad-player-stats b{color:#202938}.ssd-season-squads .ssd-squad-player .ssd-arrow{color:#8c95a4}
@media(max-width:800px){.ssd-season-squads .ssd-squad-list{grid-template-columns:1fr}}
@media(max-width:480px){.ssd-season-squads .ssd-squad-player{flex-wrap:wrap}.ssd-season-squads .ssd-squad-player-stats{max-width:none;flex-basis:100%;text-align:left;padding-left:65px}}

/* v0.6.0: avoid theme header selectors on season squads, as on opponents. */
.ssd-season-squads .ssd-squad-intro{position:static!important;inset:auto!important;transform:none!important;float:none!important;display:block!important;background:transparent!important;color:inherit!important;width:auto!important;height:auto!important;min-height:0!important;z-index:auto!important;padding:0!important;margin:0 0 22px!important;}
.ssd-season-squads .ssd-squad-intro>p:first-child{font-size:12px;letter-spacing:.12em;font-weight:800;color:#6b7280;}
.ssd-season-squads .ssd-squad-intro h2{font-size:clamp(30px,4vw,44px);line-height:1.15;margin:8px 0 10px;color:#1e2530;}
.ssd-season-squads .ssd-squad-intro p{color:#667085;}

/* v0.6.1: roomier Season Squads cards; styles scoped to the shortcode only. */
.ssd-season-squads .ssd-squad-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ssd-season-squads .ssd-squad-player{display:flex;align-items:center;gap:16px;padding:14px;min-width:0;min-height:116px}
.ssd-season-squads .ssd-squad-player .ssd-photo,.ssd-season-squads .ssd-squad-player .ssd-placeholder{flex:0 0 76px;width:76px;height:94px;max-width:76px;object-fit:cover;border-radius:7px}
.ssd-season-squads .ssd-squad-player-info{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;flex:1 1 auto;min-width:0}
.ssd-season-squads .ssd-squad-player-name{display:block;flex:none;width:100%;font-size:16px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.ssd-season-squads .ssd-squad-player-stats{display:block;max-width:none;text-align:left;font-size:13px;line-height:1.55;white-space:normal;overflow-wrap:normal}
.ssd-season-squads .ssd-squad-player .ssd-arrow{flex:0 0 auto;margin-left:auto}
@media(max-width:1050px){.ssd-season-squads .ssd-squad-list{grid-template-columns:1fr}}
@media(max-width:480px){.ssd-season-squads .ssd-squad-player{flex-wrap:nowrap;gap:12px;padding:11px}.ssd-season-squads .ssd-squad-player .ssd-photo,.ssd-season-squads .ssd-squad-player .ssd-placeholder{flex-basis:66px;width:66px;max-width:66px;height:84px}.ssd-season-squads .ssd-squad-player-stats{flex-basis:auto;padding-left:0;font-size:12px}}

/* v0.6.2: managers beneath the season roster, scoped to avoid theme header rules. */
.ssd-season-squads .ssd-squad-managers{margin-top:35px;padding-top:23px;border-top:2px solid #e3e6eb}
.ssd-season-squads .ssd-squad-manager-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ssd-season-squads .ssd-squad-manager{display:flex;align-items:center;gap:16px;padding:14px;min-width:0;min-height:116px;background:#fff;border:1px solid #e3e6eb;border-radius:10px;color:#202938!important;text-decoration:none!important}
.ssd-season-squads .ssd-squad-manager:hover{border-color:#fdc300;background:#fffdf4}
.ssd-season-squads .ssd-squad-manager .ssd-photo,.ssd-season-squads .ssd-squad-manager .ssd-placeholder{flex:0 0 76px;width:76px;height:94px;max-width:76px;object-fit:cover;border-radius:7px}
.ssd-season-squads .ssd-squad-manager-info{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}
.ssd-season-squads .ssd-squad-manager-name{font-size:16px;line-height:1.35;font-weight:750;overflow-wrap:anywhere}
.ssd-season-squads .ssd-squad-manager-stats{font-size:13px;line-height:1.6;color:#667085;overflow-wrap:anywhere}
.ssd-season-squads .ssd-squad-manager-stats b{color:#202938}
.ssd-season-squads .ssd-squad-manager .ssd-arrow{flex:0 0 auto;margin-left:auto}
@media(max-width:1050px){.ssd-season-squads .ssd-squad-manager-list{grid-template-columns:1fr}}
@media(max-width:480px){.ssd-season-squads .ssd-squad-manager{gap:12px;padding:11px}.ssd-season-squads .ssd-squad-manager .ssd-photo,.ssd-season-squads .ssd-squad-manager .ssd-placeholder{flex-basis:66px;width:66px;max-width:66px;height:84px}.ssd-season-squads .ssd-squad-manager-stats{font-size:12px}}


/* v0.6.3: consistent typography and Saints palette across plugin pages.
   All selectors are confined to .ssd-wrap to protect the theme header/menu. */
.ssd-wrap{--ssd-yellow:#fdc300;--ssd-ink:#1e2530;--ssd-muted:#667085;--ssd-surface:#f6f7f9;--ssd-border:#e3e6eb;font-family:inherit!important;color:var(--ssd-ink);}
.ssd-wrap :is(h2,h3,h4,p,span,small,strong,b,a,button,input,select,label,td,th){font-family:inherit;}
.ssd-wrap :is(.ssd-header h2,.ssd-squad-intro h2){color:var(--ssd-ink)!important;font-weight:800;letter-spacing:normal;}
.ssd-wrap :is(.ssd-header>p:first-child,.ssd-squad-intro>p:first-child){color:var(--ssd-muted)!important;}
.ssd-wrap :is(.ssd-header p,.ssd-squad-intro p,.ssd-squad-summary span,.ssd-squad-player-stats,.ssd-squad-manager-stats,.ssd-centurion-years,.ssd-opponent-name small){color:var(--ssd-muted);}
.ssd-wrap :is(.ssd-squad-season-form button,.ssd-season-form button,.ssd-search button){background:var(--ssd-ink);color:#fff;font-family:inherit;font-weight:700;line-height:1.35;}
.ssd-wrap :is(.ssd-squad-season-form button,.ssd-season-form button,.ssd-search button):hover{background:#303c4f;}
.ssd-wrap :is(.ssd-squad-season-form select,.ssd-season-form select,.ssd-search input){font-family:inherit;font-size:15px;}
.ssd-wrap :is(.ssd-squad-player-name,.ssd-squad-manager-name,.ssd-centurion-name,.ssd-opponent-name,.ssd-person-name){color:var(--ssd-ink);font-weight:750;}
.ssd-wrap :is(.ssd-squad-player,.ssd-squad-manager,.ssd-centurion,.ssd-opponent-item){border-color:var(--ssd-border);}
.ssd-wrap :is(.ssd-squad-player,.ssd-squad-manager,.ssd-centurion,.ssd-opponent-item):hover{border-color:var(--ssd-yellow);}
.ssd-wrap :is(.ssd-squad-season-form,.ssd-opponent-hero,.ssd-stats>div){background:var(--ssd-surface);}
.ssd-wrap :is(.ssd-table th,.ssd-alphabet a.is-active,.ssd-alphabet a:hover){background:var(--ssd-yellow);color:var(--ssd-ink)!important;}


/* Match records - profile-style statistical cards */
.ssd-match-records .ssd-record-filter{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:18px;background:#f6f7f9;border-radius:12px;margin:18px 0 25px}
.ssd-match-records .ssd-record-filter label{font-weight:750;color:#1e2530}
.ssd-match-records .ssd-record-filter select{min-width:190px;max-width:100%;padding:10px 12px;border:1px solid #d0d5dd;border-radius:8px;background:white;color:#1e2530}
.ssd-match-records .ssd-record-filter button{padding:11px 17px;border:0;border-radius:8px;background:#1e2530;color:white;font-weight:750;cursor:pointer}
.ssd-match-records .ssd-record-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ssd-match-records .ssd-record-card{border:1px solid #e3e6eb;border-radius:14px;background:#f6f7f9;padding:20px;min-width:0}
.ssd-match-records .ssd-record-card h3{font-size:17px!important;line-height:1.3;margin:0 0 13px!important;font-weight:800;color:#1e2530!important}
.ssd-match-records .ssd-record-number{font-size:31px;line-height:1.2;font-weight:850;color:#1e2530}
.ssd-match-records .ssd-record-label{font-size:12px;color:#667085;margin:4px 0 16px}
.ssd-match-records .ssd-record-matches{border-top:3px solid #fdc300;padding-top:11px;max-height:360px;overflow:auto}
.ssd-match-records .ssd-record-match{padding:9px 0;border-bottom:1px solid #e3e6eb}
.ssd-match-records .ssd-record-match:last-child{border-bottom:0}
.ssd-match-records .ssd-record-date{display:block;font-size:12px;font-weight:700;color:#667085}
.ssd-match-records .ssd-record-match a{display:block;color:#1e2530!important;font-weight:750;text-decoration:underline;text-decoration-color:#fdc300;text-underline-offset:3px;overflow-wrap:anywhere}
.ssd-match-records .ssd-record-match small{display:block;color:#667085;margin-top:3px;font-size:12px}
.ssd-match-records .ssd-record-empty{color:#667085}
@media(max-width:900px){.ssd-match-records .ssd-record-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ssd-match-records .ssd-record-grid{grid-template-columns:1fr}.ssd-match-records .ssd-record-filter{align-items:stretch;flex-direction:column}.ssd-match-records .ssd-record-filter select{width:100%}}

/* v0.6.6: Archi uses global header styling. Match Records uses a neutral div
   instead of an HTML header element, so the theme cannot mistake it for site chrome. */
.ssd-match-records .ssd-record-heading{display:block;position:static;float:none;clear:none;inset:auto;transform:none;width:auto;height:auto;min-height:0;max-width:none;margin:0 0 22px;padding:0;background:transparent;color:#1e2530;border:0;box-shadow:none;z-index:auto;text-align:left}
.ssd-match-records .ssd-record-heading>p:first-child{font-size:12px;letter-spacing:.12em;font-weight:800;color:#6b7280;margin:0}
.ssd-match-records .ssd-record-heading h2{font-size:clamp(30px,4vw,44px);line-height:1.15;margin:8px 0 10px;color:#1e2530;font-weight:700}
.ssd-match-records .ssd-record-heading p{color:#667085;margin:0}

/* On This Day - scoped to plugin; no global header or navigation selectors */
.ssd-on-this-day{max-width:1160px;margin:0 auto 40px;color:#1e2530}
.ssd-on-this-day .ssd-otd-heading h2{font-size:32px!important;color:#1e2530!important;font-weight:800;margin:0 0 7px!important}
.ssd-on-this-day .ssd-otd-heading p{color:#667085;margin:0 0 18px}
.ssd-on-this-day .ssd-otd-filter{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:18px;background:#f6f7f9;border-radius:12px;margin-bottom:22px}
.ssd-on-this-day .ssd-otd-filter label{font-weight:750}
.ssd-on-this-day .ssd-otd-filter select{padding:10px 12px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#1e2530;min-width:95px}
.ssd-on-this-day .ssd-otd-filter button{padding:11px 17px;border:0;border-radius:8px;background:#fdc300;color:#111;font-weight:750;cursor:pointer}
.ssd-on-this-day .ssd-otd-date{background:#202938;color:#fff;border-left:5px solid #fdc300;padding:12px 16px;font-size:23px;font-weight:800;margin:0 0 16px}
.ssd-on-this-day .ssd-otd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ssd-on-this-day .ssd-otd-panel{background:#f6f7f9;border:1px solid #e3e6eb;border-radius:14px;padding:20px;min-width:0}
.ssd-on-this-day .ssd-otd-panel h3{font-size:19px!important;color:#1e2530!important;margin:0 0 12px!important;padding-bottom:12px;border-bottom:3px solid #fdc300;font-weight:800}
.ssd-on-this-day .ssd-otd-panel h3 span{font-size:13px;background:#202938;color:#fff;border-radius:20px;padding:3px 9px;vertical-align:middle}
.ssd-on-this-day .ssd-otd-entry{padding:12px 0;border-bottom:1px solid #e3e6eb}
.ssd-on-this-day .ssd-otd-entry:last-child{border-bottom:0}
.ssd-on-this-day .ssd-otd-year{display:block;color:#667085;font-size:12px;font-weight:750;margin-bottom:4px}
.ssd-on-this-day .ssd-otd-entry a{display:block;color:#1e2530!important;font-weight:750;text-decoration:underline;text-decoration-color:#fdc300;text-underline-offset:3px;overflow-wrap:anywhere}
.ssd-on-this-day .ssd-otd-entry small{display:block;color:#667085;font-size:12px;margin-top:4px}
.ssd-on-this-day .ssd-otd-empty,.ssd-on-this-day .ssd-otd-note{color:#667085}
.ssd-on-this-day .ssd-otd-note{font-size:13px;margin-top:18px}
@media(max-width:900px){.ssd-on-this-day .ssd-otd-grid{grid-template-columns:1fr 1fr}.ssd-on-this-day .ssd-otd-panel:first-child{grid-column:1/-1}}
@media(max-width:600px){.ssd-on-this-day .ssd-otd-grid{grid-template-columns:1fr}.ssd-on-this-day .ssd-otd-panel:first-child{grid-column:auto}.ssd-on-this-day .ssd-otd-filter{align-items:stretch}.ssd-on-this-day .ssd-otd-filter button{width:100%}}

/* On This Day: small player photographs and opponent crests */
.ssd-on-this-day .ssd-otd-person-row{display:flex;align-items:center;gap:12px;min-width:0}
.ssd-on-this-day .ssd-otd-person-row>a{flex:1;min-width:0}
.ssd-on-this-day .ssd-otd-thumb{width:44px;height:44px;flex:0 0 44px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#fff;border:1px solid #e3e6eb;overflow:hidden}
.ssd-on-this-day .ssd-otd-thumb img,.ssd-on-this-day .ssd-otd-thumb .ssd-photo{width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;border-radius:0!important;margin:0!important}
.ssd-on-this-day .ssd-otd-thumb .ssd-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:21px;color:#667085}
@media(max-width:600px){.ssd-on-this-day .ssd-otd-thumb{width:40px;height:40px;flex-basis:40px}}

/* v0.6.9: consistent archive label above Fixtures & Results title. */
.ssd-fixtures .ssd-fixtures-kicker{font-size:12px!important;letter-spacing:.12em!important;font-weight:800!important;color:#667085!important;margin:0 0 8px!important;line-height:1.5!important;}

/* v0.7.0 — lighter, modern typography, scoped to Saints Statistics only. */
.ssd-wrap, .ssd-match-details, .ssd-on-this-day, .ssd-fixtures-cards {
  font-family: "Inter", "Open Sans", Arial, sans-serif;
  font-weight: 400;
}
.ssd-wrap h1, .ssd-wrap h2, .ssd-wrap h3, .ssd-wrap h4,
.ssd-match-details h1, .ssd-match-details h2, .ssd-match-details h3,
.ssd-on-this-day h1, .ssd-on-this-day h2, .ssd-on-this-day h3,
.ssd-fixtures-cards h1, .ssd-fixtures-cards h2, .ssd-fixtures-cards h3 {
  font-family: "Inter", "Open Sans", Arial, sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -.015em;
}
.ssd-wrap .ssd-header > p:first-child, .ssd-wrap .ssd-eyebrow,
.ssd-on-this-day .ssd-eyebrow { font-weight: 500 !important; }
.ssd-wrap strong, .ssd-wrap b, .ssd-match-details strong, .ssd-match-details b,
.ssd-on-this-day strong, .ssd-on-this-day b, .ssd-fixtures-cards strong, .ssd-fixtures-cards b {
  font-weight: 600 !important;
}
.ssd-wrap .ssd-person-name, .ssd-wrap .ssd-fixture-teams a,
.ssd-fixtures-cards .ssd-fixture-teams a, .ssd-wrap .ssd-section-nav a,
.ssd-wrap .ssd-profile-links a, .ssd-wrap .ssd-profile-footer a,
.ssd-wrap .ssd-table th, .ssd-match-details .ssd-match-score,
.ssd-fixtures-cards .ssd-fixture-score { font-weight: 600 !important; }
.ssd-wrap .ssd-table tfoot, .ssd-wrap .ssd-table tfoot th {font-weight: 600 !important;}

/* v0.7.3: Match disciplinary records: one team in each column at all sizes. */
.ssd-match-details .ssd-match-card-teams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.ssd-match-details .ssd-match-card-team {
  display: block;
  min-width: 0;
  padding: 14px;
  background: #f6f7f9;
  border-radius: 8px;
}
.ssd-match-details .ssd-match-card-team h4 {
  margin: 0 0 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.ssd-match-details .ssd-match-card-team .ssd-match-card-event {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ssd-match-details .ssd-match-card-event .ssd-booking-card {
  display: inline-block;
  flex: 0 0 12px;
  width: 12px;
  height: 17px;
  margin-top: 2px;
  transform: none;
}
.ssd-match-details .ssd-match-card-event > span:last-child {
  flex: 1 1 auto;
  min-width: 0;
}
@media (max-width: 600px) {
  .ssd-match-details .ssd-match-card-teams { gap: 8px; }
  .ssd-match-details .ssd-match-card-team { padding: 9px; }
  .ssd-match-details .ssd-match-card-team .ssd-match-card-event { gap: 9px; }
}

/* Match manager immediately below St Albans City line-up */
.ssd-match-details .ssd-match-managers { margin-top: 14px; padding: 12px 14px; background: #f6f7f9; border-left: 3px solid #fdc300; line-height: 1.6; }
.ssd-match-details .ssd-match-managers strong { margin-right: 6px; font-weight: 600; }

/* v0.7.5: match manager portraits match the 42px line-up player portraits. */
.ssd-match-details .ssd-match-manager-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin-top:10px}
.ssd-match-details .ssd-match-manager-list a.ssd-match-manager{display:flex!important;align-items:center!important;gap:12px!important;padding:9px 12px!important;min-height:62px;background:#fff;border:1px solid #e7e9ee;border-radius:8px;text-decoration:none!important;color:#202938!important}
.ssd-match-details .ssd-match-manager-list a.ssd-match-manager:hover{border-color:#fdc300}
.ssd-match-details .ssd-match-manager-list .ssd-lineup-photo{flex:0 0 42px;width:42px;height:42px}
.ssd-match-details .ssd-match-manager-list .ssd-lineup-photo img.ssd-photo{width:42px!important;height:42px!important;max-width:42px!important;object-fit:cover!important;border-radius:50%!important;margin:0!important}

/* On This Day: Saints-perspective result indicator immediately before score */
.ssd-on-this-day .ssd-otd-result{display:inline-block;font-weight:800;margin-right:3px}
.ssd-on-this-day .ssd-otd-result-w{color:#166534}
.ssd-on-this-day .ssd-otd-result-d{color:#92400e}
.ssd-on-this-day .ssd-otd-result-l{color:#991b1b}

/* On This Day: opponent above a centred W/D/L and score, within the match link. */
.ssd-on-this-day .ssd-otd-person-row>a.ssd-otd-match-link{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;min-width:0}
.ssd-on-this-day .ssd-otd-match-link .ssd-otd-opponent{display:block;width:100%;overflow-wrap:anywhere}
.ssd-on-this-day .ssd-otd-match-link .ssd-otd-score{display:block;width:100%;text-align:center;font-weight:750}

/* Saints player photos alongside match disciplinary events. */
.ssd-match-details .ssd-match-card-event .ssd-card-player-photo{flex:0 0 34px;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:#e6e9ee}
.ssd-match-details .ssd-match-card-event .ssd-card-player-photo img.ssd-photo{width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;object-fit:cover!important;border-radius:50%!important;margin:0!important;padding:0!important}
.ssd-match-details .ssd-match-card-event .ssd-card-player-photo .ssd-placeholder{width:34px;height:34px;display:flex;align-items:center;justify-content:center}
.ssd-match-details .ssd-match-card-event .ssd-card-player-label{flex:1 1 auto;min-width:0;align-self:center}


/* v0.7.11: Archi-compatible typography, scoped to the directory only. */
.ssd-wrap, .ssd-match-details { font-family:inherit !important; font-size:inherit; line-height:inherit; }
.ssd-wrap :is(p,li,td,th,dd,dt,span,small,a,label,button,input,select,textarea),
.ssd-match-details :is(p,li,td,th,dd,dt,span,small,a,label,button,input,select,textarea) { font-family:inherit !important; }
.ssd-wrap :is(h2,h3,h4,h5,h6), .ssd-match-details :is(h2,h3,h4,h5,h6) {
 font-family:inherit !important; letter-spacing:normal; text-transform:none;
 font-weight:500 !important; line-height:1.35;
}
.ssd-wrap :is(.ssd-header h2,.ssd-squad-intro h2,.ssd-fixtures-toolbar h2) {
 font-size:clamp(25px,3vw,32px) !important; font-weight:500 !important; line-height:1.3 !important;
}
.ssd-wrap :is(.ssd-profile-section h3,.ssd-match-sections h3,.ssd-record-card h3),
.ssd-match-details .ssd-match-sections h3 { font-size:21px !important; font-weight:500 !important; line-height:1.35 !important; }
.ssd-wrap :is(.ssd-person-name,.ssd-centurion-name,.ssd-opponent-name,.ssd-squad-player-name,
 .ssd-squad-manager-name,.ssd-fixture-teams a) { font-weight:600 !important; }
.ssd-wrap :is(.ssd-bio,.ssd-match-report),.ssd-match-details .ssd-match-report {
 font-size:inherit !important; line-height:1.7 !important;
}
.ssd-wrap :is(.ssd-table,.ssd-table td,.ssd-table th) { font-family:inherit !important; }
.ssd-wrap :is(.ssd-profile-links a,.ssd-profile-footer a,.ssd-fixtures-table a) { font-weight:600 !important; }

/* Saints Sinners: headings between the two Centurions-style rankings. */
.ssd-sinners .ssd-sinners-heading{margin:32px 0 16px;font-size:24px;font-weight:500;line-height:1.3}
.ssd-sinners .ssd-centurion-totals .ssd-booking-card{display:inline-block;vertical-align:middle;margin-right:3px}


/* v0.7.16 — Archi typography: Montserrat headings / Open Sans body.
   Limit all rules to the Saints Statistics Directory plugin. */
.ssd-wrap,
.ssd-match-details {
  font-family: "Open Sans", sans-serif !important;
  font-style: normal;
  font-weight: 400;
}
.ssd-wrap :is(p, li, td, th, dd, dt, span, small, a, label, button, input, select, textarea),
.ssd-match-details :is(p, li, td, th, dd, dt, span, small, a, label, button, input, select, textarea) {
  font-family: "Open Sans", sans-serif !important;
}
.ssd-wrap :is(h1, h2, h3, h4, h5, h6),
.ssd-match-details :is(h1, h2, h3, h4, h5, h6),
.ssd-wrap .ssd-sinners-heading {
  font-family: "Montserrat", sans-serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.3;
}
.ssd-wrap :is(.ssd-person-name, .ssd-centurion-name, .ssd-opponent-name,
 .ssd-squad-player-name, .ssd-squad-manager-name, .ssd-fixture-teams a,
 .ssd-profile-links a, .ssd-profile-footer a, .ssd-fixtures-table a) {
  font-family: "Open Sans", sans-serif !important;
  font-weight: 600 !important;
}
.ssd-wrap :is(.ssd-bio, .ssd-match-report),
.ssd-match-details .ssd-match-report { line-height: 1.7; }


/* v0.7.17 — consistent page heading typography across all directory views.
   This overrides earlier per-page heading rules without changing layouts. */
.ssd-wrap :is(.ssd-header h2, .ssd-squad-intro h2, .ssd-fixtures-toolbar h2,
  .ssd-record-heading h2, .ssd-otd-heading h2, .ssd-opponent-hero h2,
  .ssd-sinners-heading),
.ssd-wrap.ssd-fixtures :is(.ssd-header h2, .ssd-fixtures-toolbar h2),
.ssd-wrap.ssd-season-squads .ssd-squad-intro h2,
.ssd-wrap.ssd-match-records .ssd-record-heading h2,
.ssd-wrap.ssd-on-this-day .ssd-otd-heading h2 {
  font-family: "Montserrat", sans-serif !important;
  font-size: clamp(25px, 3vw, 32px) !important;
  font-weight: 500 !important;
  font-style: normal !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: #1e2530 !important;
  margin-top: 8px;
  margin-bottom: 10px;
}
/* Heading font is also used for headings outside the usual plugin wrapper. */
.ssd-match-details :is(h1,h2,h3,h4,h5,h6) {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 500 !important;
  font-style: normal !important;
}

/* v0.7.18: Only Players A-Z / Managers directory titles.
   Match the computed Fixtures & Results h2, leaving all other headings,
   tables, cards and Archi styles untouched. */
body .ssd-wrap > .ssd-header > h2 {
  font-family: "Inter", "Open Sans", Arial, sans-serif !important;
  font-size: clamp(26px, 3vw, 34px) !important;
  font-weight: 500 !important;
  font-style: normal !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em !important;
  text-transform: none !important;
  color: #1e2530 !important;
  margin: 26px 0 16px !important;
}

/* v0.7.19 — typography-only consistency across directory pages.
   Matches the computed Fixtures & Results h2 styling. No table, card,
   navigation or layout selectors are modified. */
body .ssd-wrap :is(
  .ssd-header > h2,
  .ssd-fixtures-toolbar h2,
  .ssd-squad-intro > h2,
  .ssd-record-heading > h2,
  .ssd-otd-heading > h2
) {
  font-family: "Inter", "Open Sans", Arial, sans-serif !important;
  font-size: clamp(26px, 3vw, 34px) !important;
  font-weight: 500 !important;
  font-style: normal !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em !important;
  text-transform: none !important;
  color: #1e2530 !important;
}
/* Subsection headings retain their individual sizes and spacing. */
body .ssd-wrap :is(h3, h4, h5, h6),
body .ssd-match-details :is(h2, h3, h4, h5, h6) {
  font-family: "Inter", "Open Sans", Arial, sans-serif !important;
  font-weight: 500 !important;
  font-style: normal !important;
  letter-spacing: -0.015em !important;
  text-transform: none !important;
}

/* v0.7.20: portraits alongside St Albans City goalscorers only. */
.ssd-match-details .ssd-match-goals-list{list-style:none;margin:0;padding:0}
.ssd-match-details .ssd-match-goal{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:0}
.ssd-match-details .ssd-goalscorer-photo{flex:0 0 34px;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:#e6e9ee}
.ssd-match-details .ssd-goalscorer-photo img.ssd-photo{width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;object-fit:cover!important;border-radius:50%!important;margin:0!important;padding:0!important}
.ssd-match-details .ssd-goalscorer-photo .ssd-placeholder{width:34px;height:34px;display:flex;align-items:center;justify-content:center}
.ssd-match-details .ssd-goalscorer-info{min-width:0}

/* v0.7.23: Match Details opposition crest fallback matches Fixtures & Results. */
.ssd-match-details .ssd-match-crest-placeholder{width:65px;height:65px;flex:0 0 65px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#f1f3f6;font-size:30px;line-height:1}

/* v0.7.24: Keep missing-opposition football badge perfectly circular. */
.ssd-match-details .ssd-match-team > .ssd-match-crest-placeholder{box-sizing:border-box!important;display:flex;flex:none!important;width:65px!important;height:65px!important;min-width:65px!important;max-width:65px!important;min-height:65px!important;max-height:65px!important;aspect-ratio:1 / 1!important;padding:0!important;margin:0 auto!important;border-radius:50%!important;overflow:hidden!important;align-items:center!important;justify-content:center!important;align-self:center!important;}

/* v0.7.28: Match Details result badge, matching W/D/L colours on other directory pages. */
.ssd-match-details .ssd-match-top .ssd-result{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:42px!important;height:42px!important;padding:0 12px!important;border-radius:9px!important;font-size:18px!important;font-weight:800!important;line-height:1!important;margin:12px auto 0!important;}
.ssd-match-details .ssd-match-top .ssd-result-w{background:#dcfce7!important;color:#166534!important;}
.ssd-match-details .ssd-match-top .ssd-result-d{background:#fef3c7!important;color:#92400e!important;}
.ssd-match-details .ssd-match-top .ssd-result-l{background:#fee2e2!important;color:#991b1b!important;}

/* v0.7.28: Consistent bold W/D/L badges across Saints Statistics pages. */
.ssd-table .ssd-result-w,
.ssd-profile .ssd-debut .ssd-result-w,
.ssd-match-details .ssd-match-top .ssd-result-w,
.ssd-fixtures-cards .ssd-result-w,
.ssd-opponent-item .ssd-result-w,
.ssd-on-this-day .ssd-otd-result-w{background:#16853b!important;color:#fff!important;}
.ssd-table .ssd-result-d,
.ssd-profile .ssd-debut .ssd-result-d,
.ssd-match-details .ssd-match-top .ssd-result-d,
.ssd-fixtures-cards .ssd-result-d,
.ssd-opponent-item .ssd-result-d,
.ssd-on-this-day .ssd-otd-result-d{background:#f59e0b!important;color:#fff!important;}
.ssd-table .ssd-result-l,
.ssd-profile .ssd-debut .ssd-result-l,
.ssd-match-details .ssd-match-top .ssd-result-l,
.ssd-fixtures-cards .ssd-result-l,
.ssd-opponent-item .ssd-result-l,
.ssd-on-this-day .ssd-otd-result-l{background:#dc151b!important;color:#fff!important;}
/* Generic result badges inside plugin content, including fixture and player listings. */
[class^="ssd-"] .ssd-result-w{background:#16853b!important;color:#fff!important;}
[class^="ssd-"] .ssd-result-d{background:#f59e0b!important;color:#fff!important;}
[class^="ssd-"] .ssd-result-l{background:#dc151b!important;color:#fff!important;}
/* On This Day previously used plain coloured letters; give them the same badge treatment. */
.ssd-on-this-day .ssd-otd-result{display:inline-flex;align-items:center;justify-content:center;min-width:27px;height:27px;padding:0 6px;border-radius:6px;line-height:1;color:#fff!important;}

/* v0.7.29: season links in player career tables. */
.ssd-profile #ssd-playing .ssd-table td:first-child a{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.ssd-profile #ssd-playing .ssd-table td:first-child a:hover{text-decoration-thickness:2px}

/* v0.7.35 — Players A–Z archive banner; scoped to this directory only. */
body .ssd-wrap.ssd-players-directory > .ssd-header {
    background: #252F59 !important;
    border-radius: 16px !important;
    padding: 36px 48px !important;
    margin: 0 0 32px !important;
    color: #fff !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
}
body .ssd-wrap.ssd-players-directory > .ssd-header > p:first-child {
    color: #fdc300 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin: 0 0 16px !important;
}
body .ssd-wrap.ssd-players-directory > .ssd-header > h2 {
    color: #fff !important;
    font-size: clamp(30px, 4vw, 44px) !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}
body .ssd-wrap.ssd-players-directory > .ssd-header > p:last-child {
    color: #d1d5db !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}
@media (max-width: 767px) {
    body .ssd-wrap.ssd-players-directory > .ssd-header {
        padding: 26px 24px !important;
        border-radius: 12px !important;
    }
    body .ssd-wrap.ssd-players-directory > .ssd-header > p:last-child {
        font-size: 16px !important;
    }
}

/* v0.7.36 — matching archive banners on Squads By Season and Fixtures & Results. */
body .ssd-wrap.ssd-season-squads > .ssd-squad-intro,
body .ssd-fixtures-cards > .ssd-fixtures-toolbar {
    background:#252F59!important; border-radius:16px!important; padding:36px 48px!important;
    margin:0 0 32px!important; color:#fff!important; position:static!important;
    width:auto!important; height:auto!important; min-height:0!important;
}
body .ssd-wrap.ssd-season-squads > .ssd-squad-intro > p:first-child,
body .ssd-fixtures-cards .ssd-fixtures-toolbar .ssd-fixtures-kicker {
    color:#fdc300!important; font-size:14px!important; font-weight:600!important;
    letter-spacing:1.5px!important; text-transform:uppercase!important; margin:0 0 16px!important;
}
body .ssd-wrap.ssd-season-squads > .ssd-squad-intro > h2,
body .ssd-fixtures-cards > .ssd-fixtures-toolbar h2 {
    color:#fff!important; font-size:clamp(30px,4vw,44px)!important; font-weight:500!important;
    line-height:1.2!important; margin:0 0 16px!important; padding:0!important;
}
body .ssd-wrap.ssd-season-squads > .ssd-squad-intro > p:last-child,
body .ssd-fixtures-cards > .ssd-fixtures-toolbar > div > p:last-child {
    color:#d1d5db!important; font-size:18px!important; line-height:1.5!important; margin:0!important;
}
/* Keep the existing fixtures dropdown and submit button inside the dark banner. */
body .ssd-fixtures-cards > .ssd-fixtures-toolbar {align-items:center!important;gap:22px!important;}
body .ssd-fixtures-cards > .ssd-fixtures-toolbar .ssd-season-form {margin:0!important;}
body .ssd-fixtures-cards > .ssd-fixtures-toolbar .ssd-season-form label {color:#fff!important;}
body .ssd-fixtures-cards > .ssd-fixtures-toolbar .ssd-season-form select {background:#fff!important;color:#1e2530!important;}
@media(max-width:767px) {
    body .ssd-wrap.ssd-season-squads > .ssd-squad-intro,
    body .ssd-fixtures-cards > .ssd-fixtures-toolbar {padding:26px 24px!important;border-radius:12px!important;}
    body .ssd-wrap.ssd-season-squads > .ssd-squad-intro > p:last-child,
    body .ssd-fixtures-cards > .ssd-fixtures-toolbar > div > p:last-child {font-size:16px!important;}
}


/* v0.7.37 — matching black-and-gold archive banners on five statistics pages.
   Scoped to each page so existing lists, tables and links are unaffected. */
body .ssd-wrap.ssd-match-records > .ssd-record-heading,
body .ssd-wrap.ssd-opponents > .ssd-header,
body .ssd-wrap.ssd-centurions > .ssd-header {
    display:block!important;
    background:#252F59!important;
    border:0!important;
    border-radius:16px!important;
    padding:36px 48px!important;
    margin:0 0 32px!important;
    color:#fff!important;
    position:static!important;
    inset:auto!important;
    transform:none!important;
    float:none!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    max-width:none!important;
    text-align:left!important;
    box-shadow:none!important;
}
body .ssd-wrap.ssd-match-records > .ssd-record-heading > p:first-child,
body .ssd-wrap.ssd-opponents > .ssd-header > p:first-child,
body .ssd-wrap.ssd-centurions > .ssd-header > p:first-child {
    color:#fdc300!important;
    font-size:14px!important;
    font-weight:600!important;
    letter-spacing:1.5px!important;
    text-transform:uppercase!important;
    margin:0 0 16px!important;
}
body .ssd-wrap.ssd-match-records > .ssd-record-heading > h2,
body .ssd-wrap.ssd-opponents > .ssd-header > h2,
body .ssd-wrap.ssd-centurions > .ssd-header > h2 {
    color:#fff!important;
    font-size:clamp(30px,4vw,44px)!important;
    font-weight:500!important;
    line-height:1.2!important;
    letter-spacing:-0.015em!important;
    margin:0 0 16px!important;
    padding:0!important;
}
body .ssd-wrap.ssd-match-records > .ssd-record-heading > p:last-child,
body .ssd-wrap.ssd-opponents > .ssd-header > p:last-child,
body .ssd-wrap.ssd-centurions > .ssd-header > p:last-child {
    color:#d1d5db!important;
    font-size:18px!important;
    font-weight:400!important;
    line-height:1.5!important;
    margin:0!important;
}
@media(max-width:767px) {
    body .ssd-wrap.ssd-match-records > .ssd-record-heading,
    body .ssd-wrap.ssd-opponents > .ssd-header,
    body .ssd-wrap.ssd-centurions > .ssd-header {
        padding:26px 24px!important;
        border-radius:12px!important;
    }
    body .ssd-wrap.ssd-match-records > .ssd-record-heading > p:last-child,
    body .ssd-wrap.ssd-opponents > .ssd-header > p:last-child,
    body .ssd-wrap.ssd-centurions > .ssd-header > p:last-child {font-size:16px!important;}
}


/* v0.7.41 — consistent Fixtures & Results typography on all directory page banners.
   This rule comes after older page-specific font rules; it does not affect tables,
   cards, match scoreboards, monthly headings or the season dropdown. */
body .ssd-wrap.ssd-players-directory > .ssd-header > h2,
body .ssd-wrap.ssd-season-squads > .ssd-squad-intro > h2,
body .ssd-fixtures-cards > .ssd-fixtures-toolbar h2,
body .ssd-wrap.ssd-match-records > .ssd-record-heading > h2,
body .ssd-wrap.ssd-opponents > .ssd-header > h2,
body .ssd-wrap.ssd-centurions > .ssd-header > h2 {
    font-family: "Inter", "Open Sans", Arial, sans-serif !important;
    font-size: clamp(30px, 4vw, 44px) !important;
    font-weight: 500 !important;
    font-style: normal !important;
    line-height: 1.2 !important;
    letter-spacing: -0.015em !important;
    text-transform: none !important;
    text-align: left !important;
    color: #ffffff !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}
/* Other directory headings use the same font family while retaining their
   smaller sizes and existing colours to preserve the visual hierarchy. */
body .ssd-wrap :is(.ssd-profile-section h3, .ssd-sinners-heading,
    .ssd-record-card h3, .ssd-fixtures-month),
body .ssd-match-details .ssd-match-sections h3 {
    font-family: "Inter", "Open Sans", Arial, sans-serif !important;
}


/* v0.7.42 — Managers and player profiles use the Fixtures & Results banner.
   Scoped to the page-level banner only; cards, stats, tables and navigation stay intact. */
body .ssd-wrap.ssd-managers-directory > .ssd-header,
body .ssd-wrap.ssd-profile > .ssd-header {
    display:block!important;
    background:#252F59!important;
    border:0!important;
    border-radius:16px!important;
    padding:36px 48px!important;
    margin:0 0 32px!important;
    color:#fff!important;
    position:static!important;
    inset:auto!important;
    transform:none!important;
    float:none!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    max-width:none!important;
    text-align:left!important;
    box-shadow:none!important;
}
body .ssd-wrap.ssd-managers-directory > .ssd-header > p:first-child,
body .ssd-wrap.ssd-profile > .ssd-header > p:first-child {
    color:#fdc300!important;
    font-size:14px!important;
    font-weight:600!important;
    letter-spacing:1.5px!important;
    text-transform:uppercase!important;
    margin:0 0 16px!important;
}
body .ssd-wrap.ssd-managers-directory > .ssd-header > h2,
body .ssd-wrap.ssd-profile > .ssd-header > h2 {
    font-family:"Inter","Open Sans",Arial,sans-serif!important;
    font-size:clamp(30px,4vw,44px)!important;
    font-weight:500!important;
    font-style:normal!important;
    line-height:1.2!important;
    letter-spacing:-0.015em!important;
    text-transform:none!important;
    text-align:left!important;
    color:#fff!important;
    margin:0 0 16px!important;
    padding:0!important;
}
body .ssd-wrap.ssd-managers-directory > .ssd-header > p:last-child:not(:first-child),
body .ssd-wrap.ssd-profile > .ssd-header > p:last-child:not(:first-child) {
    color:#d1d5db!important;
    font-size:18px!important;
    font-weight:400!important;
    line-height:1.5!important;
    margin:0!important;
}
@media(max-width:767px) {
    body .ssd-wrap.ssd-managers-directory > .ssd-header,
    body .ssd-wrap.ssd-profile > .ssd-header {
        padding:26px 24px!important;
        border-radius:12px!important;
    }
    body .ssd-wrap.ssd-managers-directory > .ssd-header > p:last-child:not(:first-child),
    body .ssd-wrap.ssd-profile > .ssd-header > p:last-child:not(:first-child) {
        font-size:16px!important;
    }
}

/* v0.7.46 — Larger portraits in Players A–Z and Managers directories only.
   72 × 86px -> 96 × 115px; profile portraits untouched. */
body .ssd-wrap.ssd-players-directory .ssd-person > :is(.ssd-photo, .ssd-placeholder),
body .ssd-wrap.ssd-managers-directory .ssd-person > :is(.ssd-photo, .ssd-placeholder) {
    flex: 0 0 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: 115px !important;
    object-fit: cover;
    object-position: center top;
}

/* v0.7.48 — Opponent Details: remove grey badge/name panel and use
   Fixtures & Results typography. Other directory pages are unaffected. */
body .ssd-wrap.ssd-opponent-detail {
    font-family: "Inter", "Open Sans", Arial, sans-serif !important;
}
body .ssd-wrap.ssd-opponent-detail .ssd-opponent-hero {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
body .ssd-wrap.ssd-opponent-detail .ssd-opponent-hero h2 {
    font-family: "Inter", "Open Sans", Arial, sans-serif !important;
    font-size: clamp(30px, 4vw, 44px) !important;
    font-weight: 500 !important;
    font-style: normal !important;
    line-height: 1.2 !important;
    letter-spacing: -0.015em !important;
    text-transform: none !important;
}
body .ssd-wrap.ssd-opponent-detail :is(.ssd-opponent-info h3, h3) {
    font-family: "Inter", "Open Sans", Arial, sans-serif !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}
body .ssd-wrap.ssd-opponent-detail :is(.ssd-opponent-hero p, .ssd-opponent-stats strong,
    .ssd-opponent-stats span, .ssd-table th, .ssd-table td, .ssd-table a) {
    font-family: "Inter", "Open Sans", Arial, sans-serif !important;
}

/* v0.7.66 — Opponent Details badge: 120px desktop, 90px mobile. */
body .ssd-wrap.ssd-opponent-detail .ssd-opponent-hero img {
    width: 120px !important;
    height: 120px !important;
    max-width: 100%;
    object-fit: contain !important;
    flex: 0 0 auto;
}
@media (max-width: 700px) {
    body .ssd-wrap.ssd-opponent-detail .ssd-opponent-hero img {
        width: 90px !important;
        height: 90px !important;
    }
}

/* v0.7.50: Opponent Details return link matches directory navigation links. */
body .ssd-wrap.ssd-opponent-detail .ssd-opponent-back { margin: 24px 0 8px; }
body .ssd-wrap.ssd-opponent-detail .ssd-opponent-back a {
    display: inline-flex; align-items: center; gap: 6px;
    color: #263245 !important; font-weight: 600 !important;
    text-decoration: underline !important; text-decoration-color: #FDC300 !important;
    text-underline-offset: 4px;
}
body .ssd-wrap.ssd-opponent-detail .ssd-opponent-back a:hover { color: #252F59 !important; text-decoration-color: #252F59 !important; }

/* Club Honours — uses Directory header typography and palette */
.ssd-honours-nav{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0 26px}.ssd-honours-nav a{padding:9px 14px;border:1px solid #e0e4e9;border-radius:7px;color:#1e2530!important;text-decoration:none!important;font-weight:700;background:#fff}.ssd-honours-nav a:hover{border-color:#fdc300;background:#fff9df}.ssd-honours-section{margin:28px 0 34px;scroll-margin-top:30px}.ssd-honours-section>h3{border-bottom:3px solid #fdc300;padding-bottom:10px}.ssd-honours-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ssd-honours-card{border:1px solid #e6e8ec;border-radius:10px;padding:18px 20px;background:#fff}.ssd-honours-card strong{display:block;color:#1e2530;font-size:16px}.ssd-honours-achievement{display:inline-block;background:#fff3ca;color:#564311;padding:3px 8px;margin:9px 0 3px;font-size:12px;font-weight:700;border-radius:4px}.ssd-honours-card p{margin:8px 0 0;color:#566071;font-size:14px;line-height:1.7}@media(max-width:650px){.ssd-honours-grid{grid-template-columns:1fr}}

/* Club Honours v0.7.72: visual match to original Raw HTML design; scoped to shortcode only. */
.ssd-wrap.ssd-honours-v2{--sh-navy:#102849;--sh-gold:#d6aa43;max-width:1150px;line-height:1.6}
.ssd-honours-v2 .ssd-honours-banner{position:relative!important;display:block!important;float:none!important;transform:none!important;inset:auto!important;z-index:auto!important;clear:both!important;height:auto!important;min-height:0!important;width:100%!important;overflow:visible!important;background:#102849!important;color:#fff!important;border-bottom:4px solid #d6aa43!important;padding:28px 30px!important;margin:0 0 22px!important;border-radius:0!important}
.ssd-honours-v2 .ssd-honours-kicker{color:#e8c675!important;font-size:12px!important;letter-spacing:.12em!important;font-weight:700!important}
.ssd-honours-v2 .ssd-honours-title{position:static!important;transform:none!important;float:none!important;display:block!important;color:#fff!important;font-size:34px!important;line-height:1.2!important;font-weight:700!important;margin:9px 0 10px!important}
.ssd-honours-v2 .ssd-honours-banner p{position:static!important;transform:none!important;color:#e3eaf3!important;font-size:15px!important;margin:0!important;max-width:800px}
.ssd-honours-v2 .ssd-honours-nav{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 28px;clear:both}
.ssd-honours-v2 .ssd-honours-nav a{color:#102849!important;background:#f2f5fa!important;border:1px solid #dfe6ef!important;border-radius:4px!important;padding:9px 16px!important;text-decoration:none!important;font-size:14px;font-weight:700}
.ssd-honours-v2 .ssd-honours-nav a:hover{background:#102849!important;color:#fff!important}
.ssd-honours-v2 .ssd-honours-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:24px 0 35px}
.ssd-honours-v2 .ssd-honours-highlight{background:#fff;border:1px solid #dfe6ef;border-top:4px solid #d6aa43;padding:22px}
.ssd-honours-v2 .ssd-honours-highlight strong{display:block;color:#102849!important;font-size:23px;line-height:1.3;font-weight:700}
.ssd-honours-v2 .ssd-honours-highlight span{display:block;color:#52647a!important;font-size:13px;margin-top:9px}
.ssd-honours-v2 .ssd-honours-section{margin:38px 0;scroll-margin-top:30px}
.ssd-honours-v2 .ssd-honours-section h2{color:#102849!important;font-size:27px!important;font-weight:700!important;border-bottom:3px solid #d6aa43!important;padding-bottom:10px!important;margin:0 0 20px!important}
.ssd-honours-v2 .ssd-honours-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.ssd-honours-v2 .ssd-honours-card{background:#fff;border:1px solid #e0e6ef;border-radius:0;padding:17px 19px;min-width:0}
.ssd-honours-v2 .ssd-honours-competition{color:#102849!important;font-size:16px;font-weight:700}
.ssd-honours-v2 .ssd-honours-achievement{display:inline-block;background:#fff5d9;color:#765a1c!important;border-radius:0;font-size:12px;font-weight:700;padding:3px 8px;margin:8px 0}
.ssd-honours-v2 .ssd-honours-seasons{color:#4c5b6b!important;font-size:14px;overflow-wrap:anywhere}
@media(max-width:700px){.ssd-honours-v2 .ssd-honours-highlights,.ssd-honours-v2 .ssd-honours-grid{grid-template-columns:1fr}.ssd-honours-v2 .ssd-honours-banner{padding:24px 20px!important}.ssd-honours-v2 .ssd-honours-title{font-size:29px!important}}

/* v0.7.73 — International Honours player portraits; other honours remain unchanged. */
.ssd-honours-v2 .ssd-honours-international-card{display:flex;align-items:flex-start;gap:16px}
.ssd-honours-v2 .ssd-honours-player-photo{display:block;flex:0 0 80px;width:80px;height:96px;overflow:hidden;background:#f2f5f8;border:1px solid #e0e6ef;text-decoration:none}
.ssd-honours-v2 .ssd-honours-player-photo img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:center top;border:0;border-radius:0}
.ssd-honours-v2 .ssd-honours-player-info{flex:1;min-width:0}
.ssd-honours-v2 .ssd-honours-player-name{display:block;color:#102849!important;font-size:17px;font-weight:700;line-height:1.35;margin:5px 0 9px;text-decoration:none!important}
.ssd-honours-v2 a.ssd-honours-player-name:hover{text-decoration:underline!important;text-decoration-color:#d6aa43!important}
@media(max-width:400px){.ssd-honours-v2 .ssd-honours-player-photo{flex-basis:64px;width:64px;height:80px}.ssd-honours-v2 .ssd-honours-international-card{gap:12px}}

/* v0.7.74 — fixed uniform international portrait dimensions, regardless of original image size. */
.ssd-honours-v2 .ssd-honours-international-card .ssd-honours-player-photo {
  display:block !important; flex:0 0 90px !important; width:90px !important;
  min-width:90px !important; max-width:90px !important; height:110px !important;
  min-height:110px !important; max-height:110px !important; overflow:hidden !important;
  align-self:flex-start !important; line-height:0 !important;
}
.ssd-honours-v2 .ssd-honours-international-card .ssd-honours-player-photo img,
.ssd-honours-v2 .ssd-honours-international-card .ssd-honours-player-photo img.ssd-photo {
  display:block !important; width:90px !important; height:110px !important;
  min-width:90px !important; min-height:110px !important;
  max-width:90px !important; max-height:110px !important;
  object-fit:cover !important; object-position:center top !important;
  margin:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important;
}

/* v0.7.76: National flags beside represented countries in International Honours. */
.ssd-honours-v2 .ssd-honours-country-flag{display:inline-block;width:26px;height:20px;object-fit:contain;vertical-align:middle;margin-right:6px;white-space:nowrap;border:1px solid #dce3eb;border-radius:2px}

/* v0.7.79 — Club Honours banner matches Directory page banners (Players A-Z / profiles). */
body .ssd-wrap.ssd-honours-v2 > .ssd-honours-banner.ssd-header {
  display:block!important;position:static!important;inset:auto!important;transform:none!important;float:none!important;
  background:#252F59!important;color:#fff!important;border:0!important;border-radius:16px!important;
  padding:36px 48px!important;margin:0 0 32px!important;width:auto!important;height:auto!important;min-height:0!important;
  max-width:none!important;text-align:left!important;box-shadow:none!important;
}
body .ssd-wrap.ssd-honours-v2 > .ssd-honours-banner.ssd-header > .ssd-honours-kicker {
  color:#fdc300!important;font-size:14px!important;font-weight:600!important;letter-spacing:1.5px!important;
  text-transform:uppercase!important;line-height:1.5!important;margin:0 0 16px!important;padding:0!important;
}
body .ssd-wrap.ssd-honours-v2 > .ssd-honours-banner.ssd-header > h2.ssd-honours-title {
  font-family:"Inter","Open Sans",Arial,sans-serif!important;font-size:clamp(30px,4vw,44px)!important;
  font-weight:500!important;font-style:normal!important;line-height:1.2!important;letter-spacing:-0.015em!important;
  text-transform:none!important;text-align:left!important;color:#fff!important;margin:0!important;padding:0!important;
  border:0!important;
}
@media(max-width:767px){body .ssd-wrap.ssd-honours-v2 > .ssd-honours-banner.ssd-header{padding:26px 24px!important}}

/* v0.7.80: reuse the Squads By Season banner's exact presentation.
   Do not use ssd-header: broad Directory/theme rules override its heading colours. */
body .ssd-wrap.ssd-honours-v2 > .ssd-honours-banner.ssd-squad-intro {
  display:block!important;position:static!important;float:none!important;transform:none!important;
  background:#252F59!important;color:#fff!important;border:0!important;border-radius:16px!important;
  padding:36px 48px!important;margin:0 0 32px!important;width:auto!important;height:auto!important;min-height:0!important;
  text-align:left!important;box-shadow:none!important;overflow:visible!important;
}
body .ssd-wrap.ssd-honours-v2 > .ssd-honours-banner.ssd-squad-intro > p.ssd-honours-kicker {
  display:block!important;position:static!important;color:#fdc300!important;font-size:14px!important;
  font-weight:600!important;letter-spacing:1.5px!important;text-transform:uppercase!important;
  line-height:1.5!important;margin:0 0 16px!important;padding:0!important;opacity:1!important;
}
body .ssd-wrap.ssd-honours-v2 > .ssd-honours-banner.ssd-squad-intro > h2.ssd-honours-title {
  display:block!important;position:static!important;float:none!important;transform:none!important;
  font-family:inherit!important;font-size:clamp(30px,4vw,44px)!important;
  font-weight:500!important;font-style:normal!important;line-height:1.2!important;
  letter-spacing:normal!important;text-transform:none!important;text-align:left!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;
  margin:0!important;padding:0!important;border:0!important;text-shadow:none!important;
}
@media(max-width:767px){body .ssd-wrap.ssd-honours-v2 > .ssd-honours-banner.ssd-squad-intro{padding:26px 24px!important}}

/* Player profile nationality and international flags */
.ssd-profile .ssd-nationality-line { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.ssd-profile .ssd-nationality-flag { width:25px; height:17px; object-fit:cover; display:inline-block; vertical-align:middle; border:1px solid rgba(0,0,0,.12); border-radius:2px; flex-shrink:0; }

/* v0.7.87: visible spacing between the flag and country name. */
.ssd-profile .ssd-nationality-flag { margin-right: 7px !important; }
.ssd-profile .ssd-nationality-line .ssd-country-name { margin-left: 2px; }

/* International honours: flag and level only, without country name. */
.ssd-international-honour { display:flex; align-items:center; gap:10px; margin:5px 0 !important; }
.ssd-international-honour .ssd-nationality-flag { display:inline-block; flex-shrink:0; margin:0; }

/* v0.7.90: clear spacing and country name on each international honour. */
.ssd-profile .ssd-international-honour { display:flex; align-items:center; flex-wrap:wrap; column-gap:8px; row-gap:3px; }
.ssd-profile .ssd-international-honour .ssd-nationality-flag { margin:0 !important; }
.ssd-profile .ssd-international-country { font-weight:600; }

/* v0.7.91: each international honour is its own div; explicit separation of flag and text. */
.ssd-profile .ssd-international-honours .ssd-international-honour { display:flex !important; align-items:center; gap:10px !important; margin:0 0 7px !important; }
.ssd-profile .ssd-international-honour .ssd-international-flag { display:inline-flex; align-items:center; flex:0 0 auto; margin-right:8px !important; }
.ssd-profile .ssd-international-honour .ssd-international-flag .ssd-nationality-flag { margin:0 !important; }
.ssd-profile .ssd-international-honour .ssd-international-text { display:inline-block; }
.ssd-profile .ssd-international-honour .ssd-international-country { margin-right:5px; }

/* v0.7.92: compact player biographical details without paragraph gaps. */
.ssd-wrap.ssd-profile .ssd-hero-info > p {
  margin-top:0 !important;
  margin-bottom:0 !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  line-height:1.55 !important;
}
.ssd-wrap.ssd-profile .ssd-hero-info > .ssd-nationality-line {
  margin-top:0 !important;
  margin-bottom:0 !important;
  line-height:1.55 !important;
}
.ssd-wrap.ssd-profile .ssd-hero-info > .ssd-international-honours {
  margin:2px 0 0 !important;
}
.ssd-wrap.ssd-profile .ssd-international-honours > p {
  margin:0 0 2px !important;
  line-height:1.55 !important;
}
.ssd-wrap.ssd-profile .ssd-international-honours .ssd-international-honour {
  margin:0 0 2px !important;
  line-height:1.55 !important;
}
.ssd-wrap.ssd-profile .ssd-hero-info > .ssd-debut {
  margin-top:10px !important;
}

/* v0.7.93: structural compact rows; not dependent on theme paragraph margins. */
body .ssd-wrap.ssd-profile .ssd-hero-info > .ssd-profile-detail {
  display:block !important; margin:0 !important; padding:0 !important;
  line-height:1.5 !important; min-height:0 !important;
}
body .ssd-wrap.ssd-profile .ssd-hero-info > .ssd-nationality-line {
  display:flex !important; align-items:center !important; flex-wrap:wrap; column-gap:5px !important;
}
body .ssd-wrap.ssd-profile .ssd-nationality-value {
  display:inline-flex !important; align-items:center !important; gap:8px !important;
}
body .ssd-wrap.ssd-profile .ssd-nationality-value > .ssd-nationality-flag {
  margin:0 !important; flex-shrink:0 !important;
}
body .ssd-wrap.ssd-profile .ssd-nationality-value > .ssd-country-name {
  margin:0 !important; padding:0 !important;
}
body .ssd-wrap.ssd-profile .ssd-hero-info > .ssd-international-honours {
  margin:2px 0 0 !important; padding:0 !important;
}
body .ssd-wrap.ssd-profile .ssd-international-honours > .ssd-international-heading {
  margin:0 0 2px !important; padding:0 !important; line-height:1.5 !important;
}
body .ssd-wrap.ssd-profile .ssd-international-honours > .ssd-international-honour {
  margin:0 0 2px !important; padding:0 !important; line-height:1.5 !important;
}

/* v0.7.94: mobile profile details flow around the portrait and continue below it.
   Desktop hero remains the original flex layout. */
@media (max-width: 600px) {
  body .ssd-wrap.ssd-profile .ssd-hero {
    display: flow-root !important;
    padding: 15px !important;
  }
  body .ssd-wrap.ssd-profile .ssd-hero > img.ssd-photo-large,
  body .ssd-wrap.ssd-profile .ssd-hero > .ssd-placeholder-large {
    float: left !important;
    display: block !important;
    width: 112px !important;
    height: 145px !important;
    max-width: 42% !important;
    margin: 0 14px 9px 0 !important;
    flex: none !important;
  }
  body .ssd-wrap.ssd-profile .ssd-hero > .ssd-hero-info {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    overflow: visible !important;
  }
  body .ssd-wrap.ssd-profile .ssd-hero-info > h3 {
    margin-top: 0 !important;
  }
  body .ssd-wrap.ssd-profile .ssd-hero-info > .ssd-profile-links {
    clear: both;
  }
}

/* v0.7.95: keep each international flag and country together on narrow screens.
   Clear the floated portrait before the honours section so no row is squeezed. */
@media (max-width: 600px) {
  body .ssd-wrap.ssd-profile .ssd-hero-info > .ssd-international-honours {
    clear: both !important;
    display: flow-root !important;
    width: 100% !important;
  }
  body .ssd-wrap.ssd-profile .ssd-international-honours > .ssd-international-honour {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 8px !important;
    min-width: 0 !important;
  }
  body .ssd-wrap.ssd-profile .ssd-international-honour > .ssd-international-flag {
    flex: 0 0 auto !important;
    margin: 3px 0 0 !important;
  }
  body .ssd-wrap.ssd-profile .ssd-international-honour > .ssd-international-text {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  body .ssd-wrap.ssd-profile .ssd-international-honour .ssd-international-country {
    white-space: nowrap !important;
  }
}

/* v0.7.97: emoji flags for all remaining nationality choices. */
.ssd-profile .ssd-nationality-flag-emoji { display:inline-flex; align-items:center; justify-content:center; width:25px; min-width:25px; height:19px; font-size:20px; line-height:1; vertical-align:middle; margin:0 7px 0 0; }
.ssd-profile .ssd-international-flag .ssd-nationality-flag-emoji { margin:0; }

/* v0.7.98: uniform flag images and consistent alignment on all devices */
.ssd-profile .ssd-nationality-value { display:inline-flex !important; align-items:center !important; gap:8px !important; vertical-align:middle; }
.ssd-profile .ssd-nationality-flag { width:25px !important; height:17px !important; object-fit:fill !important; flex:0 0 25px !important; border-radius:2px !important; }
.ssd-profile .ssd-nationality-value .ssd-nationality-flag { margin-right:0 !important; }

/* v0.7.100: show international honours label and first flag/details on the
   same line on desktop; additional honours sit below in the right column. */
@media (min-width: 601px) {
  body .ssd-wrap.ssd-profile .ssd-hero-info > .ssd-international-honours {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 2px;
    align-items: start;
  }
  body .ssd-wrap.ssd-profile .ssd-international-honours > .ssd-international-heading {
    grid-column: 1;
    grid-row: 1;
    margin: 0 !important;
  }
  body .ssd-wrap.ssd-profile .ssd-international-honours > .ssd-international-honour {
    grid-column: 2;
    margin: 0 !important;
    min-width: 0;
  }
}

/* v0.7.101: desktop inline honours, mobile stacked. */
@media (min-width: 601px) {
 body .ssd-wrap.ssd-profile .ssd-hero-info > .ssd-international-honours {display:flex !important;align-items:baseline !important;flex-wrap:wrap !important;column-gap:10px !important;row-gap:2px !important;}
 body .ssd-wrap.ssd-profile .ssd-international-honours > .ssd-international-heading {display:inline-block !important;flex:0 0 auto !important;margin:0 !important;}
 body .ssd-wrap.ssd-profile .ssd-international-honours > .ssd-international-honour {display:inline-flex !important;flex:0 1 auto !important;align-items:center !important;margin:0 !important;}
}
@media (max-width: 600px) {body .ssd-wrap.ssd-profile .ssd-hero-info > .ssd-international-honours {display:flow-root !important;}}


/* v0.7.102: International honours heading on its own line,
   with each international appearance on a separate line beneath. */
body .ssd-wrap.ssd-profile .ssd-hero-info .ssd-international-honours,
body .ssd-wrap .ssd-international-honours {
    display: block !important;
}
body .ssd-wrap.ssd-profile .ssd-hero-info .ssd-international-honours > .ssd-international-heading,
body .ssd-wrap .ssd-international-honours > .ssd-international-heading {
    display: block !important;
    margin: 0 0 5px !important;
}
body .ssd-wrap.ssd-profile .ssd-hero-info .ssd-international-honours > .ssd-international-honour,
body .ssd-wrap .ssd-international-honours > .ssd-international-honour {
    display: flex !important;
    align-items: center !important;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 5px !important;
}

/* v0.7.112: larger player portraits on On This Day (opponent crests unchanged). */
.ssd-on-this-day .ssd-otd-player-thumb {
  width: 84px; height: 96px; flex: 0 0 84px;
}
.ssd-on-this-day .ssd-otd-player-thumb img,
.ssd-on-this-day .ssd-otd-player-thumb .ssd-photo {
  object-fit: contain !important;
}
@media (max-width: 600px) {
  .ssd-on-this-day .ssd-otd-player-thumb {
    width: 72px; height: 84px; flex-basis: 72px;
  }
}

/* v0.7.114: natural-looking portraits, filling the thumbnail without letterboxing. */
.ssd-on-this-day .ssd-otd-player-thumb {
  width: 92px !important; height: 108px !important; flex: 0 0 92px !important;
  padding: 0 !important; background: transparent !important;
  border: 0 !important; border-radius: 6px !important; overflow: hidden !important;
}
.ssd-on-this-day .ssd-otd-player-thumb img,
.ssd-on-this-day .ssd-otd-player-thumb .ssd-photo {
  display: block !important; width: 100% !important; height: 100% !important;
  object-fit: cover !important; object-position: center top !important;
  max-width: none !important; border-radius: 6px !important;
}
@media (max-width: 600px) {
 .ssd-on-this-day .ssd-otd-player-thumb {
   width: 76px !important; height: 90px !important; flex-basis: 76px !important;
 }
}

/* Player Records */
.ssd-player-records-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0}.ssd-player-record-card{background:#f5f6f8;border:1px solid #e1e4e9;border-radius:12px;padding:22px;min-width:0}.ssd-player-record-card h3{margin:0 0 18px;border-bottom:3px solid #fdc300;padding-bottom:12px;font-size:20px}.ssd-player-record-leaders{display:flex;flex-wrap:wrap;gap:12px}.ssd-player-record-leader{display:flex;gap:16px;align-items:center;text-decoration:none;flex:1 1 210px;color:inherit}.ssd-player-record-leader .ssd-photo{width:105px!important;height:125px!important;max-width:105px!important;object-fit:cover;object-position:top;border-radius:7px}.ssd-player-record-leader span{display:flex;flex-direction:column;gap:5px}.ssd-player-record-leader b{font-size:30px;color:#1f2937}.ssd-player-record-leader small{color:#667085}.ssd-player-record-ranking{padding-left:24px;margin:20px 0 0}.ssd-player-record-ranking li{padding:7px 0;border-top:1px solid #e0e3e7}.ssd-player-record-ranking li strong{float:right}.ssd-player-record-ranking li a{color:#202938}@media(max-width:720px){.ssd-player-records-grid{grid-template-columns:1fr}.ssd-player-record-card{padding:16px}}

/* v0.7.116 Player Records: three cards per row and exact Fixtures banner. */
body .ssd-wrap.ssd-player-records .ssd-player-records-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body .ssd-wrap.ssd-player-records .ssd-player-record-card{padding:18px}
body .ssd-wrap.ssd-player-records .ssd-player-record-card h3{font-size:18px}
body .ssd-wrap.ssd-player-records .ssd-player-record-leader{flex-basis:0;min-width:0;gap:12px}
body .ssd-wrap.ssd-player-records .ssd-player-record-leader .ssd-photo{width:82px!important;height:105px!important;max-width:82px!important;object-fit:cover;object-position:top;flex-shrink:0}
body .ssd-wrap.ssd-player-records .ssd-player-record-leader strong{overflow-wrap:anywhere}
@media(max-width:980px){body .ssd-wrap.ssd-player-records .ssd-player-records-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){body .ssd-wrap.ssd-player-records .ssd-player-records-grid{grid-template-columns:1fr}}

/* Player Records: reliable three-across cards even when theme overrides grid styles. */
body .ssd-wrap.ssd-player-records .ssd-player-records-grid,
.ssd-wrap.ssd-player-records .ssd-player-records-grid {
  display:flex !important; flex-flow:row wrap !important; align-items:stretch !important;
  gap:18px !important; width:100% !important; box-sizing:border-box !important;
}
body .ssd-wrap.ssd-player-records .ssd-player-records-grid > .ssd-player-record-card,
.ssd-wrap.ssd-player-records .ssd-player-records-grid > .ssd-player-record-card {
  display:block !important; flex:0 0 calc((100% - 36px) / 3) !important;
  width:calc((100% - 36px) / 3) !important; max-width:calc((100% - 36px) / 3) !important;
  min-width:0 !important; box-sizing:border-box !important; margin:0 !important;
}
body .ssd-wrap.ssd-player-records .ssd-player-record-leader span {
  display:flex !important; flex-direction:column !important; align-items:flex-start !important;
  gap:5px !important; min-width:0 !important;
}
body .ssd-wrap.ssd-player-records .ssd-player-record-leader strong,
body .ssd-wrap.ssd-player-records .ssd-player-record-leader b,
body .ssd-wrap.ssd-player-records .ssd-player-record-leader small {
  display:block !important; float:none !important; width:auto !important; margin:0 !important;
}
body .ssd-wrap.ssd-player-records .ssd-player-record-leader strong {order:0 !important;}
body .ssd-wrap.ssd-player-records .ssd-player-record-leader b {order:1 !important;}
body .ssd-wrap.ssd-player-records .ssd-player-record-leader small {order:2 !important;}
@media(max-width:980px) {
  body .ssd-wrap.ssd-player-records .ssd-player-records-grid > .ssd-player-record-card {flex-basis:calc((100% - 18px)/2) !important;width:calc((100% - 18px)/2) !important;max-width:calc((100% - 18px)/2) !important;}
}
@media(max-width:620px) {
  body .ssd-wrap.ssd-player-records .ssd-player-records-grid > .ssd-player-record-card {flex-basis:100% !important;width:100% !important;max-width:100% !important;}
}

/* v0.7.118 — Player Records header: identical banner typography and spacing to Fixtures & Results. */
body .ssd-wrap.ssd-player-records.ssd-fixtures-cards > .ssd-fixtures-toolbar {
  display:flex!important; align-items:center!important; justify-content:space-between!important;
  gap:22px!important; width:auto!important; height:auto!important; min-height:0!important;
  padding:36px 48px!important; margin:0 0 32px!important;
  background:#252F59!important; color:#fff!important; border:0!important;
  border-radius:16px!important; box-shadow:none!important;
}
body .ssd-wrap.ssd-player-records.ssd-fixtures-cards > .ssd-fixtures-toolbar > div {min-width:0!important;}
body .ssd-wrap.ssd-player-records.ssd-fixtures-cards > .ssd-fixtures-toolbar .ssd-fixtures-kicker {
  display:block!important; color:#fdc300!important; font-family:"Inter","Open Sans",Arial,sans-serif!important;
  font-size:14px!important; font-weight:600!important; letter-spacing:1.5px!important;
  line-height:1.5!important; text-transform:uppercase!important; margin:0 0 16px!important;
}
body .ssd-wrap.ssd-player-records.ssd-fixtures-cards > .ssd-fixtures-toolbar h2 {
  display:block!important; color:#fff!important; font-family:"Inter","Open Sans",Arial,sans-serif!important;
  font-size:clamp(30px,4vw,44px)!important; font-weight:500!important; font-style:normal!important;
  line-height:1.2!important; letter-spacing:-.015em!important; text-align:left!important;
  text-transform:none!important; margin:0 0 16px!important; padding:0!important;
}
body .ssd-wrap.ssd-player-records.ssd-fixtures-cards > .ssd-fixtures-toolbar > div > p:last-child {
  color:#d1d5db!important; font-family:"Inter","Open Sans",Arial,sans-serif!important;
  font-size:18px!important; line-height:1.5!important; margin:0!important;
}
@media(max-width:680px){body .ssd-wrap.ssd-player-records.ssd-fixtures-cards > .ssd-fixtures-toolbar{padding:26px 24px!important;border-radius:12px!important}body .ssd-wrap.ssd-player-records.ssd-fixtures-cards > .ssd-fixtures-toolbar > div > p:last-child{font-size:16px!important}}

/* v0.7.119 — Overall match record, using the same filtered matches as Match Records. */
.ssd-match-records .ssd-record-summary{margin:0 0 26px;max-width:100%}
.ssd-match-records .ssd-record-summary h3{font-size:22px!important;font-weight:800!important;color:#1e2530!important;margin:0 0 12px!important}
.ssd-match-records .ssd-record-summary-scroll{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
.ssd-match-records .ssd-record-summary table{width:100%;min-width:570px;border-collapse:collapse;font-size:15px;text-align:center}
.ssd-match-records .ssd-record-summary thead th{background:#fdc300!important;color:#fff!important;padding:12px 14px;text-align:center;font-weight:800;border:0}
.ssd-match-records .ssd-record-summary thead th:first-child{text-align:left}
.ssd-match-records .ssd-record-summary tbody th,.ssd-match-records .ssd-record-summary tbody td{padding:11px 14px;border-bottom:1px solid #e3e6eb;color:#1e2530}
.ssd-match-records .ssd-record-summary tbody th{text-align:left;font-weight:750}
.ssd-match-records .ssd-record-summary tbody tr:nth-child(even){background:#eee}
.ssd-match-records .ssd-record-summary tbody tr:nth-child(odd){background:#fff}
.ssd-match-records .ssd-record-summary tbody tr.ssd-record-summary-total th,.ssd-match-records .ssd-record-summary tbody tr.ssd-record-summary-total td{font-weight:850;border-top:3px solid #fdc300}
.ssd-match-records .ssd-record-summary-note{font-size:12px;color:#667085;margin:9px 0 0}

/* v0.7.121 — keep Player Profile content aligned to the same centered width
   regardless of surrounding WPBakery/theme table width rules. */
body .ssd-wrap.ssd-profile {
  width: min(100% - 32px, 1120px) !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
body .ssd-wrap.ssd-profile .ssd-profile-section,
body .ssd-wrap.ssd-profile .ssd-table-scroll {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
body .ssd-wrap.ssd-profile .ssd-table-scroll { overflow-x: auto !important; }
body .ssd-wrap.ssd-profile .ssd-table {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
@media(max-width:550px) {
  body .ssd-wrap.ssd-profile { width: calc(100% - 24px) !important; }
}

/* v0.7.129: four equal match fact cards, 2x2 on mobile. */
.ssd-match-details .ssd-match-facts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
.ssd-match-details .ssd-match-facts>div{min-width:0!important;box-sizing:border-box!important;overflow-wrap:anywhere!important}
@media(max-width:600px){.ssd-match-details .ssd-match-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-left:auto!important;margin-right:auto!important}}

/* Player directory: All Players link, live totals and pagination */
.ssd-players-directory .ssd-alphabet a.ssd-all-players-link{width:auto;min-width:110px;padding:0 12px}
.ssd-directory-total{margin:22px 0 16px;padding:15px 18px;background:#f5f6f8;border:1px solid #e7e9ed;border-radius:10px;text-align:center;font-weight:600;color:#1e2530}
.ssd-directory-pages{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap;margin:14px 0 22px}
.ssd-directory-pages a{padding:9px 14px;border-radius:8px;border:1px solid #e5e7eb;text-decoration:none!important;color:#1e2530!important;font-weight:700}
.ssd-directory-pages a:hover{background:#fdc300;border-color:#fdc300}

/* v0.7.140: Match Details goalscorers share one section, two columns on desktop. */
.ssd-match-details .ssd-match-goals-teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.ssd-match-details .ssd-match-goals-team{min-width:0}
.ssd-match-details .ssd-match-goals-team h3{overflow-wrap:anywhere}
.ssd-match-details .ssd-match-goals-team .ssd-opponent-goalscorers{overflow-wrap:anywhere}
@media(max-width:700px){.ssd-match-details .ssd-match-goals-teams{grid-template-columns:minmax(0,1fr);gap:22px}}

/* v0.7.141: Explicit desktop two-column scorer layout, stacked on phones. */
body .ssd-match-details .ssd-match-sections .ssd-match-goals > .ssd-match-goals-teams{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:28px!important;align-items:start!important;width:100%!important}
body .ssd-match-details .ssd-match-goals-team{min-width:0!important;width:auto!important}
body .ssd-match-details .ssd-match-goals-team .ssd-match-goals-list{padding:0!important;margin:0!important;list-style:none!important}
@media(max-width:700px){body .ssd-match-details .ssd-match-sections .ssd-match-goals > .ssd-match-goals-teams{grid-template-columns:minmax(0,1fr)!important;row-gap:24px!important}}

/* Match Records v0.7.147: full-height, aligned record cards and stacked minimum attendances. */
.ssd-match-records .ssd-record-grid{align-items:stretch;grid-auto-flow:row}
.ssd-match-records .ssd-record-card{height:100%;display:flex;flex-direction:column}
.ssd-match-records .ssd-record-matches{max-height:none!important;overflow:visible!important;flex:1 1 auto}
.ssd-match-records .ssd-record-attendance-min-stack{display:flex;flex-direction:column;gap:16px;min-width:0}
.ssd-match-records .ssd-record-attendance-min-stack .ssd-record-card{height:auto;flex:1 1 auto}

/* v0.7.149: Only the five highest-scoring drawn matches scroll within their card. */
.ssd-match-records .ssd-record-card-draw .ssd-record-matches{
    max-height:280px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    flex:0 1 auto;
    scrollbar-gutter:stable;
}

/* v0.7.150 — top five Player Records, matching Match Records ranked cards. */
.ssd-wrap.ssd-player-records .ssd-player-record-card{height:auto!important;overflow:visible!important}
.ssd-wrap.ssd-player-records .ssd-player-top-five{list-style:none!important;padding:0!important;margin:0!important;display:flex;flex-direction:column;gap:0;max-height:350px;overflow-y:auto;overscroll-behavior:contain}
.ssd-wrap.ssd-player-records .ssd-player-top-five-item{display:flex;align-items:flex-start;gap:10px;padding:11px 2px;border-bottom:1px solid #e0e3e7;min-width:0}
.ssd-wrap.ssd-player-records .ssd-player-top-five-item:last-child{border-bottom:0}
.ssd-wrap.ssd-player-records .ssd-player-top-five-rank{font-weight:700;flex:0 0 30px;color:#667085;font-size:13px}
.ssd-wrap.ssd-player-records .ssd-player-top-five-info{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}
.ssd-wrap.ssd-player-records .ssd-player-top-five-name{font-weight:600;color:#202938;text-decoration:none;overflow-wrap:anywhere}
.ssd-wrap.ssd-player-records .ssd-player-top-five-info small{font-size:12px;line-height:1.4;color:#667085}
.ssd-wrap.ssd-player-records .ssd-player-top-five-info small a{color:inherit}
.ssd-wrap.ssd-player-records .ssd-player-top-five-total{font-size:18px;font-weight:700;color:#202938;white-space:nowrap;flex-shrink:0}

/* v0.7.151 — restore featured first-place player above positions 2–5. */
.ssd-wrap.ssd-player-records .ssd-player-record-feature{padding:2px 0 15px;border-bottom:1px solid #dfe2e7;margin-bottom:4px}
.ssd-wrap.ssd-player-records .ssd-player-record-first{display:block;font-size:13px;font-weight:700;color:#667085;margin-bottom:10px}
.ssd-wrap.ssd-player-records .ssd-player-record-feature .ssd-player-record-leader{display:flex;align-items:center;gap:13px;min-width:0}
.ssd-wrap.ssd-player-records .ssd-player-record-feature .ssd-player-record-leader .ssd-photo{width:82px!important;height:105px!important;max-width:82px!important;object-fit:cover;object-position:top;flex-shrink:0}
.ssd-wrap.ssd-player-records .ssd-player-record-feature .ssd-player-record-leader span{display:flex;flex-direction:column;gap:5px;min-width:0}
.ssd-wrap.ssd-player-records .ssd-player-record-feature-detail{font-size:12px;color:#667085;margin-top:9px}
.ssd-wrap.ssd-player-records .ssd-player-record-feature-detail a{color:inherit}
.ssd-wrap.ssd-player-records .ssd-player-top-five{max-height:285px}

/* v0.7.152 — Player Records: two cards per row, larger featured player photos. */
body .ssd-wrap.ssd-player-records .ssd-player-records-grid > .ssd-player-record-card,
.ssd-wrap.ssd-player-records .ssd-player-records-grid > .ssd-player-record-card {
  flex:0 0 calc((100% - 18px) / 2) !important;
  width:calc((100% - 18px) / 2) !important;
  max-width:calc((100% - 18px) / 2) !important;
}
body .ssd-wrap.ssd-player-records .ssd-player-record-feature .ssd-player-record-leader .ssd-photo,
.ssd-wrap.ssd-player-records .ssd-player-record-feature .ssd-player-record-leader .ssd-photo {
  width:145px !important; height:175px !important; max-width:145px !important;
  object-fit:cover; object-position:top; flex-shrink:0;
}
@media(max-width:620px) {
  body .ssd-wrap.ssd-player-records .ssd-player-records-grid > .ssd-player-record-card,
  .ssd-wrap.ssd-player-records .ssd-player-records-grid > .ssd-player-record-card {
    flex-basis:100% !important; width:100% !important; max-width:100% !important;
  }
  body .ssd-wrap.ssd-player-records .ssd-player-record-feature .ssd-player-record-leader .ssd-photo {
    width:115px !important; height:145px !important; max-width:115px !important;
  }
}

/* v0.7.153 — Allow featured record-holder portraits their full width. */
body .ssd-wrap.ssd-player-records .ssd-player-record-feature .ssd-player-record-leader > img.ssd-photo,
body .ssd-wrap.ssd-player-records .ssd-player-record-feature .ssd-player-record-leader > .ssd-placeholder,
.ssd-wrap.ssd-player-records .ssd-player-record-feature .ssd-player-record-leader > img.ssd-photo,
.ssd-wrap.ssd-player-records .ssd-player-record-feature .ssd-player-record-leader > .ssd-placeholder {
  flex:0 0 170px !important;
  width:170px !important;
  min-width:170px !important;
  max-width:170px !important;
  height:215px !important;
  object-fit:cover;
  object-position:center top;
}
@media(max-width:620px) {
  body .ssd-wrap.ssd-player-records .ssd-player-record-feature .ssd-player-record-leader > img.ssd-photo,
  body .ssd-wrap.ssd-player-records .ssd-player-record-feature .ssd-player-record-leader > .ssd-placeholder {
    flex-basis:125px !important;
    width:125px !important;
    min-width:125px !important;
    max-width:125px !important;
    height:160px !important;
  }
}

/* v0.7.154 — Match site-wide yellow underline for Player Records links. */
body .ssd-wrap.ssd-player-records .ssd-player-record-feature a.ssd-player-record-leader,
body .ssd-wrap.ssd-player-records a.ssd-player-top-five-name,
body .ssd-wrap.ssd-player-records .ssd-player-record-feature-detail a,
body .ssd-wrap.ssd-player-records .ssd-player-top-five-info small a {
  color:#202938 !important;
  text-decoration:underline !important;
  text-decoration-color:#fdc300 !important;
  text-underline-offset:4px;
  text-decoration-thickness:2px;
}
body .ssd-wrap.ssd-player-records a.ssd-player-record-leader:hover,
body .ssd-wrap.ssd-player-records a.ssd-player-top-five-name:hover,
body .ssd-wrap.ssd-player-records .ssd-player-record-feature-detail a:hover,
body .ssd-wrap.ssd-player-records .ssd-player-top-five-info small a:hover {
  text-decoration-color:#d3a500 !important;
}

/* v0.7.155 — Match Details-style circular thumbnails for ranked players (2nd–5th). */
body .ssd-wrap.ssd-player-records .ssd-player-top-five-item > img.ssd-photo,
body .ssd-wrap.ssd-player-records .ssd-player-top-five-item > .ssd-placeholder {
  width:40px !important; min-width:40px !important; max-width:40px !important;
  height:40px !important; flex:0 0 40px !important;
  border-radius:50% !important; object-fit:cover; object-position:center top;
  display:block;
}
body .ssd-wrap.ssd-player-records .ssd-player-top-five-item {align-items:center;}

/* v0.7.167 — Player Records: show all ten positions without internal scrolling;
   stretch each grey card to the height of the tallest card in its row. */
body .ssd-wrap.ssd-player-records .ssd-player-top-five,
.ssd-wrap.ssd-player-records .ssd-player-top-five {
  max-height:none !important; height:auto !important;
  overflow:visible !important; overscroll-behavior:auto !important;
}
body .ssd-wrap.ssd-player-records .ssd-player-records-grid,
.ssd-wrap.ssd-player-records .ssd-player-records-grid { align-items:stretch !important; }
body .ssd-wrap.ssd-player-records .ssd-player-records-grid > .ssd-player-record-card,
.ssd-wrap.ssd-player-records .ssd-player-records-grid > .ssd-player-record-card {
  height:auto !important; align-self:stretch !important; overflow:visible !important;
}

/* v0.7.168: use actual CSS grid, not the older flex layout.
   Grid rows automatically size both grey cards to the tallest in each pair. */
body .ssd-wrap.ssd-player-records .ssd-player-records-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  grid-auto-flow:row !important;
  align-items:stretch !important;
  gap:18px !important;
}
body .ssd-wrap.ssd-player-records .ssd-player-records-grid > .ssd-player-record-card {
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  height:100% !important;
  flex:none !important;
  align-self:stretch !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}
body .ssd-wrap.ssd-player-records .ssd-player-records-grid .ssd-player-top-five {
  max-height:none !important; height:auto !important;
  overflow:visible !important; overflow-y:visible !important;
  display:flex !important; flex-direction:column !important;
}
@media(max-width:620px) {
  body .ssd-wrap.ssd-player-records .ssd-player-records-grid {
    grid-template-columns:minmax(0,1fr) !important;
  }
}

/* Goalkeeper clean-sheet record: first and last appearance years below name. */
.ssd-wrap.ssd-player-records .ssd-player-record-career-years { display:block; font-size:12px; font-weight:500; line-height:1.35; color:#626262; margin-top:2px; }

/* v0.7.172 — Player Profile tables: preserve readable columns on small screens.
   Only the table scrolls horizontally, never the full page. */
@media (max-width: 767px) {
  body .ssd-wrap.ssd-profile .ssd-profile-section { min-width:0!important; }
  body .ssd-wrap.ssd-profile .ssd-profile-section .ssd-table-scroll {
    display:block!important; width:100%!important; max-width:100%!important;
    min-width:0!important; overflow-x:auto!important; overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain;
  }
  body .ssd-wrap.ssd-profile #ssd-matches .ssd-table,
  body .ssd-wrap.ssd-profile #ssd-playing .ssd-table {
    width:max-content!important; max-width:none!important; min-width:720px!important;
    table-layout:auto!important;
  }
  body .ssd-wrap.ssd-profile #ssd-matches .ssd-table th,
  body .ssd-wrap.ssd-profile #ssd-matches .ssd-table td,
  body .ssd-wrap.ssd-profile #ssd-playing .ssd-table th,
  body .ssd-wrap.ssd-profile #ssd-playing .ssd-table td {
    white-space:nowrap!important; word-break:normal!important;
    overflow-wrap:normal!important; padding:10px 12px!important;
  }
}

/* Match archive media (v0.7.174) */
.ssd-match-media{margin:26px 0}.ssd-match-media-links{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.ssd-match-media-links a{display:inline-block;background:#fdc300;color:#171717!important;padding:10px 15px;text-decoration:none;border-radius:4px;font-weight:700}.ssd-match-media-group{margin:12px 0;border:1px solid #ddd;padding:12px}.ssd-match-media-group summary{cursor:pointer;font-weight:700}.ssd-match-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:16px;margin-top:15px}.ssd-match-media-grid figure{margin:0}.ssd-match-media-grid img{width:100%;height:180px;object-fit:contain;background:#f5f5f5}.ssd-match-media-grid figcaption{font-size:13px;margin-top:6px}
.ssd-match-media-lightbox{max-width:95vw;max-height:95vh;border:0;border-radius:6px;padding:45px 45px 20px;text-align:center;background:#111;color:#fff}.ssd-match-media-lightbox::backdrop{background:rgba(0,0,0,.85)}.ssd-match-media-lightbox img{max-width:80vw;max-height:72vh;object-fit:contain}.ssd-match-media-lightbox button{border:0;background:#fdc300;color:#111;cursor:pointer;font-size:25px;padding:3px 12px}.ssd-media-close{position:absolute;right:8px;top:8px}.ssd-media-prev{position:absolute;left:5px;top:45%}.ssd-media-next{position:absolute;right:5px;top:45%}

/* Match archive viewer sizing and single category heading (v0.7.175) */
.ssd-match-media .ssd-match-media-group{margin:12px 0;border:1px solid #ddd;border-radius:5px;padding:0;overflow:hidden}
.ssd-match-media .ssd-match-media-group > summary{padding:14px 16px;cursor:pointer;font-weight:700}
.ssd-match-media .ssd-match-media-grid{padding:12px 16px 16px}
.ssd-match-media dialog.ssd-match-media-lightbox{position:fixed!important;inset:0!important;box-sizing:border-box!important;width:min(94vw,1100px)!important;max-width:94vw!important;max-height:94vh!important;margin:auto!important;padding:48px 50px 20px!important;overflow:auto!important;background:#111!important;color:#fff!important;z-index:999999!important}
.ssd-match-media dialog.ssd-match-media-lightbox img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:calc(94vh - 145px)!important;object-fit:contain!important;margin:0 auto!important}
@media(max-width:600px){.ssd-match-media dialog.ssd-match-media-lightbox{width:98vw!important;max-width:98vw!important;padding:50px 35px 15px!important}}

/* Match archive: constrain programme scans within narrow mobile layouts. */
.ssd-match-media,
.ssd-match-media .ssd-match-media-group,
.ssd-match-media .ssd-match-media-grid,
.ssd-match-media .ssd-match-media-grid figure,
.ssd-match-media .ssd-match-media-grid figure a {
    box-sizing:border-box;
    min-width:0;
    max-width:100%;
}
.ssd-match-media .ssd-match-media-grid figure a {display:block;}
.ssd-match-media .ssd-match-media-grid figure img {
    display:block;
    box-sizing:border-box;
    width:100% !important;
    max-width:100% !important;
    height:180px !important;
    object-fit:contain;
}
@media (max-width:600px) {
    .ssd-match-media .ssd-match-media-grid {
        display:grid;
        grid-template-columns:minmax(0,1fr) !important;
        width:100%;
        padding:12px !important;
        gap:12px;
    }
    .ssd-match-media .ssd-match-media-grid figure img {
        height:auto !important;
        max-height:70vh;
        object-fit:contain;
    }
    .ssd-match-media dialog.ssd-match-media-lightbox img {
        width:auto !important;
        max-width:100% !important;
        height:auto !important;
    }
}

/* v0.7.179: first-image preview beside each Match archive category heading. */
.ssd-match-media .ssd-match-media-group > summary{display:flex;align-items:center;gap:12px;}
.ssd-match-media .ssd-match-media-preview{display:block;flex:0 0 60px;width:60px;height:60px;max-width:60px;max-height:60px;object-fit:contain;background:#f5f5f5;border:1px solid #e5e5e5;border-radius:3px;}
@media(max-width:600px){.ssd-match-media .ssd-match-media-preview{flex-basis:48px;width:48px;height:48px;max-width:48px;max-height:48px;}}

/* v0.7.180: prevent theme/mobile image rules from enlarging archive heading previews. */
.ssd-match-media .ssd-match-media-group > summary > img.ssd-match-media-preview {
    display:block !important;
    box-sizing:border-box !important;
    flex:0 0 60px !important;
    width:60px !important;
    min-width:60px !important;
    max-width:60px !important;
    height:60px !important;
    min-height:60px !important;
    max-height:60px !important;
    object-fit:contain !important;
    margin:0 !important;
}
@media(max-width:600px) {
    .ssd-match-media .ssd-match-media-group > summary > img.ssd-match-media-preview {
        flex:0 0 60px !important;
        width:60px !important;
        min-width:60px !important;
        max-width:60px !important;
        height:60px !important;
        min-height:60px !important;
        max-height:60px !important;
    }
}

/* v0.7.182: square player portraits on On This Day, desktop and mobile. */
.ssd-on-this-day .ssd-otd-player-thumb {
  width: 100px !important;
  height: 100px !important;
  flex: 0 0 100px !important;
  aspect-ratio: 1 / 1;
}
.ssd-on-this-day .ssd-otd-player-thumb img,
.ssd-on-this-day .ssd-otd-player-thumb .ssd-photo {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}

/* v0.7.183: On This Day styling and cache-safe square player portraits. */
.ssd-on-this-day .ssd-otd-date {
  background: #f6f7f9 !important;
  color: #1e2530 !important;
  border: 1px solid #e3e6eb;
  border-left: 5px solid #fdc300;
  border-radius: 8px;
}
.ssd-on-this-day .ssd-otd-panel h3 span {
  background: #e9edf2;
  color: #1e2530;
}
.ssd-on-this-day .ssd-otd-person-row > .ssd-otd-player-thumb {
  box-sizing: border-box !important;
  width: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
  height: 100px !important;
  min-height: 100px !important;
  max-height: 100px !important;
  flex: 0 0 100px !important;
  overflow: hidden !important;
}
.ssd-on-this-day .ssd-otd-person-row > .ssd-otd-player-thumb img.ssd-photo,
.ssd-on-this-day .ssd-otd-person-row > .ssd-otd-player-thumb img {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  aspect-ratio: 1 / 1 !important;
}

/* v0.7.184 — fix inherited .ssd-photo flex basis and dimensions inside OTD thumbnails. */
.ssd-on-this-day .ssd-otd-person-row > .ssd-otd-player-thumb {
  display: block !important; flex: 0 0 100px !important;
  width: 100px !important; min-width: 100px !important; max-width: 100px !important;
  height: 100px !important; min-height: 100px !important; max-height: 100px !important;
  aspect-ratio: 1 / 1 !important; padding: 0 !important; line-height: 0 !important;
}
.ssd-on-this-day .ssd-otd-person-row > .ssd-otd-player-thumb > img.ssd-photo,
.ssd-on-this-day .ssd-otd-person-row > .ssd-otd-player-thumb > img {
  display: block !important; flex: none !important;
  width: 100px !important; min-width: 100px !important; max-width: 100px !important;
  height: 100px !important; min-height: 100px !important; max-height: 100px !important;
  aspect-ratio: 1 / 1 !important; object-fit: cover !important;
  object-position: center top !important; margin: 0 !important; padding: 0 !important;
}

/* v0.7.186 — double opponent crest size on On This Day only. */
.ssd-on-this-day .ssd-otd-panel:first-child .ssd-otd-thumb:not(.ssd-otd-player-thumb) {
  box-sizing: border-box !important;
  width: 88px !important; min-width: 88px !important; max-width: 88px !important;
  height: 88px !important; min-height: 88px !important; max-height: 88px !important;
  flex: 0 0 88px !important;
}
.ssd-on-this-day .ssd-otd-panel:first-child .ssd-otd-thumb:not(.ssd-otd-player-thumb) img {
  width: 100% !important; height: 100% !important;
  max-width: 100% !important; max-height: 100% !important;
  object-fit: contain !important;
}
@media (max-width: 600px) {
  .ssd-on-this-day .ssd-otd-panel:first-child .ssd-otd-thumb:not(.ssd-otd-player-thumb) {
    width: 80px !important; min-width: 80px !important; max-width: 80px !important;
    height: 80px !important; min-height: 80px !important; max-height: 80px !important;
    flex: 0 0 80px !important;
  }
}

/* v0.7.187 — On This Day: typography consistent with the Directory plugin. */
.ssd-on-this-day,
.ssd-on-this-day button,
.ssd-on-this-day select,
.ssd-on-this-day label,
.ssd-on-this-day summary {font-family:"Inter","Open Sans",Arial,sans-serif!important;}
.ssd-on-this-day .ssd-otd-panel h3,
.ssd-on-this-day .ssd-otd-date,
.ssd-on-this-day .ssd-otd-heading h2 {font-weight:600!important;letter-spacing:-.015em;}
.ssd-on-this-day .ssd-otd-entry a,
.ssd-on-this-day .ssd-otd-year,
.ssd-on-this-day .ssd-otd-filter label,
.ssd-on-this-day .ssd-otd-filter button,
.ssd-on-this-day .ssd-otd-more>summary,
.ssd-on-this-day .ssd-otd-more[open]>summary .ssd-otd-less-label {font-weight:600!important;}
.ssd-on-this-day .ssd-otd-entry small,
.ssd-on-this-day .ssd-otd-note,
.ssd-on-this-day .ssd-otd-heading p {font-weight:400;}

/* v0.7.189 — transparent opponent crests on On This Day only. */
.ssd-on-this-day .ssd-otd-panel:first-child .ssd-otd-thumb:not(.ssd-otd-player-thumb) {
  background: transparent !important;
  border-color: transparent !important;
}
.ssd-on-this-day .ssd-otd-panel:first-child .ssd-otd-thumb:not(.ssd-otd-player-thumb) img {
  background: transparent !important;
}

/* v0.7.190: Club Honours achievement labels match player position badges. */
.ssd-wrap.ssd-honours-v2 .ssd-honours-achievement { background:#fdc300 !important; color:#000 !important; border-radius:5px !important; }


/* v0.7.192 — AET beneath scores */
.ssd-match-details .ssd-match-score .ssd-score-aet{display:block;margin-top:3px;font-size:12px;line-height:1.3;font-weight:700;letter-spacing:.05em;text-align:center}
.ssd-fixtures-cards .ssd-fixture-outcome .ssd-fixture-aet{display:block;flex-basis:100%;text-align:right;font-size:12px;line-height:1.3;font-weight:700;letter-spacing:.05em;color:#202938}

/* v0.7.193 — ensure AET is below the score in white */
.ssd-match-score .ssd-score-numbers{display:block!important}
.ssd-match-score .ssd-score-aet{display:block!important;color:#fff!important;font-size:12px!important;line-height:1.4!important;font-weight:600!important;margin-top:8px!important;letter-spacing:.06em!important;text-align:center!important}


/* v0.7.194: Match Details AET uses the same typography and colour
   as the penalty shootout text beneath the scoreboard. */
.ssd-match-details .ssd-match-top .ssd-match-score .ssd-score-aet {
    display:block!important;
    margin:8px 0 0!important;
    color:#dce4ed!important;
    font-size:inherit!important;
    line-height:inherit!important;
    font-weight:600!important;
    letter-spacing:normal!important;
    text-align:center!important;
}

/* v0.7.195: compact AET and penalty-shootout annotations under Match Details score */
.ssd-match-details .ssd-match-top .ssd-match-score .ssd-score-aet{font-size:10px!important;line-height:1.25!important;font-weight:600!important;color:#dce4ed!important;margin-top:6px!important}
.ssd-match-details .ssd-match-top>p.ssd-match-penalty-score{font-size:10px!important;line-height:1.35!important;font-weight:600!important;color:#dce4ed!important;margin:5px 0 10px!important}

/* v0.7.196: exact match detail annotations, both compact and identical */
.ssd-match-details .ssd-match-top .ssd-match-scoreboard .ssd-match-score > .ssd-score-aet,
.ssd-match-details .ssd-match-top > .ssd-match-penalty-score {
    font-size:10px!important;
    line-height:1.35!important;
    font-weight:600!important;
    color:#dce4ed!important;
    letter-spacing:normal!important;
    text-transform:none!important;
}
.ssd-match-details .ssd-match-top .ssd-match-scoreboard .ssd-match-score > .ssd-score-aet {display:block!important;margin:6px 0 0!important;text-align:center!important}

/* v0.7.197: slightly larger match score annotations */
.ssd-match-details .ssd-match-top .ssd-match-scoreboard .ssd-match-score > .ssd-score-aet,
.ssd-match-details .ssd-match-top > .ssd-match-penalty-score {font-size:12px!important;}

/* v0.7.198: extra-time and shootout details in opponent match list */
.ssd-opponent-detail .ssd-opponent-score-note{display:block;font-size:12px;line-height:1.35;font-weight:500;color:#536174;white-space:nowrap;margin-top:2px}

/* v0.7.199: AET immediately after score; penalties on next line */
.ssd-opponent-aet{display:inline!important;font-size:12px!important;line-height:inherit!important;font-weight:500;color:#536174;white-space:nowrap;margin:0!important}
.ssd-opponent-pens{display:block!important;font-size:12px!important;line-height:1.35!important;font-weight:500;color:#536174;white-space:nowrap;margin-top:2px!important}

/* v0.7.200: slightly larger AET and penalty-shootout text on Match Details */
.ssd-match-details .ssd-match-top .ssd-match-scoreboard .ssd-match-score > .ssd-score-aet,
.ssd-match-details .ssd-match-top > p.ssd-match-penalty-score {
    font-size:15px!important;
    line-height:1.4!important;
    font-weight:600!important;
    color:#dce4ed!important;
}

/* v0.7.207: gold search button on Players A-Z only; original blue header preserved. */
.ssd-wrap.ssd-players-directory .ssd-search button,
.ssd-wrap.ssd-players-directory .ssd-search button:hover,
.ssd-wrap.ssd-players-directory .ssd-search button:focus-visible,
.ssd-wrap.ssd-players .ssd-search button,
.ssd-wrap.ssd-players .ssd-search button:hover,
.ssd-wrap.ssd-players .ssd-search button:focus-visible {
 background:#fdc300!important; color:#111!important; border:1px solid #fdc300!important;
}

/* v0.7.208: magnifier for Press Cuttings and Programme lightbox images only. */
.ssd-match-media .ssd-media-zoom-stage{display:flex;align-items:center;justify-content:center;overflow:hidden;max-width:100%;height:min(72vh,780px);touch-action:none;cursor:default}
.ssd-match-media .ssd-media-zoom-stage.is-zoomed{cursor:grab}
.ssd-match-media .ssd-media-zoom-stage.is-zoomed:active{cursor:grabbing}
.ssd-match-media .ssd-media-zoom-stage img.ssd-media-zoom-image{max-width:100%!important;max-height:100%!important;object-fit:contain;transform-origin:center center;will-change:transform;user-select:none;-webkit-user-drag:none}
.ssd-match-media .ssd-media-zoom-button{position:absolute;right:62px;top:8px;z-index:2;min-width:38px}
.ssd-match-media .ssd-media-zoom-button[hidden]{display:none!important}

/* v0.7.211: Saints Centurions summary uses the site gold; other rankings unchanged. */
.ssd-wrap.ssd-centurions:not(.ssd-sinners):not(.ssd-top-scorers) .ssd-centurions-summary { background:#fdc300!important; border-color:#fdc300!important; color:#111!important; }
.ssd-wrap.ssd-centurions:not(.ssd-sinners):not(.ssd-top-scorers) .ssd-centurions-summary strong { color:#111!important; }

/* v0.7.212: Top 50 Goalscorers summary gold, matching Centurions. */
.ssd-wrap.ssd-top-scorers .ssd-centurions-summary {background:#fdc300!important;border-color:#fdc300!important;color:#111!important;}
.ssd-wrap.ssd-top-scorers .ssd-centurions-summary strong {color:#111!important;}

/* v0.7.213: Squads by Season View Squad button only. */
.ssd-wrap.ssd-season-squads .ssd-squad-season-form button[type="submit"],
.ssd-wrap.ssd-season-squads .ssd-squad-season-form button[type="submit"]:hover,
.ssd-wrap.ssd-season-squads .ssd-squad-season-form button[type="submit"]:focus-visible {
 background:#fdc300!important;
 color:#111!important;
 border:1px solid #fdc300!important;
}

/* v0.7.214: Opponents directory Search button only. */
body .ssd-wrap.ssd-opponents form.ssd-search button[type="submit"],
body .ssd-wrap.ssd-opponents form.ssd-search button[type="submit"]:hover,
body .ssd-wrap.ssd-opponents form.ssd-search button[type="submit"]:focus-visible {background:#fdc300!important;color:#111!important;border:1px solid #fdc300!important;}

/* v0.7.217: uniform font size in Top Scorers summary, including count. */
.ssd-wrap.ssd-top-scorers .ssd-centurions-summary,
.ssd-wrap.ssd-top-scorers .ssd-centurions-summary strong { font-size: 17px !important; line-height: 1.45; }

/* v0.7.218: one evenly spaced, consistently bold Top Scorers summary. */
.ssd-wrap.ssd-top-scorers .ssd-centurions-summary {display:inline-block!important;font-size:17px!important;font-weight:700!important;line-height:1.45!important;word-spacing:normal!important;}
.ssd-wrap.ssd-top-scorers .ssd-centurions-summary strong {font-size:inherit!important;font-weight:700!important;line-height:inherit!important;}

/* v0.7.226: anchor the W/D/L badge to the right edge and pack all
   goal/card symbols immediately to its left, with a 12px breathing gap.
   Event symbols grow leftwards without shifting the result badge. */
.ssd-profile .ssd-player-goal-result {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
  width:100%!important;
  min-width:170px!important;
  min-height:30px!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
}
.ssd-profile .ssd-player-match-events {
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  gap:3px!important;
  margin:0!important;
  padding:0!important;
  min-width:0!important;
}
.ssd-profile .ssd-player-match-goals,
.ssd-profile .ssd-player-match-cards {
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  gap:2px!important;
  margin:0!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.ssd-profile .ssd-goal-football-img {
  display:block!important;
  width:20px!important;height:20px!important;
  min-width:20px!important;max-width:20px!important;
  object-fit:contain!important;margin:0!important;padding:0!important;
}
.ssd-profile .ssd-player-card {
  display:block!important;width:11px!important;height:16px!important;
  min-width:11px!important;border-radius:2px!important;
  box-sizing:border-box!important;box-shadow:0 1px 2px rgba(0,0,0,.18)!important;
}
.ssd-profile .ssd-player-card-yellow {background:#ffcf00!important;border:1px solid #d6a900!important}
.ssd-profile .ssd-player-card-red {background:#e31b23!important;border:1px solid #b51219!important}
.ssd-profile .ssd-player-goal-result > .ssd-result {
  flex:0 0 30px!important;
  width:30px!important;
  margin:0!important;
}

/* v0.7.229 — blue Opponent Details hero with circular logo. */
body .ssd-wrap.ssd-opponent-detail > .ssd-opponent-hero {display:flex!important;align-items:center!important;gap:24px!important;background:#252F59!important;border:0!important;border-radius:16px!important;padding:30px 40px!important;margin:0 0 28px!important;box-shadow:none!important;color:#fff!important;}
body .ssd-wrap.ssd-opponent-detail > .ssd-opponent-hero img {box-sizing:border-box!important;width:120px!important;height:120px!important;min-width:120px!important;border-radius:50%!important;background:#fff!important;padding:13px!important;object-fit:contain!important;flex:0 0 120px!important;}
body .ssd-wrap.ssd-opponent-detail > .ssd-opponent-hero h2 {color:#fff!important;margin:0 0 8px!important;}
body .ssd-wrap.ssd-opponent-detail > .ssd-opponent-hero p {color:#e1e6f0!important;margin:5px 0!important;}
@media(max-width:700px){body .ssd-wrap.ssd-opponent-detail > .ssd-opponent-hero {padding:24px!important;gap:16px!important;border-radius:12px!important;}body .ssd-wrap.ssd-opponent-detail > .ssd-opponent-hero img {width:90px!important;height:90px!important;min-width:90px!important;flex-basis:90px!important;padding:10px!important;}body .ssd-wrap.ssd-opponent-detail > .ssd-opponent-hero h2 {font-size:clamp(24px,6vw,34px)!important;}}

/* v0.7.231: separate playing and managerial profile statistics */
.ssd-wrap .ssd-career-stats-heading{font-size:19px;margin:25px 0 10px;font-weight:700;color:#1e2530;}
.ssd-wrap .ssd-career-stats-heading + .ssd-stats{margin-top:0;}
.ssd-wrap .ssd-manager-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:550px){.ssd-wrap .ssd-career-stats-heading{font-size:17px;}}

/* v0.7.236: historical names alongside principal clubs in the opponents directory. */
.ssd-opponents .ssd-opponent-name .ssd-opponent-former-names {display:inline;font-size:0.8em!important;font-weight:400!important;color:#667085!important;white-space:normal;overflow-wrap:anywhere;}
