/* FP_MATCH_REDESIGN_V1 */
:root {
    --fpm-green:#005139;
    --fpm-deep:#003c2c;
    --fpm-gold:#f4c653;
    --fpm-bg:#f6f7f3;
    --fpm-text:#102f29;
    --fpm-border:#e0e6de;
}

* { box-sizing:border-box; }

body.fpm-body {
    margin:0;
    background:var(--fpm-bg);
    color:var(--fpm-text);
    font-family:Arial,Helvetica,sans-serif;
    font-size:13px;
}

a { color:inherit; }

.fpm-header {
    background:var(--fpm-deep);
    border-bottom:4px solid var(--fpm-gold);
}

.fpm-header-inner {
    max-width:1450px;
    margin:auto;
    padding:20px 24px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
}

.fpm-brand {
    display:flex;
    gap:12px;
    align-items:center;
    color:#fff;
    text-decoration:none;
    font-size:22px;
    font-weight:900;
    letter-spacing:-.6px;
}

.fpm-brand b { color:var(--fpm-gold); }

.fpm-brand-icon { font-size:27px; }

.fpm-nav {
    display:flex;
    gap:25px;
    flex-wrap:wrap;
}

.fpm-nav a {
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
}

.fpm-nav a:hover { color:var(--fpm-gold); }

.fpm-page {
    max-width:1450px;
    margin:auto;
    padding:23px 24px 55px;
}

.fpm-breadcrumb {
    display:flex;
    gap:9px;
    flex-wrap:wrap;
    color:#64766d;
    font-size:12px;
    margin-bottom:20px;
}

.fpm-breadcrumb a {
    color:var(--fpm-green);
    text-decoration:none;
}

.fpm-hero {
    background:linear-gradient(125deg,#003e2d,#006345);
    border:2px solid #d5ae43;
    border-radius:15px;
    padding:28px 32px 32px;
    margin-bottom:22px;
    color:white;
}

.fpm-hero-top {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:16px;
}

.fpm-kicker,.fpm-eyebrow {
    font-size:10px;
    font-weight:900;
    letter-spacing:1.3px;
    color:var(--fpm-gold);
}

.fpm-hero h1 {
    font-size:29px;
    margin:10px 0;
    line-height:1.2;
    color:#fff;
}

.fpm-hero p { margin:0;opacity:.85; }

.fpm-hero-date {
    border:1px solid #ffffff44;
    background:#ffffff12;
    padding:11px 15px;
    border-radius:10px;
    font-size:12px;
    font-weight:700;
}

.fpm-matchup {
    display:grid;
    grid-template-columns:1fr 140px 1fr;
    align-items:center;
    margin-top:26px;
    padding:24px;
    background:#ffffff0e;
    border:1px solid #ffffff28;
    border-radius:13px;
    text-align:center;
    gap:10px;
}

.fpm-team {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:11px;
    min-width:0;
}

.fpm-team img {
    width:72px;
    height:72px;
    object-fit:contain;
    background:#fff;
    padding:8px;
    border-radius:15px;
}

.fpm-team strong { font-size:18px; }

.fpm-team small {
    color:#c5dfd3;
    font-size:10px;
    font-weight:800;
}

.fpm-vs strong {
    display:block;
    font-size:34px;
    color:var(--fpm-gold);
}

.fpm-vs span {
    display:inline-block;
    margin-top:10px;
    padding:6px 13px;
    border-radius:20px;
    background:#ffffff1d;
    font-size:10px;
    font-weight:800;
}

.fpm-layout {
    display:grid;
    grid-template-columns:230px minmax(0,1fr) 285px;
    gap:18px;
    align-items:start;
}

.fpm-left,.fpm-right,.fpm-main {
    display:flex;
    flex-direction:column;
    gap:17px;
    min-width:0;
}

.fpm-widget,.fpm-section {
    background:#fff;
    border:1px solid var(--fpm-border);
    border-radius:13px;
    overflow:hidden;
}

.fpm-widget h2 {
    background:var(--fpm-green);
    color:white;
    font-size:14px;
    margin:0;
    padding:15px;
}

.fpm-widget-body { padding:12px; }

.fpm-league-link {
    display:flex;
    align-items:center;
    gap:9px;
    min-height:43px;
    border-bottom:1px solid #edf0eb;
    text-decoration:none;
    padding:7px 3px;
    font-size:12px;
    font-weight:700;
}

.fpm-league-link img {
    width:23px;
    height:23px;
    object-fit:contain;
}

.fpm-arrow {
    margin-left:auto;
    color:#bd9220;
    font-size:20px;
}

.fpm-league-link:hover,.fpm-country a:hover {
    color:#007d57;
}

.fpm-country { border-bottom:1px solid #edf0eb; }

.fpm-country summary {
    padding:13px 3px;
    cursor:pointer;
    font-weight:700;
    display:flex;
    justify-content:space-between;
    list-style:none;
}

.fpm-country summary::-webkit-details-marker { display:none; }

.fpm-country-links {
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:0 0 12px 12px;
}

.fpm-country-links a {
    padding:6px 0;
    font-size:12px;
    text-decoration:none;
}

.fpm-section { padding:24px; }

.fpm-section-heading {
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    margin-bottom:17px;
}

.fpm-eyebrow { color:#b28a25; }

.fpm-section-heading h2 {
    color:var(--fpm-deep);
    font-size:21px;
    line-height:1.3;
    margin:7px 0 0;
}

.fpm-label {
    background:#edf6ef;
    color:#00714c;
    padding:8px 11px;
    border-radius:9px;
    font-size:10px;
    font-weight:900;
}

.fpm-intro {
    line-height:1.8;
    font-size:13px;
    color:#52655d;
}

.fpm-prob-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-top:20px;
}

.fpm-prob-grid>div {
    text-align:center;
    background:#f0f6ef;
    border:1px solid #dae8da;
    border-radius:12px;
    padding:20px 8px;
}

.fpm-prob-grid span {
    display:block;
    color:#62766b;
    font-size:10px;
    font-weight:900;
}

.fpm-prob-grid strong {
    display:block;
    font-size:26px;
    margin-top:10px;
    color:var(--fpm-green);
}

.fpm-note {
    color:#738079;
    font-size:11px;
    line-height:1.6;
    margin:15px 0 0;
}

.fpm-form-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.fpm-form-card {
    padding:16px;
    border:1px solid #dfe8de;
    border-radius:11px;
}

.fpm-form-card>strong {
    display:block;
    font-size:15px;
}

.fpm-form-card>small {
    display:block;
    margin:7px 0 17px;
    color:#687a70;
}

.fpm-stat-line {
    display:flex;
    justify-content:space-between;
    padding:9px 0;
    border-bottom:1px solid #e8eee8;
}

.fpm-stat-line b { color:var(--fpm-green); }

.fpm-h2h-row {
    display:grid;
    grid-template-columns:85px minmax(0,1fr) 50px;
    gap:10px;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid #edf0ec;
}

.fpm-h2h-row>span {
    color:#708078;
    font-size:11px;
}

.fpm-h2h-row>strong { font-size:12px; }

.fpm-h2h-row>b {
    text-align:right;
    color:#006544;
}

.fpm-mini-heading {
    font-size:12px;
    font-weight:800;
    color:var(--fpm-green);
    margin:3px 0 12px;
}

.fpm-table-wrap { overflow-x:auto; }

.fpm-standings {
    width:100%;
    border-collapse:collapse;
    font-size:11px;
}

.fpm-standings th {
    text-align:left;
    background:#edf4ee;
    font-size:10px;
    color:#50665b;
}

.fpm-standings td,.fpm-standings th {
    padding:9px 5px;
    border-bottom:1px solid #edf1eb;
}

.fpm-standings th:last-child,
.fpm-standings td:last-child { text-align:right; }

.fpm-highlight {
    background:#fff4ce;
    font-weight:800;
}

.fpm-facts { padding:8px 14px; }

.fpm-facts>div {
    padding:12px 0;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:14px;
    border-bottom:1px solid #edf0eb;
}

.fpm-facts span { color:#687a70; }

.fpm-facts b { text-align:right; }

.fpm-muted {
    color:#748177;
    line-height:1.7;
}

.fpm-cta,.fpm-sidebar-cta {
    display:inline-block;
    background:var(--fpm-green);
    color:#fff;
    text-decoration:none;
    border-radius:9px;
    padding:12px 16px;
    font-weight:800;
    margin-top:12px;
}

.fpm-sidebar-cta { display:block;text-align:center; }

.fpm-footer {
    background:#003b2b;
    color:#dcece3;
    padding:27px 24px;
    border-top:3px solid var(--fpm-gold);
}

.fpm-footer>div {
    max-width:1450px;
    margin:auto;
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    align-items:center;
}

.fpm-footer strong { color:var(--fpm-gold); }

.fpm-footer small { margin-left:auto; }

@media(max-width:1180px) {
    .fpm-layout {
        grid-template-columns:205px minmax(0,1fr);
    }
    .fpm-right {
        grid-column:2;
    }
}

@media(max-width:780px) {
    .fpm-header-inner {
        flex-direction:column;
        align-items:flex-start;
    }
    .fpm-nav { gap:15px; }
    .fpm-page { padding:15px 12px 30px; }
    .fpm-hero { padding:21px 15px; }
    .fpm-hero h1 { font-size:23px; }
    .fpm-matchup {
        grid-template-columns:1fr 70px 1fr;
        padding:15px 7px;
    }
    .fpm-team img { width:49px;height:49px; }
    .fpm-team strong { font-size:13px; }
    .fpm-vs strong { font-size:22px; }
    .fpm-layout { grid-template-columns:1fr; }
    .fpm-main { grid-row:1; }
    .fpm-left,.fpm-right { grid-column:1; }
    .fpm-section { padding:18px 15px; }
    .fpm-section-heading h2 { font-size:19px; }
    .fpm-form-grid { grid-template-columns:1fr; }
    .fpm-prob-grid strong { font-size:20px; }
    .fpm-footer small { margin-left:0; }
}


/* FP_MATCH_HOME_TEMPLATE_V2 */

/* Preserve homepage sidebar component inside match grid. */
.fpm-layout > .fpm-left {
    width: 100%;
    min-width: 0;
}

.fpm-layout .fpm-left .fp-sidebar {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.fpm-layout .fpm-left .fp-sidebar > * {
    min-width: 0;
    width: 100%;
}

/* Match layout uses the same base colours as homepage. */
.fpm-body {
    background: #f7f7f3;
}

.fpm-layout .fpm-section,
.fpm-layout .fpm-widget {
    border-color: #e0e6de;
}

.fpm-layout .fpm-widget h2 {
    background: #005139;
}

/* Shared header comes from the real homepage template. */
.fpm-body .fp-header {
    width: 100%;
}

@media(max-width: 780px) {
    .fpm-layout .fpm-left .fp-sidebar {
        width: 100%;
    }
}


/* FP_UNIFIED_DESIGN_V4 */

/* Homepage is the source of the shared design. */
body.fpm-body {
    background: #f6f7f3;
    color: #102f29;
}

body.fpm-body .fp-match-columns {
    align-items: start;
}

body.fpm-body .fp-match-columns > .fp-sidebar,
body.fpm-body .fp-match-columns > .fp-content {
    min-width: 0;
}

body.fpm-body .fp-match-columns .fpm-main {
    width: 100%;
}

/* Right sidebar uses the homepage widget design. */
body.fpm-body .fp-sidebar-right.fpm-right {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

body.fpm-body .fp-sidebar-right.fpm-right .fp-widget {
    width: 100%;
    min-width: 0;
    margin: 0;
}

body.fpm-body .fp-sidebar-right.fpm-right .fp-widget h2 {
    background: #004b32;
    color: #ffffff;
}

body.fpm-body .fp-sidebar-right .fpm-table-wrap {
    max-width: 100%;
    overflow-x: auto;
}

/* Keep match-specific visualizations inside the homepage center. */
body.fpm-body .fpm-main .fpm-section {
    width: 100%;
    min-width: 0;
}

body.fpm-body .fpm-hero {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 780px) {
    body.fpm-body .fp-match-columns {
        display: flex;
        flex-direction: column;
    }

    body.fpm-body .fp-match-columns > * {
        width: 100%;
        min-width: 0;
    }

    body.fpm-body .fp-match-columns > .fpm-main {
        order: 1;
    }

    body.fpm-body .fp-match-columns > .fp-sidebar:not(.fp-sidebar-right) {
        order: 2;
    }

    body.fpm-body .fp-match-columns > .fp-sidebar-right {
        order: 3;
    }
}


/* FP_MATCH_ALIGN_HOME_V6 */

body.fpm-body {
    margin: 0 !important;
    background: #f6f7f3;
}

/* Remove the secondary container restricting match width. */
body.fpm-body .fpm-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 50px !important;
    overflow: visible !important;
}

/* Same content container and columns as homepage. */
body.fpm-body .fp-match-columns {
    width: 100%;
    min-width: 0;
    margin-top: 22px !important;
    margin-bottom: 0 !important;
}

body.fpm-body .fp-match-columns > .fp-sidebar,
body.fpm-body .fp-match-columns > .fp-content {
    min-width: 0 !important;
}

body.fpm-body .fp-match-columns > .fpm-main {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.fpm-body .fp-match-columns > .fpm-right {
    width: auto !important;
    max-width: none !important;
}

/* Breadcrumb follows the homepage content width. */
body.fpm-body .fpm-breadcrumb {
    width: 100%;
    max-width: 1510px;
    margin: 0 auto !important;
    padding: 19px 18px 14px !important;
}

/* Full-bleed emerald hero, like the homepage. */
body.fpm-body .fpm-hero {
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 0 0 !important;
    padding: 35px max(18px, calc((100vw - 1510px) / 2 + 18px)) !important;
    border: 0 !important;
    border-bottom: 4px solid #f4c653 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: linear-gradient(115deg,#003c2b 0%,#005b40 75%,#00432f 100%) !important;
}

/* Keep match content within the homepage's content width. */
body.fpm-body .fpm-hero-top,
body.fpm-body .fpm-matchup {
    width: 100%;
    max-width: 1510px;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.fpm-body .fpm-matchup {
    margin-top: 22px !important;
}

/* Match cards align with the homepage widget styling. */
body.fpm-body .fp-match-columns .fpm-section,
body.fpm-body .fp-match-columns .fp-widget {
    border-radius: 12px;
    box-shadow: none;
}

@media (max-width: 780px) {
    body.fpm-body .fpm-hero {
        padding: 25px 16px !important;
    }

    body.fpm-body .fp-match-columns {
        margin-top: 16px !important;
    }

    body.fpm-body .fpm-breadcrumb {
        padding: 13px 15px !important;
    }
}


/* FP_MATCH_BREADCRUMB_IN_HERO_V1 */

/* Hide old white breadcrumb bar above hero */
.fp-breadcrumb,
.fp-breadcrumbs,
.fp-match-breadcrumb,
.fp-match-breadcrumbs,
.fp-breadcrumb-wrap,
.fp-breadcrumbs-wrap,
.fp-crumbs,
.fp-crumbs-wrap,
nav[aria-label="Breadcrumb"] {
    display: none !important;
}

/* New breadcrumb inside hero */
.fp-match-hero-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px 0;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255,255,255,.88);
    letter-spacing: .01em;
}

.fp-match-hero-breadcrumb a {
    color: rgba(255,255,255,.92);
    text-decoration: none;
}

.fp-match-hero-breadcrumb a:hover {
    color: #f3c64d;
}

.fp-match-hero-breadcrumb .fp-sep {
    opacity: .65;
}

.fp-match-hero-breadcrumb .fp-current {
    color: rgba(255,255,255,.72);
}

/* Small spacing tune so top does not look empty */
.fp-match-hero,
.fp-match-hero-card,
.fp-match-hero-box,
.fp-match-head {
    padding-top: 26px !important;
}

@media (max-width: 768px) {
    .fp-match-hero-breadcrumb {
        font-size: 12px;
        gap: 6px;
        margin-bottom: 10px;
    }
}


/* FP_MATCH_HERO_BACKGROUND_V7 */
/* Match hero uses the homepage emerald background. */
body.fpm-body .fpm-hero {
    background: radial-gradient(ellipse at 80% 72%,#1d8754 0%,transparent 35%),linear-gradient(120deg,#002b20 0%,#00583d 65%,#063423 100%) !important;
}


/* FP_STANDINGS_IN_CONTENT_V2 */

body.fpm-body .fpm-main .fpm-standings-content {
    width: 100%;
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e0e6de;
    border-radius: 13px;
    overflow: hidden;
}

/* Heading matches the analysis content. */
body.fpm-body .fpm-standings-content > h2 {
    margin: 0 0 18px !important;
    padding: 0 0 13px !important;
    background: transparent !important;
    color: #003c2c !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    border-bottom: 1px solid #e5ebe4;
}

body.fpm-body .fpm-standings-content > .fpm-widget-body {
    padding: 0 !important;
}

body.fpm-body .fpm-standings-content .fpm-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

body.fpm-body .fpm-standings-content .fpm-standings {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

body.fpm-body .fpm-standings-content .fpm-standings th,
body.fpm-body .fpm-standings-content .fpm-standings td {
    padding: 12px 14px;
    border-bottom: 1px solid #e9eee9;
}

body.fpm-body .fpm-standings-content .fpm-standings th {
    background: #edf4ee;
    color: #33574b;
    font-size: 11px;
    font-weight: 800;
}

body.fpm-body .fpm-standings-content .fpm-standings th:nth-child(2),
body.fpm-body .fpm-standings-content .fpm-standings td:nth-child(2) {
    text-align: left;
    width: 65%;
}

body.fpm-body .fpm-standings-content .fpm-standings tr.fpm-highlight {
    background: #fff2c7;
    font-weight: 800;
}

@media (max-width: 780px) {
    body.fpm-body .fpm-main .fpm-standings-content {
        padding: 18px 14px;
    }

    body.fpm-body .fpm-standings-content > h2 {
        font-size: 19px !important;
    }

    body.fpm-body .fpm-standings-content .fpm-standings th,
    body.fpm-body .fpm-standings-content .fpm-standings td {
        padding: 10px 7px;
        font-size: 12px;
    }
}


/* FP_MATCH_INTELLIGENCE_V1 */

.fp-mi-section .fp-mi-subtitle {
    margin: 23px 0 13px;
    color: #004b32;
    font-size: 16px;
    font-weight: 800;
}

.fp-mi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fp-mi-stat {
    background: #f0f6ef;
    border: 1px solid #dce9dd;
    border-radius: 11px;
    padding: 17px;
    min-width: 0;
}

.fp-mi-stat span {
    display: block;
    color: #49695b;
    font-size: 11px;
    font-weight: 800;
}

.fp-mi-stat strong {
    display: block;
    margin: 9px 0;
    color: #005139;
    font-size: 25px;
    font-weight: 900;
}

.fp-mi-stat small {
    color: #657b6e;
    font-size: 11px;
    line-height: 1.5;
}

.fp-mi-paragraph {
    color: #354b40;
    font-size: 14px;
    line-height: 1.85;
    margin: 0 0 17px;
}

.fp-mi-paragraph strong {
    color: #005139;
}

.fp-mi-note {
    border-top: 1px solid #e5ebe5;
    padding-top: 14px;
    margin-top: 18px;
    color: #758078;
    font-size: 11px;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .fp-mi-grid {
        grid-template-columns: 1fr;
    }

    .fp-mi-stat strong {
        font-size: 22px;
    }

    .fp-mi-paragraph {
        font-size: 13px;
    }
}


/* FP_ANALYTICS_DESIGN_V3 */

body.fpm-body .fp-v3-dashboard {
    padding:0 !important;
    overflow:hidden;
    background:#fff;
    border:1px solid #cfe5d5;
    border-radius:14px;
}

.fp-v3-head {
    background:linear-gradient(110deg,#005037,#0c7550);
    padding:13px 20px;
    color:#fff;
    font-size:12px;
    font-weight:900;
    letter-spacing:.045em;
}

.fp-v3-inner {padding:20px;}

.fp-v3-inner>h2 {
    color:#003f32;
    font-size:22px;
    line-height:1.3;
    margin:0 0 7px;
}

.fp-v3-intro {
    font-size:13px;
    color:#5b6d64;
    line-height:1.65;
    margin:0 0 22px;
}

.fp-v3-rings {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:10px;
    border-bottom:1px solid #e4ece6;
    padding-bottom:23px;
}

.fp-v3-ring-item {
    min-width:0;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:7px;
}

.fp-v3-ring {
    width:104px;
    height:104px;
    border-radius:50%;
    padding:10px;
    background:conic-gradient(
        var(--ring-color) calc(var(--pct)*1%),
        #e3ece5 0
    );
}

.fp-v3-ring-center {
    width:100%;
    height:100%;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
}

.fp-v3-ring-center strong {
    color:#004536;
    font-size:23px;
    font-weight:900;
    font-variant-numeric:tabular-nums;
}

.fp-v3-ring-label {
    font-size:12px;
    color:#004735;
    line-height:1.35;
}

.fp-v3-ring-item small {
    color:#718278;
    font-size:10px;
    line-height:1.3;
}

.fp-v3-two-cols {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:19px;
    margin-top:22px;
}

.fp-v3-panel {min-width:0;}

.fp-v3-panel + .fp-v3-panel {
    border-left:1px solid #e1eae3;
    padding-left:19px;
}

.fp-v3-panel h3, .fp-v3-report h3 {
    font-size:14px;
    font-weight:900;
    color:#004536;
    margin:0 0 17px;
}

.fp-v3-form-item {margin-bottom:16px;}

.fp-v3-team-name {
    font-size:12px;
    font-weight:800;
    color:#173d30;
    margin-bottom:8px;
}

.fp-v3-bar {
    width:100%;
    height:15px;
    border-radius:20px;
    overflow:hidden;
    display:flex;
    background:#e5ebe6;
}

.fp-v3-bar span {display:block;height:100%;}
.fp-v3-win {background:#12aa70;}
.fp-v3-draw {background:#f3bd46;}
.fp-v3-loss {background:#e0525b;}

.fp-v3-form-meta, .fp-v3-small-metrics {
    display:flex;
    flex-wrap:wrap;
    gap:11px;
    margin-top:8px;
    font-size:11px;
    color:#536b5c;
}

.fp-v3-small-metrics b {color:#005037;}

.fp-v3-no-data {
    font-size:12px;
    color:#738378;
}

.fp-v3-legend {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:15px;
    font-size:11px;
}

.fp-v3-legend span {
    display:inline-flex;
    align-items:center;
    gap:5px;
}

.fp-v3-legend i {
    width:9px;
    height:9px;
    border-radius:3px;
}

.fp-v3-green {background:#12aa70;}
.fp-v3-yellow {background:#f3bd46;}
.fp-v3-red {background:#e0525b;}

.fp-v3-stat-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}

.fp-v3-stat {
    border:1px solid #d7ecdf;
    border-radius:11px;
    padding:13px 7px;
    text-align:center;
    background:#edf9f0;
    display:flex;
    align-items:center;
    flex-direction:column;
    gap:6px;
}

.fp-v3-stat>span {font-size:20px;}

.fp-v3-stat strong {
    color:#006343;
    font-size:24px;
    font-weight:900;
}

.fp-v3-stat small {
    color:#4b7960;
    font-size:11px;
}

.fp-v3-h2h-record {
    font-size:11px;
    color:#536b5c;
    line-height:1.7;
    margin:12px 0 0;
}

.fp-v3-report {
    background:linear-gradient(120deg,#ecf8ed,#f3faf6);
    border:1px solid #d2e9d6;
    border-radius:12px;
    padding:18px 19px;
    margin-top:21px;
}

.fp-v3-report h3 {margin-bottom:10px;}

.fp-v3-report p {
    font-size:12px;
    color:#284c3a;
    line-height:1.8;
    margin:0 0 10px;
}

.fp-v3-report p strong {color:#005037;}

.fp-v3-report small {
    display:block;
    font-size:10px;
    line-height:1.5;
    color:#668070;
    border-top:1px solid #dce9de;
    padding-top:10px;
}

@media(max-width:950px) {
    .fp-v3-rings {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:650px) {
    .fp-v3-inner {padding:15px;}
    .fp-v3-inner>h2 {font-size:19px;}
    .fp-v3-two-cols {grid-template-columns:1fr;}
    .fp-v3-panel + .fp-v3-panel {
        border-left:0;
        border-top:1px solid #e1eae3;
        padding:18px 0 0;
    }
    .fp-v3-rings {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .fp-v3-ring {width:92px;height:92px;}
    .fp-v3-ring-center strong {font-size:19px;}
}


/* FP_MISSING_PLAYERS_V1 */

.fp-missing-section {
    background:#fff;
    border:1px solid #dbe8de;
    border-radius:13px;
    overflow:hidden;
}

.fp-missing-heading {
    padding-bottom:17px;
    border-bottom:1px solid #e4ede5;
    margin-bottom:18px;
}

.fp-missing-heading>span {
    color:#008053;
    font-size:11px;
    font-weight:900;
    letter-spacing:.07em;
}

.fp-missing-heading h2 {
    color:#003f31;
    font-size:22px;
    margin:7px 0;
    line-height:1.3;
}

.fp-missing-heading p {
    color:#687d70;
    font-size:13px;
    margin:0;
    line-height:1.6;
}

.fp-missing-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px;
}

.fp-missing-team {
    min-width:0;
    border:1px solid #d9e8de;
    border-radius:12px;
    background:#fbfdfb;
    overflow:hidden;
}

.fp-missing-team-head {
    background:#eff7f0;
    padding:15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.fp-missing-team-head small {
    color:#64816d;
    font-size:10px;
    font-weight:800;
}

.fp-missing-team-head h3 {
    color:#004633;
    font-size:15px;
    margin:5px 0 0;
    line-height:1.3;
}

.fp-missing-count {
    background:#fff;
    border:1px solid #d9e7db;
    border-radius:10px;
    min-width:55px;
    padding:8px;
    text-align:center;
    font-size:21px;
    font-weight:900;
    color:#00543d;
}

.fp-missing-count small {
    display:block;
    font-size:9px;
    font-weight:700;
}

.fp-missing-player {
    display:flex;
    align-items:center;
    gap:9px;
    padding:12px;
    border-bottom:1px solid #e8efe9;
}

.fp-missing-avatar {
    width:34px;
    height:34px;
    flex:0 0 34px;
    background:#e0ede3;
    color:#00533b;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    font-size:13px;
}

.fp-missing-info {
    flex:1;
    min-width:0;
}

.fp-missing-info strong {
    display:block;
    font-size:12px;
    color:#204537;
    overflow-wrap:anywhere;
}

.fp-missing-info span {
    display:block;
    margin-top:4px;
    font-size:11px;
    color:#748378;
}

.fp-missing-status {
    border-radius:20px;
    padding:5px 7px;
    font-size:9px;
    font-weight:800;
    color:#536b5b;
    background:#eaf0eb;
    text-align:center;
}

.fp-missing-status.is-injured {
    background:#fff0ea;
    color:#bd5833;
}

.fp-missing-status.is-suspended {
    background:#fceced;
    color:#b93748;
}

.fp-missing-empty {
    padding:25px 15px;
    color:#718275;
    font-size:12px;
    line-height:1.6;
}

.fp-missing-updated {
    padding:10px 13px;
    font-size:10px;
    color:#77877b;
}

.fp-missing-note {
    margin:15px 0 0;
    font-size:11px;
    color:#78877d;
    line-height:1.65;
}

@media(max-width:700px) {
    .fp-missing-grid {grid-template-columns:1fr;}
    .fp-missing-heading h2 {font-size:19px;}
}


/* FP_HERO_RECENT_FORM_V2 */

body.fpm-body .fpm-team .fp-hero-form {
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:6px;
    margin-top:12px;
}

body.fpm-body .fp-hero-form-box {
    width:29px;
    height:29px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
    color:#fff;
    font-size:12px;
    font-weight:900;
    line-height:1;
    box-shadow:0 2px 5px rgba(0,0,0,.12);
}

body.fpm-body .fp-result-w {
    background:#16a566;
}

body.fpm-body .fp-result-d {
    background:#e4b33e;
    color:#24341e;
}

body.fpm-body .fp-result-l {
    background:#d95159;
}

body.fpm-body .fp-hero-form-unavailable {
    color:rgba(255,255,255,.75);
    font-size:11px;
}

@media(max-width:600px) {
    body.fpm-body .fpm-team .fp-hero-form {
        gap:4px;
        margin-top:9px;
    }

    body.fpm-body .fp-hero-form-box {
        width:23px;
        height:23px;
        font-size:10px;
        border-radius:5px;
    }
}


/* FP_ANALYTICS_PERCENT_18PX_V1 */

/* All five analytics circle percentages */
body.fpm-body .fp-v3-ring-center strong {
    font-size: 18px !important;
    line-height: 1 !important;
}

@media (max-width: 650px) {
    body.fpm-body .fp-v3-ring-center strong {
        font-size: 18px !important;
    }
}


/* FP_ANALYTICS_PERCENT_18PX_V2 */
body.fpm-body .fp-v3-ring-center strong {
    font-size: 18px !important;
    line-height: 1 !important;
}
