/* Football Rwanda - joined theme styles (27 files). Built automatically, do not edit. */

/* ---- fonts.css ---- */
/* Inter (variable, latin) — self-hosted, no Google Fonts request */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('https://footballtalentsdata.com/wp-content/themes/football-rwanda-v4-nettoye/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Saira (variable weight + width, latin) — display face: titles and match numerals.
   SIL Open Font License 1.1, see assets/fonts/LICENSE-Saira.txt. Only downloaded
   by pages that use it.
   Weight capped at 600 (2026-10-18): titles were too heavy at 800/900. Any
   heavier request in the stylesheets renders at 600 (no faux bold); to allow
   heavier again, raise the second number. */
@font-face {
    font-family: 'Saira';
    font-style: normal;
    font-weight: 100 600;
    font-stretch: 50% 125%;
    font-display: swap;
    src: url('https://footballtalentsdata.com/wp-content/themes/football-rwanda-v4-nettoye/assets/fonts/saira-latin-wdth-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---- variables.css ---- */
/* ======================================================
   Football Rwanda Design System v1.0
====================================================== */

:root{

    /* COLORS */

    --fr-primary:#009879;
    --fr-primary-dark:#007863;

    --fr-secondary:#F4B400;

    --fr-blue:#1E88E5;

    --fr-danger:#E53935;

    --fr-warning:#FFC107;

    --fr-success:#43A047;

    /* BACKGROUND */

    --fr-bg:#F5F7FA;

    --fr-card:#FFFFFF;

    /* TEXT */

    --fr-text:#222;

    --fr-text-light:#666;

    --fr-border:#E5E5E5;

    /* TYPOGRAPHY */

    --fr-font:'Inter',sans-serif;

    /* SPACING */

    --fr-radius:16px;

    --fr-shadow:0 8px 24px rgba(0,0,0,.08);

    --fr-transition:.3s;

    --fr-container:1400px;

}

/* ---- global.css ---- */
/* ==========================================================
   Football Rwanda
   Global Styles
========================================================== */

/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after{

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    margin:0;

    padding:0;

    font-family:'Inter',sans-serif;

    font-size:16px;

    line-height:1.7;

    color:#334155;

    background:#f8fafc;

    -webkit-font-smoothing:antialiased;

    text-rendering:optimizeLegibility;

}

/* ==========================================================
   CONTAINER
========================================================== */

.fr-container{

    max-width:1200px;

    margin:auto;

    padding:20px 20px;

}

/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6{

    margin-top:0;

    margin-bottom:15px;

    color:#0f172a;

    font-weight:700;

    line-height:1.3;

}

h1{

    font-size:42px;

}

h2{

    font-size:32px;

}

h3{

    font-size:24px;

}

h4{

    font-size:20px;

}

p{

    margin:0 0 18px;

}

/* ==========================================================
   LINKS
========================================================== */

a{

    color:#2563eb;

    text-decoration:none;

    transition:.25s;

}

a:hover{

    color:#1d4ed8;

}

/* ==========================================================
   IMAGES
========================================================== */

img{

    max-width:100%;

    height:auto;

    display:block;

}

/* ==========================================================
   LISTS
========================================================== */

ul,
ol{

    margin:0 0 20px;

    padding-left:20px;

}

li{

    margin-bottom:8px;

}

/* ==========================================================
   BUTTONS
========================================================== */

button,
input[type="submit"]{

    cursor:pointer;

    transition:.30s;

}

/* ==========================================================
   FORMS
========================================================== */

input,
select,
textarea{

    width:100%;

    padding:12px 15px;

    border:1px solid #d1d5db;

    border-radius:10px;

    font-size:15px;

    transition:.25s;

}

input:focus,
select:focus,
textarea:focus{

    outline:none;

    border-color:#2563eb;

    box-shadow:0 0 0 3px rgba(37,99,235,.15);

}

/* ==========================================================
   TABLES
========================================================== */

table{

    width:100%;

    border-collapse:collapse;

}

th{

    background:#f1f5f9;

    text-align:left;

    padding:14px;

}

td{

    padding:14px;

    border-bottom:1px solid #e5e7eb;

}

/* ==========================================================
   UTILITIES
========================================================== */

.text-center{

    text-align:center;

}

.text-right{

    text-align:right;

}

.text-left{

    text-align:left;

}

.mt-20{

    margin-top:20px;

}

.mt-30{

    margin-top:30px;

}

.mt-40{

    margin-top:40px;

}

.mb-20{

    margin-bottom:20px;

}

.mb-30{

    margin-bottom:30px;

}

.mb-40{

    margin-bottom:40px;

}

.hidden{

    display:none;

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:992px){

    h1{

        font-size:36px;

    }

    h2{

        font-size:28px;

    }

}

@media(max-width:768px){

    .fr-container{

        padding:25px 15px;

    }

    h1{

        font-size:30px;

    }

    h2{

        font-size:24px;

    }

}

/* ==========================================================
   HEADER
========================================================== */

.fr-header{

    background:#ffffff;

    border-bottom:1px solid #e5e7eb;

    position:sticky;

    top:0;

    z-index:999;

}

.fr-header-inner{

    display:flex;

    justify-content:space-between;

    align-items:center;

    min-height:80px;

}

.fr-logo{

    font-size:28px;

    font-weight:800;

    color:var(--fr-primary);

}

.fr-main{

    min-height:70vh;

}

/* ==========================================================
   FOOTER
========================================================== */

.fr-footer{

    background:#0f172a;

    color:#fff;

    margin-top:80px;

}

.fr-footer h3,
.fr-footer h4{

    color:#fff;

}

.fr-footer ul{

    list-style:none;

    margin:0;

    padding:0;

}

.fr-footer li{

    margin-bottom:12px;

}

.fr-footer a{

    color:#cbd5e1;

}

.fr-footer a:hover{

    color:#fff;

}

/* ---------- BK Pro League logo (card + home table) ---------- */
html body .fr-competition-image .fr-competition-logo-img {
    display: block;
    width: auto;
    max-width: 70%;
    height: 130px;
    margin: 0 auto;
    object-fit: contain;
    padding: 0;
    background: none;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, .9)) drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
}


/* ---- components.css ---- */
/*
==========================================================
FOOTBALL RWANDA
COMPONENTS
File: components.css
==========================================================
*/

/*
 * Shared component styles will be added here.
 *
 * Page Header styles are handled separately by:
 * components/page-header.css
 */

/* ---- header.css ---- */
/* ==========================================================
   FOOTBALL RWANDA
   GLOBAL HEADER / NAVIGATION
   Final clean version
   ========================================================== */


/* ==========================================================
   1. HEADER
   ========================================================== */

.fr-header {
    position: sticky;
    top: 0;
    z-index: 9999;

    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e7edf3;

    box-sizing: border-box;
}


/* WordPress Admin Bar
   Keep the site header below the admin bar for logged-in users. */

body.admin-bar .fr-header {
    top: 32px;
}


/* ==========================================================
   2. HEADER INNER
   ========================================================== */

.fr-header-inner {
    width: 100%;
    min-width: 0;
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
    box-sizing: border-box;
}


/* ==========================================================
   3. BRANDING
   ========================================================== */

.fr-branding {
    flex: 0 0 auto;
    min-width: 0;

    display: flex;
    align-items: center;
}

.fr-branding a {
    display: flex;
    align-items: center;

    text-decoration: none;
}

.fr-branding .custom-logo-link {
    display: flex;
    align-items: center;
}

.fr-branding .custom-logo,
.fr-branding img {
    display: block;

    width: auto;
    max-width: 155px;
    max-height: 54px;

    object-fit: contain;
}


/* ==========================================================
   4. TEXT LOGO FALLBACK
   ========================================================== */

.fr-logo {
    display: inline-flex;
    align-items: center;

    color: var(--fr-primary, #009f83);
    text-decoration: none;

    font-size: 26px;
    line-height: 1;
    font-weight: 800;

    white-space: nowrap;
}

.fr-logo:hover {
    color: var(--fr-primary, #009f83);
}

.fr-logo-image {
    display: block;

    width: auto;
    height: 54px;
    max-width: 220px;

    object-fit: contain;

    transition: opacity 0.2s ease;
}

.fr-logo:hover .fr-logo-image {
    opacity: 0.9;
}


/* ==========================================================
   5. PRIMARY NAVIGATION
   ========================================================== */

.fr-navigation {
    flex: 0 1 auto;
    min-width: 0;

    margin-left: auto;

    display: flex;
    align-items: center;
}

.fr-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 4px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.fr-menu > li {
    position: relative;

    margin: 0;
    padding: 0;
}

.fr-menu > li > a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 72px;
    padding: 0 12px;

    color: var(--fr-navy, #0f1f35);

    font-size: 15px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;

    border-radius: 8px;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.fr-menu > li > a:hover {
    color: var(--fr-green, #009b84);
}


/* ==========================================================
   6. ACTIVE MENU ITEM
   ========================================================== */

.fr-menu > li.current-menu-item > a,
.fr-menu > li.current-menu-parent > a,
.fr-menu > li.current-menu-ancestor > a {
    color: var(--fr-green, #009b84);
}

.fr-menu > li.current-menu-item > a::before,
.fr-menu > li.current-menu-parent > a::before,
.fr-menu > li.current-menu-ancestor > a::before {
    content: "";

    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;

    height: 3px;

    background: var(--fr-green, #009b84);
    border-radius: 3px 3px 0 0;
}


/* ==========================================================
   7. DROPDOWN
   ========================================================== */

.fr-menu .sub-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;

    min-width: 220px;

    margin: 0;
    padding: 8px;

    list-style: none;

    background: #ffffff;
    border: 1px solid #e5ebf0;
    border-radius: 0 0 10px 10px;

    box-shadow: 0 12px 30px rgba(15, 31, 53, 0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    z-index: 10000;
}

.fr-menu > li:hover > .sub-menu,
.fr-menu > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Dropdown links */

.fr-menu .sub-menu li {
    margin: 0;
    padding: 0;
}

.fr-menu .sub-menu a {
    display: block;

    padding: 11px 14px;

    color: #24364d;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;

    text-decoration: none;

    border-radius: 7px;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.fr-menu .sub-menu a:hover {
    color: var(--fr-green, #009b84);
    background: #f0f8f6;
}


/* Dropdown arrow */

.fr-menu > .menu-item-has-children > a::after {
    content: "⌄";

    margin-left: 7px;

    font-size: 12px;
    line-height: 1;

    transition: transform 0.2s ease;
}

.fr-menu > .menu-item-has-children:hover > a::after,
.fr-menu > .menu-item-has-children:focus-within > a::after {
    transform: rotate(180deg);
}


/* ==========================================================
   8. MOBILE TOGGLE
   ========================================================== */

.fr-menu-toggle {
    display: none;

    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    padding: 8px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.fr-menu-toggle span {
    display: block;

    width: 100%;
    height: 3px;

    margin: 6px 0;

    background: #111827;
    border-radius: 20px;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* ==========================================================
   9. MOBILE MENU
   ========================================================== */

@media (max-width: 1080px) {

    .fr-header-inner {
        min-height: 72px;
        gap: 16px;
    }

    .fr-navigation {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: none;

        width: 100%;
        min-width: 0;

        margin: 0;
        padding: 18px 24px;

        box-sizing: border-box;

        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;

        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }

    .fr-navigation.is-open {
        display: block;
    }

    .fr-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        width: 100%;
        gap: 0;
    }

    .fr-menu > li {
        width: 100%;
    }

    .fr-menu > li > a {
        min-height: auto;
        width: 100%;

        padding: 13px 0;

        font-size: 16px;
        line-height: 1.3;

        border-radius: 0;
    }

    .fr-menu > li.current-menu-item > a::before,
    .fr-menu > li.current-menu-parent > a::before,
    .fr-menu > li.current-menu-ancestor > a::before {
        display: none;
    }

    .fr-menu > li.current-menu-item > a,
    .fr-menu > li.current-menu-parent > a,
    .fr-menu > li.current-menu-ancestor > a {
        background: transparent;
    }

    .fr-menu .sub-menu {
        position: static;

        display: none;

        min-width: 0;

        padding: 0 0 6px;

        border: 0;
        border-radius: 0;

        box-shadow: none;

        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .fr-menu > li:hover > .sub-menu,
    .fr-menu > li:focus-within > .sub-menu {
        display: block;
    }

    .fr-menu .sub-menu a {
        padding: 10px 12px;

        font-size: 14px;
        background: #f7fafb;
    }

    .fr-menu > .menu-item-has-children > a::after {
        margin-left: auto;
    }

    .fr-menu-toggle {
        display: block;
    }
}


/* ==========================================================
   10. TABLET / NARROW DESKTOP
   ========================================================== */

@media (max-width: 1299px) and (min-width: 1081px) {

    .fr-header-inner {
        gap: 14px;
    }

    .fr-menu {
        gap: 0;
    }

    .fr-menu > li > a {
        min-height: 78px;
        padding: 0 9px;

        font-size: 14px;
    }

    .fr-branding .custom-logo,
    .fr-branding img {
        max-width: 140px;
        max-height: 60px;
    }

    .fr-logo-image {
        height: 58px;
        max-width: 200px;
    }
}


/* ==========================================================
   11. MOBILE LOGO
   ========================================================== */

@media (max-width: 1080px) {

    .fr-branding .custom-logo,
    .fr-branding img {
        max-width: 140px;
        max-height: 58px;
    }

    .fr-logo-image {
        height: 52px;
        max-width: 200px;
    }
}


/* ==========================================================
   12. SMALL MOBILE
   ========================================================== */

@media (max-width: 576px) {

    .fr-header-inner {
        min-height: 68px;
        gap: 10px;
    }

    .fr-branding .custom-logo,
    .fr-branding img {
        max-width: 120px;
        max-height: 50px;
    }

    .fr-logo {
        font-size: 22px;
    }

    .fr-logo-image {
        height: 45px;
        max-width: 175px;
    }

    .fr-navigation {
        padding: 14px 20px;
    }

    .fr-menu-toggle {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
}


/* ==========================================================
   13. WORDPRESS ADMIN BAR — MOBILE
   ========================================================== */

@media (max-width: 782px) {

    body.admin-bar .fr-header {
        top: 46px;
    }
}


/* ==========================================================
   14. MOBILE TOGGLE ACTIVE STATE
   ========================================================== */

.fr-menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.fr-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.fr-menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* ==========================================================
   15. SAFE BOX SIZING
   ========================================================== */

.fr-header,
.fr-header-inner,
.fr-navigation,
.fr-menu,
.fr-menu > li,
.fr-menu > li > a {
    box-sizing: border-box;
}


/* ==========================================================
   HEADER — COMPACT DESKTOP + LOGIN
   Based on current header.css.
   Only header sizing/navigation is adjusted.
   ========================================================== */

.fr-header-inner {
    min-height: 72px;
}

.fr-navigation {
    flex: 1 1 auto;
    justify-content: flex-end;
}

.fr-menu {
    gap: 2px;
}

.fr-menu > li > a {
    min-height: 72px;
    padding: 0 11px;
}

/* Login button added in header.php */
.fr-header-login {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 18px;

    margin-left: 12px;

    background: var(--fr-green, #009f83);
    color: #ffffff !important;

    border: 1px solid var(--fr-green, #009f83);
    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;

    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.fr-header-login:hover {
    background: #008b76;
    border-color: #008b76;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.fr-header-login:focus-visible {
    outline: 2px solid #123c66;
    outline-offset: 3px;
}

/* Mobile: Login stays in the compact header beside the menu toggle. */
@media (max-width: 1080px) {
    .fr-header-inner {
        min-height: 72px;
    }

    .fr-header-login {
        min-height: 38px;
        padding: 0 15px;
        margin-left: auto;
        margin-right: 8px;
        font-size: 13px;
    }
}

/* Very small screens */
@media (max-width: 576px) {
    .fr-header-inner {
        min-height: 68px;
    }

    .fr-header-login {
        min-height: 36px;
        padding: 0 12px;
        font-size: 12px;
    }
}


/* ==========================================================
   HEADER SEARCH ICON
========================================================== */

.fr-header-search {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 8px;
    color: #123c66;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    background: #ffffff;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease;
}

.fr-header-search:hover,
.fr-header-search:focus-visible {
    color: #009f83;
    border-color: #009f83;
}


/* ---- header-pro.css ---- */
/* Football Rwanda - Header PRO (loaded after header.css) */

html body .fr-header {
    background: rgba(255,255,255,.88);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid #e3e9ef;
    transition: box-shadow .2s ease, background .2s ease;
}
html body .fr-header.is-scrolled { background: rgba(255,255,255,.96); box-shadow: 0 1px 2px rgba(6,24,47,.05), 0 10px 30px rgba(6,24,47,.08); }
html body .fr-header-inner { min-height: 76px; gap: 20px; }

/* Nav links = pills */
html body .fr-menu { gap: 2px; }
html body .fr-menu > li > a {
    min-height: 42px; padding: 0 14px; border-radius: 12px;
    color:#06182f; font-size: 14.5px; font-weight: 700; letter-spacing: -.005em;
}
html body .fr-menu > li > a:hover { background:#f1f5f8; color:#06182f; }
html body .fr-menu > li.current-menu-item > a,
html body .fr-menu > li.current-menu-parent > a,
html body .fr-menu > li.current-menu-ancestor > a { background:#e6f4f2; color:#0a7f78; }
html body .fr-menu > li.current-menu-item > a::before,
html body .fr-menu > li.current-menu-parent > a::before,
html body .fr-menu > li.current-menu-ancestor > a::before { display:none; }
html body .fr-menu > .menu-item-has-children > a::after {
    content:""; width:6px; height:6px; margin: -3px 0 0 9px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); opacity:.7; font-size:0;
}
html body .fr-menu > .menu-item-has-children:hover > a::after,
html body .fr-menu > .menu-item-has-children:focus-within > a::after { transform: rotate(225deg); margin-top: 3px; }

/* Dropdown */
html body .fr-menu .sub-menu {
    top: 100%; left: -6px; min-width: 232px; padding: 8px; margin-top: 8px;
    border: 1px solid #e3e9ef; border-radius: 18px;
    box-shadow: 0 1px 2px rgba(6,24,47,.04), 0 18px 44px rgba(6,24,47,.14);
}
html body .fr-menu .sub-menu::before { content:""; position:absolute; left:0; right:0; top:-10px; height:10px; } /* hover bridge */
html body .fr-menu .sub-menu a { padding: 11px 14px; border-radius: 12px; color:#06182f; font-weight:600; }
html body .fr-menu .sub-menu a:hover { background:#e6f4f2; color:#0a7f78; }
html body .fr-menu .sub-menu .current-menu-item > a { background:#e6f4f2; color:#0a7f78; }

/* Search + login */
html body .fr-header-search { border:1px solid #e3e9ef; border-radius: 12px; width:42px; height:42px; color:#06182f; transition: background .15s, border-color .15s; }
html body .fr-header-search:hover { background:#f1f5f8; border-color:#cfd9e2; }
html body .fr-header-login {
    min-height: 42px; padding: 0 20px; border: 0; box-shadow:none; border-radius: 12px; background:#06182f; color:#fff;
    font-weight: 700; transition: background .15s, transform .15s;
}
html body .fr-header-login:hover { background:#0a7f78; color:#fff; }

/* Mobile */
html body .fr-menu-toggle { border-radius: 12px; border:1px solid #e3e9ef; flex-basis:42px; width:42px; height:42px; padding: 11px 10px; }
html body .fr-menu-toggle span { height:2px; margin:5px 0; background:#06182f; }
html body .fr-menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
html body .fr-menu-toggle.is-active span:nth-child(2) { opacity:0; }
html body .fr-menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
    html body .fr-header-inner { min-height: 68px; gap: 10px; }
    html body .fr-navigation {
        left: 12px; right: 12px; top: calc(100% + 8px); width: auto;
        max-height: calc(100vh - 110px); overflow-y: auto;
        padding: 10px; border: 1px solid #e3e9ef; border-radius: 18px;
        background:#fff; box-shadow: 0 1px 2px rgba(6,24,47,.04), 0 22px 50px rgba(6,24,47,.18);
    }
    html body .fr-menu > li > a { padding: 14px 14px; border-radius: 12px; font-size: 16px; min-height: 0; justify-content: space-between; }
    html body .fr-menu > li + li { border-top: 1px solid #f0f3f6; }
    html body .fr-menu > .menu-item-has-children > a::after { margin: -3px 4px 0 auto; }
    html body .fr-menu > .menu-item-has-children:hover > a::after,
    html body .fr-menu > .menu-item-has-children:focus-within > a::after { transform: rotate(45deg); margin-top:-3px; }
    html body .fr-menu > .menu-item-has-children.is-expanded > a::after { transform: rotate(225deg); margin-top: 3px; }
    html body .fr-menu .sub-menu { display:none; margin:0 0 6px 8px; padding: 2px 0 4px 10px; border:0; border-left: 2px solid #e6f4f2; border-radius:0; box-shadow:none; background:transparent; }
    html body .fr-menu .sub-menu::before { display:none; }
    html body .fr-menu > li:hover > .sub-menu,
    html body .fr-menu > li:focus-within > .sub-menu { display:none; }
    html body .fr-menu > li.is-expanded > .sub-menu { display:block; }
    html body .fr-menu .sub-menu a { background:transparent; padding: 11px 12px; }
}
@media (max-width: 420px) {
    html body .fr-header-login { padding: 0 14px; }
}

/* ===== Rich sub-menus (icon + label + description) ===== */
html body .fr-menu .sub-menu { min-width: 320px; padding: 10px; }
html body .fr-menu .sub-menu a { display:flex; align-items:center; gap: 14px; padding: 10px 12px; }
html body .fr-menu .sub-menu .fr-menu-icon {
    flex: 0 0 40px; width: 40px; height: 40px; display:grid; place-items:center;
    border-radius: 12px; background:#f1f5f8; color:#0a7f78; transition: background .15s, color .15s;
}
html body .fr-menu .sub-menu a:hover .fr-menu-icon,
html body .fr-menu .sub-menu .current-menu-item > a .fr-menu-icon { background:#0a7f78; color:#fff; }
html body .fr-menu .sub-menu .fr-menu-icon--logo,
html body .fr-menu .sub-menu a:hover .fr-menu-icon--logo,
html body .fr-menu .sub-menu .current-menu-item > a .fr-menu-icon--logo { background: transparent; }
html body .fr-menu .sub-menu .fr-menu-icon--logo img { width: 34px; height: 34px; object-fit: contain; display: block; }
html body .fr-menu .sub-menu .fr-menu-text { display:flex; flex-direction:column; gap:2px; min-width:0; }
html body .fr-menu .sub-menu .fr-menu-label { font-size:14.5px; font-weight:700; line-height:1.25; color:#06182f; }
html body .fr-menu .sub-menu a:hover .fr-menu-label,
html body .fr-menu .sub-menu .current-menu-item > a .fr-menu-label { color:#0a7f78; }
html body .fr-menu .sub-menu .fr-menu-desc { font-size:12.5px; font-weight:500; line-height:1.3; color:#62748a; }
html body .fr-menu .sub-menu .fr-menu-competition + .fr-menu-competition,
html body .fr-menu .sub-menu li { margin: 0; }

@media (max-width: 1080px) {
    html body .fr-menu .sub-menu { min-width: 0; }
    html body .fr-menu .sub-menu .fr-menu-icon { flex-basis: 34px; width: 34px; height: 34px; border-radius: 10px; }
    html body .fr-menu .sub-menu .fr-menu-label { font-size: 15px; }
}

/* Last dropdown opens towards the left so it never leaves the screen */
@media (min-width: 1081px) {
    html body .fr-menu > li:last-child > .sub-menu { left: auto; right: -6px; }
}

/* ===== Account area (Sign in / Create account / member chip) ===== */
html body .fr-header-signin {
    display:inline-flex; align-items:center; min-height:42px; padding: 0 14px; border-radius:12px;
    color:#06182f; font-size:14.5px; font-weight:700; text-decoration:none; white-space:nowrap;
    transition: background .15s;
}
html body .fr-header-signin:hover { background:#f1f5f8; }

.fr-account-chip { position:relative; }
.fr-account-chip-link {
    display:inline-flex; align-items:center; gap:10px; min-height:42px; padding: 0 12px 0 5px;
    border:1px solid #e3e9ef; border-radius: 999px; color:#06182f; text-decoration:none; font-weight:700; font-size:14.5px;
    transition: background .15s;
}
.fr-account-chip-link:hover { background:#f1f5f8; }
.fr-account-chip .fr-account-avatar { flex:0 0 32px; width:32px; height:32px; font-size:14px; }
.fr-account-menu {
    position:absolute; right:0; top:100%; min-width: 210px; margin:8px 0 0; padding:8px; list-style:none;
    background:#fff; border:1px solid #e3e9ef; border-radius:16px;
    box-shadow: 0 1px 2px rgba(6,24,47,.04), 0 18px 44px rgba(6,24,47,.14);
    opacity:0; visibility:hidden; transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s; z-index: 10000;
}
.fr-account-menu::before { content:""; position:absolute; left:0; right:0; top:-10px; height:10px; }
.fr-account-chip:hover .fr-account-menu,
.fr-account-chip:focus-within .fr-account-menu { opacity:1; visibility:visible; transform:none; }
.fr-account-menu a { display:block; padding: 11px 14px; border-radius:10px; color:#06182f; font-size:14px; font-weight:600; text-decoration:none; }
.fr-account-menu a:hover { background:#e6f4f2; color:#0a7f78; }

.fr-nav-account { display:none; }

@media (max-width: 1080px) {
    html body .fr-header-signin { display:none; }
    html body .fr-header-login { padding: 0 14px; font-size: 13.5px; }
    .fr-account-chip-name { display:none; }
    .fr-account-chip-link { padding: 4px; }
    .fr-account-menu { display:none; }
    .fr-nav-account { display:flex; gap:8px; margin-top: 8px; padding-top: 12px; border-top:1px solid #f0f3f6; }
    .fr-nav-account a {
        flex:1; text-align:center; padding: 13px 10px; border-radius:12px; border:1px solid #e3e9ef;
        color:#06182f; font-weight:700; font-size:15px; text-decoration:none;
    }
    .fr-nav-account a.is-primary { background:#06182f; border-color:#06182f; color:#fff; }
}
.fr-account-chip-link, .fr-account-chip-link:hover, .fr-account-chip-link:focus { color:#06182f; }
.fr-account-chip-name { color:#06182f; }
.fr-btn-short { display:none; }
@media (max-width: 480px) {
    .fr-btn-long { display:none; }
    .fr-btn-short { display:inline; }
    html body .fr-header-inner { gap: 8px; }
}


/* ==========================================================
   BRAND MARK (emblem + wordmark, template-parts/header/branding.php)
   ========================================================== */

html body .fr-brandmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

html body .fr-brandmark-icon {
    display: block;
    flex: 0 0 auto;
}

html body .fr-brandmark-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: var(--fr-display, 'Saira', 'Inter', sans-serif);
    font-stretch: 87.5%;
    line-height: .95;
    text-transform: uppercase;
    white-space: nowrap;
}

html body .fr-brandmark-text b {
    color: #031826;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .01em;
}

html body .fr-brandmark-text i {
    color: #00a07f;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .2em;
}

html body .fr-brandmark:hover .fr-brandmark-text b {
    color: #0a7f78;
}

/* Mid-size screens (full menu, little room): emblem only, no "Home"
   item (the emblem leads home), tighter links. */
@media (max-width: 1299px) and (min-width: 1081px) {
    html body .fr-brandmark-text { display: none; }
    html body .fr-menu > li.fr-menu-home { display: none; }
}

/* Desktop: links a little tighter than the original 14px, so the
   wordmark, the menu and the buttons fit side by side. */
@media (min-width: 1081px) {
    html body .fr-header-inner { gap: 12px; }
    html body .fr-menu > li > a { padding: 0 10px; font-size: 14px; }
    html body .fr-header-login { padding: 0 16px; }
}

/* Never let the menu slide under the logo if it is still too wide. */
html body .fr-navigation,
html body .fr-menu { justify-content: safe flex-end; }

/* Small phones: shorter wordmark lines. */
@media (max-width: 420px) {
    html body .fr-brandmark { gap: 8px; }
    html body .fr-brandmark-icon { width: 38px; height: 38px; }
    html body .fr-brandmark-text b,
    html body .fr-brandmark-text i { font-size: 13.5px; }
}

/* ---- header-bar.css ---- */
/* ==========================================================
   Football Rwanda - Header "score bar" (loaded after header-pro.css)
   header.php + template-parts/header/{ticker,subnav}.php

   1. Match ticker   white strip, scrolls away with the page
   2. Green bar      logo, menu, search, account (sticky)
   3. Competitions   pills under the bar (part of the sticky header)

   Site teal #007863 (was #3A9D23, too bright next to the site's teal
   and navy). White text on it: 5.4:1. The active item is a white pill
   with dark teal text.
   ========================================================== */

:root {
    --hb-green: #007863;      /* site teal (Top Scorers, buttons) */
    --hb-green-2: #00624f;    /* competitions row, a shade darker */
    --hb-green-ink: #005343;  /* text on white pills */
    --hb-white-08: rgba(255, 255, 255, .08);
    --hb-white-16: rgba(255, 255, 255, .16);
    --hb-white-28: rgba(255, 255, 255, .28);
    --hb-navy: #06182f;
    --hb-line: #e3e9ef;
    --hb-live: #e5484d;
}

.fr-hwrap {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
    box-sizing: border-box;
}


/* ==========================================================
   1. MATCH TICKER
   ========================================================== */

.fr-ticker {
    background: #fff;
    border-bottom: 1px solid var(--hb-line);
}

.fr-ticker-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
}

.fr-ticker-tag {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--hb-green);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
}

.fr-ticker-tag.is-live {
    background: var(--hb-live);
}

.fr-ticker-dot,
.fr-tk-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    animation: fr-hb-pulse 1.4s ease-in-out infinite;
}

.fr-ticker-arrow {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--hb-navy);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.fr-ticker-arrow:hover {
    background: #f1f5f8;
}

.fr-ticker-arrow[hidden] {
    display: none;
}

.fr-ticker-list {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.fr-ticker-list::-webkit-scrollbar {
    display: none;
}

.fr-tk-day {
    flex: 0 0 auto;
    margin: 0 2px 0 6px;
    color: var(--hb-navy);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.fr-tk-day:first-child {
    margin-left: 0;
}

.fr-tk-item {
    flex: 0 0 auto;
    margin: 0;
}

.fr-tk-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--hb-line);
    border-radius: 10px;
    background: #fff;
    color: var(--hb-navy);
    font-size: 13.5px;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .15s, box-shadow .15s;
}

.fr-tk-item a:hover {
    border-color: #c9d6e2;
    box-shadow: 0 4px 12px rgba(6, 24, 47, .08);
}

.fr-tk-state {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 34px;
    color: #5b6b7b;
    font-size: 12.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.fr-tk-item.is-scheduled .fr-tk-state {
    color: var(--hb-navy);
}

.fr-tk-item.is-live a {
    border-color: #f5c2c4;
    background: #fff5f5;
}

.fr-tk-item.is-live .fr-tk-state {
    color: var(--hb-live);
}

.fr-tk-item.is-live .fr-live-clock:empty::before {
    content: "LIVE";
}

.fr-tk-item.is-postponed .fr-tk-state {
    color: #b45309;
}

.fr-tk-team {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
}

.fr-tk-team img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.fr-tk-code {
    font-size: 10px;
    font-weight: 800;
    color: var(--hb-navy);
    letter-spacing: -.02em;
}

.fr-tk-score {
    min-width: 34px;
    color: var(--hb-navy);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.fr-tk-item.is-live .fr-tk-score {
    color: var(--hb-live);
}

@keyframes fr-hb-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .35; transform: scale(.7); }
}


/* ==========================================================
   2. GREEN BAR
   ========================================================== */

html body .fr-header.fr-header--bar,
html body .fr-header.fr-header--bar.is-scrolled {
    background: var(--hb-green);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 0;
}

html body .fr-header.fr-header--bar.is-scrolled {
    box-shadow: 0 8px 24px rgba(6, 24, 47, .18);
}

html body .fr-header--bar .fr-header-inner {
    min-height: 64px;
    gap: 14px;
}

/* Logo on green: white wordmark, flag-yellow "DATA" */
html body .fr-header--bar .fr-brandmark-text b,
html body .fr-header--bar .fr-brandmark:hover .fr-brandmark-text b {
    color: #fff;
}

html body .fr-header--bar .fr-brandmark-text i {
    color: #FAD201;
}

html body .fr-header--bar .fr-brandmark-icon {
    box-shadow: 0 0 0 1px var(--hb-white-28);
    border-radius: 11px;
}

/* Desktop menu: white links, active item = white pill (like "SCORES") */
@media (min-width: 1081px) {

    html body .fr-header--bar .fr-menu > li > a {
        min-height: 40px;
        padding: 0 12px;
        border-radius: 10px;
        color: #fff;
        font-size: 14.5px;
        font-weight: 700;
    }

    html body .fr-header--bar .fr-menu > li > a:hover,
    html body .fr-header--bar .fr-menu > li:focus-within > a {
        background: var(--hb-white-16);
        color: #fff;
    }

    html body .fr-header--bar .fr-menu > li.current-menu-item > a,
    html body .fr-header--bar .fr-menu > li.current-menu-parent > a,
    html body .fr-header--bar .fr-menu > li.current-menu-ancestor > a {
        background: #fff;
        color: var(--hb-green-ink);
        box-shadow: 0 2px 8px rgba(6, 24, 47, .12);
    }

    html body .fr-header--bar .fr-menu .sub-menu {
        margin-top: 12px;
    }

    html body .fr-header--bar .fr-menu .sub-menu::before {
        top: -14px;
        height: 14px;
    }
}

/* Search field */
.fr-hsearch {
    position: relative;
    flex: 0 1 260px;
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 8px 0 14px;
    border: 1px solid var(--hb-white-28);
    border-radius: 999px;
    background: var(--hb-white-16);
    color: #fff;
    box-sizing: border-box;
    transition: background .15s, border-color .15s;
}

.fr-hsearch:hover {
    background: rgba(255, 255, 255, .22);
}

.fr-hsearch:focus-within {
    background: #fff;
    border-color: #fff;
    color: var(--hb-navy);
}

.fr-hsearch svg {
    flex: 0 0 auto;
}

.fr-hsearch input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    -webkit-appearance: none;
    appearance: none;
}

.fr-hsearch input::placeholder {
    color: rgba(255, 255, 255, .85);
    opacity: 1;
}

.fr-hsearch:focus-within input::placeholder {
    color: #8193a6;
}

.fr-hsearch kbd {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 6px;
    background: var(--hb-white-16);
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.fr-hsearch:focus-within kbd {
    display: none;
}

.fr-hsearch .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* Search icon (smaller screens) + account: round white-line buttons */
html body .fr-header--bar .fr-header-search,
.fr-header-user {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    text-decoration: none;
    transition: background .15s;
}

html body .fr-header--bar .fr-header-search:hover,
.fr-header-user:hover,
.fr-header-user:focus-visible {
    background: var(--hb-white-16);
    color: #fff;
}

/* Wide screens: the field; below: the icon */
html body .fr-header--bar .fr-header-search {
    display: none;
}

/* Field on every desktop width (it shrinks, the menu does not);
   the icon only with the mobile menu. */
@media (max-width: 1080px) {
    .fr-hsearch {
        display: none;
    }

    html body .fr-header--bar .fr-header-search {
        display: inline-grid;
    }
}

/* Narrower desktops: no "Ctrl K" hint, shorter field. */
@media (min-width: 1081px) and (max-width: 1299px) {
    .fr-hsearch kbd {
        display: none;
    }
}

/* Member chip on green */
html body .fr-header--bar .fr-account-chip-link,
html body .fr-header--bar .fr-account-chip-link:hover,
html body .fr-header--bar .fr-account-chip-link:focus {
    border-color: var(--hb-white-28);
    color: #fff;
}

html body .fr-header--bar .fr-account-chip-link:hover {
    background: var(--hb-white-16);
}

html body .fr-header--bar .fr-account-chip-name {
    color: #fff;
}

html body .fr-header--bar .fr-account-chip .fr-account-avatar {
    background: #fff;
    color: var(--hb-green-ink);
}

/* Burger: white lines, no frame */
html body .fr-header--bar .fr-menu-toggle {
    border-color: var(--hb-white-28);
}

html body .fr-header--bar .fr-menu-toggle span {
    background: #fff;
}

@media (max-width: 1080px) {
    html body .fr-header--bar .fr-header-inner {
        min-height: 60px;
        gap: 6px;
    }

    html body .fr-header--bar .fr-header-search {
        margin-left: auto;
    }

    /* The mobile menu panel stays white (header-pro.css), active item in teal. */
    html body .fr-header--bar .fr-menu > li.current-menu-item > a,
    html body .fr-header--bar .fr-menu > li.current-menu-parent > a,
    html body .fr-header--bar .fr-menu > li.current-menu-ancestor > a,
    html body .fr-header--bar .fr-menu .sub-menu .current-menu-item > a {
        background: #e6f4f2;
        color: var(--hb-green-ink);
    }
}


/* ==========================================================
   3. COMPETITIONS ROW
   ========================================================== */

.fr-hsub {
    border-top: 1px solid var(--hb-white-16);
    background: var(--hb-green-2);
}

.fr-hsub-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    overflow-x: auto;
    scrollbar-width: none;
}

.fr-hsub-inner::-webkit-scrollbar {
    display: none;
}

.fr-hsub-list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fr-hsub-list li {
    flex: 0 0 auto;
    margin: 0;
}

.fr-hsub-pill,
.fr-hsub-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
}

.fr-hsub-pill:hover,
.fr-hsub-link:hover {
    background: var(--hb-white-16);
    color: #fff;
}

.fr-hsub-pill.is-active,
.fr-hsub-link.is-active {
    background: #fff;
    color: var(--hb-green-ink);
}

.fr-hsub-logo {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-left: -6px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
}

.fr-hsub-logo img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.fr-hsub-links .fr-hsub-link {
    font-weight: 600;
}

/* Laptops: competitions + 5 rankings links on one row. */
@media (min-width: 1081px) and (max-width: 1400px) {
    .fr-hsub-pill,
    .fr-hsub-link {
        padding: 0 9px;
    }
}

@media (max-width: 1080px) {
    .fr-hsub-inner {
        justify-content: flex-start;
        min-height: 44px;
        gap: 4px;
    }

    .fr-hsub-pill,
    .fr-hsub-link {
        height: 32px;
        padding: 0 12px;
        font-size: 13.5px;
    }
}

@media (max-width: 600px) {
    .fr-hwrap {
        width: calc(100% - 24px);
    }

    .fr-ticker-inner {
        min-height: 50px;
        gap: 8px;
    }

    .fr-ticker-tag {
        padding: 5px 10px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fr-ticker-dot,
    .fr-tk-live-dot {
        animation: none;
    }

    .fr-ticker-list {
        scroll-behavior: auto;
    }
}


/* ==========================================================
   Fit: the menu keeps its width, the search field gives way.
   Logged-in members: round avatar only (no name), like the
   visitors' round account icon.
   ========================================================== */

@media (min-width: 1081px) {
    html body .fr-header--bar .fr-navigation {
        flex: 0 0 auto;
    }

    html body .fr-header--bar .fr-hsearch {
        flex: 1 1 240px;
        max-width: 260px;
        min-width: 150px;
    }

    html body .fr-header--bar .fr-account-chip-name {
        display: none;
    }

    html body .fr-header--bar .fr-account-chip-link {
        gap: 0;
        min-height: 40px;
        padding: 3px;
        border: 1px solid var(--hb-white-28);
        border-radius: 50%;
    }
}

html body .fr-header--bar .fr-account-chip .fr-account-avatar {
    display: inline-grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    color: var(--hb-green-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

/* ==========================================================
   Long drop-down menus (7 entries or more, e.g. "More"):
   two columns on desktop, still one column in the mobile menu.
   ========================================================== */

@media (min-width: 1081px) {
    html body .fr-header--bar .fr-menu .sub-menu:has(> li:nth-child(7)) {
        display: grid;
        grid-template-columns: repeat(2, minmax(260px, 1fr));
        gap: 2px 6px;
        min-width: 600px;
    }

    html body .fr-header--bar .fr-menu .sub-menu:has(> li:nth-child(7)) > li {
        min-width: 0;
    }
}

/* ==========================================================
   Sticky filter sidebars (Clubs, Academies, Players,
   Nationalities, Positions) used to stop 30-100px from the top:
   under this sticky header (113px on desktop) their title and
   first field were hidden. They now stop just below it. Under
   901px they are not sticky (one column), so nothing changes.
   ========================================================== */

@media (min-width: 901px) {
    html body .fr-club-filters,
    html body .fr-player-filters,
    html body .fr-directory-filters {
        top: 129px;
    }
}

/* ---- block-titles.css ---- */
/* ==========================================================
   Football Rwanda - Block titles, the same on every page
   (as on the home page: light band #f3f7f6, navy title,
   thin line under it). Loaded on every page (inc/enqueue.php).

   1. Title at the top of a white card (club, competition,
      player pages): the band fills the whole top of the card,
      whatever the card's padding (box-shadow trick + overflow
      hidden on the card), with a 1px line under it.
   2. Title on its own above a list (Statistics, Dashboard,
      match page): a light rounded bar.
   ========================================================== */

:root {
    --fr-title-band: #f3f7f6;
    --fr-title-line: #dbe6e3;
    --fr-title-ink: #071b35;
    --fr-title-eyebrow: #007863;
}


/* ---------- 1. Band at the top of a card ---------- */

html body main .fr-club-pro-side-card,
html body main .fr-club-sidebar-section,
html body main .fr-comp-card,
html body main .fr-single-competition-details,
html body main .frp-card:has(> .frp-card-heading:first-child),
html body main .frp-card:has(> .fr-scout-head:first-child) {
    overflow: hidden;
}

html body main .fr-club-pro-side-card > header,
html body main .fr-club-sidebar-section > .fr-club-sidebar-heading,
html body main .fr-comp-card > h2:first-child,
html body main .fr-single-competition-details > .fr-single-competition-details-header,
html body main .frp-card > .frp-card-heading:first-child,
html body main .frp-card > .fr-scout-head:first-child {
    position: relative;
    margin-bottom: 18px;
    padding-top: 12px;
    padding-bottom: 14px;
    border-bottom: 0;
    background: var(--fr-title-band);
    /* Paint the band up to the card's edges, then the line under it. */
    box-shadow:
        0 0 0 100vmax var(--fr-title-band),
        0 1px 0 100vmax var(--fr-title-line);
    clip-path: inset(-100vmax -100vmax -1px -100vmax);
}

html body main .fr-club-pro-side-card > header h2,
html body main .fr-club-sidebar-heading h2,
html body main .fr-comp-card > h2:first-child,
html body main .fr-single-competition-details-header h2,
html body main .frp-card-heading h2,
html body main .fr-scout-head h2 {
    color: var(--fr-title-ink);
}


/* ---------- 2. Bar above a list ---------- */

html body main .fr-statistics-section-header,
html body main .fr-dashboard-section-header,
html body main .fr-match-context-heading,
html body main .fr-match-lineups-heading,
html body main .fr-match-events-heading,
html body main .fr-match-featured-video-heading {
    padding: 14px 18px;
    border: 1px solid var(--fr-title-line);
    border-radius: 14px;
    background: var(--fr-title-band);
    box-shadow: none;
}

html body main .fr-statistics-section-header h2,
html body main .fr-dashboard-section-header h2,
html body main .fr-match-context-heading h2,
html body main .fr-match-lineups-heading h2,
html body main .fr-match-events-heading h2,
html body main .fr-match-featured-video-heading h2 {
    color: var(--fr-title-ink);
}

/* Small word above the title ("Goals", "Performance", "MATCH DATA"…) */
html body main .fr-statistics-section-header .fr-statistics-subtitle,
html body main .fr-dashboard-section-header > span,
html body main .fr-match-context-heading > span,
html body main .fr-match-lineups-heading span,
html body main .fr-match-events-heading span,
html body main .fr-match-featured-video-heading span {
    color: var(--fr-title-eyebrow);
}

html body main .fr-match-lineups-heading p,
html body main .fr-match-events-heading p,
html body main .fr-match-featured-video-heading p {
    color: #5b6b7b;
}


/* ---- footer-pro.css ---- */
/* Football Rwanda - Footer PRO (v3) */

.fr-ft {
    margin-top: 72px;
    color: #c5d2e0;
    background:
        radial-gradient(90% 120% at 12% 0%, rgba(0,190,160,.14), rgba(0,190,160,0) 60%),
        linear-gradient(180deg, #08213b 0%, #06182f 100%);
    border-top: 3px solid #0a7f78;
}
.fr-ft-container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

/* ----- numbers strip ----- */
.fr-ft-stats { border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); }
.fr-ft-stats-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.fr-ft-stat { padding: 24px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.fr-ft-stat:last-child { border-right: 0; }
.fr-ft-stat strong { display:block; color:#fff; font-size: 28px; font-weight: 800; letter-spacing:-.02em; line-height:1; }
.fr-ft-stat span { display:block; margin-top: 8px; color:#7f95ad; font-size: 12px; font-weight: 700; letter-spacing:.08em; text-transform: uppercase; }

/* ----- main grid ----- */
.fr-ft-main { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding: 56px 0 44px; }

.fr-ft-logo { display:inline-flex; padding: 0; margin-bottom: 18px; background: none; border-radius: 0; }
.fr-ft-logo img { display:block; height: 52px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); width:auto; max-width: 200px; object-fit: contain; }
.fr-ft-tagline { max-width: 340px; margin: 0 0 22px; color:#9fb2c7; font-size: 14.5px; line-height: 1.65; }
.fr-ft-cta {
    display:inline-flex; align-items:center; gap:8px; padding: 11px 18px; border-radius: 12px;
    background: rgba(94,234,212,.12); color:#5eead4; font-size: 14px; font-weight:700; text-decoration:none;
    border: 1px solid rgba(94,234,212,.25); transition: background .15s, transform .15s;
}
.fr-ft-cta:hover { background: rgba(94,234,212,.2); transform: translateX(2px); color:#5eead4; }

/* ----- social channels ----- */
.fr-ft-social { display:flex; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.fr-ft-social a {
    display:grid; place-items:center; width: 40px; height: 40px; border-radius: 12px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color:#b4c4d6;
    transition: background .15s, color .15s, transform .15s;
}
.fr-ft-social a:hover { transform: translateY(-2px); color:#fff; }
.fr-ft-social .fr-ft-social-youtube:hover { background:#ff0033; border-color:#ff0033; }
.fr-ft-social .fr-ft-social-facebook:hover { background:#1877f2; border-color:#1877f2; }
html:root body .fr-ft .fr-ft-social .fr-ft-social-x:hover { background:#000 !important; border-color:#000 !important; }

.fr-ft-title { margin: 4px 0 18px; color:#fff; font-size: 13px; font-weight: 800; letter-spacing:.09em; text-transform: uppercase; }
.fr-ft-col ul { margin:0; padding:0; list-style:none; display:grid; gap: 0; }
.fr-ft-col a {
    display:inline-block; padding: 6px 0; color:#b4c4d6; font-size: 14.5px; font-weight: 500; text-decoration:none;
    transition: color .15s, transform .15s;
}
.fr-ft-col a:hover { color:#fff; transform: translateX(3px); }

/* ----- bottom bar ----- */
.fr-ft-bottom { border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); }
.fr-ft-bottom-inner { display:flex; align-items:center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; padding: 20px 0; font-size: 13px; }
.fr-ft-copy { color:#8ea3b9; }
.fr-ft-copy strong { color:#fff; }
.fr-ft-legal { display:flex; gap: 10px; align-items:center; color:#4f6580; }
.fr-ft-legal a { color:#9fb2c7; text-decoration:none; }
.fr-ft-legal a:hover { color:#fff; }

@media (max-width: 1000px) {
    .fr-ft-main { grid-template-columns: 1fr 1fr; gap: 36px 32px; padding: 44px 0 36px; }
    .fr-ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .fr-ft { margin-top: 48px; }
    .fr-ft-stats-inner { grid-template-columns: 1fr 1fr; }
    .fr-ft-stat { padding: 18px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
    .fr-ft-stat:nth-child(2n) { border-right: 0; }
    .fr-ft-stat:nth-last-child(-n+2) { border-bottom: 0; }
    .fr-ft-main { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
    .fr-ft-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ----- floating Back to top (all pages) ----- */
.fr-btt {
    position: fixed; right: 22px; bottom: 22px; z-index: 9000;
    width: 46px; height: 46px; display: grid; place-items: center;
    border: 0; border-radius: 14px; cursor: pointer;
    background: #06182f; color: #fff;
    box-shadow: 0 1px 2px rgba(6,24,47,.2), 0 10px 28px rgba(6,24,47,.28);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .2s, transform .2s, visibility .2s, background .15s;
}
.fr-btt.is-visible { opacity: 1; visibility: visible; transform: none; }
.fr-btt:hover { background: #0a7f78; }
.fr-btt:focus-visible { outline: 3px solid rgba(10,127,120,.45); outline-offset: 2px; }
@media (max-width: 600px) { .fr-btt { right: 14px; bottom: 14px; width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .fr-btt { transition: none; } }
.fr-ft-bottom-inner { padding-right: 64px; }
@media (max-width: 600px) { .fr-ft-bottom-inner { padding-right: 56px; } }

.fr-ft-cookie { background:none; border:0; padding:0; font:inherit; color:#9fb2c7; cursor:pointer; }
.fr-ft-cookie:hover { color:#fff; }
.fr-ft-legal { flex-wrap: wrap; }

/* Brand mark on the dark footer */
html body .fr-ft-logo.fr-brandmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
html body .fr-ft-logo .fr-brandmark-icon { display: block; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(255,255,255,.18); border-radius: 11px; }
html body .fr-ft-logo .fr-brandmark-text { display: flex; flex-direction: column; gap: 3px; font-family: var(--fr-display, 'Saira', 'Inter', sans-serif); font-stretch: 87.5%; line-height: .95; text-transform: uppercase; white-space: nowrap; }
html body .fr-ft-logo .fr-brandmark-text b { color: #fff; font-size: 18px; font-weight: 800; letter-spacing: .01em; }
html body .fr-ft-logo .fr-brandmark-text i { color: #2fd3ad; font-size: 18px; font-style: normal; font-weight: 800; letter-spacing: .2em; }

/* Visitor counter (inc/stats/visitor-counter.php), after All rights reserved. */
.fr-ft-visits { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; color: #8ea3b9; white-space: nowrap; }
.fr-ft-visits[hidden] { display: none; }
/* "visitors": read by screen readers only (icon + number on screen) */
.fr-ft-visits .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fr-ft-visits svg { color: #2ec4a6; flex: 0 0 auto; }
.fr-ft-visits strong { color: #fff; font-variant-numeric: tabular-nums; }
.fr-ft-visits-sep { margin-right: 2px; color: #4f6580; }
.fr-ft-visits-today { color: #8ea3b9; }
@media (max-width: 600px) {
    .fr-ft-visits { display: flex; margin: 8px 0 0; }
    .fr-ft-visits[hidden] { display: none; }
    .fr-ft-visits-sep { display: none; }
}

/* Counter: numbers and words in the same size, weight and colour */
.fr-ft-visits, .fr-ft-visits-today { color: #c3d0dd; font-size: 13px; font-weight: 500; }
.fr-ft-visits strong { color: inherit; font-size: inherit; font-weight: inherit; }

/* Counter: exactly the font of "All rights reserved." (no bold, same colour) */
.fr-ft-visits, .fr-ft-visits strong, .fr-ft-visits [data-fr-visits-total] { color: inherit; font-size: inherit; font-weight: inherit; }


/* ==========================================================
   2026-11: plain navy footer (#071b35), no teal: matches the
   navy of the buttons and scores; green stays in the header.
   ========================================================== */

html:root body .fr-ft {
    background: #071b35 !important;
    border-top: 3px solid #f4b400 !important;
}

html:root body .fr-ft::before,
html:root body .fr-ft::after {
    display: none !important;
}

html:root body .fr-ft .fr-ft-title {
    color: #f4b400 !important;
}

html:root body .fr-ft .fr-brandmark-text i {
    color: #f4b400 !important;
}

html:root body .fr-ft .fr-ft-cta {
    color: #071b35 !important;
    background: #f4b400 !important;
    border-color: #f4b400 !important;
    border-radius: 0 !important;
}

html:root body .fr-ft .fr-ft-cta svg {
    color: #071b35 !important;
}

html:root body .fr-ft .fr-ft-social-facebook,
html:root body .fr-ft .fr-ft-social-x,
html:root body .fr-ft .fr-ft-social-youtube {
    background: rgba(255, 255, 255, .08) !important;
    border-color: rgba(255, 255, 255, .16) !important;
    border-radius: 0 !important;
}

html:root body .fr-ft .fr-ft-visits svg {
    color: #c3d0dd !important;
}

html:root body .fr-ft .fr-ft-bottom {
    background: rgba(0, 0, 0, .22) !important;
}


/* ---- page-header.css ---- */
/**
 * ==========================================================
 * Football Rwanda
 * Global Page Header
 * File: page-header.css
 * ==========================================================
 */


/* ==========================================================
   HEADER
========================================================== */

.fr-page-header {

    width: 100%;

    margin-bottom: 32px;

    background:
        linear-gradient(
            135deg,
            #009b83 0%,
            #008f7a 50%,
            #007f70 100%
        );

    color: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 15px 40px rgba(0, 128, 110, 0.18);
}


/* ==========================================================
   CONTENT
========================================================== */

.fr-page-header-content {

    padding: 28px 42px 24px;
}


/* ==========================================================
   SUBTITLE
========================================================== */

.fr-page-subtitle {

    display: block;

    margin-bottom: 6px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 12px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* ==========================================================
   TITLE
========================================================== */

.fr-page-title {

    margin: 0 0 8px;

    color: #ffffff;

    font-size: 34px;

    line-height: 1.15;

    font-weight: 800;
}


/* ==========================================================
   DESCRIPTION
========================================================== */

.fr-page-description {

    max-width: 700px;

    margin: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 14px;

    line-height: 1.5;
}


/* ==========================================================
   STATS
========================================================== */

.fr-page-stats {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    background: rgba(0, 0, 0, 0.08);

    border-top:
        1px solid rgba(255, 255, 255, 0.18);
}


/* ==========================================================
   STAT
========================================================== */

.fr-page-stat {

    min-height: 72px;

    padding: 14px 24px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border-right:
        1px solid rgba(255, 255, 255, 0.18);
}


.fr-page-stat:last-child {
    border-right: none;
}


/* ==========================================================
   STAT VALUE
========================================================== */

.fr-page-stat-value {

    color: #ffffff;

    font-size: 22px;

    line-height: 1.15;

    font-weight: 800;
}


/* ==========================================================
   STAT LABEL
========================================================== */

.fr-page-stat-label {

    margin-top: 3px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 10px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 992px) {

    .fr-page-header-content {

        padding: 25px 30px 22px;
    }


    .fr-page-title {

        font-size: 31px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .fr-page-header {

        margin-bottom: 24px;

        border-radius: 14px;
    }


    .fr-page-header-content {

        padding: 24px 24px 20px;
    }


    .fr-page-title {

        font-size: 28px;
    }


    .fr-page-description {

        font-size: 13px;
    }


    .fr-page-stats {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .fr-page-stat {

        min-height: 68px;

        padding: 13px 18px;
    }


    .fr-page-stat:nth-child(2) {

        border-right: none;
    }


    .fr-page-stat:nth-child(-n + 2) {

        border-bottom:
            1px solid rgba(255, 255, 255, 0.18);
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .fr-page-header-content {

        padding: 21px 18px 18px;
    }


    .fr-page-subtitle {

        font-size: 10px;
    }


    .fr-page-title {

        font-size: 25px;
    }


    .fr-page-description {

        font-size: 12px;
    }


    .fr-page-stat {

        min-height: 64px;

        padding: 11px 12px;
    }


    .fr-page-stat-value {

        font-size: 19px;
    }


    .fr-page-stat-label {

        font-size: 9px;
    }

}

/* ---- brand.css ---- */
/* ==========================================================
   Football Rwanda - Brand layer (every page)
   The identity introduced on the home page, for the parts
   every page shares. CSS only.

   - Display face: Saira (assets/css/base/fonts.css) for page
     titles and their key numbers.
   - Rwanda flag band closing the page header, as on the home
     hero and the match hero.
   - The generic "Football Rwanda" eyebrow above every page
     title is removed: the title speaks for itself.
   ========================================================== */

:root {
    --fr-display: 'Saira', 'Inter', system-ui, sans-serif;
}


/* ---------- Page header (template-parts/components/page-header.php) ---------- */

html body .fr-page-header .fr-page-subtitle {
    display: none;
}

html body .fr-page-header .fr-page-title {
    font-family: var(--fr-display);
    font-stretch: 87.5%;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1;
    text-transform: uppercase;
}

html body .fr-page-header .fr-page-stat-value {
    font-family: var(--fr-display);
    font-stretch: 87.5%;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

html body .fr-page-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 5px;
    background: linear-gradient(90deg, #00A1DE 0 50%, #FAD201 50% 75%, #20603D 75% 100%);
    pointer-events: none;
}


/* ---------- Directory header (template-parts/components/directory-header.php:
   Statistics, Players, Clubs, Coaches, Academies, Nationalities...) ---------- */

/* The flag band is absolutely positioned: the header must be its
   containing block (it is position: static on some pages). */
html body .fr-directory-header,
html body .fr-page-header {
    position: relative;
    overflow: hidden;
}

html body .fr-directory-header .fr-directory-subtitle {
    display: none;
}

html body .fr-directory-header .fr-directory-title {
    font-family: var(--fr-display);
    font-stretch: 87.5%;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1;
    text-transform: uppercase;
}

html body .fr-directory-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 5px;
    background: linear-gradient(90deg, #00A1DE 0 50%, #FAD201 50% 75%, #20603D 75% 100%);
    pointer-events: none;
}

/* Directory filters: same green button on every directory (Academies and
   Coaches do not load pro-pages.css and fell back to a blue button). */
html body .fr-filter-button {
    border-color: #0a7f78;
    background: #0a7f78;
    color: #fff;
}

html body .fr-filter-button:hover,
html body .fr-filter-button:focus-visible {
    border-color: #07665f;
    background: #07665f;
    color: #fff;
}

/* SVG icons (inc/ui/icons.php): inline, aligned with the text, text colour. */
.fr-ui-icon {
    display: inline-block;
    flex: 0 0 auto;
    vertical-align: -2px;
}


/* ---------- Browser surfaces ---------- */

::selection {
    background: rgba(0, 152, 121, .22);
    color: #0f172a;
}


/* ---- directory-header.css ---- */
/**
 * ==========================================================
 * Football Rwanda
 * Global Directory Header
 * File: directory-header.css
 * ==========================================================
 */


/* ==========================================================
   HEADER
========================================================== */

.fr-directory-header {

    width: 100%;

    margin-bottom: 32px;

    background:
        radial-gradient(120% 90% at 20% 0%, rgba(0,190,160,.22), rgba(0,190,160,0) 60%),
        linear-gradient(160deg,#06182f 0%,#0a2c47 55%,#08524f 100%);

    color: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 16px 40px rgba(6, 24, 47, 0.16);
}


/* ==========================================================
   CONTENT
========================================================== */

.fr-directory-header-content {

    padding: 38px 42px 32px;
}


.fr-directory-subtitle {

    display: block;

    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.fr-directory-title {

    margin: 0 0 10px;

    color: #ffffff;

    font-size: 36px;

    line-height: 1.15;

    font-weight: 800;
}


.fr-directory-description {

    max-width: 700px;

    margin: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 15px;

    line-height: 1.6;
}


/* ==========================================================
   STATS
========================================================== */

.fr-directory-stats {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    background: rgba(0, 0, 0, 0.08);

    border-top:
        1px solid rgba(255, 255, 255, 0.18);
}


.fr-directory-stat {

    min-height: 86px;

    padding: 18px 24px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border-right:
        1px solid rgba(255, 255, 255, 0.18);
}


.fr-directory-stat:last-child {
    border-right: none;
}


.fr-directory-stat strong {

    color: #ffffff;

    font-size: 24px;

    line-height: 1.2;

    font-weight: 800;
}


.fr-directory-stat span {

    margin-top: 4px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 11px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 992px) {

    .fr-directory-header-content {

        padding: 32px 30px 28px;
    }


    .fr-directory-title {

        font-size: 32px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .fr-directory-header {

        margin-bottom: 24px;

        border-radius: 14px;
    }


    .fr-directory-header-content {

        padding: 28px 24px;
    }


    .fr-directory-title {

        font-size: 28px;
    }


    .fr-directory-description {

        font-size: 14px;
    }


    .fr-directory-stats {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .fr-directory-stat {

        min-height: 76px;

        padding: 15px 18px;
    }


    .fr-directory-stat:nth-child(2) {

        border-right: none;
    }


    .fr-directory-stat:nth-child(-n + 2) {

        border-bottom:
            1px solid rgba(255, 255, 255, 0.18);
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .fr-directory-header-content {

        padding: 24px 20px;
    }


    .fr-directory-subtitle {

        font-size: 11px;
    }


    .fr-directory-title {

        font-size: 25px;
    }


    .fr-directory-description {

        font-size: 13px;
    }


    .fr-directory-stat {

        min-height: 70px;

        padding: 13px 12px;
    }


    .fr-directory-stat strong {

        font-size: 20px;
    }


    .fr-directory-stat span {

        font-size: 9px;
    }

}

/* ---- section.css ---- */
/* ==========================================================
   SECTION HEADER
========================================================== */

.fr-section-header{

    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:20px;
    margin-bottom:24px;

}

.fr-section-subtitle{

    display:block;
    color:var(--fr-primary);
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:8px;

}

.fr-section-title{

    margin:0;
    font-size:38px;
    color:var(--fr-dark);

}

.fr-section-link{

    text-decoration:none;
    font-weight:700;
    color:var(--fr-primary);

}

.fr-section-link:hover{

    text-decoration:underline;

}

@media(max-width:768px){

.fr-section-header{

    flex-direction:column;
    align-items:flex-start;

}

.fr-section-title{

    font-size:30px;

}

}

/* ---- stat-card.css ---- */
/*
====================================================
Football Rwanda
Stat Card
====================================================
*/

.fr-stats-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:20px;

}

.fr-stat-card{

    background:#fff;
    border-radius:14px;
    padding:20px;
    text-align:center;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    transition:.3s;

}

.fr-stat-card:hover{

    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(0,0,0,.12);

}

.fr-stat-icon{

    font-size:34px;
    margin-bottom:10px;

}

.fr-stat-value{

    font-size:32px;
    font-weight:700;
    color:var(--fr-primary);
    line-height:1;

}

.fr-stat-label{

    margin-top:10px;
    font-size:14px;
    color:#666;

}

/* ---- search.css ---- */
/**
 * ==========================================================
 * Football Rwanda
 * Search Pro
 * Version 5.0
 * ==========================================================
 */


/* ==========================================================
   SEARCH WRAPPER
========================================================== */

.fr-search {
    position: relative;
    width: 100%;
    max-width: 730px;
    
}


/* ==========================================================
   INPUT
========================================================== */

.fr-search input {
    width: 80%;
    height: 58px;

    padding: 0 22px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;

    background: #ffffff;

    color: #111827;

    font-size: 16px;
    font-weight: 500;

    box-sizing: border-box;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.fr-search input::placeholder {
    color: #94a3b8;
}

.fr-search input:focus {
    border-color: #00a889;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.14),
        0 0 0 3px rgba(0, 168, 137, 0.12);
}


/* ==========================================================
   RESULTS CONTAINER
========================================================== */

#fr-search-results {
    position: absolute;

    top: 66px;
    left: 0;

    width: 100%;

    display: none;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 20px 45px rgba(15, 23, 42, 0.18),
        0 5px 15px rgba(15, 23, 42, 0.08);

    z-index: 999999;

    max-height: 430px;

    overflow-y: auto;
}

#fr-search-results.is-visible {
    display: block;

    animation: frSearchFade 0.18s ease;
}


/* ==========================================================
   ANIMATION
========================================================== */

@keyframes frSearchFade {

    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ==========================================================
   SEARCH GROUP
========================================================== */

.fr-search-group {
    border-bottom: 1px solid #edf0f3;
}

.fr-search-group:last-child {
    border-bottom: none;
}


/* ==========================================================
   GROUP TITLE
========================================================== */

.fr-search-group-title {

    display: flex;
    align-items: center;

    min-height: 38px;

    padding: 0 16px;

    background: #f7f9fb;

    color: #008f79;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}


/* ==========================================================
   SEARCH ITEM
========================================================== */

.fr-search-item {

    display: flex;

    align-items: center;

    gap: 12px;

    min-height: 66px;

    padding: 9px 16px;

    text-decoration: none;

    color: #1f2937;

    background: #ffffff;

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.fr-search-item:hover {
    background: #f5f8fa;
}


/* ==========================================================
   IMAGE
========================================================== */

.fr-search-item img {

    width: 44px;
    height: 44px;

    border-radius: 50%;

    object-fit: cover;

    flex: 0 0 44px;

    border: 1px solid #e5e7eb;

    background: #f3f4f6;
}


/* ==========================================================
   SEARCH CONTENT
========================================================== */

.fr-search-content {

    min-width: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 3px;
}


.fr-search-content strong {

    display: block;

    color: #111827;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.25;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.fr-search-content span {

    display: block;

    color: #6b7280;

    font-size: 12px;

    line-height: 1.3;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* ==========================================================
   TAXONOMY ITEMS
========================================================== */

/*
 * Clubs, Nationalities and Positions can also use
 * .fr-search-item without a player photo.
 */

.fr-search-group .fr-search-item:not(:has(img)) {

    min-height: 48px;

    padding-top: 7px;
    padding-bottom: 7px;
}


/* ==========================================================
   EMPTY RESULT
========================================================== */

.fr-search-empty {

    padding: 20px 16px;

    text-align: center;

    color: #6b7280;

    font-size: 13px;

    background: #ffffff;
}


/* ==========================================================
   SCROLLBAR
========================================================== */

#fr-search-results::-webkit-scrollbar {
    width: 5px;
}

#fr-search-results::-webkit-scrollbar-track {
    background: transparent;
}

#fr-search-results::-webkit-scrollbar-thumb {
    background: #cbd5e1;

    border-radius: 20px;
}

#fr-search-results::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .fr-search {
        max-width: 100%;
    }


    .fr-search input {

        height: 54px;

        padding: 0 18px;

        border-radius: 12px;

        font-size: 15px;
    }


    #fr-search-results {

        top: 61px;

        border-radius: 12px;

        max-height: 380px;
    }


    .fr-search-group-title {

        min-height: 36px;

        padding: 0 14px;

        font-size: 10px;
    }


    .fr-search-item {

        gap: 10px;

        min-height: 60px;

        padding: 8px 14px;
    }


    .fr-search-item img {

        width: 40px;
        height: 40px;

        flex-basis: 40px;
    }


    .fr-search-content strong {
        font-size: 13px;
    }


    .fr-search-content span {
        font-size: 11px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    #fr-search-results {

        left: 0;

        width: 100%;

        max-height: 350px;
    }


    .fr-search-item {
        padding-left: 12px;
        padding-right: 12px;
    }

}

/* ==========================================================
   SEARCH RESULTS PAGE (search.php)
========================================================== */

.fr-search-page {
    padding: 40px 0 70px;
}

.fr-search-page .fr-container {
    max-width: 860px;
    margin: 0 auto;
}

.fr-search-page-header {
    margin-bottom: 24px;
}

.fr-search-page-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #009f88;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fr-search-page-header h1 {
    margin: 0 0 18px;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.fr-search-page-form {
    display: flex;
    gap: 10px;
}

.fr-search-page-form input {
    flex: 1 1 auto;
    min-width: 0;
    height: 52px;
    padding: 0 18px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    font-size: 16px;
    box-sizing: border-box;
}

.fr-search-page-form input:focus {
    border-color: #00a889;
    outline: none;
}

.fr-search-page-form button {
    flex: 0 0 auto;
    padding: 0 24px;
    border: 0;
    border-radius: 12px;
    background: #009f88;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.fr-search-page-results .fr-search-list {
    background: #ffffff;
    border: 1px solid #e5ebf0;
    border-radius: 16px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .fr-search-page-header h1 {
        font-size: 28px;
    }
}


/* ---- player-card.css ---- */
/**
 * Football Rwanda
 * Component: Player Card
 * Version: 8.0
 *
 * IMPORTANT:
 * - Based on the real player-card.php structure.
 * - Does NOT change the player grid.
 * - Does NOT modify global stat-card.css.
 * - Only styles stat-card instances INSIDE .fr-player-stats.
 */

/* ==========================================================
   PLAYER CARD
========================================================== */

.fr-player-card {
    width: 100%;
    min-width: 0;
    height: 160px;
    min-height: 160px;
    max-height: 160px;

    display: flex;
    flex-direction: row;

    overflow: hidden;

    border: 1px solid #dfe5ec;
    border-radius: 14px;

    background: #f7f9fb;

    box-sizing: border-box;
}

/* ==========================================================
   PLAYER IMAGE
========================================================== */

.fr-player-card .fr-player-image {
    position: relative;

    flex: 0 0 140px;
    width: 140px;
    min-width: 140px;
    max-width: 140px;

    height: 160px;

    display: block;

    overflow: hidden;

    background: #e3e3e3;

    box-sizing: border-box;
}

.fr-player-card .fr-player-photo {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* ==========================================================
   SHIRT NUMBER
========================================================== */

.fr-player-card .fr-shirt-number {
    position: absolute;

    top: 10px;
    right: 10px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--fr-primary);
    color: #fff;

    font-size: 14px;
    line-height: 1;
    font-weight: 700;

    z-index: 2;
}

/* ==========================================================
   CONTENT
========================================================== */

.fr-player-card .fr-player-content {
    flex: 1 1 auto;

    width: auto;
    min-width: 0;
    min-height: 0;

    padding: 11px 13px 10px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    box-sizing: border-box;

    overflow: hidden;
}

/* ==========================================================
   PLAYER NAME
========================================================== */

.fr-player-card .fr-player-name {
    flex: 0 0 auto;

    width: 100%;
    min-width: 0;

    margin: 0 0 5px;

    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fr-player-card .fr-player-name a {
    display: block;

    width: 100%;
    max-width: 100%;

    color: inherit;
    text-decoration: none;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================
   META
========================================================== */

.fr-player-card .fr-player-meta {
    flex: 0 0 auto;

    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 3px;

    margin: 0;

    font-size: 11px;
    line-height: 1.25;

    overflow: hidden;
}

/* Each metadata item stays on its own line */
.fr-player-card .fr-meta-item {
    display: flex;
    align-items: center;

    width: 100%;
    min-width: 0;
    max-width: 100%;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fr-player-card .fr-meta-item a {
    display: block;

    max-width: 100%;

    color: inherit;
    text-decoration: none;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================
   NATIONALITY / FLAG
========================================================== */

/*
 * Supports the real flag image returned by fr_get_flag().
 *
 * The selector is intentionally generic so it can work with
 * existing nationality markup without affecting other images.
 */

.fr-player-card .fr-player-meta img.fr-nationality-flag {
    display: inline-block;

    width: 18px !important;
    height: 12px !important;

    min-width: 18px !important;
    max-width: 18px !important;

    min-height: 12px !important;
    max-height: 12px !important;

    margin: 0 6px 0 0 !important;

    object-fit: cover;

    vertical-align: middle;

    border-radius: 2px;

    flex: 0 0 auto;
}

/* ==========================================================
   STATS AREA
========================================================== */

.fr-player-card .fr-player-stats {
    flex: 0 0 auto;

    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: row;
    align-items: center;

    gap: 18px;

    margin: 7px 0 6px;

    overflow: hidden;
}

/* ==========================================================
   NESTED STAT CARDS
========================================================== */

.fr-player-card .fr-player-stats > * {
    flex: 0 1 auto !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    min-height: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 4px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    overflow: visible !important;
}

.fr-player-card .fr-player-stats .fr-stat-card {
    flex: 0 1 auto !important;

    width: auto !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.fr-player-card .fr-player-stats .fr-stat-icon {
    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    font-size: 16px !important;
    line-height: 1 !important;
}

.fr-player-card .fr-player-stats .fr-stat-value {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

.fr-player-card .fr-player-stats .fr-stat-label {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    text-transform: uppercase;
    letter-spacing: .35px;
}

/* Generic stat-card support */

.fr-player-card .fr-player-stats .stat-card {
    flex: 0 1 auto !important;

    width: auto !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;

    gap: 4px !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* ==========================================================
   BUTTON
========================================================== */

.fr-player-card .fr-player-button {
    flex: 0 0 auto;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: auto;
    padding: 6px 10px;

    min-height: 25px;

    border: 0;
    border-radius: 6px;

    background: var(--fr-primary);
    color: #fff !important;

    font-size: 10px;
    line-height: 1.1;
    font-weight: 700;

    text-decoration: none;

    box-sizing: border-box;
}

.fr-player-card .fr-player-button:hover {
    color: #fff !important;
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 992px) {

    .fr-player-card {
        height: 160px;
        min-height: 160px;
        max-height: 160px;
    }

    .fr-player-card .fr-player-image {
        flex-basis: 120px;
        width: 120px;
        min-width: 120px;
        max-width: 120px;

        height: 160px;
    }

    .fr-player-card .fr-player-content {
        padding: 10px 12px;
    }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .fr-player-card .fr-player-image {
        flex-basis: 110px;
        width: 110px;
        min-width: 110px;
        max-width: 110px;
    }

    .fr-player-card .fr-player-content {
        padding: 10px 11px;
    }

    .fr-player-card .fr-player-name {
        font-size: 15px;
    }

    .fr-player-card .fr-player-meta {
        font-size: 10px;
    }

    .fr-player-card .fr-player-stats {
        gap: 12px;
        margin-top: 6px;
    }

    .fr-player-card .fr-player-button {
        min-height: 24px;
        padding: 5px 8px;
    }
}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 420px) {

    .fr-player-card {
        height: 150px;
        min-height: 150px;
        max-height: 150px;
    }

    .fr-player-card .fr-player-image {
        flex-basis: 100px;
        width: 100px;
        min-width: 100px;
        max-width: 100px;

        height: 150px;
    }

    .fr-player-card .fr-player-content {
        padding: 9px 10px;
    }

    .fr-player-card .fr-player-name {
        font-size: 14px;
    }

    .fr-player-card .fr-player-meta {
        font-size: 9px;
    }

    .fr-player-card .fr-player-stats {
        gap: 10px;
    }

    .fr-player-card .fr-player-stats .fr-stat-icon {
        font-size: 14px !important;
    }

    .fr-player-card .fr-player-stats .fr-stat-value {
        font-size: 14px !important;
    }

    .fr-player-card .fr-player-stats .fr-stat-label {
        font-size: 7px !important;
    }
}

/* ==========================================================
   PLAYER GRID
   DO NOT CHANGE
========================================================== */

.fr-player-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
}

@media (max-width: 992px) {

    .fr-player-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {

    .fr-player-grid {
        grid-template-columns: 1fr;
    }
}

/* Club logo in the card meta (replaces the stadium emoji) */
.fr-player-card .fr-meta-club-logo {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-right: 7px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
}

/* Current club line (Players Abroad cards) */
html body .fr-player-card .fr-meta-club-current {
    align-items: center;
}
html body .fr-player-card .fr-meta-club-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}
html body .fr-player-card .fr-meta-club-text small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #0a7f78;
}
html body .fr-player-card .fr-meta-club-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #06182f;
}
html body .fr-player-card .fr-meta-club-text em.fr-meta-club-country {
    font-style: normal;
    font-size: 12px;
    font-weight: 500;
    color: #62748a;
}

/* Abroad cards: extra club + country lines need more height */
html body .fr-player-card.fr-player-card--abroad {
    height: auto;
    min-height: 190px;
    max-height: none;
}
html body .fr-player-card.fr-player-card--abroad .fr-player-image {
    height: auto;
    min-height: 190px;
    align-self: stretch;
}
html body .fr-player-card.fr-player-card--abroad .fr-player-content {
    overflow: visible;
}

/* Country · league line: wrap instead of being cut */
html body .fr-player-card .fr-meta-club-text em.fr-meta-club-country {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
}

/* ---- club-card.css ---- */


/* ==================================================
   CLUB CARD
================================================== */

.fr-club-card {
    width: 100%;
    min-width: 0;
    height: 100%;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid #e4ebf0;
    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 6px 20px rgba(18, 60, 102, .07);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.fr-club-card:hover {
    transform: translateY(-4px);

    border-color: #d2dfe7;

    box-shadow:
        0 14px 32px rgba(18, 60, 102, .12);
}

/* ==================================================
   CLUB IMAGE
   Balanced logo presentation
================================================== */

.fr-club-image {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 170px;

    padding: 16px;

    box-sizing: border-box;

    background: linear-gradient(
        180deg,
        #f8fafc 0%,
        #f2f6f8 100%
    );

    border-bottom: 1px solid #edf2f5;

    overflow: hidden;
}

/* ==================================================
   CLUB LOGO
================================================== */

.fr-club-image img {
    display: block;

    width: auto;
    height: auto;

    /*
     * Limits the logo while preserving
     * its original proportions.
     */
    max-width: 135px;
    max-height: 135px;

    object-fit: contain;
    object-position: center;

    transition:
        transform .25s ease;
}

/* ==================================================
   LOGO HOVER
================================================== */

.fr-club-card:hover
.fr-club-image img {
    transform: scale(1.06);
}

/* ==================================================
   CLUB CONTENT
================================================== */

.fr-club-content {
    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 16px 16px 15px;

    gap: 9px;

    text-align: center;
}

/* ==================================================
   CLUB NAME
================================================== */

.fr-club-name {
    margin: 0;

    font-size: 17px;

    line-height: 1.25;

    font-weight: 800;
}

.fr-club-name a {
    color: #123c66;

    text-decoration: none;

    transition:
        color .2s ease;
}

.fr-club-name a:hover {
    color: #009f83;
}

/* ==================================================
   CLUB META
================================================== */

.fr-club-meta {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    color: #718096;

    font-size: 11px;

    line-height: 1.3;

    min-height: 22px;
}

.fr-club-meta-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    font-size: 12px;
}

/* ==================================================
   PLAYERS COUNT
================================================== */

.fr-club-players {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 5px;

    margin-top: auto;

    padding-top: 5px;

    color: #009f83;

    font-size: 11px;

    font-weight: 800;
}

.fr-club-players::before {
    content: "👥";

    font-size: 12px;
}

/* ==================================================
   BUTTON
================================================== */

.fr-club-button {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    width: 100%;

    box-sizing: border-box;

    margin-top: 5px;

    padding: 9px 12px;

    border-radius: 8px;

    background: #123c66;

    color: #ffffff;

    text-align: center;

    text-decoration: none;

    font-size: 11px;

    font-weight: 800;

    transition:
        background .2s ease,
        transform .2s ease;
}

.fr-club-button:hover {
    background: #009f83;

    color: #ffffff;

    text-decoration: none;

    transform: translateY(-1px);
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 992px) {

.fr-club-image {
        height: 155px;
    }

}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 576px) {

@media (max-width: 576px) {

    .fr-club-image {
        height: 145px;
        padding: 16px;
    }

    .fr-club-image img {
        max-width: 110px;
        max-height: 110px;
    }

}
    .fr-club-content {
        padding: 15px;
    }

.fr-club-name {
        font-size: 16px;
    }

.fr-club-meta {
        font-size: 11px;
    }

}

/* ---- player-navigation.css ---- */
/* ==========================================================
   FOOTBALL RWANDA
   PLAYER NAVIGATION
========================================================== */

.fr-player-navigation {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;

    width: 100%;

}


/* ==========================================================
   NAVIGATION ITEM
========================================================== */

.fr-player-navigation-item {

    min-width: 0;

}


/* ==========================================================
   LINK
========================================================== */

.fr-player-navigation-link {

    display: flex;

    align-items: center;

    gap: 16px;

    width: 100%;

    min-height: 82px;

    padding: 16px 20px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 14px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;

}


/* ==========================================================
   HOVER
========================================================== */

.fr-player-navigation-link:hover {

    transform: translateY(-2px);

    border-color: #d1d5db;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

}


/* ==========================================================
   PREVIOUS
========================================================== */

.fr-player-navigation-previous
.fr-player-navigation-link {

    justify-content: flex-start;

}


/* ==========================================================
   NEXT
========================================================== */

.fr-player-navigation-next
.fr-player-navigation-link {

    justify-content: flex-end;

    text-align: right;

}


/* ==========================================================
   ARROW
========================================================== */

.fr-player-navigation-arrow {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    min-width: 42px;

    height: 42px;

    background: #f3f4f6;

    border-radius: 10px;

    font-size: 22px;

    font-weight: 700;

    color: #009f83;

}


/* ==========================================================
   CONTENT
========================================================== */

.fr-player-navigation-content {

    display: flex;

    flex-direction: column;

    min-width: 0;

}


/* ==========================================================
   LABEL
========================================================== */

.fr-player-navigation-content small {

    margin-bottom: 5px;

    font-size: 12px;

    line-height: 1.3;

    font-weight: 500;

    color: #6b7280;

}


/* ==========================================================
   PLAYER NAME
========================================================== */

.fr-player-navigation-content strong {

    overflow: hidden;

    font-size: 15px;

    line-height: 1.4;

    font-weight: 700;

    color: #111827;

    text-overflow: ellipsis;

    white-space: nowrap;

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .fr-player-navigation {

        grid-template-columns: 1fr;

        gap: 12px;

    }


    .fr-player-navigation-next
    .fr-player-navigation-link {

        justify-content: flex-start;

        text-align: left;

    }


    .fr-player-navigation-link {

        min-height: 72px;

        padding: 14px 16px;

    }


    .fr-player-navigation-arrow {

        width: 38px;

        min-width: 38px;

        height: 38px;

        font-size: 20px;

    }

}

/* ---- competition-card.css ---- */
/*
====================================================
Football Rwanda
Competition Card
File: competition-card.css
====================================================
*/


/* ==================================================
   COMPETITION GRID
================================================== */

.fr-competition-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 30px;

    width: 100%;

    margin-top: 10px;
}


/* ==================================================
   COMPETITION CARD
================================================== */

.fr-competition-card {

    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;
    height: 100%;

    background: #ffffff;

    border: 1px solid #e5ebf0;

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 6px 20px rgba(18, 60, 102, 0.07);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.fr-competition-card:hover {

    transform: translateY(-5px);

    border-color: #d3e0e8;

    box-shadow:
        0 16px 34px rgba(18, 60, 102, 0.13);
}


/* ==================================================
   COMPETITION IMAGE
================================================== */

.fr-competition-image {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 190px;

    padding: 22px;

    box-sizing: border-box;

    background: #f7fafc;

    overflow: hidden;

    text-decoration: none;
}


.fr-competition-image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    object-position: center;

    transition:
        transform .3s ease;
}


.fr-competition-card:hover
.fr-competition-image img {

    transform: scale(1.05);
}


/* ==================================================
   PLACEHOLDER
================================================== */

.fr-competition-placeholder {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    border-radius: 50%;

    background: #eaf7f4;

    color: #009f83;

    font-size: 30px;
}


/* ==================================================
   CONTENT
================================================== */

.fr-competition-content {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 20px;
}


/* ==================================================
   NAME
================================================== */

.fr-competition-name {

    margin: 0 0 10px;

    font-size: 21px;

    line-height: 1.3;

    font-weight: 800;

    text-align: center;
}


.fr-competition-name a {

    color: #123c66;

    text-decoration: none;

    transition:
        color .2s ease;
}


.fr-competition-name a:hover {

    color: #009f83;
}


/* ==================================================
   SEASON
================================================== */

.fr-competition-season {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    margin-bottom: 12px;

    color: #68798a;

    font-size: 13px;

    line-height: 1.4;
}


.fr-competition-meta-icon {

    font-size: 13px;
}


/* ==================================================
   DESCRIPTION
================================================== */

.fr-competition-description {

    margin-bottom: 20px;

    color: #68798a;

    font-size: 13px;

    line-height: 1.6;

    text-align: center;
}


/* ==================================================
   BUTTON
================================================== */

.fr-competition-button {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    width: 100%;

    margin-top: auto;

    padding: 11px 14px;

    box-sizing: border-box;

    border-radius: 8px;

    background: #123c66;

    color: #ffffff;

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

    transition:
        background .2s ease,
        transform .2s ease;
}


.fr-competition-button:hover {

    background: #009f83;

    color: #ffffff;

    text-decoration: none;

    transform: translateY(-1px);
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 992px) {

    .fr-competition-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 24px;
    }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 576px) {

    .fr-competition-grid {

        grid-template-columns: 1fr;

        gap: 20px;
    }


    .fr-competition-image {

        height: 180px;

        padding: 20px;
    }


    .fr-competition-content {

        padding: 18px;
    }


    .fr-competition-name {

        font-size: 19px;
    }

}

/* ---- single-match.css ---- */
/*
 * ==========================================================
 * Football Rwanda
 * Single Match
 * File: css/single-match.css
 * Version: 4.0 FINAL
 * ==========================================================
 *
 * This file intentionally controls the complete single-match
 * presentation so the page remains stable even if component
 * CSS changes elsewhere in the theme.
 */

/* ==========================================================
   PAGE BASE
========================================================== */

.fr-single-match-page {
    width: 100%;
    min-width: 0;
    padding: 48px 0 72px;
    background: #f5f8fb;
    color: #102f55;
}

.fr-single-match-page *,
.fr-single-match-page *::before,
.fr-single-match-page *::after {
    box-sizing: border-box;
}

.fr-single-match-container {
    width: min(1200px, calc(100% - 48px));
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================
   OVERVIEW RESPONSIVE — MOBILE
========================================================== */

/* ==========================================================
   PERFORMANCE SECTION
========================================================== */

.fr-performance-section {
    width: 100%;
    margin-top: 42px;
}

.fr-performance-heading {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.fr-performance-heading > div > span {
    display: block;
    margin-bottom: 7px;
    color: #00a88f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.fr-performance-heading h2 {
    margin: 0;
    color: #173b64 !important;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 850;
}

.fr-performance-heading p {
    margin: 8px 0 0;
    color: #72839a;
    font-size: 14px;
}

/* ==========================================================
   PERFORMANCE TABLE
========================================================== */

.fr-performance-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(22, 42, 70, .06);
}

.fr-performance-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.fr-performance-table {
    width: 100%;
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.fr-performance-table th {
    height: 56px;
    padding: 14px 16px;
    color: #64778f;
    background: #f2f6fa;
    border-bottom: 1px solid #dfe7ef;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .09em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.fr-performance-table th:first-child,
.fr-performance-table td:first-child {
    text-align: left;
}

.fr-performance-table th.col-player {
    width: 31%;
}

.fr-performance-table th.col-team {
    width: 22%;
}

.fr-performance-table th:not(.col-player):not(.col-team) {
    width: auto;
}

.fr-performance-table tbody td {
    height: 82px;
    padding: 14px 16px;
    border-bottom: 1px solid #edf1f5;
    color: #173b64;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
}

.fr-performance-table tbody tr:last-child td {
    border-bottom: 0;
}

.fr-performance-table tbody tr:hover td {
    background: #fbfdfd;
}

/* ==========================================================
   PLAYER
========================================================== */

.fr-performance-player {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #173b64;
    text-decoration: none;
    font-weight: 850;
}

.fr-performance-player:hover .fr-player-name {
    color: #00a88f;
}

.fr-player-avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #dce5ed;
    border-radius: 50%;
    color: #00a88f;
    background: #edf8f6;
    font-size: 13px;
    font-weight: 900;
}

.fr-player-avatar img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
}

.fr-player-name {
    transition: color .2s ease;
}

/* ==========================================================
   TEAM
========================================================== */

.fr-performance-team {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #173b64;
    text-decoration: none;
    font-weight: 800;
}

.fr-performance-team:hover {
    color: #00a88f;
}

.fr-team-mini-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e0e6ed;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 9px rgba(22, 42, 70, .06);
}

.fr-team-mini-logo img {
    display: block;
    width: 29px !important;
    height: 29px !important;
    max-width: 29px !important;
    max-height: 29px !important;
    object-fit: contain !important;
}

.fr-team-mini-logo > span {
    color: #00a88f;
    font-size: 9px;
    font-weight: 900;
}

/* ==========================================================
   STAT VALUES
========================================================== */

.fr-stat-number {
    display: inline-flex;
    min-width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #73849a;
}

.fr-stat-number.has-value {
    color: #007f6d;
    background: #e8f7f4;
    font-weight: 900;
}

.fr-zero {
    color: #7b8ba0;
}

.fr-card {
    display: inline-flex;
    min-width: 25px;
    height: 25px;
    padding: 0 6px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 900;
}

.fr-yellow {
    color: #5d4700;
    background: #f8d84b;
}

.fr-red {
    color: #fff;
    background: #df4248;
}

/* ==========================================================
   RATING
========================================================== */

.fr-rating {
    display: inline-flex;
    min-width: 52px;
    height: 36px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 900;
}

.fr-rating-good {
    color: #007b69;
    background: #e2f6f2;
}

.fr-rating-average {
    color: #86600d;
    background: #fff1cc;
}

.fr-rating-low {
    color: #a33135;
    background: #fde8e8;
}

.fr-rating-neutral {
    color: #69798e;
    background: #f0f3f6;
}

/* ==========================================================
   EMPTY STATE
========================================================== */

.fr-performance-empty {
    min-height: 230px;
    padding: 42px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.fr-empty-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #00a88f;
    background: #e8f7f4;
    font-size: 20px;
    font-weight: 900;
}

.fr-performance-empty h3 {
    margin: 0 0 8px;
    color: #173b64;
    font-size: 19px;
}

.fr-performance-empty p {
    max-width: 520px;
    margin: 0;
    color: #71839a;
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 900px) {

    .fr-single-match-container {
        width: min(100% - 32px, 760px);
    }

    .fr-performance-heading h2 {
        font-size: 29px;
    }
}

@media (max-width: 680px) {

    .fr-single-match-page {
        padding: 24px 0 48px;
    }

    .fr-single-match-container {
        width: calc(100% - 24px);
    }

    .fr-performance-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .fr-performance-heading h2 {
        font-size: 27px;
    }

    .fr-performance-card {
        border-radius: 14px;
    }

    .fr-performance-table {
        min-width: 880px;
    }
}

/* ==========================================================
   MATCH EVENTS — PROFESSIONAL TIMELINE
========================================================== */

.fr-match-events-section {
    width: 100%;
    margin-top: 40px;
}

/* ==========================================================
   EVENTS HEADING
========================================================== */

.fr-match-events-heading {
    margin-bottom: 18px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
}

.fr-match-events-heading > div > span {
    display: block;

    margin-bottom: 7px;

    color: #00a88f;

    font-size: 12px;
    line-height: 1.2;

    font-weight: 900;

    letter-spacing: .13em;

    text-transform: uppercase;
}

.fr-match-events-heading h2 {
    margin: 0;

    color: #173b64;

    font-size: 30px;
    line-height: 1.15;

    font-weight: 850;
}

.fr-match-events-heading p {
    margin: 8px 0 0;

    color: #72839a;

    font-size: 14px;
    line-height: 1.5;
}

.fr-match-events-count {
    flex: 0 0 auto;

    padding: 8px 14px;

    border-radius: 999px;

    color: #007f6d;
    background: #e6f7f3;

    font-size: 12px;
    font-weight: 850;
}

/* ==========================================================
   EVENTS CARD
========================================================== */

.fr-match-events-card {
    width: 100%;

    overflow: hidden;

    border: 1px solid #dfe7ef;
    border-radius: 18px;

    background: #fff;

    box-shadow:
        0 14px 32px rgba(22, 42, 70, .06);
}

/* ==========================================================
   EVENTS LIST
========================================================== */

.fr-match-events-list {
    width: 100%;

    padding: 8px 0;
}

/* ==========================================================
   EVENT ROW
========================================================== */

.fr-match-event {
    position: relative;

    min-height: 82px;

    padding: 12px 28px;

    display: grid;

    grid-template-columns:
        70px
        54px
        minmax(0, 1fr);

    align-items: center;

    border-bottom: 1px solid #edf1f5;

    transition:
        background-color .2s ease;
}

.fr-match-event:last-child {
    border-bottom: 0;
}

.fr-match-event:hover {
    background: #fbfdfd;
}

/* ==========================================================
   EVENT TIME
========================================================== */

.fr-match-event-time {
    color: #173b64;

    font-size: 14px;

    line-height: 1;

    font-weight: 900;

    text-align: center;
}

/* ==========================================================
   EVENT ICON
========================================================== */

.fr-match-event-icon {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;
}

.fr-match-event-icon span {
    width: 38px;
    height: 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #e1e8ef;

    border-radius: 50%;

    background: #f7fafc;

    font-size: 16px;

    line-height: 1;

    box-shadow:
        0 4px 10px rgba(22, 42, 70, .05);
}

/* ==========================================================
   EVENT CONTENT
========================================================== */

.fr-match-event-content {
    min-width: 0;

    padding-left: 8px;
}

.fr-match-event-main {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 7px;
}

.fr-match-event-main strong {
    color: #173b64;

    font-size: 14px;

    line-height: 1.3;

    font-weight: 850;
}

.fr-match-event-team {
    color: #72839a;

    font-size: 12px;

    line-height: 1.3;

    font-weight: 700;
}

/* ==========================================================
   PLAYER
========================================================== */

.fr-match-event-player {
    margin-top: 4px;

    color: #374b63;

    font-size: 13px;

    line-height: 1.4;

    font-weight: 700;
}

.fr-match-event-player span {
    margin: 0 5px;

    color: #a1adbb;
}

/* ==========================================================
   EVENT NOTES
========================================================== */

.fr-match-event-notes {
    margin: 5px 0 0;

    color: #94a3b8;

    font-size: 12px;

    line-height: 1.5;
}

/* ==========================================================
   GOAL
========================================================== */

.fr-event-goal .fr-match-event-icon span {
    color: #007f6d;

    background: #e8f7f4;

    border-color: #cceee7;
}

.fr-event-goal .fr-match-event-main strong {
    color: #007f6d;
}

/* ==========================================================
   OWN GOAL
========================================================== */

.fr-event-own_goal .fr-match-event-icon span {
    color: #007f6d;

    background: #edf8f6;

    border-color: #d3eee9;
}

/* ==========================================================
   YELLOW CARD
========================================================== */

.fr-event-yellow_card .fr-match-event-icon span {
    color: #5d4700;

    background: #fff8d8;

    border-color: #f3df86;
}

/* ==========================================================
   RED CARD
========================================================== */

.fr-event-red_card .fr-match-event-icon span {
    color: #fff;

    background: #df4248;

    border-color: #df4248;
}

/* Second yellow (sent off): yellow + red card icon */
.fr-event-second_yellow .fr-match-event-icon span {
    background: #fff4ec;

    border-color: #f5b48a;
}

.fr-event-second_yellow .fr-match-event-icon svg {
    display: block;
}

/* ==========================================================
   SUBSTITUTION
========================================================== */

.fr-event-substitution .fr-match-event-icon span {
    color: #00866f;

    background: #fff;

    border-color: #e5e7eb;
}

.fr-event-substitution .fr-match-event-icon .fr-sub-icon {
    display: block;
    width: 18px;
    height: 18px;
}

.fr-sub-label {
    font-size: 0.8em;
    color: #94a3b8;
    text-transform: uppercase;
    margin-right: 2px;
}

/* ==========================================================
   PENALTY MISSED
========================================================== */

.fr-event-penalty_missed .fr-match-event-icon span {
    color: #a33135;

    background: #fdeaea;

    border-color: #f5d1d1;
}

/* ==========================================================
   PENALTY SCORED
========================================================== */

.fr-event-penalty_scored .fr-match-event-icon span {
    color: #007f6d;

    background: #e8f7f4;

    border-color: #cceee7;
}

/* ==========================================================
   VARIOUS EVENTS
========================================================== */

.fr-event-var .fr-match-event-icon span,
.fr-event-injury .fr-match-event-icon span,
.fr-event-assist .fr-match-event-icon span {
    color: #64778f;

    background: #f3f6f9;
}

/* ==========================================================
   EMPTY EVENTS
========================================================== */

.fr-match-events-empty {
    min-height: 230px;

    padding: 44px 24px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.fr-match-events-empty .fr-empty-icon {
    width: 52px;
    height: 52px;

    margin-bottom: 14px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #00a88f;

    background: #e8f7f4;

    font-size: 21px;

    font-weight: 900;
}

.fr-match-events-empty h3 {
    margin: 0 0 8px;

    color: #173b64;

    font-size: 19px;

    line-height: 1.3;

    font-weight: 850;
}

.fr-match-events-empty p {
    max-width: 520px;

    margin: 0;

    color: #71839a;

    font-size: 14px;

    line-height: 1.6;
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .fr-match-events-section {
        margin-top: 32px;
    }

    .fr-match-events-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }

    .fr-match-events-heading h2 {
        font-size: 26px;
    }

    .fr-match-events-heading p {
        font-size: 13px;
    }

    .fr-match-events-card {
        border-radius: 14px;
    }

    .fr-match-event {
        min-height: 72px;

        padding: 10px 14px;

        grid-template-columns:
            48px
            42px
            minmax(0, 1fr);
    }

    .fr-match-event-time {
        font-size: 12px;
    }

    .fr-match-event-icon span {
        width: 32px;
        height: 32px;

        font-size: 14px;
    }

    .fr-match-event-content {
        padding-left: 5px;
    }

    .fr-match-event-main {
        gap: 5px;
    }

    .fr-match-event-main strong {
        font-size: 12px;
    }

    .fr-match-event-team {
        font-size: 11px;
    }

    .fr-match-event-player {
        font-size: 12px;
    }

    .fr-match-event-notes {
        font-size: 11px;
    }
}

/* ==========================================================
   VERY SMALL SCREENS
========================================================== */

@media (max-width: 420px) {

    .fr-match-event {
        grid-template-columns:
            42px
            38px
            minmax(0, 1fr);

        padding-left: 10px;
        padding-right: 10px;
    }

    .fr-match-event-time {
        font-size: 11px;
    }

    .fr-match-event-icon span {
        width: 29px;
        height: 29px;

        font-size: 13px;
    }

    .fr-match-event-main strong {
        font-size: 11.5px;
    }

    .fr-match-event-player {
        font-size: 11.5px;
    }
}

/* ==========================================================
   MATCH LINEUPS
========================================================== */

.fr-match-lineups-section {
    width: 100%;
    margin-top: 40px;
}

.fr-match-lineups-heading {
    margin-bottom: 20px;
}

.fr-match-lineups-heading > div > span {
    display: block;
    margin-bottom: 6px;
    color: #00a88f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.fr-match-lineups-heading h2 {
    margin: 0;
    color: #173b64;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 850;
}

.fr-match-lineups-heading p {
    margin: 8px 0 0;
    color: #71839a;
    font-size: 14px;
}

/* ==========================================================
   LINEUP GROUP TITLES
========================================================== */

.fr-match-lineup-group-title {
    margin: 0;
    padding: 16px 18px 8px;

    color: #173b64;

    font-size: 11px;
    line-height: 1.2;

    font-weight: 900;

    letter-spacing: .08em;
    text-transform: uppercase;
}

/*
 * First group title inside a lineup card.
 */
.fr-match-lineup-players + .fr-match-lineup-group-title {
    border-top: 1px solid #edf1f5;
}

/*
 * Mobile
 */
@media (max-width: 768px) {

    .fr-match-lineup-group-title {
        padding-left: 14px;
        padding-right: 14px;
    }

}

/* ==========================================================
   LINEUPS GRID
========================================================== */

.fr-match-lineups-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

/* ==========================================================
   LINEUP CARD
========================================================== */

.fr-match-lineup-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(22, 42, 70, .05);
}

/* ==========================================================
   LINEUP HEADER
========================================================== */

.fr-match-lineup-header {
    min-height: 88px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #e6ebf0;
}

.fr-match-lineup-club {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fr-match-lineup-club img {
    display: block;
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: contain !important;
}

.fr-lineup-logo-placeholder {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f4f7;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.fr-match-lineup-header > div:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.fr-match-lineup-header > div:nth-child(2) > span {
    display: block;
    margin-bottom: 3px;
    color: #7b8ba0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.fr-match-lineup-header h3 {
    margin: 0;
    color: #12375f;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 850;
}

.fr-lineup-count {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #173b64;
    background: #f1f4f7;
    font-size: 12px;
    font-weight: 900;
}

/* ==========================================================
   PLAYERS LIST
========================================================== */

.fr-match-lineup-players {
    width: 100%;
    padding: 6px 0;
}

/* ==========================================================
   PLAYER ROW
========================================================== */

.fr-match-lineup-player {
    width: 100%;
    min-height: 70px;
    padding: 9px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #173b64;
    text-decoration: none;
    transition:
        background-color .18s ease,
        transform .18s ease;
}

.fr-match-lineup-player:hover {
    background: #f8fbfc;
}

/* ==========================================================
   PLAYER PHOTO
========================================================== */

.fr-match-lineup-player-photo {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: block;
    overflow: hidden;
    border: 1px solid #dfe6ed;
    border-radius: 50%;
    background: #f1f4f7;
}

.fr-match-lineup-player-photo img {
    display: block;
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    object-fit: cover !important;
}

/* ==========================================================
   PLAYER INFORMATION
========================================================== */

.fr-match-lineup-player-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fr-match-lineup-player-name {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #12375f;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================
   PLAYER META
========================================================== */

.fr-match-lineup-player-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    min-height: 16px;
    color: #71839a;
    font-size: 12px;
    line-height: 1.2;
}

.fr-player-number,
.fr-player-position,
.fr-player-starter,
.fr-player-captain {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.fr-player-number {
    color: #173b64;
    font-weight: 900;
}

.fr-player-position {
    color: #64778f;
    font-weight: 600;
}

.fr-player-starter {
    color: #008f72;
    font-weight: 800;
}

.fr-player-captain {
    color: #d97706;
    font-weight: 800;
}

/* ==========================================================
   PLAYER ARROW
========================================================== */

.fr-match-lineup-arrow {
    width: 24px;
    flex: 0 0 24px;
    color: #94a3b8;
    font-size: 17px;
    line-height: 1;
    text-align: center;
    transition:
        color .18s ease,
        transform .18s ease;
}

.fr-match-lineup-player:hover .fr-match-lineup-arrow {
    color: #00a88f;
    transform: translateX(3px);
}

/* ==========================================================
   EMPTY LINEUP
========================================================== */

.fr-match-lineup-empty {
    min-height: 150px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #71839a;
}

.fr-match-lineup-empty span {
    margin-bottom: 8px;
    color: #94a3b8;
    font-size: 26px;
}

.fr-match-lineup-empty p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .fr-match-lineups-section {
        margin-top: 32px;
    }

    .fr-match-lineups-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fr-match-lineups-heading {
        margin-bottom: 16px;
    }

    .fr-match-lineups-heading h2 {
        font-size: 24px;
    }

    .fr-match-lineups-heading p {
        font-size: 13px;
    }

    .fr-match-lineup-header {
        min-height: 78px;
        padding: 15px 16px;
    }

    .fr-match-lineup-club,
    .fr-match-lineup-club img,
    .fr-lineup-logo-placeholder {
        width: 44px !important;
        height: 44px !important;
        max-width: 44px !important;
        max-height: 44px !important;
        flex-basis: 44px;
    }

    .fr-match-lineup-header h3 {
        font-size: 17px;
    }

    .fr-match-lineup-player {
        min-height: 66px;
        padding: 8px 14px;
        gap: 12px;
    }

    .fr-match-lineup-player-photo {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .fr-match-lineup-player-photo img {
        width: 48px !important;
        height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
    }

    .fr-match-lineup-player-name {
        font-size: 13px;
    }

    .fr-match-lineup-player-meta {
        gap: 6px;
        font-size: 11px;
    }

    .fr-match-lineup-arrow {
        width: 20px;
        flex-basis: 20px;
        font-size: 15px;
    }

}

/* ==========================================================
   VERY SMALL SCREENS
========================================================== */

@media (max-width: 420px) {

    .fr-match-lineup-header {
        padding: 14px;
        gap: 11px;
    }

    .fr-match-lineup-player {
        padding-left: 12px;
        padding-right: 12px;
        gap: 10px;
    }

    .fr-match-lineup-player-photo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .fr-match-lineup-player-photo img {
        width: 46px !important;
        height: 46px !important;
        max-width: 46px !important;
        max-height: 46px !important;
    }

    .fr-match-lineup-player-name {
        font-size: 12.5px;
    }

    .fr-match-lineup-player-meta {
        font-size: 10.5px;
        gap: 5px;
    }

}

/* ==========================================================
   MATCH STATISTICS
========================================================== */

.fr-match-statistics-section {
    width: 100%;
    margin-top: 40px;
}

.fr-match-statistics-heading {
    margin-bottom: 18px;
}

.fr-match-statistics-heading > div > span {
    display: block;
    margin-bottom: 7px;
    color: #00a88f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.fr-match-statistics-heading h2 {
    margin: 0;
    color: #173b64 !important;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 850;
}

.fr-match-statistics-heading p {
    margin: 8px 0 0;
    color: #72839a;
    font-size: 14px;
}

.fr-match-statistics-card {
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(22, 42, 70, .06);
}

.fr-match-statistics-teams {
    min-height: 82px;
    padding: 18px 28px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #e5ebf1;
}

.fr-match-statistics-team {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #173b64;
    font-size: 15px;
    font-weight: 850;
}

.fr-match-statistics-team img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.fr-home-stat-team {
    justify-content: flex-end;
    text-align: right;
}

.fr-away-stat-team {
    justify-content: flex-start;
    text-align: left;
}

.fr-match-statistics-vs {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.fr-match-statistics-list {
    padding: 8px 28px 20px;
}

.fr-match-stat-row {
    padding: 18px 0;
    border-bottom: 1px solid #edf1f5;
}

.fr-match-stat-row:last-child {
    border-bottom: 0;
}

.fr-match-stat-values {
    display: grid;
    grid-template-columns: 90px 1fr 90px;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.fr-match-stat-home-value {
    color: #007f6d;
    font-size: 16px;
    font-weight: 900;
    text-align: right;
}

.fr-match-stat-away-value {
    color: #007f6d;
    font-size: 16px;
    font-weight: 900;
    text-align: left;
}

.fr-match-stat-label {
    color: #64778f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.fr-match-stat-bar {
    width: 100%;
    height: 7px;
    margin-top: 10px;
    display: flex;
    overflow: hidden;
    border-radius: 999px;
    background: #edf2f6;
}

.fr-match-stat-bar-home {
    display: block;
    background: #00a88f;
    border-radius: 999px 0 0 999px;
}

.fr-match-stat-bar-away {
    display: block;
    background: #173b64;
    border-radius: 0 999px 999px 0;
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 680px) {

    .fr-match-statistics-section {
        margin-top: 32px;
    }

    .fr-match-statistics-heading h2 {
        font-size: 27px;
    }

    .fr-match-statistics-teams {
        padding: 16px;
        gap: 10px;
    }

    .fr-match-statistics-team {
        font-size: 12px;
    }

    .fr-match-statistics-team img {
        width: 34px;
        height: 34px;
    }

    .fr-match-statistics-list {
        padding: 6px 16px 14px;
    }

    .fr-match-stat-values {
        grid-template-columns: 55px 1fr 55px;
        gap: 10px;
    }

    .fr-match-stat-home-value,
    .fr-match-stat-away-value {
        font-size: 14px;
    }

    .fr-match-stat-label {
        font-size: 10px;
    }
}

/* ==========================================================
   MATCH NAVIGATION
========================================================== */

.fr-match-tabs {
    width: 100%;
    margin: 0 0 32px;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    border: 1px solid #dfe7ef;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(22, 42, 70, .05);

    scrollbar-width: none;
}

.fr-match-tabs::-webkit-scrollbar {
    display: none;
}

.fr-match-tab {
    flex: 1 0 auto;
    min-height: 42px;
    padding: 10px 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    color: #64778f;
    text-decoration: none;

    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;

    transition:
        background .2s ease,
        color .2s ease;
}

.fr-match-tab:hover {
    color: #00a88f;
    background: #edf8f6;
}

.fr-match-tab.is-active {
    color: #ffffff;
    background: #00a88f;
}

@media (max-width: 680px) {

    .fr-match-tabs {
        margin-bottom: 24px;
    }

    .fr-match-tab {
        min-height: 40px;
        padding: 9px 15px;
        font-size: 12px;
    }
}

/* ==========================================================
   PREVIOUS / NEXT MATCH
========================================================== */

.fr-match-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0 0 24px;
}

.fr-match-navigation-btn {
    min-height: 70px;
    padding: 14px 18px;

    display: flex;
    align-items: center;
    gap: 14px;

    border: 1px solid #e1e7ed;
    border-radius: 14px;

    background: #ffffff;
    color: #182536;
    text-decoration: none;

    box-shadow: 0 6px 18px rgba(22, 42, 70, .05);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.fr-match-navigation-btn:hover {
    transform: translateY(-2px);
    border-color: #00a88f;
    box-shadow: 0 10px 24px rgba(22, 42, 70, .08);
}

.fr-match-navigation-next {
    justify-content: flex-end;
    text-align: right;
}

.fr-match-navigation-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.fr-match-navigation-content small {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #718096;
}

.fr-match-navigation-content strong {
    font-size: 14px;
    line-height: 1.3;
}

.fr-match-navigation-arrow {
    flex: 0 0 auto;
    font-size: 22px;
    font-weight: 700;
    color: #00a88f;
}

.fr-match-navigation-disabled {
    opacity: .45;
    cursor: default;
}

@media (max-width: 680px) {

    .fr-match-navigation {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .fr-match-navigation-next {
        justify-content: flex-start;
        text-align: left;
    }

}
.fr-match-navigation-meta {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 600;
    color: #718096;
    line-height: 1.4;
}

/* ==========================================================
   MATCH HIGHLIGHTS / FEATURED VIDEO
   Targeted override only — no other match sections changed.
   ========================================================== */

.fr-single-match-page .fr-match-featured-video-section {
    width: 100%;
    margin: 42px 0 0;
    padding: 0;
    box-sizing: border-box;
}

.fr-single-match-page .fr-match-featured-video-heading {
    width: 100%;
    margin: 0 0 22px;
}

.fr-single-match-page .fr-match-featured-video-heading > div {
    width: 100%;
}

.fr-single-match-page .fr-match-featured-video-heading span {
    display: block;
    margin: 0 0 7px;
    color: #009f88;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fr-single-match-page .fr-match-featured-video-heading h2 {
    margin: 0;
    color: #123c66;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
}

.fr-single-match-page .fr-match-featured-video-heading p {
    margin: 9px 0 0;
    color: #66788a;
    font-size: 14px;
    line-height: 1.6;
}

.fr-single-match-page .fr-match-featured-video-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #dfe7ed;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(18,60,102,.07);
}

.fr-single-match-page .fr-match-featured-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #102f55;
}

.fr-single-match-page .fr-match-featured-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

@media (max-width: 900px) {
    .fr-single-match-page .fr-match-featured-video-section {
        margin-top: 32px;
    }

    .fr-single-match-page .fr-match-featured-video-heading h2 {
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    .fr-single-match-page .fr-match-featured-video-section {
        margin-top: 28px;
    }

    .fr-single-match-page .fr-match-featured-video-card {
        border-radius: 12px;
    }
}

/* ==========================================================
   MATCH CONTEXT (standings, form, head to head)
========================================================== */

.fr-match-context {
    margin: 24px 0;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5ebf0;
    border-radius: 18px;
    scroll-margin-top: 90px;
}

.fr-match-context-heading span {
    display: block;
    margin-bottom: 6px;
    color: #009f88;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fr-match-context-heading h2 {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
}

.fr-match-context-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fr-match-context-card {
    min-width: 0;
    padding: 18px;
    background: #f7f9fb;
    border: 1px solid #dfe5ec;
    border-radius: 14px;
}

.fr-match-context-wide {
    grid-column: 1 / -1;
}

.fr-match-context-card h3 {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #64748b;
}

/* league position */
.fr-match-context-row {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e6ecf1;
}

.fr-match-context-rank {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #009f88;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.fr-match-context-club {
    overflow: hidden;
    color: inherit;
    font-weight: 700;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fr-match-context-club:hover {
    color: #009f88;
}

/* Live match: live table badge + move against the official table */
.fr-match-context-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e5484d;
    color: #fff;
    font-size: 10px;
    letter-spacing: .08em;
    vertical-align: 1px;
}

.fr-match-context-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: fr-ctx-live-pulse 1.4s ease-in-out infinite;
}

@keyframes fr-ctx-live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

@media (prefers-reduced-motion: reduce) {
    .fr-match-context-live i { animation: none; }
}

.fr-match-context-move {
    margin-left: 6px;
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.fr-match-context-move--up { color: #138a52; }
.fr-match-context-move--down { color: #c81e1e; }

.fr-match-context-meta {
    color: #64748b;
    font-size: 12px;
    white-space: nowrap;
}

.fr-match-context-link {
    display: inline-block;
    margin-top: 12px;
    color: #009f88;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

/* form */
.fr-match-context-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
}

.fr-match-context-form-club {
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fr-match-context-pills {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.fr-form-pill {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.fr-form-w { background: #16a34a; }
.fr-form-d { background: #94a3b8; }
.fr-form-l { background: #dc2626; }

/* head to head */
.fr-match-context-tally {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
    text-align: center;
}

.fr-match-context-tally strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 800;
}

.fr-match-context-tally span {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fr-match-context-meeting {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-top: 1px solid #e6ecf1;
    color: inherit;
    font-size: 14px;
    text-decoration: none;
}

.fr-match-context-meeting span:nth-child(2) { text-align: right; }

.fr-match-context-meeting span:first-child {
    color: #64748b;
    font-size: 12px;
}

.fr-match-context-meeting:hover strong {
    color: #009f88;
}

@media (max-width: 760px) {
    .fr-match-context {
        padding: 18px;
    }

    .fr-match-context-grid {
        grid-template-columns: 1fr;
    }

    .fr-match-context-row {
        grid-template-columns: 30px minmax(0, 1fr) auto;
    }

    .fr-match-context-meta {
        display: none;
    }

    .fr-match-context-meeting {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .fr-match-context-meeting span:first-child {
        grid-column: 1 / -1;
    }
}

/* ==========================================================
   LINEUPS v2 — team switch + performances inside the lineup
========================================================== */
.fr-match-lineup-switch { display: none; }
.fr-match-lineup-switch.is-js {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 0 0 16px;
    padding: 5px;
    border: 1px solid #dfe7ef;
    border-radius: 14px;
    background: #f4f7fa;
}
.fr-match-lineup-switch button {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 46px; padding: 8px 14px;
    border: 0; border-radius: 10px; background: transparent;
    color: #5b6b80; font: inherit; font-size: 14px; font-weight: 800;
    cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.fr-match-lineup-switch button img { width: 26px; height: 26px; object-fit: contain; }
.fr-match-lineup-switch button.is-active {
    background: #06182f; color: #fff; box-shadow: 0 6px 16px rgba(6, 24, 47, .18);
}

.fr-match-lineups-grid.is-js { grid-template-columns: 1fr; gap: 0; }
.fr-match-lineups-grid.is-js .fr-match-lineup-card { display: none; }
.fr-match-lineups-grid.is-js[data-active="home"] .fr-home-lineup,
.fr-match-lineups-grid.is-js[data-active="away"] .fr-away-lineup { display: block; }

.fr-match-lineup-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fr-match-lineup-col { min-width: 0; }
.fr-match-lineup-col + .fr-match-lineup-col { border-left: 1px solid #e8eef4; }

.fr-match-lineup-player { min-height: 58px; padding: 7px 16px; gap: 12px; }
.fr-match-lineup-player-photo, .fr-match-lineup-player-photo img { width: 42px; height: 42px; }

.fr-match-lineup-stats {
    margin-left: auto; flex: none;
    display: inline-flex; align-items: center; gap: 6px;
}
.fr-match-lineup-stats .fr-rating {
    min-width: 44px; height: 30px; padding: 0 8px; font-size: 13px; border-radius: 8px;
}
.fr-lu-chip {
    display: inline-flex; align-items: center; height: 24px; padding: 0 7px;
    border-radius: 7px; font-size: 12px; font-weight: 800; line-height: 1; white-space: nowrap;
}
.fr-lu-goal { background: #e2f6f2; color: #007b69; }
.fr-lu-assist { background: #e8efff; color: #2b4fc7; }
.fr-lu-card { width: 12px; height: 17px; border-radius: 3px; display: inline-block; }
.fr-lu-yellow { background: #f5c518; }
.fr-lu-red { background: #e5484d; }
.fr-lu-min { font-size: 12px; font-weight: 700; color: #6b7a8c; }

@media (max-width: 760px) {
    .fr-match-lineup-cols { grid-template-columns: 1fr; }
    .fr-match-lineup-col + .fr-match-lineup-col { border-left: 0; border-top: 1px solid #e8eef4; }
    .fr-match-lineup-player { padding: 7px 12px; gap: 10px; }
    .fr-match-lineup-stats { gap: 4px; }
}

/* Substitutions in the lineup */
.fr-lu-sub {
    display: inline-flex; align-items: center; height: 24px; padding: 0 8px;
    border-radius: 7px; font-size: 12px; font-weight: 800; line-height: 1; white-space: nowrap;
}
.fr-lu-sub-on { background: #e2f6f2; color: #007b69; }
.fr-lu-sub-off { background: #fde8e8; color: #c0292f; }
.fr-lu-sub-bench { background: #eef2f6; color: #6b7a8c; font-weight: 700; }

/* Own goal / missed penalty chips */
.fr-lu-own { background: #fde8e8; color: #c0292f; }
.fr-lu-pen { background: #eef2f6; color: #5b6b80; }

/* ==========================================================
   MATCH GALLERY
========================================================== */
.fr-single-match-page .fr-match-gallery-section {
    margin: 40px 0 0;
    scroll-margin-top: 120px;
}

.fr-mg-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.fr-mg-item {
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #102f55;
    cursor: zoom-in;
}

.fr-mg-item.is-cover {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.fr-mg-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.fr-mg-item:hover img,
.fr-mg-item:focus-visible img { transform: scale(1.05); }
.fr-mg-item:focus-visible { outline: 3px solid #009f88; outline-offset: 2px; }

.fr-mg-grid:not(.is-expanded) .fr-mg-item.is-extra { display: none; }

.fr-mg-more { display: block; margin: 16px auto 0; }

@media (max-width: 900px) {
    .fr-mg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .fr-mg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .fr-mg-item.is-cover { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
}

/* Lightbox */
html.fr-mg-lb-open { overflow: hidden; }

.fr-mg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 14, 28, .94);
}
.fr-mg-lightbox[hidden] { display: none; }

.fr-mg-lightbox figure {
    margin: 0;
    max-width: min(1100px, calc(100% - 120px));
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.fr-mg-lightbox img {
    max-width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    border-radius: 8px;
}
.fr-mg-lightbox figcaption { color: #dbe6f1; font-size: 14px; text-align: center; }

.fr-mg-lightbox button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.fr-mg-lightbox button:hover { background: rgba(255, 255, 255, .28); }
.fr-mg-lb-close { top: 16px; right: 16px; }
.fr-mg-lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.fr-mg-lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.fr-mg-lb-count { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); color: #fff; font-size: 13px; font-weight: 700; }

@media (max-width: 640px) {
    .fr-mg-lightbox figure { max-width: 100%; }
    .fr-mg-lb-prev, .fr-mg-lb-next { top: auto; bottom: 12px; transform: none; }
    .fr-mg-lb-prev { left: 16px; }
    .fr-mg-lb-next { right: 16px; }
}


/* ---- match-hero.css ---- */
/* ==========================================================
   FOOTBALL RWANDA
   Match page : Hero (the match "poster")
   File: assets/css/pages/match-hero.css
   Loaded after single-match.css.
========================================================== */

.fr-match-hero {
    --hero-ink: #06182f;
    --hero-teal: #0a7f78;
    --hero-line: rgba(255, 255, 255, .14);
    --hero-soft: rgba(255, 255, 255, .72);

    position: relative;
    overflow: hidden;
    margin: 0 0 20px;
    color: #fff;
    border-radius: 22px;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(0, 190, 160, .22) 0%, rgba(0, 190, 160, 0) 60%),
        linear-gradient(160deg, #06182f 0%, #0a2c47 55%, #08524f 100%);
    box-shadow: 0 18px 40px rgba(6, 24, 47, .22);
}

.fr-match-hero .fr-screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Top line: competition + status ---------- */

.fr-match-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 32px 0;
}

.fr-match-hero-competition {
    margin: 0;
    color: var(--hero-soft);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .01em;
}

.fr-match-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.fr-match-hero-status--live {
    background: #e5383b;
}

.fr-match-hero-status--live::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
}

.fr-match-hero-status--finished {
    background: rgba(0, 200, 170, .22);
    color: #7ff0d9;
}

.fr-match-hero-status--postponed,
.fr-match-hero-status--suspended,
.fr-match-hero-status--cancelled {
    background: rgba(255, 176, 32, .2);
    color: #ffd27a;
}

/* ---------- Board: crest | score | crest ---------- */

.fr-match-hero-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding: 30px 32px 22px;
}

.fr-match-hero-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: inherit;
    text-align: center;
    text-decoration: none;
}

.fr-match-hero-team:hover .fr-match-hero-name {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.fr-match-hero-crest {
    display: grid;
    place-items: center;
    width: 132px;
    height: 132px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
}

.fr-match-hero-crest img {
    display: block;
    width: 98px;
    height: 98px;
    object-fit: contain;
}

.fr-match-hero-crest-fallback {
    color: var(--hero-ink);
    font-size: 34px;
    font-weight: 800;
    text-transform: uppercase;
}

.fr-match-hero-name {
    max-width: 100%;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.01em;
    overflow-wrap: anywhere;
}

.fr-match-hero-side {
    color: var(--hero-soft);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fr-match-hero-centre {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 220px;
}

.fr-match-hero-score {
    display: flex;
    align-items: center;
    gap: 16px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.fr-match-hero-score strong {
    font-size: clamp(56px, 7vw, 96px);
    font-weight: 800;
    letter-spacing: -.04em;
}

.fr-match-hero-score span {
    width: 18px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .45);
    font-size: 0;
}

.fr-match-hero-score--time strong,
.fr-match-hero-score--vs strong {
    font-size: clamp(40px, 5vw, 64px);
}

.fr-match-hero-score--vs strong {
    color: var(--hero-soft);
    font-weight: 700;
    text-transform: uppercase;
}

.fr-match-hero-phase {
    color: var(--hero-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ---------- Goal scorers ---------- */

.fr-match-hero-scorers {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 268px;
    padding: 0 32px 26px;
}

.fr-match-hero-scorers-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fr-match-hero-scorers-list {
    align-items: center;
}

.fr-match-hero-scorers-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.3;
}

.fr-match-hero-ball {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7ff0d9;
}

.fr-match-hero-scorer {
    font-weight: 700;
}

.fr-match-hero-scorer em {
    color: var(--hero-soft);
    font-style: normal;
    font-weight: 500;
}

.fr-match-hero-minutes {
    color: var(--hero-soft);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ---------- Facts ---------- */

.fr-match-hero-facts {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--hero-line);
    background: rgba(0, 0, 0, .16);
}

.fr-match-hero-facts li {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 170px;
    padding: 18px 20px;
}

.fr-match-hero-facts li + li {
    border-left: 1px solid var(--hero-line);
}

.fr-match-hero-facts svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    stroke: #7ff0d9;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fr-match-hero-facts span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.fr-match-hero-facts small {
    color: var(--hero-soft);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fr-match-hero-facts strong {
    font-size: 15px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* ---------- Tablet ---------- */

@media (max-width: 900px) {

    .fr-match-hero-top,
    .fr-match-hero-board,
    .fr-match-hero-scorers {
        padding-right: 20px;
        padding-left: 20px;
    }

    .fr-match-hero-crest {
        width: 104px;
        height: 104px;
    }

    .fr-match-hero-crest img {
        width: 76px;
        height: 76px;
    }

    .fr-match-hero-board {
        grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
        gap: 12px;
    }

    .fr-match-hero-centre {
        width: 160px;
    }

    .fr-match-hero-scorers {
        column-gap: 172px;
    }
}

/* ---------- Phone ---------- */

@media (max-width: 600px) {

    .fr-match-hero {
        border-radius: 18px;
    }

    .fr-match-hero-top {
        padding-top: 16px;
    }

    .fr-match-hero-competition {
        font-size: 12px;
    }

    .fr-match-hero-board {
        grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr);
        gap: 6px;
        padding-top: 22px;
        padding-bottom: 18px;
    }

    .fr-match-hero-crest {
        width: 72px;
        height: 72px;
        margin-bottom: 4px;
    }

    .fr-match-hero-crest img {
        width: 52px;
        height: 52px;
    }

    .fr-match-hero-name {
        font-size: 15px;
    }

    .fr-match-hero-side {
        display: none;
    }

    .fr-match-hero-centre {
        width: 100px;
        gap: 6px;
    }

    .fr-match-hero-score {
        gap: 8px;
    }

    .fr-match-hero-score strong {
        font-size: 44px;
    }

    .fr-match-hero-score span {
        width: 10px;
        height: 3px;
    }

    .fr-match-hero-scorers {
        column-gap: 106px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .fr-match-hero-scorers-list li {
        font-size: 12px;
        flex-wrap: wrap;
    }

    .fr-match-hero-facts li {
        flex: 1 1 50%;
        justify-content: flex-start;
        min-width: 0;
        padding: 14px 16px;
    }

    .fr-match-hero-facts li + li {
        border-left: 0;
    }

    .fr-match-hero-facts li:nth-child(even) {
        border-left: 1px solid var(--hero-line);
    }

    .fr-match-hero-facts li:nth-child(n + 3) {
        border-top: 1px solid var(--hero-line);
    }
}

/* ---------- Match officials (inside the hero) ---------- */

.fr-match-hero-officials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    padding: 14px 24px;
    border-top: 1px solid var(--hero-line);
    background: rgba(0, 0, 0, .1);
}

.fr-match-hero-officials-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hero-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.fr-match-hero-officials-title svg {
    width: 18px;
    height: 18px;
    stroke: #7ff0d9;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fr-match-hero-officials-list {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 8px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fr-match-hero-officials-list li {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.fr-match-hero-official-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(127, 240, 217, .12);
}

.fr-match-hero-official-icon svg {
    width: 18px;
    height: 18px;
    stroke: #7ff0d9;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fr-match-hero-official-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.fr-match-hero-officials-list small {
    color: var(--hero-soft);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.fr-match-hero-officials-list strong {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .fr-match-hero-officials {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
    }

    .fr-match-hero-officials-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 16px;
        width: 100%;
    }
}


/* ==========================================================
   HERO v2 — compact (about 40% shorter)
========================================================== */
html body .fr-match-hero { margin-bottom: 16px; border-radius: 18px; box-shadow: 0 12px 30px rgba(6, 24, 47, .2); }
html body .fr-match-hero-top { padding: 14px 24px 0; }
html body .fr-match-hero-competition { font-size: 13px; }
html body .fr-match-hero-status { min-height: 24px; padding: 0 12px; font-size: 11px; }

html body .fr-match-hero-board {
    grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr);
    gap: 16px;
    padding: 12px 24px 10px;
}
html body .fr-match-hero-team { gap: 3px; }
html body .fr-match-hero-crest { width: 88px; height: 88px; margin-bottom: 4px; box-shadow: 0 6px 18px rgba(0, 0, 0, .26); }
html body .fr-match-hero-crest img { width: 64px; height: 64px; }
html body .fr-match-hero-crest-fallback { font-size: 26px; }
html body .fr-match-hero-name { font-size: clamp(17px, 1.8vw, 22px); }
html body .fr-match-hero-side { font-size: 10px; }
html body .fr-match-hero-centre { width: 180px; gap: 4px; }
html body .fr-match-hero-score { gap: 12px; }
html body .fr-match-hero-score strong { font-size: clamp(44px, 5vw, 64px); }
html body .fr-match-hero-score span { width: 14px; height: 3px; }
html body .fr-match-hero-score--time strong,
html body .fr-match-hero-score--vs strong { font-size: clamp(30px, 3.6vw, 42px); }
html body .fr-match-hero-phase { font-size: 11px; }

html body .fr-match-hero-scorers { column-gap: 212px; padding: 0 24px 14px; }
html body .fr-match-hero-scorers-list { gap: 3px; }
html body .fr-match-hero-scorers-list li { font-size: 13px; }

html body .fr-match-hero-facts li { gap: 10px; padding: 10px 16px; min-width: 150px; }
html body .fr-match-hero-facts svg { flex-basis: 18px; width: 18px; height: 18px; }
html body .fr-match-hero-facts small { font-size: 10px; }
html body .fr-match-hero-facts strong { font-size: 14px; }

html body .fr-match-hero-officials { gap: 6px 18px; padding: 9px 20px; }
html body .fr-match-hero-officials-list { gap: 6px 20px; }
html body .fr-match-hero-official-icon { width: 26px; height: 26px; }
html body .fr-match-hero-official-icon svg { width: 15px; height: 15px; }
html body .fr-match-hero-officials-list small { font-size: 9px; }
html body .fr-match-hero-officials-list strong { font-size: 13px; }

@media (max-width: 900px) {
    html body .fr-match-hero-board { grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr); gap: 8px; padding-right: 16px; padding-left: 16px; }
    html body .fr-match-hero-centre { width: 140px; }
    html body .fr-match-hero-crest { width: 76px; height: 76px; }
    html body .fr-match-hero-crest img { width: 54px; height: 54px; }
    html body .fr-match-hero-scorers { column-gap: 156px; padding-right: 16px; padding-left: 16px; }
}

@media (max-width: 600px) {
    html body .fr-match-hero-top { padding: 12px 14px 0; }
    html body .fr-match-hero-board { grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); gap: 4px; padding: 10px 12px 8px; }
    html body .fr-match-hero-centre { width: 84px; }
    html body .fr-match-hero-crest { width: 56px; height: 56px; margin-bottom: 2px; }
    html body .fr-match-hero-crest img { width: 40px; height: 40px; }
    html body .fr-match-hero-name { font-size: 13px; }
    html body .fr-match-hero-score strong { font-size: 34px; }
    html body .fr-match-hero-score { gap: 6px; }
    html body .fr-match-hero-scorers { column-gap: 90px; padding: 0 12px 10px; }
    html body .fr-match-hero-scorers-list li { font-size: 11px; }
    html body .fr-match-hero-facts li { flex: 1 1 50%; padding: 8px 12px; gap: 8px; }
    html body .fr-match-hero-facts strong { font-size: 13px; }
    html body .fr-match-hero-officials { padding: 8px 12px; }
    html body .fr-match-hero-officials-list { gap: 6px 12px; }
    html body .fr-match-hero-official-icon { display: none; }
    html body .fr-match-hero-officials-list strong { font-size: 12px; }
}


/* Live minute counter (estimated from kick-off) */
.fr-match-hero-status .fr-live-clock {
    margin-left: 2px;
    font-variant-numeric: tabular-nums;
}
.fr-match-hero-status .fr-live-clock:empty { display: none; }

/* Half-time score, under the score */
html body .fr-match-hero-ht {
    margin-top: -2px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    font-variant-numeric: tabular-nums;
}


/* ---- match-blocks.css ---- */
/* ==========================================================
   FOOTBALL RWANDA
   Match page : data blocks (context, lineups, events,
   performances, statistics, highlights)
   File: assets/css/pages/match-blocks.css
   Loaded after match-hero.css.
========================================================== */

#match-context,
#match-lineups,
#match-events,
#match-performance,
#match-statistics,
#match-highlights {
    --mb-ink: #06182f;
    --mb-teal: #0a7f78;
    --mb-teal-soft: #e6f4f2;
    --mb-line: #e3e9ef;
    --mb-muted: #62748a;
    --mb-radius: 18px;
    --mb-shadow: 0 1px 2px rgba(6, 24, 47, .04), 0 8px 24px rgba(6, 24, 47, .05);

    margin: 44px 0 0;
    scroll-margin-top: 96px;
}

/* ---------- Section headings (one style for all blocks) ---------- */

#match-lineups .fr-match-lineups-heading > div > span,
#match-events .fr-match-events-heading > div > span,
#match-performance .fr-performance-heading > div > span,
#match-statistics .fr-match-statistics-heading > div > span,
#match-highlights .fr-match-featured-video-heading > div > span,
#match-context .fr-match-context-heading > span {
    display: none;
}

#match-context h2,
#match-lineups h2,
#match-events h2,
#match-performance h2,
#match-statistics h2,
#match-highlights h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--mb-ink) !important;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -.01em;
}

#match-context h2::before,
#match-lineups h2::before,
#match-events h2::before,
#match-performance h2::before,
#match-statistics h2::before,
#match-highlights h2::before {
    content: "";
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background-color: var(--mb-teal-soft);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

#match-context h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7f78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
#match-lineups h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7f78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M12 4v16M3 12h18'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E"); }
#match-events h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7f78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
#match-performance h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7f78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1L3.2 9.5l6.1-.9z'/%3E%3C/svg%3E"); }
#match-statistics h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7f78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 15l4-4 3 3 5-6'/%3E%3C/svg%3E"); }
#match-highlights h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7f78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M10 9.5v5l4.5-2.5z'/%3E%3C/svg%3E"); }

#match-lineups p,
#match-events .fr-match-events-heading p,
#match-performance .fr-performance-heading p,
#match-statistics .fr-match-statistics-heading p,
#match-highlights .fr-match-featured-video-heading p {
    margin: 6px 0 0 48px;
    color: var(--mb-muted);
    font-size: 14px;
}

#match-lineups .fr-match-lineups-heading,
#match-events .fr-match-events-heading,
#match-performance .fr-performance-heading,
#match-statistics .fr-match-statistics-heading,
#match-highlights .fr-match-featured-video-heading,
#match-context .fr-match-context-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding: 0;
}

/* ---------- Shared card ---------- */

#match-events .fr-match-events-card,
#match-performance .fr-performance-card,
#match-statistics .fr-match-statistics-card,
#match-lineups .fr-match-lineup-card {
    background: #fff;
    border: 1px solid var(--mb-line);
    border-radius: var(--mb-radius);
    box-shadow: var(--mb-shadow);
    overflow: hidden;
}

/* ---------- Match context : inner cards, no outer card ---------- */

#match-context.fr-match-context {
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
}

#match-context .fr-match-context-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

#match-context .fr-match-context-card {
    background: #fff;
    border: 1px solid var(--mb-line);
    border-radius: var(--mb-radius);
    box-shadow: var(--mb-shadow);
    padding: 22px 24px;
}

/* ---------- Lineups ---------- */

#match-lineups .fr-match-lineups-grid {
    gap: 24px;
}

#match-lineups .fr-match-lineup-header {
    background: linear-gradient(180deg, #f6f9fb, #fff);
}

#match-lineups .fr-match-lineup-group-title {
    padding: 16px 20px 6px;
    color: var(--mb-muted);
}

#match-lineups .fr-player-starter {
    display: none;
}

#match-lineups .fr-match-lineup-arrow {
    display: none;
}

#match-lineups .fr-player-captain {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border-radius: 50%;
    background: #f5a623;
    color: #fff;
    font-size: 0;
    line-height: 1;
}

#match-lineups .fr-player-captain::after {
    content: "C";
    font-size: 10px;
    font-weight: 800;
}

/* ---------- Events : two-sided timeline ---------- */

#match-events .fr-match-events-list {
    position: relative;
    padding: 12px 0;
}

#match-events .fr-match-events-list::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: var(--mb-line);
}

#match-events article.fr-match-event {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 64px 1fr;
    align-items: center;
    gap: 0;
    padding: 10px 24px;
    border: 0;
}

#match-events article.fr-match-event .fr-match-event-time {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    z-index: 1;
    min-width: 52px;
    padding: 5px 8px;
    text-align: center;
    border-radius: 999px;
    background: var(--mb-ink);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

#match-events article.fr-match-event .fr-match-event-icon,
#match-events article.fr-match-event .fr-match-event-content {
    grid-row: 1;
}

#match-events article.fr-match-event--home .fr-match-event-content {
    grid-column: 1;
    text-align: right;
}

#match-events article.fr-match-event--home .fr-match-event-icon {
    right: calc(50% + 40px);
}

#match-events article.fr-match-event--home .fr-match-event-content {
    padding-right: 52px;
}

#match-events article.fr-match-event--away .fr-match-event-content {
    grid-column: 3;
    text-align: left;
}

#match-events article.fr-match-event--away .fr-match-event-icon {
    left: calc(50% + 40px);
}

#match-events article.fr-match-event--away .fr-match-event-content {
    padding-left: 52px;
}

#match-events article.fr-match-event .fr-match-event-icon {
    position: absolute;
    top: 50%;
    margin-top: -18px;
    width: 36px;
    height: 36px;
}

#match-events article.fr-match-event--neutral .fr-match-event-content {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: center;
}

#match-events .fr-match-event-main {
    justify-content: inherit;
}

#match-events article.fr-match-event--home .fr-match-event-main {
    justify-content: flex-end;
}

/* ---------- Performances ---------- */

#match-performance .fr-performance-card {
    padding: 0;
}

#match-performance .fr-performance-team-block + .fr-performance-team-block {
    border-top: 1px solid var(--mb-line);
}

#match-performance .fr-performance-team-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    background: linear-gradient(180deg, #f6f9fb, #fff);
}

#match-performance .fr-performance-team-crest {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--mb-line);
    font-size: 12px;
    font-weight: 700;
}

#match-performance .fr-performance-team-crest img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#match-performance .fr-performance-team-header strong {
    color: var(--mb-ink);
    font-size: 17px;
}

#match-performance .fr-performance-team-header small {
    color: var(--mb-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

#match-performance .fr-performance-team-count {
    margin-left: auto;
    min-width: 28px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--mb-teal-soft);
    color: var(--mb-teal);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

#match-performance .fr-performance-table-wrapper {
    overflow-x: auto;
}

#match-performance .fr-performance-table {
    width: 100%;
    border-collapse: collapse;
}

#match-performance .fr-performance-table .col-team {
    display: none;
}

#match-performance .fr-performance-table th,
#match-performance .fr-performance-table td {
    text-align: center;
}

#match-performance .fr-performance-table th.col-player,
#match-performance .fr-performance-table td.col-player {
    text-align: left;
    width: 42%;
}

/* ---------- Statistics ---------- */

#match-statistics .fr-match-statistics-card {
    padding: 24px 28px 14px;
}

#match-statistics .fr-match-stat-row {
    padding: 12px 0;
    border-top: 1px solid var(--mb-line);
}

#match-statistics .fr-match-stat-values {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: baseline;
    gap: 12px;
}

#match-statistics .fr-match-stat-home-value { text-align: left; }
#match-statistics .fr-match-stat-away-value { text-align: right; }

#match-statistics .fr-match-stat-label {
    color: var(--mb-muted);
    font-size: 13px;
    text-align: center;
}

#match-statistics .fr-match-stat-bar {
    display: flex;
    gap: 4px;
    height: 6px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 999px;
}

/* ---------- Highlights ---------- */

#match-highlights .fr-match-featured-video-card,
#match-highlights .fr-match-featured-video-section > div {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Responsive ---------- */

@media (max-width: 700px) {

    #match-context,
    #match-lineups,
    #match-events,
    #match-performance,
    #match-statistics,
    #match-highlights {
        margin-top: 32px;
    }

    #match-context h2,
    #match-lineups h2,
    #match-events h2,
    #match-performance h2,
    #match-statistics h2,
    #match-highlights h2 {
        font-size: 22px;
    }

    #match-lineups p,
    #match-events .fr-match-events-heading p,
    #match-performance .fr-performance-heading p,
    #match-statistics .fr-match-statistics-heading p,
    #match-highlights .fr-match-featured-video-heading p {
        margin-left: 0;
    }

    #match-events .fr-match-events-list::before {
        left: 90px;
    }

    #match-events article.fr-match-event {
        grid-template-columns: 56px 1fr;
        padding: 8px 14px;
    }

    #match-events article.fr-match-event .fr-match-event-time {
        grid-column: 1;
    }

    #match-events article.fr-match-event--home .fr-match-event-content,
    #match-events article.fr-match-event--away .fr-match-event-content,
    #match-events article.fr-match-event--neutral .fr-match-event-content {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        padding-left: 10px;
    }

    #match-events article.fr-match-event--home .fr-match-event-main {
        justify-content: flex-start;
    }

    #match-events article.fr-match-event {
        grid-template-columns: 52px 32px minmax(0, 1fr);
        column-gap: 8px;
    }

    #match-events article.fr-match-event .fr-match-event-icon {
        display: flex;
        position: static;
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        width: 32px;
        height: 32px;
    }

    #match-events article.fr-match-event .fr-match-event-icon span {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    #match-events article.fr-match-event--home .fr-match-event-content,
    #match-events article.fr-match-event--away .fr-match-event-content,
    #match-events article.fr-match-event--neutral .fr-match-event-content {
        grid-column: 3;
    }

    #match-events article.fr-match-event--home .fr-match-event-content,
    #match-events article.fr-match-event--away .fr-match-event-content {
        padding: 0 0 0 10px;
    }

    #match-statistics .fr-match-statistics-card {
        padding: 18px 16px 8px;
    }

    #match-performance .fr-performance-table th.col-player,
    #match-performance .fr-performance-table td.col-player {
        width: auto;
        min-width: 150px;
    }
}

/* ---------- Calculated rating (no typed rating) ---------- */

#match-performance .fr-rating--auto {
    cursor: help;
    box-shadow: inset 0 0 0 1px currentColor;
    background-image: none;
}

/* ---------- Statistics header: score between the clubs ---------- */

#match-statistics .fr-match-statistics-vs--score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: none;
    border: 0;
}

/* "FT 90+5'" under the score */
#match-statistics .fr-match-statistics-ft {
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: .06em;
    white-space: nowrap;
}

#match-statistics .fr-match-statistics-score {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--mb-ink);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .02em;
    font-variant-numeric: tabular-nums;
}

#match-statistics .fr-match-statistics-score i {
    font-style: normal;
    opacity: .55;
}

/* ==========================================================
   Match officials
========================================================== */

#match-officials {
    --mb-ink: #06182f;
    --mb-line: #e3e9ef;
    --mb-muted: #62748a;
    --mb-radius: 18px;
    --mb-shadow: 0 1px 2px rgba(6, 24, 47, .04), 0 8px 24px rgba(6, 24, 47, .05);

    margin: 44px 0 0;
    scroll-margin-top: 96px;
}

#match-officials h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--mb-ink);
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -.01em;
}

#match-officials h2::before {
    content: "";
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #e6f4f2 no-repeat center / 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7f78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.2 8-8 9-4.8-1-8-4.5-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

@media (max-width: 700px) {

    #match-officials {
        margin-top: 32px;
    }

    #match-officials h2 {
        font-size: 22px;
    }
}


/* ---- match-display.css ---- */
/* ==========================================================
   Football Rwanda - Match page: home identity (typeset / polish)
   Loaded last on single matches (after match-blocks.css).
   CSS only: same markup, same content.

   - Display role: Saira (assets/css/base/fonts.css) for titles,
     team names and every number that reads like a scoreboard
     (score, minutes, stats, ratings, league positions).
   - Status pills in the same colours as the home page
     (green finished, red live, amber postponed, blue scheduled).
   - Rwanda flag band closing the hero, as on the home hero.
   ========================================================== */

.fr-single-match-page {
    --fr-display: 'Saira', 'Inter', system-ui, sans-serif;
}


/* ---------- Hero ---------- */

html body .fr-match-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 5px;
    background: linear-gradient(90deg, #00A1DE 0 50%, #FAD201 50% 75%, #20603D 75% 100%);
    pointer-events: none;
}

html body .fr-match-hero-score,
html body .fr-match-hero-score strong {
    font-family: var(--fr-display);
    font-stretch: 87.5%;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

html body .fr-match-hero-name {
    font-family: var(--fr-display);
    font-stretch: 87.5%;
    font-weight: 600;
    letter-spacing: .005em;
    text-transform: uppercase;
}

html body .fr-match-hero-minutes,
html body .fr-match-hero-ht {
    font-variant-numeric: tabular-nums;
}

/* Status pills: same meaning, same colours as the home page. */
html body .fr-match-hero-status--finished {
    background: #009879;
    color: #fff;
}

html body .fr-match-hero-status--live {
    background: #c81e1e;
    color: #fff;
}

html body .fr-match-hero-status--postponed,
html body .fr-match-hero-status--suspended,
html body .fr-match-hero-status--cancelled {
    background: #FEF3C7;
    color: #8A3B0B;
}

html body .fr-match-hero-status--scheduled,
html body .fr-match-hero-status--upcoming {
    background: #0B6FA4;
    color: #fff;
}


/* ---------- Section titles ---------- */

html body .fr-single-match-page section h2,
html body .fr-single-match-page .fr-match-statistics-heading h2,
html body .fr-single-match-page .fr-match-events-heading h2,
html body .fr-single-match-page .fr-match-lineups-heading h2 {
    font-family: var(--fr-display);
    font-stretch: 87.5%;
    font-weight: 550;
    letter-spacing: -0.005em;
    line-height: 1.05;
}


/* ---------- Tabs: current tab in navy, like the matchday stepper ---------- */

html body .fr-match-tab.is-active {
    background: #031826;
    border-color: #031826;
    color: #fff;
}


/* ---------- Numbers that read like a scoreboard ---------- */

html body .fr-match-statistics-score,
html body .fr-match-stat-home-value,
html body .fr-match-stat-away-value,
html body .fr-match-event-time,
html body .fr-match-events-count,
html body .fr-lineup-count,
html body .fr-rating,
html body .fr-player-number,
html body .fr-lu-min {
    font-family: var(--fr-display);
    font-stretch: 87.5%;
    font-variant-numeric: tabular-nums;
}

html body .fr-match-stat-home-value,
html body .fr-match-stat-away-value {
    font-size: 19px;
    font-weight: 800;
}

html body .fr-match-statistics-score {
    font-weight: 800;
    letter-spacing: 0;
}

html body .fr-match-event-time {
    font-weight: 800;
}

html body .fr-rating {
    font-weight: 800;
}


/* ---------- Coloured headers, as the home panels ----------
   (#match-lineups / #match-statistics: the original rules use these IDs.) */

html body #match-lineups .fr-match-lineup-card {
    overflow: hidden;
}

html body #match-lineups .fr-match-lineup-header {
    border-bottom: 0;
    background: #031826;
}

html body #match-lineups .fr-away-lineup .fr-match-lineup-header {
    background: #007863;
}

html body #match-lineups .fr-match-lineup-header span {
    color: #9fd9cc;
}

html body #match-lineups .fr-away-lineup .fr-match-lineup-header span {
    color: #d3f2ea;
}

html body #match-lineups .fr-match-lineup-header h3 {
    color: #fff;
    font-family: var(--fr-display);
    font-size: 22px;
    font-stretch: 87.5%;
    font-weight: 600;
}

html body #match-lineups .fr-match-lineup-header .fr-lineup-count {
    border-color: transparent;
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

html body #match-lineups .fr-match-lineup-club {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    background: #fff;
}

html body #match-statistics .fr-match-statistics-teams {
    margin-bottom: 14px;
    border-bottom: 0;
    border-radius: 12px;
    background: #031826;
}

html body #match-statistics .fr-match-statistics-team strong {
    color: #fff;
}

html body #match-statistics .fr-match-statistics-team img {
    padding: 3px;
    border-radius: 50%;
    background: #fff;
}

html body #match-statistics .fr-match-statistics-score {
    background: #fff;
    color: #031826;
}


/* ---------- Browser surfaces ---------- */

html body .fr-single-match-page a:focus-visible,
html body .fr-single-match-page button:focus-visible {
    outline: 2px solid #009879;
    outline-offset: 3px;
    border-radius: 6px;
}


/* Lineups: the team switch already names the club, so the card does
   not repeat it (kept without JS, where both cards are shown). */
html body #match-lineups .fr-match-lineups-grid.is-js .fr-match-lineup-header {
    display: none;
}

html body #match-lineups .fr-match-lineups-grid.is-js .fr-match-lineup-card {
    border-top: 4px solid #031826;
}


/* ==========================================================
   Player of the Match (single-match.php): best rating of the match
   ========================================================== */

/* Match report (single-match.php, text of the match editor) */
html body .fr-match-report {
    margin: 0 0 28px;
    padding: 20px 24px;
    border: 1px solid #007863;
    border-radius: 18px;
    background: #fff;
}

html body .fr-match-report-title {
    margin: 0 0 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f3f7f6;
    color: #071b35;
    font-family: var(--fr-display, 'Saira', 'Inter', sans-serif);
    font-size: 24px;
    font-stretch: 87.5%;
    font-weight: 600;
    line-height: 1.1;
}

html body .fr-match-report-body {
    color: #24364a;
    font-size: 16px;
    line-height: 1.7;
}

html body .fr-match-report-body p {
    margin: 0 0 12px;
}

html body .fr-match-report-body > :last-child {
    margin-bottom: 0;
}

/* Links in the report (automatic ones and those typed by hand) */
html body .fr-match-report-body a {
    color: #007863;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(0, 120, 99, .35);
    text-underline-offset: 3px;
}

html body .fr-match-report-body a:hover {
    text-decoration-color: currentColor;
}

@media (max-width: 600px) {
    html body .fr-match-report { padding: 16px; }
    html body .fr-match-report-title { font-size: 20px; }
}

html body .fr-potm {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin: 0 0 28px;
    padding: 18px 22px;
    border: 1px solid #f1d48a;
    border-radius: 18px;
    background: linear-gradient(120deg, #fffaf0 0%, #ffffff 55%, #f3f7f6 100%);
    box-shadow: 0 8px 24px rgba(3, 24, 38, .06);
}

html body .fr-potm-badge {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f5c542, #d99a00);
    color: #fff;
    box-shadow: 0 6px 16px rgba(217, 154, 0, .3);
}

html body .fr-potm-player {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

html body .fr-potm-photo {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #e8eef4;
    object-fit: cover;
    object-position: center top;
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #f5d77a;
}

html body .fr-potm-text {
    min-width: 0;
}

html body .fr-potm-label {
    display: block;
    color: #b07a00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

html body .fr-potm-text strong {
    display: block;
    margin-top: 2px;
    color: #071b35;
    font-family: var(--fr-display, 'Saira', 'Inter', sans-serif);
    font-size: 26px;
    font-stretch: 87.5%;
    font-weight: 600;
    line-height: 1.1;
}

html body .fr-potm-player:hover .fr-potm-text strong {
    color: #007863;
}

html body .fr-potm-text small {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: #5b6b7b;
    font-size: 13px;
    font-weight: 600;
}

html body .fr-potm-text small img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

html body .fr-potm-figures {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

html body .fr-potm-figures > span {
    padding: 6px 11px;
    border-radius: 999px;
    background: #f3f7f6;
    color: #5b6b7b;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

html body .fr-potm-figures b {
    color: #071b35;
}

html body .fr-potm-figures .fr-potm-rating {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 64px;
    padding: 8px 12px;
    border-radius: 14px;
    background: #007863;
    color: #fff;
    font-family: var(--fr-display, 'Saira', 'Inter', sans-serif);
    font-size: 28px;
    font-stretch: 87.5%;
    font-weight: 600;
    line-height: 1;
}

html body .fr-potm-rating small {
    margin-top: 3px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .85;
}

/* Lineups: badge next to the rating */
html body .fr-lu-potm {
    padding: 2px 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f5c542, #d99a00);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
}

@media (max-width: 700px) {
    html body .fr-potm {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
    }

    html body .fr-potm-figures {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    html body .fr-potm-photo {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }

    html body .fr-potm-text strong {
        font-size: 21px;
    }
}

/* ==========================================================
   Match Events: "1st Half" / "2nd Half" / "Extra Time" dividers
   (centred on the timeline, with the HT / FT score)
   ========================================================== */

html body #match-events .fr-match-events-period {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 14px 0 10px;
}

html body #match-events .fr-match-events-period::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 50%;
    height: 1px;
    background: #dbe6e3;
    z-index: -1;
}

html body #match-events .fr-match-events-period:first-child {
    margin-top: 0;
}

html body #match-events .fr-match-events-period-name,
html body #match-events .fr-match-events-period-score {
    padding: 6px 14px;
    border: 1px solid #dbe6e3;
    background: #f3f7f6;
    color: #071b35;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

html body #match-events .fr-match-events-period-name {
    border-radius: 999px 0 0 999px;
}

html body #match-events .fr-match-events-period-name:last-child {
    border-radius: 999px;
}

html body #match-events .fr-match-events-period-score {
    border-left: 0;
    border-radius: 0 999px 999px 0;
    background: #007863;
    border-color: #007863;
    color: #fff;
    font-family: var(--fr-display, 'Saira', 'Inter', sans-serif);
    font-size: 14px;
    font-stretch: 87.5%;
    letter-spacing: .02em;
}

html body #match-events .fr-match-events-period-score small {
    margin-right: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    opacity: .8;
}

html body #match-events .fr-match-events-period-empty {
    position: relative;
    z-index: 1;
    width: max-content;
    margin: 0 auto 6px;
    padding: 2px 10px;
    background: #fff;
    color: #8193a6;
    font-size: 12.5px;
    font-style: italic;
}


/* ---- consent.css ---- */
html body .fr-consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:99999;max-width:760px;margin:0 auto;display:flex;gap:20px;align-items:center;justify-content:space-between;padding:18px 20px;background:#06182f;color:#dbe6f1;border-radius:18px;box-shadow:0 12px 40px rgba(6,24,47,.35);font-size:14px;line-height:1.5}
html body .fr-consent[hidden]{display:none}
html body .fr-consent strong{color:#fff;font-size:15px}
html body .fr-consent p{margin:4px 0 0;color:#b7c7d8}
html body .fr-consent a{color:#5fe0cf;font-weight:600}
html body .fr-consent-actions{display:flex;gap:8px;flex-shrink:0}
html body .fr-consent-btn{height:42px;padding:0 18px;border:0;border-radius:999px;background:#0a7f78;color:#fff;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}
html body .fr-consent-btn:hover{background:#0c968d}
html body .fr-consent-btn.is-ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
html body .fr-consent-btn.is-ghost:hover{background:rgba(255,255,255,.1)}
html body .fr-consent-btn:focus-visible{outline:2px solid #5fe0cf;outline-offset:2px}
@media(max-width:600px){html body .fr-consent{flex-direction:column;align-items:stretch;gap:14px}html body .fr-consent-actions{flex-direction:column}}


/* ---- coach.css ---- */
/**
 * Football Rwanda - Coaches
 * (directory, coach page, match block)
 * File: assets/css/pages/coach.css
 */

/* ---------- Division tabs (same look as Players / Clubs) ---------- */

html body .fr-coach-archive .fr-division-tabs {
    display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px;
}
html body .fr-coach-archive .fr-division-tab {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 12px; border-radius: 999px;
    background: #fff; border: 1px solid #e3e9ef;
    color: #06182f; font-size: 14px; font-weight: 700; text-decoration: none;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
html body .fr-coach-archive .fr-division-tab span {
    padding: 2px 8px; border-radius: 999px; background: #eef2f6; color: #62748a; font-size: 12px; font-weight: 800;
}
html body .fr-coach-archive .fr-division-tab:hover { border-color: #0a7f78; color: #0a7f78; }
html body .fr-coach-archive .fr-division-tab.is-active { background: #06182f; border-color: #06182f; color: #fff; }
html body .fr-coach-archive .fr-division-tab.is-active span { background: rgba(255,255,255,.18); color: #fff; }

@media (max-width: 600px) {
    html body .fr-coach-archive .fr-division-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
    html body .fr-coach-archive .fr-division-tab { flex: 0 0 auto; }
}

/* ---------- Directory list ---------- */

html body .fr-co-list {
    background: #fff;
    border: 1px solid #e3e9ef;
    border-radius: 18px;
    overflow: hidden;
}

html body .fr-co-list-header,
html body .fr-co-item {
    display: grid;
    grid-template-columns: minmax(0, 2.6fr) minmax(0, 1.5fr) minmax(0, 1.2fr) 70px 60px 110px;
    gap: 14px;
    align-items: center;
    padding: 11px 18px;
}

html body .fr-co-list-header {
    background: #f5f8fa;
    border-bottom: 1px solid #e3e9ef;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #62748a;
}

html body .fr-co-item { border-bottom: 1px solid #eef2f6; transition: background .15s; }
html body .fr-co-item:last-child { border-bottom: 0; }
html body .fr-co-item:hover { background: #f8fbfb; }

html body .fr-co-item-main { display: flex; align-items: center; gap: 12px; min-width: 0; }

html body .fr-co-item-photo {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    background: #e6edf3;
    border: 1px solid #e3e9ef;
}

html body .fr-co-item-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

html body .fr-co-item-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

html body .fr-co-item-name {
    font-size: 14px; font-weight: 700; color: #06182f; text-decoration: none; line-height: 1.25;
}
html body .fr-co-item-name:hover { color: #0a7f78; }

html body .fr-co-item-id small { font-size: 11px; font-weight: 600; color: #62748a; }

html body .fr-co-label { display: none; }
html body .fr-co-muted { color: #9aa8b8; }

html body .fr-co-clubline {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: #1d3147;
}
html body .fr-co-clubline img { object-fit: contain; flex: 0 0 auto; }

html body .fr-co-item-num { font-weight: 700; font-size: 13px; color: #06182f; }

html body .fr-co-item-action {
    justify-self: end; font-size: 12px; font-weight: 700; color: #0a7f78; text-decoration: none; white-space: nowrap;
}
html body .fr-co-item-action:hover { text-decoration: underline; }

@media (max-width: 860px) {
    html body .fr-co-list-header { display: none; }

    html body .fr-co-item {
        grid-template-columns: 1fr 1fr;
        gap: 12px 16px;
        padding: 16px;
    }

    html body .fr-co-item-main { grid-column: 1 / -1; }
    html body .fr-co-label { display: block; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8aa0b5; margin-bottom: 3px; }
    html body .fr-co-item-action { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Coach page ---------- */

html body .fr-coach-page { padding: 20px 0 60px; }

html body .fr-co-hero {
    color: #fff;
    border-radius: 22px;
    padding: 34px 36px 0;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 20% 0%, rgba(80,140,210,.22), transparent 60%),
        linear-gradient(160deg, #06182f 0%, #0a2c47 60%, #0d3556 100%);
}

html body .fr-co-hero-top { display: flex; align-items: center; gap: 28px; padding-bottom: 28px; }

html body .fr-co-hero-photo {
    flex: 0 0 128px;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    overflow: hidden;
    background: #e6edf3;
    border: 4px solid rgba(255,255,255,.9);
    box-shadow: 0 10px 30px rgba(0,0,0,.28);
}

html body .fr-co-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

html body .fr-co-hero-eyebrow {
    display: inline-block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #9ad0ff;
    background: rgba(154,208,255,.14);
    border-radius: 999px;
}

html body .fr-co-hero h1 {
    margin: 10px 0 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
}

html body .fr-co-hero-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

html body .fr-co-hero-chips span {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 4px 11px; font-size: 12px; font-weight: 800; color: #fff;
    background: rgba(255,255,255,.14); border-radius: 999px;
}

html body .fr-co-hero-club {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    margin: 16px 0 0; font-size: 17px; font-weight: 800; color: #fff;
}
html body .fr-co-hero-club img { background: #fff; border-radius: 8px; padding: 3px; object-fit: contain; }
html body .fr-co-hero-club a { color: #fff; text-decoration: none; }
html body .fr-co-hero-club a:hover { text-decoration: underline; }
html body .fr-co-hero-club em {
    font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
    padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.16);
}

html body .fr-co-hero-facts {
    display: flex; flex-wrap: wrap; margin: 0 -36px; padding: 0; list-style: none;
    background: rgba(255,255,255,.06); border-top: 1px solid rgba(255,255,255,.12);
}
html body .fr-co-hero-facts li {
    display: flex; flex-direction: column; gap: 3px; flex: 1 1 140px;
    padding: 16px 24px; border-right: 1px solid rgba(255,255,255,.1);
}
html body .fr-co-hero-facts li:last-child { border-right: 0; }
html body .fr-co-hero-facts small { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.6); }
html body .fr-co-hero-facts strong { font-size: 15px; font-weight: 800; color: #fff; }

/* numbers */

html body .fr-co-numbers {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

html body .fr-co-number {
    background: #fff; border: 1px solid #e3e9ef; border-radius: 16px;
    padding: 16px 12px; text-align: center;
}
html body .fr-co-number strong { display: block; font-size: 26px; font-weight: 800; color: #06182f; line-height: 1.1; }
html body .fr-co-number span { display: block; margin-top: 5px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #62748a; }

/* layout */

html body .fr-co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
html body .fr-co-main, html body .fr-co-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

html body .fr-co-card { background: #fff; border: 1px solid #e3e9ef; border-radius: 18px; padding: 22px 24px; }
html body .fr-co-card h2 { margin: 0 0 16px; font-size: 20px; font-weight: 800; color: #06182f; }

html body .fr-co-prose { font-size: 15px; line-height: 1.7; color: #33475c; }
html body .fr-co-prose p { margin: 0 0 12px; }
html body .fr-co-empty { margin: 0; color: #8aa0b5; font-size: 14px; }

/* form pills */

html body .fr-co-form { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
html body .fr-co-form small { margin-left: 8px; color: #8aa0b5; font-size: 12px; font-weight: 700; }

html body .fr-co-pill {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    font-size: 13px; font-weight: 800; color: #fff; flex: 0 0 30px;
}
html body .fr-co-pill--w { background: #12a15a; }
html body .fr-co-pill--d { background: #8a98a8; }
html body .fr-co-pill--l { background: #d64545; }

/* timeline */

html body .fr-co-timeline { list-style: none; margin: 0; padding: 0; }

html body .fr-co-timeline li {
    position: relative;
    display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px;
    padding: 0 0 18px 22px;
    border-left: 2px solid #e3e9ef;
    margin-left: 6px;
}
html body .fr-co-timeline li:last-child { padding-bottom: 0; }
html body .fr-co-timeline li::before {
    content: ""; position: absolute; left: -7px; top: 3px;
    width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid #9fb2c4;
}
html body .fr-co-timeline li.is-current::before { border-color: #0a7f78; background: #0a7f78; }

html body .fr-co-tl-years { font-size: 13px; font-weight: 800; color: #62748a; white-space: nowrap; }
html body .fr-co-tl-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body .fr-co-tl-body strong { font-size: 16px; font-weight: 800; color: #06182f; }
html body .fr-co-tl-body small { font-size: 13px; font-weight: 600; color: #62748a; }

/* table */

html body .fr-co-table-wrap { overflow-x: auto; }
html body .fr-co-table { width: 100%; border-collapse: collapse; font-size: 14px; }
html body .fr-co-table th, html body .fr-co-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid #eef2f6; }
html body .fr-co-table thead th { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #62748a; }
html body .fr-co-table tbody th { text-align: left; font-weight: 800; color: #06182f; white-space: nowrap; }
html body .fr-co-table tbody tr:last-child th, html body .fr-co-table tbody tr:last-child td { border-bottom: 0; }

/* matches */

html body .fr-co-matches { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
html body .fr-co-matches li { display: flex; align-items: center; gap: 12px; }

html body .fr-co-match-link {
    flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
    padding: 10px 14px; border: 1px solid #eef2f6; border-radius: 12px;
    color: #06182f; text-decoration: none; transition: background .15s, border-color .15s;
}
html body .fr-co-match-link:hover { background: #f8fbfb; border-color: #cfe3e1; }
html body .fr-co-match-date { font-size: 12px; font-weight: 800; color: #8aa0b5; min-width: 82px; }
html body .fr-co-match-teams { font-size: 14px; font-weight: 700; }
html body .fr-co-match-teams b { margin: 0 8px; padding: 2px 9px; border-radius: 8px; background: #06182f; color: #fff; font-size: 13px; }

/* side */

html body .fr-co-side-card h2 { font-size: 18px; }
html body .fr-co-info { margin: 0; display: flex; flex-direction: column; gap: 12px; }
html body .fr-co-info dt { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8aa0b5; }
html body .fr-co-info dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; color: #06182f; }

html body .fr-co-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
html body .fr-co-links a {
    padding: 6px 12px; font-size: 13px; font-weight: 800; color: #0a7f78; background: #e6f4f2;
    border-radius: 999px; text-decoration: none;
}
html body .fr-co-links a:hover { background: #d3ece9; }

html body .fr-co-staff { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
html body .fr-co-staff a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #06182f; }
html body .fr-co-staff img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #e6edf3; }
html body .fr-co-staff span { display: flex; flex-direction: column; }
html body .fr-co-staff strong { font-size: 14px; font-weight: 800; }
html body .fr-co-staff small { font-size: 12px; font-weight: 700; color: #62748a; }
html body .fr-co-staff a:hover strong { color: #0a7f78; }

html body .fr-co-back { font-size: 14px; font-weight: 800; color: #0a7f78; text-decoration: none; }
html body .fr-co-back:hover { text-decoration: underline; }

/* ---------- Match page : coaches ---------- */

html body .fr-match-coaches {
    margin: 14px 0;
    background: #fff;
    border: 1px solid #e3e9ef;
    border-radius: 16px;
    padding: 14px 18px;
}

html body .fr-match-coaches-title {
    display: block; margin-bottom: 10px;
    font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #62748a;
}

html body .fr-match-coaches-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }

html body .fr-match-coach--away { text-align: right; }
html body .fr-match-coach--away .fr-match-coach-main { flex-direction: row-reverse; }

html body .fr-match-coach-main {
    display: flex; align-items: center; gap: 12px; text-decoration: none; color: #06182f;
}
html body .fr-match-coach-main img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #e6edf3; flex: 0 0 52px; }
html body .fr-match-coach-main span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body .fr-match-coach-main small { font-size: 11px; font-weight: 700; color: #62748a; }
html body .fr-match-coach-main strong { font-size: 16px; font-weight: 800; }
html body a.fr-match-coach-main:hover strong { color: #0a7f78; }

html body .fr-match-coach-assistants { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: #33475c; }
html body .fr-match-coach-assistants small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8aa0b5; margin-bottom: 2px; }
html body .fr-match-coach-assistants a { color: inherit; text-decoration: none; }
html body .fr-match-coach-assistants a:hover { color: #0a7f78; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
    html body .fr-co-layout { grid-template-columns: 1fr; }
    html body .fr-co-numbers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    html body .fr-co-hero { padding: 24px 18px 0; border-radius: 18px; }
    html body .fr-co-hero-top { flex-direction: column; text-align: center; gap: 16px; }
    html body .fr-co-hero-chips, html body .fr-co-hero-club { justify-content: center; }
    html body .fr-co-hero-facts { margin: 0 -18px; }
    html body .fr-co-hero-facts li { flex: 1 1 45%; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
    html body .fr-co-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html body .fr-co-number:last-child { grid-column: 1 / -1; }
    html body .fr-co-card { padding: 18px 16px; }
    html body .fr-co-timeline li { grid-template-columns: 1fr; gap: 2px; }
    html body .fr-co-matches li { align-items: stretch; }
    html body .fr-match-coaches-grid { grid-template-columns: 1fr; }
    html body .fr-match-coach--away { text-align: left; }
    html body .fr-match-coach--away .fr-match-coach-main { flex-direction: row; }
}

/* ==========================================================
   NATIONALITIES : players / coaches
========================================================== */

html body .fr-nat-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
html body .fr-nat-tab {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 14px; border-radius: 999px;
    background: #fff; border: 1px solid #e3e9ef;
    color: #06182f; font-size: 14px; font-weight: 700; text-decoration: none;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
html body .fr-nat-tab span { padding: 2px 8px; border-radius: 999px; background: #eef2f6; color: #62748a; font-size: 12px; font-weight: 800; }
html body .fr-nat-tab:hover { border-color: #0a7f78; color: #0a7f78; }
html body .fr-nat-tab.is-active { background: #06182f; border-color: #06182f; color: #fff; }
html body .fr-nat-tab.is-active span { background: rgba(255,255,255,.18); color: #fff; }

/* four columns: nationality / players / coaches / action */
html body .fr-nationality-archive--people .fr-nationality-list-header,
html body .fr-nationality-archive--people .fr-nationality-list-item {
    grid-template-columns: minmax(220px, 2fr) 100px 100px 130px;
}

html body .fr-nationality-list-coaches strong { color: #0b3d6b; }
html body .fr-nationality-list-coaches.is-zero { opacity: .45; }

@media (max-width: 700px) {
    html body .fr-nationality-archive--people .fr-nationality-list { overflow: hidden; }

    html body .fr-nationality-archive--people .fr-nationality-list-item {
        min-width: 0;
        grid-template-columns: 1fr 1fr;
        gap: 10px 12px;
        padding: 14px;
    }

    html body .fr-nationality-archive--people .fr-nationality-list-nationality,
    html body .fr-nationality-archive--people .fr-nationality-list-action {
        grid-column: 1 / -1;
    }

    html body .fr-nationality-archive--people .fr-nationality-list-action { justify-self: start; }
}

html body .fr-nat-count {
    display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px;
    background: #eef2f6; color: #62748a; font-size: 13px; font-weight: 800; vertical-align: middle;
}

html body .fr-nationality-coaches { margin-top: 36px; }

@media (max-width: 600px) {
    html body .fr-nat-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
    html body .fr-nat-tab { flex: 0 0 auto; }
}

html body .fr-nat-switch {
    display: inline-block; margin: 4px 6px; padding: 8px 16px; border-radius: 999px;
    background: #06182f; color: #fff; font-size: 14px; font-weight: 800; text-decoration: none;
}
html body .fr-nat-switch:hover { background: #0a7f78; }


/* ---- partners.css ---- */
/* ==========================================================
   Football Rwanda — partner slots (banners, sponsor lines)
   Markup: inc/partners/partners-display.php
   ========================================================== */

html body .fr-partner-slot {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

html body .fr-partner-slot--home_top,
html body .fr-partner-slot--home_mid,
html body .fr-partner-slot--home_bottom {
    width: min(1240px, calc(100% - 32px));
    margin: 28px auto;
}

html body .fr-partner-slot--player {
    grid-column: 1 / -1; /* the player sidebar is a 2-column grid */
    margin: 0;
}

/* ---------- Sponsor line: "Presented by" / "Official partners" ---------- */

html body .fr-sponsor-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    padding: 12px 18px;
    border: 1px solid #e3e9ef;
    border-radius: 14px;
    background: #fff;
}

html body .fr-sponsor-label {
    color: #5b6b7b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

html body .fr-sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 22px;
}

html body .fr-sponsor-logo {
    display: inline-flex;
    align-items: center;
}

html body .fr-sponsor-logo img {
    display: block;
    width: auto;
    max-width: 140px;
    height: 34px;
    object-fit: contain;
}

html body a.fr-sponsor-logo:hover img {
    opacity: .8;
}

/* ---------- Banner ---------- */

html body .fr-ad {
    position: relative;
    display: block;
}

html body .fr-ad-label {
    display: block;
    margin-bottom: 6px;
    color: #8595a5;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

html body .fr-ad-item {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: #eef2f6;
}

html body .fr-ad-item[hidden] {
    display: none;
}

html body .fr-ad-item picture,
html body .fr-ad-item img {
    display: block;
    width: 100%;
    height: auto;
}

html body a.fr-ad-item:focus-visible {
    outline: 3px solid #007863;
    outline-offset: 2px;
}

/* ---------- "Advertise here" tile (empty slot) ---------- */

html body .fr-ad-house {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
    padding: 18px 22px;
    border: 1px dashed #b9c6d3;
    border-radius: 14px;
    background: #f5f8fa;
    color: #031826;
    text-decoration: none;
}

html body .fr-ad-house:hover {
    border-color: #007863;
    background: #eef7f5;
}

html body .fr-ad-house-title {
    font-family: var(--fr-display, 'Saira', 'Inter', sans-serif);
    font-size: 18px;
    font-stretch: 87.5%;
    font-weight: 600;
}

html body .fr-ad-house-text {
    flex: 1 1 220px;
    color: #5b6b7b;
    font-size: 14px;
}

html body .fr-ad-house-cta {
    color: #007863;
    font-size: 14px;
    font-weight: 700;
}

html body .fr-partner-slot--player .fr-ad-house {
    flex-direction: column;
    align-items: flex-start;
}

html body .fr-partner-slot--player .fr-ad-house-text {
    flex: 0 0 auto;
}

/* ---------- Sponsored article notice ---------- */

html body .fr-sponsored-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-left: 3px solid #007863;
    border-radius: 0 10px 10px 0;
    background: #eef7f5;
    color: #33465c;
    font-size: 14px;
}

html body .fr-sponsored-note > span {
    color: #031826;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    html body .fr-partner-slot {
        margin: 18px 0;
    }

    html body .fr-ad-item {
        border-radius: 10px;
    }

    html body .fr-sponsor-logo img {
        height: 28px;
    }
}


/* ---- white-pages.css ---- */
/* ==========================================================
   Football Talents Data
   Inner pages - white version (Retouche Novembre 2026, step 4)
   File: assets/css/base/white-pages.css
   ==========================================================
   Loaded last on every page except the home page (which has
   home-sections/white.css). Page headers (Fixtures, Standings,
   Dashboard, Highlights, Top Scorers..., and the explorers Clubs,
   Players, Players Abroad): white, square, statistics on the
   same line as the title.
   ========================================================== */

html:root body {
    --fr-w-navy: #071b35;
    --fr-w-text: #334155;
    --fr-w-muted: #64748b;
    --fr-w-line: #dfe4ea;
    --fr-w-title: #e3e9f0;
    --fr-w-yellow: #f4b400;
}

/* ----------------------------------------------------------
   PAGE HEADERS: one row, title left, statistics right
   ---------------------------------------------------------- */

html:root body .fr-site-main .fr-page-header,
html:root body .fr-page-header,
html:root body .fr-directory-header {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px 32px !important;
    min-height: 0 !important;
    padding: 22px 28px !important;
    background: #fff !important;
    color: var(--fr-w-navy) !important;
    border: 1px solid var(--fr-w-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html:root body .fr-page-header::before,
html:root body .fr-page-header::after,
html:root body .fr-directory-header::before,
html:root body .fr-directory-header::after {
    display: none !important;
}

html:root body .fr-page-header-content,
html:root body .fr-directory-header-content {
    flex: 1 1 320px;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

html:root body .fr-page-subtitle,
html:root body .fr-directory-subtitle {
    color: var(--fr-w-muted) !important;
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
}

html:root body .fr-page-title,
html:root body .fr-directory-title {
    margin: 2px 0 4px !important;
    color: var(--fr-w-navy) !important;
    text-shadow: none !important;
}

html:root body .fr-page-description,
html:root body .fr-directory-description {
    margin: 0 !important;
    color: var(--fr-w-text) !important;
}

html:root body .fr-page-stats,
html:root body .fr-directory-stats {
    display: flex !important;
    flex: 0 1 auto;
    flex-wrap: wrap;
    gap: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid var(--fr-w-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html:root body .fr-page-stat,
html:root body .fr-directory-stat {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center;
    min-width: 92px;
    margin: 0 !important;
    padding: 10px 16px !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html:root body .fr-page-stat + .fr-page-stat,
html:root body .fr-directory-stat + .fr-directory-stat {
    border-left: 1px solid var(--fr-w-line) !important;
}

html:root body .fr-page-stat::before,
html:root body .fr-page-stat::after,
html:root body .fr-directory-stat::before,
html:root body .fr-directory-stat::after {
    display: none !important;
}

html:root body .fr-page-stats .fr-page-stat .fr-page-stat-value,
html:root body .fr-directory-stats .fr-directory-stat strong {
    font-size: 22px !important;
    line-height: 1.1 !important;
    color: var(--fr-w-navy) !important;
}

html:root body .fr-page-stats .fr-page-stat span,
html:root body .fr-page-stats .fr-page-stat .fr-page-stat-label,
html:root body .fr-directory-stats .fr-directory-stat span {
    font-size: 11px !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--fr-w-muted) !important;
}

/* ----------------------------------------------------------
   COMPETITION PAGES (BK Pro League, Second Division, Women's
   league): white header, square, facts row framed
   ---------------------------------------------------------- */

html:root body .fr-single-competition-header.fr-comp-hero {
    background: #fff !important;
    color: var(--fr-w-navy) !important;
    border: 1px solid var(--fr-w-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html:root body .fr-comp-hero::before,
html:root body .fr-comp-hero::after {
    display: none !important;
}

html:root body .fr-comp-hero h1,
html:root body .fr-comp-hero-title h1 {
    color: var(--fr-w-navy) !important;
    text-shadow: none !important;
}

html:root body .fr-comp-hero .fr-single-competition-eyebrow {
    color: var(--fr-w-navy) !important;
    background: var(--fr-w-title) !important;
    border-radius: 0 !important;
}

html:root body .fr-comp-hero .fr-single-competition-season {
    color: var(--fr-w-navy) !important;
    background: #fff !important;
    border-color: var(--fr-w-line) !important;
    border-radius: 0 !important;
}

html:root body .fr-comp-hero .fr-single-competition-season select {
    border-radius: 0 !important;
}

html:root body .fr-comp-hero-facts {
    background: #fff !important;
    border: 1px solid var(--fr-w-line) !important;
    border-radius: 0 !important;
}

html:root body .fr-comp-hero-facts > div {
    border-color: var(--fr-w-line) !important;
}

html:root body .fr-comp-hero-facts strong {
    color: var(--fr-w-navy) !important;
}

html:root body .fr-comp-hero-facts small,
html:root body .fr-comp-hero-facts span {
    color: var(--fr-w-muted) !important;
}

/* --- Competition pages, rest of the page (2026-11): square corners,
       title bands, navy instead of green. Kept on purpose: the table
       zone colours (CAF / relegation), W-D-L form, +/- goal difference. --- */

html:root body.single-competition .fr-main *:not(img):not(svg):not(svg *):not([class*="logo"]):not([class*="crest"]):not(.is-w):not(.is-d):not(.is-l):not(.fr-ls-swatch):not(.fr-btt) {
    border-radius: 0 !important;
}

html:root body.single-competition .fr-comp-card,
html:root body.single-competition .fr-single-competition-details,
html:root body.single-competition .fr-competition-stat-card,
html:root body.single-competition .fr-comp-tabs,
html:root body.single-competition .fr-ls,
html:root body.single-competition .fr-ls-table-wrap,
html:root body.single-competition .fr-ls-filters,
html:root body.single-competition .fr-ls-key {
    border-color: var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body.single-competition .fr-comp-card > h2,
html:root body.single-competition .fr-single-competition-details-header {
    background: var(--fr-w-title) !important;
    color: var(--fr-w-navy) !important;
    box-shadow: none !important;
    border-color: var(--fr-w-line) !important;
}

html:root body.single-competition .fr-competition-stat-card {
    background: #f4f6f9 !important;
}

html:root body.single-competition .fr-comp-leader-rank {
    background: var(--fr-w-navy) !important;
    color: #fff !important;
}

html:root body.single-competition .fr-comp-more,
html:root body.single-competition .fr-ls-fixture em,
html:root body.single-competition .fr-main h3 {
    color: var(--fr-w-navy) !important;
}

/* Light score boxes (fixtures) -> grey; dark ones (results) stay navy */
html:root body.single-competition .fr-comp-match-score.is-pending {
    background: #f4f6f9 !important;
    color: var(--fr-w-navy) !important;
}

/* Standings banner: white instead of navy / teal */
html:root body .fr-ls-banner {
    background: var(--fr-w-title) !important;
    color: var(--fr-w-navy) !important;
    box-shadow: none !important;
}

html:root body .fr-ls-banner::before,
html:root body .fr-ls-banner::after {
    display: none !important;
}

html:root body .fr-ls-banner h2 {
    color: var(--fr-w-navy) !important;
}

html:root body .fr-ls-season {
    color: var(--fr-w-navy) !important;
    background: #fff !important;
    border-color: var(--fr-w-line) !important;
}

/* --- Fixtures page (2026-11): matchday bands in the title colour,
       square cards, neutral borders. Scores stay in navy boxes. --- */

html:root body.page-template-page-fixtures .fr-main *:not(img):not(svg):not(svg *):not([class*="logo"]):not([class*="crest"]):not(.match-status):not(.fr-btt) {
    border-radius: 0 !important;
}

html:root body .matchday-group-header {
    background: var(--fr-w-title) !important;
    color: var(--fr-w-navy) !important;
    box-shadow: none !important;
}

html:root body .matchday-group-header .matchday-title,
html:root body .matchday-group-header .matchday-section-eyebrow {
    color: var(--fr-w-navy) !important;
}

html:root body .matchday-group-header .matchday-count {
    color: var(--fr-w-navy) !important;
    background: #fff !important;
}

html:root body .match-card {
    border-color: var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body .match-venue-icon,
html:root body .match-venue-icon * {
    color: var(--fr-w-muted) !important;
}

html:root body.page-template-page-fixtures .fixtures-filters-sidebar {
    border: 1px solid var(--fr-w-line) !important;
    box-shadow: none !important;
}

/* --- Standings table (Standings page and competition pages): square
       corners; zone colours, form and goal difference kept. --- */

html:root body .fr-ls,
html:root body .fr-ls-banner,
html:root body .fr-ls-filters,
html:root body .fr-ls-filters select,
html:root body .fr-ls-table-wrap,
html:root body .fr-ls-fixture,
html:root body .fr-ls-key {
    border-radius: 0 !important;
    box-shadow: none !important;
}

html:root body .fr-ls,
html:root body .fr-ls-table-wrap,
html:root body .fr-ls-key {
    border-color: var(--fr-w-line) !important;
}

html:root body .fr-ls-fixture em,
html:root body .fr-ls h3 {
    color: var(--fr-w-navy) !important;
}

/* --- Statistics and Dashboard (2026-11): title bands, square
       corners, navy instead of green --- */

html:root body main.fr-statistics-page *:not(img):not(svg):not(svg *):not([class*="logo"]):not([class*="photo"]):not(.fr-btt),
html:root body main.fr-dashboard-page *:not(img):not(svg):not(svg *):not([class*="logo"]):not([class*="photo"]):not(.fr-btt) {
    border-radius: 0 !important;
}

html:root body main.fr-statistics-page .fr-statistics-section-header,
html:root body main.fr-dashboard-page .fr-dashboard-section-header {
    background: var(--fr-w-title) !important;
    border-color: var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body main.fr-dashboard-page .fr-dashboard-section-header span,
html:root body main.fr-statistics-page .fr-statistics-reset,
html:root body main.fr-statistics-page .fr-statistics-more,
html:root body main.fr-statistics-page .fr-club-ranking-more,
html:root body main.fr-statistics-page .fr-club-ranking-label,
html:root body main.fr-statistics-page .fr-ranking-value,
html:root body main.fr-statistics-page strong,
html:root body main.fr-dashboard-page strong {
    color: var(--fr-w-navy) !important;
}

html:root body main.fr-statistics-page svg,
html:root body main.fr-statistics-page svg *,
html:root body main.fr-dashboard-page svg,
html:root body main.fr-dashboard-page svg * {
    color: var(--fr-w-muted) !important;
}

html:root body main.fr-statistics-page .is-active,
html:root body main.fr-statistics-page .fr-statistics-filter-button {
    background: var(--fr-w-navy) !important;
    border-color: var(--fr-w-navy) !important;
    color: #fff !important;
    box-shadow: none !important;
}

html:root body main.fr-statistics-page .is-active strong {
    color: #fff !important;
}

html:root body main.fr-statistics-page .is-top-three,
html:root body main.fr-statistics-page .fr-club-ranking-more {
    border-color: var(--fr-w-line) !important;
}

/* --- Match pages (2026-11): white scoreboard, title bands, navy
       instead of green. Kept: live red, form pills, card colours,
       event icons. --- */

html:root body.single-match main.fr-single-match-page *:not(img):not(svg):not(svg *):not([class*="crest"]):not([class*="logo"]):not([class*="photo"]):not(.fr-form-pill):not(.fr-match-event-icon span):not(.fr-btt) {
    border-radius: 0 !important;
}

html:root body .fr-match-hero {
    background: #fff !important;
    color: var(--fr-w-navy) !important;
    border: 1px solid var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body .fr-match-hero::before,
html:root body .fr-match-hero::after {
    display: none !important;
}

html:root body .fr-match-hero *:not(.fr-match-hero-status):not(.fr-match-hero-status *) {
    color: var(--fr-w-navy) !important;
    text-shadow: none !important;
}

html:root body .fr-match-hero-competition,
html:root body .fr-match-hero-side,
html:root body .fr-match-hero-phase,
html:root body .fr-match-hero-minutes,
html:root body .fr-match-hero-officials-title,
html:root body .fr-match-hero small,
html:root body .fr-match-hero-officials-title svg {
    color: var(--fr-w-muted) !important;
}

html:root body .fr-match-hero-facts,
html:root body .fr-match-hero-officials {
    background: #f4f6f9 !important;
    border-color: var(--fr-w-line) !important;
}

html:root body .fr-match-hero-ht,
html:root body .fr-match-hero-official-icon {
    background: var(--fr-w-title) !important;
}

html:root body .fr-match-hero-score span {
    background: var(--fr-w-line) !important;
}

html:root body .fr-match-hero-ball {
    background: var(--fr-w-navy) !important;
}

html:root body .fr-match-hero-crest {
    border: 1px solid var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body .fr-match-hero-status:not(.fr-match-hero-status--live):not(.fr-match-hero-status--postponed):not(.fr-match-hero-status--suspended):not(.fr-match-hero-status--cancelled) {
    background: var(--fr-w-navy) !important;
    color: #fff !important;
}

/* Block titles */
html:root body.single-match main [class*="-heading"]:not(.fr-match-hero *),
html:root body.single-match .fr-match-report-title,
html:root body.single-match .fr-match-events-period-name {
    background: var(--fr-w-title) !important;
    color: var(--fr-w-navy) !important;
    border-color: var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body.single-match main [class*="-heading"] * {
    color: var(--fr-w-navy) !important;
}

html:root body.single-match .fr-match-report,
html:root body.single-match .fr-match-events-period-score,
html:root body.single-match main [class*="-card"],
html:root body.single-match .fr-match-context,
html:root body.single-match .fr-match-tabs {
    border-color: var(--fr-w-line) !important;
    box-shadow: none !important;
}

/* Chips, ratings, counts */
html:root body.single-match .fr-match-context-rank,
html:root body.single-match .fr-potm-rating,
html:root body.single-match .fr-rating,
html:root body.single-match .fr-match-events-count {
    background: var(--fr-w-navy) !important;
    color: #fff !important;
}

html:root body.single-match .fr-lu-chip,
html:root body.single-match .fr-lu-sub,
html:root body.single-match .fr-potm-figures span,
html:root body.single-match .fr-match-events-period-score {
    background: #f4f6f9 !important;
    color: var(--fr-w-navy) !important;
}

/* Player of the Match: plain white card */
html:root body.single-match .fr-potm {
    background: #fff !important;
    border: 1px solid var(--fr-w-line) !important;
    box-shadow: none !important;
}

/* Links and values in green -> navy */
html:root body.single-match .fr-report-link,
html:root body.single-match .fr-match-context-link,
html:root body.single-match .fr-match-navigation-arrow,
html:root body.single-match .fr-match-event-main strong,
html:root body.single-match .fr-match-stat-home-value,
html:root body.single-match .fr-match-stat-away-value {
    color: var(--fr-w-navy) !important;
}

html:root body.single-match main.fr-single-match-page .fr-match-report a.fr-report-link,
html:root body.single-match main.fr-single-match-page a.fr-match-context-link,
html:root body.single-match main.fr-single-match-page .fr-match-context-link span {
    color: var(--fr-w-navy) !important;
}

html:root body.single-match .fr-match-hero svg,
html:root body.single-match .fr-match-hero svg * {
    color: var(--fr-w-muted) !important;
    stroke: var(--fr-w-muted) !important;
}

html:root body.single-match main.fr-single-match-page .fr-match-hero-ball {
    border-radius: 50% !important;
}

/* Statistics bars: home navy, away grey */
html:root body.single-match .fr-match-stat-bar-home {
    background: var(--fr-w-navy) !important;
}

html:root body.single-match .fr-match-stat-bar-away {
    background: #9fb0c3 !important;
}

/* --- Player pages (2026-11): white hero, title bands, navy instead
       of green, square corners (photos and flags kept round). --- */

html:root body.single-player main.frp-player-page *:not(img):not(svg):not(svg *):not([class*="photo"]):not([class*="logo"]):not([class*="flag"]):not(.fr-btt) {
    border-radius: 0 !important;
}

html:root body .frp-player-hero {
    background: #fff !important;
    color: var(--fr-w-navy) !important;
    border: 1px solid var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body .frp-player-hero::before,
html:root body .frp-player-hero::after {
    display: none !important;
}

html:root body .frp-player-hero *:not(.frp-hero-shirt-number) {
    color: var(--fr-w-navy) !important;
    text-shadow: none !important;
}

html:root body .frp-player-hero .frp-club-label,
html:root body .frp-player-hero .frp-hero-label,
html:root body .frp-player-hero .frp-detail-icon,
html:root body .frp-player-hero .frp-detail-icon svg {
    color: var(--fr-w-muted) !important;
}

html:root body .frp-player-hero .frp-current-club,
html:root body .frp-player-hero .frp-player-tag {
    background: #f4f6f9 !important;
    border-color: var(--fr-w-line) !important;
}

html:root body .frp-hero-shirt-number {
    background: var(--fr-w-navy) !important;
    color: #fff !important;
}

/* Title bands */
html:root body.single-player .frp-card-heading,
html:root body.single-player .fr-scout-head {
    background: var(--fr-w-title) !important;
    color: var(--fr-w-navy) !important;
    border-color: var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body.single-player .frp-card,
html:root body.single-player .frp-stat {
    border-color: var(--fr-w-line) !important;
    box-shadow: none !important;
}

/* Scouting bars, history line, related players: navy / grey */
html:root body.single-player .fr-scout-bar span {
    background: var(--fr-w-navy) !important;
}

html:root body.single-player .frp-history-line span {
    background: var(--fr-w-navy) !important;
}

html:root body.single-player .frp-related-photo {
    background: #f4f6f9 !important;
}

html:root body.single-player .frp-related-reason {
    background: #f4f6f9 !important;
    color: var(--fr-w-navy) !important;
}

/* --- Remaining pages (2026-11): Player / Club explorers, Players
       Abroad, Academies, Coaches, Compare, Top Scorers / Assists /
       Clean Sheets. Team of the Matchday keeps its green pitch. --- */

html:root body main.fr-explorer *:not(img):not(svg):not(svg *):not([class*="photo"]):not([class*="logo"]):not([class*="flag"]):not([class*="avatar"]),
html:root body main.fr-academy-archive *:not(img):not(svg):not(svg *):not([class*="photo"]):not([class*="logo"]):not([class*="flag"]):not([class*="avatar"]),
html:root body main.fr-coach-archive *:not(img):not(svg):not(svg *):not([class*="photo"]):not([class*="logo"]):not([class*="flag"]):not([class*="avatar"]),
html:root body main.fr-cp-main *:not(img):not(svg):not(svg *):not([class*="photo"]):not([class*="logo"]):not([class*="flag"]):not([class*="avatar"]):not(.fr-cp-dot):not(.fr-cp-field),
html:root body main.fr-rwandan-abroad-page *:not(img):not(svg):not(svg *):not([class*="photo"]):not([class*="logo"]):not([class*="flag"]):not([class*="avatar"]),
html:root body main.fr-leaders-main *:not(img):not(svg):not(svg *):not([class*="photo"]):not([class*="logo"]):not([class*="flag"]):not([class*="avatar"]) {
    border-radius: 0 !important;
}

/* Buttons */
html:root body .fr-filter-button,
html:root body .fr-abroad-filter-apply,
html:root body .fr-cp-submit,
html:root body main.fr-rwandan-abroad-page .fr-player-button {
    background: var(--fr-w-navy) !important;
    border-color: var(--fr-w-navy) !important;
    color: #fff !important;
}

/* Explorers: position chips, numbers, links */
html:root body main.fr-explorer .fr-ex-pos b {
    background: var(--fr-w-title) !important;
    color: var(--fr-w-navy) !important;
}

html:root body main.fr-explorer b,
html:root body main.fr-explorer .fr-ex-num,
html:root body main.fr-explorer .fr-ex-cat-more,
html:root body main.fr-explorer .fr-ex-row span {
    color: var(--fr-w-navy) !important;
}

/* Explorers (clubs, players): table head = light title band, not black */
html:root body main.fr-explorer .fr-ex-row.fr-ex-row--head {
    background: var(--fr-w-title) !important;
    border-bottom: 1px solid var(--fr-w-line) !important;
}

html:root body main.fr-explorer .fr-ex-row.fr-ex-row--head span {
    color: var(--fr-w-navy) !important;
    font-weight: 700 !important;
}

/* Academies and coaches lists */
html:root body .fr-ac-list {
    border-color: var(--fr-w-line) !important;
}

html:root body .fr-ac-list-header {
    background: var(--fr-w-title) !important;
    color: var(--fr-w-navy) !important;
}

html:root body .fr-ac-list .is-on {
    background: var(--fr-w-navy) !important;
    color: #fff !important;
}

html:root body .fr-ac-list .is-off {
    background: #f4f6f9 !important;
    color: var(--fr-w-muted) !important;
}

html:root body .fr-ac-item-action,
html:root body .fr-ac-item-action span,
html:root body .fr-co-item-action,
html:root body .fr-co-item-action span {
    color: var(--fr-w-navy) !important;
}

/* Players Abroad */
html:root body main.fr-rwandan-abroad-page .fr-shirt-number {
    background: var(--fr-w-navy) !important;
    color: #fff !important;
}

html:root body main.fr-rwandan-abroad-page .fr-meta-club-text small,
html:root body main.fr-rwandan-abroad-page .fr-stat-value {
    color: var(--fr-w-navy) !important;
}

/* --- Directories and info pages (2026-11): Competitions, Seasons,
       Nationalities, Positions, country / position pages, About,
       Contact. Player cards everywhere: navy instead of green. --- */

html:root body main.fr-competition-archive *:not(img):not(svg):not(svg *):not([class*="logo"]),
html:root body main.fr-season-archive *:not(img):not(svg):not(svg *):not([class*="logo"]),
html:root body main.fr-nationality-archive *:not(img):not(svg):not(svg *):not([class*="flag"]):not([class*="photo"]),
html:root body main.fr-position-archive *:not(img):not(svg):not(svg *):not([class*="photo"]),
html:root body main.fr-nationality-page *:not(img):not(svg):not(svg *):not([class*="flag"]):not([class*="photo"]):not([class*="logo"]),
html:root body main.fr-position-page *:not(img):not(svg):not(svg *):not([class*="flag"]):not([class*="photo"]):not([class*="logo"]),
html:root body main.fr-legal-page *:not(img):not(svg):not(svg *) {
    border-radius: 0 !important;
}

/* Competition and season cards: light logo area, navy button */
html:root body .fr-competition-image,
html:root body .fr-season-image {
    background: #f4f6f9 !important;
    border-bottom: 1px solid var(--fr-w-line) !important;
}

html:root body .fr-season-placeholder {
    background: var(--fr-w-title) !important;
    color: var(--fr-w-navy) !important;
}

html:root body .fr-competition-button,
html:root body .fr-season-button,
html:root body .fr-contact-submit {
    background: var(--fr-w-navy) !important;
    border-color: var(--fr-w-navy) !important;
    color: #fff !important;
}

/* Lists: "View" actions */
html:root body .fr-nationality-list-action,
html:root body .fr-nationality-list-action span,
html:root body .fr-position-list-action,
html:root body .fr-position-list-action span,
html:root body .fr-nat-scorers-all {
    color: var(--fr-w-navy) !important;
}

/* Player cards (country, position, abroad pages...) */
html:root body .fr-player-button {
    background: var(--fr-w-navy) !important;
    border-color: var(--fr-w-navy) !important;
    color: #fff !important;
}

html:root body .fr-shirt-number {
    background: var(--fr-w-navy) !important;
    color: #fff !important;
}

html:root body .fr-player-card .fr-stat-value {
    color: var(--fr-w-navy) !important;
}

/* About / Contact: white hero */
html:root body .fr-legal-hero {
    background: #fff !important;
    color: var(--fr-w-navy) !important;
    border: 1px solid var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body .fr-legal-hero::before,
html:root body .fr-legal-hero::after {
    display: none !important;
}

html:root body .fr-legal-hero * {
    color: var(--fr-w-navy) !important;
    text-shadow: none !important;
}

html:root body main.fr-legal-page a {
    color: var(--fr-w-navy) !important;
}

/* --- Search results and 404 pages (2026-11): navy instead of green --- */

html:root body main.fr-search-page *:not(img):not(svg):not(svg *):not([class*="photo"]):not([class*="logo"]):not([class*="flag"]),
html:root body main.fr-404 *:not(img):not(svg):not(svg *) {
    border-radius: 0 !important;
}

html:root body .fr-search-page-form button,
html:root body .fr-404-search button,
html:root body .fr-404-links a {
    background: var(--fr-w-navy) !important;
    border-color: var(--fr-w-navy) !important;
    color: #fff !important;
}

html:root body .fr-search-page-eyebrow,
html:root body .fr-search-group-title,
html:root body .fr-search-group-title svg,
html:root body .fr-404-code {
    color: var(--fr-w-navy) !important;
}

html:root body main.fr-statistics-page .fr-statistics-more,
html:root body main.fr-statistics-page .fr-statistics-more span {
    color: var(--fr-w-navy) !important;
}

/* --- Advertise / Partners pages (2026-11): white hero, navy buttons,
       light figures band, square corners --- */

html:root body main.fr-pp *:not(img):not(svg):not(svg *) {
    border-radius: 0 !important;
}

html:root body .fr-pp-hero {
    background: #fff !important;
    color: var(--fr-w-navy) !important;
    border-bottom: 1px solid var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body .fr-pp-hero::before,
html:root body .fr-pp-hero::after {
    display: none !important;
}

html:root body .fr-pp-hero h1,
html:root body .fr-pp-hero p {
    color: var(--fr-w-navy) !important;
    text-shadow: none !important;
}

html:root body .fr-pp-hero p {
    color: var(--fr-w-text) !important;
}

/* Title on one line on desktop (was capped at 760 px) */
html:root body .fr-pp-hero h1 {
    max-width: none !important;
    font-size: clamp(28px, 3.3vw, 46px) !important;
}

html:root body .fr-pp-eyebrow {
    background: var(--fr-w-title) !important;
    color: var(--fr-w-navy) !important;
}

html:root body main.fr-pp a.fr-pp-btn,
html:root body main.fr-pp .fr-pp-btn {
    border-radius: 0 !important;
    background: var(--fr-w-navy) !important;
    border-color: var(--fr-w-navy) !important;
    color: #fff !important;
}

html:root body .fr-pp-figures {
    background: #f4f6f9 !important;
    border: 1px solid var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body .fr-pp-figures *,
html:root body .fr-pp-figure strong {
    color: var(--fr-w-navy) !important;
}

html:root body .fr-pp-figure span,
html:root body .fr-pp-figure small {
    color: var(--fr-w-muted) !important;
}

html:root body .fr-pp-figure {
    border-color: var(--fr-w-line) !important;
}

html:root body .fr-pp-card {
    border-color: var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body .fr-pp-spec {
    color: var(--fr-w-navy) !important;
    background: var(--fr-w-title) !important;
}

/* --- Academy and coach pages (2026-11): white hero --- */

html:root body main.fr-academy-page *:not(img):not(svg):not(svg *):not([class*="photo"]):not([class*="logo"]):not([class*="flag"]),
html:root body main.fr-coach-page *:not(img):not(svg):not(svg *):not([class*="photo"]):not([class*="logo"]):not([class*="flag"]) {
    border-radius: 0 !important;
}

html:root body .fr-ac-hero,
html:root body .fr-co-hero {
    background: #fff !important;
    color: var(--fr-w-navy) !important;
    border: 1px solid var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body .fr-ac-hero::before,
html:root body .fr-ac-hero::after,
html:root body .fr-co-hero::before,
html:root body .fr-co-hero::after {
    display: none !important;
}

html:root body .fr-ac-hero *,
html:root body .fr-co-hero * {
    color: var(--fr-w-navy) !important;
    text-shadow: none !important;
}

html:root body .fr-ac-hero small,
html:root body .fr-co-hero small {
    color: var(--fr-w-muted) !important;
}

html:root body .fr-ac-hero-eyebrow,
html:root body .fr-co-hero-eyebrow,
html:root body .fr-ac-hero-chips span,
html:root body .fr-co-hero-chips span {
    background: var(--fr-w-title) !important;
    color: var(--fr-w-navy) !important;
}

html:root body .fr-ac-hero-facts,
html:root body .fr-co-hero-facts {
    background: #f4f6f9 !important;
    border-color: var(--fr-w-line) !important;
}

html:root body .fr-ac-hero-logo,
html:root body .fr-co-hero-photo {
    border: 1px solid var(--fr-w-line) !important;
    box-shadow: none !important;
}

/* Competition page title: smaller, so "Rwanda Women's Super League"
   stays on one line */
html:root body .fr-comp-hero h1,
html:root body .fr-comp-hero-title h1 {
    font-size: clamp(26px, 3.1vw, 42px) !important;
    line-height: 1.1 !important;
}

/* Compare: player search fields framed like the home search bar
   (rounded, border of the statistics bar, shadow, tinted field) */
html:root body main.fr-cp-main .fr-cp-field {
    background: #f4f6f9 !important;
    border: 2px solid var(--fr-w-line) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 22px rgba(7, 27, 53, .12) !important;
}

html:root body main.fr-cp-main .fr-cp-field:focus-within {
    background: #fff !important;
    outline: 3px solid rgba(244, 180, 0, .45);
    outline-offset: 0;
}

html:root body main.fr-cp-main .fr-cp-field input::placeholder {
    color: #4b5b70 !important;
    opacity: 1;
}
/* Compare: white hero */
html:root body .fr-cp-hero {
    background: #fff !important;
    color: var(--fr-w-navy) !important;
    border: 1px solid var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body .fr-cp-hero::before,
html:root body .fr-cp-hero::after {
    display: none !important;
}

html:root body .fr-cp-hero h1,
html:root body .fr-cp-hero p,
html:root body .fr-cp-eyebrow,
html:root body .fr-cp-title span {
    color: var(--fr-w-navy) !important;
    text-shadow: none !important;
}

html:root body .fr-cp-season span {
    background: var(--fr-w-title) !important;
    border-color: var(--fr-w-line) !important;
    color: var(--fr-w-navy) !important;
}

html:root body .fr-cp-dot {
    background: var(--fr-w-navy) !important;
}

html:root body .fr-cp-empty div {
    background: #f4f6f9 !important;
    color: var(--fr-w-navy) !important;
}

/* Top Scorers / Assists / Clean Sheets: the filter box was made for a
   dark header; readable on the white header */
html:root body .fr-leaders-hero .fr-leaders-filter {
    background: #f4f6f9 !important;
    border: 1px solid var(--fr-w-line) !important;
}

html:root body .fr-leaders-hero .fr-leaders-season {
    color: var(--fr-w-navy) !important;
    background: var(--fr-w-title) !important;
    border-color: var(--fr-w-line) !important;
}

html:root body .fr-leaders-hero .fr-leaders-filter label {
    color: var(--fr-w-muted) !important;
}

html:root body .fr-leaders-hero .fr-leaders-filter select {
    background-color: #fff !important;
    color: var(--fr-w-navy) !important;
    border: 1px solid #c9d1db !important;
}

html:root body .fr-leaders-hero .fr-leaders-filter select:disabled {
    background-color: #eef1f5 !important;
    color: var(--fr-w-muted) !important;
}

html:root body .fr-leaders-hero .fr-leaders-reset {
    color: var(--fr-w-navy) !important;
    background: #fff !important;
    border-color: #c9d1db !important;
}

/* Top Scorers / Assists / Clean Sheets */
html:root body .fr-leaders-band {
    background: var(--fr-w-title) !important;
    color: var(--fr-w-navy) !important;
}

html:root body .fr-leaders-band * {
    color: var(--fr-w-navy) !important;
}

html:root body .fr-leaders-spot {
    background: #fff !important;
    color: var(--fr-w-navy) !important;
    border: 1px solid var(--fr-w-line) !important;
}

html:root body .fr-leaders-spot.is-place-1 {
    background: var(--fr-w-navy) !important;
    color: #fff !important;
}

html:root body .fr-leaders-spot-value strong,
html:root body .fr-leaders-num {
    color: var(--fr-w-navy) !important;
}

html:root body .fr-leaders-spot.is-place-1 .fr-leaders-spot-value strong {
    color: var(--fr-w-yellow) !important;
}

html:root body .fr-leaders-position em {
    background: var(--fr-w-title) !important;
    color: var(--fr-w-navy) !important;
}

/* ----------------------------------------------------------
   CLUB PAGE
   ---------------------------------------------------------- */

/* Logo fills the white square of the club header */
html:root body .fr-club-header-logo {
    padding: 8px !important;
    box-sizing: border-box;
}

html:root body .fr-club-header-logo img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
}

/* Squad cards: the photo fills the whole height of the card (the
   card grew with the nationality line and the View link, leaving
   a grey band above the photo). */
/* --- Club page in white (2026-11): header, panels, square corners,
       navy instead of green (green stays in the site header only) --- */

html:root body.tax-club .fr-main *:not(img):not(svg):not(svg *):not(.fr-club-header-logo):not([class*="pill"]):not([class*="avatar"]):not([class*="photo"]):not([class*="logo"]):not(.fr-btt) {
    border-radius: 0 !important;
}

html:root body .fr-club-header {
    background: #fff !important;
    color: var(--fr-w-navy) !important;
    border: 1px solid var(--fr-w-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html:root body .fr-club-header::before,
html:root body .fr-club-header::after {
    display: none !important;
}

html:root body .fr-club-header h1,
html:root body .fr-club-header-content,
html:root body .fr-club-header-info,
html:root body .fr-club-header-info-item,
html:root body .fr-club-header-info-item strong,
html:root body .fr-club-header-mini-stat,
html:root body .fr-club-header-mini-stat strong,
html:root body .fr-club-header-panel,
html:root body .fr-club-header-panel-title,
html:root body .fr-club-header-panel-stats {
    color: var(--fr-w-navy) !important;
    text-shadow: none !important;
}

html:root body .fr-club-header-label,
html:root body .fr-club-header-about,
html:root body .fr-club-header-mini-stat span {
    color: var(--fr-w-muted) !important;
}

html:root body .fr-club-header svg,
html:root body .fr-club-header svg * {
    color: var(--fr-w-muted) !important;
    stroke: currentColor;
}

html:root body .fr-club-header-logo {
    border: 1px solid var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body .fr-club-header-panel {
    background: #fff !important;
    border: 1px solid var(--fr-w-line) !important;
}

html:root body .fr-club-selector,
html:root body .fr-club-selector-select {
    border-color: var(--fr-w-line) !important;
    box-shadow: none !important;
}

html:root body .fr-club-selector-button {
    background: var(--fr-w-navy) !important;
}

/* Panels and title bands */
html:root body.tax-club .fr-club-sidebar-heading,
html:root body.tax-club [class*="panel-head"],
html:root body.tax-club [class*="card-header"] {
    background: var(--fr-w-title) !important;
    color: var(--fr-w-navy) !important;
    border-color: var(--fr-w-line) !important;
}

html:root body.tax-club .fr-main [class*="card"],
html:root body.tax-club .fr-main [class*="panel"],
html:root body.tax-club .fr-main section {
    border-color: var(--fr-w-line) !important;
    box-shadow: none !important;
}

/* Green text -> navy */
html:root body .fr-club-pro-player-position,
html:root body .fr-club-pro-position-heading span,
html:root body .fr-club-pro-fixture-date,
html:root body .fr-club-pro-match-score span,
html:root body .fr-club-management-role,
html:root body .fr-club-league-rank,
html:root body .fr-club-league-link,
html:root body .fr-club-highlights-all {
    color: var(--fr-w-navy) !important;
}

/* Green chips -> navy */
html:root body .fr-club-pro-player-number {
    background: var(--fr-w-navy) !important;
    color: #fff !important;
}

html:root body .fr-club-pro-position-heading span:last-child {
    background: var(--fr-w-title) !important;
    color: var(--fr-w-navy) !important;
}

html:root body .fr-club-pro-summary > div {
    border-color: var(--fr-w-line) !important;
}

html:root body.tax-club .fr-main .fr-club-pro-summary > div {
    background: #f4f6f9 !important;
}

/* Title bands on every block title of the club page (Club Management,
   First Team Squad, Goalkeepers / Defenders..., Latest Results, Highlights) */
html:root body.tax-club .fr-main header.fr-club-management-header,
html:root body.tax-club .fr-main header.fr-club-pro-section-header,
html:root body.tax-club .fr-main div.fr-club-sidebar-heading,
html:root body.tax-club .fr-main div.fr-club-pro-position-heading {
    background: var(--fr-w-title) !important;
    padding: 12px 16px !important;
    border: 0 !important;
    box-shadow: none !important;
}

html:root body.tax-club .fr-main .fr-club-pro-position-heading h3,
html:root body.tax-club .fr-main .fr-club-pro-section-header h2,
html:root body.tax-club .fr-main .fr-club-management-header h2,
html:root body.tax-club .fr-main .fr-club-sidebar-heading h2 {
    margin: 0 !important;
    color: var(--fr-w-navy) !important;
}

html:root body.tax-club .fr-main .fr-club-pro-position-heading span {
    background: #fff !important;
}

html:root body.tax-club .fr-main .fr-club-pro-summary strong {
    color: var(--fr-w-navy) !important;
}

html:root body.tax-club .fr-main .fr-club-pro-side-card > header,
html:root body.tax-club .fr-main .fr-club-sidebar-heading {
    background: var(--fr-w-title) !important;
    box-shadow: inset 0 -1px 0 var(--fr-w-line) !important;
}

html:root body.tax-club .fr-main .fr-club-league-rank,
html:root body.tax-club .fr-main .fr-club-league-rank strong,
html:root body.tax-club .fr-main .fr-club-pro-side-card strong,
html:root body.tax-club .fr-main .fr-club-pro-fixture-date span,
html:root body.tax-club .fr-main .fr-club-pro-fixture-date {
    color: var(--fr-w-navy) !important;
}

/* Wider photo column: about a third of the card (was 88-110 px) */
html:root body .fr-club-pro-player-card {
    /* photo frame ~3:4 (about 180 x 240), like the wider layout the
       user liked: portraits are no longer cut on the sides */
    grid-template-columns: minmax(110px, 54%) minmax(0, 1fr) !important;
    height: 240px; /* same height for every card, goalkeepers with a 2-line name included */
}

html:root body .fr-club-pro-player-content {
    min-width: 0;
    overflow: hidden;
}

/* Name on at most 2 lines, stats closer together */
html:root body .fr-club-pro-player-content h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html:root body .fr-club-pro-player-stats {
    gap: 4px 12px !important;
}

@media (max-width: 640px) {
    html:root body .fr-club-pro-player-card {
        height: auto;
    }
}

html:root body .fr-club-pro-player-photo {
    align-self: stretch !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 100%;
    background: #fff !important;
    overflow: hidden;
}

/* The photo fills its column but never sets the card height (with a
   wider column, a portrait photo made cards ~310 px tall). */
html:root body .fr-club-pro-player-photo {
    position: relative !important;
}

html:root body .fr-club-pro-player-photo img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: 50% 0% !important;
}

/* Squad cards: nationality with flag, "View" link */
html:root body .fr-club-pro-player-nat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 12px;
    color: var(--fr-w-muted);
}

html:root body .fr-club-pro-player-nat img {
    flex: none;
    width: 18px;
    height: 12px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(7, 27, 53, .12);
}

html:root body .fr-club-pro-player-view {
    align-self: flex-end;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--fr-w-navy) !important;
    text-decoration: none;
}

html:root body .fr-club-pro-player-view:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ----------------------------------------------------------
   STATISTICS / DASHBOARD: nationality chip under the club
   ---------------------------------------------------------- */

html:root body .fr-nat-chip {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--fr-w-muted) !important;
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
}

html:root body .fr-nat-chip img {
    flex: none;
    width: 18px !important;
    height: 12px !important;
    object-fit: cover;
    border-radius: 0 !important;
    box-shadow: 0 0 0 1px rgba(7, 27, 53, .12);
}

/* ----------------------------------------------------------
   HIGHLIGHTS: section titles (matchdays, kinds) on a green band
   with white text, as asked (2026-11)
   ---------------------------------------------------------- */

/* Band only as long as the title, in the title colour of the other
   pages (#e3e9f0), with the number of videos ("47 videos"). */
html:root body .fr-hl-section-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
}

html:root body .fr-hl-section-head h2 {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 9px 16px !important;
    color: var(--fr-w-navy) !important;
    background: var(--fr-w-title) !important;
}

html:root body .fr-hl-section-head h2 span {
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--fr-w-navy) !important;
    background: #fff !important;
    border-radius: 0 !important;
}

html:root body .fr-hl-section-head a {
    color: var(--fr-w-navy) !important;
}

/* Highlights: no green left (active tab, "MATCH HIGHLIGHTS" label,
   play button, thumbnail backdrop, links), square cards */
html:root body .fr-hl-tab.is-active {
    background: var(--fr-w-navy) !important;
    border-color: var(--fr-w-navy) !important;
    color: #fff !important;
}

html:root body .fr-hl-kind {
    background: var(--fr-w-navy) !important;
    color: #fff !important;
}

html:root body .fr-hl-play {
    background: rgba(7, 27, 53, .88) !important;
}

html:root body .fr-hl-thumb {
    background-image: linear-gradient(135deg, #0b2a3c, #071b35) !important;
}

html:root body .fr-hl-link,
html:root body .fr-hl-link span {
    color: var(--fr-w-navy) !important;
}

html:root body .fr-hl-card {
    border-radius: 0 !important;
    border-color: var(--fr-w-line) !important;
}

@media (max-width: 760px) {
    html:root body .fr-page-header,
    html:root body .fr-directory-header {
        padding: 18px 16px !important;
    }

    html:root body .fr-page-stats,
    html:root body .fr-directory-stats {
        width: 100% !important;
    }

    html:root body .fr-page-stat,
    html:root body .fr-directory-stat {
        flex: 1 1 0;
        min-width: 0;
        padding: 8px 6px !important;
    }
}

/* Top 5 Goal Scoring Clubs (Statistics, Dashboard): whole crest on white */
html:root body .fr-statistics-top-attack .fr-ranking-club-logo,
html:root body .fr-dashboard-attack .fr-dashboard-club-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border: 1px solid var(--fr-w-line) !important;
}

html:root body .fr-statistics-top-attack .fr-ranking-club-logo img,
html:root body .fr-dashboard-attack .fr-dashboard-club-logo img {
    width: 78% !important;
    height: 78% !important;
    object-fit: contain !important;
    border-radius: 0 !important;
}

/* Statistics: Top 10 Goal Scoring Clubs ends level with Most Viewed
   (its 10 rows share the height of the pair). */
@media (min-width: 901px) {
    html:root body .fr-statistics-page .fr-stats-pair:has(> #stat-attack) {
        align-items: stretch;
    }

    html:root body .fr-statistics-page #stat-attack {
        display: flex;
        flex-direction: column;
    }

    html:root body .fr-statistics-page #stat-attack .fr-statistics-top-attack {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        gap: 12px;
    }

    html:root body .fr-statistics-page #stat-attack .fr-statistics-top-attack > .fr-ranking-item {
        flex: 1 1 0;
        margin: 0;
    }
}

/* xG Table (Statistics page, inc/stats/xg-table.php) */
html:root body .fr-xg-table {
    border: 1px solid var(--fr-w-line);
    background: #fff;
}

html:root body .fr-xg-row {
    display: grid;
    grid-template-columns: 34px minmax(160px, 1fr) 44px 64px 56px 70px 64px 56px 70px;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-top: 1px solid var(--fr-w-line);
    color: var(--fr-w-text);
    font-size: 14px;
    text-align: center;
}

html:root body .fr-xg-row > :nth-child(2) {
    text-align: left;
}

html:root body .fr-xg-head {
    border-top: 0;
    background: var(--fr-w-title);
    color: var(--fr-w-navy);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

html:root body .fr-xg-rank {
    color: var(--fr-w-muted);
    font-weight: 600;
}

html:root body .fr-xg-club {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 600;
    color: var(--fr-w-navy);
}

html:root body .fr-xg-club img {
    flex: 0 0 24px;
    object-fit: contain;
}

html:root body .fr-xg-club a {
    overflow: hidden;
    color: inherit !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html:root body .fr-xg-club a:hover {
    text-decoration: underline;
}

html:root body .fr-xg-main {
    color: var(--fr-w-navy);
    font-weight: 700;
}

html:root body .fr-xg-row .is-up {
    color: #15803d;
    font-weight: 600;
}

html:root body .fr-xg-row .is-down {
    color: #b91c1c;
    font-weight: 600;
}

html:root body .fr-xg-note {
    margin: 10px 0 0;
    color: var(--fr-w-muted);
    font-size: 13px;
}

@media (max-width: 760px) {
    html:root body .fr-xg-row {
        grid-template-columns: 24px minmax(0, 1fr) 30px 50px 44px 50px 54px;
        gap: 6px;
        padding: 10px 10px;
        font-size: 13px;
    }

    html:root body .fr-xg-row .fr-xg-opt {
        display: none;
    }
}

/* ----------------------------------------------------------
   PAGE HEADERS IN LIGHT GREY (2026-11): every page header /
   hero gets the title-band colour #e3e9f0; the boxes inside
   (statistics, facts, panels) stay white.
   ---------------------------------------------------------- */

html:root body .fr-site-main .fr-page-header,
html:root body .fr-page-header,
html:root body .fr-directory-header,
html:root body .fr-single-competition-header.fr-comp-hero,
html:root body .fr-match-hero,
html:root body .frp-player-hero,
html:root body .fr-legal-hero,
html:root body .fr-pp-hero,
html:root body .fr-ac-hero,
html:root body .fr-co-hero,
html:root body .fr-cp-hero,
html:root body .fr-club-header {
    background: var(--fr-w-title) !important;
}


/* Player pages: title bands with inner space, smaller name (2026-11) */
html:root body.single-player .frp-card-heading,
html:root body.single-player .fr-scout-head {
    padding-left: 18px !important;
    padding-right: 18px !important;
}

html:root body.single-player .frp-player-hero h1 {
    font-size: clamp(28px, 2.9vw, 40px) !important;
    line-height: 1.05 !important;
}

/* Standings: live strip with square corners like the rest (2026-11) */
html:root body .fr-ls-live-strip,
html:root body .fr-ls-live-match,
html:root body .fr-ls-live-match strong {
    border-radius: 0 !important;
}

/* Club page: sidebar card titles (League Position, Season Statistics,
   Top Scorers, Top Assists, Clean Sheets, Next Fixtures) off the edge,
   like the other title bands (2026-11) */
html:root body.tax-club .fr-main .fr-club-pro-side-card > header {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* Match page: "N Events" counter = white text on its navy box (2026-11) */
html:root body.single-match main .fr-match-events-count,
html:root body.single-match main .fr-match-events-count * {
    color: #fff !important;
}

/* Match gallery (2026-11): photos never cut.
   - One photo: shown whole, centred, up to 640px high.
   - Several: square tiles (the photos are mostly square); the big
     first photo shows the whole picture (contain on navy). */
html:root body.single-match .fr-mg-item,
html:root body.single-match .fr-mg-item.is-cover {
    border-radius: 0 !important;
}

html:root body.single-match .fr-mg-item {
    aspect-ratio: 1 / 1 !important;
}

html:root body.single-match .fr-mg-item.is-cover {
    aspect-ratio: auto !important;
}

html:root body.single-match .fr-mg-item.is-cover img {
    object-fit: contain !important;
    background: #071b35;
}

html:root body.single-match .fr-mg-item:not(.is-cover) img {
    object-position: 50% 30%;
}

html:root body.single-match .fr-mg-grid:has(> .fr-mg-item:only-child) {
    display: block !important;
}

html:root body.single-match .fr-mg-grid > .fr-mg-item:only-child {
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto;
    aspect-ratio: auto !important;
    background: transparent !important;
}

html:root body.single-match .fr-mg-grid > .fr-mg-item:only-child img {
    position: static !important;
    display: block;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 640px !important;
    object-fit: contain !important;
    background: transparent;
}

@media (max-width: 560px) {
    html:root body.single-match .fr-mg-item.is-cover {
        aspect-ratio: 1 / 1 !important;
    }
}

/* Gallery: big first photo shown whole over a blurred copy of itself
   (no empty navy bands for landscape / portrait photos) (2026-11) */
html:root body.single-match .fr-mg-item.is-cover::before {
    content: "";
    position: absolute;
    inset: -24px;
    background: var(--fr-mg-bg, #071b35) center / cover no-repeat;
    filter: blur(20px) brightness(.6);
    transform: scale(1.05);
}

html:root body.single-match .fr-mg-item.is-cover img {
    z-index: 1;
    background: transparent !important;
}

html:root body.single-match .fr-mg-grid > .fr-mg-item.is-cover:only-child::before {
    content: none;
}

/* Gallery (2026-11, final): the big first photo FILLS its frame like the
   other tiles (no blurred band, no navy band); the whole photo opens in
   the lightbox. Replaces the two cover rules above. */
html:root body.single-match .fr-mg-item.is-cover::before {
    content: none !important;
}

html:root body.single-match .fr-mg-grid > .fr-mg-item.is-cover:not(:only-child) img {
    object-fit: cover !important;
    object-position: 50% 40% !important;
}

/* Compare page boxed like the other pages (2026-11): grey page
   background, the hero becomes a light-grey box as wide as the
   content blocks below. */
html:root body main.fr-cp-main {
    background: transparent !important;
}

html:root body .fr-cp-hero {
    padding: 24px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html:root body .fr-cp-hero > .fr-container {
    box-sizing: border-box;
    width: min(1160px, calc(100% - 40px)) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 28px 32px !important;
    border: 1px solid var(--fr-w-line, #dfe4ea) !important;
    background: #e3e9f0 !important;
}

@media (max-width: 640px) {
    html:root body .fr-cp-hero > .fr-container {
        width: calc(100% - 32px) !important;
        padding: 22px 16px !important;
    }
}

/* Club page: Last line-up / Most used XI cards (inc/club/club-lineups.php) */
html:root body.tax-club .fr-club-lineup-card .fr-cl-match {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 16px 10px;
    padding: 10px 12px;
    background: #f4f6f9;
    color: var(--fr-w-navy) !important;
    font-weight: 600;
    text-decoration: none;
}

html:root body.tax-club .fr-club-lineup-card .fr-cl-match strong {
    padding: 2px 8px;
    background: #94a3b8;
    color: #fff !important;
    font-size: 13px;
    white-space: nowrap;
}

html:root body.tax-club .fr-club-lineup-card .fr-cl-match strong.is-w { background: #15803d; }
html:root body.tax-club .fr-club-lineup-card .fr-cl-match strong.is-l { background: #dc2626; }

html:root body.tax-club .fr-club-lineup-card .fr-cl-list {
    margin: 0 16px;
    padding: 0;
    list-style: none;
}

html:root body.tax-club .fr-club-lineup-card .fr-cl-list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-top: 1px solid #eef1f5;
    font-size: 14px;
}

html:root body.tax-club .fr-club-lineup-card .fr-cl-list li:first-child {
    border-top: 0;
}

html:root body.tax-club .fr-club-lineup-card .fr-cl-list b {
    color: var(--fr-w-navy) !important;
    font-weight: 700;
    text-align: center;
}

html:root body.tax-club .fr-club-lineup-card .fr-cl-list a {
    overflow: hidden;
    color: var(--fr-w-navy) !important;
    font-weight: 600;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html:root body.tax-club .fr-club-lineup-card .fr-cl-list a:hover {
    text-decoration: underline;
}

html:root body.tax-club .fr-club-lineup-card .fr-cl-list small {
    color: var(--fr-w-muted) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

html:root body.tax-club .fr-club-lineup-card .fr-cl-note {
    margin: 8px 16px 14px;
    color: var(--fr-w-muted) !important;
    font-size: 12px;
}

/* Club page: squad table (inc/club/club-squad-table.php) */
html:root body.tax-club .fr-cst {
    margin-top: 6px;
}

html:root body.tax-club .fr-cst-tools {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 10px;
    margin: 0 0 14px;
}

html:root body.tax-club .fr-cst-tools select,
html:root body.tax-club .fr-cst-tools input {
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--fr-w-line, #dfe4ea) !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--fr-w-navy) !important;
    font-size: 14px;
}

html:root body.tax-club .fr-cst-wrap {
    overflow-x: auto;
    border: 1px solid var(--fr-w-line, #dfe4ea);
    background: #fff;
}

html:root body.tax-club .fr-cst-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

html:root body.tax-club .fr-cst-table th {
    padding: 11px 10px;
    background: #e3e9f0 !important;
    color: var(--fr-w-navy) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

html:root body.tax-club .fr-cst-table th:nth-child(2) {
    text-align: left;
}

html:root body.tax-club .fr-cst-table th small {
    font-size: 10px;
    font-weight: 600;
}

html:root body.tax-club .fr-cst-table th.is-sorted::after {
    content: " ▲";
    font-size: 9px;
}

html:root body.tax-club .fr-cst-table th.is-sorted.is-desc::after {
    content: " ▼";
}

html:root body.tax-club .fr-cst-table td {
    padding: 8px 10px;
    border-top: 1px solid #eef1f5;
    color: var(--fr-w-text) !important;
    text-align: center;
    white-space: nowrap;
}

html:root body.tax-club .fr-cst-table td:nth-child(2) {
    text-align: left;
}

html:root body.tax-club .fr-cst-table tbody tr:hover td {
    background: #f8fafc;
}

html:root body.tax-club .fr-cst-num {
    color: var(--fr-w-navy) !important;
    font-weight: 700;
}

html:root body.tax-club .fr-cst-min {
    color: var(--fr-w-navy) !important;
    font-weight: 700;
}

html:root body.tax-club .fr-cst-player {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    color: inherit !important;
    text-decoration: none;
}

html:root body.tax-club .fr-cst-photo {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    overflow: hidden;
    border-radius: 50% !important;
    background: #eef1f5;
}

html:root body.tax-club .fr-cst-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 10%;
}

html:root body.tax-club .fr-cst-who {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

html:root body.tax-club .fr-cst-who strong {
    color: var(--fr-w-navy) !important;
    font-weight: 700;
}

html:root body.tax-club .fr-cst-player:hover strong {
    text-decoration: underline;
}

html:root body.tax-club .fr-cst-who small {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--fr-w-muted) !important;
    font-size: 12px;
}

html:root body.tax-club .fr-cst-pos {
    display: inline-block;
    min-width: 34px;
    padding: 3px 6px;
    border: 1px solid;
    font-size: 11px;
    font-weight: 800;
}

html:root body.tax-club .fr-cst-pos.is-gk  { color: #a16207 !important; background: #fef9c3; border-color: #fde68a; }
html:root body.tax-club .fr-cst-pos.is-def { color: #1d4ed8 !important; background: #eff6ff; border-color: #bfdbfe; }
html:root body.tax-club .fr-cst-pos.is-mid { color: #15803d !important; background: #f0fdf4; border-color: #bbf7d0; }
html:root body.tax-club .fr-cst-pos.is-fwd { color: #b91c1c !important; background: #fef2f2; border-color: #fecaca; }
html:root body.tax-club .fr-cst-pos.is-x   { color: #64748b !important; background: #f1f5f9; border-color: #e2e8f0; }

html:root body.tax-club .fr-cst-empty {
    margin: 0;
    padding: 18px;
    color: var(--fr-w-muted) !important;
    text-align: center;
}

html:root body.tax-club .fr-cst-note {
    margin: 10px 0 0;
    color: var(--fr-w-muted) !important;
    font-size: 12px;
}

@media (max-width: 640px) {
    html:root body.tax-club .fr-cst-tools {
        grid-template-columns: 1fr 1fr;
    }

    html:root body.tax-club .fr-cst-tools input {
        grid-column: 1 / -1;
    }

    html:root body.tax-club .fr-cst-opt {
        display: none;
    }

    html:root body.tax-club .fr-cst-player {
        min-width: 170px;
    }
}

/* ----------------------------------------------------------
   WIDER LAYOUT (2026-11): content and header up to 1440px,
   16px side margin on smaller screens (was 1200 / 1320px).
   ---------------------------------------------------------- */
html:root body .fr-container,
html:root body .fr-hwrap,
html:root body .fixtures-page,
html:root body .frp-player-page .frp-player-hero,
html:root body .frp-player-page .frp-player-content,
html:root body .fr-single-match-container,
html:root body .fr-hero-content {
    box-sizing: border-box !important;
    width: min(1440px, calc(100% - 32px)) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

html:root body .fr-container,
html:root body .fixtures-page {
    padding-right: 0 !important;
    padding-left: 0 !important;
}
html:root body .fr-cp-hero > .fr-container {
    width: min(1440px, calc(100% - 32px)) !important;
    padding: 28px 32px !important;
}

/* Club page: Last line-up + Most used XI under the squad table */
html:root body.tax-club .fr-club-lineup-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
    margin-top: 24px;
}

html:root body.tax-club .fr-club-lineup-row > .fr-club-pro-side-card {
    margin: 0 !important;
}

@media (max-width: 760px) {
    html:root body.tax-club .fr-club-lineup-row {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------------
   MATCH HEADER, clean style (2026-11): white, name + crest side by
   side, big grey score with "Full time" under it, scorers in two
   columns around one ball, date • time / competition / venue on one
   grey line, officials underneath.
   ---------------------------------------------------------- */
html:root body.single-match main .fr-match-hero {
    padding: 26px 24px 0 !important;
    border: 1px solid var(--fr-w-line, #dfe4ea) !important;
    background: #fff !important;
    box-shadow: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-top {
    display: none !important;
}

html:root body.single-match main .fr-match-hero--live .fr-match-hero-top,
html:root body.single-match main .fr-match-hero--postponed .fr-match-hero-top,
html:root body.single-match main .fr-match-hero--suspended .fr-match-hero-top,
html:root body.single-match main .fr-match-hero--cancelled .fr-match-hero-top {
    display: flex !important;
    justify-content: center !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-top .fr-match-hero-competition {
    display: none !important;
}

/* Board: [name crest] score [crest name] */
html:root body.single-match main .fr-match-hero .fr-match-hero-board {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-team {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    text-align: left !important;
    text-decoration: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-team--home {
    flex-direction: row-reverse !important;
    justify-content: flex-start !important;
    text-align: right !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-team--away {
    justify-content: flex-start !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-crest {
    flex: 0 0 auto;
    width: 64px !important;
    height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-crest img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-name {
    margin: 0 !important;
    color: #071b35 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-team:hover .fr-match-hero-name {
    text-decoration: underline;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-side {
    display: none !important;
}

/* Centre: big grey score, phase underneath */
html:root body.single-match main .fr-match-hero .fr-match-hero-centre {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 0 !important;
    background: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-board .fr-match-hero-score {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-board .fr-match-hero-score strong {
    color: #3a4656 !important;
    font-size: 52px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

html:root body.single-match main .fr-match-hero--live .fr-match-hero-board .fr-match-hero-score strong {
    color: #d92d20 !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-board .fr-match-hero-score--time strong,
html:root body.single-match main .fr-match-hero .fr-match-hero-board .fr-match-hero-score--vs strong {
    font-size: 38px !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-board .fr-match-hero-score span {
    display: block !important;
    width: 14px !important;
    height: 3px !important;
    background: #9aa4b2 !important;
    color: transparent !important;
    font-size: 0 !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-phase {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: #7b8594 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-phase {
    order: 1;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-ht {
    order: 2;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: #9aa4b2 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* Scorers: home | ball | away */
html:root body.single-match main .fr-match-hero .fr-match-hero-scorers {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 0 14px !important;
    margin: 22px auto 0 !important;
    padding: 0 !important;
    max-width: 760px;
    border: 0 !important;
    background: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-scorers::before {
    content: "";
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    opacity: .55;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='%23fff' stroke='%23071b35' stroke-width='1.6'/%3E%3Cpath d='M12 7.2l3.4 2.5-1.3 4h-4.2l-1.3-4z' fill='%23071b35'/%3E%3Cpath d='M12 7.2V2.5M15.4 9.7l4.6-1.6M14.1 13.7l2.8 4M9.9 13.7l-2.8 4M8.6 9.7L4 8.1' stroke='%23071b35' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-scorers-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-scorers-list--home {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-end !important;
    text-align: right !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-scorers-list--away {
    grid-column: 3;
    grid-row: 1;
    align-items: flex-start !important;
    text-align: left !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-scorers-list li {
    display: flex !important;
    align-items: baseline !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: #6b7686 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-ball {
    display: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-scorer,
html:root body.single-match main .fr-match-hero .fr-match-hero-minutes {
    color: #6b7686 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

/* Facts: one grey line, icons, no labels */
html:root body.single-match main .fr-match-hero .fr-match-hero-facts {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px 30px !important;
    min-height: 0 !important;
    margin: 22px 0 0 !important;
    padding: 0 0 22px !important;
    border: 0 !important;
    background: none !important;
    list-style: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-facts li {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-facts svg {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    color: #7b8594 !important;
    stroke: #7b8594 !important;
    stroke-width: 1.7 !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-facts li span {
    display: block !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-facts small {
    display: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-facts strong {
    color: #4b5666 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-facts li.is-competition strong {
    color: #071b35 !important;
    font-weight: 700 !important;
}

/* Officials: quiet strip at the bottom */
html:root body.single-match main .fr-match-hero .fr-match-hero-officials {
    margin: 0 -24px !important;
    padding: 10px 24px !important;
    border: 0 !important;
    border-top: 1px solid var(--fr-w-line, #dfe4ea) !important;
    background: #f6f8fb !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-official-icon {
    display: none !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-official-text strong {
    color: #3a4656 !important;
    font-size: 13px !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-official-text small {
    color: #8a94a3 !important;
}

@media (max-width: 760px) {
    html:root body.single-match main .fr-match-hero {
        padding: 18px 12px 0 !important;
    }

    html:root body.single-match main .fr-match-hero .fr-match-hero-board {
        gap: 0 12px !important;
    }

    html:root body.single-match main .fr-match-hero .fr-match-hero-team,
    html:root body.single-match main .fr-match-hero .fr-match-hero-team--home {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }

    html:root body.single-match main .fr-match-hero .fr-match-hero-crest {
        width: 48px !important;
        height: 48px !important;
    }

    html:root body.single-match main .fr-match-hero .fr-match-hero-name {
        font-size: 15px !important;
    }

    html:root body.single-match main .fr-match-hero .fr-match-hero-board .fr-match-hero-score strong {
        font-size: 36px !important;
    }

    html:root body.single-match main .fr-match-hero .fr-match-hero-board .fr-match-hero-score--time strong,
    html:root body.single-match main .fr-match-hero .fr-match-hero-board .fr-match-hero-score--vs strong {
        font-size: 26px !important;
    }

    html:root body.single-match main .fr-match-hero .fr-match-hero-phase {
        font-size: 13px !important;
    }

    html:root body.single-match main .fr-match-hero .fr-match-hero-scorers {
        grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) !important;
        gap: 0 6px !important;
        margin-top: 16px !important;
    }

    html:root body.single-match main .fr-match-hero .fr-match-hero-scorers-list li,
    html:root body.single-match main .fr-match-hero .fr-match-hero-scorer,
    html:root body.single-match main .fr-match-hero .fr-match-hero-minutes {
        font-size: 13px !important;
    }

    html:root body.single-match main .fr-match-hero .fr-match-hero-scorers-list li {
        flex-wrap: wrap;
    }

    html:root body.single-match main .fr-match-hero .fr-match-hero-scorers-list--home li {
        justify-content: flex-end;
    }

    html:root body.single-match main .fr-match-hero .fr-match-hero-facts {
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        margin-top: 16px !important;
        padding-bottom: 16px !important;
    }

    html:root body.single-match main .fr-match-hero .fr-match-hero-officials {
        margin: 0 -12px !important;
        padding: 10px 12px !important;
    }
}
/* Match header: officials on one line, "ROLE Name" separated by thin bars */
html:root body.single-match main .fr-match-hero .fr-match-hero-officials {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px 18px !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-officials-list {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 6px 0 !important;
    width: auto !important;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-officials-list li {
    padding: 0 16px !important;
    border-left: 1px solid var(--fr-w-line, #dfe4ea);
}

html:root body.single-match main .fr-match-hero .fr-match-hero-officials-list li:first-child {
    border-left: 0;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-official-text {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline;
    gap: 6px;
}

html:root body.single-match main .fr-match-hero .fr-match-hero-official-text small {
    font-size: 11px !important;
    letter-spacing: .04em;
    text-transform: uppercase;
}

@media (max-width: 760px) {
    html:root body.single-match main .fr-match-hero .fr-match-hero-facts li,
    html:root body.single-match main .fr-match-hero .fr-match-hero-officials-list li {
        flex: 0 0 100% !important;
        padding: 2px 8px !important;
        border-left: 0 !important;
    }

    html:root body.single-match main .fr-match-hero .fr-match-hero-facts li span,
    html:root body.single-match main .fr-match-hero .fr-match-hero-official-text {
        justify-content: center;
    }

    html:root body.single-match main .fr-match-hero .fr-match-hero-facts li {
        display: flex !important;
        justify-content: center;
    }
}
@media (max-width: 760px) {
    html:root body.single-match main .fr-match-hero .fr-match-hero-officials-list li {
        display: flex !important;
        justify-content: center;
    }
}

/* Highlights page (2026-11): smaller videos — 4 per row on wide
   screens, the first video no longer double size. */
@media (min-width: 1101px) {
    html:root body .fr-hl-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

html:root body .fr-hl-grid > .fr-hl-card.is-lead {
    grid-column: auto !important;
    grid-row: auto !important;
}

html:root body .fr-hl-grid > .fr-hl-card.is-lead .fr-hl-title {
    font-size: 15.5px !important;
}

/* Fixtures: wider Filters column (280 -> 340px) (2026-11) */
@media (min-width: 1101px) {
    html:root body .fixtures-content-layout {
        grid-template-columns: 340px minmax(0, 1fr) !important;
    }
}

/* Player Explorer (2026-11): tighter columns (Nationality was far from
   Age) + "View →" link at the end of each row. */
html:root body main.fr-player-archive .fr-ex-row {
    grid-template-columns: minmax(240px, 2.6fr) minmax(150px, 1.2fr) minmax(140px, 1.1fr) 56px 70px 48px 48px 64px 78px !important;
}

html:root body main.fr-player-archive .fr-ex-row > .fr-ex-num {
    text-align: center !important;
    justify-content: center !important;
}

html:root body main.fr-player-archive .fr-ex-view {
    display: flex;
    justify-content: flex-end;
}

html:root body main.fr-player-archive .fr-ex-view a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border: 1px solid var(--fr-w-line, #dfe4ea);
    background: #fff;
    color: #071b35 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

html:root body main.fr-player-archive .fr-ex-view a:hover {
    border-color: #071b35;
    background: #071b35;
    color: #fff !important;
}

html:root body main.fr-player-archive .fr-ex-view a:hover svg {
    transform: translateX(2px);
}

html:root body main.fr-player-archive .fr-ex-view svg {
    transition: transform .15s ease;
}

@media (max-width: 1023px) {
    html:root body main.fr-player-archive .fr-ex-row {
        grid-template-columns: minmax(180px, 2fr) 1fr 1fr 44px 60px 40px 40px 56px 44px !important;
    }

    html:root body main.fr-player-archive .fr-ex-view a {
        padding: 6px 8px;
        font-size: 0;
        gap: 0;
    }
}

@media (max-width: 720px) {
    html:root body main.fr-player-archive .fr-ex-row {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

    html:root body main.fr-player-archive .fr-ex-row > .fr-ex-num {
        text-align: left !important;
        justify-content: flex-start !important;
    }

    html:root body main.fr-player-archive .fr-ex-view {
        grid-column: 1 / -1;
    }

    html:root body main.fr-player-archive .fr-ex-view a {
        padding: 6px 12px;
        font-size: 13px;
        gap: 5px;
    }

    html:root body main.fr-player-archive .fr-ex-view-head {
        display: none;
    }
}
/* Match page (2026-11): "Match Events & Statistics" and "Highlights &
   Photos" = one block each (single-match.php .fr-match-duo), two
   columns on wide screens, stacked below 1101px. */
html:root body.single-match main .fr-match-duo {
    margin-top: 44px !important;
}

/* Title band of the merged blocks: inner space, like the other bands */
html:root body.single-match main .fr-match-duo > .fr-match-duo-head {
    margin: 0 0 24px !important;
    padding: 18px 24px !important;
}

html:root body.single-match main .fr-match-duo > .fr-match-duo-head h2 {
    margin: 4px 0 !important;
}

html:root body.single-match main .fr-match-duo > .fr-match-duo-head p {
    margin: 0 !important;
}

@media (max-width: 760px) {
    html:root body.single-match main .fr-match-duo > .fr-match-duo-head {
        padding: 14px 16px !important;
    }
}

html:root body.single-match main .fr-match-duo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

html:root body.single-match main .fr-match-duo-grid > section {
    min-width: 0;
    margin: 0 !important;
}

html:root body.single-match main .fr-match-duo-grid > section > [class$="-heading"] {
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

html:root body.single-match main .fr-match-duo-grid > section > [class$="-heading"] span,
html:root body.single-match main .fr-match-duo-grid > section > [class$="-heading"] p {
    display: none !important;
}

html:root body.single-match main .fr-match-duo-grid > section > [class$="-heading"] h2 {
    margin: 0 !important;
    font-size: 18px !important;
}

@media (min-width: 1101px) {
    html:root body.single-match main .fr-match-duo:not(.is-single) .fr-match-duo-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}
/* Footer legal pages (About, Contact, Privacy, Terms = .fr-legal-hero;
   Advertise, Partners = .fr-pp-hero) (2026-11): boxed title band like
   the other pages (Player Explorer...), instead of a full-width band. */
html:root body .fr-legal-hero,
html:root body .fr-pp-hero {
    margin: 0 !important;
    padding: 20px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html:root body .fr-legal-hero > .fr-container,
html:root body .fr-pp-hero > .fr-container {
    box-sizing: border-box;
    padding: 22px 28px !important;
    border: 1px solid var(--fr-w-line, #dfe4ea) !important;
    background: #e3e9f0 !important;
}

html:root body .fr-legal-hero h1,
html:root body .fr-pp-hero h1 {
    margin: 4px 0 0 !important;
    color: #071b35 !important;
    font-family: var(--fr-display, 'Saira', 'Inter', sans-serif) !important;
    font-size: 38px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
}

html:root body .fr-legal-hero h1 {
    text-transform: uppercase;
}

html:root body .fr-pp-hero p {
    max-width: 820px !important;
    margin: 8px 0 0 !important;
}

html:root body .fr-pp-hero .fr-pp-actions {
    margin-top: 14px !important;
}

/* Content right under the band (the body had a negative margin to
   overlap the old tall band) */
html:root body .fr-legal-hero + .fr-container,
html:root body .fr-pp-hero + .fr-container {
    margin-top: 0 !important;
    padding-top: 24px !important;
}

/* Legal text: same width as the band, comfortable reading line */
html:root body .fr-legal-hero + .fr-container .fr-legal-card {
    box-sizing: border-box;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 36px 40px !important;
}

html:root body .fr-legal-hero + .fr-container .fr-legal-card > * {
    max-width: 900px;
}

/* Contact form: the consent checkbox took the whole width of its line */
html:root body .fr-contact-check {
    align-items: flex-start !important;
    gap: 10px !important;
}

html:root body .fr-contact-check input[type="checkbox"] {
    flex: 0 0 auto !important;
    width: 18px !important;
    height: 18px !important;
    margin: 2px 0 0 !important;
}

@media (max-width: 760px) {
    html:root body .fr-legal-hero > .fr-container,
    html:root body .fr-pp-hero > .fr-container {
        padding: 18px 16px !important;
    }

    html:root body .fr-legal-hero h1,
    html:root body .fr-pp-hero h1 {
        font-size: 28px !important;
    }

    html:root body .fr-legal-hero + .fr-container .fr-legal-card {
        padding: 22px 16px !important;
    }
}

/* Player hero (2026-11): tall cut-out photos (450 x 800) shown standing
   on the bottom edge of the band, head to waist, instead of a round
   crop that cut the head. Photos on a white background melt into the
   band (multiply). Below 1001px the round photo stays, face at the top. */
@media (min-width: 1001px) {
    html:root body .frp-player-hero__inner {
        grid-template-columns: 240px minmax(0, 1fr) 300px !important;
        align-items: end !important;
        padding-bottom: 0 !important;
    }

    html:root body .frp-player-hero__inner > :not(.frp-player-photo-wrap) {
        align-self: center !important;
        margin-bottom: 40px !important;
    }

    html:root body .frp-player-photo-wrap {
        flex: 0 0 240px !important;
        align-self: flex-end !important;
        width: 240px !important;
        height: 310px !important;
        margin: 0 !important;
    }

    html:root body .frp-player-photo {
        width: 240px !important;
        height: 310px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: none !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    html:root body .frp-player-photo::before,
    html:root body .frp-player-photo::after {
        display: none !important;
    }

    html:root body .frp-player-photo img {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
        background: none !important;
        object-fit: cover !important;
        object-position: center top !important;
        mix-blend-mode: multiply;
    }

    html:root body .frp-hero-shirt-number {
        right: -10px !important;
        bottom: 16px !important;
    }
}

@media (max-width: 1000px) {
    html:root body .frp-player-photo img {
        object-position: center top !important;
    }
}
/* Player page (2026-11): block titles made of a kicker alone (Player
   profile, Club history, Season overview) styled like the other block
   titles (Scouting report): Saira, navy, uppercase. */
html:root body .frp-player-page .frp-card-heading .frp-kicker:only-child {
    display: block !important;
    margin: 0 !important;
    color: #071b35 !important;
    font-family: var(--fr-display, 'Saira', 'Inter', sans-serif) !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}
/* Statistics (2026-11): Player Ranking | Club Ranking side by side
   (.fr-stats-pair--ranking in page-statistics.php). Player rows made
   narrower to fit half the width; both headers and lists line up
   (subgrid). Below 1101px .fr-stats-pair stacks them as before. */
@media (min-width: 1101px) {
    html:root body .fr-stats-pair--ranking {
        grid-template-rows: auto auto auto !important;
        row-gap: 0 !important;
    }

    html:root body .fr-stats-pair--ranking > section {
        display: grid !important;
        grid-row: span 3;
        grid-template-rows: subgrid !important;
        row-gap: 0 !important;
        align-content: start;
    }

    html:root body .fr-stats-pair--ranking > section > header {
        align-self: stretch;
    }

    html:root body .fr-stats-pair--ranking .fr-player-overall-ranking {
        grid-template-columns: 44px minmax(0, 1fr) 248px 62px !important;
        gap: 12px !important;
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    html:root body .fr-stats-pair--ranking .fr-player-ranking-metrics {
        grid-template-columns: 54px 54px 76px 52px !important;
        gap: 4px !important;
    }

    html:root body .fr-stats-pair--ranking .fr-player-ranking-metrics > * {
        min-width: 0 !important;
        padding-right: 2px !important;
        padding-left: 2px !important;
    }

    html:root body .fr-stats-pair--ranking .fr-player-ranking-metrics small,
    html:root body .fr-stats-pair--ranking .fr-player-ranking-metrics span {
        font-size: 9.5px !important;
        letter-spacing: 0 !important;
    }

    html:root body .fr-stats-pair--ranking .fr-player-ranking-photo {
        flex: 0 0 64px !important;
        width: 64px !important;
        height: 64px !important;
    }

    /* Club header: text, then "Rank by" buttons on one line */
    html:root body .fr-stats-pair--ranking .fr-club-statistics-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 12px !important;
    }

    html:root body .fr-stats-pair--ranking .fr-club-ranking-controls {
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 10px !important;
        width: auto !important;
    }

    html:root body .fr-stats-pair--ranking .fr-club-ranking-label {
        margin: 0 !important;
        white-space: nowrap;
    }

    html:root body .fr-stats-pair--ranking .fr-club-ranking-buttons {
        flex-wrap: nowrap !important;
        width: auto !important;
    }
}
/* Match page (2026-11): follow strip (WhatsApp channel, YouTube) */
html:root body.single-match main .fr-follow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    margin-top: 24px;
    padding: 16px 24px;
    border: 1px solid var(--fr-w-line, #dfe4ea);
    background: #fff;
}

html:root body.single-match main .fr-follow p {
    margin: 0;
    color: #5a6676;
    font-size: 15px;
}

html:root body.single-match main .fr-follow strong {
    margin-right: 8px;
    color: #071b35;
}

html:root body.single-match main .fr-follow-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

html:root body.single-match main .fr-follow-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    background: #071b35;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

html:root body.single-match main .fr-follow-links a:hover {
    background: #14325c;
}

html:root body.single-match main .fr-follow-wa svg {
    color: #25d366;
}

html:root body.single-match main .fr-follow-yt svg {
    color: #ff4d4d;
}

@media (max-width: 760px) {
    html:root body.single-match main .fr-follow {
        padding: 16px;
    }

    html:root body.single-match main .fr-follow-links,
    html:root body.single-match main .fr-follow-links a {
        flex: 1 1 auto;
        justify-content: center;
    }
}
/* Match page (2026-11): both starting XIs on one pitch
   (template-parts/match/lineup-pitch.php) */
html:root body .fr-lp {
    container-type: inline-size;
    margin: 0;
    border: 1px solid #dfe4ea;
    background: #fff;
}

html:root body .fr-lp-heads {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
}

html:root body .fr-lp-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    color: #071b35;
    font-size: 15px;
}

html:root body .fr-lp-head--away {
    flex-direction: row-reverse;
}

html:root body .fr-lp-head img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

html:root body .fr-lp-head span {
    color: #5a6676;
    font-size: 14px;
}

html:root body .fr-lp-pitch {
    position: relative;
    display: flex;
    min-height: 470px;
    overflow: hidden;
    background: repeating-linear-gradient(90deg, #0d2a4f 0 8.333%, #0f2f58 8.333% 16.666%);
}

/* Halfway line and centre circle */
html:root body .fr-lp-pitch::before,
html:root body .fr-lp-pitch::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(255, 255, 255, .16);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

html:root body .fr-lp-pitch::before {
    width: 0;
    height: 100%;
    border-width: 0 0 0 2px;
}

html:root body .fr-lp-pitch::after {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

html:root body .fr-lp-half {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    padding: 14px 8px;
}

html:root body .fr-lp-half--away {
    flex-direction: row-reverse;
}

/* Penalty area */
html:root body .fr-lp-half::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 22%;
    bottom: 22%;
    left: 0;
    width: 17%;
    border: 2px solid rgba(255, 255, 255, .16);
    border-left: 0;
}

html:root body .fr-lp-half--away::before {
    right: 0;
    left: auto;
    border-right: 0;
    border-left: 2px solid rgba(255, 255, 255, .16);
}

html:root body .fr-lp-line {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: space-around;
    min-width: 0;
}

html:root body a.fr-lp-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding: 4px 2px;
    color: #fff !important;
    text-decoration: none !important;
}

html:root body .fr-lp-face {
    position: relative;
    display: block;
    width: 54px;
    height: 54px;
}

html:root body .fr-lp-face img {
    width: 54px;
    height: 54px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    object-position: center top;
}

html:root body .fr-lp-player.is-potm .fr-lp-face img {
    border-color: #f4b400;
    box-shadow: 0 0 0 3px rgba(244, 180, 0, .35);
}

html:root body .fr-lp-player:hover .fr-lp-name,
html:root body .fr-lp-player:focus-visible .fr-lp-name {
    text-decoration: underline;
}

html:root body .fr-lp-rate {
    padding: 2px 6px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

html:root body .fr-lp-rate.is-good {
    background: #14804a;
}

html:root body .fr-lp-rate.is-mid {
    background: #f4b400;
    color: #071b35 !important;
}

html:root body .fr-lp-rate.is-low {
    background: #c93a32;
}

html:root body .fr-lp-face .fr-lp-rate {
    position: absolute;
    right: -16px;
    bottom: -2px;
}

html:root body .fr-lp-marks {
    position: absolute;
    top: -2px;
    right: calc(100% - 12px);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

html:root body .fr-lp-marks i {
    min-width: 18px;
    padding: 1px 4px;
    background: #fff;
    color: #071b35 !important;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    white-space: nowrap;
}

html:root body .fr-lp-marks .fr-lp-goal::before {
    content: "⚽";
    font-size: 10px;
}

html:root body .fr-lp-marks .fr-lp-own {
    background: #c93a32;
    color: #fff !important;
}

html:root body .fr-lp-marks .fr-lp-card {
    min-width: 0;
    width: 11px;
    height: 15px;
    padding: 0;
    background: #ffd500;
}

html:root body .fr-lp-marks .fr-lp-card.is-red {
    background: #e5484d;
}

html:root body .fr-lp-name {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html:root body .fr-lp-name em {
    color: #f4b400 !important;
    font-style: normal;
}

/* Narrow place (half column, tablet, phone): vertical pitch, home side
   at the top */
@container (max-width: 900px) {
    html:root body .fr-lp-pitch {
        flex-direction: column;
        background: repeating-linear-gradient(180deg, #0d2a4f 0 8.333%, #0f2f58 8.333% 16.666%);
    }

    html:root body .fr-lp-pitch::before {
        width: 100%;
        height: 0;
        border-width: 2px 0 0;
    }

    html:root body .fr-lp-half {
        flex: 0 0 auto;
        flex-direction: column;
        gap: 14px;
        padding: 16px 6px;
    }

    html:root body .fr-lp-half--away {
        flex-direction: column-reverse;
    }

    html:root body .fr-lp-half::before,
    html:root body .fr-lp-half--away::before {
        top: 0;
        right: 24%;
        bottom: auto;
        left: 24%;
        width: auto;
        height: 100px;
        border: 2px solid rgba(255, 255, 255, .16);
        border-top: 0;
    }

    html:root body .fr-lp-half--away::before {
        top: auto;
        bottom: 0;
        border-top: 2px solid rgba(255, 255, 255, .16);
        border-bottom: 0;
    }

    html:root body .fr-lp-line {
        flex: 0 0 auto;
        flex-direction: row-reverse;
    }

    html:root body a.fr-lp-player {
        flex: 1 1 0;
    }

    html:root body .fr-lp-face,
    html:root body .fr-lp-face img {
        width: 44px;
        height: 44px;
    }

    html:root body .fr-lp-face .fr-lp-rate {
        right: -14px;
        padding: 1px 4px;
        font-size: 11px;
    }

    html:root body .fr-lp-marks {
        right: calc(100% - 8px);
    }

    html:root body .fr-lp-marks i {
        min-width: 14px;
        padding: 0 2px;
        font-size: 10px;
        line-height: 14px;
    }

    html:root body .fr-lp-name {
        font-size: 11px;
    }

    html:root body .fr-lp-heads {
        padding: 10px 12px;
    }

    html:root body .fr-lp-head strong {
        font-size: 14px;
    }
}
/* Match page (2026-11): match report | pitch, two columns */
html:root body.single-match main .fr-report-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 24px;
}

html:root body.single-match main .fr-report-pair > * {
    min-width: 0;
    margin: 0 !important;
}

@media (min-width: 1101px) {
    html:root body.single-match main .fr-report-pair:not(.is-single) {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
    }

    html:root body.single-match main .fr-report-pair:not(.is-single) .fr-lp {
        display: flex;
        flex-direction: column;
        max-height: 980px;
    }

    html:root body.single-match main .fr-report-pair:not(.is-single) .fr-lp-pitch {
        flex: 1 1 auto;
    }

    html:root body.single-match main .fr-report-pair:not(.is-single) .fr-lp-half {
        flex: 1 1 0;
        justify-content: space-around;
    }

    /* No report yet: the pitch alone, not across the whole page */
    html:root body.single-match main .fr-report-pair.is-single .fr-lp {
        width: 100%;
        max-width: 1040px;
        margin: 0 auto !important;
    }
}
/* Statistics (2026-11): xG Table | Top Saves in a Single Match
   (.fr-stats-pair--xg). In half width the xG table drops its two
   optional columns, like on phones. */
html:root body .fr-sms-row {
    grid-template-columns: 30px minmax(0, 1.4fr) minmax(0, 1fr) 48px 56px;
}

html:root body .fr-sms-gk .fr-sms-photo {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e3e9f0;
    object-fit: cover;
    object-position: center top;
}

html:root body .fr-sms-id {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

html:root body .fr-sms-id small {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    color: var(--fr-w-muted);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

html:root body .fr-sms-id small img {
    flex: 0 0 14px;
}

html:root body a.fr-sms-match {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    color: var(--fr-w-navy) !important;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

html:root body a.fr-sms-match:hover {
    text-decoration: underline;
}

html:root body a.fr-sms-match small {
    color: var(--fr-w-muted);
    font-size: 12px;
    font-weight: 500;
}

html:root body .fr-sms-saves {
    font-size: 18px;
}

@media (min-width: 1101px) {
    html:root body .fr-stats-pair--xg:not(.is-single) .fr-xg-row:not(.fr-sms-row) {
        grid-template-columns: 30px minmax(0, 1fr) 36px 56px 50px 56px 60px;
        gap: 6px;
        padding-right: 12px;
        padding-left: 12px;
    }

    html:root body .fr-stats-pair--xg:not(.is-single) .fr-xg-row .fr-xg-opt {
        display: none;
    }
}

@media (max-width: 1100px) {
    html:root body .fr-stats-pair--xg {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    html:root body .fr-sms-row {
        grid-template-columns: 22px minmax(0, 1.3fr) minmax(0, 1fr) 36px 44px;
        gap: 6px;
        padding: 10px;
    }
}
html:root body .fr-stats-pair--xg.is-single {
    grid-template-columns: minmax(0, 1fr) !important;
}

/* Statistics (2026-11): round player photos framed like the home page
   (bigger circle, framed from the top so the head shows). */
html:root body .fr-ranking-photo:not(.fr-ranking-club-logo),
html:root body .fr-player-ranking-photo {
    flex: 0 0 58px !important;
    width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    background: #fff !important;
}

html:root body .fr-ranking-photo:not(.fr-ranking-club-logo) img,
html:root body .fr-player-ranking-photo img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    border-radius: 50% !important;
    background: #fff !important;
    object-fit: cover !important;
    object-position: 50% 0 !important;
}
/* Round player photos elsewhere (2026-11): framed from the top like the
   home page, same light background (Dashboard, related players on the
   player page, match line-up lists, League Overview, club squad table). */
html:root body .fr-dashboard-highlight-photo img,
html:root body .fr-dashboard-player-photo img,
html:root body .fr-dashboard-mini-photo img,
html:root body .frp-related-photo img,
html:root body .fr-match-lineup-player-photo img,
html:root body .fr-lo-photo img,
html:root body .fr-cst-photo img,
html:root body .fr-club-pro-ranking-photo img {
    background: #fff !important;
    object-fit: cover !important;
    object-position: 50% 0 !important;
}
/* Best players by position (page-best-players.php, 2026-11).
   The Team of the Season pitch uses team-of-matchday.css. */
html:root body .fr-bp-title {
    margin: 8px 0 16px;
    color: #071b35;
    font-family: var(--fr-display, 'Saira', 'Inter', sans-serif);
    font-size: 26px;
    font-weight: 600;
}

html:root body .fr-bp-ranking {
    margin: 24px 0 48px;
    scroll-margin-top: 140px;
}

html:root body .fr-bp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

html:root body .fr-bp-tabs a {
    padding: 10px 16px;
    border: 1px solid #dfe4ea;
    background: #fff;
    color: #071b35 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

html:root body .fr-bp-tabs a:hover {
    border-color: #071b35;
}

html:root body .fr-bp-tabs a.is-active {
    border-color: #071b35;
    background: #071b35;
    color: #fff !important;
}

html:root body .fr-bp-table {
    border: 1px solid #dfe4ea;
    background: #fff;
}

html:root body .fr-bp-row {
    display: grid;
    grid-template-columns: 44px minmax(220px, 1fr) repeat(4, 110px) 90px;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-top: 1px solid #dfe4ea;
    color: #3a4656;
    font-size: 15px;
    text-align: center;
}

html:root body .fr-bp-head {
    border-top: 0;
    background: #e3e9f0;
    color: #071b35;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

html:root body .fr-bp-row > :nth-child(2) {
    text-align: left;
}

html:root body .fr-bp-row.is-first {
    box-shadow: inset 4px 0 0 #f4b400;
    background: #fffbea;
}

html:root body .fr-bp-rank {
    color: #071b35;
    font-family: var(--fr-display, 'Saira', 'Inter', sans-serif);
    font-size: 20px;
    font-weight: 600;
}

html:root body .fr-bp-player {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

html:root body .fr-bp-player > img {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    object-position: 50% 0;
}

html:root body .fr-bp-row.is-first .fr-bp-player > img {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
}

html:root body .fr-bp-player > span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

html:root body .fr-bp-player a {
    overflow: hidden;
    color: #071b35 !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html:root body .fr-bp-player a:hover {
    text-decoration: underline;
}

html:root body .fr-bp-player small {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    color: #6b7686;
    font-size: 13px;
    white-space: nowrap;
}

html:root body .fr-bp-num {
    color: #071b35;
    font-weight: 600;
}

html:root body .fr-bp-rating {
    justify-self: center;
    min-width: 58px;
    padding: 6px 8px;
    background: #071b35;
    color: #fff;
    font-size: 16px;
}

html:root body .fr-bp-row.is-first .fr-bp-rating {
    background: #f4b400;
    color: #071b35;
}

html:root body .fr-bp-note,
html:root body .fr-bp-empty {
    margin: 12px 0 0;
    color: #6b7686;
    font-size: 13px;
}

@media (max-width: 900px) {
    html:root body .fr-bp-head {
        display: none;
    }

    html:root body .fr-bp-row {
        grid-template-columns: 28px repeat(4, minmax(0, 1fr)) 60px;
        gap: 10px 8px;
        padding: 12px;
    }

    html:root body .fr-bp-player {
        grid-row: 1;
        grid-column: 2 / 6;
    }

    html:root body .fr-bp-rating {
        grid-row: 1;
        grid-column: 6;
    }

    html:root body .fr-bp-num {
        display: flex;
        flex-direction: column;
        grid-row: 2;
        font-size: 14px;
    }

    html:root body .fr-bp-row > :nth-child(3) { grid-column: 2; }
    html:root body .fr-bp-row > :nth-child(4) { grid-column: 3; }
    html:root body .fr-bp-row > :nth-child(5) { grid-column: 4; }
    html:root body .fr-bp-row > :nth-child(6) { grid-column: 5; }

    html:root body .fr-bp-num::before {
        content: attr(data-label);
        color: #6b7686;
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
    }
}
/* Fixtures page (2026-11): compact match cards in a grid, like the
   home page Results / Next up cards (CSS only: the parts of each
   card are laid out with grid areas). */
html:root body .fixtures-page .matches-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

html:root body .fixtures-page a.match-card {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    grid-template-areas:
        "hl hn hs"
        "al an as"
        "fd fd fs"
        "vn vn vn";
    align-items: center;
    gap: 10px 12px;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 18px 20px 16px !important;
    border: 1px solid #dfe4ea !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #071b35 !important;
    text-decoration: none !important;
}

html:root body .fixtures-page a.match-card:hover {
    border-color: #071b35 !important;
}

html:root body .fixtures-page .match-card .match-meta,
html:root body .fixtures-page .match-card .match-meta-datetime,
html:root body .fixtures-page .match-card .match-teams,
html:root body .fixtures-page .match-card .match-team,
html:root body .fixtures-page .match-card .match-score {
    display: contents !important;
}

/* Teams */
html:root body .fixtures-page .match-card .match-team-logo-wrap {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

html:root body .fixtures-page .match-card .match-team-logo {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
}

html:root body .fixtures-page .match-team--home .match-team-logo-wrap { grid-area: hl; }
html:root body .fixtures-page .match-team--home .match-team-name { grid-area: hn; }
html:root body .fixtures-page .match-team--away .match-team-logo-wrap { grid-area: al; }
html:root body .fixtures-page .match-team--away .match-team-name { grid-area: an; }

html:root body .fixtures-page .match-card .match-team-name {
    overflow: hidden;
    margin: 0 !important;
    color: #071b35 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-align: left !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html:root body .fixtures-page .match-card .is-loser .match-team-name {
    color: #5a6676 !important;
    font-weight: 500 !important;
}

/* Score: one navy box per team */
html:root body .fixtures-page .match-card .match-score-sep,
html:root body .fixtures-page .match-card .match-score-vs {
    display: none !important;
}

html:root body .fixtures-page .match-card .match-score-value {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 !important;
    padding: 0 !important;
    background: #071b35 !important;
    color: #fff !important;
    font-family: var(--fr-display, 'Saira', 'Inter', sans-serif);
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

html:root body .fixtures-page .match-card .match-score-value:first-child { grid-area: hs; }
html:root body .fixtures-page .match-card .match-score-value:last-child { grid-area: as; }

/* Not played: the kick-off time in a box on the right */
html:root body .fixtures-page .match-card .match-time {
    display: none !important;
}

html:root body .fixtures-page .match-card:not(:has(.match-score-value)) .match-time {
    display: flex !important;
    grid-row: 1 / 3;
    grid-column: 3;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    height: 46px;
    margin: 0 !important;
    padding: 0 12px !important;
    background: #eef2f6 !important;
    color: #071b35 !important;
    font-family: var(--fr-display, 'Saira', 'Inter', sans-serif);
    font-size: 24px !important;
    font-weight: 600 !important;
}

/* Footer: date + status */
html:root body .fixtures-page .match-card .match-date {
    grid-area: fd;
    margin: 4px 0 0 !important;
    color: #5a6676 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
}

html:root body .fixtures-page .match-card .match-status {
    grid-area: fs;
    justify-self: end;
    margin: 4px 0 0 !important;
    padding: 3px 8px !important;
    border-radius: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
}

html:root body .fixtures-page .match-card .status-finished {
    background: #eef2f6 !important;
    color: #071b35 !important;
}

/* Venue: small grey line under the footer */
html:root body .fixtures-page .match-card .match-venue {
    display: flex !important;
    grid-area: vn;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin: 0 !important;
    padding: 10px 0 0 !important;
    border-top: 1px solid #eef2f6 !important;
    color: #6b7686 !important;
    font-size: 12px !important;
}

html:root body .fixtures-page .match-card .match-venue span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1280px) {
    html:root body .fixtures-page .matches-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    html:root body .fixtures-page .matches-list {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* Goal disallowed (2026-11): grey ball with a red slash, grey label */
html:root body.single-match .fr-event-goal_disallowed .fr-match-event-icon span {
    border-color: #cbd5e1 !important;
    background: #f1f5f9 !important;
}

html:root body.single-match .fr-event-goal_disallowed .fr-match-event-icon svg {
    display: block;
}

html:root body.single-match .fr-event-goal_disallowed .fr-match-event-main > strong {
    color: #64748b !important;
}
/* Lineup pitch (2026-11): light grey pitch with white lines instead of
   navy; names in navy. */
html:root body .fr-lp-pitch {
    background: #eceef1 !important;
}

html:root body .fr-lp-pitch::before,
html:root body .fr-lp-pitch::after,
html:root body .fr-lp-half::before {
    border-color: #fff !important;
}

html:root body .fr-lp-pitch::before,
html:root body .fr-lp-pitch::after {
    border-width: 2px;
}

html:root body .fr-lp-pitch::before {
    border-width: 0 0 0 2px;
}

html:root body a.fr-lp-player,
html:root body .fr-lp-name {
    color: #071b35 !important;
}

html:root body .fr-lp-name em {
    color: #6b7686 !important;
}

html:root body .fr-lp-face img {
    border-color: #fff;
    box-shadow: 0 1px 3px rgba(7, 27, 53, .18);
}

html:root body .fr-lp-marks i {
    box-shadow: 0 1px 2px rgba(7, 27, 53, .2);
}

@container (max-width: 900px) {
    html:root body .fr-lp-pitch {
        background: #eceef1 !important;
    }

    html:root body .fr-lp-pitch::before {
        border-width: 2px 0 0;
    }
}
/* Player cards (2026-11): white photo area, so cut-out photos
   (transparent background) look the same as photos on white. */
html:root body .fr-player-card .fr-player-image {
    background: #fff !important;
}

/* Player photos everywhere (2026-11): white background behind every
   player photo, so cut-outs (transparent) and photos shot on white
   look the same. Club logos and flags are left alone. */
html:root body img[src*="/images/players/"],
html:root body a[href*="/player/"] img:not([class*="logo"]):not([class*="flag"]):not([class*="club"]),
html:root body .fr-player-card .fr-player-image,
html:root body .fr-ex-photo,
html:root body .fr-comp-leader-photo,
html:root body .fr-mdt-scorer-photo,
html:root body .fr-mdt-topplayer-photo,
html:root body .fr-ranking-photo:not(.fr-ranking-club-logo),
html:root body .fr-player-ranking-photo,
html:root body .fr-leaders-spot-photo,
html:root body .fr-leaders-spot-photo img,
html:root body .fr-leaders-player img,
html:root body .fr-potm-photo,
html:root body .frp-related-photo,
html:root body .fr-tm-face {
    background-color: #fff !important;
}
/* Scores everywhere (2026-11): no dark box, numbers in black */
html:root body .fr-hlive-score,
html:root body .fr-hlive-score *,
html:root body .fr-mdt-score,
html:root body .match-score-value,
html:root body .fr-ls-live-match strong,
html:root body .fr-comp-match-score,
html:root body .fr-comp-match-score *,
html:root body .fr-club-pro-match-score strong {
    background: transparent !important;
    box-shadow: none !important;
    border-color: transparent !important;
    color: #111827 !important;
}
/* Scores: stronger selectors (the fixtures cards and some blocks had
   more specific dark-box rules) */
html:root body .fixtures-page .match-card .match-score-value.match-score-value,
html:root body main .fr-hlive-score.fr-hlive-score,
html:root body main .fr-hlive-score.fr-hlive-score *,
html:root body main .fr-mdt-score.fr-mdt-score,
html:root body main .fr-ls-live-match.fr-ls-live-match strong,
html:root body main .fr-comp-match-score.fr-comp-match-score,
html:root body main .fr-comp-match-score.fr-comp-match-score *,
html:root body main .fr-club-pro-match-score.fr-club-pro-match-score strong {
    background: transparent !important;
    box-shadow: none !important;
    border-color: transparent !important;
    color: #111827 !important;
}

/* PATCH-263: no black/navy backgrounds in page content (header green, content white, footer navy) */

/* 1. Buttons: white, navy outline, navy text */
html:root body:not(#fr-nb) .fr-filter-button.fr-filter-button,
html:root body:not(#fr-nb) .fr-statistics-filter-button.fr-statistics-filter-button,
html:root body:not(#fr-nb) .fr-abroad-filter-apply.fr-abroad-filter-apply,
html:root body:not(#fr-nb) .fr-cp-submit.fr-cp-submit,
html:root body:not(#fr-nb) .fr-contact-submit.fr-contact-submit,
html:root body:not(#fr-nb) .fr-pp-btn.fr-pp-btn,
html:root body:not(#fr-nb) .fr-season-button.fr-season-button,
html:root body:not(#fr-nb) .fr-competition-button.fr-competition-button,
html:root body:not(#fr-nb) a.fr-player-button.fr-player-button,
html:root body:not(#fr-nb) .fr-scout-similar.fr-scout-similar,
html:root body:not(#fr-nb) .fr-follow-wa.fr-follow-wa,
html:root body:not(#fr-nb) .fr-follow-yt.fr-follow-yt,
html:root body:not(#fr-nb) .fr-tm-btn.fr-tm-btn--main,
html:root body:not(#fr-nb) .fr-tm-btn.fr-tm-btn--x,
html:root body:not(#fr-nb) .fr-single-competition-back a {
    background: #fff !important;
    border: 0 !important;
    box-shadow: inset 0 0 0 1.5px #071b35 !important;
    color: #071b35 !important;
}
html:root body:not(#fr-nb) .fr-filter-button.fr-filter-button:hover,
html:root body:not(#fr-nb) .fr-statistics-filter-button.fr-statistics-filter-button:hover,
html:root body:not(#fr-nb) .fr-abroad-filter-apply.fr-abroad-filter-apply:hover,
html:root body:not(#fr-nb) .fr-cp-submit.fr-cp-submit:hover,
html:root body:not(#fr-nb) .fr-contact-submit.fr-contact-submit:hover,
html:root body:not(#fr-nb) .fr-pp-btn.fr-pp-btn:hover,
html:root body:not(#fr-nb) .fr-season-button.fr-season-button:hover,
html:root body:not(#fr-nb) .fr-competition-button.fr-competition-button:hover,
html:root body:not(#fr-nb) a.fr-player-button.fr-player-button:hover,
html:root body:not(#fr-nb) .fr-scout-similar.fr-scout-similar:hover,
html:root body:not(#fr-nb) .fr-follow-wa.fr-follow-wa:hover,
html:root body:not(#fr-nb) .fr-follow-yt.fr-follow-yt:hover,
html:root body:not(#fr-nb) .fr-tm-btn.fr-tm-btn--main:hover,
html:root body:not(#fr-nb) .fr-tm-btn.fr-tm-btn--x:hover,
html:root body:not(#fr-nb) .fr-single-competition-back a:hover {
    background: #e3e9f0 !important;
}
html:root body:not(#fr-nb) .fr-filter-button *, html:root body:not(#fr-nb) .fr-statistics-filter-button *,
html:root body:not(#fr-nb) .fr-abroad-filter-apply *, html:root body:not(#fr-nb) .fr-cp-submit *,
html:root body:not(#fr-nb) .fr-contact-submit *, html:root body:not(#fr-nb) .fr-pp-btn *,
html:root body:not(#fr-nb) .fr-season-button *, html:root body:not(#fr-nb) .fr-competition-button *,
html:root body:not(#fr-nb) a.fr-player-button *, html:root body:not(#fr-nb) .fr-scout-similar *,
html:root body:not(#fr-nb) .fr-follow-wa *, html:root body:not(#fr-nb) .fr-follow-yt *,
html:root body:not(#fr-nb) .fr-tm-btn--main *, html:root body:not(#fr-nb) .fr-tm-btn--x *,
html:root body:not(#fr-nb) .fr-single-competition-back a * {
    color: #071b35 !important;
}

/* 2. Active tabs: grey-blue band, navy outline */
html:root body:not(#fr-nb) .matchday-tab.matchday-tab.is-active,
html:root body:not(#fr-nb) .fr-ls-venue.fr-ls-venue a.is-active,
html:root body:not(#fr-nb) .fr-leaders-switch.fr-leaders-switch a.is-active,
html:root body:not(#fr-nb) .fr-tm-mds.fr-tm-mds a.is-active,
html:root body:not(#fr-nb) .fr-bp-tabs.fr-bp-tabs a.is-active,
html:root body:not(#fr-nb) .fr-hl-tab.fr-hl-tab.is-active,
html:root body:not(#fr-nb) .fr-nat-tab.fr-nat-tab.is-active,
html:root body:not(#fr-nb) .fr-division-tab.fr-division-tab.is-active,
html:root body:not(#fr-nb) .fr-match-tab.fr-match-tab.is-active,
html:root body:not(#fr-nb) .fr-match-lineup-switch.fr-match-lineup-switch .is-active {
    background: #e3e9f0 !important;
    border-color: #071b35 !important;
    box-shadow: inset 0 0 0 1.5px #071b35 !important;
    color: #071b35 !important;
}
html:root body:not(#fr-nb) .matchday-tab.is-active *, html:root body:not(#fr-nb) .fr-ls-venue a.is-active *,
html:root body:not(#fr-nb) .fr-leaders-switch a.is-active *, html:root body:not(#fr-nb) .fr-tm-mds a.is-active *,
html:root body:not(#fr-nb) .fr-bp-tabs a.is-active *, html:root body:not(#fr-nb) .fr-hl-tab.is-active *,
html:root body:not(#fr-nb) .fr-nat-tab.is-active *, html:root body:not(#fr-nb) .fr-division-tab.is-active *,
html:root body:not(#fr-nb) .fr-match-tab.is-active *, html:root body:not(#fr-nb) .fr-match-lineup-switch .is-active * {
    color: #071b35 !important;
}

/* 3. Badges, numbers, small labels: grey-blue, navy text */
html:root body:not(#fr-nb) .fr-shirt-number.fr-shirt-number,
html:root body:not(#fr-nb) .fr-comp-leader-rank.fr-comp-leader-rank,
html:root body:not(#fr-nb) .fr-match-context-rank.fr-match-context-rank,
html:root body:not(#fr-nb) .fr-match-events-count.fr-match-events-count,
html:root body:not(#fr-nb) .fr-match-event-time.fr-match-event-time,
html:root body:not(#fr-nb) .fr-rating.fr-rating-average,
html:root body:not(#fr-nb) .fr-rating.fr-rating-good,
html:root body:not(#fr-nb) .fr-bp-rating.fr-bp-rating,
html:root body:not(#fr-nb) .fr-ac-chips.fr-ac-chips b.is-on,
html:root body:not(#fr-nb) .fr-lo-board.fr-lo-board li > strong,
html:root body:not(#fr-nb) .fr-lo-goalcount.fr-lo-goalcount li > span,
html:root body:not(#fr-nb) .fr-lo-scores.fr-lo-scores > div {
    background: #e3e9f0 !important;
    border-color: #c9d3df !important;
    color: #071b35 !important;
}
html:root body:not(#fr-nb) .fr-match-events-count *, html:root body:not(#fr-nb) .fr-lo-scores > div * {
    color: #071b35 !important;
}
html:root body:not(#fr-nb) .frp-hero-shirt-number.frp-hero-shirt-number {
    background: #fff !important;
    border: 0 !important;
    box-shadow: inset 0 0 0 2px #071b35 !important;
    color: #071b35 !important;
}

/* 4. Bands and table heads */
html:root body:not(#fr-nb) .fr-match-statistics-teams.fr-match-statistics-teams,
html:root body:not(#fr-nb) .fr-career-table.fr-career-table thead th {
    background: #e3e9f0 !important;
    color: #071b35 !important;
}
html:root body:not(#fr-nb) .fr-match-statistics-teams * { color: #071b35 !important; }

/* 5. Top scorer / assists / clean sheets / saves: 1st place card */
html:root body:not(#fr-nb) .fr-leaders-spot.fr-leaders-spot.is-place-1 {
    background: #e3e9f0 !important;
    border-color: #c9d3df !important;
    color: #071b35 !important;
}
html:root body:not(#fr-nb) .fr-leaders-spot.is-place-1 *:not(img) { color: #071b35 !important; }

/* 6. Photo / video frames and overlays */
html:root body:not(#fr-nb) .fr-match-featured-video-frame.fr-match-featured-video-frame,
html:root body:not(#fr-nb) .fr-mg-item.fr-mg-item,
html:root body:not(#fr-nb) .fr-hl-thumb.fr-hl-thumb {
    background: #eef1f5 !important;
}
html:root body:not(#fr-nb) .fr-hl-kind.fr-hl-kind {
    background: #fff !important;
    color: #071b35 !important;
}
html:root body:not(#fr-nb) .fr-hl-play.fr-hl-play,
html:root body:not(#fr-nb) .fr-club-highlight-play.fr-club-highlight-play {
    background: rgba(255, 255, 255, .92) !important;
    color: #071b35 !important;
}
html:root body:not(#fr-nb) .fr-hl-play *, html:root body:not(#fr-nb) .fr-club-highlight-play * {
    color: #071b35 !important;
    fill: currentColor;
}

/* 7. Club history timeline dots (player page) */
html:root body:not(#fr-nb) .frp-history-line > span {
    background: #fff !important;
    box-shadow: inset 0 0 0 2px #071b35 !important;
}
/* PATCH-265: player page "Share this profile" card */
html:root body .fr-sp .fr-sp-body { display: flex; gap: 14px; align-items: flex-start; padding-top: 4px; }
html:root body .fr-sp .fr-sp-preview { flex: 0 0 96px; display: block; border: 1px solid #dfe4ea; background: #e3e9f0; line-height: 0; }
html:root body .fr-sp .fr-sp-preview img { width: 96px !important; height: auto !important; aspect-ratio: 9 / 16; object-fit: cover; display: block; border-radius: 0 !important; }
html:root body .fr-sp .fr-sp-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
html:root body .fr-sp .fr-sp-intro { margin: 0; font-size: 13px; line-height: 1.45; color: #334155; }
html:root body:not(#fr-nb) .fr-sp a.fr-sp-download { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 12px; background: #fff !important; box-shadow: inset 0 0 0 1.5px #071b35 !important; border: 0 !important; color: #071b35 !important; font-size: 13px; font-weight: 700; text-decoration: none; }
html:root body:not(#fr-nb) .fr-sp a.fr-sp-download:hover { background: #e3e9f0 !important; }
html:root body .fr-sp .fr-sp-hint { font-size: 11px; color: #64748b; margin-top: -4px; }
html:root body .fr-sp .fr-sp-links { list-style: none; margin: 2px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
html:root body:not(#fr-nb) .fr-sp .fr-sp-link { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: #fff !important; border: 1px solid #dfe4ea !important; color: #071b35 !important; cursor: pointer; padding: 0; transition: background .15s, color .15s, border-color .15s; }
html:root body:not(#fr-nb) .fr-sp .fr-sp-link--whatsapp:hover { background: #25d366 !important; border-color: #25d366 !important; color: #fff !important; }
html:root body:not(#fr-nb) .fr-sp .fr-sp-link--x:hover { background: #000 !important; border-color: #000 !important; color: #fff !important; }
html:root body:not(#fr-nb) .fr-sp .fr-sp-link--facebook:hover { background: #1877f2 !important; border-color: #1877f2 !important; color: #fff !important; }
html:root body:not(#fr-nb) .fr-sp .fr-sp-copy:hover { background: #e3e9f0 !important; }
html:root body .fr-sp .fr-sp-copied { font-size: 12px; font-weight: 600; color: #007863; min-height: 0; }
html:root body .fr-sp .fr-sp-copied:empty { display: none; }
/* PATCH-266: "Follow us" strip on match, player and club pages (4 networks) */
html:root body:not(#fr-nb) .fr-follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 24px 0; padding: 16px 24px; border: 1px solid #dfe4ea; background: #fff; }
html:root body:not(#fr-nb) .fr-follow p { margin: 0; color: #5a6676; font-size: 15px; }
html:root body:not(#fr-nb) .fr-follow strong { margin-right: 8px; color: #071b35; }
html:root body:not(#fr-nb) .fr-follow-links { display: flex; flex-wrap: wrap; gap: 10px; }
html:root body:not(#fr-nb) .fr-follow-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: #fff !important; border: 0 !important; box-shadow: inset 0 0 0 1.5px #071b35 !important; color: #071b35 !important; font-size: 14px; font-weight: 700; text-decoration: none; }
html:root body:not(#fr-nb) .fr-follow-links a:hover { background: #e3e9f0 !important; }
html:root body:not(#fr-nb) .fr-follow-links .fr-follow-wa svg { color: #25d366 !important; }
html:root body:not(#fr-nb) .fr-follow-links .fr-follow-yt svg { color: #ff0033 !important; }
html:root body:not(#fr-nb) .fr-follow-links .fr-follow-fb svg { color: #1877f2 !important; }
html:root body:not(#fr-nb) .fr-follow-links .fr-follow-x svg { color: #000 !important; }
@media (max-width: 760px) {
    html:root body:not(#fr-nb) .fr-follow { padding: 16px; }
    html:root body:not(#fr-nb) .fr-follow-links { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    html:root body:not(#fr-nb) .fr-follow-links a { justify-content: center; }
}
/* PATCH-267: follow strip hover = brand colour of each network */
html:root body:not(#fr-nb) .fr-follow .fr-follow-links a.fr-follow-wa:hover { background: #25d366 !important; box-shadow: inset 0 0 0 1.5px #25d366 !important; }
html:root body:not(#fr-nb) .fr-follow .fr-follow-links a.fr-follow-yt:hover { background: #ff0033 !important; box-shadow: inset 0 0 0 1.5px #ff0033 !important; }
html:root body:not(#fr-nb) .fr-follow .fr-follow-links a.fr-follow-fb:hover { background: #1877f2 !important; box-shadow: inset 0 0 0 1.5px #1877f2 !important; }
html:root body:not(#fr-nb) .fr-follow .fr-follow-links a.fr-follow-x:hover { background: #000 !important; box-shadow: inset 0 0 0 1.5px #000 !important; }
html:root body:not(#fr-nb) .fr-follow .fr-follow-links a[class^="fr-follow-"]:hover,
html:root body:not(#fr-nb) .fr-follow .fr-follow-links a[class^="fr-follow-"]:hover *,
html:root body:not(#fr-nb) .fr-follow .fr-follow-links a[class^="fr-follow-"]:hover svg { color: #fff !important; }
/* PATCH-268: search results + 404 pages like the other pages */
html:root body:not(#fr-nb) .fr-search-page-header { background: #e3e9f0 !important; border: 1px solid #dfe4ea !important; padding: 22px 28px !important; margin: 24px 0 24px !important; }
html:root body:not(#fr-nb) .fr-search-page-eyebrow { font-size: 12px !important; font-weight: 700 !important; letter-spacing: .08em; text-transform: uppercase; color: #64748b !important; }
html:root body:not(#fr-nb) .fr-search-page-header h1 { font-family: Saira, Inter, system-ui, sans-serif !important; font-size: 38px !important; font-weight: 600 !important; line-height: 1.15 !important; color: #071b35 !important; margin: 6px 0 16px !important; }
html:root body:not(#fr-nb) .fr-search-page-form input { background: #fff !important; border: 1px solid #c9d3df !important; }
html:root body:not(#fr-nb) .fr-search-page-form button,
html:root body:not(#fr-nb) .fr-404-search button,
html:root body:not(#fr-nb) .fr-404-links a { background: #fff !important; border: 0 !important; box-shadow: inset 0 0 0 1.5px #071b35 !important; color: #071b35 !important; }
html:root body:not(#fr-nb) .fr-search-page-form button:hover,
html:root body:not(#fr-nb) .fr-404-search button:hover,
html:root body:not(#fr-nb) .fr-404-links a:hover { background: #e3e9f0 !important; }
html:root body:not(#fr-nb) .fr-search-page-form button *, html:root body:not(#fr-nb) .fr-404-links a * { color: #071b35 !important; }
html:root body:not(#fr-nb) .fr-search-page-results .fr-search-list { border: 1px solid #dfe4ea !important; background: #fff !important; box-shadow: none !important; }
html:root body:not(#fr-nb) .fr-search-page-results .fr-search-group-title { background: #e3e9f0 !important; color: #071b35 !important; font-family: Saira, Inter, system-ui, sans-serif !important; font-size: 16px !important; font-weight: 600 !important; letter-spacing: .02em; padding: 12px 20px !important; }
html:root body:not(#fr-nb) .fr-search-page-results .fr-search-item { border-bottom: 1px solid #eef1f5 !important; padding-left: 20px !important; padding-right: 20px !important; }
html:root body:not(#fr-nb) .fr-search-page-results .fr-search-item:hover { background: #f5f7fa !important; }
html:root body:not(#fr-nb) .fr-search-page-results .fr-search-player-photo { width: 44px !important; height: 44px !important; border-radius: 50% !important; object-fit: cover !important; object-position: 50% 0 !important; background: #e8eef4 !important; border: 1px solid #dfe4ea !important; }
@media (max-width: 760px) {
    html:root body:not(#fr-nb) .fr-search-page-header { padding: 18px 16px !important; }
    html:root body:not(#fr-nb) .fr-search-page-header h1 { font-size: 28px !important; }
}
/* PATCH-270: "Follow us" + newsletter in one block, two columns (match, player, club pages) */
html:root body:not(#fr-nb) .fr-follow-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin: 24px 0; align-items: stretch; }
html:root body:not(#fr-nb) .fr-follow-duo > .fr-follow { margin: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 24px 28px; }
html:root body:not(#fr-nb) .fr-follow-duo > .fr-follow p strong { display: block; margin: 0 0 4px; font-family: Saira, Inter, system-ui, sans-serif; font-size: 24px; font-weight: 600; line-height: 1.2; }
html:root body:not(#fr-nb) .fr-follow-duo > .fr-follow .fr-follow-links { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
html:root body:not(#fr-nb) .fr-follow-duo > .fr-follow .fr-follow-links a { justify-content: center; }
html:root body:not(#fr-nb) .fr-follow-duo > .fr-nl { margin: 0; display: flex; }
html:root body:not(#fr-nb) .fr-follow-duo > .fr-nl > .ml-form-embedContainer { flex: 1; display: flex; flex-direction: column; justify-content: center; }
html:root body:not(#fr-nb) .fr-follow-duo .fr-nl .fr-nl-inner { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 24px 28px; }
@media (max-width: 1100px) {
    html:root body:not(#fr-nb) .fr-follow-duo { grid-template-columns: minmax(0, 1fr); }
}
/* PATCH-271: View Player / View Club without dark border, smaller shirt numbers, no navy rank badges */
html:root body:not(#fr-nb) a.fr-player-button.fr-player-button.fr-player-button,
html:root body:not(#fr-nb) a.fr-home-club-button.fr-home-club-button.fr-home-club-button { background: #e3e9f0 !important; border: 0 !important; box-shadow: none !important; color: #071b35 !important; }
html:root body:not(#fr-nb) a.fr-player-button.fr-player-button.fr-player-button:hover,
html:root body:not(#fr-nb) a.fr-home-club-button.fr-home-club-button.fr-home-club-button:hover { background: #d3dce7 !important; }
html:root body:not(#fr-nb) .fr-shirt-number.fr-shirt-number.fr-shirt-number { width: 28px !important; height: 28px !important; min-width: 28px !important; font-size: 12px !important; line-height: 28px !important; top: 8px !important; right: 8px !important; background: #e3e9f0 !important; border: 0 !important; box-shadow: none !important; color: #071b35 !important; }
html:root body:not(#fr-nb) .frp-hero-shirt-number.frp-hero-shirt-number.frp-hero-shirt-number { width: 48px !important; height: 48px !important; min-width: 48px !important; font-size: 20px !important; line-height: 48px !important; background: #e3e9f0 !important; border: 0 !important; box-shadow: none !important; color: #071b35 !important; }
html:root body:not(#fr-nb) .fr-nat-scorer-rank.fr-nat-scorer-rank { background: #e3e9f0 !important; color: #071b35 !important; border: 0 !important; }
/* PATCH-272: View Player button only as wide as its text */
html:root body:not(#fr-nb) a.fr-player-button.fr-player-button.fr-player-button { display: inline-flex !important; width: auto !important; max-width: none !important; align-self: flex-start !important; justify-content: center; padding: 5px 12px !important; }
/* PATCH-274: club page Highlights: video icon + videos play in a window on the page */
html:root body:not(#fr-nb) .fr-club-highlight-play.fr-club-highlight-play { width: 44px !important; height: 44px !important; min-width: 44px !important; flex: 0 0 44px !important; display: flex !important; align-items: center; justify-content: center; background: #e3e9f0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; color: #071b35 !important; }
html:root body:not(#fr-nb) .fr-club-highlight-play.fr-club-highlight-play svg { width: 22px !important; height: 22px !important; color: #071b35 !important; stroke: currentColor; fill: none; }
html:root body:not(#fr-nb) a.fr-club-highlight-item:hover .fr-club-highlight-play { background: #071b35 !important; }
html:root body:not(#fr-nb) a.fr-club-highlight-item:hover .fr-club-highlight-play svg { color: #fff !important; }
html:root body .fr-hl-dialog { width: min(980px, calc(100% - 24px)); max-width: none; padding: 0; border: 0; background: #031826; color: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
html:root body .fr-hl-dialog::backdrop { background: rgba(3, 24, 38, .82); }
html:root body .fr-hl-dialog .fr-hl-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 20px; }
html:root body .fr-hl-dialog .fr-hl-dialog-head strong { min-width: 0; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
html:root body .fr-hl-dialog .fr-hl-close { flex: 0 0 auto; width: 38px; height: 38px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
html:root body .fr-hl-dialog .fr-hl-close:hover { background: rgba(255, 255, 255, .24); }
html:root body .fr-hl-dialog .fr-hl-dialog-frame { aspect-ratio: 16 / 9; background: #000; }
html:root body .fr-hl-dialog .fr-hl-dialog-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
html.fr-hl-locked { overflow: hidden; }
/* PATCH-275: Highlights page Shorts section (vertical cards) + vertical player window */
html:root body:not(#fr-nb) .fr-hl-grid.fr-hl-grid--shorts { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 14px !important; }
html:root body:not(#fr-nb) .fr-hl-card.fr-hl-card--short { grid-column: auto !important; }
html:root body:not(#fr-nb) .fr-hl-card--short .fr-hl-thumb { aspect-ratio: 9 / 16 !important; height: auto !important; }
html:root body:not(#fr-nb) .fr-hl-card--short .fr-hl-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center !important; }
html:root body:not(#fr-nb) .fr-hl-card--short .fr-hl-body { padding: 10px 12px !important; }
html:root body:not(#fr-nb) .fr-hl-card--short .fr-hl-title { font-size: 14px !important; line-height: 1.3 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html:root body:not(#fr-nb) .fr-hl-card--short .fr-hl-sub { font-size: 12px !important; }
html:root body .fr-hl-dialog.is-vertical { width: min(420px, calc(100% - 24px)) !important; }
html:root body .fr-hl-dialog.is-vertical .fr-hl-dialog-frame { aspect-ratio: 9 / 16 !important; max-height: calc(100vh - 90px); margin: 0 auto; }
@media (max-width: 1100px) { html:root body:not(#fr-nb) .fr-hl-grid.fr-hl-grid--shorts { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 700px) { html:root body:not(#fr-nb) .fr-hl-grid.fr-hl-grid--shorts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* PATCH-276: player page video card shows the video still image */
html:root body:not(#fr-nb) .frp-highlights .frp-hl-play { z-index: 0; }
html:root body:not(#fr-nb) .frp-highlights .frp-hl-play .frp-hl-thumb { position: absolute; inset: 0; z-index: -2; width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
html:root body:not(#fr-nb) .frp-highlights .frp-hl-play::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 24, 38, .05) 30%, rgba(3, 24, 38, .75) 100%); }
html:root body:not(#fr-nb) .frp-highlights .frp-hl-play:hover .frp-hl-button { transform: scale(1.06); }
