/* ABHYAAS Stories (Oct 30 2026) — beta: body.st-beta · s2: mote, chamakdar rings (Gopal 1:48 PM) */
.st-plus,.st-strip,.st-home{display:none}
body.st-beta .st-strip{display:flex}
body.st-beta .st-home{display:contents}
body.st-beta .st-plus{display:flex}
.ph-top{position:relative}
.st-plus{position:absolute;left:-4px;top:calc(50% - 48px);z-index:3;width:28px;height:28px;border-radius:50%;border:2.5px solid #fff;background:#f97316;color:#fff;align-items:center;justify-content:center;padding:0;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.st-plus svg{width:15px;height:15px}
@keyframes stSpin{to{transform:rotate(360deg)}}
.st-strip{gap:8px;margin:12px 0 2px;flex-wrap:wrap}
.st-btn{flex:1;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:7px;height:40px;border-radius:12px;border:1.5px solid #fed7aa;background:#fff7ed;color:#c2410c;font-weight:800;font-size:14px;cursor:pointer;padding:0 10px;font-family:inherit}
.st-btn svg{width:17px;height:17px;flex:none}
.st-btn.st-see{border-color:#e9d5ff;background:#faf5ff;color:#7c3aed}
.st-btn span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-ring span img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.m-ring span:has(img){overflow:hidden}
.st-me{position:relative}
.st-pb{position:absolute;right:2px;top:50px;width:24px;height:24px;border-radius:50%;background:#f97316;color:#fff;border:2.5px solid #fff;display:flex;align-items:center;justify-content:center}
.st-pb svg{width:13px;height:13px}
body.st-lock{overflow:hidden}
/* add sheet */
.st-sheet-wrap{position:fixed;inset:0;z-index:2000}
.st-scrim{position:absolute;inset:0;background:rgba(8,15,28,.5);opacity:0;transition:opacity .2s}
.st-sheet{position:absolute;left:0;right:0;bottom:0;max-width:560px;margin:0 auto;background:#fff;border-radius:22px 22px 0 0;padding:8px 16px calc(16px + env(safe-area-inset-bottom,0px));transform:translateY(100%);transition:transform .22s ease;max-height:94vh;overflow:auto;font-family:'Noto Sans Devanagari','DM Sans',sans-serif}
.st-sheet-wrap.open .st-scrim{opacity:1}.st-sheet-wrap.open .st-sheet{transform:none}
.st-grab{width:42px;height:5px;border-radius:5px;background:#d5dbe6;margin:2px auto 8px}
.st-sh-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.st-sh-h b{font-size:19px;color:#0c1e35}
.st-x{width:36px;height:36px;border-radius:50%;border:0;background:#f1f3f8;color:#0c1e35;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.st-x svg{width:18px;height:18px}
.st-note{font-size:13px;color:#667085;margin:0 0 12px}
.st-opt{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border:1.5px solid #e6e8f0;background:#fff;border-radius:16px;padding:14px;margin-bottom:10px;cursor:pointer;font-family:inherit}
.st-opt:disabled{opacity:.55;cursor:not-allowed}
.st-oi{width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#f97316,#ec4899);color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.st-oc .st-oi{background:linear-gradient(135deg,#1b2d5c,#1d6fd6)}
.st-oi svg{width:24px;height:24px}
.st-ot{display:flex;flex-direction:column;gap:2px;min-width:0}
.st-ot b{font-size:16px;color:#0c1e35}.st-ot small{font-size:12.5px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-rule{font-size:11.5px;color:#98a2b3;text-align:center;margin:6px 0 0}
.st-prev{background:#0c1e35;border-radius:16px;overflow:hidden;display:flex;justify-content:center;max-height:52vh}
.st-prev img{max-width:100%;max-height:52vh;object-fit:contain;display:block}
.st-cap{position:relative;margin:12px 0}
.st-cap input{width:100%;box-sizing:border-box;padding:12px 56px 12px 14px;border:1.5px solid #d5dbea;border-radius:12px;font-size:16px;font-family:inherit}
.st-cap small{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:12px;color:#98a2b3}
.st-acts{display:flex;gap:10px}.st-acts .btn{flex:1}
/* viewer */
.st-view{position:fixed;inset:0;z-index:2100;background:#000;color:#fff;display:flex;flex-direction:column;user-select:none;-webkit-user-select:none;touch-action:none;font-family:'Noto Sans Devanagari','DM Sans',sans-serif}
.st-bars{display:flex;gap:4px;padding:calc(10px + env(safe-area-inset-top,0px)) 10px 0;position:absolute;left:0;right:0;top:0;z-index:3}
.st-bars i{flex:1;height:3px;border-radius:3px;background:rgba(255,255,255,.35);overflow:hidden}
.st-bars b{display:block;height:100%;background:#fff;width:0}
.st-vh{position:absolute;left:0;right:0;top:calc(20px + env(safe-area-inset-top,0px));z-index:3;display:flex;align-items:center;gap:10px;padding:0 8px 0 12px;background:linear-gradient(rgba(0,0,0,.35),transparent)}
.st-vav{width:38px;height:38px;border-radius:50%;background:#f97316;display:flex;align-items:center;justify-content:center;font-weight:800;overflow:hidden;flex:none;border:2px solid #fff}
.st-vav img{width:100%;height:100%;object-fit:cover}
.st-vn{flex:1;min-width:0;display:flex;flex-direction:column}
.st-vn b{font-size:15px;display:flex;align-items:center;gap:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-vn small{font-size:12px;opacity:.8}
.st-tick{width:16px;height:16px;flex:none}
.st-vb{width:42px;height:42px;border:0;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.st-vb svg{width:22px;height:22px}
.st-media{flex:1;display:flex;align-items:center;justify-content:center;min-height:0}
.st-media img{max-width:100%;max-height:100%;object-fit:contain;display:block;pointer-events:none}
.st-gone{opacity:.7;font-size:15px}
.st-capv{position:absolute;left:0;right:0;bottom:0;padding:16px 16px calc(22px + env(safe-area-inset-bottom,0px));background:linear-gradient(transparent,rgba(0,0,0,.65));font-size:16px;font-weight:600;text-align:center;line-height:1.45;z-index:2}
.st-warn{position:absolute;left:12px;right:12px;top:calc(72px + env(safe-area-inset-top,0px));z-index:3;background:rgba(220,38,38,.85);border-radius:10px;padding:8px 10px;font-size:13px;text-align:center}
@media (min-width:769px){.st-media img{max-width:min(100%,540px)}}
body.st-beta .m-stories{scroll-padding-inline:14px}

/* ===== s2 rings (Oct 30, Gopal: "ring circle size chota, sab ko pata chalta nhi") ===== */
:root{--st-grad:conic-gradient(from 210deg,#ffd600,#ff7a00,#ff0069,#d300c5,#7638fa,#ff7a00,#ffd600)}
@keyframes stPulse{0%{box-shadow:0 0 0 0 rgba(255,0,105,.35)}70%{box-shadow:0 0 0 6px rgba(255,0,105,0)}100%{box-shadow:0 0 0 0 rgba(255,0,105,0)}}
@keyframes stSpin{to{transform:rotate(360deg)}}
/* own profile hub DP: bina story ke sirf halki grey line; story ho to mota rangeen ring */
.ph-av:not(.st-ring){box-shadow:0 0 0 3px #fff,0 0 0 4.5px #dfe3ec}
.ph-av.st-ring{box-shadow:0 0 0 4px #fff}
.ph-av.st-ring::before{content:'';position:absolute;inset:-10px;border-radius:50%;background:var(--st-grad);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 calc(100% - 5.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 calc(100% - 5.5px));pointer-events:none;z-index:0;animation:stSpin 8s linear infinite}
.ph-av.st-ring::after{content:'';position:absolute;inset:-10px;border-radius:50%;pointer-events:none;animation:stPulse 2.2s ease-out infinite}
.ph-av.st-ring.st-hid::before{background:#cbd2df;animation:none}
.ph-av.st-ring.st-hid::after{animation:none}
.ph-top .ph-av.st-ring{margin:6px}
/* public profile #/u/<handle> big DP */
.pf-av.big.st-ring{overflow:visible;cursor:pointer;box-shadow:0 0 0 4px #fff;margin:6px}
.pf-av.big.st-ring img{border-radius:50%}
.pf-av.big.st-ring::before{content:'';position:absolute;inset:-10px;border-radius:50%;background:var(--st-grad);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 calc(100% - 5.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 calc(100% - 5.5px));pointer-events:none;animation:stSpin 8s linear infinite}
.pf-av.big.st-ring:not(.st-seen)::after{content:'';position:absolute;inset:-10px;border-radius:50%;pointer-events:none;animation:stPulse 2.2s ease-out infinite}
.pf-av.big.st-ring.st-seen::before{background:#c3c9d4;animation:none;-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px))}
/* home stories row: story wale gole bade + mota ring; dekhi hui = grey */
.st-home .m-story{width:78px}
.st-home .m-story small{max-width:80px;font-weight:700}
.st-home .m-ring{width:74px;height:74px;box-sizing:border-box}
.st-home .m-ring>span{border-width:3px}
.m-ring.st-on{background:var(--st-grad)!important;padding:4px!important;animation:stPulse 2.2s ease-out infinite}
.m-ring.st-seen{background:#c3c9d4!important;padding:2px!important}
.m-ring.st-seen>span{border-width:4px!important}
.m-ring.st-off{background:#dfe3ec!important;padding:2px!important}
.m-ring.st-off>span{border-width:4px!important}
.st-home .st-pb{top:52px;right:4px;width:26px;height:26px}
/* leaderboard / search / Manch chhoti DP: story ho to rangeen double ring */
.st-rg{box-shadow:0 0 0 2px #fff,0 0 0 4px #ff0069,0 0 0 5.5px #ff9a00!important;cursor:pointer}
.st-rg.st-rgs{box-shadow:0 0 0 2px #fff,0 0 0 3.5px #c3c9d4!important}
.st-dh{font-weight:800;font-size:15px;color:#0c1e35;margin-bottom:4px}
@media (prefers-reduced-motion:reduce){.m-ring.st-on,.ph-av.st-ring::before,.ph-av.st-ring::after,.pf-av.big.st-ring::before,.pf-av.big.st-ring::after{animation:none!important}}

/* s2: home "स्टोरी (N) · सब देखें" section — side-scroll saaf dikhe (aakhri gola aadha kata) */
.st-top{display:none}
body.st-beta .st-top{display:block;margin:0 0 6px}
@media (min-width:769px){body.st-beta .st-top{background:#fff;border-radius:16px;box-shadow:0 2px 12px rgba(12,30,53,.07);padding:4px 16px 2px;margin:0 0 18px}.st-top .st-sec .m-stories{margin:0;padding:4px 2px 10px}.st-top .st-h{margin:10px 0 4px;font-weight:800;font-size:16px}}
@media (max-width:768px){.st-top .st-h{margin-top:2px}}
.st-h{display:flex!important;align-items:center;justify-content:space-between;gap:8px}
.st-h>span{display:flex;align-items:center;gap:6px;min-width:0}
.st-h em{font-style:normal;color:#667085;font-weight:700}
.st-new{font-size:11.5px;font-weight:800;color:#fff;background:linear-gradient(90deg,#ff7a00,#ff0069);border-radius:20px;padding:2px 8px;line-height:1.4}
.st-all{display:inline-flex;align-items:center;gap:5px;border:0;background:#fff0f5;color:#d1004f;font:800 13px 'Noto Sans Devanagari','DM Sans',sans-serif;border-radius:18px;padding:6px 12px;cursor:pointer;flex:none}
.st-all svg{width:13px;height:13px}
.st-sec .m-stories{display:flex;gap:0;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:0 -12px;padding:4px 14px 10px}
.st-sec .m-stories::-webkit-scrollbar{display:none}
.st-sec .m-story{flex:none;width:clamp(76px,calc((100vw - 14px)/4.5),96px);display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:#111b21;position:relative;scroll-snap-align:start}
.st-sec .m-ring{width:72px;height:72px;box-sizing:border-box;border-radius:50%;display:block}
.st-sec .m-ring>span{width:100%;height:100%;box-sizing:border-box;border-radius:50%;border:3px solid #fff;background:var(--navy,#0c1e35);color:#fff;display:flex;align-items:center;justify-content:center;font:800 18px 'DM Sans','Noto Sans Devanagari',sans-serif;overflow:hidden}
.st-sec .m-story small{font-size:12px;font-weight:700;max-width:calc(100% - 4px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.st-sec .st-pb{position:absolute;top:50px;left:calc(50% + 12px);width:26px;height:26px;border-radius:50%;background:#f97316;color:#fff;border:2.5px solid #fff;display:flex;align-items:center;justify-content:center}
.st-empty{align-self:center;font-size:12.5px;color:#667085;padding:0 6px 18px;white-space:nowrap}
/* bottom nav Home pe nayi story ka dot */
.st-dot{position:absolute;top:3px;right:14px;width:10px;height:10px;border-radius:50%;background:linear-gradient(135deg,#ff7a00,#ff0069);border:2px solid #fff;box-sizing:content-box}
.m-bnav .pill{position:relative}
/* viewer: agli story ka hint */
.st-nexth{position:absolute;right:10px;top:calc(70px + env(safe-area-inset-top,0px));z-index:4;display:flex;align-items:center;gap:7px;max-width:72%;border:0;border-radius:24px;background:rgba(20,20,20,.62);color:#fff;padding:5px 10px 5px 12px;font-family:inherit;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.st-nexth small{font-size:11.5px;opacity:.8;white-space:nowrap}
.st-nexth b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.st-nexth svg{width:16px;height:16px;flex:none}
.st-nexth em{font-style:normal;font-size:11px;font-weight:800;background:rgba(255,255,255,.22);border-radius:10px;padding:1px 6px}
.st-nav{width:30px;height:30px;border-radius:50%;flex:none;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#f97316;font-weight:800;font-size:12px;box-shadow:0 0 0 2px #ff0069}
.st-nav img{width:100%;height:100%;object-fit:cover}
@media (min-width:769px){.st-sec .m-story{width:92px}}

/* s3: views (apni story) + reactions (dusron ki story) */
.st-view.st-hasfoot .st-capv{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
.st-rxbar{position:absolute;left:0;right:0;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:4;display:flex;justify-content:center;gap:10px;padding:0 10px}
.st-rxb{width:50px;height:50px;border-radius:50%;border:0;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:transform .15s,background .15s}
.st-rxb svg{width:29px;height:29px;pointer-events:none}
.st-rxb:active{transform:scale(.88)}
.st-rxb.on{background:rgba(255,255,255,.95);box-shadow:0 0 0 2px #ff0069}
.st-rxb.pop{animation:stPop .45s ease}
@keyframes stPop{0%{transform:scale(1)}35%{transform:scale(1.35)}100%{transform:scale(1)}}
.st-burst{position:absolute;z-index:6;width:28px;height:28px;pointer-events:none;animation:stBurst 1s ease-out forwards}
.st-burst svg{width:100%;height:100%}
@keyframes stBurst{0%{opacity:1;transform:translate(0,0) scale(.5)}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(var(--sc))}}
.st-seenby{position:absolute;left:12px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:4;display:flex;align-items:center;gap:7px;border:0;border-radius:24px;background:rgba(20,20,20,.62);color:#fff;padding:9px 14px;font-family:inherit;font-size:14.5px;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.st-seenby svg{width:20px;height:20px}
.st-seenby b{font-size:16px}
.st-rxs{display:flex;align-items:center;gap:3px;font-style:normal;margin-left:4px;padding-left:9px;border-left:1px solid rgba(255,255,255,.35)}
.st-rxs svg{width:18px;height:18px}.st-rxs em{font-style:normal;font-weight:800}
.st-vs{z-index:2300}
.st-vs .st-sheet{max-height:72vh}
.st-vtop{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:4px 0 10px;border-bottom:1px solid #eef0f5;margin-bottom:4px}
.st-vcount{display:flex;align-items:center;gap:6px;font-size:14.5px;color:#0c1e35}
.st-vcount svg{width:20px;height:20px;color:#667085}.st-vcount b{font-size:18px}
.st-chips{display:flex;gap:6px;flex-wrap:wrap}
.st-chip{display:inline-flex;align-items:center;gap:4px;background:#f5f6fa;border-radius:16px;padding:4px 9px 4px 6px;font-size:13.5px;color:#0c1e35}
.st-chip svg{width:18px;height:18px}
.st-vrow{display:flex;align-items:center;gap:12px;padding:9px 2px;text-decoration:none;color:#0c1e35;border-bottom:1px solid #f3f4f8}
.st-vrav{width:44px;height:44px;border-radius:50%;flex:none;overflow:hidden;background:#e8ebf5;display:flex;align-items:center;justify-content:center;font-weight:800;color:#0c1e35}
.st-vrav img{width:100%;height:100%;object-fit:cover}
.st-vrb{flex:1;min-width:0;display:flex;flex-direction:column}
.st-vrb b{font-size:15px;display:flex;align-items:center;gap:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-vrb small{font-size:12.5px;color:#667085}
.st-vrx{width:30px;height:30px;flex:none}.st-vrx svg{width:100%;height:100%}
@media (max-width:360px){.st-rxb{width:46px;height:46px}.st-rxbar{gap:8px}}
