/*
BackDoor League Box Scores v1
*/

.bdlbs-wrap {
    max-width: 1180px;
    margin: 28px auto 48px;
    padding: 0 18px;
    color: #111827;
}

.bdlbs-hero,
.bdlbs-game-hero {
    background: linear-gradient(135deg, #080b12, #1f2a44);
    color: #fff;
    border-radius: 22px;
    padding: 28px;
    margin-bottom: 18px;
    box-shadow: 0 16px 35px rgba(16,24,40,.10);
    position: relative;
    overflow: hidden;
}

.bdlbs-hero:after,
.bdlbs-game-hero:after {
    content: "";
    position: absolute;
    inset: -80px -80px auto auto;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(247,198,0,.34), rgba(247,198,0,0) 68%);
}

.bdlbs-hero h1,
.bdlbs-game-hero h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 38px;
    line-height: 1.05;
}

.bdlbs-hero p,
.bdlbs-game-hero p {
    margin: 0;
    color: #f7c600;
    font-weight: 800;
}

.bdlbs-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 20px;
}

.bdlbs-tabs a {
    display: inline-block;
    text-decoration: none;
    background: #f2f4f7;
    color: #111827;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
}

.bdlbs-tabs a.is-active {
    background: #111827;
    color: #fff;
}

.bdlbs-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 16px;
}

.bdlbs-card,
.bdlbs-team-box,
.bdlbs-pog-feature,
.bdlbs-highlight-row > div,
.bdlbs-empty {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(16,24,40,.055);
}

.bdlbs-card {
    padding: 18px;
    transition: transform .16s ease, box-shadow .16s ease;
}

.bdlbs-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(16,24,40,.10);
}

.bdlbs-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #667085;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 12px;
}

.bdlbs-score-line {
    display: grid;
    gap: 8px;
}

.bdlbs-score-line > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 12px;
}

.bdlbs-score-line strong {
    font-size: 17px;
}

.bdlbs-score-line b {
    font-size: 30px;
    line-height: 1;
}

.bdlbs-winner,
.bdlbs-pog {
    margin: 12px 0 0;
}

.bdlbs-pog span {
    display: inline-block;
    margin-left: 6px;
    background: #fff7cc;
    border: 1px solid #f7c600;
    border-radius: 999px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 800;
}

.bdlbs-button,
.bdlbs-back {
    display: inline-block;
    margin-top: 14px;
    background: #111827;
    color: #fff !important;
    text-decoration: none;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(17,24,39,.16);
}

.bdlbs-back {
    margin: 0 0 10px;
}

.bdlbs-game-hero {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 18px;
    align-items: center;
}

.bdlbs-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #f7c600;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.bdlbs-final-score {
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.bdlbs-final-score > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    padding: 14px;
}

.bdlbs-final-score span {
    font-weight: 900;
}

.bdlbs-final-score strong {
    font-size: 46px;
    line-height: 1;
}

.bdlbs-highlight-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 16px 0;
}

.bdlbs-highlight-row > div {
    padding: 16px;
}

.bdlbs-highlight-row span {
    display: block;
    color: #667085;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.bdlbs-highlight-row strong {
    display: block;
    font-size: 22px;
    margin-top: 4px;
}

.bdlbs-highlight-row em {
    display: block;
    color: #667085;
    font-style: normal;
    font-weight: 800;
    margin-top: 4px;
}

.bdlbs-pog-feature {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    padding: 18px;
    margin: 16px 0;
    overflow: hidden;
}

.bdlbs-pog-feature > div:last-child > span {
    color: #7a5a00;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.bdlbs-pog-feature h2 {
    margin: 4px 0 2px;
    font-size: 32px;
}

.bdlbs-pog-feature p {
    margin: 0 0 12px;
    color: #667085;
    font-weight: 800;
}

.bdlbs-pog-photo {
    height: 180px;
    border-radius: 18px;
    background: #f2f4f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #667085;
    font-weight: 900;
}

.bdlbs-pog-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bdlbs-pog-statline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bdlbs-pog-statline strong {
    min-width: 72px;
    text-align: center;
    background: #111827;
    color: #fff;
    border-radius: 14px;
    padding: 10px;
    font-size: 22px;
}

.bdlbs-pog-statline span {
    display: block;
    color: #f7c600;
    font-size: 11px;
    margin-top: 2px;
}

.bdlbs-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bdlbs-team-box {
    overflow: hidden;
}

.bdlbs-team-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111827;
    color: #fff;
    padding: 16px;
}

.bdlbs-team-head h2 {
    margin: 0;
    color: #fff;
    font-size: 22px;
}

.bdlbs-team-head strong {
    font-size: 34px;
    line-height: 1;
    color: #f7c600;
}

.bdlbs-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bdlbs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.bdlbs-table th,
.bdlbs-table td {
    padding: 10px;
    border-bottom: 1px solid #eef0f3;
    text-align: center;
}

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

.bdlbs-table thead th {
    background: #f8fafc;
    color: #111827;
    font-weight: 900;
}

.bdlbs-table tfoot th {
    background: #fff7cc;
    font-weight: 900;
}

.bdlbs-table td span {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.bdlbs-muted {
    padding: 16px;
    margin: 0;
    color: #667085;
    font-weight: 700;
}

.bdlbs-empty {
    padding: 22px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .bdlbs-game-hero,
    .bdlbs-two-col,
    .bdlbs-highlight-row,
    .bdlbs-pog-feature {
        grid-template-columns: 1fr;
    }

    .bdlbs-pog-photo {
        max-width: 240px;
    }
}

@media (max-width: 640px) {
    .bdlbs-wrap {
        padding: 0 14px;
    }

    .bdlbs-hero,
    .bdlbs-game-hero {
        padding: 24px;
        border-radius: 18px;
    }

    .bdlbs-hero h1,
    .bdlbs-game-hero h1 {
        font-size: 30px;
    }

    .bdlbs-final-score strong {
        font-size: 38px;
    }

    .bdlbs-pog-feature h2 {
        font-size: 26px;
    }
}


.bdlbs-recap-box {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(16,24,40,.055);
    padding: 18px;
    margin: 16px 0;
}

.bdlbs-recap-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.bdlbs-recap-head span {
    color: #7a5a00;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.bdlbs-recap-head h2 {
    margin: 3px 0 4px;
    font-size: 26px;
}

.bdlbs-recap-head p {
    margin: 0;
    color: #667085;
    font-weight: 700;
}

.bdlbs-copy-button {
    border: 0;
    border-radius: 12px;
    padding: 11px 14px;
    background: #111827;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(17,24,39,.16);
}

.bdlbs-copy-button:hover {
    opacity: .92;
}

.bdlbs-recap-text {
    width: 100%;
    min-height: 280px;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    padding: 14px;
    font: 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    resize: vertical;
    background: #f8fafc;
    color: #111827;
    box-sizing: border-box;
}

.bdlbs-copy-status {
    margin: 8px 0 0;
    color: #027a48;
    font-weight: 800;
}

@media (max-width: 640px) {
    .bdlbs-recap-head {
        display: block;
    }

    .bdlbs-copy-button {
        width: 100%;
        margin-top: 12px;
    }
}
