            .shop-stories-open-btn {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 6px;
                flex-shrink: 0;
                height: 38px;
                padding: 8px 14px;
                border: 0;
                border-radius: 20px;
                background: var(--brand);
                color: #fff;
                font-weight: 600;
                cursor: pointer;
            }

            .shop-stories-open-btn.has-story-ring {
                box-shadow: 0 0 0 2px var(--panel, #fff), 0 0 0 4px #e1306c;
            }

            .shop-stories-open-btn:focus-visible,
            .story-modal button:focus-visible,
            .story-modal textarea:focus-visible,
            .story-modal input:focus-visible,
            .store-share-story-btn:focus-visible {
                outline: 3px solid #ffbf47;
                outline-offset: 2px;
            }

            .modal-overlay.story-modal {
                z-index: 7100;
                padding: 16px;
                background: rgba(8, 12, 24, .82);
                backdrop-filter: blur(12px);
            }

            .story-modal .story-modal-content {
                width: min(100%, 460px);
                max-height: 94vh;
                overflow-y: auto;
                display: flex;
                flex-direction: column;
                gap: 12px;
                padding: 16px;
                border: 1px solid rgba(255, 255, 255, .16);
                border-radius: 22px;
                background: #10131d;
                color: #fff;
                box-shadow: 0 24px 80px rgba(0, 0, 0, .4);
                animation: story-modal-enter .28s ease-out both;
            }

            .story-modal.is-compose-mode .story-progress-track,
            .story-modal.is-compose-mode>.story-viewer,
            .story-modal.is-compose-mode .story-nav,
            .story-modal.is-compose-mode [data-ui="stories-status"] {
                display: none;
            }

            .story-modal.is-compose-mode .story-modal-publish-form {
                display: grid;
                margin: 0;
                padding: 0;
                border: 0;
            }

            .story-modal-publish-form[hidden] {
                display: none;
            }

            .story-modal-publish-form h3 {
                margin: 0;
                color: #fff;
            }

            .story-modal-publish-form .story-composer-help {
                margin: 0;
                color: rgba(255, 255, 255, .7);
                font-size: .88rem;
            }

            .story-modal-publish-form .story-composer-fields {
                color: rgba(255, 255, 255, .9);
            }

            .story-audience-picker {
                display: grid;
                gap: 8px;
                margin: 0;
                padding: 12px;
                border: 1px solid rgba(255, 255, 255, .22);
                border-radius: 12px;
            }

            .story-audience-picker select {
                min-height: 40px;
                padding: 8px 10px;
                border: 1px solid rgba(255, 255, 255, .22);
                border-radius: 8px;
                background: #222b33;
                color: #fff;
            }

            .story-audience-picker p {
                margin: 0;
                color: rgba(255, 255, 255, .7);
                font-size: .88rem;
            }

            .story-audience-contacts {
                display: grid;
                gap: 6px;
                max-height: 150px;
                overflow-y: auto;
            }

            .story-audience-contacts[hidden] {
                display: none;
            }

            .story-audience-contacts label {
                display: flex;
                align-items: center;
                gap: 8px;
            }

            .story-modal-publish-form textarea {
                width: 100%;
                min-height: 96px;
                padding: 12px;
                border: 1px solid rgba(255, 255, 255, .22);
                border-radius: 12px;
                background: rgba(255, 255, 255, .08);
                color: #fff;
                resize: vertical;
                transition: border-color .2s ease, box-shadow .2s ease;
            }

            .story-modal-publish-form textarea:focus {
                border-color: #ef78b5;
                box-shadow: 0 0 0 3px rgba(239, 120, 181, .18);
                outline: none;
            }

            .story-modal-publish-form input[type="file"] {
                max-width: 100%;
                color: rgba(255, 255, 255, .8);
            }

            .story-image-actions {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                gap: 10px;
            }

            .story-camera-btn {
                min-height: 40px;
                padding: 0 14px;
                border: 1px solid rgba(255, 255, 255, .24);
                border-radius: 999px;
                background: rgba(255, 255, 255, .1);
                color: #fff;
                font: inherit;
                cursor: pointer;
            }

            .story-camera-btn:hover {
                background: rgba(255, 255, 255, .18);
            }

            .story-modal-publish-form .story-theme-picker legend {
                color: #fff;
            }

            .story-modal-publish-form .story-publish-btn {
                justify-self: stretch;
                min-height: 48px;
                background: linear-gradient(100deg, #ef5578, #9148c7 52%, #367ed2);
                box-shadow: 0 8px 22px rgba(145, 72, 199, .3);
                transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
            }

            .story-publish-btn .story-publish-success-icon {
                display: none;
            }

            .story-publish-btn .story-publish-spinner {
                display: none;
            }

            .story-publish-btn.is-publishing .fa-paper-plane,
            .story-publish-btn.is-publishing .story-publish-success-icon {
                display: none;
            }

            .story-publish-btn.is-publishing .story-publish-spinner {
                display: inline-block;
                animation: story-publish-spin .8s linear infinite;
            }

            .story-publish-btn.is-published {
                background: #18864b;
                box-shadow: 0 8px 22px rgba(24, 134, 75, .3);
            }

            .story-publish-btn.is-published:disabled {
                cursor: default;
                opacity: 1;
            }

            .story-publish-btn.is-published .fa-paper-plane {
                display: none;
            }

            .story-publish-btn.is-published .story-publish-success-icon {
                display: inline-block;
                animation: story-publish-check .45s cubic-bezier(.2, .8, .2, 1) both;
            }

            @keyframes story-publish-check {
                from {
                    opacity: 0;
                    transform: scale(.35) rotate(-35deg);
                }

                to {
                    opacity: 1;
                    transform: scale(1) rotate(0);
                }
            }

            @keyframes story-publish-spin {
                to {
                    transform: rotate(360deg);
                }
            }

            @media (prefers-reduced-motion: reduce) {
                .story-modal-publish-form .story-publish-btn,
                .story-publish-btn.is-published .story-publish-success-icon,
                .story-publish-btn.is-publishing .story-publish-spinner {
                    animation: none;
                    transition: none;
                }
            }

            .story-modal-publish-form .story-status {
                margin: 0;
            }

            .store-share-story-btn {
                display: inline-flex;
                min-height: 44px;
                align-items: center;
                justify-content: center;
                gap: 9px;
                margin: 16px 0 20px;
                padding: 0 20px;
                border: 0;
                border-radius: 999px;
                background: linear-gradient(100deg, #ef5578, #9148c7 52%, #367ed2);
                color: #fff;
                font-weight: 700;
                cursor: pointer;
                box-shadow: 0 7px 18px rgba(145, 72, 199, .22);
                transition: transform .18s ease, box-shadow .18s ease;
            }

            .store-story-actions {
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
                margin: 16px 0 20px;
            }

            .store-story-actions .store-share-story-btn {
                margin: 0;
            }

            .store-view-stories-btn {
                background: var(--brand-dark);
            }

            .store-share-story-btn:hover {
                transform: translateY(-2px);
                box-shadow: 0 10px 24px rgba(145, 72, 199, .3);
            }

            .story-modal-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 12px;
            }

            .story-modal-header h2 {
                margin: 0;
                color: #fff;
                font-size: 1.05rem;
                letter-spacing: .01em;
            }

            .story-modal-header .close-modal {
                color: #fff;
            }

            .story-progress-track {
                display: flex;
                gap: 4px;
                min-height: 3px;
            }

            .story-progress-segment {
                height: 3px;
                flex: 1;
                overflow: hidden;
                border-radius: 99px;
                background: rgba(255, 255, 255, .28);
            }

            .story-progress-segment.is-seen {
                background: #fff;
            }

            .story-viewer {
                position: relative;
                isolation: isolate;
                display: flex;
                width: 100%;
                min-height: min(62vh, 560px);
                aspect-ratio: 9 / 14;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                overflow: hidden;
                padding: clamp(24px, 7vw, 48px);
                border: 1px solid rgba(255, 255, 255, .14);
                border-radius: 18px;
                color: #fff;
                text-align: center;
                box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 14px 36px rgba(0, 0, 0, .22);
                transition: background .35s ease, transform .3s ease;
            }

            .story-viewer[data-theme="sunset"] {
                background: linear-gradient(145deg, #ff7b54 0%, #ef3e70 48%, #7629a8 100%);
            }

            .story-viewer[data-theme="ocean"] {
                background: linear-gradient(145deg, #35d4c7 0%, #1686d9 48%, #3845a8 100%);
            }

            .story-viewer[data-theme="berry"] {
                background: linear-gradient(145deg, #ff5378 0%, #bb3db8 52%, #633bd5 100%);
            }

            .story-viewer[data-theme="forest"] {
                background: linear-gradient(145deg, #9bdc66 0%, #20a879 48%, #12616c 100%);
            }

            .story-viewer[data-theme="midnight"] {
                background: linear-gradient(145deg, #5065b8 0%, #342c75 52%, #171a36 100%);
            }

            .story-viewer[data-theme="rose"] {
                background: linear-gradient(145deg, #ffc5d4 0%, #f47eaa 50%, #b84d88 100%);
            }

            .story-viewer[data-has-image="true"] {
                background-color: #171923;
                background-image: none;
            }

            .story-viewer-shade {
                position: absolute;
                z-index: 1;
                inset: 35% 0 0;
                background: linear-gradient(transparent, rgba(0, 0, 0, .58));
                opacity: 0;
                transition: opacity .25s ease;
                pointer-events: none;
            }

            .story-viewer[data-has-image="true"] .story-viewer-shade {
                opacity: 1;
            }

            .story-viewer img {
                position: absolute;
                z-index: 0;
                inset: 0;
                display: block;
                width: 100%;
                height: 100%;
                border-radius: inherit;
                object-fit: cover;
            }

            .story-viewer img[hidden] {
                display: none;
            }

            .story-viewer-text {
                position: relative;
                z-index: 2;
                margin: 0;
                max-width: 100%;
                overflow-wrap: anywhere;
                white-space: pre-wrap;
                font-size: clamp(1.25rem, 5vw, 2rem);
                font-weight: 750;
                line-height: 1.35;
                text-shadow: 0 2px 15px rgba(0, 0, 0, .18);
                animation: story-text-enter .42s cubic-bezier(.2, .8, .2, 1) both;
            }

            .story-viewer[data-has-image="true"] .story-viewer-text {
                position: absolute;
                right: 14px;
                bottom: 42px;
                left: 14px;
                max-height: 34%;
                overflow-y: auto;
                padding: 9px 12px;
                border: 1px solid rgba(255, 255, 255, .18);
                border-radius: 12px;
                background: rgba(0, 0, 0, .48);
                font-size: clamp(.82rem, 3.6vw, 1rem);
                font-weight: 600;
                line-height: 1.35;
                text-align: left;
                text-shadow: 0 1px 5px rgba(0, 0, 0, .45);
                backdrop-filter: blur(6px);
            }

            .story-viewer-position {
                position: absolute;
                right: 16px;
                bottom: 14px;
                z-index: 2;
                color: rgba(255, 255, 255, .82);
                font-size: .76rem;
                font-weight: 600;
                text-shadow: 0 1px 5px rgba(0, 0, 0, .4);
            }

            .story-viewer-time {
                position: absolute;
                top: 14px;
                left: 14px;
                z-index: 2;
                max-width: calc(100% - 28px);
                padding: 6px 9px;
                border: 1px solid rgba(255, 255, 255, .2);
                border-radius: 999px;
                background: rgba(0, 0, 0, .32);
                color: rgba(255, 255, 255, .96);
                font-size: .72rem;
                font-weight: 600;
                line-height: 1.3;
                text-align: left;
                text-shadow: 0 1px 5px rgba(0, 0, 0, .4);
            }

            .story-viewer.is-changing {
                animation: story-card-enter .34s cubic-bezier(.2, .8, .2, 1) both;
            }

            .story-composer-layout {
                display: grid;
                grid-template-columns: minmax(0, 1fr) 210px;
                align-items: start;
                gap: 20px;
            }

            .story-composer-fields {
                display: grid;
                gap: 10px;
                min-width: 0;
            }

            .story-composer-preview-wrap {
                position: sticky;
                top: 12px;
                display: grid;
                justify-items: center;
                gap: 8px;
            }

            .story-preview-label {
                color: var(--muted);
                font-size: .78rem;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: .08em;
            }

            .story-composer-preview {
                min-height: 290px;
                width: min(100%, 190px);
                aspect-ratio: 9 / 14;
                padding: 20px;
                border-radius: 15px;
            }

            .story-composer-preview .story-viewer-text {
                font-size: 1rem;
            }

            .story-theme-picker {
                min-width: 0;
                margin: 0;
                padding: 0;
                border: 0;
            }

            .story-theme-picker legend {
                margin-bottom: 8px;
                font-size: .85rem;
                font-weight: 700;
            }

            .story-theme-options {
                display: flex;
                flex-wrap: wrap;
                gap: 9px;
            }

            .story-theme-swatch {
                width: 34px;
                height: 34px;
                padding: 0;
                border: 2px solid rgba(100, 100, 100, .18);
                border-radius: 50%;
                cursor: pointer;
                transition: transform .18s ease, box-shadow .18s ease;
            }

            .story-theme-swatch:hover {
                transform: translateY(-2px) scale(1.08);
            }

            .story-theme-swatch.is-selected {
                outline: 2px solid var(--brand);
                outline-offset: 3px;
                box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 16%, transparent);
            }

            .story-theme-swatch[data-story-theme="sunset"] {
                background: linear-gradient(135deg, #ff7b54, #ef3e70, #7629a8);
            }

            .story-theme-swatch[data-story-theme="ocean"] {
                background: linear-gradient(135deg, #35d4c7, #1686d9, #3845a8);
            }

            .story-theme-swatch[data-story-theme="berry"] {
                background: linear-gradient(135deg, #ff5378, #bb3db8, #633bd5);
            }

            .story-theme-swatch[data-story-theme="forest"] {
                background: linear-gradient(135deg, #9bdc66, #20a879, #12616c);
            }

            .story-theme-swatch[data-story-theme="midnight"] {
                background: linear-gradient(135deg, #5065b8, #342c75, #171a36);
            }

            .story-theme-swatch[data-story-theme="rose"] {
                background: linear-gradient(135deg, #ffc5d4, #f47eaa, #b84d88);
            }

            .story-composer-preview-wrap .story-viewer[data-has-image="true"] {
                background-image: none;
            }

            .story-nav {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 12px;
                margin-top: 12px;
            }

            .story-nav button,
            .story-publish-btn {
                min-height: 42px;
                padding: 9px 14px;
                border: 0;
                border-radius: 999px;
                background: linear-gradient(100deg, #ef5578, #9148c7);
                color: #fff;
                font-weight: 600;
                cursor: pointer;
                transition: transform .18s ease, opacity .18s ease;
            }

            .story-nav button:hover:not(:disabled) {
                transform: translateY(-1px);
            }

            .story-nav button:disabled,
            .story-publish-btn:disabled {
                cursor: not-allowed;
                opacity: .5;
            }

            .story-status {
                min-height: 1.4em;
                margin: 10px 0 0;
                color: var(--muted);
                font-size: .9rem;
            }

            .story-status.is-error {
                color: #b42318;
            }

            .story-publish-form {
                display: grid;
                gap: 10px;
                margin-top: 18px;
                padding-top: 16px;
                border-top: 1px solid var(--border);
            }

            .story-publish-form[hidden] {
                display: none;
            }

            .story-publish-form textarea {
                width: 100%;
                min-height: 80px;
                padding: 10px;
                border: 1px solid var(--border);
                border-radius: 8px;
                resize: vertical;
            }

            @keyframes story-modal-enter {
                from {
                    opacity: 0;
                    transform: translateY(14px) scale(.97);
                }

                to {
                    opacity: 1;
                    transform: translateY(0) scale(1);
                }
            }

            @keyframes story-card-enter {
                from {
                    opacity: .35;
                    transform: translateX(10px) scale(.985);
                }

                to {
                    opacity: 1;
                    transform: translateX(0) scale(1);
                }
            }

            @keyframes story-text-enter {
                from {
                    opacity: 0;
                    transform: translateY(9px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            @media (max-width: 480px) {
                .shop-search-bar[data-ui="shop-search-bar"] {
                    flex-wrap: wrap;
                }

                .shop-search-bar[data-ui="shop-search-bar"] .shop-search-input {
                    flex: 1 1 100% !important;
                }

                .shop-stories-open-btn,
                .shop-search-bar[data-ui="shop-search-bar"] [data-ui="shop-buz-info-btn"] {
                    flex: 1;
                }

                .story-modal {
                    padding: 8px;
                }

                .story-modal .modal-content {
                    padding: 12px;
                }

                .story-viewer {
                    min-height: min(65vh, 520px);
                    padding: 24px;
                }

                .story-composer-layout {
                    grid-template-columns: 1fr;
                }

                .story-composer-preview-wrap {
                    position: static;
                    justify-self: center;
                }

                .story-composer-preview {
                    min-height: 260px;
                }

            }

            @media (prefers-reduced-motion: reduce) {

                .story-modal-content,
                .story-viewer,
                .story-viewer-text,
                .store-share-story-btn {
                    animation-duration: .01ms !important;
                    transition-duration: .01ms !important;
                }
            }
