.story-viewer-overlay{position:fixed;inset:0;z-index:205000;display:flex;align-items:center;justify-content:center;padding:16px;background:#070a13e8;backdrop-filter:blur(10px);color:#edf2ff;font-family:Inter,Arial,sans-serif}.story-viewer-overlay *{box-sizing:border-box}.story-viewer-overlay [hidden]{display:none!important}.story-viewer-dialog{width:min(1020px,100%);height:min(860px,95dvh);background:#141a27;border:1px solid #ffffff1c;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 100px #0008}.story-viewer-header{height:66px;flex:0 0 66px;display:flex;align-items:center;padding:10px 18px;gap:10px;border-bottom:1px solid #ffffff14}.story-viewer-avatar{width:38px;height:38px;object-fit:cover;border-radius:50%}.story-viewer-header>div{min-width:0;flex:1}.story-viewer-header a{color:#fff;text-decoration:none}.story-viewer-header #story-viewer-name{display:block;font-size:14px;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.story-viewer-position{font-size:11px;color:#a4b3cd}.story-viewer-dialog button{border:1px solid #ffffff24;background:#ffffff0c;color:#eef3ff;cursor:pointer;border-radius:8px;min-height:36px;padding:6px 10px;font-size:12px}.story-viewer-dialog button:hover{background:#ffffff20}.story-viewer-dialog button:disabled{opacity:.3;cursor:default}.story-viewer-dialog button:focus-visible,.story-viewer-dialog textarea:focus-visible,.story-viewer-dialog input:focus-visible{outline:2px solid #67e8f9;outline-offset:2px}.story-viewer-header [data-sv=close]{font-size:24px;width:38px;padding:0}.story-viewer-content{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}.story-viewer-main{display:grid;grid-template-rows:minmax(0,1fr) 66px 52px 32px;min-width:0;min-height:0;padding:14px 16px;background:#0b101b;gap:8px;justify-items:center}.story-media-card{position:relative;aspect-ratio:9/16;height:100%;width:auto;max-width:100%;max-height:100%;background:black;border-radius:12px;overflow:hidden;touch-action:manipulation;user-select:none}.story-media-content{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.story-media-content img,.story-media-content video{width:100%;height:100%;object-fit:contain;display:block}.story-view-progress{position:absolute;left:8px;right:8px;top:8px;height:3px;z-index:2;background:#ffffff35;border-radius:5px;overflow:hidden}.story-view-progress span{display:block;width:0;height:100%;background:#fff;transition:width .1s linear}.story-media-navigation{position:absolute;left:8px;right:8px;bottom:42px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.story-media-navigation button{pointer-events:auto;background:#0008;font-size:23px;padding:0;width:33px;min-height:32px;border-color:#ffffff25}.story-media-navigation [data-sv=pause]{font-size:14px}.story-media-caption{position:absolute;left:12px;right:12px;bottom:82px;font-size:12px;line-height:1.4;color:white;text-shadow:0 1px 3px black;max-height:20%;overflow:hidden;white-space:pre-wrap;pointer-events:none}.story-heart-burst{position:absolute;inset:0;display:grid;place-items:center;font-size:85px;color:#ff436e;pointer-events:none;text-shadow:0 0 16px #0008;z-index:4}.story-viewer-reactions{display:flex;align-items:center;justify-content:flex-start;gap:6px;overflow-x:auto;width:100%;padding:5px 1px;scrollbar-width:thin}.story-viewer-dialog .story-reaction-chip{display:flex;align-items:center;justify-content:center;gap:4px;min-width:50px;flex:0 0 auto;min-height:38px;padding:5px 7px}.story-reaction-chip img{width:24px;height:24px;object-fit:contain}.story-reaction-chip span{font-size:22px}.story-reaction-chip b{font-size:12px}.story-reaction-chip[aria-pressed=true]{background:#ed548c25;border-color:#ff78ac}.story-custom-reaction{display:flex;align-items:center;gap:5px;max-width:100%;width:100%;min-width:0;overflow-x:auto}.story-custom-reaction label{display:flex;gap:5px;align-items:center;font-size:10px;font-weight:400;margin:0;white-space:nowrap}.story-custom-reaction input{width:45px;min-height:34px;background:#ffffff0c;border:1px solid #ffffff24;border-radius:6px;color:#fff;padding:4px;font-size:19px;text-align:center}.story-custom-palette{display:flex;gap:4px}.story-custom-palette button{font-size:19px;padding:2px 6px;min-width:31px;min-height:33px}.story-viewer-status{margin:0;font-size:11px;color:#aabbda;line-height:1.3;max-height:30px;overflow:hidden;justify-self:stretch}.story-viewer-comments{display:flex;flex-direction:column;min-width:0;min-height:0;padding:16px;border-left:1px solid #ffffff14}.story-viewer-comments h3{font-size:15px;margin:0 0 4px;color:#f4f6ff;display:flex;justify-content:space-between}.story-comment-total{font-size:12px;color:#8fa3c2}.story-comment-hint{font-size:10px;color:#91a2bf;margin:0 0 12px}.story-viewer-comment-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.story-view-comment{display:flex;gap:8px;margin:0 0 12px;align-items:flex-start}.story-view-comment>img{width:28px;height:28px;border-radius:50%;object-fit:cover;flex:0 0 28px}.story-view-comment>div{min-width:0;flex:1}.story-view-comment strong{display:block;color:#d9e5fa;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.story-view-comment p{color:#b8c7df;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.45;margin:3px 0 0;max-height:5.8em;overflow:auto;scrollbar-width:thin}.story-no-comments{font-size:12px;color:#a0aec7}.story-viewer-comment-form{display:flex;flex-direction:column;gap:7px;border-top:1px solid #ffffff14;padding-top:12px;flex-shrink:0;margin-top:8px}.story-viewer-comment-form textarea{width:100%;min-height:64px;max-height:100px;resize:none;border:1px solid #ffffff24;background:#090f1b;border-radius:8px;padding:9px;color:#f3f6ff;font:12px/1.4 Inter,Arial,sans-serif}.story-viewer-comment-form button{background:#6559e8;border:0;align-self:flex-end;padding:6px 18px}.story-live-link,.story-live-badge{background:#f43f61;color:white!important;border-radius:5px;font-size:10px;font-weight:700;letter-spacing:.5px;text-decoration:none!important;line-height:1.5;padding:2px 6px}.story-live-badge{position:absolute;right:7px;top:56px;z-index:5;font-size:9px}.story-author-card{position:relative}.story-author-live a.avatar{box-shadow:0 0 0 2px #f43f61;animation:story-live-wave 2s infinite}.story-author-live .story-live-badge{display:block}.story-author-card:not(.story-author-live) .story-live-badge{display:none}.story-live-link{animation:story-live-wave 2s infinite}@keyframes story-live-wave{0%{box-shadow:0 0 0 0 #f43f6166}70%{box-shadow:0 0 0 9px #f43f6100}100%{box-shadow:0 0 0 0 #f43f6100}}@keyframes story-heart-pop{0%{opacity:0;transform:scale(.35) rotate(-12deg)}30%{opacity:1;transform:scale(1.15)}65%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.3) translateY(-25px)}}@media(max-width:650px){.story-viewer-overlay{padding:0}.story-viewer-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0}.story-viewer-header{padding:8px 10px;padding-top:max(8px,env(safe-area-inset-top));height:62px;flex-basis:62px;gap:7px}.story-viewer-header #story-viewer-name{font-size:12px}.story-viewer-avatar{width:32px;height:32px}.story-viewer-content{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}.story-viewer-main{padding:9px 7px;padding-bottom:max(9px,env(safe-area-inset-bottom));grid-template-rows:minmax(0,1fr) 56px 66px 34px;gap:6px}.story-media-card{border-radius:8px}.story-viewer-comments{padding:11px 7px 9px}.story-viewer-comments h3{font-size:12px;gap:4px}.story-comment-hint{font-size:9px}.story-view-comment{gap:5px;margin-bottom:10px}.story-view-comment>img{width:21px;height:21px;flex-basis:21px}.story-view-comment strong{font-size:10px}.story-view-comment p{font-size:11px}.story-custom-reaction{flex-wrap:wrap;gap:3px;align-content:center;overflow:hidden}.story-custom-reaction label{font-size:9px}.story-custom-reaction input{width:35px;font-size:17px;min-height:29px}.story-custom-reaction>button{min-height:29px;padding:2px 8px}.story-custom-palette button{min-height:27px;font-size:17px}.story-viewer-comment-form textarea{min-height:70px;font-size:16px;padding:6px}.story-viewer-comment-form button{width:100%;padding:6px;min-height:35px}.story-viewer-status{font-size:10px;max-height:34px}.story-media-caption{font-size:10px;bottom:78px}.story-media-navigation{left:5px;right:5px}.story-media-navigation button{width:28px;min-height:29px}.story-heart-burst{font-size:65px}}@media(prefers-reduced-motion:reduce){.story-author-live a.avatar,.story-live-link{animation:none}.story-heart-burst{animation:none!important}}
.story-media-slot{min-width:0;min-height:0;width:100%;height:100%;display:grid;place-items:center;overflow:hidden}.story-media-slot .story-media-card{flex:none;max-width:100%;max-height:100%}
.user-status-home ul.status-list li.story-author-card>a.story-live-badge{display:inline-flex;align-items:center;justify-content:center;position:absolute;top:56px;right:7px;width:auto;height:auto;padding:2px 6px;margin:0;border-radius:4px;line-height:14px;font-size:9px;font-weight:700;overflow:visible;white-space:nowrap}.user-status-home ul.status-list li.story-author-card>a.story-live-badge[hidden]{display:none!important}
/* Mobile gestures and comments overlay. Desktop retains the right panel. */
.story-media-card{touch-action:none}.story-mobile-comments{position:absolute;left:7px;right:7px;bottom:44px;height:20%;max-height:20%;z-index:3;overflow:hidden;background:linear-gradient(transparent,#000b);border-radius:6px;touch-action:pan-y}.story-mobile-comments .story-viewer-comment-list{height:100%;max-height:100%;overflow-y:auto;padding:4px;scrollbar-width:none}.story-mobile-comments .story-view-comment{gap:5px;margin-bottom:5px}.story-mobile-comments .story-view-comment>img{width:18px;height:18px;flex-basis:18px}.story-mobile-comments .story-view-comment strong{font-size:10px;color:#fff}.story-mobile-comments .story-view-comment p{color:white;font-size:11px;line-height:1.3;max-height:2.6em;overflow:hidden;margin-top:1px;text-shadow:0 1px 2px #000}.story-mobile-comments .story-no-comments{font-size:10px;color:#fff}.story-heart-burst{inset:auto;left:var(--heart-x,50%);top:var(--heart-y,50%);width:70px;height:70px;margin:-35px 0 0 -35px;font-size:70px;line-height:1}.story-viewer-comment-form .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:650px){.story-viewer-content{display:flex;flex-direction:column}.story-viewer-main{flex:1;min-height:0;width:100%;grid-template-rows:minmax(0,1fr) 45px 36px 27px;padding:7px 10px;gap:3px}.story-viewer-comments{flex:0 0 auto;border-left:0;border-top:1px solid #ffffff14;padding:5px 10px max(6px,env(safe-area-inset-bottom))}.story-viewer-comments h3,.story-viewer-comments .story-comment-hint{display:none}.story-viewer-comment-form{flex-direction:row;margin:0;padding:0;border:0;gap:7px;align-items:center}.story-viewer-comment-form textarea{flex:1;width:0;min-height:40px;height:40px;max-height:60px;font-size:16px;line-height:1.2;padding:9px}.story-viewer-comment-form button{width:auto;flex-shrink:0;min-height:38px;align-self:center;padding:6px 12px}.story-media-navigation{top:16px;bottom:auto}.story-media-caption{bottom:calc(20% + 49px);font-size:11px}.story-viewer-reactions{padding:2px}.story-viewer-dialog .story-reaction-chip{min-height:34px}.story-custom-reaction{flex-wrap:nowrap;overflow-x:auto}.story-custom-palette button{min-height:28px}.story-viewer-status{font-size:10px;max-height:26px}.story-media-slot{align-self:stretch}.story-viewer-comment-list{touch-action:pan-y}}

@media(max-width:650px){.story-mobile-comments{bottom:12px}.story-media-caption{bottom:calc(20% + 20px)}.story-viewer-header [data-sv=sound]{min-width:32px;padding:4px;font-size:16px}}
.story-preload-tray{position:fixed;left:-10px;top:-10px;width:1px;height:1px;opacity:0;overflow:hidden;pointer-events:none;contain:strict}.story-preload-tray video{width:1px;height:1px}.story-view-progress[hidden]{display:none!important}
