/*
BackDoor League Season Display v1
*/

.bdlsd-wrap {
    max-width: 1280px;
}

.bdlsd-admin-hero,
.bdlsd-hero {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 18px;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(247,198,0,.34), transparent 280px),
        linear-gradient(135deg, #080b12, #1f2a44);
    color: #fff;
    border-radius: 20px;
    padding: 24px;
    margin: 18px 0;
    box-shadow: 0 16px 35px rgba(16,24,40,.10);
}

.bdlsd-hero {
    display: block;
    margin-bottom: 18px;
}

.bdlsd-admin-hero span,
.bdlsd-hero span {
    display: inline-block;
    color: #f7c600;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}

.bdlsd-admin-hero h2,
.bdlsd-hero h1 {
    margin: 6px 0 8px;
    color: #fff;
    font-size: 34px;
    line-height: 1.05;
}

.bdlsd-hero h1 {
    font-size: 42px;
}

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

.bdlsd-admin-score {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    padding: 18px;
    text-align: center;
}

.bdlsd-admin-score strong {
    display: block;
    color: #f7c600;
    font-size: 22px;
    line-height: 1.1;
}

.bdlsd-admin-score span {
    display: block;
    color: #fff;
    font-weight: 900;
    margin-top: 8px;
}

.bdlsd-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.bdlsd-stats div,
.bdlsd-panel,
.bdlsd-switcher,
.bdlsd-season-card,
.bdlsd-empty {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(16,24,40,.05);
}

.bdlsd-stats div {
    padding: 16px;
}

.bdlsd-stats strong {
    display: block;
    font-size: 24px;
    line-height: 1.15;
    color: #111827;
}

.bdlsd-stats span {
    display: block;
    margin-top: 6px;
    color: #667085;
    font-weight: 700;
}

.bdlsd-panel {
    padding: 18px;
    margin: 18px 0;
}

.bdlsd-panel h2 {
    margin-top: 0;
}

.bdlsd-panel .button-small {
    margin: 2px;
}

/* Public switcher/archive */

.bdlsd-switcher {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    margin: 0 auto 18px;
    max-width: 1180px;
}

.bdlsd-switcher.is-compact {
    margin-top: 8px;
}

.bdlsd-switcher span {
    display: block;
    color: #667085;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bdlsd-switcher strong {
    display: block;
    margin-top: 3px;
    color: #111827;
    font-size: 18px;
}

.bdlsd-switcher select {
    min-width: 240px;
    border-radius: 10px;
    border: 1px solid #d0d5dd;
    padding: 8px 12px;
    font-weight: 800;
}

.bdlsd-archive {
    max-width: 1180px;
    margin: 28px auto 48px;
    padding: 0 18px;
}

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

.bdlsd-season-card {
    padding: 18px;
}

.bdlsd-season-top span {
    display: inline-block;
    background: #fff7cc;
    border: 1px solid #f7c600;
    color: #111827;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 900;
}

.bdlsd-season-card h2 {
    margin: 12px 0 4px;
    color: #111827;
    font-size: 26px;
    line-height: 1.1;
}

.bdlsd-season-card p {
    color: #667085;
    font-weight: 700;
}

.bdlsd-counts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 14px 0;
}

.bdlsd-counts div {
    background: #f8fafc;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
}

.bdlsd-counts strong {
    display: block;
    font-size: 22px;
    color: #111827;
}

.bdlsd-counts span {
    display: block;
    color: #667085;
    font-size: 11px;
    font-weight: 900;
}

.bdlsd-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bdlsd-links a {
    display: inline-block;
    text-decoration: none;
    background: #111827;
    color: #fff !important;
    border-radius: 999px;
    padding: 8px 11px;
    font-size: 13px;
    font-weight: 900;
}

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

@media(max-width: 900px) {
    .bdlsd-admin-hero {
        grid-template-columns: 1fr;
    }

    .bdlsd-switcher {
        align-items: stretch;
        flex-direction: column;
    }

    .bdlsd-switcher select {
        width: 100%;
        min-width: 0;
    }
}
