.aub-fb-index {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 12px 0px calc(110px + env(safe-area-inset-bottom));
}

.aub-fb-index-feed {
    width: 100%;
}

.aub-fb-index-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 12px;
}

.aub-fb-index-heading h1 {
    margin: 0;
    color: #17191d;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.15;
}

.aub-fb-index-heading p {
    margin: 4px 0 0;
    color: #65676b;
    font-size: 13px;
}

.aub-fb-index-list {
    display: grid;
    gap: 12px;
}

.aub-fb-index-state,
.aub-fb-index-empty {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 13px;
    color: #65676b;
    text-align: center;
}

.aub-fb-index-state button,
.aub-fb-index-more {
    min-height: 44px;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #1877f2;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}

.aub-fb-index-spinner {
    width: 38px;
    height: 38px;
    border: 4px solid #d8dadf;
    border-top-color: #1877f2;
    border-radius: 50%;
    animation: aubFbIndexSpin .8s linear infinite;
}

.aub-fb-index-more-wrap {
    padding: 15px 0 4px;
    text-align: center;
}

.aub-fb-index-more[hidden] {
    display: none;
}

.aub-fb-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid #e4e6eb;
    border-radius: 0px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .10);
}

.aub-fb-card-badges {
    display: grid;
    grid-template-columns: minmax(65%, 1fr) minmax(122px, 1.35fr) auto;
    gap: 0px;
    padding: 0px;
}

.aub-fb-card-sale,
.aub-fb-card-date,
.aub-fb-card-hot {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 6px;
    border-radius: 0px;
    font-weight: 900;
    text-align: center;
}

.aub-fb-card-sale {
    color: #fff;
    background: #e32636;
    font-size: 19px;
}

.aub-fb-card-date {
    gap: 7px;
    color: #453200;
    background: linear-gradient(180deg, #ffda66, #f4b400);
    font-size: 13px;
}

.aub-fb-card-date svg {
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.aub-fb-card-hot {
    color: #fff;
    background: #ef3f37;
    font-size: 13px;
    white-space: nowrap;
}

.aub-fb-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 11px;
}

.aub-fb-card-avatar {
    width: 48px;
    height: 48px;
    flex: none;
    border: 1px solid #e4e6eb;
    border-radius: 50%;
    object-fit: cover;
    background: #f0f2f5;
}

.aub-fb-card-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #1877f2;
    font-size: 20px;
    font-weight: 900;
}

.aub-fb-card-author-copy {
    min-width: 0;
    flex: 1;
}

.aub-fb-card-author-copy strong {
    display: block;
    overflow: hidden;
    color: #050505;
    font-size: 17px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aub-fb-card-author-copy span {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: #65676b;
    font-size: 12.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aub-fb-card-menu {
    width: 38px;
    height: 38px;
    flex: none;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #65676b;
    background: transparent;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
}

.aub-fb-card-copy {
    padding: 0 12px 12px;
    color: #050505;
    font-size: 15px;
    line-height: 1.45;
}

.aub-fb-card-copy > strong {
    display: block;
    margin-bottom: 3px;
    font-size: 16px;
}

.aub-fb-card-clamp {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.aub-fb-card-clamp.is-expanded {
    display: block;
}

.aub-fb-card-more {
    display: inline;
    padding: 0;
    border: 0;
    color: #65676b;
    background: none;
    font: inherit;
    font-weight: 800;
}

.aub-fb-card-photo {
    width: 100%;
    overflow: hidden;
    background: #e4e6eb;
}

.aub-fb-card-photo img {
    display: block;
    width: 100%;
    max-height: 620px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.aub-fb-card-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 13px;
    color: #65676b;
    font-size: 13px;
}

.aub-fb-card-stats button {
    padding: 0;
    border: 0;
    color: inherit;
    background: none;
    font: inherit;
}

.aub-fb-card-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 12px;
    border-top: 1px solid #ced0d4;
}

.aub-fb-card-actions button {
    min-width: 0;
    min-height: 46px;
    padding: 8px 3px;
    border: 0;
    color: #65676b;
    background: none;
    font-size: 13px;
    font-weight: 900;
}

.aub-fb-card-actions button span {
    margin-right: 3px;
    font-size: 20px;
    vertical-align: -2px;
}

.aub-fb-card-actions button.is-active {
    color: #1877f2;
}

@keyframes aubFbIndexSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 390px) {
    .aub-fb-index {
        padding-left: 6px;
        padding-right: 6px;
    }

    .aub-fb-card-badges {
        grid-template-columns: 1fr 1.25fr;
    }

    .aub-fb-card-hot {
        grid-column: 1 / -1;
        min-height: 35px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aub-fb-index-spinner {
        animation: none;
    }
}

/* Premium Promotion contact area */
.aub-fb-card-author[data-aub-fb-business-open],
.aub-fb-card-copy[data-aub-fb-promotion-open] {
    cursor: pointer;
}

button.aub-fb-card-photo {
    display: block;
    padding: 0;
    border: 0;
    cursor: pointer;
}

.aub-fb-card-contact {
    margin-top: 2px;
    padding: 12px;
    border-top: 1px solid #e4e6eb;
    background: linear-gradient(180deg, #fffdf7 0%, #fff8e8 100%);
}

.aub-fb-card-contact-details {
    display: grid;
    gap: 8px;
    margin-bottom: 11px;
}

.aub-fb-card-contact-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #292b2f;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
}

.aub-fb-card-contact-line > span:first-child {
    width: 20px;
    flex: none;
    text-align: center;
}

.aub-fb-card-contact-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.aub-fb-card-contact-actions a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 10px;
    border-radius: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .2px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(15, 23, 42, .16);
}

.aub-fb-card-call {
    background: linear-gradient(180deg, #35c75a 0%, #15933b 100%);
}

.aub-fb-card-directions {
    background: linear-gradient(180deg, #2787f5 0%, #1264c6 100%);
}

.aub-fb-sheet-lock {
    overflow: hidden !important;
}

.aub-fb-modal-overlay {
    position: fixed;
    z-index: 99990;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px 0 0;
    background: rgba(0, 0, 0, .52);
}

.aub-fb-modal-overlay[hidden] {
    display: none;
}

.aub-fb-modal-sheet {
    width: min(100%, 760px);
    max-height: 88dvh;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    background: #fff;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, .24);
}

.aub-fb-modal-handle {
    width: 44px;
    height: 5px;
    margin: 9px auto 3px;
    border-radius: 999px;
    background: #c9ccd1;
}

.aub-fb-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px 13px;
    border-bottom: 1px solid #e4e6eb;
}

.aub-fb-modal-header strong {
    font-size: 18px;
}

.aub-fb-modal-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    color: #34363a;
    background: #eef0f3;
    font-size: 22px;
}

.aub-fb-modal-body {
    max-height: calc(88dvh - 68px);
    overflow-y: auto;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
}

.aub-fb-business-sheet {
    display: grid;
    gap: 12px;
}

.aub-fb-business-sheet h3 {
    margin: 0;
    font-size: 22px;
}

.aub-fb-business-sheet a {
    color: inherit;
    text-decoration: none;
}

.aub-fb-business-sheet-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 4px;
}

.aub-fb-business-sheet-actions a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: #1877f2;
    font-weight: 900;
}

.aub-fb-photo-viewer {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 12px 20px;
    background: rgba(0, 0, 0, .95);
}

.aub-fb-photo-viewer[hidden] {
    display: none;
}

.aub-fb-photo-viewer img {
    max-width: 100%;
    max-height: 88dvh;
    object-fit: contain;
}

.aub-fb-photo-viewer-close {
    position: absolute;
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .16);
    font-size: 27px;
}

@media (max-width: 360px) {
    .aub-fb-card-contact-actions,
    .aub-fb-business-sheet-actions {
        grid-template-columns: 1fr;
    }
}
