/* NT Web Stories & Reels — story bubbles, cards, grid and the full-screen story player */

.ntsr-stories--circles .ntsr-scroll-btn { top: calc(var(--ntsr-bubble, 76px) / 2 + 8px); }

/* ───────── Badges (NEW / LIVE / BREAKING / EXCLUSIVE) ───────── */
.ntsr-badge {
    display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 6px;
    background: linear-gradient(135deg, var(--ntsr-a), var(--ntsr-b)); color: #fff;
    font-size: 9.5px; font-style: normal; font-weight: 800; letter-spacing: .07em; line-height: 1.25; text-transform: uppercase; white-space: nowrap;
    box-shadow: 0 4px 12px rgba(20, 16, 60, .22);
}
.ntsr-badge--live, .ntsr-badge--breaking { background: linear-gradient(135deg, #ff3b5c, #e11d48); }
.ntsr-badge--exclusive { background: linear-gradient(135deg, #1d1f33, #3a2f12); color: #ffd36b; }
.ntsr-badge__dot { position: relative; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.ntsr-badge__dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #fff; animation: ntsrDot 1.5s ease-out infinite; }
@keyframes ntsrDot { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.8); opacity: 0; } }

/* ───────── Story bubbles ───────── */
.ntsr-stories__track {
    display: flex; gap: 14px; margin: 0; padding: 6px 4px 12px; list-style: none;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-behavior: smooth;
    scrollbar-width: none; -ms-overflow-style: none;
}
.ntsr-stories__track::-webkit-scrollbar { display: none; }

.ntsr-stories .ntsr-bubble {
    flex: 0 0 auto; width: calc(var(--ntsr-bubble, 76px) + 14px);
    display: flex; flex-direction: column; align-items: center; gap: 9px;
    color: inherit; text-decoration: none; scroll-snap-align: start; -webkit-tap-highlight-color: transparent;
}
.ntsr-stories .ntsr-bubble:hover, .ntsr-stories .ntsr-bubble:focus { color: inherit; text-decoration: none; outline: none; }
.ntsr-bubble__ring {
    position: relative; isolation: isolate; display: block; width: var(--ntsr-bubble, 76px); height: var(--ntsr-bubble, 76px);
    padding: 3px; border-radius: 50%;
    transition: transform .45s var(--ntsr-spring);
}
/* The gradient ring lives on its own layer so it can rotate without turning the photo. */
.ntsr-bubble__ring::before {
    content: ''; position: absolute; z-index: -1; inset: 0; border-radius: 50%;
    background: var(--ntsr-ring); transition: inset .3s var(--ntsr-ease), background .3s;
}
.ntsr-bubble.has-badge--live .ntsr-bubble__ring::before,
.ntsr-bubble.has-badge--breaking .ntsr-bubble__ring::before { background: conic-gradient(from 210deg, #ff3b5c, #ff8a3d, #ff3b5c, #c2185b, #ff3b5c); }
.ntsr-bubble.is-new:not(.is-seen) .ntsr-bubble__ring::before { animation: ntsrRingSpin 5s linear infinite; }
.ntsr-bubble.is-new:not(.is-seen) .ntsr-bubble__ring::after {
    content: ''; position: absolute; z-index: -2; inset: 0; border-radius: 50%;
    background: var(--ntsr-a); opacity: 0; animation: ntsrRingPulse 2.6s var(--ntsr-ease) infinite;
}
@keyframes ntsrRingSpin { to { transform: rotate(360deg); } }
@keyframes ntsrRingPulse { 0% { transform: scale(.94); opacity: .35; } 70%, 100% { transform: scale(1.22); opacity: 0; } }

.ntsr-bubble__img { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; border: 3px solid var(--ntsr-ring-gap, #fff); background: #e9ebf2; }
.ntsr-stories .ntsr-bubble__img img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; border-radius: 0; transition: transform .6s var(--ntsr-ease), opacity .45s ease, filter .3s; }
.ntsr-bubble__ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--ntsr-a), var(--ntsr-b)); color: #fff; font-weight: 800; font-size: calc(var(--ntsr-bubble, 76px) * .36); }
.ntsr-bubble__ring .ntsr-badge { position: absolute; z-index: 2; left: 50%; bottom: -7px; transform: translateX(-50%); border: 2px solid var(--ntsr-ring-gap, #fff); padding: 2px 6px; font-size: 9px; }
.ntsr-bubble.has-badge .ntsr-bubble__label { margin-top: 3px; }

.ntsr-bubble:hover .ntsr-bubble__ring { transform: translateY(-2px) scale(1.05); }
.ntsr-bubble:hover .ntsr-bubble__img img { transform: scale(1.1); }
.ntsr-bubble:active .ntsr-bubble__ring { transform: scale(.93); transition-duration: .15s; }
.ntsr-bubble:focus-visible .ntsr-bubble__ring { outline: 3px solid var(--ntsr-a); outline-offset: 3px; }

/* Seen: a thin, quiet grey ring + softer label. */
.ntsr-bubble.is-seen .ntsr-bubble__ring::before { inset: 1px; background: #d3d6df; }
.ntsr-bubble.is-seen .ntsr-badge { filter: saturate(.6); }
.ntsr-bubble__label {
    max-width: 100%; font-size: 12.5px; font-weight: 600; line-height: 1.3; text-align: center;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word;
    transition: opacity .3s;
}
.ntsr-bubble.is-seen .ntsr-bubble__label { opacity: .55; }

/* Shimmer placeholders while covers load (images only hidden once JS is watching them). */
.ntsr-bubble__img.is-loading, .ntsr-scard__media.is-loading {
    background: linear-gradient(100deg, #e6e8f0 30%, #f5f6fa 50%, #e6e8f0 70%) 0 0 / 300% 100%;
    animation: ntsrShimmer 1.2s linear infinite;
}
.ntsr-scard__media.is-loading { background-image: linear-gradient(100deg, #2b2752 30%, #423b7c 50%, #2b2752 70%); }
.ntsr-stories.is-js .is-loading img { opacity: 0; }
@keyframes ntsrShimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }

/* ───────── Story cards / grid ───────── */
/* Extra padding so card shadows / hover lift aren't clipped by the scroller. */
.ntsr-stories--cards .ntsr-stories__track { gap: 14px; scroll-snap-type: x mandatory; padding: 10px 6px 30px; margin: -10px -6px -20px; scroll-padding: 0 6px; }
.ntsr-stories--cards .ntsr-scard { flex: 0 0 calc((100% - (var(--ntsr-cols, 4) - 1) * 14px) / var(--ntsr-cols, 4)); min-width: 148px; }
.ntsr-stories--grid .ntsr-stories__track { display: grid; grid-template-columns: repeat(var(--ntsr-cols, 4), minmax(0, 1fr)); gap: 16px; overflow: visible; padding: 0 0 4px; }

.ntsr-stories .ntsr-scard {
    position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; isolation: isolate;
    border-radius: var(--ntsr-card-r, 18px); background: linear-gradient(160deg, #3d2f9e, #171a36); color: #fff; text-decoration: none;
    scroll-snap-align: start; box-shadow: 0 10px 26px rgba(20, 16, 60, .14);
    transition: transform .45s var(--ntsr-spring), box-shadow .4s var(--ntsr-ease);
    -webkit-tap-highlight-color: transparent;
}
.ntsr-stories .ntsr-scard:hover, .ntsr-stories .ntsr-scard:focus { color: #fff; text-decoration: none; transform: translateY(-5px); box-shadow: 0 22px 44px rgba(20, 16, 60, .26); outline: none; }
.ntsr-stories .ntsr-scard:active { transform: scale(.97); transition-duration: .15s; }
.ntsr-stories .ntsr-scard:focus-visible { outline: 3px solid var(--ntsr-a); outline-offset: 3px; }
/* Unseen + new: a gradient outline that echoes the bubble ring. */
.ntsr-stories .ntsr-scard.is-new:not(.is-seen)::after {
    content: ''; position: absolute; z-index: 4; inset: 0; border-radius: inherit; padding: 2.5px; pointer-events: none;
    background: var(--ntsr-ring);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.ntsr-scard__media { position: absolute; inset: 0; display: block; }
.ntsr-stories .ntsr-scard__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; border-radius: 0; transition: transform 1.1s var(--ntsr-ease), opacity .5s ease, filter .3s; }
.ntsr-scard:hover .ntsr-scard__media img { transform: scale(1.08); }
.ntsr-scard.is-seen .ntsr-scard__media img { filter: saturate(.8) brightness(.92); }
.ntsr-scard__bars { position: absolute; z-index: 2; top: 10px; left: 10px; right: 10px; display: flex; gap: 3px; }
.ntsr-scard__bars i { flex: 1; height: 2.5px; border-radius: 3px; background: rgba(255, 255, 255, .42); }
.ntsr-scard__bars i:first-child { background: #fff; }
.ntsr-scard.is-seen .ntsr-scard__bars i { background: rgba(255, 255, 255, .85); }
.ntsr-scard__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(0, 0, 0, .38) 0%, transparent 24%, transparent 42%, rgba(0, 0, 0, .86) 100%); transition: opacity .4s; }
.ntsr-scard__top { position: absolute; z-index: 2; top: 21px; left: 10px; right: 10px; display: flex; align-items: center; gap: 6px; }
.ntsr-scard__top .ntsr-badge { box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
/* Slide count pill (top right) */
.ntsr-scard__count {
    margin-left: auto; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px 0 7px; border-radius: 20px; white-space: nowrap;
    background: rgba(10, 10, 20, .42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18);
    font-size: 11px; font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: none;
}
.ntsr-stories .ntsr-scard__count .ntsr-i { width: 12px; height: 12px; }
/* Play button in the middle, on hover / keyboard focus */
.ntsr-scard__play {
    position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
    background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1.5px solid rgba(255, 255, 255, .5);
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); opacity: 0; transform: scale(.7); transition: .35s var(--ntsr-spring);
}
.ntsr-stories .ntsr-scard__play .ntsr-i { width: 20px; height: 20px; margin-left: 3px; }
.ntsr-scard:hover .ntsr-scard__play, .ntsr-scard:focus-visible .ntsr-scard__play { opacity: 1; transform: none; background: linear-gradient(135deg, var(--ntsr-a), var(--ntsr-b)); border-color: transparent; }
@media (hover: none) { .ntsr-scard__play { display: none; } }
@container (max-width: 150px) { .ntsr-scard__count { padding: 0 7px 0 6px; } }
.ntsr-scard__body { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 6px; transition: transform .45s var(--ntsr-ease); }
.ntsr-scard:hover .ntsr-scard__body { transform: translateY(-2px); }
.ntsr-scard__cat { align-self: flex-start; padding: 4px 9px; border-radius: 20px; background: linear-gradient(135deg, var(--ntsr-a), var(--ntsr-b)); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; }
.ntsr-scard__title { font-size: 15px; font-weight: 800; line-height: 1.3; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ntsr-scard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 9px; font-size: 11.5px; line-height: 1.3; opacity: .85; }
.ntsr-scard__meta > span { display: inline-flex; align-items: center; gap: 4px; }
.ntsr-scard__meta .ntsr-i { width: 13px; height: 13px; opacity: .9; }
@media (max-width: 900px) {
    .ntsr-stories--grid .ntsr-stories__track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ntsr-stories--cards .ntsr-scard { flex-basis: calc((100% - 28px) / 3.2); }
}
@media (max-width: 600px) {
    .ntsr-stories--grid .ntsr-stories__track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ntsr-stories--cards .ntsr-scard { flex-basis: 44%; min-width: 0; }
    .ntsr-stories .ntsr-scard { border-radius: calc(var(--ntsr-card-r, 18px) * .8); }
    .ntsr-scard__title { font-size: 14px; }
    .ntsr-scard__views { display: none !important; }
}

/* ==========================================================================
   Story player
   ========================================================================== */
.ntsr-sp {
    position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; gap: 24px;
    background: #07070c; color: #fff; font-family: inherit; font-size: 15px; line-height: 1.5;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s;
    -webkit-font-smoothing: antialiased; overflow: hidden;
}
.ntsr-sp.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.ntsr-sp__bg { position: absolute; inset: -60px; background: center / cover no-repeat; filter: blur(50px) brightness(.4) saturate(1.4); transform: scale(1.1); transition: background-image .6s ease; pointer-events: none; }

.ntsr-sp__stage {
    position: relative; z-index: 1; flex: none; height: min(92vh, 900px); height: min(92dvh, 900px); aspect-ratio: 9 / 16; max-width: calc(100vw - 32px);
    overflow: hidden; border-radius: 20px; background: linear-gradient(160deg, #4b38d8, #14162e);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .55); isolation: isolate; touch-action: none; user-select: none; -webkit-user-select: none;
    transform: scale(.94); transition: transform .45s var(--ntsr-ease);
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.ntsr-sp.is-open .ntsr-sp__stage { transform: none; }

/* Outgoing story face during cube / slide / fade transitions (a frozen clone of the stage). */
.ntsr-sp .ntsr-sp__ghost { position: absolute; z-index: 2; margin: 0; max-width: none; pointer-events: none; transform: none; }
.ntsr-sp__ghost * { animation: none !important; transition: none !important; }
.ntsr-sp.is-swapping .ntsr-sp__nav, .ntsr-sp.is-swapping .ntsr-sp__peek { pointer-events: none; }
.ntsr-sp__dim { position: absolute; inset: 0; z-index: 30; background: #000; opacity: 0; pointer-events: none; }

/* Media + image motion (runs over the slide duration, pauses with the story) */
.ntsr-sp__mediabg { position: absolute; inset: -30px; background: center / cover no-repeat; filter: blur(28px) brightness(.6); opacity: 0; transition: opacity .3s; }
.ntsr-sp__mediabg.is-on { opacity: 1; }
.ntsr-sp__media { position: absolute; inset: 0; overflow: hidden; }
.ntsr-sp .ntsr-sp__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; opacity: 0; transition: opacity .35s ease; border-radius: 0; pointer-events: none; -webkit-user-drag: none; user-select: none; will-change: transform; }
.ntsr-sp .ntsr-sp__media img.is-fit { object-fit: contain; }
.ntsr-sp .ntsr-sp__media img.is-on { opacity: 1; animation: var(--ntsr-kb, none) var(--ntsr-dur, 5s) linear both; }
.ntsr-sp .ntsr-sp__media img.is-anim-zoom-out { --ntsr-kb: ntsrZoomOut; }
.ntsr-sp .ntsr-sp__media img.is-anim-zoom-in { --ntsr-kb: ntsrZoomIn; }
.ntsr-sp .ntsr-sp__media img.is-anim-pan-left { --ntsr-kb: ntsrPanLeft; }
.ntsr-sp .ntsr-sp__media img.is-anim-pan-right { --ntsr-kb: ntsrPanRight; }
.ntsr-sp .ntsr-sp__media img.is-fit.is-anim-zoom-out { --ntsr-kb: ntsrZoomOutSoft; }
.ntsr-sp .ntsr-sp__media img.is-fit.is-anim-zoom-in { --ntsr-kb: ntsrZoomInSoft; }
@keyframes ntsrZoomOut { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes ntsrZoomIn { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes ntsrPanLeft { from { transform: translateX(4%) scale(1.12); } to { transform: translateX(-4%) scale(1.12); } }
@keyframes ntsrPanRight { from { transform: translateX(-4%) scale(1.12); } to { transform: translateX(4%) scale(1.12); } }
@keyframes ntsrZoomOutSoft { from { transform: scale(1.05); } to { transform: scale(1); } }
@keyframes ntsrZoomInSoft { from { transform: scale(1); } to { transform: scale(1.05); } }
.ntsr-sp.is-paused .ntsr-sp__media img { animation-play-state: paused; }

/* Overlay behind the text: --ntsr-ov = overlay / 100. A light top gradient always keeps the header readable. */
.ntsr-sp__shade {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, 0) 18%),
        linear-gradient(to top, rgba(0, 0, 0, var(--ntsr-ov, .6)) 0%, rgba(0, 0, 0, calc(var(--ntsr-ov, .6) * .55)) 26%, rgba(0, 0, 0, 0) 55%);
}
.ntsr-sp__stage.is-pos-top .ntsr-sp__shade {
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, 0) 18%),
        linear-gradient(to bottom, rgba(0, 0, 0, var(--ntsr-ov, .6)) 0%, rgba(0, 0, 0, calc(var(--ntsr-ov, .6) * .55)) 26%, rgba(0, 0, 0, 0) 55%),
        linear-gradient(to top, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 16%);
}
.ntsr-sp__stage.is-pos-center .ntsr-sp__shade {
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, 0) 18%),
        linear-gradient(to top, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 16%),
        linear-gradient(rgba(0, 0, 0, calc(var(--ntsr-ov, .6) * .65)), rgba(0, 0, 0, calc(var(--ntsr-ov, .6) * .65)));
}
/* Slides without a photo: soft light from the top on the chosen background. */
.ntsr-sp__stage.is-textonly .ntsr-sp__mediabg { opacity: 0; }
.ntsr-sp__stage.is-textonly .ntsr-sp__media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, .16), transparent 62%), radial-gradient(90% 60% at 100% 100%, rgba(255, 255, 255, .07), transparent 60%); }

/* Progress bars */
.ntsr-sp__bars { position: absolute; z-index: 5; top: 12px; left: 10px; right: 10px; display: flex; gap: 4px; transition: opacity .2s; }
.ntsr-sp__bar { flex: 1; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .3); transition: box-shadow .4s; }
.ntsr-sp__bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: #fff; transform: scaleX(0); transform-origin: left center; will-change: transform; }
.ntsr-sp__bar.is-done i { transform: scaleX(1); }
.ntsr-sp__bar.is-active { box-shadow: 0 0 10px var(--ntsr-a), 0 0 2px rgba(255, 255, 255, .6); }

/* Header */
.ntsr-sp__head { position: absolute; z-index: 5; top: 24px; left: 12px; right: 6px; display: flex; align-items: center; gap: 10px; transition: opacity .2s; }
.ntsr-sp__avatar { flex: none; width: 38px; height: 38px; padding: 2px; border-radius: 50%; background: var(--ntsr-ring); }
.ntsr-sp .ntsr-sp__avatar img, .ntsr-sp__avatar span,
.ntsr-sp .ntsr-sp__peek-av img, .ntsr-sp__peek-av span,
.ntsr-sp .ntsr-sp__upnext-img img, .ntsr-sp__upnext-img span { display: grid; place-items: center; width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 50%; object-fit: cover; border: 2px solid #111; background: #333; color: #fff; font-weight: 800; font-size: 14px; }
.ntsr-sp__who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; text-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.ntsr-sp__line { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ntsr-sp__who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; }
.ntsr-sp__badge { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 5px; background: linear-gradient(135deg, var(--ntsr-a), var(--ntsr-b)); color: #fff; font-size: 9.5px; font-style: normal; font-weight: 800; letter-spacing: .07em; line-height: 1.35; text-transform: uppercase; text-shadow: none; }
.ntsr-sp__badge[hidden] { display: none; }
.ntsr-sp__badge--live, .ntsr-sp__badge--breaking { background: #ef233c; }
.ntsr-sp__badge--live::before, .ntsr-sp__badge--breaking::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: ntsrBlink 1.2s ease-in-out infinite; }
.ntsr-sp__badge--exclusive { background: #1d1f33; color: #ffd36b; }
@keyframes ntsrBlink { 50% { opacity: .25; } }
.ntsr-sp__who small { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; opacity: .82; white-space: nowrap; }
.ntsr-sp__who small > span + span::before { content: '·'; margin-right: 6px; }
.ntsr-sp__views { display: inline-flex; align-items: center; gap: 4px; }
.ntsr-sp__views .ntsr-i { display: inline-block; width: 13px; height: 13px; margin-right: 1px; }
.ntsr-sp__tools { display: flex; gap: 2px; }
.ntsr-sp .ntsr-sp__tool { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; transition: background .2s, transform .2s var(--ntsr-spring); }
.ntsr-sp .ntsr-sp__tool:hover { background: rgba(255, 255, 255, .16); }
.ntsr-sp .ntsr-sp__tool:active { transform: scale(.9); }
.ntsr-sp .ntsr-sp__tool:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.ntsr-sp__tool .ntsr-i { width: 21px; height: 21px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); }
.ntsr-sp__tool--close { display: none !important; }

/* ───────── Slide text block: position × align × style ───────── */
.ntsr-sp__text { position: absolute; z-index: 5; left: 18px; right: 18px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; transition: opacity .25s; }
.ntsr-sp__text[hidden] { display: none; }
.ntsr-sp__stage.is-pos-bottom .ntsr-sp__text { bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
.ntsr-sp.has-react .ntsr-sp__stage.is-pos-bottom .ntsr-sp__text { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
.ntsr-sp__stage.is-pos-center .ntsr-sp__text { top: 50%; translate: 0 -50%; }
.ntsr-sp__stage.is-pos-top .ntsr-sp__text { top: 84px; }
.ntsr-sp__stage.is-align-center .ntsr-sp__text { align-items: center; text-align: center; }

.ntsr-sp__text.is-in > *, .ntsr-sp__text.is-in::before { animation: ntsrUp .55s var(--ntsr-ease) both; }
.ntsr-sp__text.is-in > :nth-child(2) { animation-delay: .07s; }
.ntsr-sp__text.is-in > :nth-child(3) { animation-delay: .14s; }
.ntsr-sp__text.is-in > :nth-child(4) { animation-delay: .2s; }
@keyframes ntsrUp { from { opacity: 0; transform: translateY(14px); } }

.ntsr-sp .ntsr-sp__title { max-width: 100%; margin: 0 0 8px; padding: 0; color: #fff; font-family: inherit; font-size: clamp(20px, 2.6vh, 26px); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; text-transform: none; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); word-wrap: break-word; }
.ntsr-sp__stage.is-textonly .ntsr-sp__title { font-size: clamp(24px, 3.4vh, 34px); }
.ntsr-sp .ntsr-sp__desc { max-width: 100%; margin: 0; color: rgba(255, 255, 255, .94); font-size: 15px; line-height: 1.6; white-space: pre-line; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.ntsr-sp .ntsr-sp__desc.is-open { display: block; -webkit-line-clamp: unset; max-height: 46vh; overflow-y: auto; touch-action: pan-y; padding-right: 4px; }
.ntsr-sp .ntsr-sp__more { margin-top: 6px; padding: 2px 0; color: #fff; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; opacity: .9; }
.ntsr-sp .ntsr-sp__more[hidden] { display: none; }
.ntsr-sp .ntsr-sp__more:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
.ntsr-sp .ntsr-sp__cta {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 20px; border-radius: 40px;
    background: #fff; color: #15172b; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .3); transition: transform .3s var(--ntsr-spring), box-shadow .3s;
}
.ntsr-sp .ntsr-sp__cta:hover, .ntsr-sp .ntsr-sp__cta:focus { color: #15172b; text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .34); }
.ntsr-sp .ntsr-sp__cta:focus-visible { outline: 3px solid rgba(255, 255, 255, .7); outline-offset: 3px; }
.ntsr-sp__cta .ntsr-i { width: 16px; height: 16px; transition: transform .3s var(--ntsr-spring); }
.ntsr-sp__cta:hover .ntsr-i { transform: translateX(3px); }
.ntsr-sp__cta[hidden] { display: none !important; }

/* box — solid white card */
.ntsr-sp__stage.is-style-box .ntsr-sp__text { left: 14px; right: 14px; padding: 16px 18px 18px; border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(0, 0, 0, .3); }
.ntsr-sp__stage.is-style-box .ntsr-sp__title { color: #15172b; text-shadow: none; font-size: clamp(19px, 2.4vh, 23px); }
.ntsr-sp__stage.is-style-box .ntsr-sp__desc { color: #3b3f55; text-shadow: none; font-size: 14.5px; }
.ntsr-sp__stage.is-style-box .ntsr-sp__more { color: var(--ntsr-a); }
.ntsr-sp__stage.is-style-box .ntsr-sp__cta, .ntsr-sp__stage.is-style-headline .ntsr-sp__cta,
.ntsr-sp__stage.is-style-box .ntsr-sp__cta:hover, .ntsr-sp__stage.is-style-headline .ntsr-sp__cta:hover,
.ntsr-sp__stage.is-style-box .ntsr-sp__cta:focus, .ntsr-sp__stage.is-style-headline .ntsr-sp__cta:focus { background: linear-gradient(135deg, var(--ntsr-a), var(--ntsr-b)); color: #fff; }
.ntsr-sp__stage.is-style-box .ntsr-sp__cta { margin-top: 14px; box-shadow: 0 8px 20px rgba(20, 16, 60, .22); }

/* glass — frosted panel */
.ntsr-sp__stage.is-style-glass .ntsr-sp__text {
    left: 14px; right: 14px; padding: 16px 18px 18px; border-radius: 18px;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.ntsr-sp__stage.is-style-glass .ntsr-sp__title, .ntsr-sp__stage.is-style-glass .ntsr-sp__desc { text-shadow: 0 1px 4px rgba(0, 0, 0, .25); }

/* quote — big quote mark, the body text is the quote, headline is the attribution */
.ntsr-sp__stage.is-style-quote .ntsr-sp__text::before {
    content: '\201C'; display: block; order: 0; height: 46px; margin: 0 0 6px; color: var(--ntsr-a);
    font-family: Georgia, 'Times New Roman', serif; font-size: 96px; font-weight: 700; line-height: .9; text-shadow: 0 6px 22px rgba(0, 0, 0, .3);
}
.ntsr-sp__stage.is-style-quote .ntsr-sp__desc { order: 1; color: #fff; font-size: clamp(20px, 2.7vh, 24px); font-style: italic; font-weight: 600; line-height: 1.42; -webkit-line-clamp: 7; }
.ntsr-sp__stage.is-style-quote .ntsr-sp__title { order: 2; margin: 14px 0 0; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; opacity: .92; }
.ntsr-sp__stage.is-style-quote .ntsr-sp__title span::before { content: '\2014\00a0'; }
.ntsr-sp__stage.is-style-quote .ntsr-sp__more { order: 3; }
.ntsr-sp__stage.is-style-quote .ntsr-sp__cta { order: 4; }
.ntsr-sp__stage.is-style-quote.is-quote-solo .ntsr-sp__title { margin: 0; font-size: clamp(20px, 2.7vh, 24px); font-style: italic; font-weight: 600; letter-spacing: 0; text-transform: none; opacity: 1; }
.ntsr-sp__stage.is-style-quote.is-quote-solo .ntsr-sp__title span::before { content: none; }

/* headline — huge uppercase title with an accent highlight bar */
.ntsr-sp__stage.is-style-headline .ntsr-sp__title { margin-bottom: 12px; font-size: clamp(28px, 4.4vh, 40px); font-weight: 900; line-height: 1.05; letter-spacing: -.005em; text-transform: uppercase; }
.ntsr-sp__stage.is-style-headline .ntsr-sp__title span {
    padding: 0 .08em; background: linear-gradient(90deg, var(--ntsr-a), var(--ntsr-b)) no-repeat 0 88% / 100% .38em;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.ntsr-sp__stage.is-style-headline .ntsr-sp__text.is-in .ntsr-sp__title span { animation: ntsrMark .7s .25s var(--ntsr-ease) both; }
@keyframes ntsrMark { from { background-size: 0 .38em; } }
.ntsr-sp__stage.is-style-headline .ntsr-sp__desc { font-size: 14px; line-height: 1.55; }

/* ───────── "Up next" teaser on the last slide ───────── */
.ntsr-sp .ntsr-sp__upnext {
    position: absolute; z-index: 6; top: 76px; right: 12px; display: flex; align-items: center; gap: 9px; max-width: min(70%, 260px);
    padding: 5px 10px 5px 5px; border-radius: 40px; color: #fff; text-align: left;
    background: rgba(14, 14, 26, .5); border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
    opacity: 0; visibility: hidden; transform: translateX(18px) scale(.94);
    transition: opacity .3s ease, transform .5s var(--ntsr-spring), visibility 0s .5s;
}
.ntsr-sp .ntsr-sp__upnext.is-shown { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .5s var(--ntsr-spring); }
.ntsr-sp .ntsr-sp__upnext:hover { background: rgba(14, 14, 26, .7); }
.ntsr-sp .ntsr-sp__upnext:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ntsr-sp__upnext-img { flex: none; width: 36px; height: 36px; padding: 2px; border-radius: 50%; background: var(--ntsr-ring); }
.ntsr-sp__upnext-txt { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.ntsr-sp__upnext-txt small { font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .72; }
.ntsr-sp__upnext-txt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; }
.ntsr-sp__upnext .ntsr-i { width: 16px; height: 16px; opacity: .8; }
.ntsr-sp__stage.is-pos-top .ntsr-sp__upnext { top: auto; right: auto; left: 12px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateY(14px) scale(.94); }
.ntsr-sp__stage.is-pos-top .ntsr-sp__upnext.is-shown { transform: none; }

/* ───────── Reactions ───────── */
.ntsr-sp__react { position: absolute; z-index: 7; right: 14px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 8px; transition: opacity .2s; }
.ntsr-sp .ntsr-sp__react-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; min-width: 44px; padding: 0 11px; border-radius: 30px;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .26); color: #fff; font-size: 13px; font-weight: 700;
    -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18); transition: background .2s, transform .3s var(--ntsr-spring);
}
.ntsr-sp .ntsr-sp__react-btn:hover { background: rgba(255, 255, 255, .26); }
.ntsr-sp .ntsr-sp__react-btn:active { transform: scale(.92); }
.ntsr-sp .ntsr-sp__react-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ntsr-sp__react-btn .ntsr-i { width: 22px; height: 22px; }
.ntsr-sp__react-face { display: grid; place-items: center; }
.ntsr-sp__react-mine { font-size: 21px; line-height: 1; }
.ntsr-sp__react-total:empty { display: none; }
.ntsr-sp__react.is-open .ntsr-sp__react-btn { background: #fff; color: #15172b; }
.ntsr-sp__react-tray {
    display: flex; gap: 2px; padding: 5px; border-radius: 40px; background: rgba(255, 255, 255, .96); color: #15172b;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .32); transform-origin: right center;
    opacity: 0; visibility: hidden; transform: translateX(26px) scale(.5);
    transition: opacity .18s ease, transform .3s var(--ntsr-ease), visibility 0s .3s;
}
.ntsr-sp__react.is-open .ntsr-sp__react-tray { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .5s var(--ntsr-spring); }
.ntsr-sp .ntsr-sp__react-opt { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: transform .3s var(--ntsr-spring), background .2s; }
.ntsr-sp__react-e { display: block; font-size: 26px; line-height: 1; transition: transform .3s var(--ntsr-spring); }
.ntsr-sp .ntsr-sp__react-opt:hover .ntsr-sp__react-e, .ntsr-sp .ntsr-sp__react-opt:focus-visible .ntsr-sp__react-e { transform: translateY(-5px) scale(1.25); }
.ntsr-sp .ntsr-sp__react-opt:focus-visible { outline: 2px solid var(--ntsr-a); outline-offset: -2px; }
.ntsr-sp .ntsr-sp__react-opt.is-mine { background: rgba(108, 92, 231, .12); box-shadow: inset 0 0 0 2px var(--ntsr-a); }
.ntsr-sp__react.is-open .ntsr-sp__react-opt { animation: ntsrPopIn .45s var(--ntsr-spring) both; }
.ntsr-sp__react.is-open .ntsr-sp__react-opt:nth-child(2) { animation-delay: .03s; }
.ntsr-sp__react.is-open .ntsr-sp__react-opt:nth-child(3) { animation-delay: .06s; }
.ntsr-sp__react.is-open .ntsr-sp__react-opt:nth-child(4) { animation-delay: .09s; }
.ntsr-sp__react.is-open .ntsr-sp__react-opt:nth-child(5) { animation-delay: .12s; }
.ntsr-sp__react.is-open .ntsr-sp__react-opt:nth-child(6) { animation-delay: .15s; }
.ntsr-sp .ntsr-sp__react-opt.is-pop .ntsr-sp__react-e { animation: ntsrBounce .55s var(--ntsr-spring); }
@keyframes ntsrPopIn { from { opacity: 0; transform: translateY(10px) scale(.4); } }
@keyframes ntsrBounce { 30% { transform: scale(1.5) rotate(-8deg); } 60% { transform: scale(.9) rotate(4deg); } }
.ntsr-sp__react-n { position: absolute; left: 50%; bottom: -4px; min-width: 18px; padding: 1px 4px; border-radius: 9px; background: #15172b; color: #fff; font-size: 9.5px; font-style: normal; font-weight: 800; line-height: 1.35; text-align: center; transform: translateX(-50%); box-shadow: 0 0 0 2px #fff; }
.ntsr-sp__react-n:empty { display: none; }
.ntsr-sp__stage.is-reacting .ntsr-sp__text, .ntsr-sp__stage.is-reacting .ntsr-sp__upnext { opacity: .25; }
.ntsr-sp__stage.is-reacting .ntsr-sp__shade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent 45%); animation: ntsrFadeIn .3s ease both; }

/* Floating emoji burst */
.ntsr-sp__burst { position: absolute; inset: 0; z-index: 8; overflow: hidden; pointer-events: none; }
.ntsr-sp__burst-big { position: absolute; left: 50%; top: 46%; font-size: 96px; line-height: 1; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .35)); animation: ntsrBig 1.05s var(--ntsr-ease) both; }
@keyframes ntsrBig {
    0% { transform: translate(-50%, -50%) scale(.2); opacity: 0; }
    22% { transform: translate(-50%, -50%) scale(1.18); opacity: 1; }
    40% { transform: translate(-50%, -50%) scale(1); }
    72% { transform: translate(-50%, -55%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -90%) scale(.8); opacity: 0; }
}
.ntsr-sp__burst-p { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; font-size: 24px; line-height: 28px; text-align: center; animation: ntsrFloat 1.25s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes ntsrFloat {
    0% { transform: translate(0, 0) scale(.3) rotate(0); opacity: 0; }
    14% { opacity: 1; }
    100% { transform: translate(var(--dx, 0), var(--dy, -200px)) scale(var(--s, 1)) rotate(var(--r, 0)); opacity: 0; }
}

/* Hold to pause = clean view */
.ntsr-sp.is-holding .ntsr-sp__bars, .ntsr-sp.is-holding .ntsr-sp__head, .ntsr-sp.is-holding .ntsr-sp__text,
.ntsr-sp.is-holding .ntsr-sp__react, .ntsr-sp.is-holding .ntsr-sp__upnext { opacity: 0; }

/* Side navigation (desktop) */
.ntsr-sp .ntsr-sp__nav { position: relative; z-index: 3; flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s, transform .3s var(--ntsr-spring), opacity .2s; }
.ntsr-sp .ntsr-sp__nav:hover { background: rgba(255, 255, 255, .28); transform: scale(1.08); }
.ntsr-sp .ntsr-sp__nav:active { transform: scale(.94); }
.ntsr-sp .ntsr-sp__nav:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ntsr-sp .ntsr-sp__nav:disabled { opacity: .2; pointer-events: none; }
.ntsr-sp__nav .ntsr-i { width: 24px; height: 24px; }
.ntsr-sp .ntsr-sp__close { position: absolute; z-index: 3; top: 18px; right: 20px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; transition: background .2s, transform .3s var(--ntsr-ease); }
.ntsr-sp .ntsr-sp__close:hover { background: rgba(255, 255, 255, .26); transform: rotate(90deg); }
.ntsr-sp .ntsr-sp__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Site name + "Stories" in the top-left corner (wide screens; links to the listing page) */
.ntsr-sp .ntsr-sp__brand {
    position: absolute; z-index: 3; top: 18px; left: 22px; display: flex; align-items: center; gap: 10px; max-width: 280px; padding: 5px 16px 5px 5px; border-radius: 40px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s, transform .3s var(--ntsr-spring);
}
.ntsr-sp .ntsr-sp__brand:hover, .ntsr-sp .ntsr-sp__brand:focus { background: rgba(255, 255, 255, .16); color: #fff; text-decoration: none; }
.ntsr-sp .ntsr-sp__brand:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ntsr-sp__brand-av { flex: none; width: 38px; height: 38px; padding: 2px; border-radius: 50%; background: var(--ntsr-ring); }
.ntsr-sp .ntsr-sp__brand-av img, .ntsr-sp__brand-av span { display: grid; place-items: center; width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 50%; object-fit: cover; border: 2px solid #111; background: #333; color: #fff; font-size: 14px; font-weight: 800; }
.ntsr-sp__brand-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ntsr-sp__brand-txt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 750; }
.ntsr-sp__brand-txt small { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; opacity: .72; }
.ntsr-sp__brand-txt small .ntsr-i { width: 12px; height: 12px; }
@media (max-width: 1099px) { .ntsr-sp .ntsr-sp__brand { display: none; } }

/* First-time tips on touch screens */
.ntsr-sp__coach { position: absolute; z-index: 40; inset: 0; display: flex; flex-direction: column; background: rgba(6, 6, 14, .64); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: ntsrFadeIn .3s ease both; touch-action: manipulation; }
.ntsr-sp__coach[hidden] { display: none; }
.ntsr-sp__coach-zones { flex: 1; display: flex; min-height: 0; padding-top: calc(70px + env(safe-area-inset-top, 0px)); }
.ntsr-sp__coach-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px 10px; color: #fff; text-align: center; }
.ntsr-sp__coach-zone b { font-size: 14px; font-weight: 700; line-height: 1.35; text-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.ntsr-sp__coach-zone--prev { flex: 0 0 30%; border-right: 1.5px dashed rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .05); }
.ntsr-sp__coach-zone--next { flex: 1; }
.ntsr-sp__coach-zone .ntsr-i { box-sizing: content-box; width: 34px; height: 34px; padding: 12px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); animation: ntsrTap 1.6s ease-in-out infinite; }
.ntsr-sp__coach-zone--next .ntsr-i { animation-delay: .8s; }
@keyframes ntsrTap { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, .35); } 45% { transform: scale(.88); box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } }
.ntsr-sp__coach-card { margin: 0 14px calc(16px + env(safe-area-inset-bottom, 0px)); padding: 16px 18px 18px; border-radius: 20px; background: #fff; color: #15172b; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); animation: ntsrUp .45s .1s var(--ntsr-ease) both; }
.ntsr-sp__coach-card strong { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 800; }
.ntsr-sp__coach-card ul { display: grid; gap: 9px; margin: 0 0 16px; padding: 0; list-style: none; }
.ntsr-sp__coach-card li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; line-height: 1.35; }
.ntsr-sp__coach-card li .ntsr-i { flex: none; box-sizing: content-box; width: 18px; height: 18px; padding: 6px; border-radius: 10px; background: color-mix(in srgb, var(--ntsr-a) 12%, #fff); color: var(--ntsr-a); }
.ntsr-sp .ntsr-sp__coach-ok { width: 100%; height: 48px; border-radius: 40px; background: linear-gradient(135deg, var(--ntsr-a), var(--ntsr-b)); color: #fff; font-size: 15px; font-weight: 800; box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--ntsr-a) 75%, transparent); }
.ntsr-sp .ntsr-sp__coach-ok:focus-visible { outline: 3px solid color-mix(in srgb, var(--ntsr-a) 45%, transparent); outline-offset: 3px; }
.ntsr-sp.is-coaching .ntsr-sp__text, .ntsr-sp.is-coaching .ntsr-sp__react, .ntsr-sp.is-coaching .ntsr-sp__upnext { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .ntsr-sp__coach-zone .ntsr-i { animation: none; } }

/* Neighbouring stories peeking at the sides (wide screens) */
.ntsr-sp .ntsr-sp__peek { display: none; }
@media (min-width: 1180px) and (min-height: 620px) {
    .ntsr-sp .ntsr-sp__peek {
        position: relative; z-index: 1; display: block; flex: none; height: min(44vh, 420px); aspect-ratio: 9 / 16; overflow: hidden;
        border-radius: 16px; background: #1b1c2e; color: #fff; opacity: .5; transform: scale(.95);
        box-shadow: 0 20px 50px rgba(0, 0, 0, .35); transition: opacity .3s, transform .45s var(--ntsr-spring);
    }
    .ntsr-sp .ntsr-sp__peek:hover { opacity: .92; transform: scale(1); }
    .ntsr-sp .ntsr-sp__peek.is-empty, .ntsr-sp.is-single .ntsr-sp__peek { visibility: hidden; }
    .ntsr-sp__peek-img { position: absolute; inset: 0; background: linear-gradient(160deg, #4b38d8, #14162e) center / cover no-repeat; filter: brightness(.62); transition: transform .8s var(--ntsr-ease); }
    .ntsr-sp__peek:hover .ntsr-sp__peek-img { transform: scale(1.06); }
    .ntsr-sp__peek-av { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -46px 0 0 -29px; padding: 2.5px; border-radius: 50%; background: var(--ntsr-ring); }
    .ntsr-sp__peek-t { position: absolute; left: 14px; right: 14px; top: calc(50% + 22px); font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

.ntsr-sp__loader { position: absolute; z-index: 4; inset: 0; display: none; place-items: center; pointer-events: none; }
.ntsr-sp__loader span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: ntsrSpin .8s linear infinite; }
.ntsr-sp__stage.is-loading .ntsr-sp__loader { display: grid; animation: ntsrFadeIn .3s .25s both; }

.ntsr-sp__pausebadge { position: absolute; z-index: 6; top: 50%; left: 50%; display: grid; place-items: center; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transform: scale(.7); transition: .3s var(--ntsr-spring); pointer-events: none; }
.ntsr-sp__pausebadge .ntsr-i { width: 30px; height: 30px; }
/* Flash the pause icon briefly so it never covers centred slide text while paused (the header button shows the state). */
.ntsr-sp.is-user-paused .ntsr-sp__pausebadge { animation: ntsrPauseFlash 1.1s var(--ntsr-ease) forwards; }
@keyframes ntsrPauseFlash { 0% { opacity: 0; transform: scale(.7); } 20%, 65% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .ntsr-sp.is-user-paused .ntsr-sp__pausebadge { animation: none; opacity: 0; } }
.ntsr-sp__toast { top: 84px; bottom: auto; }

/* End screen (single story pages) */
.ntsr-sp__end { position: absolute; z-index: 9; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(8, 8, 16, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); text-align: center; }
.ntsr-sp__end.is-shown { display: flex; animation: ntsrFadeIn .3s ease both; }
.ntsr-sp__end-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 2px; border-radius: 50%; background: linear-gradient(135deg, var(--ntsr-a), var(--ntsr-b)); box-shadow: 0 14px 36px rgba(0, 0, 0, .35); }
.ntsr-sp__end.is-shown .ntsr-sp__end-icon { animation: ntsrPopIn .6s .05s var(--ntsr-spring) both; }
.ntsr-sp__end-icon .ntsr-i { width: 30px; height: 30px; stroke-width: 2.6; }
.ntsr-sp .ntsr-sp__end-title { margin: 0 0 12px; padding: 0; color: #fff; font-size: 19px; font-weight: 800; line-height: 1.3; }
.ntsr-sp .ntsr-sp__end-btn { display: inline-flex; align-items: center; gap: 8px; min-width: 190px; justify-content: center; padding: 13px 22px; border-radius: 40px; background: #fff; color: #15172b; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: transform .3s var(--ntsr-spring), background .2s; }
.ntsr-sp .ntsr-sp__end-btn:hover { transform: translateY(-2px); color: #15172b; text-decoration: none; }
.ntsr-sp .ntsr-sp__end-btn:focus-visible { outline: 3px solid rgba(255, 255, 255, .6); outline-offset: 3px; }
.ntsr-sp .ntsr-sp__end-btn--ghost, .ntsr-sp .ntsr-sp__end-btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.ntsr-sp__end-btn .ntsr-i { width: 18px; height: 18px; }

.ntsr-sp__sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 640px), (max-height: 520px) and (max-width: 900px) {
    .ntsr-sp { gap: 0; background: #000; }
    .ntsr-sp__stage { width: 100vw; height: 100vh; height: 100dvh; max-width: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
    .ntsr-sp__nav, .ntsr-sp__close, .ntsr-sp__bg, .ntsr-sp__peek { display: none !important; }
    .ntsr-sp__tool--close { display: grid !important; }
    .ntsr-sp__bars { top: calc(10px + env(safe-area-inset-top, 0px)); }
    .ntsr-sp__head { top: calc(22px + env(safe-area-inset-top, 0px)); }
    .ntsr-sp__stage.is-pos-top .ntsr-sp__text { top: calc(84px + env(safe-area-inset-top, 0px)); }
    .ntsr-sp .ntsr-sp__upnext { top: calc(76px + env(safe-area-inset-top, 0px)); }
    .ntsr-sp__toast { top: calc(84px + env(safe-area-inset-top, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
    .ntsr-bubble.is-new:not(.is-seen) .ntsr-bubble__ring::before, .ntsr-bubble.is-new:not(.is-seen) .ntsr-bubble__ring::after { animation: none; }
    .ntsr-sp .ntsr-sp__media img.is-on { animation: none; }
}

/* Missing cover image: gradient + the story's first letter instead of a broken-image icon. */
.ntsr-bubble__img.is-broken, .ntsr-scard__media.is-broken { background: linear-gradient(160deg, var(--ntsr-a), var(--ntsr-b)); }
.ntsr-bubble__img.is-broken { position: relative; }
.ntsr-bubble__img.is-broken::after, .ntsr-scard__media.is-broken::after {
    content: attr(data-initial); position: absolute; inset: 0; display: grid; place-items: center;
    color: #fff; font-weight: 800; font-size: calc(var(--ntsr-bubble, 76px) * .36); text-transform: uppercase;
}
.ntsr-scard__media.is-broken::after { font-size: 44px; opacity: .55; place-items: start center; padding-top: 30%; }

/* Never let the overlay / stage scroll when a control receives focus. */
.ntsr-sp, .ntsr-sp__stage { overflow: hidden; overflow: clip; }
