.home-stories{padding:20px 0 14px;background:var(--theme-home-row-background,#fff)}
.home-stories__heading{margin-bottom:18px}.home-stories__heading span{display:block;margin-bottom:4px;color:var(--color-primary);font-size:14px;font-weight:600}.home-stories__heading h2{margin:0;font-size:28px}
.home-stories__rail-wrap{position:relative}.home-stories__rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 162px)/10);gap:18px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;cursor:grab;touch-action:pan-x;padding:3px 1px}.home-stories__rail::-webkit-scrollbar{display:none}.home-stories__rail.is-dragging{cursor:grabbing;scroll-behavior:auto;user-select:none}
.home-story{display:flex;min-width:0;flex-direction:column;align-items:center;gap:9px;padding:0;border:0;background:transparent;color:inherit;scroll-snap-align:start;cursor:pointer}.home-story__ring{display:block;width:100%;aspect-ratio:1;border-radius:50%;padding:4px;background:linear-gradient(135deg,#ef0195 0%,#ff7a00 48%,#225cff 100%);transition:transform .2s ease}.home-story:hover .home-story__ring,.home-story:focus-visible .home-story__ring{transform:scale(1.035)}.home-story__ring>span{display:block;width:100%;height:100%;padding:3px;border-radius:50%;background:#fff}.home-story__ring img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}.home-story__name{width:100%;overflow:hidden;color:var(--color-heading,#111);font-size:14px;font-weight:600;line-height:1.3;text-align:center;text-overflow:ellipsis;white-space:nowrap}
.home-stories__rail-arrow{position:absolute;z-index:3;top:calc(50% - 18px);display:none;width:38px;height:38px;align-items:center;justify-content:center;border:1px solid #d9dee8;border-radius:50%;background:#fff;color:var(--color-primary);box-shadow:0 5px 18px rgba(20,28,45,.14);transform:translateY(-50%);cursor:pointer}.home-stories.has-overflow .home-stories__rail-arrow{display:flex}.home-stories__rail-arrow.is-prev{left:-19px}.home-stories__rail-arrow.is-next{right:-19px}.home-stories__rail-arrow:disabled{opacity:.35;cursor:not-allowed}
.home-story-viewer[hidden]{display:none!important}.home-story-viewer{position:fixed;z-index:100000;inset:0;display:flex;align-items:center;justify-content:center}.home-story-viewer__backdrop{position:absolute;inset:0;background:rgba(9,9,12,.96);backdrop-filter:blur(5px)}.home-story-viewer__stage{position:relative;z-index:1;display:flex;align-items:center;gap:20px;max-width:calc(100vw - 30px);height:min(88vh,860px)}.home-story-viewer__card{position:relative;display:flex;height:100%;aspect-ratio:9/16;max-width:min(430px,calc(100vw - 150px));overflow:hidden;flex-direction:column;border-radius:18px;background:#090909;box-shadow:0 25px 70px rgba(0,0,0,.55)}.home-story-viewer__image{width:100%;height:100%;min-height:0;object-fit:cover}.home-story-viewer__top{position:absolute;z-index:3;top:26px;right:12px;left:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff;text-shadow:0 1px 4px #000}.home-story-viewer__top strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.home-story-viewer__top button{display:grid;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.38);color:#fff;font-size:26px;line-height:1;place-items:center;cursor:pointer}.home-story-viewer__progress{position:absolute;z-index:4;top:10px;right:12px;left:12px;display:flex;gap:4px}.home-story-viewer__progress span{height:3px;overflow:hidden;flex:1;border-radius:4px;background:rgba(255,255,255,.38)}.home-story-viewer__progress i{display:block;width:0;height:100%;background:#fff}.home-story-viewer__nav{display:grid;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:#fff;color:#111;font-size:22px;box-shadow:0 8px 24px rgba(0,0,0,.28);place-items:center;cursor:pointer}.home-story-viewer__link{position:absolute;z-index:3;right:18px;bottom:18px;left:18px;padding:13px 20px;border-radius:28px;background:#fff;color:#111!important;font-size:14px;font-weight:700;text-align:center;text-decoration:none}.home-story-viewer__link[hidden]{display:none}.home-stories-viewer-open{overflow:hidden!important}
@media(max-width:991px){.home-stories__rail{grid-auto-columns:calc((100% - 64px)/5);gap:16px}.home-stories__rail-arrow.is-prev{left:-8px}.home-stories__rail-arrow.is-next{right:-8px}}
@media(max-width:767px){.home-stories__rail{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;touch-action:pan-x;-webkit-overflow-scrolling:touch}.home-stories__rail::-webkit-scrollbar{display:none;width:0;height:0}.home-stories__rail-arrow{display:none!important}}
@media(max-width:575px){.home-stories{padding:12px 0 8px}.home-stories__heading h2{font-size:22px}.home-stories__rail{grid-auto-columns:calc((100% - 40px)/5);gap:10px}.home-story__ring{padding:3px}.home-story__ring>span{padding:2px}.home-story__name{font-size:11px}.home-story-viewer__stage{width:100%;height:100%;max-width:none;gap:0}.home-story-viewer__card{width:100%;height:100%;max-width:none;aspect-ratio:auto;border-radius:0}.home-story-viewer__top button{width:46px;height:46px;background:rgba(0,0,0,.62);font-size:32px;font-weight:500}.home-story-viewer__nav{position:absolute;z-index:5;top:50%;width:42px;height:42px;background:rgba(0,0,0,.56);color:#fff;transform:translateY(-50%)}.home-story-viewer__nav.is-prev{left:12px}.home-story-viewer__nav.is-next{right:12px}.home-story-viewer__image{object-fit:contain}.home-story-viewer__link{bottom:14px}}
@media(prefers-reduced-motion:reduce){.home-stories__rail{scroll-behavior:auto}.home-story__ring{transition:none}}
.home-stories .home-stories__rail-arrow{padding:0!important;border:1px solid #d9dee8!important;outline:0!important;background:#fff!important;color:var(--color-primary,#225cff)!important;box-shadow:0 5px 18px rgba(20,28,45,.14)!important}
.home-story-viewer .home-story-viewer__nav{appearance:none!important;width:52px;height:52px;padding:0!important;border:1px solid rgba(15,23,42,.16)!important;outline:0!important;background:#fff!important;color:#111827!important;box-shadow:0 8px 24px rgba(0,0,0,.32)!important}
.home-story-arrow-icon{display:block;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.home-stories .home-stories__rail{padding:3px 7px!important;scroll-padding-inline:7px}
