@media (max-width: 720px) {
    .site-header {
        min-height: 64px;
        height: auto;
        padding: 10px 12px;
        gap: 10px;
    }

    .site-header .brand {
        min-width: 0;
        gap: 8px;
        font-size: 14px;
        line-height: 1;
    }

    .site-header .brand-mark {
        flex: 0 0 38px;
        width: 38px;
        height: 34px;
        font-size: 11px;
    }

    .site-header .admin-link {
        flex: 0 0 auto;
        padding: 7px 8px;
        font-size: 10px;
        white-space: nowrap;
    }

    .team-shell {
        width: min(100% - 20px, 1180px);
        padding-bottom: 38px;
    }

    .team-hero {
        gap: 18px;
        margin-top: 10px;
        padding: 22px 15px 18px;
    }

    .team-identity {
        align-items: flex-start;
        width: 100%;
        gap: 13px;
    }

    .team-identity > img {
        flex: 0 0 62px;
        width: 62px;
        height: 62px;
    }

    .team-identity > div {
        min-width: 0;
        flex: 1;
    }

    .team-identity .eyebrow {
        margin-bottom: 7px;
        font-size: 10px;
    }

    .team-identity h1 {
        overflow-wrap: anywhere;
        font-size: clamp(29px, 10vw, 42px);
        line-height: .92;
    }

    .team-identity h1 > span {
        margin-bottom: 5px;
        font-size: 11px;
    }

    .team-title-row {
        align-items: flex-start;
        gap: 10px;
    }

    .team-title-row h1 {
        width: 100%;
    }

    .team-title-row .pin-team-button {
        padding: 8px 10px;
        font-size: 9px;
    }

    .team-color-admin,
    .team-conference-admin {
        width: 100%;
        min-width: 0;
        flex-wrap: wrap;
    }

    .team-conference-admin select {
        min-width: 0;
        width: auto;
        flex: 1 1 130px;
    }

    .team-hero > .season-picker {
        align-self: stretch;
        justify-content: space-between;
        gap: 8px;
        font-size: 10px;
    }

    .team-hero > .season-picker select {
        width: auto;
        margin: 0;
        padding: 6px 26px 6px 9px;
        font-size: 16px;
    }

    .team-schedule {
        margin-top: 12px;
    }

    .team-game {
        grid-template-columns: 48px 42px minmax(0, 1fr) auto;
        grid-template-areas:
            "week logo opponent result"
            "week date date result";
        gap: 5px 9px;
        min-height: 102px;
        padding: 9px 10px 9px 0;
    }

    .week-number {
        grid-area: week;
        min-width: 0;
    }

    .week-number strong {
        font-size: 23px;
    }

    .week-number .postseason-label {
        font-size: 11px;
    }

    .opponent-logo {
        grid-area: logo;
        width: 42px;
        height: 46px;
    }

    .opponent {
        grid-area: opponent;
        min-width: 0;
        gap: 2px;
    }

    .opponent strong {
        min-width: 0;
        font-size: 16px;
        line-height: 1.05;
    }

    .opponent strong > span {
        margin-right: 4px;
        font-size: 10px;
    }

    .opponent .team-link {
        overflow-wrap: anywhere;
    }

    .opponent em {
        display: none;
    }

    .game-date {
        grid-area: date;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 7px;
        min-width: 0;
    }

    .game-date strong {
        font-size: 13px;
    }

    .game-date span {
        font-size: 10px;
    }

    .team-game-result {
        grid-area: result;
        align-self: center;
        flex-direction: column;
        gap: 5px;
        font-size: 13px;
        text-align: center;
        white-space: nowrap;
    }

    .team-game-result b {
        width: 23px;
        height: 23px;
        font-size: 10px;
    }

    footer {
        gap: 8px;
        padding: 20px 12px;
        font-size: 9px;
    }
}

@media (max-width: 390px) {
    .site-header .brand span:last-child {
        max-width: 120px;
    }

    .team-game {
        grid-template-columns: 43px 38px minmax(0, 1fr) auto;
        gap: 5px 7px;
    }

    .opponent-logo {
        width: 38px;
        height: 43px;
    }

    .opponent-logo img {
        width: 34px;
        height: 34px;
    }
}
