.explore-stories { position: relative; width: min(100%, 42.1875dvh); aspect-ratio: 9 / 16; margin: 0 auto 36px; overflow: hidden; border-radius: 22px; background: #101820; color: white; box-shadow: 0 16px 48px #0003; isolation: isolate; touch-action: pan-y; }
.story-image, .story-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-shade { background: linear-gradient(#0007, transparent 30%, transparent 55%, #000a); pointer-events: none; }
.story-progress { position: absolute; z-index: 4; top: 5px; left: 12px; right: 12px; display: flex; gap: 4px; }
.story-progress button { position: relative; flex: 1; height: 24px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.story-progress button::before, .story-progress button span { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 3px; border-radius: 3px; background: #ffffff60; }
.story-progress button span { background: #fff; transform-origin: left; }
.story-top { position: absolute; z-index: 4; top: 32px; left: 18px; right: 12px; display: flex; align-items: center; justify-content: space-between; font: 900 14px Arial, sans-serif; }
.story-green { color: #4dde1f; }
.story-brand { display: flex; align-items: center; gap: 5.6px; font-size: 14px; }
.story-brand img { width: 24.64px; height: 24.64px; object-fit: contain; border-radius: 3.2px; }
.story-prev, .story-next { position: absolute; z-index: 2; top: 90px; bottom: 0; width: 50%; border: 0; background: transparent; cursor: pointer; }
.story-prev { left: 0; }
.story-next { right: 0; }
.story-caption { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 28px; pointer-events: none; text-shadow: 0 2px 10px #0005; }
.explore-stories h2 { margin: 12px 0 8px; color: white; font: 800 clamp(24px, 4dvh, 38px)/1.1 Arial, sans-serif; letter-spacing: -.04em; }
.story-caption p { margin: 0; font: 13px/1.5 Arial, sans-serif; }
.story-download { pointer-events: auto; margin-top: 18px; min-height: 44px; padding: 10px 16px; border: 1px solid #ffffff80; border-radius: 24px; color: #fff; background: #071421cc; font: 700 12px Arial, sans-serif; cursor: pointer; }
.story-download:disabled { opacity: .6; cursor: wait; }
.story-download-status { display: block; margin-top: 5px; font: 11px/1.3 Arial, sans-serif; }
.story-label { display: inline-block; max-width: 100%; margin-bottom: 14px; padding: 7px 9px; border-radius: 5px; background: #071421d9; font: 800 clamp(10px, 1.8dvh, 13px)/1.5 Consolas, monospace; letter-spacing: .06em; overflow-wrap: anywhere; text-transform: uppercase; }
.story-caption .story-quote { font: 700 clamp(18px, 3dvh, 28px)/1.3 Arial, sans-serif; letter-spacing: -.025em; text-wrap: pretty; }
.story-download { display: flex; align-items: center; gap: 8px; width: max-content; margin-left: auto; transform: scale(.7); transform-origin: right top; margin-bottom: -13.2px; }
body.story-sharing { overflow: hidden; }
.story-share-dialog { position: fixed; inset: 0; width: 100%; max-width: 560px; height: 100dvh; max-height: 100dvh; margin: auto; padding: max(16px, env(safe-area-inset-top)) 24px max(20px, env(safe-area-inset-bottom)); border: 0; background: linear-gradient(145deg, #dceadf, #f0eaf9 35%, #fff 65%); color: #101821; overflow-y: auto; font-family: Arial, sans-serif; }
.story-share-dialog::backdrop { background: #000b; }
.story-share-dialog[open] { display: flex; flex-direction: column; gap: 10px; }
.story-share-dialog header { display: flex; align-items: center; flex: 0 0 auto; min-height: 44px; }
.story-share-dialog header h2 { font: 700 19px Arial, sans-serif; text-align: center; margin: 0 44px 0 0; flex: 1; }
.story-share-dialog button { cursor: pointer; font-family: Arial, sans-serif; }
.share-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #ffffff80; color: #101821; font-size: 24px; }
.share-preview { flex: 1 1 auto; min-height: 180px; display: flex; align-items: center; justify-content: center; }
.share-preview img { display: block; width: auto; height: auto; max-height: 57dvh; max-width: 100%; border-radius: 22px; object-fit: contain; }
.share-preview img:not([src]) { visibility: hidden; }
.share-formats { display: flex; align-self: center; padding: 4px; border: 1px solid #dedee6; border-radius: 10px; }
.share-formats button { min-width: 80px; min-height: 40px; border: 0; border-radius: 6px; color: #5d6370; background: transparent; font-size: 12px; font-weight: 700; }
.share-formats button[aria-pressed=true] { background: #e5def3; color: #2b164a; }
.share-native, .share-save { flex: 0 0 auto; min-height: 48px; width: 100%; padding: 12px 18px; border-radius: 28px; font-size: 16px; font-weight: 700; }
.share-native { border: 0; color: #fff; background: #6240af; }
.share-save { border: 1px solid #ced0d8; color: #101821; background: white; }
.story-share-dialog button:disabled { opacity: .45; cursor: default; }
.share-status { flex: 0 0 auto; font: 12px/1.4 Arial, sans-serif; text-align: center; margin: 0; color: #566071; }
.share-status:empty { display: none; }
@media(max-height: 600px) { .share-preview img { max-height: 42dvh; } .story-share-dialog { gap: 6px; } }
