.wife-actress-cards,
.wife-actress-directory,
.wife-actress-works,
.wife-item-genres {
    margin: 28px 0;
}

.wife-section-title {
    font-size: 1.25rem;
    margin-bottom: 14px;
    border-left: 5px solid #d66;
    padding-left: 10px;
}

.wife-actress-card-list,
.wife-actress-directory,
.wife-work-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.wife-genre-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wife-genre-list li {
    margin: 0;
}

.wife-genre-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff5a98 0%, #e6005c 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow:
        0 10px 22px rgba(230, 0, 92, 0.24),
        0 4px 10px rgba(0, 0, 0, 0.08);
}

.wife-actress-card,
.wife-directory-card,
.wife-work-card {
    background: #fff;
    border: 1px solid #f2d8df;
    border-radius: 18px;
    padding: 10px;
    text-align: center;
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.wife-actress-card:hover,
.wife-directory-card:hover,
.wife-work-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.14),
        0 8px 18px rgba(0, 0, 0, 0.1);
}

.wife-actress-card a,
.wife-directory-card a,
.wife-work-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.wife-actress-card img,
.wife-directory-card img,
.wife-work-card img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 10px;
    display: block;
}

.wife-actress-card strong,
.wife-directory-card strong,
.wife-work-card strong {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 8px;
    color: #222;
    font-weight: 800;
}

.wife-actress-card span,
.wife-directory-card span,
.wife-work-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff5a98 0%, #e6005c 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow:
        0 10px 22px rgba(230, 0, 92, 0.24),
        0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.wife-actress-card span:hover,
.wife-directory-card span:hover,
.wife-work-card span:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 28px rgba(230, 0, 92, 0.3),
        0 6px 14px rgba(0, 0, 0, 0.1);
}

.wife-no-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8f8f8 0%, #eeeeee 100%);
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.wife-actress-empty,
.wife-item-genres-empty {
    background: #fff7f7;
    border: 1px solid #f1d0d0;
    padding: 14px;
    border-radius: 10px;
    color: #8a5555;
}

.wife-reserved-notice {
    background: #f7f7f7;
    border: 1px solid #ddd;
    padding: 14px;
    border-radius: 10px;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .wife-actress-card-list,
    .wife-actress-directory,
    .wife-work-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .wife-actress-card,
    .wife-directory-card,
    .wife-work-card {
        border-radius: 16px;
        padding: 9px;
    }

    .wife-actress-card strong,
    .wife-directory-card strong,
    .wife-work-card strong {
        font-size: 0.86rem;
    }

    .wife-actress-card span,
    .wife-directory-card span,
    .wife-work-card span,
    .wife-genre-tag {
        font-size: 0.72rem;
        padding: 5px 10px;
    }
}
