/* Compact discovery cards only; detail pages and home sections retain their layout. */
.premiumBrowse .ybCompactGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:stretch}.ybCompactGrid .card.placeCard{min-width:0;min-height:0;border-radius:13px;box-shadow:0 4px 12px #173e2410;margin:0}.ybCompactGrid .placeCard>.cardImageLink{display:block;min-width:0}.ybCompactGrid .placeCard .photo{height:155px!important;min-height:0!important}.ybCompactGrid .photo>.tag{top:7px;left:7px;max-width:calc(100% - 14px);padding:4px 7px;border-radius:7px;font-size:11px;line-height:1.4}.ybCompactGrid .cardOpen{display:none}.ybCompactGrid .photo>.operationBadge{left:7px;bottom:6px;font-size:10px;padding:3px 5px;max-width:calc(100% - 14px)}.ybCompactGrid .ybListIllustrationBadge{left:6px!important;bottom:6px!important;padding:3px 5px!important;font-size:10px!important;max-width:calc(100% - 12px)!important;line-height:1.3!important}.ybCompactGrid .photo:has(.ybListIllustrationBadge)>.operationBadge{bottom:29px}.ybCompactGrid .card .body{padding:12px!important;display:flex;flex-direction:column;gap:5px;min-height:0!important}.ybCompactGrid .card .type{gap:4px;margin:0;line-height:1.4}.ybCompactGrid .card .type>span{font-size:10px;line-height:1.4;padding:2px 5px;letter-spacing:0;max-width:100%;white-space:normal}.ybCompactGrid .card .body h3{margin:1px 0!important;font-size:17px!important;line-height:1.45!important;letter-spacing:0;min-height:0!important}.ybCompactGrid .card .body h3>a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:inherit!important;line-height:inherit!important;min-height:44px}.ybCompactGrid .card .location{display:block;font-size:12px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;min-height:21px}.ybCompactGrid .card .location>.icon{width:13px;height:13px;margin-right:3px}.ybCompactGrid .card .cardDescription{font-size:13px!important;line-height:1.6!important;margin:1px 0 3px!important;min-height:0!important;max-height:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;flex:0 0 auto!important}.ybCompactGrid .cardAmenities{display:none}.ybCompactGrid .communityRatingSummary,.ybCompactGrid .communityUpdated{font-size:11px;line-height:1.5;margin:0}.ybCompactGrid .ybCardConfirmation{margin:2px 0!important;padding:6px 7px;gap:4px;border-radius:8px;font-size:11px;line-height:1.4}.ybCompactGrid .ybCardConfirmation a{min-height:44px;padding:5px 7px;font-size:12px;border-radius:7px;line-height:1.5}.ybCompactGrid .card .author{display:flex;align-items:center;min-width:0;margin-top:3px!important;padding-top:7px!important;gap:4px;border-top:1px solid #d7e2da}.ybCompactGrid .author>.avatar{display:none}.ybCompactGrid .author>div{min-width:0;flex:1}.ybCompactGrid .author strong{display:block;margin:0!important;font-size:11px!important;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ybCompactGrid .author span{display:block;font-size:11px!important;line-height:1.5;margin:1px 0 0}.ybCompactGrid .cardRead{display:grid;place-items:center;flex:0 0 32px;width:32px;min-height:44px;border-radius:8px}.ybCompactGrid .cardRead>.icon{width:18px;height:18px}.ybCompactGrid .placeCard:has(.needsConfirmation){border-color:#dbc9a5}.ybCompactGrid a:focus-visible{outline:3px solid #2787b2;outline-offset:2px}html[data-yb-theme=night] .ybCompactGrid .card .author{border-color:#465e68}html[data-yb-theme=night] .ybCompactGrid .card .type>span{background:#2b4350;color:#e3edf0;border-color:#536875}
@media(max-width:960px){.premiumBrowse .ybCompactGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}}
@media(max-width:600px){.premiumBrowse .ybCompactGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.ybCompactGrid .card.placeCard{border-radius:11px}.ybCompactGrid .placeCard .photo{height:110px!important}.ybCompactGrid .card .body{padding:9px!important;gap:4px}.ybCompactGrid .card .body h3{font-size:15px!important;line-height:1.45!important}.ybCompactGrid .card .type>span{font-size:10px;padding:2px 4px}.ybCompactGrid .card .location{font-size:11px;min-height:19px}.ybCompactGrid .card .cardDescription{font-size:12px!important;line-height:1.55!important;margin:1px 0!important}.ybCompactGrid .photo>.tag{font-size:10px;top:5px;left:5px;padding:3px 5px}.ybCompactGrid .ybCardConfirmation{padding:5px 6px;font-size:10px}.ybCompactGrid .ybCardConfirmation a{font-size:11px;padding:5px 6px}.ybCompactGrid .cardRead{flex-basis:26px;width:26px}.ybCompactGrid .author strong,.ybCompactGrid .author span{font-size:10px!important}.ybCompactGrid .ybListIllustrationBadge{font-size:9px!important;left:4px!important;bottom:4px!important;max-width:calc(100% - 8px)!important}}
@media(max-width:360px){.ybCompactGrid .placeCard .photo{height:96px!important}.ybCompactGrid .card .body{padding:8px!important}.ybCompactGrid .card .body h3{font-size:14px!important}}
.ybCompactGrid .ybCardConfirmation.isConfirmed a{background:#f8fff9;color:#245d3e;border-color:#bdd3c2}html[data-yb-theme=night] .ybCompactGrid .ybCardConfirmation.isConfirmed a{background:#244238;color:#d4f2de;border-color:#628773}@media(max-width:600px){.ybCompactGrid .author strong,.ybCompactGrid .author span{font-size:11px!important}}
.ybCompactGrid .card .body h3>a{min-height:24px}
/* Confirmation on the left, its action on the right in the same row. */
.ybCompactGrid .ybCardConfirmation{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;padding:5px 6px}.ybCompactGrid .ybCardConfirmation>span{min-width:0;line-height:1.5;overflow-wrap:normal}.ybCompactGrid .ybCardConfirmation>a{min-width:0;min-height:44px;padding:5px 7px;justify-content:center;text-align:center;white-space:nowrap;font-size:11px;line-height:1.5}@media(max-width:600px){.ybCompactGrid .ybCardConfirmation{gap:4px;padding:4px 5px}.ybCompactGrid .ybCardConfirmation>span{font-size:10px}.ybCompactGrid .ybCardConfirmation>a{font-size:10px;padding:4px 5px}}
