.dg-homepage-builder-section--stories{max-width:1480px;padding:0 20px;margin:22px auto;width:100%;box-sizing:border-box}.dg-stories{--dgs-size:80px;--dgs-mobile-size:64px;--dgs-gap:16px;--dgs-ring:#533ae8;--dgs-title:#26213a;direction:rtl}.dg-stories__heading{font-size:20px;font-weight:700;color:var(--dgs-title);margin:0 0 18px}.dg-stories__rail{display:flex;gap:var(--dgs-gap);overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;padding:4px 0 9px}.dg-stories__rail::-webkit-scrollbar{display:none}.dg-stories__highlight{min-width:var(--dgs-size);width:var(--dgs-size);display:flex;align-items:center;flex-direction:column;gap:9px;background:transparent!important;border:0!important;cursor:pointer;color:var(--dgs-title)!important;padding:0!important;scroll-snap-align:start}.dg-stories__ring{width:var(--dgs-size);height:var(--dgs-size);border-radius:50%;display:flex;align-items:center;justify-content:center;border:3px solid var(--dgs-ring);padding:3px;box-sizing:border-box;position:relative}.dg-stories__highlight.is-seen .dg-stories__ring{border-color:var(--dgs-seen)}.dg-stories__ring img{position:relative;width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}.dg-stories__highlight:hover .dg-stories__ring,.dg-stories__highlight:focus-visible .dg-stories__ring{animation:dgs-rotate 1s ease-in-out}.dg-stories__label{font-size:12px;font-weight:600;text-align:center;max-width:100%;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.7}@keyframes dgs-rotate{50%{transform:rotate(160deg)}100%{transform:rotate(360deg)}}body.dg-stories-open{overflow:hidden!important}.dg-story-view{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;color:white;direction:rtl;font-family:inherit}.dg-story-view__backdrop{position:absolute;inset:0;background:rgba(0,0,0,var(--dgs-dim,.75));backdrop-filter:blur(var(--dgs-blur,8px));-webkit-backdrop-filter:blur(var(--dgs-blur,8px))}.dg-story-view__stage{position:relative;width:min(425px,calc(100vw - 30px),calc(92dvh * 9 / 16));aspect-ratio:9/16;max-height:92dvh;background:#101014;border-radius:18px;overflow:hidden;box-shadow:0 18px 65px #0009;isolation:isolate}.dg-story-view__media,.dg-story-view__media>img,.dg-story-view__media>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#09090c}.dg-story-view__progress{position:absolute;z-index:8;top:12px;left:12px;right:12px;display:flex;gap:4px;direction:rtl}.dg-story-view__segment{height:3px;border-radius:3px;background:#ffffff60;flex:1;overflow:hidden}.dg-story-view__segment>i{display:block;width:0;height:100%;background:white}.dg-story-view__header{position:absolute;top:24px;right:12px;left:12px;z-index:9;display:flex;align-items:center;gap:9px;pointer-events:auto}.dg-story-view__avatar{width:32px;height:32px;border-radius:50%;object-fit:cover}.dg-story-view__title{font-size:13px;font-weight:650;flex:1;text-shadow:0 1px 4px #0008}.dg-story-view button{color:white!important;background:#0004!important;border:0!important;border-radius:50%;width:34px;height:34px;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:7px!important}.dg-story-view button svg{display:block;width:20px;height:20px}.dg-story-view button:hover,.dg-story-view button:focus-visible{background:#533ae8!important;outline:2px solid #baaaff!important}.dg-story-view__touch{position:absolute;z-index:4;top:85px;bottom:108px;width:32%;touch-action:pan-y;cursor:pointer}.dg-story-view__touch--next{left:0}.dg-story-view__touch--prev{right:0}.dg-story-view__arrow{position:absolute;z-index:8;top:48%}.dg-story-view__arrow--next{left:10px}.dg-story-view__arrow--previous{right:10px}.dg-story-view__footer{position:absolute;z-index:9;bottom:0;left:0;right:0;padding:35px 14px 15px;background:linear-gradient(transparent,#000b);pointer-events:none}.dg-story-view__caption{font-size:14px;font-weight:600;line-height:1.8;min-height:10px}.dg-story-view__actions{display:flex;gap:9px;align-items:center;pointer-events:auto}.dg-story-view__like{width:auto!important;min-width:50px;border-radius:10px!important;gap:5px}.dg-story-view__like.is-liked{color:#a794ff!important}.dg-story-view__likes{font-size:12px}.dg-story-view__link{border:1px solid #ffffff90;border-radius:10px;color:white!important;font-size:12px;padding:9px 15px;text-decoration:none;margin-right:auto;background:#533ae8}.dg-story-view__link[hidden],.dg-story-view button[hidden]{display:none!important}.dg-story-view__toast{opacity:0;position:absolute;z-index:20;bottom:90px;left:50%;transform:translateX(-50%);background:#171522e8;padding:10px 18px;border-radius:10px;white-space:nowrap;pointer-events:none;transition:opacity .2s}.dg-story-view__toast.is-visible{opacity:1}@media(max-width:767px){.dg-homepage-builder-section--stories{padding:0 12px}.dg-stories__highlight{width:var(--dgs-mobile-size);min-width:var(--dgs-mobile-size)}.dg-stories__ring{width:var(--dgs-mobile-size);height:var(--dgs-mobile-size)}.dg-story-view__stage{width:min(100vw,425px);height:100dvh;max-height:100dvh;aspect-ratio:auto;border-radius:0}.dg-story-view__arrow{display:none!important}.dg-stories__heading{font-size:17px}}@media(prefers-reduced-motion:reduce){.dg-stories__ring{animation:none!important}.dg-stories,.dg-stories *,.dg-story-view,.dg-story-view *{scroll-behavior:auto}}.dg-stories__highlight.is-opening .dg-stories__ring{animation:dgs-rotate .24s linear!important;border-color:var(--dgs-ring)}@keyframes dgStoryFromLeft{from{opacity:.55;transform:translateX(-20px)}to{opacity:1;transform:translateX(0)}}@keyframes dgStoryFromRight{from{opacity:.55;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}.dg-story-view__media--next{animation:dgStoryFromLeft .28s ease both}.dg-story-view__media--previous{animation:dgStoryFromRight .28s ease both}@media(prefers-reduced-motion:reduce){.dg-story-view__media--next,.dg-story-view__media--previous{animation:none!important}}
/* Rotate only the gradient ring; keep the highlight cover stationary. */.dg-stories__ring{border:0;padding:6px}.dg-stories__ring::before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(var(--dgs-ring),#b7a5ff,#e8dfff,var(--dgs-ring));-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3px));mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3px));pointer-events:none}.dg-stories__highlight.is-seen .dg-stories__ring::before{background:var(--dgs-seen)}.dg-stories__highlight.is-opening .dg-stories__ring,.dg-stories__highlight:hover .dg-stories__ring,.dg-stories__highlight:focus-visible .dg-stories__ring{animation:none!important}.dg-stories__highlight.is-opening .dg-stories__ring::before{animation:dgs-rotate .24s linear both}@media(prefers-reduced-motion:reduce){.dg-stories__highlight.is-opening .dg-stories__ring::before{animation:none}}.dg-story-view__stage{background:var(--dgs-modal-bg,#101014)}.dg-story-view button{color:var(--dgs-action,#fff)!important}.dg-story-view__segment>i{background:var(--dgs-progress,#fff)}.dg-story-view__link{background:var(--dgs-link-bg,#533ae8)}
/* v1.80.54 additional frontend presentation controls */.dg-homepage-builder-section--stories{padding-left:var(--dgs-edge,20px);padding-right:var(--dgs-edge,20px)}.dg-stories__label{font-size:var(--dgs-title-size,12px)}@media(max-width:767px){.dg-homepage-builder-section--stories{padding-left:var(--dgs-mobile-edge,12px);padding-right:var(--dgs-mobile-edge,12px)}.dg-stories__label{font-size:var(--dgs-mobile-title-size,11px)}}.dg-story-view__likes[hidden]{display:none!important}

/* Consistent horizontal inset and per-device visible-highlight count. */.dg-homepage-builder-section--stories{padding-left:0!important;padding-right:0!important}.dg-stories{padding-inline:var(--dgs-edge,20px);box-sizing:border-box}.dg-stories__rail .dg-stories__highlight{flex:0 0 max(var(--dgs-size),calc((100% + var(--dgs-gap)) / var(--dgs-visible,8.5) - var(--dgs-gap)));min-width:0;width:auto}.dg-stories__ring{flex:none}@media(max-width:767px){.dg-stories{padding-inline:var(--dgs-mobile-edge,12px)}.dg-stories__rail .dg-stories__highlight{flex-basis:max(var(--dgs-mobile-size),calc((100% + var(--dgs-gap)) / var(--dgs-mobile-visible,4.5) - var(--dgs-gap)))}}.dg-stories__empty-cover{width:100%;height:100%;border-radius:50%;display:block;background:linear-gradient(135deg,#eeeaf8,#d5ccef)}

/* v1.80.63: Like state is confirmed by the server. */.dg-story-view__like:disabled{opacity:.7;cursor:wait}.dg-story-view__like.is-liked svg{fill:currentColor;stroke:currentColor}

/* v1.80.64: clean circular focus without inherited black rectangular WP focus ring. */.dg-stories__highlight,.dg-stories__highlight:hover,.dg-stories__highlight:focus,.dg-stories__highlight:focus-visible,.dg-stories__highlight:active{outline:0!important;box-shadow:none!important;-webkit-box-shadow:none!important;background:transparent!important;border:0!important;border-radius:0!important;transform:none!important}.dg-stories__highlight:focus-visible .dg-stories__ring::after{content:"";position:absolute;inset:-3px;border-radius:50%;border:2px solid var(--dgs-ring);pointer-events:none}
/* The image center and sides can be tapped to pause/resume. Swipes still navigate. */.dg-story-view__touch--center{left:32%;width:36%}.dg-story-view__touch{touch-action:pan-y;user-select:none;-webkit-user-select:none}
/* All action surfaces are user-configurable; SVG itself is geometrically centered. */.dg-story-view button.dg-story-view__like,.dg-story-view button.dg-story-view__share,.dg-story-view button.dg-story-view__sound,.dg-story-view button.dg-story-view__close,.dg-story-view button.dg-story-view__arrow{background:var(--dgs-button-bg,#000000)!important;color:var(--dgs-action,#fff)!important;box-shadow:none!important;outline:none!important;line-height:1!important}.dg-story-view button.dg-story-view__like:hover,.dg-story-view button.dg-story-view__share:hover,.dg-story-view button.dg-story-view__sound:hover,.dg-story-view button.dg-story-view__close:hover,.dg-story-view button.dg-story-view__arrow:hover,.dg-story-view button.dg-story-view__like:focus-visible,.dg-story-view button.dg-story-view__share:focus-visible,.dg-story-view button.dg-story-view__sound:focus-visible,.dg-story-view button.dg-story-view__close:focus-visible,.dg-story-view button.dg-story-view__arrow:focus-visible{background:var(--dgs-button-hover-bg,#533AE8)!important;outline:2px solid var(--dgs-button-hover-bg,#533AE8)!important;outline-offset:2px!important}.dg-story-view button.dg-story-view__like.is-liked,.dg-story-view button.dg-story-view__share:active,.dg-story-view button.dg-story-view__sound:active,.dg-story-view button.dg-story-view__close:active,.dg-story-view button.dg-story-view__arrow:active{background:var(--dgs-button-active-bg,#533AE8)!important;color:var(--dgs-button-active-color,#fff)!important}.dg-story-view__actions>button.dg-story-view__share{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 36px}.dg-story-view__actions>button.dg-story-view__share svg{display:block!important;width:19px!important;height:19px!important;margin:0!important;flex:none;transform:none!important;position:static!important}

/* v1.80.65: Mobile story is a centered portrait card, not a fullscreen black screen. */@media (max-width:767px){.dg-story-view{padding:12px 14px;box-sizing:border-box;align-items:center;justify-content:center}.dg-story-view__stage{flex:none;width:min(400px,calc(100vw - 28px),calc(82dvh * 9 / 16))!important;height:auto!important;aspect-ratio:9 / 16!important;max-width:calc(100vw - 28px)!important;max-height:82dvh!important;min-height:0!important;border-radius:18px!important;overflow:hidden;box-shadow:0 14px 45px rgba(0,0,0,.48)}.dg-story-view__media>video,.dg-story-view__media>img{object-fit:contain!important;object-position:center!important}.dg-story-view__backdrop{background:rgba(0,0,0,var(--dgs-dim,.75))}.dg-story-view__header{top:23px;right:12px;left:12px;gap:8px}.dg-story-view__progress{top:10px}.dg-story-view button.dg-story-view__close{flex:0 0 42px!important;width:42px!important;height:42px!important;padding:0!important;border:2px solid rgba(255,255,255,.95)!important;border-radius:50%!important;background:var(--dgs-button-active-bg,#533AE8)!important;color:var(--dgs-button-active-color,#fff)!important;box-shadow:0 2px 14px rgba(0,0,0,.65)!important;z-index:12}.dg-story-view button.dg-story-view__close svg{width:23px!important;height:23px!important;stroke-width:2.5}.dg-story-view button.dg-story-view__close:hover,.dg-story-view button.dg-story-view__close:focus-visible{background:var(--dgs-button-hover-bg,#533AE8)!important;outline:2px solid #fff!important;outline-offset:2px!important}}
/* Short landscape mobile screens: keep controls and complete story in view. */@media(max-width:767px) and (orientation:landscape){.dg-story-view__stage{width:min(300px,calc(76dvh * 9 / 16),calc(100vw - 28px))!important;max-height:76dvh!important}}

/* v1.80.67: strictly two administrator-selected colors, no implicit third stops. */.dg-stories__ring::before{background:conic-gradient(from 0deg,var(--dgs-ring,#533AE8) 0%,var(--dgs-ring-second,#B7A5FF) 50%,var(--dgs-ring,#533AE8) 100%)!important}.dg-stories__highlight.is-seen:not(.is-opening) .dg-stories__ring::before{background:var(--dgs-seen,#b9b5c6)!important}
/* The ring moves, never the cover. No spin on hover or focus. */.dg-stories__highlight.is-opening .dg-stories__ring::before{background:conic-gradient(from 0deg,var(--dgs-ring,#533AE8) 0%,var(--dgs-ring-second,#B7A5FF) 50%,var(--dgs-ring,#533AE8) 100%)!important;animation:dg-story-ring-entry .72s cubic-bezier(.25,.12,.22,1) both!important;will-change:transform}@keyframes dg-story-ring-entry{0%{transform:rotate(0deg)}40%{transform:rotate(155deg)}75%{transform:rotate(300deg)}100%{transform:rotate(540deg)}}@media(prefers-reduced-motion:reduce){.dg-stories__highlight.is-opening .dg-stories__ring::before{animation:none!important}}
/* Make preview use exactly the same two-color ring. */.dg-story-settings__preview-ring{border:0!important;position:relative;isolation:isolate;padding:6px!important;box-sizing:border-box}.dg-story-settings__preview-ring::before{content:'';position:absolute;inset:0;pointer-events:none;border-radius:50%;background:conic-gradient(var(--dgs-ring,#533AE8),var(--dgs-ring-second,#B7A5FF),var(--dgs-ring,#533AE8));-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4px),black calc(100% - 3px));mask:radial-gradient(farthest-side,transparent calc(100% - 4px),black calc(100% - 3px))}

/* v1.80.68: lightweight 3D cube between highlights; only two existing thumbnail covers. */.dg-story-view__cube{position:absolute;inset:0;z-index:12;pointer-events:none;transform-style:preserve-3d;perspective:1000px;animation:dg-story-cube-turn .52s cubic-bezier(.24,.7,.25,1) both;background:var(--dgs-modal-bg,#101014);overflow:hidden;border-radius:inherit}.dg-story-view__cube-face{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:var(--dgs-modal-bg,#101014);backface-visibility:hidden;transform-origin:center center;overflow:hidden}.dg-story-view__cube-face img{width:100%;height:100%;object-fit:contain;display:block}.dg-story-view__cube-face--old{animation:dg-story-cube-out .52s cubic-bezier(.24,.7,.25,1) both}.dg-story-view__cube-face--new{animation:dg-story-cube-in .52s cubic-bezier(.24,.7,.25,1) both}@keyframes dg-story-cube-out{0%{transform:perspective(900px) rotateY(0);opacity:1}100%{transform:perspective(900px) rotateY(90deg);opacity:.25}}@keyframes dg-story-cube-in{0%{transform:perspective(900px) rotateY(-90deg);opacity:.25}100%{transform:perspective(900px) rotateY(0);opacity:1}}@keyframes dg-story-cube-turn{from{filter:brightness(1)}50%{filter:brightness(.87)}to{filter:brightness(1)}}@media(prefers-reduced-motion:reduce){.dg-story-view__cube,.dg-story-view__cube-face{animation:none!important}}

/* v1.80.72: centered, responsive two-line captions on every screen width. */.dg-stories__rail .dg-stories__highlight{align-items:center!important;text-align:center!important;min-width:0!important}.dg-stories__highlight .dg-stories__label{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;white-space:normal!important;text-overflow:clip!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 auto!important;padding:0 2px!important;box-sizing:border-box!important;text-align:center!important;direction:rtl!important;unicode-bidi:plaintext;line-height:1.65!important;overflow-wrap:break-word;word-break:normal;align-self:center!important;flex:none!important;}
/* Arrows point outwards: previous at right points right, next at left points left. */.dg-story-view__arrow--previous svg,.dg-story-view__arrow--next svg{transform:none!important}

/* v1.81.03: Keep all story circles on the same top baseline, regardless of
   whether their caption occupies one or two lines. */.dg-stories .dg-stories__rail{align-items:flex-start!important;}.dg-stories .dg-stories__rail .dg-stories__highlight{align-self:flex-start!important;justify-content:flex-start!important;height:auto!important;min-height:0!important;}.dg-stories .dg-stories__rail .dg-stories__highlight .dg-stories__ring{flex:0 0 var(--dgs-size);width:var(--dgs-size);height:var(--dgs-size);margin:0 auto;}.dg-stories .dg-stories__rail .dg-stories__highlight .dg-stories__label{min-height:calc(2 * 1.65em)!important;}@media(max-width:767px){.dg-stories .dg-stories__rail .dg-stories__highlight .dg-stories__ring{flex-basis:var(--dgs-mobile-size);width:var(--dgs-mobile-size);height:var(--dgs-mobile-size);}}

/* 1.82.39 — Story-rail arrows, scoped to the homepage stories section. */.dg-homepage-builder-section--stories .dg-stories__rail-wrap{position:relative;width:100%;min-width:0;box-sizing:border-box}.dg-homepage-builder-section--stories .dg-stories__rail-wrap>.dg-stories__rail{width:100%;box-sizing:border-box;padding-inline:44px;scroll-behavior:smooth}.dg-homepage-builder-section--stories .dg-stories__nav{position:absolute;top:50%;z-index:3;transform:translateY(-50%);width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:0!important;margin:0!important;min-width:32px;border:1px solid #e4ddf5!important;border-radius:10px!important;background:#fff!important;color:#533ae8!important;box-shadow:none!important;line-height:1!important;cursor:pointer;transition:background .2s,border-color .2s,color .2s;}.dg-homepage-builder-section--stories .dg-stories__nav--previous{right:0;left:auto}.dg-homepage-builder-section--stories .dg-stories__nav--next{left:0;right:auto}.dg-homepage-builder-section--stories .dg-stories__nav svg{display:block;width:17px;height:17px;flex:none}.dg-homepage-builder-section--stories .dg-stories__nav:hover,
.dg-homepage-builder-section--stories .dg-stories__nav:focus-visible,
.dg-homepage-builder-section--stories .dg-stories__nav:active{background:#f1edff!important;border-color:#533ae8!important;color:#533ae8!important;}.dg-homepage-builder-section--stories .dg-stories__nav:focus-visible{outline:2px solid #533ae8!important;outline-offset:2px}.dg-homepage-builder-section--stories .dg-stories__nav:disabled{opacity:.38;cursor:default;pointer-events:none}@media(max-width:767px){.dg-homepage-builder-section--stories .dg-stories__nav{display:none!important}.dg-homepage-builder-section--stories .dg-stories__rail-wrap>.dg-stories__rail{padding-inline:0}}@media(prefers-reduced-motion:reduce){.dg-homepage-builder-section--stories .dg-stories__rail-wrap>.dg-stories__rail{scroll-behavior:auto}}

/* Mobile gesture surfaces belong exclusively to the story viewer. */@media(max-width:767px){.dg-story-view > .dg-story-view__stage > .dg-story-view__touch{touch-action:none;overscroll-behavior:contain}}

/* Mobile story gesture zones are invisible, including browser tap feedback. */@media (max-width:767px){.dg-story-view > .dg-story-view__stage > .dg-story-view__touch,
 .dg-story-view > .dg-story-view__stage > .dg-story-view__touch:hover,
 .dg-story-view > .dg-story-view__stage > .dg-story-view__touch:active,
 .dg-story-view > .dg-story-view__stage > .dg-story-view__touch:focus,
 .dg-story-view > .dg-story-view__stage > .dg-story-view__touch:focus-visible{-webkit-tap-highlight-color:transparent!important;background:transparent!important;box-shadow:none!important;outline:none!important;-webkit-user-select:none!important;user-select:none!important;}}

/* 1.85.36: neutral highlight tile feedback, scoped to story rail only. */.dg-stories .dg-stories__rail button.dg-stories__highlight,
.dg-stories .dg-stories__rail button.dg-stories__highlight:is(:hover,:active,:focus,:focus-visible){-webkit-tap-highlight-color:transparent!important;background:transparent!important;box-shadow:none!important;outline:none!important;border:0!important;filter:none!important;opacity:1!important;transform:none!important;color:var(--dgs-title)!important;text-decoration:none!important;-webkit-user-select:none;user-select:none;}.dg-stories .dg-stories__rail button.dg-stories__highlight *{-webkit-tap-highlight-color:transparent!important}
/* Keep keyboard accessibility, without touch or mouse focus feedback. */@media (hover:hover) and (pointer:fine){.dg-stories .dg-stories__rail button.dg-stories__highlight:focus-visible .dg-stories__ring::after{content:"";position:absolute;inset:-3px;border-radius:50%;border:2px solid var(--dgs-ring);pointer-events:none}}@media (hover:none), (pointer:coarse){.dg-stories .dg-stories__rail button.dg-stories__highlight:focus-visible .dg-stories__ring::after{content:none!important}}

/* Story cover skeleton: preserve actual circle, ring, label and rail dimensions. */.dg-stories .dg-story-cover-pending .dg-stories__ring{background:#e8e8ef!important}.dg-stories .dg-story-cover-pending .dg-stories__ring img{opacity:0!important}.dg-stories .dg-story-cover-pending .dg-stories__label{position:relative;color:transparent!important}.dg-stories .dg-story-cover-pending .dg-stories__label::after{content:"";position:absolute;top:.35em;left:10%;right:10%;height:.8em;border-radius:4px;background:#e8e8ef;pointer-events:none}
