/* Experiment 01: applies only to patches.html. The release styles stay unchanged. */
.patch-catalog {
    max-width: 1184px;
    margin-inline: auto;
    padding: 32px;
    color: #000;
    overflow-wrap: anywhere;
}
.catalog-header {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
    gap: 25px;
    margin-bottom: 24px;
}
.catalog-art {
    display: block;
    width: 96px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.22));
}
.catalog-header h1 { margin: 0 0 14px; }
.catalog-header .description { text-align: left; }
.catalog-header p:last-child { margin-bottom: 0; }
.catalog-notice {
    margin: 0 0 28px;
    line-height: 1.5;
}
.patch-group { margin-bottom: 28px; }
.patch-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
}
.patch-table th, .patch-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}
.patch-table thead { background: #f3f3f3; }
.patch-table thead th:first-child { width: 38%; }
.patch-table thead th:nth-child(2) { width: 15%; }
.patch-table thead th:nth-child(3) { width: 13%; }
.patch-table thead th:nth-child(4) { width: 18%; }
.patch-table thead th:nth-child(5) { width: 16%; }
.patch-file { font-weight: 400; }
.patch-name, .patch-description, .patch-version { display: block; }
.patch-name { margin-bottom: 6px; }
.patch-description { line-height: 1.5; }
.patch-version { margin-top: 6px; color: #555; }
.cell-label { display: none; }
.patch-action button {
    padding: 6px 12px;
    font: inherit;
    line-height: 1.4;
    border: 1px solid #aaa;
    background: #eee;
    color: #555;
}
.patch-action button:disabled { cursor: not-allowed; opacity: 1; }
.download-note { display: block; margin-top: 6px; color: #555; font-size: 12px; }
.empty-row td { color: #555; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
@media (max-width: 640px) {
    .patch-catalog { padding: 20px 16px; }
    .catalog-header { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
    .catalog-art { width: 64px; }
    .patch-table, .patch-table tbody { display: block; }
    .patch-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
    .patch-group h2 { margin-bottom: 12px; }
    .patch-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 12px 16px;
        margin-bottom: 12px;
        padding: 16px;
        border: 1px solid #ddd;
    }
    .patch-table th, .patch-table td { padding: 0; border: 0; }
    .patch-file, .patch-action { grid-column: 1 / -1; }
    .cell-label { display: block; margin-bottom: 2px; color: #555; font-size: 12px; }
    .patch-action { padding-top: 2px; }
    .empty-row { display: block; padding: 4px 0 8px; }
    .empty-row td { display: block; }
}
