.bt-stories {
    padding: 20px 0 10px;
}

.bt-stories__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 0 18px 14px;
}

.bt-stories__eyebrow {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #2563eb;
}

.bt-stories__heading h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    color: #0f172a;
}

.bt-stories__rail {
    display: flex;
    gap: 13px;
    overflow-x: auto;
    padding: 3px 18px 10px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
}

.bt-stories__rail::-webkit-scrollbar {
    display: none;
}

.bt-story {
    width: 72px;
    min-width: 72px;
    padding: 0;
    border: 0;
    background: none;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    scroll-snap-align: start;
}

.bt-story__ring {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin: 0 auto 7px;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #4f46e5, #0891b2);
    box-shadow: 0 6px 18px rgba(37, 99, 235, .16);
}

.bt-story__ring--featured {
    background: linear-gradient(135deg, #f59e0b, #facc15, #d97706);
}

.bt-story--seen .bt-story__ring {
    background: #cbd5e1;
    box-shadow: none;
}

.bt-story__avatar {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
    border-radius: inherit;
    background-color: #eef2f7;
    background-position: center;
    background-size: cover;
}

.bt-story__name {
    display: block;
    overflow: hidden;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
    color: #334155;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-story__meta {
    display: block;
    margin-top: 2px;
    overflow: hidden;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    color: #64748b;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-story--create .bt-story__ring {
    background: #e8efff;
}

.bt-story__avatar--create {
    background-image: none !important;
}

.bt-story__plus {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: #2563eb;
}

/* Full-screen story viewer */

.bt-story-viewer-page {
    margin: 0;
    min-height: 100vh;
    overflow: hidden;
    background: #020617;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bt-story-viewer {
    position: relative;
    width: min(100vw, 540px);
    height: 100dvh;
    margin: 0 auto;
    overflow: hidden;
    background: #020617;
    color: #fff;
}

.bt-story-business,
.bt-story-viewer__slides,
.bt-story-slide {
    position: absolute;
    inset: 0;
}

.bt-story-business {
    display: none;
}

.bt-story-business.is-active {
    display: block;
}

.bt-story-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.bt-story-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.bt-story-slide__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bt-story-slide__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(2, 6, 23, .34) 0%,
        rgba(2, 6, 23, .04) 38%,
        rgba(2, 6, 23, .14) 58%,
        rgba(2, 6, 23, .88) 100%
    );
}

.bt-story-viewer__progress {
    position: absolute;
    z-index: 30;
    top: max(12px, env(safe-area-inset-top));
    left: 12px;
    right: 12px;
    display: flex;
    gap: 4px;
}

.bt-story-viewer__progress-track {
    flex: 1;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.34);
}

.bt-story-viewer__progress-fill {
    display: block;
    width: 0;
    height: 100%;
    background: #fff;
}

.bt-story-viewer__header {
    position: absolute;
    z-index: 30;
    top: max(27px, calc(env(safe-area-inset-top) + 15px));
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    max-width: calc(100% - 58px);
}

.bt-story-viewer__shop-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 4px 14px rgba(2, 6, 23, .28);
}

.bt-story-viewer__shop-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bt-story-viewer__identity {
    min-width: 0;
}

.bt-story-viewer__header strong,
.bt-story-viewer__header small {
    display: block;
    text-shadow: 0 1px 8px rgba(0,0,0,.45);
}

.bt-story-viewer__header strong {
    overflow: hidden;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bt-story-viewer__header small {
    margin-top: 2px;
    font-size: 11px;
    color: rgba(255,255,255,.76);
}

.bt-story-viewer__close {
    position: absolute;
    z-index: 35;
    top: max(25px, calc(env(safe-area-inset-top) + 13px));
    right: 12px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(2,6,23,.34);
    backdrop-filter: blur(8px);
    text-decoration: none;
    font-size: 28px;
    line-height: 1;
    border: 0;
    cursor: pointer;
}

.bt-story-slide__content {
    position: absolute;
    z-index: 26;
    left: 22px;
    right: 22px;
    bottom: max(34px, calc(env(safe-area-inset-bottom) + 22px));
}

.bt-story-slide__content h1 {
    margin: 0 0 10px;
    max-width: 95%;
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.02;
    font-weight: 850;
    letter-spacing: -.03em;
}

.bt-story-slide__content p {
    margin: 0 0 20px;
    max-width: 92%;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255,255,255,.86);
}

.bt-story-slide__cta {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    color: #0f172a;
    background: #fff;
    text-decoration: none;
}

.bt-story-viewer__tap {
    position: absolute;
    z-index: 25;
    top: 80px;
    bottom: 100px;
    width: 34%;
    border: 0;
    background: transparent;
}

.bt-story-viewer__tap--previous {
    left: 0;
}

.bt-story-viewer__tap--next {
    right: 0;
}

.bt-story-engagement{position:absolute;z-index:12;left:14px;right:14px;bottom:max(18px,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:auto}.bt-story-reactions{display:flex;gap:7px;padding:8px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(2,6,23,.76);backdrop-filter:blur(14px);opacity:0;transform:translateY(8px);pointer-events:none;transition:.18s}.bt-story-engagement.is-open .bt-story-reactions{opacity:1;transform:none;pointer-events:auto}.bt-story-reactions button,.bt-story-engagement__actions button{border:1px solid rgba(255,255,255,.2);color:#fff;background:rgba(255,255,255,.1)}.bt-story-reactions button{display:flex;align-items:center;gap:5px;min-width:42px;height:38px;padding:0 9px;border-radius:999px}.bt-story-reactions button.is-active{border-color:#60a5fa;background:#2563eb}.bt-story-engagement__actions{display:flex;align-items:center;justify-content:center;gap:7px;max-width:100%;padding:7px 9px;border-radius:999px;background:rgba(2,6,23,.76);backdrop-filter:blur(14px);color:#fff}.bt-story-engagement__actions form{margin:0}.bt-story-engagement__actions button{height:38px;padding:0 13px;border-radius:999px;font-weight:750}.bt-story-engagement__actions>span{padding:0 7px;font-size:11px;color:#cbd5e1;white-space:nowrap}.bt-story-slide__content{padding-bottom:112px}@media(max-width:480px){.bt-story-reactions{gap:3px}.bt-story-reactions button{min-width:36px;padding:0 7px}.bt-story-engagement__actions button{padding:0 10px;font-size:12px}.bt-story-engagement__actions>span{display:none}}

@media (min-width: 768px) {
    .bt-story-viewer {
        border-left: 1px solid rgba(255,255,255,.08);
        border-right: 1px solid rgba(255,255,255,.08);
    }
}


/* =========================================================
   BizTowers Global Marketplace Stories
   ========================================================= */

.bt-global-stories {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 9px 0 6px;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    background:
        radial-gradient(circle at 8% -20%, rgba(37, 99, 235, .08), transparent 34%),
        rgba(255, 255, 255, .82);
    backdrop-filter: blur(12px);
}

.bt-global-stories__inner {
    width: calc(100% - (2 * clamp(32px, 3.75vw, 72px)));
    max-width: 1760px;
    margin: 0 auto;
    padding: 0;
}

.bt-global-stories__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 0 7px;
}

.bt-global-stories__title-wrap {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
}

.bt-global-stories__live {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
    color: #0f172a;
}

.bt-global-stories__live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .10);
}

.bt-global-stories__live-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2563eb;
}

.bt-global-stories__hint {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: #64748b;
}

.bt-global-stories__nav {
    display: flex;
    gap: 5px;
}

.bt-global-stories__nav button {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid #dbe3ef;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #334155;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
    transition: opacity .15s ease, border-color .15s ease, color .15s ease;
}

.bt-global-stories__nav button:hover:not(:disabled) {
    border-color: #93c5fd;
    color: #1d4ed8;
}

.bt-global-stories__nav button:disabled,
.bt-global-stories__nav[hidden] {
    display: none;
}

.bt-global-stories__viewport {
    overflow: hidden;
}

.bt-global-stories__track {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    max-width: 100%;
    padding: 2px 0 5px;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.bt-global-stories__track::-webkit-scrollbar {
    display: none;
}

.bt-story-card {
    position: relative;
    flex: 0 0 122px;
    width: 122px;
    height: 158px;
    overflow: hidden;
    border-radius: 17px;
    background: #0f172a;
    box-shadow:
        0 8px 22px rgba(15, 23, 42, .10),
        0 0 0 1px rgba(15, 23, 42, .06);
    scroll-snap-align: start;
    text-decoration: none;
    isolation: isolate;
    transform: translateZ(0);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        opacity .18s ease;
}

.bt-story-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 13px 28px rgba(15, 23, 42, .15),
        0 0 0 1px rgba(37, 99, 235, .12);
}

.bt-story-card.is-seen {
    opacity: .74;
    filter: saturate(.82);
}

.bt-story-card__media,
.bt-story-card__media img,
.bt-story-card__media-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.bt-story-card__media img {
    object-fit: cover;
}

.bt-story-card__media-fallback {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 75% 20%, rgba(37, 99, 235, .60), transparent 34%),
        linear-gradient(155deg, #0f172a, #1e3a8a);
    color: rgba(255, 255, 255, .72);
    font-size: 32px;
}

.bt-story-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to bottom,
            rgba(2, 6, 23, .10) 0%,
            rgba(2, 6, 23, .04) 36%,
            rgba(2, 6, 23, .52) 67%,
            rgba(2, 6, 23, .93) 100%
        );
}

.bt-story-card__identity {
    position: absolute;
    z-index: 3;
    top: 9px;
    left: 9px;
    display: flex;
    align-items: flex-start;
}

.bt-story-card__logo {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
    box-shadow:
        0 0 0 3px #2563eb,
        0 5px 12px rgba(2, 6, 23, .22);
}

.bt-story-card.is-seen .bt-story-card__logo {
    box-shadow:
        0 0 0 3px #94a3b8,
        0 5px 12px rgba(2, 6, 23, .18);
}

.bt-story-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bt-story-card__new-dot {
    width: 9px;
    height: 9px;
    margin: 0 0 0 -3px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #2563eb;
}

.bt-story-card__content {
    position: absolute;
    z-index: 3;
    left: 10px;
    right: 9px;
    bottom: 10px;
    color: #fff;
}

.bt-story-card__type {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    margin-bottom: 5px;
    padding: 4px 7px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(8px);
    font-size: 8px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
    white-space: nowrap;
}

.bt-story-card__content strong,
.bt-story-card__content small {
    display: block;
}

.bt-story-card__content strong {
    overflow: hidden;
    margin-bottom: 3px;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow: 0 1px 7px rgba(0, 0, 0, .35);
}

.bt-story-card__content small {
    min-height: 25px;
    overflow: hidden;
    font-size: 9.5px;
    line-height: 1.28;
    color: rgba(255, 255, 255, .82);
    text-shadow: 0 1px 6px rgba(0, 0, 0, .34);
}

.bt-story-card--create {
    background:
        radial-gradient(circle at 78% 18%, rgba(59, 130, 246, .80), transparent 34%),
        linear-gradient(155deg, #0b1730, #173b87);
    box-shadow:
        0 10px 25px rgba(30, 64, 175, .16),
        0 0 0 1px rgba(37, 99, 235, .16);
}

.bt-story-card__create-visual {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding-bottom: 34px;
}

.bt-story-card__create-plus {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    color: #0f172a;
    background: #fff;
    font-size: 20px;
    box-shadow: 0 10px 24px rgba(2, 6, 23, .20);
}

@media (max-width: 767.98px) {
    .bt-global-stories {
        padding: 7px 0 4px;
    }

    .bt-global-stories__inner {
        width: 100%;
        max-width: none;
        padding: 0 12px;
    }

    .bt-global-stories__head {
        padding-left: 0;
        padding-right: 0;
    }

    .bt-global-stories__hint {
        display: none;
    }

    .bt-global-stories__nav {
        display: none;
    }

    .bt-global-stories__track {
        gap: 8px;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 4px;
    }

    .bt-story-card {
        flex-basis: 98px;
        width: 98px;
        height: 144px;
        border-radius: 15px;
    }

    .bt-story-card__logo {
        width: 32px;
        height: 32px;
    }

    .bt-story-card__content {
        left: 9px;
        right: 8px;
        bottom: 8px;
    }

    .bt-story-card__content strong {
        font-size: 11px;
    }

    .bt-story-card__content small {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bt-global-stories__track {
        scroll-behavior: auto;
    }

    .bt-story-card {
        transition: none;
    }
}

/* Buyer Status management */
.bt-story-engagement{z-index:30}.bt-story-viewer__tap{bottom:170px}
.bt-status-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.bt-status-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#1463ff;font-weight:750}.bt-status-heading h1{margin:8px 0 4px;font-size:clamp(34px,4vw,54px);font-weight:850;color:#0f172a}.bt-status-heading p{margin:0;color:#64748b;font-size:17px}.bt-status-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,380px));gap:24px}.bt-status-manage-card{overflow:hidden;border:1px solid rgba(148,163,184,.22);border-radius:26px;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.09)}.bt-status-manage-card__media{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:linear-gradient(135deg,#0b244d,#1f62dc);color:#fff}.bt-status-manage-card__media>img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.bt-status-manage-card:hover .bt-status-manage-card__media>img{transform:scale(1.035)}.bt-status-manage-card__media>span:first-child{position:absolute;inset:0;display:grid;place-items:center;font-size:48px}.bt-status-manage-card__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,6,23,.04) 25%,rgba(2,6,23,.86) 100%)}.bt-status-manage-card__type{position:absolute;top:16px;left:16px;padding:7px 11px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(15,23,42,.58);backdrop-filter:blur(8px);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.bt-status-manage-card__copy{position:absolute;left:20px;right:20px;bottom:18px;display:flex;flex-direction:column;gap:5px}.bt-status-manage-card__copy strong{font-size:22px;line-height:1.1}.bt-status-manage-card__copy small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:rgba(255,255,255,.82)}.bt-status-manage-card__body{padding:20px}.bt-status-manage-card__times{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.bt-status-manage-card__times>span{display:flex;gap:9px;color:#2563eb}.bt-status-manage-card__times span span{display:flex;flex-direction:column;color:#475569;font-size:12px;font-weight:700}.bt-status-manage-card__times small{margin-top:2px;color:#64748b;font-size:11px;font-weight:500}.bt-status-empty{padding:64px 24px;text-align:center;border:1px dashed #cbd5e1;border-radius:26px;background:#fff}.bt-status-empty>span{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 16px;border-radius:50%;background:#eaf1ff;color:#2563eb;font-size:28px}.bt-status-empty h2{font-weight:800;color:#0f172a}.bt-status-empty p{color:#64748b}@media(max-width:767.98px){.bt-status-heading{align-items:flex-start;flex-direction:column}.bt-status-grid{grid-template-columns:1fr}.bt-status-manage-card__times{grid-template-columns:1fr}.bt-status-heading h1{font-size:36px}}
