body.theme-sapphire .sp-state-guide {
    --sp-state: #111;
    margin: 0 0 1.5rem;
    padding: 1.15rem 1rem 1.2rem;
    border: 1px solid var(--sp-line, #e8e8ea);
    border-radius: 16px;
    background: #fff;
    box-shadow: inset 4px 0 0 var(--sp-state);
}

body.theme-sapphire .sp-state-guide__hero {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-width: 0;
    margin: 0 0 1.05rem;
}

body.theme-sapphire .sp-state-guide__code {
    flex: 0 0 3.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 6px;
    background: var(--sp-code-bg, #111);
    color: var(--sp-code-ink, #fff);
    font-family: var(--sp-display, 'Outfit', sans-serif);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body.theme-sapphire .sp-state-guide__intro {
    min-width: 0;
}

body.theme-sapphire .sp-state-guide__eyebrow {
    margin: 0 0 .2rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sp-muted, #6b6b6b);
}

body.theme-sapphire .sp-state-guide__title {
    margin: 0;
    font-family: var(--sp-display, 'Outfit', sans-serif);
    font-weight: 800;
    font-size: clamp(1.7rem, 5vw, 2.35rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #111;
}

body.theme-sapphire .sp-state-guide__nickname {
    margin: .28rem 0 0;
    font-weight: 600;
    color: var(--sp-muted, #6b6b6b);
}

body.theme-sapphire .sp-state-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem .85rem;
    margin: 0;
}

body.theme-sapphire .sp-state-fact {
    min-width: 0;
}

body.theme-sapphire .sp-state-fact dt {
    margin: 0 0 .15rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sp-muted, #6b6b6b);
}

body.theme-sapphire .sp-state-fact dd {
    margin: 0;
    font-weight: 650;
    overflow-wrap: anywhere;
}

body.theme-sapphire .sp-state-teams {
    margin: 1.2rem 0 0;
    padding-top: 1.05rem;
    border-top: 1px solid var(--sp-line, #e8e8ea);
}

body.theme-sapphire .sp-state-teams__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .25rem .8rem;
    margin: 0 0 .75rem;
}

body.theme-sapphire .sp-state-teams__head h2 {
    margin: 0;
    font-family: var(--sp-display, 'Outfit', sans-serif);
    font-weight: 800;
    font-size: 1.15rem;
}

body.theme-sapphire .sp-state-teams__head p {
    margin: 0;
    font-size: .86rem;
    color: var(--sp-muted, #6b6b6b);
}

body.theme-sapphire .sp-state-teams__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .85rem 1.1rem;
}

body.theme-sapphire .sp-state-league h3 {
    margin: 0 0 .35rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sp-state, var(--sp-accent, #111));
}

body.theme-sapphire .sp-state-league ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.theme-sapphire .sp-state-team,
body.theme-sapphire .sp-state-team:link,
body.theme-sapphire .sp-state-team:visited {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 40px;
    min-width: 0;
    padding: .2rem 0;
    color: #111;
    text-decoration: none !important;
    font-weight: 650;
}

body.theme-sapphire .sp-state-team:hover .sp-state-team__name,
body.theme-sapphire .sp-state-team:focus-visible .sp-state-team__name {
    color: var(--sp-accent, var(--theme-accent));
}

body.theme-sapphire .sp-state-team__mark {
    flex: 0 0 2rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    overflow: hidden;
    border-radius: 6px;
    background: #f4f4f5;
    font-size: .78rem;
    font-weight: 800;
}

body.theme-sapphire .sp-state-team__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.theme-sapphire .sp-state-team__name {
    min-width: 0;
    overflow-wrap: anywhere;
}

body.theme-sapphire .sf-state-cities__link.is-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .55rem;
    color: #111;
    background: color-mix(in srgb, var(--sp-accent, var(--theme-accent)) 10%, #fff);
    font-weight: 800;
}

body.theme-sapphire .sf-state-cities__link.is-current:hover,
body.theme-sapphire .sf-state-cities__link.is-current:focus-visible {
    color: var(--sp-accent, var(--theme-accent));
    background: color-mix(in srgb, var(--sp-accent, var(--theme-accent)) 16%, #fff);
}

body.theme-sapphire .sf-place-you {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: .12rem .4rem;
    border-radius: 999px;
    background: var(--sp-accent, var(--theme-accent));
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.2;
}

@media (min-width: 720px) {
    body.theme-sapphire .sp-state-guide {
        padding: 1.3rem 1.25rem 1.35rem;
    }

    body.theme-sapphire .sp-state-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.theme-sapphire .sp-state-teams__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    body.theme-sapphire .sp-state-teams__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 390px) {
    body.theme-sapphire .sp-state-guide {
        padding: .9rem .75rem 1rem;
        box-shadow: inset 3px 0 0 var(--sp-state);
    }

    body.theme-sapphire .sp-state-guide__code {
        flex-basis: 2.6rem;
        width: 2.6rem;
        height: 2.6rem;
        font-size: .9rem;
    }

    body.theme-sapphire .sp-state-facts {
        gap: .55rem .6rem;
    }
}