/* =========================================================
   クリエイターカード一新（card--renew）共通
   ホーム / 検索 / お気に入り / 各一覧
   ========================================================= */

.card.card--renew {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    flex: none !important;
    padding: 14px 14px 12px !important;
    margin: 0;
    background: #fff !important;
    border: 1px solid rgba(44, 62, 80, 0.08) !important;
    border-radius: 12px !important;
    border-left: 4px solid #4CAF50 !important;
    box-shadow: 0 6px 18px rgba(44, 62, 80, 0.07) !important;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.card.card--renew:hover {
    transform: translateY(-3px);
    border-color: rgba(76, 175, 80, 0.35);
    box-shadow: 0 12px 26px rgba(44, 62, 80, 0.12);
}

.card.card--renew.hidden-card {
    display: none !important;
}

.card.card--renew .matching-counter {
    display: none !important;
}

.card-renew-identity {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-right: 0;
    margin-bottom: 10px;
}

.card-renew-icon-wrap {
    float: none;
    flex: 0 0 auto;
    margin: 0;
}

.card.card--renew .card-icon,
.card-renew-icon {
    float: none !important;
    width: 56px !important;
    height: 56px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    border: 2px solid #4CAF50 !important;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-renew-meta {
    min-width: 0;
    flex: 1;
}

.card-renew-name,
.card.card--renew .name {
    margin: 0 0 4px;
    text-align: left;
    line-height: 1.3;
}

.card-renew-name b,
.card.card--renew .name b {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    font-weight: 800;
    color: #1f2a37;
}

.card-renew-reviews {
    margin: 0 0 4px;
    text-align: left;
}

.card-renew-reviews .star-rating-review {
    font-size: 11px;
    color: #9aa5b1;
}

.card-renew-reviews .full-star,
.card-renew-reviews .half-star {
    color: #F5A623;
}

.card-renew-reviews .empty-star {
    color: #c5cdd6;
}

.card-renew-reviews .star-rating-review span {
    color: #F5A623;
    font-weight: 700;
}

.card-renew-genre,
.card.card--renew .genre {
    margin: 0;
    text-align: left;
    justify-content: flex-start;
}

.card-renew-genre span:nth-child(2) {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 600;
    color: #5b6b7c;
    line-height: 1.35;
}

.card-renew-styles,
.card.card--renew .style {
    display: flex !important;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 10px;
    min-height: 0;
}

.card-renew-styles .style-content {
    display: inline-block;
    margin: 0;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef8ef;
    border: 1px solid rgba(76, 175, 80, 0.28);
    color: #2e7d32;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.card-renew-styles .style-content--empty {
    visibility: hidden;
    border: none;
    background: transparent;
    padding: 0;
}

.card-renew-profile,
.card.card--renew .profile {
    flex: 1;
    min-height: 36px;
    max-height: 40px;
    margin: 0 0 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
    font-weight: 500;
    color: #516070;
    line-height: 1.45;
    text-align: left;
}

.card-renew-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(44, 62, 80, 0.08);
}

.card-renew-collab,
.card.card--renew .collab-rating {
    flex: 1;
    min-width: 0;
    margin: 0 !important;
    padding: 6px 8px;
    border-radius: 8px;
    background: #fff8e8;
    border: 1px solid rgba(245, 166, 35, 0.35);
    color: inherit !important;
    font-size: 12px;
}

.card-renew-collab > span:first-child {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 800;
    color: #F5A623;
}

.card-renew-stars {
    display: flex;
    gap: 1px;
    line-height: 1;
}

.card-renew-stars .star-rating {
    color: #F5A623 !important;
    font-size: 12px;
    margin: 0;
    text-shadow: none;
}

.card-renew-stars .star-rating.inactive {
    color: #d5dbe3 !important;
}

.card-renew-sns,
.card.card--renew .sns-icons {
    position: static !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    justify-content: flex-end;
    max-width: none;
}

.card-renew-sns .sns-icon {
    width: 22px !important;
    height: 22px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(44, 62, 80, 0.08);
    background: #fff;
    object-fit: contain;
}
