.bourbon-compat-hero {
    padding: 104px 0 46px 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(198, 134, 66, 0.35), transparent 34%),
        radial-gradient(circle at 80% 10%, rgba(255, 190, 107, 0.18), transparent 30%),
        linear-gradient(135deg, #20120c, #3d2314 48%, #8b4513);
    color: white;
}

.bourbon-compat-hero__inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.bourbon-compat-kicker {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.82;
    margin-bottom: 10px;
}

.bourbon-compat-hero h1 {
    font-size: clamp(2.25rem, 4.4vw, 3.6rem);
    margin-bottom: 12px;
}

.bourbon-compat-hero__lead {
    font-size: 1.08rem;
    opacity: 0.88;
    line-height: 1.5;
    max-width: 760px;
    margin: 0 auto;
}

.bourbon-compat-section {
    padding: 36px 0;
    background: #fffaf4;
}

.bourbon-compat-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 22px;
}

.bourbon-compat-intro--compact {
    display: block;
    max-width: 980px;
    margin: 0 auto 18px auto;
}

.bourbon-compat-panel,
.bourbon-compat-stat,
.compat-card,
.status-guide-card,
.compat-source-note {
    background: white;
    border: 1px solid rgba(139, 69, 19, 0.1);
    box-shadow: 0 10px 28px rgba(61, 35, 20, 0.08);
}

.bourbon-compat-panel {
    border-radius: 16px;
    padding: 16px 18px;
}

.bourbon-compat-panel h2,
.status-guide h2 {
    font-size: 1.55rem;
    margin-bottom: 6px;
    color: #2f1b10;
}

.bourbon-compat-panel p {
    color: #5f5148;
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0;
}

.bourbon-compat-panel p:last-child {
    margin-bottom: 0;
}

.bourbon-compat-expansion-note {
    color: #8b4513 !important;
    font-weight: 700;
}

.compat-search {
    margin: 0 auto 14px auto;
    max-width: 980px;
}

.compat-search__label {
    color: #6d5b50;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.compat-search__field {
    position: relative;
    max-width: 420px;
}

.compat-search__icon {
    color: #8b4513;
    font-size: 0.9rem;
    left: 12px;
    opacity: 0.72;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.compat-search__input {
    background: white;
    border: 1px solid rgba(139, 69, 19, 0.18);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(61, 35, 20, 0.06);
    color: #2f1b10;
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.2;
    padding: 10px 12px 10px 36px;
    width: 100%;
}

.compat-search__input:focus {
    border-color: rgba(139, 69, 19, 0.45);
    box-shadow: 0 0 0 3px rgba(198, 134, 66, 0.18);
    outline: none;
}

.compat-search__input::-webkit-search-cancel-button {
    cursor: pointer;
}

.compat-search__status {
    color: #6d5b50;
    font-size: 0.82rem;
    margin: 8px 0 0 0;
    min-height: 1.2em;
}

.compat-search__status:empty {
    display: none;
}

.bourbon-compat-stats {
    display: grid;
    gap: 10px;
}

.bourbon-compat-stat {
    border-radius: 16px;
    padding: 16px;
}

.bourbon-compat-stat strong {
    display: block;
    color: #2f1b10;
    font-size: 1.65rem;
    line-height: 1;
    margin-bottom: 4px;
}

.bourbon-compat-stat span {
    color: #6d5b50;
    font-weight: 600;
}

.compat-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.compat-row.compat-row--search-hidden {
    display: none !important;
}

.compat-card {
    align-items: center;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 0;
}

.compat-card--compatible,
.compat-card--community {
    border-left: 5px solid #1f7a3f;
}

.compat-card--unsupported {
    border-left: 5px solid #b42318;
}

.compat-card__art {
    flex: 0 0 150px;
    max-width: 150px;
    min-width: 150px;
    align-self: center;
    aspect-ratio: 460 / 215;
    margin: 10px 0 10px 10px;
    position: relative;
    background: #20120c;
    border-radius: 10px;
    overflow: hidden;
}

.compat-card__art--wide {
    flex: 0 0 150px;
    max-width: 150px;
    min-width: 150px;
    aspect-ratio: 460 / 215;
}

.compat-card__art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.compat-card__fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
    padding: 10px;
    text-align: center;
}

.compat-card__art img + .compat-card__fallback {
    display: none;
}

.compat-card--no-art .compat-card__fallback {
    display: flex;
}

.compat-row--no-art .compat-card__fallback {
    display: flex;
}

.compat-card__body {
    align-items: center;
    display: grid;
    flex: 1;
    gap: 8px 14px;
    min-width: 0;
    grid-template-columns: minmax(220px, 1.1fr) 150px 92px minmax(180px, 1fr) 118px;
    padding: 10px 14px;
}

.compat-card__title {
    min-width: 0;
}

.compat-card h3 {
    color: #2f1b10;
    font-size: 1.05rem;
    line-height: 1.3;
    margin: 0;
}

.compat-card__steam-name {
    color: #7a695f;
    font-size: 0.82rem;
    margin: 0;
}

.compat-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0.03em;
    padding: 5px 8px;
    text-align: center;
    text-transform: uppercase;
    white-space: normal;
    width: 100%;
}

.compat-badge--compatible {
    background: #e9f8ee;
    color: #1f7a3f;
}

.compat-badge--community {
    background: #eef5ff;
    color: #1a5f8f;
}

.compat-badge--unsupported {
    background: #fff0ee;
    color: #b42318;
}

.compat-badge--blocked {
    flex-direction: column;
    gap: 1px;
    line-height: 1.05;
    text-transform: none;
}

.compat-badge__line {
    display: block;
}

.compat-card__date {
    color: #7a695f;
    display: flex;
    flex-direction: column;
    font-size: 0.78rem;
    gap: 2px;
    line-height: 1.2;
    margin: 0;
    text-align: left;
}

.compat-card__date strong {
    color: #5f5148;
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.compat-card__date span {
    white-space: nowrap;
}

.compat-card__description {
    color: #5f5148;
    font-size: 0.94rem;
    line-height: 1.45;
    margin: 0;
}

.compat-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.compat-meta__item {
    background: #fff7ef;
    border-radius: 10px;
    padding: 8px 10px;
}

.compat-meta__label {
    color: #8b4513;
    display: block;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.compat-meta__value {
    color: #3d3029;
    font-size: 0.84rem;
    font-weight: 600;
}

.compat-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.compat-genre {
    background: rgba(198, 134, 66, 0.14);
    border-radius: 999px;
    color: #6b3916;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 8px;
}

.compat-card__note {
    border-left: 0;
    color: #5f5148;
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.35;
    margin: 0;
    min-width: 0;
    padding-left: 0;
}

.compat-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: stretch;
}

.compat-card__actions a {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    font-size: 0.85rem;
    min-height: 32px;
    padding: 6px 12px;
    width: 100%;
}

.bourbon-compat-section .btn-secondary,
.status-guide .btn-secondary {
    border-color: #8b4513;
    color: #8b4513;
}

.bourbon-compat-section .btn-secondary:hover,
.status-guide .btn-secondary:hover {
    background: #8b4513;
    color: white;
}

.status-guide .btn-primary {
    background: linear-gradient(135deg, #8b4513, #c68642);
}

.status-guide {
    padding: 48px 0;
    background: #f8f9fa;
}

.status-guide h2 {
    text-align: center;
    margin-bottom: 22px;
}

.status-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.status-guide-card {
    border-radius: 16px;
    padding: 18px;
}

.status-guide-card h3 {
    margin-bottom: 8px;
}

.status-guide-card p {
    color: #666;
    font-size: 0.94rem;
    line-height: 1.5;
    margin: 0;
}

.compat-source-note {
    border-radius: 16px;
    color: #6d5b50;
    line-height: 1.45;
    font-size: 0.82rem;
    margin-top: 12px;
    padding: 10px 12px;
}

.compat-source-note strong {
    color: #2f1b10;
}

.compat-footer-actions {
    margin-top: 28px;
    text-align: center;
}

.compat-footer-actions a {
    margin: 6px;
}

@media (max-width: 820px) {
    .bourbon-compat-intro {
        grid-template-columns: 1fr;
    }

    .compat-card {
        flex-direction: column;
    }

    .compat-card--compatible,
    .compat-card--community {
        border-left: 0;
        border-top: 5px solid #1f7a3f;
    }

    .compat-card--unsupported {
        border-left: 0;
        border-top: 5px solid #b42318;
    }

    .compat-card__art {
        flex-basis: auto;
        min-width: 0;
        margin: 10px 10px 0 10px;
        width: calc(100% - 20px);
    }

    .compat-card__art--wide {
        max-width: none;
    }

    .compat-card__body {
        align-items: flex-start;
        gap: 8px;
        grid-template-columns: 1fr;
        min-width: 0;
        padding: 10px;
    }

    .compat-card__title {
        width: 100%;
    }
}
