.v2-listing-social {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
    min-width: 0;
    font-family: var(--font-family-base, Arial, Helvetica, sans-serif);
}

.v2-listing-social__summary,
.v2-listing-social__rate {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0;
    min-width: 0;
    color: var(--navy, #064b7d);
    font-size: var(--font-size-sm, 14px);
    font-weight: var(--font-weight-semibold, 800);
    line-height: var(--line-height-normal, 1.45);
}

.v2-listing-social__stars,
.v2-listing-social__star {
    letter-spacing: 0.08em;
    color: #d97706;
}

.v2-listing-social__favorite,
.v2-listing-social__clear,
.v2-listing-social__save,
.v2-listing-social__star {
    display: inline-flex;
    min-height: var(--v2-touch, 44px);
    min-width: var(--v2-touch, 44px);
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border: 1px solid #dce1ea;
    border-radius: var(--v2-radius, 12px);
    background: #fff;
    color: #101c3e;
    font-size: var(--font-size-sm, 14px);
    font-weight: var(--font-weight-semibold, 800);
    cursor: pointer;
    overflow-wrap: anywhere;
    white-space: normal;
}

.v2-listing-social__star {
    font-size: var(--font-size-lg, 18px);
    line-height: 1;
    color: #cbd5e1;
}

.v2-listing-social__star--on {
    color: #d97706;
}

.v2-listing-social--card {
    gap: 2px;
    justify-items: center;
    margin-top: 0;
}

.v2-listing-social--card .v2-listing-social__favorite {
    width: 100%;
    min-height: 44px;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.v2-listing-social__heart {
    color: transparent;
    font-size: 22px;
    line-height: 1;
    -webkit-text-stroke: 1.6px #16213e;
}

.v2-listing-social__favorite[data-favorited="1"] .v2-listing-social__heart {
    color: #c41212;
    -webkit-text-stroke: 0;
}

.v2-listing-social--card .v2-listing-social__summary {
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
    text-align: center;
}

.listing-detail__card .v2-listing-social--detail {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
}

.listing-detail__card .v2-listing-social__favorite {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 4;
    width: auto;
    max-width: 76px;
    min-width: 44px;
    min-height: 44px;
    flex-direction: column;
    gap: 0;
    padding: 2px 4px;
    line-height: 1.1;
}

.listing-detail__card .v2-listing-social__summary,
.listing-detail__card .v2-listing-social__summary span {
    width: 100%;
    white-space: normal;
}

.listing-detail__card .v2-listing-social__rate {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
}

.listing-phone-sheet,
.v2-guest-sheet {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(90vw, 420px);
    max-width: 90%;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 16px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: #16213e;
    transform: translate(-50%, -50%);
}

dialog.listing-phone-sheet:modal,
dialog.v2-guest-sheet:modal {
    position: fixed;
    inset: auto;
    top: 50%;
    left: 50%;
    width: min(90vw, 420px);
    height: fit-content;
    max-height: none;
    margin: 0;
    transform: translate(-50%, -50%);
}

.listing-phone-sheet::backdrop,
.v2-guest-sheet::backdrop {
    background: rgba(22, 33, 62, 0.45);
}

.listing-phone-sheet p,
.v2-guest-sheet p {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.listing-phone-sheet a,
.listing-phone-sheet button,
.v2-guest-sheet a,
.v2-guest-sheet button {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0 0 8px;
    border: 0;
    border-radius: 12px;
    background: #ff6b00;
    color: #16213e;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

.listing-phone-sheet button,
.v2-guest-sheet button {
    background: #fff;
    border: 1px solid #16213e;
}

.v2-listing-social__note {
    margin: 0;
    color: var(--navy, #064b7d);
    font-weight: 700;
}

@media (min-width: 360px) {
    .v2-listing-social__summary {
        font-size: var(--font-size-sm, 14px);
    }
}

@media (min-width: 390px) {
    .v2-listing-social__favorite {
        font-size: var(--font-size-sm, 14px);
    }
}

@media (min-width: 430px) {
    .v2-listing-social {
        gap: 10px;
    }
}
