@media screen and (max-width: 568px) {
    #history .container {
        padding: 40px 20px 80px;
        width: 100%;
    }

    #history .history-header {
        margin-bottom: 40px;
    }

    #history .eyebrow {
        font-size: 0.72rem;
        line-height: 1.2rem;
        margin-bottom: 18px;
    }

    #history .history-header h1 {
        font-size: 1.7rem;
        letter-spacing: 0.02em;
        line-height: 1.55em;
        margin-bottom: 22px;
    }

    #history .history-header .intro {
        font-size: 0.95rem;
        line-height: 2rem;
    }

    #history .history-stats {
        display: block;
        margin-top: 32px;
    }

    #history .history-stats > div,
    #history .history-stats > div:first-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-right: none;
        padding: 12px 0;
    }

    #history .history-stats > div:last-child {
        border-bottom: none;
    }

    #history .history-stats strong {
        font-size: 1.45rem;
        min-width: 42px;
    }

    #history .history-stats span {
        font-size: 0.78rem;
    }

    #history .section-nav {
        display: grid;
        gap: 8px;
        margin-bottom: 72px;
    }

    #history .section-nav a {
        justify-content: flex-start;
        padding: 11px 16px;
    }

    #history .works-section {
        margin-bottom: 88px;
    }

    #history .section-heading {
        gap: 12px;
        padding: 22px 0 26px;
    }

    #history .section-number {
        flex-basis: 32px;
        font-size: 0.72rem;
    }

    #history .section-heading h2 {
        font-size: 1.2rem;
        line-height: 1.7rem;
    }

    #history .section-heading div p {
        font-size: 0.72rem;
        line-height: 1.2rem;
        margin-top: 6px;
    }

    #history .table-scroll {
        border: none;
        overflow: visible;
    }

    #history .works-table,
    #history .works-table tbody {
        display: block;
        min-width: 0;
        width: 100%;
    }

    #history .works-table thead {
        border: 0;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    #history .works-table tbody tr:not(.period-row) {
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 8px;
        display: block;
        margin-bottom: 14px;
        overflow: hidden;
    }

    #history .works-table tbody tr:not(.period-row):hover {
        background: rgba(255, 255, 255, 0.018);
    }

    #history .works-table td {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-right: none;
        display: grid;
        font-size: 1rem;
        gap: 12px;
        grid-template-columns: 78px minmax(0, 1fr);
        line-height: 1.65rem;
        padding: 10px 12px;
        white-space: normal;
    }

    #history .works-table td:last-child {
        border-bottom: none;
    }

    #history .works-table td::before {
        color: rgba(255, 255, 255, 0.34);
        content: attr(data-label);
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 0.68rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    #history .works-table .number,
    #history .works-table .year-short {
        background: rgba(176, 211, 255, 0.055);
        color: rgba(176, 211, 255, 0.8);
        font-size: 0.82rem;
    }

    #history .works-table .composer {
        font-size: 1.04rem;
    }

    #history .works-table .work-title {
        font-size: 1.08rem;
        line-height: 1.8rem;
    }

    #history .works-table .date,
    #history .works-table .duration {
        white-space: normal;
    }

    #history .works-table .broadcast-date {
        color: rgba(255, 255, 255, 0.96);
        font-size: 1rem;
        font-weight: 700;
    }

    #history .works-table .duration {
        font-size: 1rem;
        font-weight: 700;
    }

    #history .sample-status {
        font-size: 0.68rem;
        margin-left: 8px;
        padding: 5px 8px;
    }

    #history .works-table .period-row {
        display: block;
        margin: 42px 0 16px;
    }

    #history .works-table .period-row:first-child {
        margin-top: 0;
    }

    #history .works-table .period-row th {
        border-radius: 6px;
        display: block;
        font-size: 0.88rem;
        line-height: 1.4rem;
        padding: 10px 12px;
        width: 100%;
    }

    #history .works-table .period-row span,
    #history .works-table .period-row strong,
    #history .works-table .period-row small {
        display: block;
        font-size: 0.9rem;
        margin: 0;
    }

    #history .works-table .period-row span {
        margin-bottom: 6px;
    }

    #history .works-table .period-row strong {
        font-size: 1.05rem;
        line-height: 1.5rem;
        margin-bottom: 2px;
    }

    #history .subsection-heading {
        font-size: 1rem;
        line-height: 1.6rem;
        margin-bottom: 14px;
    }

    #history .subsection-heading--second {
        margin-top: 48px;
        padding-top: 24px;
    }

    #history .archive-legend {
        align-items: flex-start;
        display: grid;
        gap: 12px;
        padding: 20px 4px;
    }

    #history .archive-legend__title {
        margin-bottom: 2px;
    }

    #history .archive-legend span {
        font-size: 0.82rem;
    }

    #history .source-note {
        font-size: 0.72rem;
        line-height: 1.5rem;
    }
}
