.fer-v14-odds {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto 4px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 12px;
    color: #132236;
    background: #f4f7fa;
    box-shadow: 0 10px 32px rgb(0 0 0 / 18%);
}

.fer-odds-head {
    min-height: 34px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.fer-odds-head > div {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.fer-odds-provider {
    flex: 0 0 auto;
    color: #13865f;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
}

.fer-odds-head h2 {
    overflow: hidden;
    margin: 0;
    color: #132236;
    font-size: 14px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fer-odds-fresh {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #617082;
    font-size: 10px;
    font-weight: 750;
}

.fer-odds-fresh i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #19a974;
    box-shadow: 0 0 0 3px rgb(25 169 116 / 13%);
}

.fer-v14-odds[data-fer-odds-phase="live"] .fer-odds-fresh i {
    background: #e33445;
    box-shadow: 0 0 0 3px rgb(227 52 69 / 14%);
}

.fer-odds-primary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.fer-odds-pick,
.fer-odds-selections button {
    min-width: 0;
    border: 1px solid #d7e0e8;
    color: #132236;
    background: #fff;
    cursor: pointer;
    appearance: none;
}

.fer-odds-pick {
    min-height: 58px;
    padding: 7px 10px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgb(20 40 64 / 5%);
    text-align: left;
}

.fer-odds-pick:hover,
.fer-odds-pick:focus-visible,
.fer-odds-selections button:hover,
.fer-odds-selections button:focus-visible {
    border-color: #26a97d;
    background: #f2fbf7;
    outline: 0;
    box-shadow: 0 0 0 3px rgb(38 169 125 / 15%);
}

.fer-odds-code {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    color: #0b684c;
    background: #e2f5ed;
    font-size: 12px;
    font-weight: 900;
}

.fer-odds-label {
    overflow: hidden;
    color: #4f5f71;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fer-odds-pick strong,
.fer-odds-selections strong {
    color: #112944;
    font-size: 19px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
}

.fer-odds-more {
    margin-top: 7px;
    border-top: 1px solid #dce4eb;
}

.fer-odds-more summary {
    min-height: 38px;
    padding: 4px 2px 0;
    display: grid;
    grid-template-columns: auto 1fr 20px;
    align-items: center;
    gap: 8px;
    color: #263a51;
    cursor: pointer;
    list-style: none;
    font-size: 12px;
    font-weight: 850;
}

.fer-odds-more summary::-webkit-details-marker { display: none; }
.fer-odds-more summary small { color: #718093; font-size: 10px; font-weight: 700; }

.fer-odds-more summary i {
    width: 8px;
    height: 8px;
    justify-self: center;
    border-right: 2px solid #66778a;
    border-bottom: 2px solid #66778a;
    transform: rotate(45deg) translate(-2px, -2px);
}

.fer-odds-more[open] summary i { transform: rotate(225deg) translate(-2px, -2px); }

.fer-odds-more summary:focus-visible {
    border-radius: 5px;
    outline: 3px solid rgb(38 169 125 / 30%);
    outline-offset: 1px;
}

.fer-odds-secondary {
    padding-top: 4px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.fer-odds-market {
    min-width: 0;
    padding: 10px;
    border: 1px solid #dce4eb;
    border-radius: 8px;
    background: #fff;
}

.fer-odds-market h3 {
    margin: 0 0 7px;
    color: #1b2d43;
    font-size: 12px;
    line-height: 1.3;
}

.fer-odds-line {
    margin: -3px 0 7px !important;
    color: #6c7b8b;
    font-size: 10px;
}

.fer-odds-selections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 5px;
}

.fer-odds-selections button {
    min-height: 48px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    border-radius: 6px;
    text-align: left;
}

.fer-odds-selections small {
    overflow: hidden;
    color: #647386;
    font-size: 9px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fer-odds-selections strong { font-size: 16px; }

.fer-odds-footer {
    margin-top: 9px;
    padding: 9px 2px 1px;
    border-top: 1px solid #dce4eb;
}

.fer-odds-footer p,
.fer-odds-footer small {
    margin: 0;
    color: #6a7889;
    font-size: 9px;
    line-height: 1.45;
}

.fer-odds-footer small { display: block; margin-top: 3px; }

@media (max-width: 620px) {
    .fer-v14-odds {
        width: calc(100% - 16px);
        margin-bottom: 2px;
        padding: 7px;
        border-radius: 9px;
    }

    .fer-odds-head { min-height: 26px; margin-bottom: 5px; gap: 6px; }
    .fer-odds-head > div { gap: 5px; }
    .fer-odds-provider { font-size: 7px; }
    .fer-odds-head h2 { font-size: 11px; }
    .fer-odds-fresh { gap: 4px; font-size: 8px; }
    .fer-odds-fresh i { width: 6px; height: 6px; }
    .fer-odds-primary { gap: 4px; }

    .fer-odds-pick {
        min-height: 54px;
        padding: 5px;
        grid-template-columns: 22px minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 1px 5px;
        border-radius: 7px;
    }

    .fer-odds-code {
        width: 22px;
        height: 22px;
        grid-row: 1 / 3;
        border-radius: 5px;
        font-size: 10px;
    }

    .fer-odds-label { align-self: end; font-size: 8px; }
    .fer-odds-pick strong { align-self: start; font-size: 16px; line-height: 1.05; }
    .fer-odds-more { margin-top: 5px; }
    .fer-odds-more summary { min-height: 34px; padding-top: 2px; font-size: 11px; }
    .fer-odds-secondary { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
    .fer-odds-provider { display: none; }
    .fer-odds-fresh { font-size: 7px; }
    .fer-odds-pick { grid-template-columns: 19px minmax(0, 1fr); padding: 4px; gap: 1px 3px; }
    .fer-odds-code { width: 19px; height: 22px; }
}
