@media screen and (max-width: 768px) {
    /*
     * 데스크톱 2열 Grid의 minmax(320px) 때문에
     * 왼쪽 문구가 세로로 압축되는 현상 방지
     */
    .bp-patch-page {
        width: 100%;
        min-width: 0;
        gap: 14px;
        padding: 0;
        overflow-x: hidden;
    }

    .bp-patch-page,
    .bp-patch-page * {
        min-width: 0;
    }

    .bp-patch-hero {
        display: block !important;
        width: 100%;
        grid-template-columns: none !important;
        padding: 24px 20px;
        border-radius: 20px;
    }

    .bp-patch-hero-copy,
    .bp-patch-hero-stats {
        width: 100%;
        max-width: none;
    }

    .bp-patch-hero::after {
        width: 190px;
        height: 190px;
        top: -90px;
        right: -90px;
    }

    .bp-patch-hero-copy > p {
        width: 100%;
        margin: 0 0 10px;
        font-size: .85rem;
        line-height: 1.4;
        letter-spacing: .12em;
        white-space: normal;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .bp-patch-hero h1 {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0;
        font-size: 1.5rem;
        line-height: 1.28;
        letter-spacing: -.045em;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .bp-patch-hero h1 br {
        display: none;
    }

    .bp-patch-hero-copy > span {
        display: block;
        width: 100%;
        max-width: none;
        margin-top: 14px;
        font-size: .85rem;
        line-height: 1.7;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .bp-patch-hero-stats {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
        margin-top: 22px;
    }

    .bp-patch-hero-stats > div {
        min-width: 0;
        min-height: 86px;
        padding: 14px;
        border-radius: 14px;
    }

    .bp-patch-hero-stats strong {
        font-size: 1rem;
    }

    .bp-patch-hero-stats span {
        margin-top: 4px;
        font-size: .85rem;
    }

    /* 모델 개선 원칙 */

    .bp-patch-principle {
        display: block !important;
        width: 100%;
        grid-template-columns: none !important;
        padding: 18px;
        border-radius: 16px;
    }

    .bp-patch-principle strong {
        display: block;
        margin-bottom: 8px;
        font-size: 1rem;
    }

    .bp-patch-principle p {
        margin: 0;
        font-size: .85rem;
        line-height: 1.65;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    /* 필터 */

    .bp-patch-filter-group {
        width: 100%;
        padding: 18px 14px;
        border-radius: 16px;
        overflow: hidden;
    }

    .bp-patch-filter-row {
        display: block !important;
        grid-template-columns: none !important;
    }

    .bp-patch-filter-row + .bp-patch-filter-row {
        margin-top: 16px;
    }

    .bp-patch-filter-row > span {
        display: block;
        padding: 0;
        margin-bottom: 8px;
        font-size: .85rem;
    }

    .bp-patch-filter-row > div {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 5px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .bp-patch-filter-row > div::-webkit-scrollbar {
        display: none;
    }

    .bp-patch-filter-row a {
        flex: 0 0 auto;
        padding: 7px 10px;
        border-radius: 8px;
        background: rgba(255, 255, 255, .035);
        font-size: .75rem;
        white-space: nowrap;
    }

    .bp-patch-badge, .bp-patch-status{font-size:.75rem;}

    /* 목록 */

    .bp-patch-list {
        display: grid !important;
        width: 100%;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px;
    }

    .bp-patch-card {
        width: 100%;
        min-height: 0;
        padding: 19px 17px;
        border-radius: 17px;
    }

    .bp-patch-card:hover {
        transform: none;
    }

    .bp-patch-card-top {
        align-items: flex-start;
        gap: 10px;
    }

    .bp-patch-card h2 {
        width: 100%;
        font-size: 1rem;
        line-height: 1.45;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .bp-patch-hero-copy > p, .bp-patch-version, .bp-patch-section-title span{font-size:.85rem;}

    .bp-patch-card-summary {
        margin: 11px 0 18px;
        font-size: .85rem;
        line-height: 1.65;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .bp-patch-card-bottom {
        flex-wrap: wrap;
        gap: 7px 11px;
        padding-top: 14px;
        font-size: .75rem;
    }

    .bp-patch-card-bottom strong {
        width: 100%;
        margin: 3px 0 0;
        text-align: right;
    }

    /* 상세 */

    .bp-patch-detail,
    .bp-patch-detail-hero,
    .bp-patch-content-grid,
    .bp-patch-section,
    .bp-patch-metrics {
        width: 100%;
        min-width: 0;
    }

    .bp-patch-detail {
        gap: 14px;
    }

    .bp-patch-detail-hero {
        padding: 23px 18px;
        border-radius: 19px;
    }

    .bp-patch-detail-hero h1 {
        width: 100%;
        max-width: none;
        font-size: 1.5rem;
        line-height: 1.3;
        letter-spacing: -.04em;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .bp-patch-section h2, .bp-patch-section-title h2{font-size:1rem;}

    .bp-patch-summary {
        width: 100%;
        max-width: none;
        font-size: .85rem;
        line-height: 1.7;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .bp-patch-meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
        margin-top: 22px;
        padding-top: 18px;
    }

    .bp-patch-meta div {
        min-width: 0;
    }

    .bp-patch-meta div:last-child {
        grid-column: 1 / -1;
    }

    .bp-patch-meta dd {
        overflow-wrap: anywhere;
    }

    .bp-patch-content-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px;
    }

    .bp-patch-section-title p{font-size:.85rem;}
    .bp-patch-metric-grid strong{font-size:1rem;}

    .bp-patch-section,
    .bp-patch-metrics {
        padding: 19px 17px;
        border-radius: 17px;
    }

    .bp-patch-section > div {
        font-size: .85rem;
        line-height: 1.75;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .bp-patch-section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .bp-patch-metric-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
        margin-top: 15px;
    }

    .bp-patch-metric-grid > div {
        min-width: 0;
        padding: 15px 13px;
        border-radius: 13px;
    }
}

@media screen and (max-width: 420px) {
    .bp-patch-page {
        padding-right: 0;
        padding-left: 0;
    }

    .bp-patch-hero {
        padding: 21px 17px;
    }

    .bp-patch-meta {
        grid-template-columns: minmax(0, 1fr);
    }

    .bp-patch-meta div:last-child {
        grid-column: auto;
    }
}