*{box-sizing:border-box}.bgks-modal{display:none;position:fixed;inset:0;background:rgba(8,12,16,.78);z-index:100000;align-items:center;justify-content:center;padding:14px;overflow:auto}.bgks-modal.open{display:flex!important}.bgks-modal-box{width:min(680px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:18px;padding:20px;position:relative;box-shadow:0 15px 60px rgba(0,0,0,.35)}.bgks-modal-close,.video-viewer-close{cursor:pointer}.bgks-video-viewer{align-items:center!important;justify-content:center!important}.video-viewer-box{width:min(980px,96vw);max-height:96vh;overflow:auto;background:#fff;border-radius:16px;position:relative;padding:0!important}.video-viewer-box>video{display:block;width:100%;max-height:70vh;min-height:220px;background:#000;object-fit:contain}.video-viewer-info{padding:16px 18px 20px}.video-viewer-info h2{margin:0 0 12px;font-size:22px}.video-viewer-channel{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.video-viewer-channel .channel-subscribe{margin-left:auto}.video-viewer-info p{color:#555;white-space:pre-wrap;margin:12px 0 0}.video-play-overlay{pointer-events:none}.bgks2-app{--green:#078b3e;--blue:#1877f2;--bg:#f1f3f6;--card:#fff;--text:#17202a;--muted:#687078;--line:#e0e3e7;min-height:100vh;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.bgks2-header{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;padding:0 20px;position:sticky;top:0;z-index:30}.bgks2-logo{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--green);min-width:190px}.bgks2-logo span{font-size:29px}.bgks2-logo b{font-size:22px}.bgks2-logo small{display:block;font-size:9px;color:#777}.bgks2-search{height:42px;background:#f0f2f5;border-radius:22px;display:flex;align-items:center;padding:0 14px;gap:8px;width:280px}.bgks2-search input{border:0;outline:0;background:transparent;width:100%;font-size:14px}.desktop-nav{display:flex;flex:1;justify-content:center;height:100%;gap:4px}.desktop-nav button{border:0;background:transparent;min-width:90px;color:#606770;font-size:20px;border-bottom:3px solid transparent}.desktop-nav button small{display:block;font-size:10px}.desktop-nav button.active{color:var(--blue);border-color:var(--blue)}.head-actions{display:flex;align-items:center;gap:10px}.head-actions button{border:0;background:#f0f2f5;border-radius:50%;width:42px;height:42px}.mobile-menu{display:none}.bgks2-shell{max-width:1450px;margin:auto;display:grid;grid-template-columns:235px minmax(430px,720px) 300px;gap:20px;padding:20px}.left-nav{position:sticky;top:88px;height:max-content}.left-nav button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:11px 12px;border-radius:9px;font-size:14px;font-weight:650;color:#30343b}.left-nav button:hover,.left-nav button.active{background:#e5f0ff;color:#1465c0}.mini-profile{display:flex;align-items:center;gap:10px;padding:10px 8px;cursor:pointer}.mini-profile small{display:block;color:#777;font-size:11px}.left-nav hr{border:0;border-top:1px solid var(--line);margin:14px 8px}.nav-label{font-size:11px;color:#888;padding:0 12px}.bgks2-main{min-width:0}.tab{display:none}.tab.active{display:block}.card,.stories-wrap{background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 1px 2px rgba(0,0,0,.04);margin-bottom:16px;overflow:hidden}.stories-wrap{padding:14px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.section-head h2{font-size:17px;margin:0}.section-head button{border:0;background:#e9f4ed;color:var(--green);padding:8px 12px;border-radius:8px;font-weight:700}.stories{display:flex;gap:10px;overflow:auto}.story{min-width:105px;height:150px;border-radius:12px;overflow:hidden;position:relative;background:linear-gradient(135deg,#087f3b,#2aa3d5);color:#fff;padding:9px;display:flex;align-items:flex-end}.story img,.story video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.story:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,rgba(0,0,0,.7))}.story b,.story small{position:relative;z-index:2}.story b{font-size:12px}.create-story{display:flex;align-items:center;justify-content:center;text-align:center;background:#fff;color:#222;border:1px solid var(--line)}.create-story:after{display:none}.create-story .plus{font-size:35px;color:var(--blue);display:block}.composer{padding:14px}.composer-top{display:flex;gap:10px}.composer textarea{flex:1;border:0;background:#f0f2f5;border-radius:22px;padding:12px 16px;resize:none;outline:0;min-height:46px;font-size:15px}.composer-tools{border-top:1px solid var(--line);margin-top:12px;padding-top:9px;display:flex;gap:8px}.composer-tools label,.composer-tools button{border:0;background:transparent;padding:8px;color:#5f6368;cursor:pointer;font-weight:600}.green-btn{width:100%;border:0;background:var(--green);color:#fff;border-radius:8px;padding:11px;font-weight:800;margin-top:8px;cursor:pointer}.upload-preview img,.upload-preview video{max-width:100%;max-height:300px;margin:10px 0;border-radius:9px}.post-user{display:flex;align-items:center;gap:10px;padding:14px}.post-user>button{margin-left:auto;border:0;background:transparent}.post-user small{display:block;color:var(--muted);font-size:11px}.post-text{padding:0 16px 12px;line-height:1.55}.post-media img,.post-media video{display:block;width:100%;max-height:650px;object-fit:contain;background:#000}.post-stats{display:flex;gap:12px;color:#777;font-size:12px;padding:9px 14px}.post-stats span:first-child{margin-right:auto}.post-actions{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}.post-actions button{border:0;background:transparent;padding:11px;font-weight:700;color:#5f6368}.post-actions .liked{color:var(--blue)}.comments{padding:0 14px 12px}.comments>div>div{background:#f0f2f5;border-radius:16px;padding:7px 10px;margin:5px 0;font-size:13px}.comment-form{display:flex;gap:6px}.comment-form input{flex:1;border:0;background:#f0f2f5;border-radius:20px;padding:8px 12px}.comment-form button{border:0;background:var(--blue);color:#fff;border-radius:18px;padding:8px 12px}.right-panel{position:sticky;top:88px;height:max-content}.right-panel h3{padding:14px;margin:0;border-bottom:1px solid var(--line);font-size:14px}.promo{padding:16px}.promo p{color:#777}.promo button{background:var(--green);color:#fff;border:0;padding:8px 12px;border-radius:7px}.right-panel .card>p{padding:0 14px;color:#1465c0}.right-panel .card>p span{float:right;color:#888}.page-title{padding:8px 2px 14px}.page-title h1{margin:0;font-size:25px}.page-title p{margin:4px 0;color:#777}.search-users{display:flex;gap:8px;margin-bottom:12px}.search-users input{flex:1;padding:12px;border:1px solid var(--line);border-radius:9px}.search-users button{border:0;background:var(--green);color:#fff;border-radius:9px;padding:0 18px}.user-result{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);padding:12px;border-radius:12px;margin:8px 0}.user-result small{display:block;color:#777}.friend-btn{margin-left:auto;border:0;background:var(--blue);color:#fff;padding:8px 10px;border-radius:7px}.profile-cover{height:220px;background:linear-gradient(120deg,#087f3b,#72bf44,#f5d36b);position:relative;border-radius:14px 14px 0 0}.cover-pattern{position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.25) 1px,transparent 1px);background-size:14px 14px}.profile-avatar{position:absolute;left:28px;bottom:-52px}.profile-avatar img{border:5px solid #fff;width:110px;height:110px}.profile-avatar label{position:absolute;right:0;bottom:4px;background:#fff;border-radius:50%;padding:8px;box-shadow:0 1px 5px #777;cursor:pointer}.profile-info{padding:65px 22px 18px}.profile-row{display:flex;justify-content:space-between;align-items:flex-start}.profile-row h1{margin:0}.profile-row p{color:#666;max-width:600px}.outline-btn{border:1px solid var(--line);background:#fff;padding:9px 13px;border-radius:8px;font-weight:700}.stats{display:flex;gap:30px;border-top:1px solid var(--line);padding-top:13px;margin-top:10px}.stats span{display:block;color:#777;font-size:11px;font-weight:400}.profile-posts h2{font-size:17px}.empty{text-align:center;padding:35px;color:#777}.market-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.market-grid div{background:#fff;padding:30px;border:1px solid var(--line);border-radius:12px;font-weight:800}.modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:1000;align-items:center;justify-content:center;padding:20px}.modal.open{display:flex}.modal-card{background:#fff;border-radius:14px;padding:22px;width:min(500px,100%);position:relative}.modal-card .close{position:absolute;right:12px;top:8px;border:0;background:#eee;border-radius:50%;width:32px;height:32px;font-size:22px}.modal-card input,.modal-card textarea{width:100%;padding:11px;margin:8px 0 14px;border:1px solid var(--line);border-radius:8px}.bgks2-login-screen{min-height:70vh;display:grid;place-items:center;background:#f1f3f6}.bgks2-login-card{background:#fff;padding:35px;border-radius:15px;text-align:center;box-shadow:0 5px 25px #0001}.bgks2-login-card a{display:block;background:var(--green);color:#fff;padding:10px;border-radius:8px;text-decoration:none;margin:8px}.bgks2-login-card .outline{background:#fff;color:var(--green);border:1px solid var(--green)}.mobile-bottom{display:none}.bgks2-avatar{border-radius:50%;object-fit:cover}
@media(max-width:1050px){.bgks2-shell{grid-template-columns:190px minmax(400px,1fr)}.right-panel{display:none}.desktop-nav{display:none}}
@media(max-width:700px){.bgks2-header{height:58px;padding:0 9px;gap:8px}.mobile-menu{display:block;border:0;background:transparent;font-size:21px}.bgks2-logo{min-width:auto}.bgks2-logo b{font-size:18px}.bgks2-logo small{display:none}.bgks2-search{flex:1;width:auto;height:38px}.head-actions button:first-child{display:none}.bgks2-shell{display:block;padding:8px 7px 75px}.left-nav{display:none}.bgks2-main{width:100%}.stories-wrap,.card{border-radius:10px}.story{min-width:94px;height:135px}.composer-tools{overflow:auto}.composer-tools>*{white-space:nowrap}.mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;height:64px;background:#fff;border-top:1px solid var(--line);z-index:90;justify-content:space-around;align-items:center}.mobile-bottom button{border:0;background:transparent;color:#555;font-size:18px;flex:1;height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.mobile-bottom button span{display:block;font-size:9px}.mobile-bottom button.active{color:var(--blue)}.mobile-bottom #mobile-create{width:44px;height:44px;border-radius:50%;background:var(--green);color:#fff;font-size:27px}.profile-cover{height:175px}.profile-avatar{left:18px}.profile-info{padding:62px 14px 15px}.profile-row{display:block}.outline-btn{margin-top:8px}.post-actions button{font-size:12px}.user-result{flex-wrap:wrap}}

.create-menu-card{max-width:560px}.modal-sub{color:#70757a;margin-top:-8px}.create-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.create-grid button{border:1px solid #e2e5e9;background:#fff;border-radius:12px;padding:16px;text-align:left;cursor:pointer}.create-grid button:hover{border-color:#078b3e;background:#f2fbf5}.create-grid span{display:block;font-size:28px;margin-bottom:7px}.create-grid b{display:block;font-size:15px}.create-grid small{display:block;color:#777;margin-top:3px}.modal-card textarea{min-height:85px;resize:vertical}.modal-card>input[type=file]{width:100%;padding:10px;border:1px dashed #cbd0d6;border-radius:9px;background:#fafafa}.modal-card video{display:block;width:100%;max-height:360px;object-fit:contain;background:#000;border-radius:10px;margin-top:12px}.page-title{position:relative}.page-title .green-btn{width:auto;padding:9px 14px;margin-top:8px}.mobile-bottom{box-shadow:0 -3px 15px rgba(0,0,0,.07)}
@media(max-width:700px){.create-menu-card{border-radius:18px 18px 0 0;margin-bottom:0;align-self:end}.create-grid{grid-template-columns:1fr 1fr}.modal{align-items:flex-end;padding:0}.modal-card{width:100%;border-radius:18px 18px 0 0}.modal-card video{max-height:300px}.bgks2-header .bgks2-search{min-width:0}.bgks2-logo{flex-shrink:0}.bgks2-logo span{font-size:22px}.bgks2-logo b{font-size:16px}}

/* V4 polished Facebook-style mobile skin */
.bgks2-app{background:#f4f6f8}.bgks2-header{height:70px;padding:0 22px;box-shadow:0 1px 8px rgba(20,35,45,.06)}.bgks2-logo b{color:#101820}.bgks2-logo b em{font-style:normal;color:#078b3e}.bgks2-logo small{letter-spacing:.1px}.bgks2-search{background:#f1f3f5;border:1px solid #edf0f2}.bgks2-search span{color:#59636d;font-size:20px}.head-actions button{position:relative;background:#f3f5f6}.head-actions .head-profile{background:transparent;width:42px;height:42px;padding:0}.head-actions .head-profile img{width:36px;height:36px}.badge{position:absolute;right:-2px;top:-3px;background:#e53935;color:#fff;font-style:normal;font-size:9px;line-height:17px;min-width:17px;height:17px;border-radius:10px;border:2px solid #fff}.badge.red{background:#e53935}.stories-wrap{border:0;box-shadow:none;background:transparent;padding:0;margin-bottom:15px}.section-head{padding:0 2px 10px}.section-head h2{font-size:19px;font-weight:800}.section-head button{background:#eaf7ef}.stories{padding:2px 0 5px}.story{box-shadow:0 3px 10px rgba(0,0,0,.07);border:1px solid #e3e7ea}.story:before{content:"";position:absolute;left:7px;top:7px;width:35px;height:35px;border:3px solid #1976d2;border-radius:50%;z-index:3;background:#fff8}.story.create-story{background:#fff;border:1px solid #e0e5e8;color:#17202a;align-items:center;justify-content:center}.story.create-story:before{display:none}.story.create-story .plus{font-size:34px;line-height:1;color:#1877f2;background:#eef5ff;border-radius:50%;width:48px;height:48px;text-align:center}.story.create-story b{margin-top:7px}.story.create-story small{font-size:9px;color:#777}.composer{border-radius:14px}.composer-top textarea{background:#f2f4f7}.composer-tools{justify-content:space-around}.composer-tools label,.composer-tools button{font-size:13px}.post{border-radius:14px}.post-user{padding:14px 16px}.post-text{font-size:15px}.post-stats{padding:10px 16px}.post-actions button{font-size:14px}.mobile-bottom{height:68px;background:rgba(255,255,255,.98);backdrop-filter:blur(12px);box-shadow:0 -3px 18px rgba(0,0,0,.08)}.mobile-bottom button{font-size:20px;min-width:62px}.mobile-bottom button span{font-size:10px;font-weight:600}.mobile-bottom #mobile-create{width:48px;height:48px;box-shadow:0 5px 15px rgba(0,130,55,.28)}.modal{background:rgba(10,18,25,.62);backdrop-filter:blur(3px)}.create-menu-card{border-radius:22px 22px 0 0;padding:20px 16px 22px}.create-grid button{box-shadow:0 2px 8px rgba(0,0,0,.04);min-height:110px}.create-grid span{font-size:30px}.create-grid b{font-size:14px}.create-grid small{font-size:11px}.page-title h1{font-size:27px}.green-btn{box-shadow:0 3px 8px rgba(0,120,50,.18)}
@media(max-width:700px){
 .bgks2-header{height:60px;padding:0 10px;gap:7px}.mobile-menu{font-size:23px}.bgks2-logo{gap:5px}.bgks2-logo span{font-size:24px}.bgks2-logo b{font-size:16px}.bgks2-search{width:42px;flex:0 0 42px;padding:0 11px}.bgks2-search input{display:none}.bgks2-search span{font-size:19px}.head-actions{gap:4px}.head-actions button{width:37px;height:37px}.head-actions .chat-head{display:block}.bgks2-shell{padding:10px 7px 82px}.stories-wrap{margin-bottom:12px}.stories{gap:8px}.story{min-width:96px;height:140px}.composer{margin-bottom:12px}.composer-tools{gap:2px}.composer-tools label,.composer-tools button{padding:8px 5px;font-size:11px}.post-user{padding:12px}.post-text{padding:0 13px 10px}.post-actions button{padding:12px 5px}.post-actions{position:relative}.modal-card{padding:20px 15px 24px}.create-grid{gap:8px}.create-grid button{min-height:100px;padding:12px}.mobile-bottom{height:68px}
}

/* V5 reference-match skin */
body.bgks2-social-page .entry-title,
body.bgks2-social-page .wp-block-post-title,
body.bgks2-social-page .page-title:not(.bgks2-app .page-title),
body.bgks2-social-page .site-main>header{display:none!important}
body.bgks2-social-page .site-main,body.bgks2-social-page .content-area,body.bgks2-social-page .entry-content{margin:0!important;padding:0!important;max-width:none!important}
.bgks2-app{max-width:100%;min-height:100vh;background:#f6f7f9}
.bgks2-header{height:64px;border-bottom:1px solid #e7e9ec;padding:0 18px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.bgks2-logo b{font-weight:800}.bgks2-logo b em{font-weight:500}
.bgks2-search{width:250px;height:40px}
.desktop-nav button{font-size:21px}
.bgks2-shell{max-width:1200px;grid-template-columns:210px minmax(0,650px) 270px;gap:14px;padding:14px}
.stories-wrap{padding:0;background:transparent}.section-head{padding:0 2px 8px}.stories{padding-bottom:2px}
.story{min-width:104px;height:150px}.story-name{position:absolute;left:9px;bottom:24px;z-index:4;font-weight:800;font-size:12px}.real-story small{position:absolute;left:9px;bottom:9px;z-index:4;color:#fff}
.real-story:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 35%,rgba(0,0,0,.75));z-index:1}
.real-story img,.real-story video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.real-story:before{z-index:4}
.create-story{box-shadow:0 2px 8px rgba(0,0,0,.06)}
.composer-tools{border-top:1px solid #eceef1}.composer-tools label,.composer-tools button{flex:1;text-align:center}
.create-menu-card{max-width:640px;padding:20px 18px 22px}.create-grid{grid-template-columns:repeat(5,1fr);gap:9px}
.create-grid button{min-height:118px;text-align:center;padding:14px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.create-grid .ci{width:45px;height:45px;border-radius:12px;display:grid;place-items:center;font-weight:900;font-size:22px;margin-bottom:8px}
.create-grid .ci.blue{background:#edf4ff;color:#2374e1}.create-grid .ci.green{background:#edf9f1;color:#138a43}.create-grid .ci.pink{background:#fff0f6;color:#e43e89}.create-grid .ci.red{background:#fff0f0;color:#e53935;font-size:10px}.create-grid .ci.purple{background:#f2efff;color:#7655e8}
.create-grid b{font-size:12px}.create-grid small{font-size:9px;color:#777;margin-top:4px}
@media(max-width:700px){
 .bgks2-header{height:58px;padding:0 8px}.bgks2-shell{padding:8px 6px 82px;max-width:none}.right-panel,.left-nav{display:none}
 .bgks2-search{width:40px;flex-basis:40px}.desktop-nav{display:none}.head-actions .chat-head{display:block}
 .stories-wrap{margin-top:2px}.stories{gap:7px}.story{min-width:94px;height:142px}
 .composer-tools{overflow:hidden}.composer-tools label,.composer-tools button{min-width:25%;font-size:11px;padding:8px 2px}
 .create-menu-card{width:100%;border-radius:22px 22px 0 0;padding:20px 10px 18px}.create-grid{grid-template-columns:repeat(5,1fr);gap:5px}.create-grid button{min-height:98px;padding:8px 3px;border-radius:12px}.create-grid .ci{width:40px;height:40px}.create-grid b{font-size:10px}.create-grid small{display:none}
}

/* V6 exact mobile reference skin */
.bgks2-app{background:#f5f6f7;max-width:100%;overflow-x:hidden}
.bgks2-header{height:62px;padding:0 14px;background:#fff;border-bottom:1px solid #e3e6e8;box-shadow:0 1px 5px rgba(0,0,0,.04)}
.bgks2-logo{min-width:auto;gap:6px}.bgks2-logo span{font-size:24px}.bgks2-logo b{font-size:20px}.bgks2-logo b em{color:#078b3e}.bgks2-logo small{display:none}
.bgks2-search{width:44px;height:44px;padding:0;justify-content:center;border:0;background:#f1f3f5;border-radius:50%}.bgks2-search input{display:none}.bgks2-search span{font-size:23px}
.desktop-nav{display:none}.head-actions{gap:7px;margin-left:auto}.head-actions button{width:42px;height:42px;background:#f1f3f5}.head-actions .head-profile{background:transparent}
.bgks2-shell{max-width:760px;display:block;padding:10px 8px 82px}.left-nav,.right-panel{display:none}
.bgks2-main{width:100%}
.stories-wrap{background:#fff;border:1px solid #e2e5e8;border-radius:15px;padding:13px 10px 10px;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.section-head{padding:0 3px 9px}.section-head h2{font-size:18px}.section-head button{font-size:12px;padding:8px 10px}
.stories{gap:9px}.story{min-width:108px;height:160px;border-radius:13px}.story.create-story{min-width:220px;display:grid;grid-template-columns:58px 1fr;grid-template-rows:1fr 1fr;column-gap:10px;padding:18px;text-align:left;justify-content:center}
.story.create-story .plus{grid-row:1/3;align-self:center;width:58px;height:58px;line-height:54px;font-size:40px}.story.create-story b{align-self:end;margin:0;font-size:15px}.story.create-story small{align-self:start;font-size:10px;color:#7a7f84}.story:not(.create-story) b{font-size:13px}.story:not(.create-story) small{position:relative;z-index:3;font-size:10px}
.composer{border-radius:15px;padding:14px;margin-top:10px}.composer-top textarea{min-height:52px;font-size:15px;background:#f1f3f6}.composer-tools{border-top:1px solid #eceeef;margin-top:12px;padding-top:9px;gap:0;justify-content:space-between}.composer-tools label,.composer-tools button{font-size:12px;padding:9px 6px}.composer .green-btn{height:47px;font-size:17px;border-radius:10px;margin-top:8px}
.action-msg{display:none}
.post{border-radius:15px;margin-top:10px}.post-user{padding:14px}.post-text{padding:0 15px 10px;font-size:16px}.post-media img,.post-media video{max-height:none}.post-stats{padding:10px 15px}.post-actions button{font-size:13px}
.mobile-bottom{height:68px;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #e0e3e6;box-shadow:0 -2px 12px rgba(0,0,0,.06)}
.mobile-bottom button{font-size:21px}.mobile-bottom button span{font-size:10px}.mobile-bottom #mobile-create{width:54px;height:54px;margin-top:-13px;font-size:32px}
.modal{z-index:99999}.create-menu-card{padding-top:24px}.live-card{text-align:center}.live-icon{font-size:42px;margin-bottom:6px}.live-card p{color:#6d747b;line-height:1.5}
@media(min-width:701px){.bgks2-shell{grid-template-columns:1fr;max-width:900px}.bgks2-main{max-width:720px;margin:auto}}
@media(max-width:700px){
 .bgks2-header{position:sticky;top:0;z-index:100}.bgks2-logo b{font-size:17px}.head-actions button{width:38px;height:38px}.head-actions .chat-head{display:block}
 .bgks2-shell{padding:8px 6px 82px}.stories-wrap{margin-top:2px}.story.create-story{min-width:210px;height:145px}.story{height:145px;min-width:98px}
 .composer-tools{overflow:hidden}.composer-tools label,.composer-tools button{font-size:11px;white-space:nowrap}.post-text{font-size:15px}
}

/* V7 authentication UI */
.bgks2-auth{min-height:calc(100vh - 20px);background:linear-gradient(135deg,#f4fbf6 0%,#f5f7fa 48%,#eaf5ee 100%);padding:38px 18px 24px;color:#17202a;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.auth-brand{text-align:center;margin-bottom:22px}.auth-logo{font-size:44px}.auth-brand h1{margin:2px 0 4px;font-size:32px;color:#111}.auth-brand h1 span{color:#078b3e}.auth-brand p{margin:0;color:#697078}
.auth-shell{max-width:1050px;margin:auto;display:grid;grid-template-columns:1.1fr .9fr;gap:30px;align-items:center}
.auth-hero{padding:30px}.auth-hero h2{font-size:39px;line-height:1.12;margin:0 0 14px}.auth-hero p{font-size:17px;color:#626b72;line-height:1.6}.auth-features{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.auth-features span{background:#fff;border:1px solid #e2e8e4;padding:9px 12px;border-radius:20px;font-size:13px;box-shadow:0 2px 8px #00000008}
.auth-card{background:#fff;border:1px solid #e1e5e8;border-radius:18px;padding:20px;box-shadow:0 12px 35px rgba(25,50,35,.1)}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e7e9eb;margin-bottom:18px}.auth-tabs button{border:0;background:transparent;padding:13px;font-size:15px;font-weight:800;color:#777;border-bottom:3px solid transparent}.auth-tabs button.active{color:#078b3e;border-color:#078b3e}
.auth-form{display:none}.auth-form.active{display:block}.auth-form h2{margin:2px 0 4px;font-size:23px}.auth-muted{color:#777;font-size:13px;margin:0 0 16px}.auth-form label{display:block;font-size:12px;font-weight:700;color:#4e565d;margin:10px 0}.auth-form label small{font-weight:400;color:#888}.auth-form input:not([type=checkbox]){display:block;width:100%;margin-top:6px;padding:12px 13px;border:1px solid #d8dde1;border-radius:9px;outline:0;font-size:14px;background:#fff}.auth-form input:focus{border-color:#078b3e;box-shadow:0 0 0 3px #078b3e12}.password-wrap{position:relative}.password-wrap input{padding-right:45px!important}.toggle-pass{position:absolute;right:7px;top:7px;border:0;background:#f3f5f6;border-radius:7px;width:35px;height:35px;cursor:pointer}.remember,.terms{display:flex!important;align-items:flex-start;gap:7px;font-weight:500!important}.remember input,.terms input{margin-top:2px}.auth-submit{width:100%;border:0;background:#078b3e;color:#fff;padding:12px;border-radius:9px;font-size:15px;font-weight:800;cursor:pointer;margin-top:8px}.auth-submit:disabled{opacity:.6}.forgot-btn{width:100%;border:0;background:transparent;color:#1269d3;padding:10px;font-weight:700;cursor:pointer}.auth-message{min-height:20px;text-align:center;font-size:13px;margin-top:6px}.auth-message.error{color:#c62828}.auth-message.success{color:#087a38}.auth-footer{text-align:center;color:#81878c;font-size:11px;margin-top:20px}
@media(max-width:800px){.bgks2-auth{padding:20px 10px}.auth-shell{display:block}.auth-hero{padding:10px 8px 20px;text-align:center}.auth-hero h2{font-size:27px}.auth-hero p{font-size:14px}.auth-features{justify-content:center}.auth-card{border-radius:15px}.auth-brand h1{font-size:27px}.auth-logo{font-size:36px}}

/* V8 OTP registration */
.otp-mobile-row,.otp-verify-row{display:flex;gap:7px;margin-top:6px}.otp-mobile-row input,.otp-verify-row input{flex:1!important;margin:0!important}.otp-mobile-row button,.otp-verify-row button{border:0;background:#eef6f0;color:#087a38;border-radius:8px;padding:0 11px;font-weight:800;white-space:nowrap}.otp-mobile-row button:disabled,.otp-verify-row button:disabled{opacity:.6}.otp-status{font-size:11px;color:#c62828;margin-top:6px;min-height:16px}.otp-status.ok{color:#087a38}

/* V9.0.1 affiliate + compact drawer */
.affiliate-banner{padding:16px;display:flex;align-items:center;justify-content:space-between}.affiliate-banner>div{display:flex;gap:10px;align-items:center}.affiliate-wallet{font-size:34px}.affiliate-banner small{display:block;color:#777;margin-top:3px}.affiliate-code{background:#eaf7ef;color:#087a38;padding:8px 12px;border-radius:20px;font-weight:800}.affiliate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.affiliate-card{overflow:hidden}.affiliate-card>img,.affiliate-placeholder{width:100%;height:150px;object-fit:cover;background:#eef4f0}.affiliate-placeholder{display:grid;place-items:center;font-size:55px}.affiliate-body{padding:14px}.affiliate-body h3{margin:0 0 6px}.affiliate-body p{font-size:13px;color:#6d747a;min-height:35px}.commission{display:inline-block;background:#fff3cd;color:#856404;padding:5px 8px;border-radius:6px;font-size:11px;font-weight:800}.affiliate-body .green-btn{margin-top:10px}.bgks2-drawer{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:100000}.bgks2-drawer.open{display:block}.drawer-card{position:absolute;left:0;top:0;bottom:0;width:min(320px,86vw);background:#fff;padding:18px;box-shadow:8px 0 30px #0002}.drawer-close{float:right;border:0;background:#f1f3f5;border-radius:50%;width:35px;height:35px;font-size:22px}.drawer-user{display:flex;gap:10px;align-items:center;padding:12px 0 18px;border-bottom:1px solid #eee;margin-bottom:10px}.drawer-user small{display:block;color:#777}.drawer-card>button:not(.drawer-close){display:block;width:100%;text-align:left;border:0;background:transparent;padding:13px 8px;border-radius:8px;font-size:14px;font-weight:700}.drawer-card>button:not(.drawer-close):hover{background:#f1f5f3}
@media(max-width:700px){.affiliate-grid{grid-template-columns:1fr}.affiliate-banner{align-items:flex-start}.affiliate-code{font-size:11px}.affiliate-card>img,.affiliate-placeholder{height:175px}}

/* V10 standalone homepage: BG Kisan Social becomes the website home */
html,body.bgks2-standalone{margin:0!important;padding:0!important;background:#f4f6f8!important}
body.bgks2-standalone>header,
body.bgks2-standalone>footer,
body.bgks2-standalone .site-header,
body.bgks2-standalone .site-footer,
body.bgks2-standalone .wp-site-blocks>header,
body.bgks2-standalone .wp-site-blocks>footer,
body.bgks2-standalone .entry-header,
body.bgks2-standalone .breadcrumbs,
body.bgks2-standalone .breadcrumb,
body.bgks2-standalone .page-header{display:none!important}
body.bgks2-standalone .bgks2-app{min-height:100vh;width:100%;margin:0!important}
body.bgks2-standalone .bgks2-header{position:sticky;top:0;z-index:100001}
body.bgks2-standalone .bgks2-shell{padding-top:10px}
body.bgks2-standalone .bgks2-auth{min-height:100vh;margin:0!important}
@media(max-width:700px){
 body.bgks2-standalone .bgks2-header{top:0}
 body.bgks2-standalone .bgks2-shell{padding-left:6px;padding-right:6px}
}

/* V10.1 functional story/live fixes */
#story-modal,#reel-modal,#create-modal,#live-modal{z-index:999999}
.live-card{max-width:560px;text-align:center}.live-card #live-camera{width:100%;max-height:55vh;min-height:220px;background:#111;border-radius:12px;object-fit:cover;margin:8px 0}.live-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:10px}.live-actions button{min-width:120px}.outline-btn{border:1px solid #078b3e;background:#fff;color:#078b3e;padding:10px 14px;border-radius:9px;font-weight:800}.live-status{font-size:13px;color:#555;margin:8px 0}.live-note{font-size:11px;color:#888;line-height:1.5}.modal.open{display:flex!important}
@media(max-width:700px){.live-card{width:100%;padding:15px}.live-card #live-camera{min-height:260px}.live-actions button{flex:1;min-width:0}}
/* V11 real-time WebRTC Live UI */
#live-now-wrap{margin-bottom:10px}.live-now-card{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-left:4px solid #e53935}.live-now-card>div{display:flex;align-items:center;gap:9px}.live-now-card small{display:block;color:#777;font-size:11px}.live-dot{display:inline-block;width:11px;height:11px;background:#e53935;border-radius:50%;box-shadow:0 0 0 4px #e5393520}.watch-live-card{max-width:700px}.watch-title{display:flex;align-items:center;gap:9px}.watch-title h2{margin:0}.watch-live-card video{width:100%;max-height:70vh;background:#000;border-radius:12px;margin-top:10px}.live-card video{width:100%;max-height:50vh;background:#111;border-radius:12px;display:block;margin:10px 0}.live-note{font-size:11px;color:#777}.live-actions{display:flex;gap:8px;flex-wrap:wrap}.live-actions button{flex:1;min-width:130px}
@media(max-width:700px){.live-now-card{padding:12px}.live-now-card .green-btn{font-size:12px;padding:9px}.watch-live-card{padding:14px}.live-actions{display:grid;grid-template-columns:1fr 1fr}.live-actions button{min-width:0}}

/* V12 Share + Live controls */
.live-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.live-tool,.share-option{border:1px solid #d8e5dc;background:#f4faf6;color:#087a38;border-radius:10px;padding:12px;font-weight:800;font-size:14px}.live-tool:disabled{opacity:.45}.share-card{text-align:center}.share-card h2{margin-bottom:6px}.share-card p{color:#777}.share-option{display:block;width:100%;margin:9px 0;background:#fff;border-color:#dfe4e7;color:#20252a}.share-option:hover{background:#f4faf6}.share-card .live-status{min-height:20px;margin-top:8px}
@media(max-width:700px){.live-tools{gap:8px}.live-tool{font-size:12px;padding:11px 6px}.live-actions{display:grid;grid-template-columns:1fr;gap:8px}.share-card{padding:22px 16px}}

/* V14 Live controls: force readable labels and clear state */
.live-card .live-actions button,.live-card .live-tools button{font-family:inherit!important;white-space:nowrap!important;overflow:visible!important;text-indent:0!important;line-height:1.25!important;letter-spacing:0!important;opacity:1}
.live-card .live-actions .green-btn,.live-card .live-actions .outline-btn{display:flex!important;align-items:center!important;justify-content:center!important;min-height:52px!important;font-size:15px!important;color:#fff!important;background:#078b3e!important;padding:12px 14px!important}
.live-card .live-actions #stop-live{background:#fff!important;color:#078b3e!important;border:1px solid #078b3e!important}
.live-card .live-tools .live-tool{display:flex!important;align-items:center!important;justify-content:center!important;min-height:50px!important;font-size:14px!important;color:#087a38!important}
.live-card .live-tools .live-tool:disabled{opacity:.48!important}
.live-card #start-camera{background:#078b3e!important;color:#fff!important}
.live-card #start-live:disabled{background:#dce9e0!important;color:#6e7772!important}
.live-card #stop-live:disabled{background:#f7f8f8!important;color:#a2a7a4!important;border-color:#dfe4e1!important}
.live-card #live-status{font-size:14px!important;min-height:22px!important;font-weight:600}
@media(max-width:700px){.live-card .live-actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}.live-card .live-actions button{width:100%!important}.live-card .live-tools{display:grid!important;grid-template-columns:1fr 1fr!important}.live-card #live-camera{min-height:300px!important}}
.group-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.group-create-btn{width:auto;margin:0}.group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.group-card{overflow:hidden}.group-cover{height:125px;background:linear-gradient(135deg,#078b3e,#72bf44,#f5d36b);display:grid;place-items:center;overflow:hidden}.group-cover img{width:100%;height:100%;object-fit:cover}.group-cover span{font-size:50px}.group-body{padding:14px}.group-body h3{margin:0 0 5px}.group-body p{color:#6d747a;font-size:13px;min-height:35px}.group-meta{color:#777;font-size:12px;margin:8px 0}.group-actions .green-btn{margin:0}.group-actions .outline-btn{width:100%}.market-grid button{cursor:pointer;text-align:center;border:1px solid var(--line);background:#fff;padding:28px;border-radius:12px;font-size:30px}.market-grid button b,.market-grid button small{display:block}.market-grid button b{font-size:18px;margin-top:7px}.market-grid button small{font-size:11px;color:#777;margin-top:3px}.market-grid button.selected{outline:3px solid #078b3e;background:#f2fff6}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.product-card{overflow:hidden}.product-thumb{width:100%;height:170px;object-fit:cover;display:block;background:#f3f3f3}.product-body{padding:12px}.product-body h3{margin:0 0 8px;font-size:16px}.product-price{font-weight:800;color:#078b3e}.product-view{display:block;text-align:center;text-decoration:none}.product-view:hover{color:#fff}@media(max-width:700px){.group-grid,.product-grid{grid-template-columns:1fr}.group-head{align-items:flex-start}.market-grid{grid-template-columns:repeat(2,1fr)}}

/* V16 real story viewer */
.story-viewer{z-index:1000000;background:rgba(0,0,0,.78);padding:14px}.story-viewer-card{width:min(520px,96vw);height:min(88vh,760px);background:#111;color:#fff;border-radius:18px;position:relative;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 12px 45px rgba(0,0,0,.35)}.story-view-close{position:absolute;right:12px;top:12px;z-index:5;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.9);font-size:26px;line-height:1;color:#222}.story-view-head{display:flex;gap:10px;align-items:center;padding:14px 54px 12px 14px;background:linear-gradient(#111,transparent);position:absolute;top:0;left:0;right:0;z-index:4}.story-view-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#1877f2;color:#fff}.story-view-head small{display:block;color:#ccc;font-size:11px;margin-top:2px}.story-view-content{flex:1;display:flex;align-items:center;justify-content:center;min-height:0}.story-view-media{width:100%;height:100%;object-fit:contain;background:#000}.story-text-only{padding:30px;text-align:center;font-size:28px;line-height:1.35;background:linear-gradient(135deg,#087f3b,#1976d2);width:100%;height:100%;display:grid;place-items:center}.story-view-text{padding:10px 16px 14px;text-align:center;font-size:14px;color:#eee;background:#111}.real-story{cursor:pointer}

/* V17 Facebook-style Hindi story composer */
.create-story{min-width:250px!important;height:155px!important;display:grid!important;grid-template-columns:62px 1fr;grid-template-rows:1fr 1fr;column-gap:12px;align-items:center;justify-content:start!important;padding:18px!important;text-align:left!important;background:#fff!important;color:#17202a!important}
.create-story .create-story-avatar{grid-row:1/3;align-self:center;position:relative;width:58px;height:58px;display:block}
.create-story .create-story-avatar img{position:static!important;width:58px!important;height:58px!important;border-radius:50%!important;object-fit:cover!important;border:2px solid #fff;box-shadow:0 1px 5px rgba(0,0,0,.15)}
.create-story .plus{position:absolute;left:49px;top:55px;z-index:5;width:30px;height:30px;line-height:28px;text-align:center;border:3px solid #fff;border-radius:50%;background:#1877f2;color:#fff!important;font-size:24px!important;font-weight:700}
.create-story b{align-self:end!important;margin:0!important;font-size:16px!important;font-weight:800!important}.create-story small{align-self:start!important;color:#65676b!important;font-size:11px!important;margin-top:3px}
.story.real-story{min-width:108px;height:155px}.story.real-story .story-name{font-weight:800}
@media(max-width:700px){.create-story{min-width:245px!important;height:155px!important}.story.real-story{min-width:108px;height:155px}.section-head h2{font-size:19px}}



/* V19 */
.post-user{position:relative}.post-author-link{cursor:pointer}.public-profile-card{text-align:center;max-width:430px}.public-avatar{margin:5px auto 10px}.public-profile-card h2{margin:0;font-size:28px}.public-bio{color:#667085;margin:8px 0 18px}.public-stats{display:flex;justify-content:center;gap:50px;margin:10px 0 20px}.public-stats b{font-size:20px}.public-stats span{display:block;font-size:12px;color:#777;font-weight:500}.public-follow{min-width:180px}.profile-loading{text-align:center;padding:40px;color:#777}

/* V20 profile/delete polish */
.post-author-avatar{cursor:pointer;flex:0 0 auto}.post-author-link{cursor:pointer}.post-user{align-items:center}

/* V25: mobile bottom create button must stay green/visible */
@media(max-width:700px){
  .mobile-bottom #mobile-create{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:54px!important;height:54px!important;margin-top:-13px!important;
    border-radius:50%!important;border:0!important;
    background:#078b3e!important;color:#fff!important;
    -webkit-appearance:none!important;appearance:none!important;
    box-shadow:0 5px 15px rgba(0,130,55,.28)!important;
    opacity:1!important;visibility:visible!important;
  }
  .mobile-bottom #mobile-create::first-letter{color:#fff!important;}
}
.drawer-card #bgks-account-switch{font-weight:700;}
/* V26 fixes: cover upload, email OTP and mobile create button */
.profile-cover{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;overflow:visible}
.cover-upload{position:absolute;right:16px;bottom:16px;z-index:4;background:#fff;color:#087a38!important;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;box-shadow:0 2px 10px rgba(0,0,0,.22);cursor:pointer;font-size:20px}
.cover-upload input{display:none!important}
.email-otp-row{display:flex;gap:8px;align-items:center;margin:8px 0 5px}.email-otp-row input{flex:1!important;margin:0!important}.email-otp-row button{border:0;background:#087a38;color:#fff;border-radius:8px;padding:11px 13px;font-weight:800;white-space:nowrap}
#mobile-create{background:#078b3e!important;color:#fff!important;border-radius:50%!important;width:50px!important;height:50px!important;min-width:50px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:30px!important;line-height:1!important;box-shadow:0 2px 12px rgba(0,0,0,.18)!important;opacity:1!important;visibility:visible!important}
@media(max-width:700px){.cover-upload{right:10px;bottom:10px}.email-otp-row{align-items:stretch}.email-otp-row button{padding:10px 10px}}

.bgks-google-signin{margin:10px 0 12px;display:flex;justify-content:center;min-height:44px}.google-or{display:flex;align-items:center;gap:10px;margin:10px 0;color:#777;font-size:13px}.google-or:before,.google-or:after{content:'';height:1px;background:#ddd;flex:1}.google-config-note{padding:12px;border:1px dashed #bbb;border-radius:10px;background:#fafafa;color:#666;font-size:13px;margin:10px 0}.auth-card .g_id_signin iframe{max-width:100%}

/* V26.3 profile/search fixes */
.user-result{cursor:pointer}.user-result-avatar{flex:0 0 auto;cursor:pointer}.user-result-info{min-width:0;cursor:pointer}.user-result-info b{display:block}.public-profile-card{overflow:hidden;padding:0 0 22px}.public-cover{height:150px;background-size:cover;background-position:center;background-repeat:no-repeat;background-color:#e9edf0}.public-avatar{margin-top:-43px;position:relative;z-index:2}.public-avatar img{width:86px!important;height:86px!important;border:5px solid #fff;border-radius:50%;object-fit:cover;background:#eee;box-shadow:0 2px 8px rgba(0,0,0,.15)}.public-profile-card h2,.public-profile-card .public-bio,.public-profile-card .public-stats,.public-profile-card .public-follow,.public-profile-card .outline-btn{margin-left:20px;margin-right:20px}.bgks2-search{cursor:text}.bgks2-search span{cursor:pointer}
/* V26.4 profile-link fix */
.user-profile-link{border:0;background:transparent;text-align:left;padding:0;font:inherit;color:inherit;cursor:pointer}
.user-profile-link:focus-visible{outline:2px solid #1877f2;outline-offset:2px;border-radius:8px}
.user-result-avatar{display:block}
.user-result-info{flex:1;min-width:0}
.user-result-info b,.user-result-info small{pointer-events:none}
/* V27 fixes */
user-profile-link,.post-author-link{cursor:pointer!important}.user-result-info{background:transparent;border:0;text-align:left}.user-result-avatar{background:transparent;border:0;padding:0}.public-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:14px}.public-actions button{min-height:42px}.friend-requests-list{display:grid;gap:10px}.request-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e3e7ea;border-radius:14px;padding:10px}.request-info{flex:1}.request-info button{display:block;border:0;background:transparent;font-weight:800;font-size:15px;padding:0;cursor:pointer}.request-info small{display:block;color:#777;margin-top:3px}.messages-card{max-width:900px;width:95vw}.messages-layout{display:grid;grid-template-columns:280px 1fr;min-height:520px;border:1px solid #e2e6e9;border-radius:14px;overflow:hidden}.chat-users{background:#f6f8f9;padding:8px;overflow:auto}.chat-users .user-result{margin:5px 0}.chat-users .friend-btn{display:none}.chat-panel{display:flex;flex-direction:column;min-width:0}.chat-headline{padding:14px;font-weight:800;border-bottom:1px solid #e5e7ea}.chat-list{flex:1;padding:14px;overflow:auto;background:#fafbfc}.chat-bubble{max-width:75%;padding:9px 12px;border-radius:15px;margin:7px 0;background:#e9eef2}.chat-bubble.mine{margin-left:auto;background:#dff5e7}.chat-bubble small{display:block;font-size:9px;color:#777;margin-top:3px}.chat-compose{display:flex;gap:8px;padding:10px;border-top:1px solid #e5e7ea}.chat-compose input{flex:1;border:1px solid #ddd;border-radius:10px;padding:11px}.call-card{max-width:760px;width:94vw}.call-videos{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#111;border-radius:14px;padding:10px}.call-videos video{width:100%;height:260px;object-fit:cover;background:#000;border-radius:10px}.call-actions{display:flex;justify-content:center;gap:8px;margin-top:12px}.chat-empty{color:#777;text-align:center;padding:30px}@media(max-width:700px){.messages-layout{grid-template-columns:1fr;min-height:70vh}.chat-users{max-height:170px}.call-videos{grid-template-columns:1fr}.call-videos video{height:220px}.public-actions button{flex:1 1 42%}.request-row{flex-wrap:wrap}}

/* V30 message/profile fix */
.user-result-actions{margin-left:auto;display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.user-result-actions .friend-btn{margin-left:0}.chat-open,.blue-btn{border:0!important;background:#1877f2!important;color:#fff!important;border-radius:8px!important;padding:9px 11px!important;font-weight:800!important;cursor:pointer!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px}.public-actions{padding:0 20px 8px}.public-actions .green-btn,.public-actions .blue-btn{width:auto!important;flex:1 1 42%;margin:0!important}.chat-compose{display:flex!important;align-items:center!important;gap:8px!important}.chat-compose input{min-width:0!important;flex:1 1 auto!important}.chat-compose #chat-send{display:flex!important;flex:0 0 auto!important;width:auto!important;min-width:74px!important;height:44px!important;margin:0!important;background:#078b3e!important;color:#fff!important;border:0!important;border-radius:10px!important;align-items:center!important;justify-content:center!important;font-weight:800!important;opacity:1!important;visibility:visible!important}.chat-users .chat-open{display:inline-flex!important;margin-left:4px}.messages-card{overflow:hidden}.messages-layout{overflow:hidden}.chat-list{min-height:180px}@media(max-width:700px){.user-result{align-items:flex-start}.user-result-actions{width:100%;margin-left:62px;justify-content:flex-start}.user-result-actions .friend-btn,.user-result-actions .chat-open{font-size:11px;padding:8px 9px!important}.public-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;padding:0 14px 8px}.public-actions .green-btn,.public-actions .blue-btn{width:100%!important}.messages-layout{display:flex!important;flex-direction:column!important;min-height:72vh}.chat-users{flex:0 0 auto;max-height:190px}.chat-panel{flex:1 1 auto;min-height:330px}.chat-list{min-height:180px}.chat-compose{position:sticky;bottom:0;background:#fff;z-index:5}.chat-compose #chat-send{min-width:68px!important}}
/* V31: reliable Facebook-style notifications, profile links and chat actions */
#friend-requests-list{display:grid;gap:10px}
#friend-requests-list:empty{display:none}
#friend-requests-list .request-row{cursor:default}
#friend-requests-list .user-profile-link{cursor:pointer!important;color:#17202a;text-decoration:none}
.chat-users .user-result-actions{display:flex!important}
.chat-users .chat-open{display:inline-flex!important;visibility:visible!important;opacity:1!important}


/* V36 Facebook-style public profiles + real Reels feed */
.public-profile-card{max-width:900px!important;width:min(900px,96vw)!important;padding:0!important;max-height:92vh;overflow:auto;text-align:left}
.facebook-public-profile{background:#f4f6f8;min-height:100%;padding-bottom:20px}
.public-cover-big{height:270px;background:linear-gradient(120deg,#087f3b,#72bf44,#f5d36b);background-size:cover;background-position:center;position:relative}
.public-head-info{flex:1;padding-top:54px}
.public-profile-head{position:relative;background:#fff;padding:0 24px 18px 170px;min-height:145px;border-bottom:1px solid #e0e3e7}
.public-avatar-big{position:absolute;left:28px;top:-70px;border:5px solid #fff;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.public-avatar-big img{width:130px!important;height:130px!important;border-radius:50%;display:block}
.public-head-info h2{font-size:32px;margin:0 0 4px;color:#101820}
.public-head-info .public-bio{margin:0 0 10px;color:#667085}
.public-stats{display:flex!important;justify-content:flex-start!important;gap:35px!important;margin:8px 0 0!important}
.public-stats b{font-size:20px!important}
.public-actions-facebook{background:#fff;padding:14px 24px 16px!important;justify-content:flex-end!important;border-bottom:1px solid #e0e3e7}
.public-actions-facebook button{flex:0 1 auto!important;min-width:125px!important;width:auto!important}
.public-profile-tabs{display:flex;gap:28px;background:#fff;padding:14px 24px;border-bottom:1px solid #e0e3e7;color:#555}
.public-profile-tabs b{cursor:pointer}
.public-profile-posts{padding:16px 18px}
.public-profile-posts .post{margin-bottom:14px}
@media(max-width:700px){.public-profile-card{width:100vw;max-height:94vh;border-radius:14px 14px 0 0}.public-cover-big{height:190px}.public-profile-head{padding:70px 15px 16px;min-height:210px}.public-avatar-big{left:18px;top:-58px}.public-avatar-big img{width:110px!important;height:110px!important}.public-head-info{padding-top:0}.public-head-info h2{font-size:25px}.public-actions-facebook{display:grid!important;grid-template-columns:1fr 1fr!important;padding:12px!important}.public-actions-facebook button{width:100%!important;min-width:0!important}.public-profile-tabs{gap:18px;padding:12px 15px}.public-profile-posts{padding:10px 7px}}
/* V37 professional public profile + working action buttons */
.public-profile-card{background:#f4f6f8!important;border-radius:20px!important;box-shadow:0 20px 60px rgba(0,0,0,.28)!important}
.public-cover-big{height:250px!important;background:linear-gradient(135deg,#087f3b 0%,#25a95a 48%,#f0cf68 100%)!important}
.public-profile-head{padding:0 28px 20px 180px!important;min-height:150px!important}
.public-avatar-big{width:140px;height:140px;top:-76px!important;left:28px!important;padding:4px!important}
.public-avatar-big img{width:132px!important;height:132px!important;border:0!important}
.public-head-info h2{font-size:30px!important;font-weight:800!important;letter-spacing:-.4px}
.public-stats b{font-size:21px!important;color:#17202a!important}
.public-actions-facebook{display:flex!important;gap:10px!important;align-items:center!important;justify-content:flex-start!important;padding:16px 24px!important;background:#fff!important}
.public-actions-facebook button{min-height:46px!important;border-radius:10px!important;font-size:14px!important;box-shadow:0 3px 10px rgba(0,0,0,.08)!important;border:0!important}
.public-actions-facebook .public-follow{background:#1877f2!important;color:#fff!important}
.public-actions-facebook .public-friend{background:#078b3e!important;color:#fff!important}
.public-actions-facebook .public-message,.public-actions-facebook .public-call{background:#edf3f8!important;color:#17202a!important}
.public-actions-facebook button.is-loading{opacity:.65!important;pointer-events:none!important}
.public-profile-tabs{position:sticky;top:0;z-index:5;display:flex!important;gap:4px!important;padding:5px!important;background:#fff!important;border-bottom:1px solid #dfe4e8!important}
.public-profile-tabs button{flex:1;border:0;background:transparent;padding:13px 12px;border-radius:9px;color:#667085;font-weight:800;cursor:pointer}
.public-profile-tabs button.active{background:#eaf2ff;color:#1877f2}
.public-profile-posts{padding:16px!important}
@media(max-width:700px){.public-cover-big{height:190px!important}.public-profile-head{padding:72px 16px 18px!important;min-height:230px!important}.public-avatar-big{left:16px!important;top:-60px!important;width:116px;height:116px}.public-avatar-big img{width:108px!important;height:108px!important}.public-head-info h2{font-size:24px!important}.public-actions-facebook{grid-template-columns:1fr 1fr!important;display:grid!important;padding:12px!important}.public-actions-facebook button{min-height:46px!important;font-size:13px!important}.public-profile-tabs button{font-size:13px;padding:12px 4px}.public-profile-posts{padding:10px 6px!important}}

/* V38 ROOT ACTION FIX + PROFESSIONAL PROFILE */
.public-actions-facebook .public-friend{background:#078b3e!important;color:#fff!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;visibility:visible!important;opacity:1!important;min-height:48px!important;}
.public-actions-facebook .public-friend .friend-label{display:inline!important;color:#fff!important;line-height:1.2!important;}
.public-actions-facebook .public-follow,.public-actions-facebook .public-message,.public-actions-facebook .public-call{display:inline-flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important;min-height:48px!important;}
.public-actions-facebook button{cursor:pointer!important;position:relative!important;z-index:10!important;pointer-events:auto!important;}
.public-actions-facebook button:disabled{cursor:wait!important;}
.public-profile-card{border:0!important;overflow-y:auto!important;overflow-x:hidden!important;}
.public-cover-big{background-size:cover!important;background-position:center!important;}
.public-profile-head{box-shadow:0 2px 8px rgba(0,0,0,.04)!important;}
.public-actions-facebook{box-shadow:0 2px 8px rgba(0,0,0,.04)!important;}
.public-profile-tabs{box-shadow:0 2px 8px rgba(0,0,0,.04)!important;}
.public-profile-tabs button{font-size:14px!important;}
@media(max-width:700px){.public-actions-facebook{grid-template-columns:1fr 1fr!important}.public-actions-facebook button{min-width:0!important;font-size:13px!important}.public-actions-facebook .public-friend .friend-label{font-size:13px!important}}

.bgks-direct-google-disabled{width:100%;min-height:48px;border:1px solid #dadce0;border-radius:8px;background:#fff;color:#3c4043;font-weight:700;font-size:16px;cursor:pointer;margin:10px 0 8px;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.bgks-direct-google-disabled:hover{background:#f8f9fa}

/* V41 profile feed scroll + full post list */
.public-profile-card{max-height:94vh!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
.public-profile-posts{min-height:120px;}
.public-profile-posts .empty{margin:0;}
@media(max-width:700px){.public-profile-card{max-height:94vh!important;overflow-y:auto!important;} .public-profile-posts{padding-bottom:28px!important;}}

/* V43: Facebook-style groups */
.group-card{border-radius:18px;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.06)}
.group-title-link{cursor:pointer;color:#111}.group-title-link:hover{color:#078b3e}.group-actions{display:flex;gap:8px;flex-wrap:wrap}.group-actions button{flex:1;min-width:120px}.group-actions .blue-btn{background:#147fe8;color:#fff;border:0;padding:11px 16px;border-radius:10px;font-weight:700}.group-create-modal label{display:block;font-weight:700;margin:12px 0}.group-create-modal input,.group-create-modal textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:12px;border:1px solid #d9dfe5;border-radius:10px;background:#fff}.group-create-modal textarea{min-height:110px}.group-view-card{max-width:900px!important;padding:0!important;overflow:hidden}.group-detail-cover{height:230px;background:linear-gradient(135deg,#078b3e,#7acb43,#f5d36b);display:grid;place-items:center;overflow:hidden}.group-detail-cover img{width:100%;height:100%;object-fit:cover}.group-detail-cover>div{font-size:80px}.group-detail{background:#f6f8fa}.group-detail-head{padding:20px 22px;background:#fff}.group-detail-head h2{margin:0 0 8px;font-size:30px}.group-detail-head p{color:#66717a;white-space:normal}.group-count{color:#555;margin-top:10px}.group-admin-tools{padding:14px 20px;background:#f0fff5;border-top:1px solid #e2eee6;border-bottom:1px solid #e2eee6;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.group-admin-tools label{font-weight:700}.group-admin-tools input{margin-left:8px}.group-admin-badge{font-weight:800;color:#078b3e}.group-detail-join{margin:16px 20px}.group-members-section,.group-post-box,.group-posts-section{margin:14px 16px;background:#fff;border-radius:16px;padding:18px}.group-members-section h3,.group-post-box h3,.group-posts-section h3{margin-top:0}.group-members-list{display:grid;gap:10px}.group-member{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #edf0f2;border-radius:12px}.group-member-avatar img{border-radius:50%;object-fit:cover}.group-member>div{flex:1}.group-member small{display:block;color:#078b3e;font-weight:700;margin-top:3px}.group-member-link{cursor:pointer}.group-member-link:hover{text-decoration:underline}.group-make-admin{width:auto!important}.group-post-box textarea{width:100%;min-height:100px;box-sizing:border-box;border:1px solid #dfe4e8;border-radius:12px;padding:12px;resize:vertical}.group-post-box input[type=file]{width:100%;margin:10px 0}.group-post-submit{margin-top:4px}.group-posts-section .post{margin-bottom:14px}.group-view-card>.close{z-index:10}.group-view-card .post-media img,.group-view-card .post-media video{max-height:520px;object-fit:contain;width:100%}
@media(max-width:700px){.group-detail-cover{height:190px}.group-view-card{width:96%!important;max-height:92vh;overflow:auto}.group-detail-head h2{font-size:24px}.group-actions button{min-width:0}.group-admin-tools{align-items:flex-start}.group-admin-tools input{display:block;margin:8px 0 0}.group-member{align-items:flex-start}.group-make-admin{font-size:12px;padding:8px!important}}

/* V44: Instagram-style post actions + share preview */
.post-actions{display:flex;align-items:center;gap:8px;padding:10px 4px;border-top:1px solid #eef1f4}
.post-actions button{flex:1;border:0;background:transparent;border-radius:12px;padding:10px 8px;font-weight:700;color:#334155;cursor:pointer}
.post-actions button:hover{background:#f3f6f8}
.post-actions .like.liked{color:#e11d48}
.post-stats{display:flex;gap:14px;align-items:center;padding:8px 12px 4px;font-size:14px;color:#64748b}
.share-preview{margin:0 auto 14px;max-width:520px;border-radius:16px;overflow:hidden;background:#f4f6f8;min-height:10px}
.share-preview img{display:block;width:100%;max-height:260px;object-fit:cover}
.share-card .share-option{width:100%;margin-top:10px}

/* V45 Instagram-style vertical Reels viewer */
#tab-reels{padding:0!important;background:#000;min-height:calc(100vh - 140px)}
#tab-reels .page-title{position:sticky;top:0;z-index:5;padding:12px 16px;background:rgba(0,0,0,.82);color:#fff;backdrop-filter:blur(8px)}
#tab-reels .page-title h1,#tab-reels .page-title p{margin:0;color:#fff}#tab-reels .page-title p{opacity:.75;font-size:12px}
#tab-reels .page-title .green-btn{position:absolute;right:12px;top:10px}
.bgks-reels-viewer{height:calc(100vh - 205px);overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;background:#000;scrollbar-width:none}
.bgks-reels-viewer::-webkit-scrollbar{display:none}
.bgks-reel{height:100%;min-height:calc(100vh - 205px);scroll-snap-align:start;scroll-snap-stop:always;position:relative;background:#000;display:flex;align-items:center;justify-content:center;overflow:hidden}
.bgks-reel-video-wrap{position:relative;width:100%;height:100%;max-width:720px;background:#000;overflow:hidden}
.bgks-reel-video{width:100%;height:100%;object-fit:cover;display:block;background:#000}
.reel-gradient{position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.78));pointer-events:none}
.reel-caption{position:absolute;left:16px;right:90px;bottom:28px;color:#fff;z-index:3;text-shadow:0 1px 3px #000}
.reel-author{display:flex;align-items:center;gap:9px;margin-bottom:9px;cursor:pointer}.reel-author .bgks2-avatar{border:2px solid #fff}
.reel-text{font-size:15px;line-height:1.35}.reel-actions{position:absolute;right:12px;bottom:26px;z-index:4;display:flex;flex-direction:column;gap:14px}
.reel-actions button{width:56px;height:56px;border:0;border-radius:50%;background:rgba(20,20,20,.62);color:#fff;font-size:25px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(5px)}
.reel-actions button.liked{color:#ff335f}.reel-sound{font-size:22px!important}.reel-sound small{font-size:9px!important}.reel-actions small{font-size:10px;font-weight:700;margin-top:1px}.reel-play-overlay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:72px;height:72px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:#111;font-size:30px;z-index:3;cursor:pointer;opacity:.95}.bgks-reel.is-playing .reel-play-overlay{opacity:0;pointer-events:none}
.reel-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.25);z-index:5}.reel-progress span{display:block;height:100%;width:0;background:#fff}
@media(max-width:700px){#tab-reels{min-height:calc(100dvh - 128px)}.bgks-reels-viewer{height:calc(100dvh - 190px);scroll-snap-type:y mandatory}.bgks-reel{height:calc(100dvh - 190px);min-height:calc(100dvh - 190px)}.bgks-reel-video{object-fit:cover}.reel-caption{bottom:22px}.reel-actions{bottom:22px;right:8px}}

/* V47: true full-screen Reels experience */
body.bgks-reels-active{background:#05070a;overflow:hidden}
body.bgks-reels-active .bgks2-header,
body.bgks-reels-active .desktop-nav,
body.bgks-reels-active .left-nav{display:none!important}
body.bgks-reels-active .main{padding:0!important;max-width:none!important}
body.bgks-reels-active #tab-reels{display:block!important;position:fixed!important;inset:0!important;z-index:99990!important;background:#05070a!important;padding:0!important}
body.bgks-reels-active #tab-reels .page-title{height:58px;box-sizing:border-box;padding:10px 16px!important;background:linear-gradient(180deg,rgba(0,0,0,.72),rgba(0,0,0,0));position:absolute!important;top:0;left:0;right:0;z-index:20;border:0}
body.bgks-reels-active #tab-reels .page-title h1{font-size:25px;display:inline-block;margin:0!important}
body.bgks-reels-active #tab-reels .page-title p{display:inline-block;margin-left:10px;font-size:15px!important}
body.bgks-reels-active #tab-reels .page-title .green-btn{right:10px;top:9px;padding:7px 11px;border-radius:18px;font-size:12px}
body.bgks-reels-active .bgks-reels-viewer{height:100dvh!important;min-height:100dvh!important;width:100vw;scroll-snap-type:y mandatory}
body.bgks-reels-active .bgks-reel{height:100dvh!important;min-height:100dvh!important;width:100vw;scroll-snap-align:start;background:#000}
body.bgks-reels-active .bgks-reel-video-wrap{max-width:none;width:100vw;height:100dvh}
body.bgks-reels-active .bgks-reel-video{object-fit:cover;width:100%;height:100%;background:#000}
body.bgks-reels-active .reel-actions{right:12px;bottom:125px;gap:12px}
body.bgks-reels-active .reel-actions button{width:54px;height:54px;background:rgba(18,18,22,.62);box-shadow:0 3px 12px rgba(0,0,0,.25)}
body.bgks-reels-active .reel-caption{bottom:92px;left:16px;right:86px}
body.bgks-reels-active .reel-author b{font-size:16px}
body.bgks-reels-active .reel-play-overlay{width:64px;height:64px}
body.bgks-reels-active .mobile-bottom{display:flex!important;position:fixed!important;left:0;right:0;bottom:0;height:72px;z-index:100000;background:#05070a!important;color:#fff!important;border-top:1px solid rgba(255,255,255,.1);box-shadow:none}
body.bgks-reels-active .mobile-bottom button{color:#fff!important;background:transparent!important}
body.bgks-reels-active .mobile-bottom button.active{color:#fff!important}
body.bgks-reels-active .mobile-bottom #mobile-create{background:#0a9f46!important;color:#fff!important;border:4px solid #05070a!important}
@media(min-width:701px){body.bgks-reels-active .mobile-bottom{display:none!important}.bgks-reels-viewer{max-width:520px;margin:auto}}

/* V48: Instagram-style right-side Reel actions — no round buttons */
body.bgks-reels-active .reel-actions{
  position:absolute!important;
  right:14px!important;
  left:auto!important;
  bottom:155px!important;
  top:auto!important;
  z-index:50!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:18px!important;
}
body.bgks-reels-active .reel-actions button{
  width:58px!important;
  height:58px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  color:#fff!important;
  font-size:32px!important;
  line-height:1!important;
  text-shadow:0 2px 5px rgba(0,0,0,.75)!important;
}
body.bgks-reels-active .reel-actions button.liked{color:#ff2d55!important}
body.bgks-reels-active .reel-actions button small{
  display:block!important;
  margin-top:3px!important;
  font-size:12px!important;
  line-height:1.1!important;
  font-weight:700!important;
  color:#fff!important;
  text-shadow:0 2px 5px rgba(0,0,0,.9)!important;
}
body.bgks-reels-active .reel-sound{font-size:30px!important}
body.bgks-reels-active .reel-play-overlay{display:none!important}
body.bgks-reels-active .reel-caption{right:88px!important;bottom:92px!important}
@media(max-width:700px){
  body.bgks-reels-active .reel-actions{right:10px!important;bottom:150px!important;gap:15px!important}
  body.bgks-reels-active .reel-actions button{width:56px!important;height:56px!important;font-size:30px!important}
  body.bgks-reels-active .reel-actions button small{font-size:11px!important}
}

/* V49: true edge actions + reel comments */
body.bgks-reels-active .reel-actions{
  right:0!important;
  bottom:140px!important;
  gap:20px!important;
  width:52px!important;
  align-items:center!important;
}
body.bgks-reels-active .reel-actions button{
  width:48px!important;
  height:auto!important;
  min-height:48px!important;
  border-radius:0!important;
  padding:2px 0!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  transform:none!important;
}
body.bgks-reels-active .reel-actions button small{font-size:11px!important}
body.bgks-reels-active .reel-sound small{font-size:10px!important}
body.bgks-reels-active .reel-actions button:active{transform:scale(.92)!important}
.reel-comments-card{max-width:560px!important;max-height:78vh!important;display:flex!important;flex-direction:column!important}
.reel-comments-list{flex:1;overflow:auto;min-height:180px;max-height:52vh;padding:6px 2px}
.reel-comment-item{display:flex;gap:10px;padding:11px 4px;border-bottom:1px solid #edf0f2}
.reel-comment-avatar{width:36px;height:36px;border-radius:50%;background:#e9eef3;display:flex;align-items:center;justify-content:center;font-weight:700;flex:0 0 36px}
.reel-comment-item b{font-size:14px}.reel-comment-item p{margin:3px 0 0;font-size:14px;color:#444;white-space:pre-wrap;word-break:break-word}
.reel-comments-empty{padding:40px 10px;text-align:center;color:#777}
.reel-comment-form{display:flex;gap:8px;padding-top:10px;border-top:1px solid #eee}
.reel-comment-form input{flex:1;min-width:0;border:1px solid #ddd;border-radius:12px;padding:12px;font-size:15px}
.reel-comment-form .green-btn{margin:0;white-space:nowrap}
.reel-double-like{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.4);font-size:100px;color:#ff2d55;z-index:60;opacity:0;pointer-events:none;text-shadow:0 5px 18px rgba(0,0,0,.35)}
.reel-double-like.show{animation:reelHeartPop .65s ease forwards}
@keyframes reelHeartPop{0%{opacity:0;transform:translate(-50%,-50%) scale(.35)}25%{opacity:1;transform:translate(-50%,-50%) scale(1.08)}70%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.22)}}
@media(max-width:700px){body.bgks-reels-active .reel-actions{right:0!important;bottom:145px!important;gap:18px!important;width:50px!important}body.bgks-reels-active .reel-actions button{width:46px!important;min-height:46px!important;font-size:29px!important}.reel-comments-card{max-height:82vh!important}.reel-comments-list{max-height:58vh}}


/* V50: force Reel actions to the viewport edge and make mobile double-tap reliable. */
body.bgks-reels-active .bgks-reel-video{touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important}
body.bgks-reels-active .reel-actions{display:none!important}
body.bgks-reels-active .bgks-reel.is-current .reel-actions{
  display:flex!important;
  position:fixed!important;
  right:8px!important;
  left:auto!important;
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  width:64px!important;
  z-index:100001!important;
  gap:18px!important;
  pointer-events:auto!important;
}
body.bgks-reels-active .bgks-reel.is-current .reel-actions button{
  width:58px!important;height:auto!important;min-height:52px!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;
  color:#fff!important;font-size:32px!important;line-height:1.05!important;
  text-shadow:0 2px 7px rgba(0,0,0,.9)!important;cursor:pointer!important;
}
body.bgks-reels-active .bgks-reel.is-current .reel-actions button small{
  display:block!important;font-size:11px!important;font-weight:700!important;color:#fff!important;margin-top:3px!important;
}
body.bgks-reels-active .bgks-reel.is-current .reel-actions .reel-like.liked{color:#ff2d55!important}
body.bgks-reels-active .bgks-reel.is-current .reel-actions button:active{transform:scale(.92)!important}
.reel-double-like{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%) scale(.5)!important;color:#ff2d55!important;font-size:110px!important;opacity:0!important;z-index:60!important;pointer-events:none!important;text-shadow:0 4px 18px rgba(0,0,0,.55)!important}
.reel-double-like.show{animation:bgksDoubleLike .65s ease-out!important}
@keyframes bgksDoubleLike{0%{opacity:0;transform:translate(-50%,-50%) scale(.5)}25%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}70%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.35)}}
@media(max-width:700px){body.bgks-reels-active .bgks-reel.is-current .reel-actions{right:4px!important;width:62px!important;gap:15px!important}.reel-double-like{font-size:100px!important}}


/* V51: comments modal must stay above the Reels bottom navigation. */
body.bgks-reels-active #reel-comments-modal{z-index:100005!important}
body.bgks-reels-active #reel-comments-modal .reel-comments-card{z-index:100006!important;max-height:calc(100dvh - 34px)!important;padding-bottom:18px!important}
body.bgks-reels-active #reel-comments-modal .reel-comments-list{max-height:calc(100dvh - 190px)!important;min-height:120px!important}
body.bgks-reels-active #reel-comments-modal .reel-comment-form{position:sticky;bottom:0;background:#fff;padding:10px 0 2px;z-index:3}
body.bgks-reels-active #reel-comments-modal .reel-comment-form input{height:46px!important;font-size:16px!important}
body.bgks-reels-active #reel-comments-modal .reel-comment-form .green-btn{width:auto!important;min-width:86px!important;height:46px!important;margin:0!important}


/* V52: Reel like reliability on Android */
body.bgks-reels-active .bgks-reel.is-current .reel-actions .reel-like{
  position:relative!important;z-index:100010!important;pointer-events:auto!important;touch-action:manipulation!important;-webkit-user-select:none!important;user-select:none!important;
}
body.bgks-reels-active .bgks-reel.is-current .reel-actions{
  pointer-events:none!important;
}
body.bgks-reels-active .bgks-reel.is-current .reel-actions button{pointer-events:auto!important;}
body.bgks-reels-active .bgks-reel.is-current .reel-actions .reel-like.liked{color:#ff2d55!important;}
/* V54 Paid Subscription */
.subscription-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;background:linear-gradient(135deg,#fffdf2,#fff);border:1px solid #eadc9b}.subscription-card strong{display:block;font-size:16px}.subscription-card small{display:block;color:#777;margin-top:3px}.subscription-card .green-btn{width:auto;min-width:125px;margin:0}.subscription-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.subscription-plan{border:1px solid #dfe4e8;border-radius:14px;background:#fff;padding:16px;text-align:center;box-shadow:0 3px 10px rgba(0,0,0,.04)}.subscription-plan strong{display:block;font-size:18px}.subscription-plan .price{font-size:28px;font-weight:900;margin:8px 0;color:#078b3e}.subscription-plan small{display:block;color:#70757a;min-height:28px}.subscription-plan button{width:100%;border:0;border-radius:9px;background:#078b3e;color:#fff;padding:10px;font-weight:800;cursor:pointer;margin-top:10px}.subscription-current{padding:12px;border-radius:10px;background:#f3faf5;color:#176b38;text-align:center;font-weight:700;margin-top:8px}.subscription-plan button:disabled{opacity:.6;cursor:wait}
@media(max-width:700px){.subscription-plans{grid-template-columns:1fr}.subscription-plan{display:grid;grid-template-columns:1fr auto;align-items:center;text-align:left;gap:4px 12px}.subscription-plan strong,.subscription-plan small{grid-column:1}.subscription-plan .price{grid-column:2;grid-row:1 / span 2}.subscription-plan button{grid-column:1 / -1}.subscription-card{align-items:flex-start}.subscription-card .green-btn{min-width:105px}.subscription-modal-card{max-height:88vh;overflow:auto}}

/* V55.7: Instagram-style blue verified badge. */
.bgks2-premium-badge{display:inline-block!important;width:20px!important;height:20px!important;min-width:20px!important;object-fit:contain!important;vertical-align:middle!important;margin-left:5px!important;position:relative!important;top:-1px!important;border:0!important;background:transparent!important;box-shadow:none!important}
.bgks2-avatar-wrap>.bgks2-premium-badge{position:absolute!important;right:-2px!important;bottom:-2px!important;top:auto!important;margin:0!important;width:20px!important;height:20px!important;min-width:20px!important;z-index:4!important}
#profile-name .bgks2-premium-badge{margin-left:7px!important}
.public-head-info h2 .bgks2-premium-badge{margin-left:6px!important}
@media(max-width:700px){#profile-name .bgks2-premium-badge{width:19px!important;height:19px!important;min-width:19px!important}.bgks2-avatar-wrap>.bgks2-premium-badge{width:19px!important;height:19px!important;min-width:19px!important}}

/* V56: Android header/search/menu reliability. */
.bgks2-search{cursor:text;position:relative;z-index:35;touch-action:manipulation;}
.bgks2-search>span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;cursor:pointer;user-select:none;}
.bgks2-search input{position:relative;z-index:2;pointer-events:auto;}

/* Direct Edit Profile button + complete edit form */
.edit-profile-btn{border:1px solid #078b3e;background:#fff;color:#078b3e;border-radius:10px;padding:11px 18px;font-size:15px;font-weight:800;cursor:pointer;white-space:nowrap;touch-action:manipulation;}
.edit-profile-btn:hover{background:#078b3e;color:#fff;}
.profile-edit-card{max-height:88vh;overflow:auto}.profile-upload-row{display:flex;gap:8px;margin:8px 0 14px}.profile-upload-row .outline-btn{margin:0;flex:1}.profile-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.profile-form-grid label,.profile-edit-card>label{display:block;font-weight:700;font-size:13px}.profile-form-grid input,.profile-edit-card textarea{box-sizing:border-box}.profile-hidden-files{display:none}.profile-save-btn{width:100%;margin-top:6px;padding:13px;font-size:16px}
@media(max-width:700px){.profile-form-grid{grid-template-columns:1fr}.profile-upload-row{flex-direction:column}.edit-profile-btn{padding:10px 14px;font-size:14px}}

/* V56.3: Edit Profile save button visibility + reliable click */
.profile-edit-card{display:flex;flex-direction:column;max-height:90vh;overflow:auto!important;padding-bottom:18px!important;}
.profile-edit-card .profile-form-grid{flex:0 0 auto;}
.profile-edit-card>label{flex:0 0 auto;}
.profile-edit-card .profile-hidden-files{display:none!important;}
.profile-save-btn,#save-profile{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;min-height:52px!important;background:#078b3e!important;color:#fff!important;border:0!important;border-radius:10px!important;font-size:18px!important;font-weight:800!important;text-align:center!important;padding:14px 16px!important;margin:14px 0 0!important;position:relative!important;z-index:5!important;cursor:pointer!important;}
.profile-save-btn:disabled,#save-profile:disabled{opacity:.75!important;background:#078b3e!important;color:#fff!important;}
@media(max-width:700px){.profile-edit-card{width:calc(100vw - 20px)!important;max-height:88vh!important;padding:18px 14px 16px!important;}.profile-save-btn,#save-profile{min-height:54px!important;font-size:18px!important;margin-top:12px!important;}}

/* v56.4 profile/avatar fixes */
.bgks2-avatar-wrap{width:var(--bgks-avatar-size);height:var(--bgks-avatar-size);display:inline-flex;position:relative;flex:0 0 var(--bgks-avatar-size);border-radius:50%;overflow:visible;vertical-align:middle}
.bgks2-avatar-wrap > img.bgks2-avatar,.bgks2-avatar-wrap img.bgks2-avatar{width:var(--bgks-avatar-size)!important;height:var(--bgks-avatar-size)!important;min-width:var(--bgks-avatar-size);min-height:var(--bgks-avatar-size);max-width:var(--bgks-avatar-size);max-height:var(--bgks-avatar-size);border-radius:50%!important;object-fit:cover!important;display:block;overflow:hidden}
.profile-avatar .bgks2-avatar-wrap{width:110px;height:110px}
.profile-avatar .bgks2-avatar-wrap > img.bgks2-avatar{width:110px!important;height:110px!important}
.post-author-avatar .bgks2-avatar-wrap{width:46px;height:46px}
.post-author-avatar .bgks2-avatar-wrap > img.bgks2-avatar{width:46px!important;height:46px!important}
.reel-author .bgks2-avatar-wrap{width:42px;height:42px}
.reel-author .bgks2-avatar-wrap > img.bgks2-avatar{width:42px!important;height:42px!important}


/* V56.5: Reel upload composer matching Instagram-style flow */
.reel-upload-card{width:min(760px,calc(100vw - 24px));max-height:92vh;overflow:auto;padding:18px 20px 16px!important}.reel-upload-card h2{margin:0 0 14px;font-size:28px}.reel-upload-preview{width:310px;max-width:100%;margin:0 auto 18px;aspect-ratio:9/16;border-radius:24px;overflow:hidden;background:#111;position:relative}.reel-upload-preview video{width:100%;height:100%;object-fit:cover;display:block}.reel-upload-card textarea{width:100%;min-height:92px;border:0;border-top:1px solid #eee;border-bottom:1px solid #eee;border-radius:0;padding:18px 4px;font-size:18px;resize:none;box-sizing:border-box;outline:none}.reel-quick-actions{display:flex;gap:10px;overflow-x:auto;padding:14px 0}.reel-chip{border:0;background:#f1f3f7;border-radius:14px;padding:11px 15px;white-space:nowrap;font-size:15px;cursor:pointer}.reel-detail-row{width:100%;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:8px;border:0;border-top:1px solid #eee;background:#fff;padding:18px 4px;text-align:left;font-size:17px;cursor:pointer}.reel-detail-row span:first-child{font-size:27px}.reel-detail-row span:nth-child(3){color:#777;font-weight:600}.reel-location-tags{display:flex;gap:8px;flex-wrap:wrap;padding:0 4px 10px}.reel-tag-pill,.reel-location-pill{background:#eef1f5;border-radius:18px;padding:7px 12px;font-size:14px}.reel-upload-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.reel-draft-btn,.reel-share-btn{height:54px;border:0;border-radius:15px;font-size:18px;font-weight:800;cursor:pointer}.reel-draft-btn{background:#eef0f4;color:#222}.reel-share-btn{background:#4a5cff;color:#fff}.reel-upload-card .action-msg{text-align:center;min-height:20px;margin-top:8px}.reel-share-btn:disabled{opacity:.7}@media(max-width:700px){body.bgks2-modal-open{overflow:hidden!important;touch-action:none}.modal{z-index:1000!important;align-items:flex-end!important;justify-content:center!important;overflow:hidden!important;padding:0!important}.reel-upload-modal{z-index:1100!important}.reel-upload-card{width:100vw!important;max-width:100vw!important;height:auto!important;max-height:calc(100dvh - 8px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:14px 12px calc(18px + env(safe-area-inset-bottom))!important;border-radius:20px 20px 0 0!important;-webkit-overflow-scrolling:touch}.reel-upload-preview{width:300px;max-width:82vw;max-height:48dvh;margin-bottom:14px}.reel-upload-preview video{max-height:none!important}.reel-upload-actions{position:sticky;bottom:0;z-index:5;background:#fff;padding:10px 0 calc(4px + env(safe-area-inset-bottom));margin-top:8px;border-top:1px solid #eee}.reel-draft-btn,.reel-share-btn{height:56px!important;font-size:18px!important}.reel-chip{font-size:14px;padding:10px 13px}.reel-detail-row{padding:16px 4px}}
/* V56.8 reel save/download actions */
.reel-actions .reel-save,.reel-actions .reel-download{border:0;background:transparent;color:#fff;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer;font:inherit;min-width:42px}.reel-actions .reel-save.saved{color:#ffd54a}.reel-actions .reel-download small,.reel-actions .reel-save small{font-size:10px;color:#fff}.reel-actions .reel-download{appearance:none}.reel-actions .reel-download:visited{color:#fff}

/* V57: Reel actions must all be tappable, including the Download anchor. */
body.bgks-reels-active .bgks-reel.is-current .reel-actions{pointer-events:none!important;}
body.bgks-reels-active .bgks-reel.is-current .reel-actions button,
body.bgks-reels-active .bgks-reel.is-current .reel-actions a.reel-download{pointer-events:auto!important;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important;}
body.bgks-reels-active .bgks-reel.is-current .reel-actions a.reel-download{cursor:pointer!important;text-decoration:none!important;}
.reel-comments-preload{display:none!important;}

/* V57.1: reliable mobile reel comment send control */
body.bgks-reels-active #reel-comments-modal #reel-comment-form .green-btn{display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:92px!important;height:46px!important;padding:0 16px!important;margin:0!important;background:#078b3e!important;color:#fff!important;border:0!important;border-radius:12px!important;font-size:15px!important;font-weight:800!important;opacity:1!important;visibility:visible!important;text-indent:0!important;overflow:visible!important;pointer-events:auto!important;cursor:pointer!important}
body.bgks-reels-active #reel-comments-modal #reel-comment-form .green-btn:disabled{opacity:.75!important;background:#078b3e!important;color:#fff!important}

/* V58.1 Instagram-style Reel author row */
body.bgks-reels-active .reel-caption{left:18px!important;right:78px!important;bottom:18px!important;padding:0!important;background:linear-gradient(transparent,rgba(0,0,0,.72))!important;padding-top:48px!important;}
body.bgks-reels-active .reel-author{display:flex!important;align-items:center!important;gap:9px!important;margin:0 0 7px!important;cursor:default!important;}
body.bgks-reels-active .reel-author-avatar{width:42px!important;height:42px!important;display:block!important;flex:0 0 42px!important;text-decoration:none!important;}
body.bgks-reels-active .reel-author-avatar .bgks2-avatar-wrap{width:42px!important;height:42px!important;}
body.bgks-reels-active .reel-author-avatar img{width:42px!important;height:42px!important;border:2px solid #fff!important;border-radius:50%!important;object-fit:cover!important;}
body.bgks-reels-active .reel-author-info{min-width:0!important;display:flex!important;flex-direction:column!important;}
body.bgks-reels-active .reel-author-name-row{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;}
body.bgks-reels-active .reel-author-name{color:#fff!important;font-size:16px!important;font-weight:800!important;text-decoration:none!important;white-space:nowrap!important;text-shadow:0 1px 3px #000!important;}
body.bgks-reels-active .reel-author-id{color:#fff!important;opacity:.9!important;font-size:12px!important;text-decoration:none!important;margin-top:1px!important;}
body.bgks-reels-active .reel-follow-inline{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:30px!important;padding:0 13px!important;border:1px solid rgba(255,255,255,.85)!important;border-radius:8px!important;background:transparent!important;color:#fff!important;font-size:12px!important;font-weight:800!important;text-decoration:none!important;white-space:nowrap!important;cursor:pointer!important;}
body.bgks-reels-active .reel-follow-inline.is-following{background:#fff!important;color:#111!important;border-color:#fff!important;}
body.bgks-reels-active .reel-follow-inline.is-loading{opacity:.65!important;pointer-events:none!important;}
body.bgks-reels-active .reel-text{font-size:14px!important;line-height:1.35!important;color:#fff!important;margin-left:51px!important;text-shadow:0 1px 3px #000!important;}
body.bgks-reels-active .reel-actions{right:10px!important;bottom:150px!important;gap:12px!important;width:54px!important;}
body.bgks-reels-active .reel-actions button,.reel-actions .reel-save,.reel-actions .reel-download{width:52px!important;min-width:52px!important;height:52px!important;min-height:52px!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;font-size:30px!important;text-shadow:0 2px 5px rgba(0,0,0,.8)!important;}
body.bgks-reels-active .reel-actions small{font-size:10px!important;color:#fff!important;font-weight:800!important;text-shadow:0 1px 3px #000!important;}
body.bgks-reels-active .reel-actions .reel-like.liked{color:#ff2d55!important;}
@media(max-width:700px){body.bgks-reels-active .reel-caption{bottom:18px!important;left:16px!important;right:74px!important;}body.bgks-reels-active .reel-actions{right:4px!important;bottom:145px!important;gap:14px!important;width:56px!important;}body.bgks-reels-active .reel-actions button,body.bgks-reels-active .reel-actions .reel-save,body.bgks-reels-active .reel-actions .reel-download{width:50px!important;min-width:50px!important;height:50px!important;min-height:50px!important;font-size:28px!important;}body.bgks-reels-active .reel-author-name{font-size:15px!important;}body.bgks-reels-active .reel-follow-inline{height:28px!important;padding:0 11px!important;font-size:11px!important;}}


/* V58.2: Instagram-style Reels exact mobile layout / visibility fix */
body.bgks-reels-active{background:#000!important;overflow:hidden!important;}
body.bgks-reels-active .bgks2-header{display:none!important;}
body.bgks-reels-active .bgks2-shell{display:block!important;margin:0!important;padding:0!important;}
body.bgks-reels-active .bgks2-main{width:100vw!important;max-width:none!important;padding:0!important;margin:0!important;}
body.bgks-reels-active .left-nav,body.bgks-reels-active .right-panel{display:none!important;}
body.bgks-reels-active #tab-reels{display:block!important;position:fixed!important;inset:0 0 0 0!important;min-height:100dvh!important;height:100dvh!important;padding:0!important;margin:0!important;background:#000!important;z-index:1000!important;}
body.bgks-reels-active #tab-reels>.page-title{display:none!important;}
body.bgks-reels-active #reels-feed{position:fixed!important;inset:0 0 0 0!important;width:100vw!important;height:100dvh!important;margin:0!important;padding:0!important;background:#000!important;z-index:1!important;}
body.bgks-reels-active .bgks-reels-viewer{width:100vw!important;height:100dvh!important;min-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;scroll-snap-type:y mandatory!important;background:#000!important;}
body.bgks-reels-active .bgks-reel{position:relative!important;width:100vw!important;height:100dvh!important;min-height:100dvh!important;overflow:hidden!important;scroll-snap-align:start!important;background:#000!important;}
body.bgks-reels-active .bgks-reel-video-wrap{position:relative!important;width:100vw!important;height:100dvh!important;max-width:none!important;overflow:hidden!important;background:#000!important;}
body.bgks-reels-active .bgks-reel-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;z-index:1!important;}
body.bgks-reels-active .reel-gradient{z-index:2!important;pointer-events:none!important;}
body.bgks-reels-active .reel-caption{display:block!important;visibility:visible!important;opacity:1!important;position:absolute!important;left:16px!important;right:82px!important;bottom:96px!important;padding:0 0 4px!important;margin:0!important;z-index:20!important;color:#fff!important;background:none!important;text-shadow:0 1px 4px rgba(0,0,0,.9)!important;pointer-events:auto!important;}
body.bgks-reels-active .reel-author{display:flex!important;align-items:center!important;gap:9px!important;width:max-content!important;max-width:100%!important;margin:0 0 9px!important;cursor:pointer!important;}
body.bgks-reels-active .reel-author-avatar{display:block!important;width:40px!important;height:40px!important;min-width:40px!important;flex:0 0 40px!important;border-radius:50%!important;overflow:hidden!important;}
body.bgks-reels-active .reel-author-avatar img,body.bgks-reels-active .reel-author-avatar .bgks2-avatar{width:40px!important;height:40px!important;border-radius:50%!important;object-fit:cover!important;border:2px solid #fff!important;display:block!important;}
body.bgks-reels-active .reel-author-info{display:flex!important;flex-direction:column!important;min-width:0!important;}
body.bgks-reels-active .reel-author-name-row{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;}
body.bgks-reels-active .reel-author-name{display:inline-flex!important;align-items:center!important;color:#fff!important;font-size:16px!important;font-weight:800!important;line-height:1.1!important;white-space:nowrap!important;text-decoration:none!important;}
body.bgks-reels-active .reel-author-name-row .bgks2-premium-badge{width:18px!important;height:18px!important;min-width:18px!important;}
body.bgks-reels-active .reel-author-id{display:block!important;color:#fff!important;opacity:.95!important;font-size:12px!important;line-height:1.2!important;margin-top:3px!important;text-decoration:none!important;white-space:nowrap!important;}
body.bgks-reels-active .reel-follow-inline{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:30px!important;min-width:72px!important;padding:0 12px!important;border:1px solid rgba(255,255,255,.9)!important;border-radius:8px!important;background:transparent!important;color:#fff!important;font-size:12px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important;cursor:pointer!important;pointer-events:auto!important;}
body.bgks-reels-active .reel-follow-inline.is-following{background:#fff!important;color:#111!important;border-color:#fff!important;}
body.bgks-reels-active .reel-text{display:block!important;margin:0!important;padding:0!important;color:#fff!important;font-size:14px!important;line-height:1.35!important;max-width:100%!important;}
body.bgks-reels-active .reel-actions{display:flex!important;visibility:visible!important;opacity:1!important;position:absolute!important;right:7px!important;bottom:142px!important;z-index:30!important;pointer-events:none!important;gap:15px!important;width:54px!important;align-items:center!important;}
body.bgks-reels-active .reel-actions button,body.bgks-reels-active .reel-actions a.reel-download,body.bgks-reels-active .reel-actions .reel-save{pointer-events:auto!important;display:flex!important;visibility:visible!important;opacity:1!important;width:50px!important;min-width:50px!important;height:50px!important;min-height:50px!important;padding:0!important;margin:0!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;border:0!important;background:transparent!important;color:#fff!important;font-size:29px!important;line-height:1!important;text-decoration:none!important;text-shadow:0 2px 5px rgba(0,0,0,.85)!important;cursor:pointer!important;}
body.bgks-reels-active .reel-actions small{display:block!important;margin-top:3px!important;font-size:10px!important;line-height:1.1!important;font-weight:800!important;color:#fff!important;text-shadow:0 1px 3px #000!important;}
body.bgks-reels-active .reel-actions .reel-like.liked{color:#ff2d55!important;}
body.bgks-reels-active .mobile-bottom{display:flex!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;height:64px!important;z-index:100000!important;background:#05070a!important;}
@media(max-width:700px){
 body.bgks-reels-active .reel-caption{left:14px!important;right:76px!important;bottom:78px!important;}
 body.bgks-reels-active .reel-author{gap:8px!important;margin-bottom:7px!important;}
 body.bgks-reels-active .reel-author-avatar,body.bgks-reels-active .reel-author-avatar img,body.bgks-reels-active .reel-author-avatar .bgks2-avatar{width:38px!important;height:38px!important;min-width:38px!important;}
 body.bgks-reels-active .reel-author-name{font-size:15px!important;}
 body.bgks-reels-active .reel-author-id{font-size:11px!important;}
 body.bgks-reels-active .reel-follow-inline{height:28px!important;min-width:70px!important;padding:0 10px!important;font-size:11px!important;}
 body.bgks-reels-active .reel-text{font-size:13px!important;}
 body.bgks-reels-active .reel-actions{right:2px!important;bottom:118px!important;gap:10px!important;width:52px!important;}
 body.bgks-reels-active .reel-actions button,body.bgks-reels-active .reel-actions a.reel-download,body.bgks-reels-active .reel-actions .reel-save{width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;font-size:27px!important;}
 body.bgks-reels-active .reel-actions small{font-size:9px!important;}
}

/* V58.7: Restore Edit Profile; Premium badge appears beside subscribed names. */
.profile-info .profile-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;}
.profile-info .edit-profile-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:20!important;pointer-events:auto!important;}
#tab-profile .profile-cover .cover-upload{display:none!important;}
@media(max-width:700px){.profile-info .profile-row{align-items:flex-start!important;}.profile-info .edit-profile-btn{flex:0 0 auto!important;padding:9px 12px!important;font-size:13px!important;}}

/* V58.6: Force Instagram-style Follow control to stay visible beside Reel name. */
body.bgks-reels-active .reel-author-name-row{display:flex!important;align-items:center!important;gap:8px!important;max-width:calc(100vw - 92px)!important;overflow:visible!important;}
body.bgks-reels-active .reel-follow-inline{display:inline-flex!important;visibility:visible!important;opacity:1!important;flex:0 0 auto!important;position:relative!important;z-index:50!important;}
body.bgks-reels-active .reel-author-name{flex:0 1 auto!important;min-width:0!important;max-width:42vw!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body.bgks-reels-active .reel-author-id{pointer-events:auto!important;cursor:pointer!important;}


/* V58.9: Toki-style Room creation and room list */
.room-page-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.room-create-main{border:0;background:#a66cf0;color:#fff;border-radius:999px;padding:11px 17px;font-weight:800;cursor:pointer;box-shadow:0 4px 14px rgba(166,108,240,.22)}
.room-create-main:active{transform:scale(.98)}
.room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.room-card{display:flex;gap:13px;padding:14px;align-items:center}
.room-card-avatar{width:78px;height:78px;flex:0 0 78px;border-radius:20px;overflow:hidden;background:#f0e9ff;display:grid;place-items:center;font-size:34px}
.room-card-avatar img{width:100%;height:100%;object-fit:cover}
.room-card-body{min-width:0;flex:1}.room-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.room-card-top small{color:#777}.room-type-pill{background:#f1eaff;color:#8757dc;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800}
.room-card h3{margin:7px 0 4px;font-size:17px}.room-card p{margin:0 0 7px;color:#6d747b;font-size:12px;line-height:1.4}.room-card-meta{font-size:10px;color:#8a9095;margin-bottom:9px}
.room-card .green-btn,.room-card .outline-btn{padding:8px 12px;border-radius:999px;font-size:11px}
.room-create-card{max-width:560px;padding:24px 20px 22px}.room-create-card h2{margin:0;text-align:center;font-size:25px}.room-avatar-picker{display:flex;justify-content:center;margin:18px 0 18px}.room-avatar-button{position:relative;border:0;background:transparent;padding:0;cursor:pointer}.room-avatar-button .bgks2-avatar-wrap{display:block;width:92px;height:92px}.room-avatar-button .bgks2-avatar{width:92px!important;height:92px!important;border-radius:22px!important;object-fit:cover}.room-camera{position:absolute;right:-7px;bottom:-7px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#a66cf0;color:#fff;border:3px solid #fff;font-size:18px}.room-preview-image{width:92px;height:92px;border-radius:22px;object-fit:cover;display:block}.room-create-card h3{font-size:16px;margin:4px 0 10px}.room-types{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}.room-types button{min-width:120px;border:2px solid #e3e5e8;background:#fff;color:#66707b;border-radius:999px;padding:10px 16px;font-size:15px;cursor:pointer}.room-types button.active{background:#a66cf0;border-color:#a66cf0;color:#fff}.room-field-label{display:block;font-size:16px;font-weight:700;margin:12px 0;color:#252a30}.room-field-label input,.room-field-label textarea{display:block;width:100%;margin-top:8px;border:0;border-bottom:1px solid #e2e4e7;background:#fff;padding:12px 2px;font-size:17px;outline:0;color:#17202a}.room-field-label textarea{min-height:82px;resize:vertical;border:1px solid #e3e5e8;border-radius:10px;padding:11px}.room-field-label input:focus,.room-field-label textarea:focus{border-color:#a66cf0;box-shadow:0 0 0 3px rgba(166,108,240,.1)}.room-intro-head{position:relative}.room-intro-head .room-field-label{padding-right:90px}.room-random{position:absolute;right:0;top:30px;border:0;background:#a66cf0;color:#fff;border-radius:999px;padding:9px 13px;font-weight:800;cursor:pointer}.room-save-btn{width:100%;border:0;border-radius:999px;background:#e4e5e8;color:#fff;padding:15px;font-size:17px;font-weight:800;margin-top:20px}.room-save-btn:not(:disabled){background:#a66cf0;cursor:pointer;box-shadow:0 5px 15px rgba(166,108,240,.22)}.room-create-card .action-msg{text-align:center;margin-top:8px}.room-create-card .action-msg.success{display:block;color:#16813d}.room-create-card .action-msg.error{display:block;color:#c62828}
@media(max-width:700px){.room-page-head{align-items:flex-start}.room-page-head h1{font-size:22px}.room-create-main{padding:9px 12px;font-size:11px}.room-grid{grid-template-columns:1fr}.room-card{padding:12px}.room-card-avatar{width:68px;height:68px;flex-basis:68px;border-radius:17px}.room-create-card{width:100%;max-width:none;border-radius:22px 22px 0 0;padding:22px 18px 28px;max-height:92vh;overflow:auto}.room-create-card h2{font-size:23px}.room-types{gap:8px}.room-types button{min-width:calc(33.333% - 6px);padding:9px 8px;font-size:13px}.room-field-label{font-size:15px}.room-field-label input,.room-field-label textarea{font-size:16px}.room-random{top:29px;font-size:11px}.room-save-btn{padding:14px}}
/* V60.0: Toki-style live room experience */
.room-card-actions{display:flex;gap:7px;align-items:center}.room-open{border:1px solid #b98cff;background:#fff;color:#8c5de5;border-radius:999px;padding:8px 12px;font-weight:800;cursor:pointer}.room-open:active{transform:scale(.97)}
.room-live-modal{padding:0!important;background:#07001b!important}.room-live-modal.open{display:flex!important}.room-live-shell{position:relative;width:100%;height:100dvh;min-height:100vh;overflow:hidden;background:#10063c;color:#fff}.room-live-bg{position:absolute;inset:0;background:radial-gradient(circle at 30% 20%,#5334a8 0,#190d5d 35%,#05031b 100%);background-size:cover;background-position:center;filter:saturate(1.05)}.room-live-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,0,28,.55),rgba(8,2,36,.22) 35%,rgba(3,1,20,.72) 100%)}.room-live-top,.room-live-promos,.room-seats,.room-room-body,.room-bottom{position:relative;z-index:2}.room-live-top{height:72px;padding:10px 14px;display:flex;align-items:center;gap:9px}.room-icon-btn,.room-round-btn{border:0;background:rgba(255,255,255,.16);color:#fff;width:43px;height:43px;border-radius:50%;font-size:25px;display:grid;place-items:center;backdrop-filter:blur(10px);cursor:pointer}.room-owner-mini{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.room-owner-mini #room-live-avatar img{width:46px;height:46px;border-radius:50%;object-fit:cover;border:2px solid #ffd36d}.room-owner-mini b{display:block;max-width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:17px}.room-owner-mini small{display:block;opacity:.7;font-size:11px}.room-top-actions{display:flex;gap:7px}.room-round-btn{background:#9b61ff;font-size:21px}.room-live-promos{display:flex;gap:7px;align-items:center;padding:3px 13px;overflow-x:auto}.room-promo{min-width:125px;padding:9px 12px;border-radius:13px;background:rgba(36,14,96,.7);border:1px solid rgba(160,115,255,.28);display:flex;gap:6px;align-items:center;font-size:12px}.room-promo b{color:#ffd34e}.room-promo span{margin-left:auto;color:#fff}.room-promo.small{min-width:72px}.room-promo.pk{min-width:82px;color:#ff62c5}.room-topup-short{border:0;background:linear-gradient(135deg,#ff9d27,#ffd64e);color:#6d2600;font-weight:900;border-radius:13px;padding:10px 13px;white-space:nowrap}.room-seats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px 12px;padding:18px 15px 10px;max-height:47vh;overflow:auto}.room-seat{min-width:0;text-align:center}.room-seat-avatar{width:73px;height:73px;margin:auto;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.12);border:2px solid rgba(196,121,255,.8);box-shadow:0 0 22px rgba(174,81,255,.3);overflow:hidden}.room-seat-avatar img{width:100%;height:100%;object-fit:cover}.room-seat-plus{font-size:37px;font-weight:300;color:#fff}.room-seat-name{font-size:12px;font-weight:800;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-seat-score{display:inline-block;margin-top:3px;padding:3px 13px;border-radius:99px;border:1px solid #d528b6;background:#070322;color:#fff;font-size:11px}.room-room-body{position:absolute;left:0;right:0;bottom:74px;max-height:44vh;padding:0 14px;display:flex;flex-direction:column;justify-content:flex-end;pointer-events:none}.room-member-strip{display:flex;gap:5px;align-items:center;margin-bottom:8px}.room-member-strip img{width:32px;height:32px;border-radius:50%;object-fit:cover;border:1px solid #fff}.room-rules{display:flex;gap:8px;padding:10px 12px;border-radius:17px;background:rgba(5,2,28,.58);backdrop-filter:blur(9px);max-width:92%;margin-bottom:8px;pointer-events:auto}.room-rules-icon{font-size:23px}.room-rules b{color:#ffd74d}.room-rules p{margin:3px 0 0;color:#35f3cb;font-size:13px;line-height:1.45}.room-chat-feed{max-height:23vh;overflow:auto;pointer-events:auto}.room-msg-row{display:flex;gap:7px;align-items:flex-start;margin:5px 0;padding:4px 8px;border-radius:12px;background:rgba(0,0,0,.28);width:max-content;max-width:92%}.room-msg-row .bgks2-avatar-wrap{flex:0 0 30px}.room-msg-row .bgks2-avatar{width:30px!important;height:30px!important}.room-msg-row b{font-size:12px}.room-msg-row p{margin:2px 0 0;font-size:13px}.room-msg-gift{display:block;color:#ffd84e;font-weight:800;font-size:12px}.room-bottom{position:absolute;left:0;right:0;bottom:0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:8px;background:linear-gradient(transparent,rgba(4,1,22,.9) 35%)}.room-compose{height:48px;flex:1;border-radius:25px;background:rgba(17,9,52,.78);border:1px solid rgba(255,255,255,.13);display:flex;align-items:center;padding:0 7px 0 13px}.room-compose button{border:0;background:transparent;color:#fff;font-size:21px}.room-compose input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#fff;font-size:14px}.room-compose input::placeholder{color:#c8c3d5}.room-bottom-icon{position:relative;border:0;background:rgba(19,10,55,.85);color:#fff;width:46px;height:46px;border-radius:50%;font-size:20px}.room-bottom-icon i{position:absolute;right:-2px;top:-4px;background:#f44336;color:#fff;border-radius:50%;font-size:10px;min-width:17px;height:17px;display:grid;place-items:center;font-style:normal}.room-gift-orb{border:0;width:51px;height:51px;border-radius:50%;background:linear-gradient(135deg,#f9d34c,#8b4eff);font-size:24px}.room-gift-panel{position:absolute;left:0;right:0;bottom:64px;z-index:4;background:rgba(7,4,29,.97);border-radius:22px 22px 0 0;padding:10px 12px;display:none;box-shadow:0 -10px 40px rgba(0,0,0,.4)}.room-gift-panel.open{display:block}.room-gift-tabs{display:flex;gap:18px;overflow:auto;padding:5px 3px 12px;color:#aaa;font-size:12px}.room-gift-tabs .active{color:#fff}.room-gifts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-height:280px;overflow:auto}.room-gift{border:1px solid transparent;background:transparent;color:#fff;border-radius:12px;padding:8px 3px;text-align:center}.room-gift.selected{border-color:#8d5aff;background:rgba(130,82,255,.12)}.room-gift .icon{font-size:36px;display:block}.room-gift small{display:block;color:#ddd;font-size:10px;margin-top:3px}.room-gift .cost{color:#ffd43f;font-weight:800;font-size:11px}.room-gift-footer{display:flex;align-items:center;gap:8px;padding-top:9px}.room-gift-footer button{border:0;border-radius:20px;padding:9px 14px;background:#ff9d18;color:#fff;font-weight:900}.room-gift-footer button:last-child{margin-left:auto;background:#9b61ff}.room-gift-footer span{font-size:12px;color:#bbb}.room-topup-card{max-width:520px}.room-wallet-balance{padding:13px;border-radius:14px;background:#f4efff;color:#7440d6;font-weight:900;text-align:center;margin:10px 0 15px}.room-topup-packages{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.room-topup-pack{border:2px solid #eee;border-radius:15px;background:#fff;padding:15px 8px;text-align:center;cursor:pointer}.room-topup-pack strong{display:block;font-size:21px}.room-topup-pack small{display:block;color:#777;margin:4px 0 10px}.room-topup-pack button{border:0;border-radius:999px;background:#ff9d18;color:#fff;padding:8px 11px;font-weight:800}.room-live-modal .modal-card{max-width:none}
@media(max-width:700px){.room-live-shell{height:100dvh}.room-seats{grid-template-columns:repeat(4,1fr);gap:12px 7px;padding-top:14px}.room-seat-avatar{width:64px;height:64px}.room-seat-name{font-size:10px}.room-live-top{padding-left:9px;padding-right:9px}.room-owner-mini b{max-width:105px}.room-promo{min-width:110px}.room-room-body{bottom:72px}.room-topup-packages{grid-template-columns:1fr}.room-gifts{grid-template-columns:repeat(4,1fr)}}
.room-js-avatar{width:30px;height:30px;border-radius:50%;object-fit:cover;flex:0 0 30px}.room-msg-row>div:last-child{min-width:0}
body.room-opened .bgks2-app{filter:none}

/* V61.0 seat voice/video controls */
.room-seat{border:0;color:#fff;background:transparent;cursor:pointer;padding:0;font-family:inherit}.room-seat:active{transform:scale(.96)}.room-seat.occupied .room-seat-avatar{border-color:#ffd34e}.room-seat-actions-card{max-width:420px;text-align:center}.room-seat-call-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.room-video-btn{border:0;border-radius:999px;background:linear-gradient(135deg,#6f43ff,#b15cff);color:#fff;padding:12px;font-weight:800}.room-seat-actions-card p{color:#777}@media(max-width:500px){.room-seat-call-buttons{grid-template-columns:1fr}}

/* V61.2: Professional Home quick links */
.home-quick-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}
.home-quick-link{min-height:82px;border:1px solid #e2e6ea;border-radius:16px;background:#fff;display:flex;align-items:center;gap:10px;padding:12px 11px;text-align:left;cursor:pointer;box-shadow:0 2px 8px rgba(20,35,50,.05);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.home-quick-link:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(20,35,50,.10);border-color:#cfd6dc}
.home-quick-link .quick-icon{width:44px;height:44px;min-width:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:23px}
.home-quick-link>span:nth-child(2){min-width:0;flex:1}.home-quick-link b{display:block;font-size:15px;color:#17202a;line-height:1.2}.home-quick-link small{display:block;margin-top:4px;color:#747d86;font-size:10px;line-height:1.25;white-space:normal}.home-quick-link strong{font-size:24px;color:#a0a7ae;font-weight:500}.home-quick-link.friends .quick-icon{background:#eaf3ff}.home-quick-link.groups .quick-icon{background:#edf9f1}.home-quick-link.rooms .quick-icon{background:#f2edff}.home-quick-link.referral .quick-icon{background:#fff6dc}
@media(max-width:700px){.home-quick-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.home-quick-link{min-height:72px;padding:10px;border-radius:14px}.home-quick-link .quick-icon{width:40px;height:40px;min-width:40px;border-radius:12px;font-size:21px}.home-quick-link b{font-size:14px}.home-quick-link small{font-size:9px}.home-quick-link strong{font-size:22px}}

/* V62: Professional Referral Center */
.referral-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;background:linear-gradient(135deg,#078b3e,#12a852);color:#fff;border:0;box-shadow:0 12px 30px rgba(7,139,62,.18)}
.referral-hero>div{display:flex;align-items:center;gap:14px}.referral-hero-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.18);font-size:28px}.referral-hero b{display:block;font-size:20px}.referral-hero small{display:block;margin-top:4px;opacity:.9}.referral-hero .green-btn{background:#fff!important;color:#078b3e!important;border:0!important;min-width:120px}
.referral-link-card{padding:20px}.referral-link-card>label{display:block;font-weight:800;margin-bottom:8px}.referral-link-row{display:flex;gap:8px}.referral-link-row input{flex:1;min-width:0;border:1px solid #d8dee4;border-radius:11px;padding:12px 13px;background:#f7f9fa;font-weight:700;color:#1f2937}.referral-link-row .outline-btn{min-width:82px}
.referral-share-buttons{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:12px}.referral-share-buttons button{border:1px solid #e0e5e9;background:#fff;border-radius:10px;padding:10px 8px;font-weight:800;cursor:pointer}.referral-share-buttons button:hover{background:#f3f6f8}.referral-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.referral-stats .card{padding:20px;text-align:center}.referral-stats b{display:block;font-size:28px;color:#078b3e}.referral-stats span{display:block;color:#667085;margin-top:5px;font-size:13px}.referral-rules{padding:20px;margin-top:14px}.referral-rules h3{margin-top:0}.referral-rules p{margin:8px 0;color:#344054}.referral-rules small{color:#667085}.referral-share-buttons.open{display:grid}
@media(max-width:700px){.referral-hero{align-items:flex-start;flex-direction:column}.referral-hero .green-btn{width:100%}.referral-share-buttons{grid-template-columns:repeat(2,1fr)}.referral-stats{grid-template-columns:1fr 1fr}.referral-stats .card:last-child{grid-column:1/-1}.referral-stats b{font-size:24px}.referral-link-row{flex-direction:column}.referral-link-row .outline-btn{width:100%}}
/* V62.4 referral banner: show the complete professional banner, without a separate Share Preview text panel. */
.referral-banner-preview{padding:0!important;overflow:hidden;margin-top:12px;background:#fff;border-radius:16px}.referral-banner-preview img{display:block;width:100%;height:auto;max-height:360px;object-fit:contain;background:#fff}.referral-share-buttons button{display:flex!important;align-items:center;justify-content:center;gap:7px;min-height:48px}.share-app-icon{width:25px;height:25px;border-radius:50%;display:inline-grid;place-items:center;font-weight:900;font-size:14px;line-height:1;background:#f0f2f4;color:#263238}.share-app-icon.whatsapp{background:#25D366;color:#fff}.share-app-icon.telegram{background:#229ED9;color:#fff}.share-app-icon.facebook{background:#1877F2;color:#fff;font-family:Arial,sans-serif}.share-app-icon.xicon{background:#111;color:#fff}.share-app-icon.native{background:#078b3e;color:#fff}.referral-share-buttons button span:last-child{font-weight:800}@media(max-width:700px){.referral-banner-preview img{max-height:none}.referral-share-buttons button{min-height:52px;font-size:13px}}

/* V62.5: Remove the separate referral hero/share card. Put one professional Share button directly under the full banner. */
.referral-banner-share-btn{display:block;width:calc(100% - 28px);margin:12px 14px 14px;min-height:52px;border-radius:14px;font-size:18px;font-weight:900;cursor:pointer;}
.referral-banner-preview{padding:0!important;overflow:hidden;margin-top:12px;background:#fff;border-radius:16px;}
.referral-banner-preview img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:#fff;}
@media(max-width:700px){.referral-banner-share-btn{width:calc(100% - 24px);margin:10px 12px 12px;min-height:54px;font-size:17px}.referral-banner-preview img{max-height:none;object-fit:contain}}
/* V62.7 long-video quick access */
.home-quick-link.videos .quick-icon{background:#e8f3ff;color:#1269d3}
#tab-videos .page-title{margin-bottom:14px}
#tab-videos .page-title .green-btn{max-width:320px}
#videos-feed .post-media video{max-height:720px;width:100%;object-fit:contain;background:#000}
@media(max-width:700px){#tab-videos .page-title .green-btn{max-width:none}}

/* V62.9: Clean 8-seat room layout */
.room-live-bg{background-image:none!important;background:radial-gradient(circle at 50% 8%,#35206f 0,#120a38 42%,#050218 100%)!important;filter:none!important}
.room-live-bg:after{background:linear-gradient(180deg,rgba(7,2,30,.15),rgba(5,1,22,.30) 45%,rgba(3,1,15,.88) 100%)!important}
.room-seats{grid-template-columns:repeat(4,1fr);gap:16px 14px;padding:18px 15px 12px;max-height:none}
.room-seat-avatar{width:78px;height:78px}
@media(max-width:700px){
  .room-seats{grid-template-columns:repeat(4,1fr);gap:14px 8px;padding:16px 10px 10px;max-height:none;overflow:visible}
  .room-seat-avatar{width:66px;height:66px}
  .room-seat-name{font-size:10px}
}

/* v63.0 Professional Google + Password Login */
.auth-form .password-wrap{position:relative;display:flex;align-items:center}
.auth-form .password-wrap input{width:100%;padding-right:48px}
.auth-form .password-wrap .toggle-pass{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent;font-size:18px;cursor:pointer;padding:8px}
.bgks-google-signin{display:flex;justify-content:center;margin:14px auto 8px;min-height:44px}
.password-login-btn{background:#078b3e!important;color:#fff!important}
.login-divider{display:flex;align-items:center;gap:10px;color:#888;margin:12px 0}
.login-divider:before,.login-divider:after{content:"";height:1px;background:#e0e3e7;flex:1}
.login-divider span{font-size:13px}

/* V64: Wallet + Withdrawal professional UI */
.home-quick-link.wallet .quick-icon{background:#fff3cd}.home-quick-link.withdrawal .quick-icon{background:#e5f0ff}
.wallet-hero{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#087a38,#0aa84f);color:#fff;border:0;padding:26px 24px;overflow:hidden}.wallet-hero>div{display:flex;flex-direction:column;gap:5px}.wallet-label{font-size:14px;opacity:.9}.wallet-hero b{font-size:36px;line-height:1.1}.wallet-hero small{opacity:.9}.wallet-coin{width:68px;height:68px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#087a38;font-weight:900;font-size:30px;box-shadow:0 5px 18px rgba(0,0,0,.16)}
.wallet-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0}.wallet-stats .card{display:flex;flex-direction:column;gap:5px;text-align:center;padding:18px}.wallet-stats b{font-size:22px;color:#087a38}.wallet-stats span{color:#667085;font-size:13px}.wallet-note{border-left:4px solid #087a38;color:#59636e}.withdrawal-balance{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;padding:18px 20px}.withdrawal-balance span{color:#667085}.withdrawal-balance b{font-size:27px;color:#087a38}.withdrawal-form{max-width:760px;padding:22px}.withdrawal-form h3,.withdrawal-history-card h3{margin-top:0}.withdrawal-form label{display:block;font-weight:700;margin:12px 0}.withdrawal-form input{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:13px 14px;border:1px solid #d8dee4;border-radius:10px;background:#fff;font-size:16px}.withdrawal-form button{width:100%;margin-top:8px}.withdrawal-history-card{margin-top:14px;padding:20px}.withdraw-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #e7eaed}.withdraw-row:last-child{border-bottom:0}.withdraw-row small{display:block;color:#7a8490;margin-top:3px}.withdraw-status{padding:6px 10px;border-radius:999px;background:#dff5e7;color:#087a38;font-size:12px;font-weight:800}.withdraw-status.paid{background:#dff5e7;color:#087a38}.withdraw-status.rejected{background:#ffe1e1;color:#b42318}.action-msg.ok{color:#087a38}.wallet-page-head{display:flex;justify-content:space-between}
@media(max-width:700px){.wallet-hero{padding:22px 18px}.wallet-hero b{font-size:30px}.wallet-coin{width:56px;height:56px;font-size:25px}.wallet-stats{grid-template-columns:1fr}.withdrawal-form{padding:16px}.withdraw-row{align-items:flex-start}}

/* V67 YouTube-style long video + creator channel UI */
.video-page-buttons{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.outline-btn{border:1px solid #0a8f3d;background:#fff;color:#087b35;border-radius:12px;padding:12px 16px;font-weight:800;cursor:pointer}.bgks-video-card{overflow:hidden;margin-bottom:18px}.bgks-video-player{background:#000;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center}.bgks-long-video{width:100%;height:100%;object-fit:contain;background:#000}.bgks-video-info{padding:14px 16px}.bgks-video-title{font-size:20px;font-weight:800;line-height:1.25;margin-bottom:12px}.bgks-video-channel{display:flex;align-items:center;gap:10px}.bgks-video-channel img{width:42px;height:42px;border-radius:50%;object-fit:cover}.bgks-video-channel>div{min-width:0;flex:1}.channel-name{display:block;color:#111;font-weight:800;text-decoration:none}.bgks-video-channel small{display:block;color:#777;margin-top:3px}.channel-subscribe{border:0;border-radius:18px;padding:9px 14px;background:#111;color:#fff;font-weight:800;cursor:pointer;white-space:nowrap}.bgks-video-desc{margin:12px 0;padding:11px 12px;border-radius:12px;background:#f5f7f6;white-space:normal}.bgks-video-actions{display:flex;gap:8px;border-top:1px solid #eee;margin-top:12px;padding-top:10px}.bgks-video-actions button{border:0;background:#f2f3f3;border-radius:20px;padding:9px 14px;font-weight:700;cursor:pointer}.channel-panel{overflow:hidden;margin-bottom:18px}.channel-banner{height:150px;background:linear-gradient(135deg,#079b42,#00c853);background-size:cover;background-position:center;display:flex;align-items:flex-end;padding:16px}.channel-avatar{width:76px;height:76px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:36px;border:4px solid #fff;box-shadow:0 4px 15px #0003}.channel-panel-body{padding:16px}.channel-panel-body h2{margin:0 0 6px;font-size:25px}.channel-panel-body p{margin:0 0 10px;color:#666}.channel-meta{margin-bottom:12px;color:#555}.channel-meta b{color:#111}.video-upload-box{max-height:90vh;overflow:auto}.video-upload-box label,.bgks-modal-box label{display:block;margin:12px 0;font-weight:700}.video-upload-box input,.video-upload-box textarea,.bgks-modal-box input,.bgks-modal-box textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #ddd;border-radius:10px;margin-top:6px;font:inherit}.video-upload-box #channel-video-preview video{width:100%;max-height:260px;background:#000;border-radius:12px;margin:8px 0}.home-quick-link.channel{border-color:#bfe9d0}
@media(max-width:700px){.video-page-buttons{width:100%}.video-page-buttons button{flex:1}.bgks-video-title{font-size:18px}.bgks-video-actions{overflow-x:auto}.bgks-video-actions button{white-space:nowrap}.channel-banner{height:125px}}
/* V67 Short-video creator camera UI */
.reel-camera-stage{position:relative;overflow:hidden}.reel-camera-stage #reel-live-camera{display:block;width:100%;height:100%;object-fit:cover}.reel-gallery-floating{position:absolute!important;left:18px;bottom:18px;z-index:6;flex:none!important;width:auto!important;padding:13px 20px!important;border-radius:28px!important;background:#fff!important;color:#111!important;border:0!important;font-size:18px!important;box-shadow:0 4px 16px rgba(0,0,0,.25)}#reel-scroll-btn{position:absolute;right:14px;bottom:18px;z-index:7;width:48px;height:48px;border:0;border-radius:50%;background:rgba(40,40,40,.72);color:#fff;font-size:30px;line-height:1}.reel-camera-controls{display:flex;gap:10px;padding:12px;background:#111}.reel-camera-controls button{flex:1;border:1px solid #444;background:#222;color:#fff;border-radius:12px;padding:12px;font-weight:800}.reel-camera-status{text-align:center;background:#111;color:#ddd;padding:0 14px 12px;font-size:13px}.reel-upload-box #reel-upload-preview{display:none;width:100%;height:100%;object-fit:cover}.reel-upload-box #reel-upload-empty small{display:block;font-size:13px;color:#aaa;margin-top:8px}.reel-upload-box{background:#0b0b0b!important;color:#fff!important;max-width:520px!important;padding:0!important;overflow:hidden}.reel-camera-head{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:#111}.reel-camera-head button{background:none;border:0;color:#fff;font-size:28px}.reel-camera-head span{font-size:12px;opacity:.75}.reel-camera-stage{height:520px;background:#000;display:flex;align-items:center;justify-content:center;position:relative}.reel-camera-stage video{width:100%;height:100%;object-fit:cover;display:none}.reel-camera-stage #reel-upload-empty{text-align:center;color:#ddd;font-size:24px;line-height:1.5}.reel-camera-stage #reel-upload-empty small{display:block;font-size:13px;color:#aaa}.reel-upload-actions{display:flex;gap:10px;padding:14px;background:#111}.reel-upload-actions button{flex:1;border:1px solid #444;background:#222;color:#fff;border-radius:12px;padding:12px;font-weight:800}.reel-upload-box>label{display:block;padding:0 14px;margin:10px 0;font-weight:700}.reel-upload-box>label input{width:100%;box-sizing:border-box;padding:12px;border-radius:10px;border:1px solid #444;background:#1b1b1b;color:#fff;margin-top:6px}.reel-upload-box>#publish-short-video{margin:4px 14px 14px;width:calc(100% - 28px)}.reel-upload-box .action-msg{padding:0 14px 12px;color:#ddd}
/* V67.1 clean video page + YouTube-style viewer */
.video-top-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0 18px}.video-top-actions button{width:100%;min-height:52px;font-size:16px}.video-open-trigger{position:relative;cursor:pointer}.video-open-trigger .bgks-long-video{pointer-events:none}.video-play-overlay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;border-radius:50%;background:rgba(0,0,0,.72);color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;padding-left:4px;box-shadow:0 4px 20px rgba(0,0,0,.35)}.own-channel-subscribe{background:#e9ecef!important;color:#555!important;cursor:default!important}.bgks-video-viewer{background:rgba(0,0,0,.92)!important;z-index:99999!important}.video-viewer-box{width:min(980px,96vw);max-height:96vh;overflow:auto;background:#fff;border-radius:16px;position:relative;padding:0!important}.video-viewer-box>video{display:block;width:100%;max-height:70vh;background:#000;object-fit:contain}.video-viewer-close{position:absolute;right:12px;top:10px;z-index:3;width:42px;height:42px;border:0;border-radius:50%;background:rgba(0,0,0,.7);color:#fff;font-size:28px;line-height:1;cursor:pointer}.video-viewer-info{padding:16px 18px 20px}.video-viewer-info h2{margin:0 0 12px;font-size:22px}.video-viewer-channel{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.video-viewer-channel span:first-child{font-weight:800}.video-viewer-channel span:nth-child(2){color:#666}.video-viewer-channel .channel-subscribe{margin-left:auto}.video-viewer-info p{color:#555;white-space:pre-wrap;margin:12px 0 0}.channel-panel{margin-bottom:16px}
@media(max-width:700px){.video-top-actions{grid-template-columns:1fr 1fr;gap:8px}.video-top-actions button{padding:10px 8px;font-size:14px}.video-play-overlay{width:58px;height:58px}.video-viewer-box{width:100%;max-height:100vh;border-radius:0}.video-viewer-box>video{max-height:62vh}.video-viewer-info{padding:14px}.video-viewer-info h2{font-size:19px}}

.video-thumb-preview{margin:8px 0 12px}.video-thumb-preview img{display:block;width:100%;max-width:360px;max-height:200px;object-fit:cover;border-radius:12px;border:1px solid #d8dee4}.action-msg.error{color:#b42318;background:#fff1f1;padding:10px;border-radius:10px;margin:10px 0}.action-msg.ok{background:#effaf3;padding:10px;border-radius:10px;margin:10px 0}

/* V67.6: video upload modal is appended to body, so scoped --green is unavailable. Keep publish button visible and tappable on mobile. */
#video-upload-modal .video-upload-box #publish-long-video{display:block!important;visibility:visible!important;opacity:1!important;background:#078b3e!important;color:#fff!important;width:100%!important;min-height:52px!important;padding:14px 16px!important;margin:14px 0 8px!important;border:0!important;border-radius:10px!important;font-size:17px!important;font-weight:800!important;line-height:1.25!important;cursor:pointer!important;position:relative!important;z-index:100002!important;touch-action:manipulation!important;-webkit-appearance:none!important;appearance:none!important}
#video-upload-modal .video-upload-box #publish-long-video:disabled{opacity:.75!important;background:#078b3e!important;color:#fff!important}
#video-upload-modal .video-upload-box #channel-video-thumb-preview img{display:block;width:100%;max-height:220px;object-fit:contain;background:#f5f5f5;border-radius:10px;margin:8px 0}
@media(max-width:700px){#video-upload-modal{padding:8px!important;align-items:flex-start!important}#video-upload-modal .video-upload-box{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 16px)!important;margin:0!important;padding:18px!important;border-radius:14px!important}#video-upload-modal .video-upload-box #publish-long-video{min-height:56px!important;font-size:18px!important;margin-bottom:12px!important}}

/* V67.9: Withdrawal success popup */
body.bgks-withdraw-popup-open{overflow:hidden!important}
.bgks-withdraw-popup{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:18px;opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease;box-sizing:border-box}
.bgks-withdraw-popup.show{opacity:1;visibility:visible}
.bgks-withdraw-popup-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58);backdrop-filter:blur(2px)}
.bgks-withdraw-popup-card{position:relative;width:min(430px,calc(100vw - 36px));box-sizing:border-box;background:#fff;border-radius:24px;padding:30px 22px 24px;text-align:center;box-shadow:0 22px 70px rgba(0,0,0,.3);transform:translateY(12px) scale(.96);transition:transform .2s ease;z-index:1}
.bgks-withdraw-popup.show .bgks-withdraw-popup-card{transform:translateY(0) scale(1)}
.bgks-withdraw-popup-close{position:absolute;right:12px;top:10px;width:40px;height:40px;border:0;border-radius:50%;background:#f1f3f5;color:#555;font-size:30px;line-height:1;cursor:pointer}
.bgks-withdraw-popup-icon{width:76px;height:76px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:#dff7e8;color:#087a38;font-size:48px;font-weight:900;box-shadow:0 0 0 8px #effbf3}
.bgks-withdraw-popup-card h2{margin:0 0 10px;font-size:25px;color:#087a38}
.bgks-withdraw-popup-amount{font-size:30px;font-weight:900;color:#17202a;margin:6px 0 10px}
.bgks-withdraw-popup-card p{margin:0 auto 18px;max-width:340px;color:#667085;font-size:15px;line-height:1.5}
.bgks-withdraw-popup-ok{width:100%;height:50px;border:0;border-radius:14px;background:#087a38;color:#fff;font-size:18px;font-weight:800;cursor:pointer}
@media(max-width:520px){.bgks-withdraw-popup-card{padding:28px 18px 20px;border-radius:22px}.bgks-withdraw-popup-icon{width:68px;height:68px;font-size:42px}.bgks-withdraw-popup-card h2{font-size:23px}.bgks-withdraw-popup-amount{font-size:28px}}

/* V68.0 YouTube-style long-video viewer actions */
.video-viewer-actions{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #eee;margin-top:14px;padding-top:12px}
.video-viewer-actions .viewer-action{border:0;background:#f2f3f3;color:#17202a;border-radius:22px;padding:10px 15px;font-weight:800;cursor:pointer;min-height:42px}
.video-viewer-actions .viewer-action.liked{background:#e8f2ff;color:#1877f2}
#bgks-viewer-action-status{min-height:22px;margin-top:8px;color:#087b35;font-weight:700}
@media(max-width:700px){.video-viewer-box{width:100%;max-width:100%;max-height:100vh;border-radius:0}.video-viewer-box>video{max-height:58vh;min-height:220px}.video-viewer-info{padding:14px}.video-viewer-actions{display:grid;grid-template-columns:repeat(3,1fr)}.video-viewer-actions .viewer-action{padding:9px 7px;font-size:13px}.video-viewer-channel .channel-subscribe{margin-left:0}}

/* V68.1 audit hardening */
body.bgks-withdraw-popup-open{overflow:hidden}.bgks-video-viewer .video-viewer-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.bgks-video-viewer .viewer-action{border:1px solid #e0e3e7;background:#f7f8fa;border-radius:9px;padding:10px 14px;font-weight:750;cursor:pointer}.bgks-video-viewer .viewer-action.liked{color:#1877f2;background:#eaf2ff}.bgks-video-viewer .action-msg{min-height:20px;margin-top:8px;color:#087f3b}.bgks-video-viewer .video-viewer-close{position:absolute;right:10px;top:10px;z-index:3;width:40px;height:40px;border:0;border-radius:50%;background:#0009;color:#fff;font-size:28px;line-height:40px}
/* v68.2 Monetization */
.bgks2-ad-slot{margin:12px 0;padding:8px;text-align:center;min-height:0;overflow:hidden;border-radius:12px}
.bgks2-ad-slot:empty{display:none}
.bgks2-ad-slot iframe,.bgks2-ad-slot img{max-width:100%;height:auto}
@media(max-width:600px){.bgks2-ad-slot{margin:8px -2px;padding:4px}}


/* V68.4 YouTube-style create menu and Profile channel system */
.youtube-create-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
.youtube-create-grid button{
  min-height:112px!important;
  border-radius:18px!important;
  background:#fff!important;
  border:1px solid #e3e8ed!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  box-shadow:0 2px 8px rgba(0,0,0,.06)!important;
}
.youtube-create-grid button b{font-size:18px!important;color:#111!important}
.youtube-create-grid button small{font-size:12px!important;color:#6b7280!important}
.youtube-create-grid .ci{
  width:46px!important;height:46px!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;font-weight:900!important;font-size:18px!important;
}
.profile-channel-system{margin-top:14px!important;padding:16px!important}
.profile-channel-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.profile-channel-head>div{display:flex;align-items:center;gap:10px;min-width:0}
.channel-system-icon{width:48px;height:48px;border-radius:14px;background:#eef7ff;display:grid;place-items:center;font-size:25px}
.profile-channel-head b{display:block;font-size:18px}
.profile-channel-head small{display:block;color:#737b84;margin-top:3px}
.profile-channel-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}
.profile-channel-actions button{
  min-height:44px;border:1px solid #dfe5ea;background:#fff;border-radius:12px;
  font-weight:700;cursor:pointer;padding:8px 10px
}
.profile-channel-actions button:hover{background:#f5f8fa}
.profile-settings-card{max-width:520px}
.settings-list{display:grid;gap:10px;margin:14px 0}
.settings-list label{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:14px;border:1px solid #e3e7eb;border-radius:14px;background:#fafbfc
}
.settings-list label span{display:flex;flex-direction:column;gap:3px}
.settings-list label small{color:#737b84}
.settings-list input[type=checkbox]{width:22px;height:22px;accent-color:#078b3e}
@media(max-width:600px){
 .youtube-create-grid{grid-template-columns:repeat(2,1fr)!important}
 .youtube-create-grid button{min-height:100px!important}
 .profile-channel-actions{grid-template-columns:1fr 1fr}
 .profile-channel-head .outline-btn{font-size:12px!important;padding:9px!important}
}
/* V68.8 final Short camera/upload layout overrides */
.reel-upload-box .reel-camera-stage #reel-live-camera{display:block;width:100%;height:100%;object-fit:cover}
.reel-upload-box .reel-camera-stage #reel-upload-preview{display:none;width:100%;height:100%;object-fit:cover}
.reel-upload-box .reel-camera-stage #reel-upload-empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:90%;text-align:center;color:#ddd;z-index:2}
.reel-upload-box .reel-camera-stage .reel-gallery-floating{position:absolute!important;left:16px;bottom:16px;z-index:8;display:block!important;width:auto!important;min-width:120px;flex:none!important;padding:13px 20px!important;border:0!important;border-radius:28px!important;background:#fff!important;color:#111!important;font-size:18px!important;font-weight:800;box-shadow:0 4px 16px rgba(0,0,0,.3)}
.reel-upload-box .reel-camera-stage #reel-scroll-btn{position:absolute;right:14px;bottom:16px;z-index:8;width:48px;height:48px;border:0;border-radius:50%;background:rgba(40,40,40,.75);color:#fff;font-size:30px;line-height:48px;padding:0}
.reel-upload-box .reel-camera-controls{display:flex;gap:10px;padding:12px;background:#111}
.reel-upload-box .reel-camera-controls button{flex:1;border:1px solid #444;background:#222;color:#fff;border-radius:12px;padding:12px;font-weight:800}
.reel-upload-box .reel-camera-status{text-align:center;background:#111;color:#ddd;padding:0 14px 12px;font-size:13px}

/* V68.10: YouTube-style scrollable Create/Short composer + reliable mobile file picker */
#create-modal .create-menu-card{width:min(560px,96vw)!important;max-height:calc(100dvh - 28px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding-bottom:24px!important}
#create-modal .create-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding-bottom:12px!important}
#create-modal .create-grid button{min-height:120px!important;touch-action:manipulation!important}
#reel-upload-modal{align-items:flex-start!important;padding:8px!important;overflow-y:auto!important}
#reel-upload-modal .reel-upload-box{width:min(520px,96vw)!important;max-height:calc(100dvh - 16px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;margin:0 auto!important}
#reel-upload-modal .reel-camera-stage{height:min(58dvh,520px)!important;min-height:360px!important}
#reel-upload-modal #reel-editor-options{padding-bottom:10px!important}
#reel-upload-modal .reel-gallery-floating{touch-action:manipulation!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important}
#reel-upload-modal .reel-file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;left:-9999px!important;pointer-events:none!important}
#reel-upload-modal .reel-camera-controls{position:sticky;bottom:0;z-index:10}
@media(max-width:700px){#create-modal .create-menu-card{width:96vw!important;max-height:calc(100dvh - 20px)!important;border-radius:18px!important}#create-modal .create-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}#create-modal .create-grid button{min-height:112px!important}#reel-upload-modal .reel-upload-box{width:96vw!important;max-height:calc(100dvh - 12px)!important;border-radius:18px!important}#reel-upload-modal .reel-camera-stage{height:52dvh!important;min-height:320px!important}}

/* V68.12: Short Video 5-step creator flow — Gallery -> Trim -> Edit -> Info -> Publish */
.short-wizard-box{width:min(520px,96vw)!important;max-height:calc(100dvh - 12px)!important;padding:0!important;background:#0b0b0b!important;color:#fff!important;overflow:hidden!important;border-radius:18px!important}
.short-wizard-head{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:#111;box-sizing:border-box}.short-wizard-head button{border:0;background:none;color:#fff;font-size:32px;line-height:1}.short-wizard-head b{font-size:18px}.short-wizard-head span{font-size:13px;opacity:.8}.short-stepbar{display:flex;gap:5px;padding:8px 12px;background:#111}.short-stepbar span{height:3px;flex:1;border-radius:4px;background:#555}.short-stepbar span.active{background:#fff}.short-step{display:none;min-height:calc(100dvh - 180px);max-height:calc(100dvh - 180px);overflow:auto;background:#000}.short-step.active{display:block}.short-camera-stage,.short-preview-frame,.short-final-preview{height:min(62dvh,590px);min-height:330px;background:#000;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.short-camera-stage video,.short-preview-frame video,.short-final-preview video,.short-info-preview video{width:100%;height:100%;object-fit:cover;background:#000}.short-camera-stage #reel-live-camera{display:block}.short-camera-stage #reel-upload-preview{display:none}.short-camera-stage #reel-upload-empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;color:#ddd;width:90%;font-size:25px}.short-camera-stage #reel-upload-empty small{display:block;color:#aaa;font-size:13px;margin-top:8px}.short-record-timer{display:block;text-align:center;padding:10px 12px 2px;background:#111;color:#fff;font-size:26px;font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:1px}.short-camera-actions{display:flex;gap:10px;padding:12px;background:#111}.short-camera-actions button{flex:1;padding:13px;border:1px solid #444;border-radius:12px;background:#222;color:#fff;font-weight:800}.short-gallery-btn{display:block;width:calc(100% - 28px);margin:12px 14px;padding:14px;border:0;border-radius:13px;background:#fff;color:#111;font-size:17px;font-weight:800}.short-step-title{padding:18px 16px 10px;font-size:22px;font-weight:900}.short-trim-row{display:flex;align-items:center;gap:10px;padding:14px 16px}.short-trim-row input{flex:1}.short-help{padding:0 16px 18px;color:#aaa}.short-edit-tools{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;padding:12px;background:#111}.short-edit-tools button{border:1px solid #333;border-radius:12px;background:#1b1b1b;color:#fff;padding:10px 3px;font-size:20px;font-weight:800}.short-edit-tools small{font-size:10px;color:#ccc}.short-edit-msg{padding:10px 14px;min-height:25px;color:#ddd}.short-field{display:block;padding:8px 16px;font-weight:800}.short-field input,.short-field textarea{display:block;width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #444;border-radius:12px;background:#171717;color:#fff;padding:13px;font:inherit}.short-info-preview{height:220px;margin:0 16px;background:#000;position:relative;border-radius:14px;overflow:hidden}.short-info-preview span{position:absolute;right:10px;bottom:10px;background:#000b;padding:5px 8px;border-radius:7px}.short-audience-row{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #292929}.short-audience-row span{display:flex;flex-direction:column;gap:3px}.short-audience-row small{color:#aaa}.short-final-caption{padding:15px 16px;color:#ddd;white-space:pre-wrap}.short-wizard-nav{display:flex;gap:10px;padding:12px;background:#111}.short-wizard-nav button{flex:1;min-height:48px;border:0;border-radius:13px;background:#333;color:#fff;font-weight:900;font-size:16px}.short-wizard-nav #short-next{background:#fff;color:#111}.short-step .action-msg{padding:10px 16px;color:#ddd}.short-wizard-modal{align-items:flex-start!important;padding:6px!important;overflow-y:auto!important}.short-wizard-box .reel-file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;left:-9999px!important;pointer-events:none!important}.short-wizard-box .reel-camera-status{padding:8px 14px 12px;text-align:center;background:#111;color:#ccc;font-size:13px}
@media(max-width:700px){.short-wizard-box{width:96vw!important}.short-step{min-height:calc(100dvh - 170px);max-height:calc(100dvh - 170px)}.short-camera-stage,.short-preview-frame,.short-final-preview{height:56dvh;min-height:320px}.short-edit-tools button{font-size:17px}.short-info-preview{height:190px}}

/* V68.13: working Short visibility/audience controls */
.short-audience-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;background:transparent;color:inherit;border:0;border-bottom:1px solid rgba(255,255,255,.14);padding:18px 24px;cursor:pointer;font:inherit}
.short-audience-row span:first-child{display:flex;flex-direction:column;gap:5px}.short-audience-row small{opacity:.65;font-size:14px}.short-choice-box{max-width:520px;width:calc(100% - 28px);padding:24px;border-radius:22px}.short-choice-close{float:right;border:0;background:#eee;border-radius:50%;width:42px;height:42px;font-size:28px;cursor:pointer}.short-choice-box h3{font-size:26px;margin:8px 50px 22px 0}.short-choice-list{display:flex;flex-direction:column;gap:10px}.short-choice-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px;border:1px solid #ddd;border-radius:15px;background:#fff;color:#111;text-align:left;cursor:pointer}.short-choice-item small{display:block;margin-top:5px;opacity:.65}.short-choice-item.active{border-width:2px}.short-choice-check{opacity:0;font-size:22px}.short-choice-item.active .short-choice-check{opacity:1}

.short-edit-text-preview,#short-edit-text-preview{position:absolute;left:0;right:0;bottom:24px;text-align:center;color:#fff;font-size:30px;font-weight:900;text-shadow:0 2px 8px #000;pointer-events:none;z-index:3}.short-edit-text-preview.has-sticker:after{content:attr(data-sticker);position:absolute;right:18px;bottom:0;font-size:42px;text-shadow:none}.short-edit-picker-box{max-width:520px;width:calc(100% - 28px);padding:24px;border-radius:22px}.short-picker-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.short-picker-grid button,.short-sticker-grid button{border:1px solid #ddd;border-radius:14px;background:#fff;color:#111;padding:16px;font-weight:900;font-size:16px}.short-sticker-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.short-sticker-grid button{font-size:30px}

/* V68.16 Add Bank OTP UI */
.bgks-bank-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.bgks-bank-head h3{margin:0}.bgks-bank-head .outline-btn{width:auto;margin:0;white-space:nowrap}
.saved-bank-card{border:1px solid #cfe8d7;background:#f1fbf4;border-radius:14px;padding:14px 16px;margin-bottom:14px;display:flex;flex-direction:column;gap:4px}.saved-bank-card strong{font-size:17px}.saved-bank-card span{color:#334155;font-weight:700}.saved-bank-card small{color:#087a38;font-weight:700;margin-top:3px}
.no-bank-card{border:1px dashed #cbd5e1;border-radius:14px;padding:16px;margin-bottom:14px;background:#fafafa;color:#667085}.no-bank-card .green-btn{width:auto;margin-top:10px}
.bgks-bank-modal{z-index:100000}.bgks-bank-box{position:relative;max-width:520px;width:calc(100% - 28px);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;padding:22px;box-sizing:border-box}.bgks-bank-box h2{margin:0 35px 8px 0}.bgks-bank-box label{display:block;font-weight:700;margin:12px 0}.bgks-bank-box input{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:13px;border:1px solid #d8dee4;border-radius:10px;font:inherit}.bgks-bank-close{position:absolute;right:12px;top:10px;border:0;background:#f1f3f5;border-radius:50%;width:40px;height:40px;font-size:28px;cursor:pointer}.bgks-bank-otp-row{display:flex;align-items:center;gap:10px;margin:14px 0}.bgks-bank-otp-row .outline-btn{width:auto;margin:0}.bgks-bank-otp-row span{font-size:13px;color:#087a38;font-weight:700}.bgks-bank-box .green-btn{width:100%;margin-top:8px}.bgks-bank-confirm-row{margin-top:10px}.bgks-bank-confirm-btn{display:flex!important;align-items:center;justify-content:center;min-height:50px;font-size:16px!important;opacity:1!important;visibility:visible!important}.bgks-bank-confirm-btn{background:#078b3e!important;color:#fff!important;font-family:inherit!important;white-space:nowrap!important;text-indent:0!important;overflow:visible!important;line-height:1.2!important;gap:8px!important}.bgks-bank-confirm-btn .bgks-bank-confirm-text{display:inline!important;color:#fff!important;font-size:18px!important;font-weight:800!important;visibility:visible!important;opacity:1!important}.bgks-bank-confirm-btn .bgks-bank-confirm-icon{display:inline!important;font-size:18px!important;line-height:1!important;visibility:visible!important;opacity:1!important}.bgks-bank-box #bgks-bank-otp-wrap{display:block!important}.bgks-bank-box #bgks-bank-otp{font-size:18px;letter-spacing:2px}
@media(max-width:700px){.bgks-bank-head .outline-btn{padding:10px 12px}.bgks-bank-box{padding:18px}.bgks-bank-otp-row{align-items:flex-start;flex-direction:column}.bgks-bank-otp-row .outline-btn{width:100%}}

/* V68.17 Add Bank Mobile OTP */
#bgks-bank-mobile{font-variant-numeric:tabular-nums}
/* v68.25 mobile bottom navigation: Home, Reels, Upload, Video, Profile */
@media(max-width:700px){
  .mobile-bottom #mobile-create{width:54px;height:54px;border-radius:50%;background:var(--green);color:#fff;font-size:32px;line-height:1;margin-top:-13px;box-shadow:0 5px 15px rgba(0,130,55,.28);}
  .mobile-bottom #mobile-create b{display:block;font-size:32px;line-height:31px;font-weight:400;}
  .mobile-bottom #mobile-create span{font-size:9px;font-weight:700;line-height:12px;}
  .mobile-bottom .mobile-profile-tab img{width:34px;height:34px;border-radius:50%;object-fit:cover;display:block;}
  .mobile-bottom .mobile-profile-tab span{margin-top:1px;}
}

/* V68.26: YouTube-style Channel system */
.channel-panel-full{padding:0!important;background:#fff!important;border-radius:18px!important;overflow:hidden!important}
.youtube-channel-page{background:#fff;color:#111;min-height:600px}
.channel-topbar{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid #eee;background:#fff}
.channel-topbar button{border:0;background:transparent;font-size:30px;cursor:pointer;color:#111;padding:8px 12px}
.channel-top-actions{display:flex;gap:2px}
.channel-cover{height:190px;background:linear-gradient(135deg,#101010,#333);background-position:center;background-size:cover}
.channel-identity{display:flex;gap:18px;padding:18px 22px 8px;align-items:center}
.channel-avatar-large{width:112px;height:112px;min-width:112px;border-radius:50%;background:#f2f3f5;border:4px solid #fff;box-shadow:0 1px 5px #0002;display:grid;place-items:center;overflow:hidden;font-size:42px}
.channel-avatar-large img{width:100%;height:100%;object-fit:cover}
.channel-identity-text{min-width:0}
.channel-identity-text h1{font-size:30px;margin:0 0 4px;line-height:1.1}
.channel-handle{font-size:16px;color:#555;margin-bottom:7px}
.channel-subscriber-line{font-size:15px;color:#555}
.channel-description{padding:4px 22px 8px;color:#555;line-height:1.45;font-size:15px}.channel-description b{color:#111}
.channel-link{padding:0 22px 14px;color:#333;font-size:15px}
.channel-action-row{display:flex;gap:10px;padding:0 22px 18px;flex-wrap:wrap}
.channel-action-row button{border:0;background:#f2f3f3;border-radius:24px;padding:12px 18px;font-size:16px;font-weight:700;cursor:pointer}
.channel-action-row .channel-owner-btn,.channel-main-subscribe{background:#111;color:#fff;border-radius:24px}
.channel-tabs{display:flex;gap:0;border-bottom:1px solid #ddd;overflow-x:auto;white-space:nowrap;padding:0 8px}
.channel-tabs button{border:0;background:transparent;padding:16px 16px 13px;font-size:16px;font-weight:700;color:#666;cursor:pointer;border-bottom:3px solid transparent}
.channel-tabs button.active{color:#111;border-bottom-color:#111}
.channel-content{padding:18px 22px 28px}
.channel-loading,.channel-empty{padding:42px 18px;text-align:center;color:#777;background:#fafafa;border-radius:14px}
.channel-empty{font-size:16px}
.channel-short-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.channel-short-card{position:relative;border:0;background:#eee;border-radius:12px;overflow:hidden;aspect-ratio:9/14;padding:0;text-align:left;cursor:pointer;color:#fff}
.channel-short-card img{width:100%;height:100%;object-fit:cover;display:block}.channel-short-fallback{width:100%;height:100%;display:grid;place-items:center;background:#222;font-size:40px}
.channel-short-card:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.8))}
.channel-short-play{position:absolute;left:12px;top:12px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#000b;z-index:2}
.channel-short-card b{position:absolute;left:10px;right:10px;bottom:10px;z-index:2;font-size:14px;line-height:1.25}
.channel-live-empty{text-align:center;padding:45px 18px;background:#fafafa;border-radius:14px}.channel-live-icon{font-size:42px}.channel-live-empty h3{font-size:24px;margin:8px 0}.channel-live-empty p{color:#777}
@media(max-width:700px){
 .channel-cover{height:145px}.channel-identity{padding:14px 15px 6px;gap:12px}.channel-avatar-large{width:82px;height:82px;min-width:82px}.channel-identity-text h1{font-size:23px}.channel-handle,.channel-subscriber-line{font-size:13px}.channel-description,.channel-link{padding-left:15px;padding-right:15px}.channel-action-row{padding:0 15px 14px;gap:7px}.channel-action-row button{font-size:13px;padding:10px 13px}.channel-tabs{padding:0 2px}.channel-tabs button{font-size:14px;padding:14px 12px}.channel-content{padding:14px 12px 22px}.channel-short-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
}

/* V68.27: Profile opens the full YouTube-style channel page. */

/* V68.29: Keep Profile and Channel as separate destinations. */
#tab-profile{display:none}
#tab-profile.active{display:block}
.mobile-profile-tab{display:flex!important}
#header-channel-open,#left-channel-open{cursor:pointer}
@media(max-width:700px){.mobile-bottom{grid-template-columns:repeat(5,1fr)!important}.mobile-bottom button{flex:1!important;min-width:0!important}.mobile-bottom #mobile-create{margin-left:4px;margin-right:4px}}

/* V68.30: Channel opens as a real full-screen YouTube-style destination. */
body.bgks-channel-open{overflow:hidden!important}
#channel-panel.channel-panel-full{position:fixed!important;inset:0!important;z-index:99999!important;margin:0!important;width:100vw!important;height:100vh!important;max-width:none!important;overflow-y:auto!important;background:#fff!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
#channel-panel.channel-panel-full .youtube-channel-page{min-height:100vh;border-radius:0}
#channel-panel.channel-panel-full .channel-topbar{position:sticky;top:0;z-index:20}
#channel-panel.channel-panel-full .channel-cover{height:260px}
#channel-panel.channel-panel-full .channel-identity{max-width:1100px;margin:0 auto}
#channel-panel.channel-panel-full .channel-description,#channel-panel.channel-panel-full .channel-link,#channel-panel.channel-panel-full .channel-action-row{max-width:1100px;margin-left:auto;margin-right:auto}
#channel-panel.channel-panel-full .channel-tabs{max-width:1100px;margin:0 auto;position:sticky;top:58px;background:#fff;z-index:15}
#channel-panel.channel-panel-full .channel-content{max-width:1100px;margin:0 auto}
@media(max-width:700px){
 #channel-panel.channel-panel-full .channel-cover{height:190px}
 #channel-panel.channel-panel-full .channel-identity{padding-top:10px}
 #channel-panel.channel-panel-full .channel-avatar-large{width:92px;height:92px;min-width:92px;margin-top:-38px}
 #channel-panel.channel-panel-full .channel-identity-text h1{font-size:24px}
 #channel-panel.channel-panel-full .channel-tabs{top:58px}
}

/* V68.31/V68.32: Channel is an independent overlay and must stay hidden until opened. */
#channel-panel.channel-panel-full{display:block!important;visibility:visible!important;opacity:1!important;}
#channel-panel[hidden]{display:none!important;visibility:hidden!important;opacity:0!important;}
#channel-panel.channel-panel-full:not([hidden]){display:block!important;visibility:visible!important;opacity:1!important;}

/* V68.33: Home must not inherit Profile or Channel UI. */
#tab-home:not(.active){display:none!important;}
#tab-home.active{display:block!important;}
#tab-home .profile-channel-system,#tab-home .profile-cover,#tab-home .profile-info,#tab-home .profile-posts{display:none!important;}
#channel-panel[hidden]{display:none!important;}


/* v68.38: restore safe mobile header from v68.33; only wallet/notification controls */
.head-actions{display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0}
.head-actions button{position:relative;box-sizing:border-box}
.header-wallet{height:42px!important;min-width:132px!important;width:auto!important;padding:0 13px!important;border:1px solid #e3e7ea!important;border-radius:24px!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;color:#202124!important;white-space:nowrap!important}
.header-wallet strong{font-size:18px!important;font-weight:800!important}
.wallet-mini-coin{width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#f8c51c;color:#fff;font-size:12px;font-weight:900;box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)}
.header-notifications{width:42px!important;height:42px!important;border:0!important;border-radius:50%!important;background:#f1f3f5!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;color:#202124!important}
.notification-icon{font-size:24px;line-height:1;display:block;transform:translateY(-1px)}
.header-notifications .badge{right:-2px!important;top:-3px!important;display:grid;place-items:center;font-size:10px;line-height:1!important;min-width:18px!important;height:18px!important;padding:0 4px!important}
@media(max-width:700px){
 .bgks2-header{height:62px!important;padding:0 10px!important;gap:7px!important;overflow:visible!important}
 .bgks2-logo{min-width:0!important;flex:1 1 auto!important;overflow:hidden!important}
 .bgks2-logo b{font-size:17px!important;white-space:nowrap!important}
 .bgks2-search{width:40px!important;flex:0 0 40px!important;height:40px!important}
 .head-actions{gap:6px!important}
 .header-wallet{min-width:124px!important;height:40px!important;padding:0 11px!important}
 .header-wallet strong{font-size:17px!important}
 .header-notifications{width:40px!important;height:40px!important;flex:0 0 40px!important}
}


/* v68.41: BG Kisan name + clean 3-dot post menu */
.bgks2-logo b{white-space:nowrap!important;}
.bgks2-logo em{display:none!important;}

/* V68.43 — 3D top action buttons: search, wallet and notifications */
.bgks2-header .bgks2-search,
.bgks2-header .head-actions .header-wallet,
.bgks2-header .head-actions .header-notifications{
  position:relative;
  border:1px solid rgba(210,214,220,.9);
  background:linear-gradient(145deg,#ffffff 0%,#f7f8fa 55%,#e9edf1 100%);
  box-shadow:inset 2px 2px 5px rgba(255,255,255,.95),inset -2px -2px 5px rgba(170,178,188,.22),0 5px 12px rgba(31,41,55,.13),0 2px 3px rgba(31,41,55,.08);
  transform:translateY(0);
}
.bgks2-header .bgks2-search{border-radius:24px;height:48px;padding:0 15px;gap:9px;}
.bgks2-header .bgks2-search span{font-size:30px;line-height:1;color:#4e5964;text-shadow:1px 1px 1px #fff,-1px -1px 1px #b8bec6;}
.bgks2-header .bgks2-search input{font-weight:600;color:#252a30;}
.bgks2-header .head-actions{gap:12px;}
.bgks2-header .head-actions .header-wallet{
  width:auto!important;min-width:170px;height:48px!important;padding:0 25px;border-radius:26px!important;color:#171b20;cursor:pointer;
}
.bgks2-header .head-actions .header-wallet strong{font-size:21px;text-decoration:underline;text-underline-offset:3px;text-shadow:1px 1px 1px #fff,-1px -1px 1px #aeb5bd;}
.bgks2-header .head-actions .header-notifications{
  width:58px!important;height:58px!important;border-radius:50%!important;display:grid;place-items:center;cursor:pointer;
}
.bgks2-header .head-actions .header-notifications .notification-icon{font-size:30px;line-height:1;color:#30363d;text-shadow:1px 1px 1px #fff,-1px -1px 1px #aeb5bd;}
.bgks2-header .head-actions .header-notifications .badge{right:-1px;top:-3px;box-shadow:0 2px 5px rgba(0,0,0,.18);}
.bgks2-header .bgks2-search:active,
.bgks2-header .head-actions button:active{transform:translateY(2px);box-shadow:inset 2px 2px 5px rgba(130,138,148,.2),inset -2px -2px 5px rgba(255,255,255,.9),0 2px 5px rgba(31,41,55,.1);}
@media(max-width:700px){
  .bgks2-header{height:68px;padding:0 8px;gap:7px;}
  .bgks2-logo{flex:0 0 auto;gap:6px;}
  .bgks2-logo span{font-size:25px;}
  .bgks2-logo b{font-size:17px;}
  .bgks2-header .bgks2-search{flex:0 0 45px;width:45px;height:45px;padding:0;justify-content:center;border-radius:50%;}
  .bgks2-header .bgks2-search span{font-size:29px;}
  .bgks2-header .bgks2-search input{display:none;}
  .bgks2-header .head-actions{gap:7px;margin-left:auto;}
  .bgks2-header .head-actions .header-wallet{min-width:142px;width:142px!important;height:46px!important;padding:0 10px;border-radius:24px!important;}
  .bgks2-header .head-actions .header-wallet strong{font-size:19px;}
  .bgks2-header .head-actions .header-notifications{width:48px!important;height:48px!important;}
  .bgks2-header .head-actions .header-notifications .notification-icon{font-size:27px;}
}

/* V68.44: home financial actions - single row, icon above Hindi label */
.home-quick-links{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin:0 0 18px!important}
.home-quick-link{min-height:112px!important;height:112px!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:9px!important;padding:12px 8px!important;text-align:center!important;border:1px solid #e1e6ea!important;border-radius:20px!important;background:linear-gradient(145deg,#fff,#f6f8f9)!important;box-shadow:0 5px 0 #dce2e6,0 9px 18px rgba(20,35,50,.10)!important;transform:translateY(0)!important}
.home-quick-link:active{transform:translateY(3px)!important;box-shadow:0 2px 0 #dce2e6,0 5px 10px rgba(20,35,50,.10)!important}
.home-quick-link .quick-icon{width:54px!important;height:54px!important;min-width:54px!important;border-radius:17px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:28px!important;box-shadow:inset 0 2px 3px rgba(255,255,255,.8),0 3px 7px rgba(0,0,0,.10)!important}
.home-quick-link>span:nth-child(2){min-width:0!important;flex:0 0 auto!important}
.home-quick-link b{display:block!important;font-size:17px!important;color:#17202a!important;line-height:1.15!important;font-weight:800!important;white-space:nowrap!important}
.home-quick-link small,.home-quick-link strong{display:none!important}
.home-quick-link.referral .quick-icon{background:#fff3cf!important}.home-quick-link.withdrawal .quick-icon{background:#e5f1ff!important}.home-quick-link.wallet .quick-icon{background:#fff3cf!important}
@media(max-width:700px){.home-quick-links{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;margin-bottom:14px!important}.home-quick-link{min-height:96px!important;height:96px!important;padding:9px 4px!important;border-radius:16px!important;box-shadow:0 4px 0 #dce2e6,0 7px 13px rgba(20,35,50,.09)!important}.home-quick-link .quick-icon{width:46px!important;height:46px!important;min-width:46px!important;border-radius:14px!important;font-size:24px!important}.home-quick-link b{font-size:14px!important}}

/* v68.45: Home affiliate offer card, fed from Admin -> BG Kisan Affiliate. */
.home-affiliate-card{margin:0 0 18px!important;padding:16px!important;border-radius:20px!important;background:linear-gradient(145deg,#fff,#f7faf8)!important;border:1px solid #dfe6e2!important;box-shadow:0 5px 0 #dce2e6,0 9px 18px rgba(20,35,50,.08)!important}
.home-affiliate-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.home-affiliate-head h3{margin:0;font-size:20px}.home-affiliate-head p{margin:3px 0 0;color:#707880;font-size:12px}.home-affiliate-all{padding:8px 12px!important;border-radius:12px!important;white-space:nowrap}
.home-affiliate-list{display:grid;gap:9px}.home-affiliate-item{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border-radius:15px;background:#fff;border:1px solid #e4e8e6;box-shadow:0 2px 5px rgba(20,35,50,.05)}.home-affiliate-icon{width:42px;height:42px;min-width:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:#eef8f1;font-size:22px;box-shadow:inset 0 2px 3px rgba(255,255,255,.9),0 2px 5px rgba(0,0,0,.08)}.home-affiliate-info{min-width:0;flex:1}.home-affiliate-info b{display:block;font-size:15px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-affiliate-info small{display:block;color:#737b82;font-size:11px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-affiliate-info em{display:inline-block;margin-top:4px;color:#087d39;font-size:10px;font-style:normal;font-weight:800}.home-affiliate-open{padding:9px 13px!important;border-radius:12px!important;white-space:nowrap}.home-affiliate-empty{padding:14px;border-radius:14px;background:#f4f6f7;color:#697078;font-size:13px}
@media(max-width:700px){.home-affiliate-card{padding:13px!important;margin-bottom:14px!important;border-radius:17px!important}.home-affiliate-head h3{font-size:17px}.home-affiliate-head p{font-size:10px}.home-affiliate-all{font-size:11px!important;padding:7px 9px!important}.home-affiliate-item{padding:8px;gap:8px}.home-affiliate-icon{width:38px;height:38px;min-width:38px;font-size:19px;border-radius:11px}.home-affiliate-info b{font-size:13px}.home-affiliate-info small{font-size:9px}.home-affiliate-open{padding:8px 10px!important;font-size:11px!important}}
.home-affiliate-icon-img{object-fit:cover;border:1px solid #dfe8e2;display:block}
/* v68.48: Affiliate home card readability fix */
.home-affiliate-item{display:grid!important;grid-template-columns:50px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;padding:12px!important;min-width:0!important}
.home-affiliate-info{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;min-width:0!important;overflow:hidden!important}
.home-affiliate-title{display:block!important;width:100%!important;font-size:16px!important;line-height:1.25!important;font-weight:800!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;color:#18212b!important}
.home-affiliate-info small{display:block!important;width:100%!important;font-size:12px!important;line-height:1.3!important;margin-top:3px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;color:#6f777e!important}
.home-affiliate-commission{display:block!important;margin-top:5px!important;padding:3px 8px!important;border-radius:8px!important;background:#fff3cd!important;color:#856404!important;font-size:12px!important;font-style:normal!important;font-weight:800!important;white-space:nowrap!important}
.home-affiliate-open{display:flex!important;align-items:center!important;justify-content:center!important;min-width:100px!important;min-height:44px!important;padding:10px 14px!important;border-radius:12px!important;white-space:nowrap!important;font-size:13px!important;font-weight:800!important}
.home-affiliate-icon{width:50px!important;height:50px!important;min-width:50px!important}
@media(max-width:700px){.home-affiliate-item{grid-template-columns:44px minmax(0,1fr) auto!important;gap:9px!important;padding:10px!important}.home-affiliate-icon{width:44px!important;height:44px!important;min-width:44px!important}.home-affiliate-title{font-size:14px!important}.home-affiliate-info small{font-size:10px!important}.home-affiliate-commission{font-size:10px!important;padding:3px 6px!important}.home-affiliate-open{min-width:86px!important;min-height:42px!important;padding:9px 10px!important;font-size:11px!important}}

/* V68.49 ClubAPI Recharge */
.home-recharge-card{width:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin:22px 0;padding:22px 10px;min-height:165px;border-radius:18px;background:#fff;border:1px solid #e0e3e5;box-shadow:0 7px 20px rgba(20,35,45,.07);cursor:pointer;color:#171b20;text-align:center}.home-recharge-card:hover{background:#fafafa}.home-recharge-card .recharge-card-icon{font-size:56px;line-height:1}.home-recharge-card b{font-size:23px;font-weight:700;line-height:1.2}.home-recharge-card small{display:block;color:#555;font-size:15px;line-height:1.3}.recharge-box{max-width:620px;margin:auto;padding:20px}.recharge-box label{display:block;font-weight:700;margin:0 0 14px}.recharge-box input,.recharge-box select{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:13px;border:1px solid #ddd;border-radius:12px;font-size:16px;background:#fff}.recharge-box .green-btn{width:100%;margin-top:4px;padding:14px;border-radius:14px}.recharge-box .action-msg{margin-top:12px;text-align:center}@media(max-width:600px){.home-recharge-card{padding:13px}.home-recharge-card .green-btn{white-space:nowrap}.recharge-box{padding:15px}}

/* V68.51 Bill Payments / Recharge UI */
.bill-payments-card{margin:22px 0;padding:22px;border-radius:18px;background:#fff;border:1px solid #e3e7e9;box-shadow:0 7px 20px rgba(20,35,45,.07)}
.bill-payments-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.bill-payments-head h2{margin:0;font-size:30px;font-weight:800;color:#171b20}
.bill-my-bills{border:0;border-radius:12px;background:#f5f5f5;padding:12px 24px;font-size:18px;font-weight:700;cursor:pointer}
.bill-payments-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e0e3e5;border-radius:12px;overflow:hidden}
.bill-pay-item{min-height:170px;border:0;border-right:1px solid #eceeef;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;font-size:23px;font-weight:700;line-height:1.35;color:#171b20;text-align:center;cursor:pointer;padding:20px 8px}
.bill-pay-item:last-child{border-right:0}
.bill-pay-item:hover{background:#fafafa}
.bill-pay-icon{font-size:56px;line-height:1}
#tab-recharge .recharge-box{max-width:720px;margin:0 auto;padding:24px;border-radius:18px}
#tab-recharge .recharge-box label{display:block;font-weight:700;margin:14px 0}
#tab-recharge .recharge-box input,#tab-recharge .recharge-box select{width:100%;box-sizing:border-box;margin-top:7px;padding:14px;border:1px solid #d9dee2;border-radius:12px;font-size:17px;background:#fff}
.bgks-bill-service-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px}
.bgks-bill-service-card{position:relative;max-width:460px;width:100%;background:#fff;border-radius:20px;padding:28px;box-shadow:0 18px 55px rgba(0,0,0,.25);text-align:center}
.bgks-bill-service-card h3{margin:0 0 12px;font-size:25px}
.bgks-bill-service-card p{font-size:16px;line-height:1.55;color:#555}
.bgks-bill-service-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:30px;cursor:pointer}
@media(max-width:700px){
 .bill-payments-card{margin:16px 0;padding:12px}
 .bill-payments-head h2{font-size:22px}
 .bill-my-bills{padding:8px 12px;font-size:14px}
 .bill-payments-grid{grid-template-columns:repeat(4,1fr);border-radius:14px}
 .bill-pay-item{min-height:112px;font-size:12px;gap:8px;padding:10px 3px;line-height:1.2;border-right:1px solid #eceeef!important;border-bottom:0!important}
 .bill-pay-item:last-child{border-right:0!important}
 .bill-pay-icon{width:52px;height:52px;border:1px solid #e2e5e8;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px;background:#fafafa}
 .recharge-wallet-note{font-size:13px;color:#667078;margin:-2px 0 10px}
 .bill-pay-icon{font-size:42px}
}

/* V68.55 recharge tile */
@media(max-width:700px){.home-recharge-card{min-height:145px;padding:18px 8px;border-radius:16px}.home-recharge-card .recharge-card-icon{font-size:46px}.home-recharge-card b{font-size:18px}.home-recharge-card small{font-size:13px}}

/* V68.60 Recharge card polish */
.bill-payments-card{background:linear-gradient(180deg,#fff,#fbfffc);box-shadow:0 10px 28px rgba(20,35,45,.09)}
.bill-pay-item{border:0;border-right:1px solid #eceeef;border-bottom:0!important;transition:transform .12s ease,box-shadow .12s ease;background:#fff}
.bill-pay-item:active{transform:scale(.97)}
.bill-pay-icon{width:74px;height:74px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f7f3ff;border:1px solid #e4dff0;font-size:42px;box-shadow:0 3px 10px rgba(20,20,40,.06)}
.bill-payments-extra{margin-top:14px}
@media(max-width:700px){.bill-pay-item{min-height:150px}.bill-pay-icon{width:58px;height:58px;font-size:32px}.bill-payments-extra .bill-pay-item{min-height:135px}}

/* V68.61 Compact 4-up recharge buttons */
.bill-payments-card{padding:12px;border-radius:16px;margin:14px 0}
.bill-payments-head{margin-bottom:10px}
.bill-payments-head h2{font-size:20px}
.bill-payments-grid{grid-template-columns:repeat(4,minmax(0,1fr));border-radius:12px}
.bill-pay-item{min-width:0;min-height:96px;padding:8px 3px;gap:7px;font-size:13px;line-height:1.15}
.bill-pay-icon{width:44px;height:44px;font-size:25px;flex:0 0 44px}
.bill-payments-extra .bill-pay-item{min-height:96px}
.bill-pay-item:nth-child(1),.bill-pay-item:nth-child(2){border-bottom:0!important}
@media(max-width:700px){
 .bill-payments-card{padding:10px;margin:12px 0}
 .bill-payments-head h2{font-size:19px}
 .bill-payments-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .bill-pay-item{min-height:92px;padding:7px 2px;font-size:12px;gap:6px}
 .bill-pay-icon{width:42px;height:42px;min-width:42px;height:42px;font-size:24px}
 .bill-payments-extra .bill-pay-item{min-height:92px}
 .bill-my-bills{padding:7px 10px;font-size:13px}
}

/* V68.63 Recharge amount: never show a browser-restored default */
#bgks-recharge-amount{appearance:textfield;-webkit-appearance:none;}
#bgks-recharge-amount::-webkit-inner-spin-button,#bgks-recharge-amount::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}

/* v68.65 - 3 compact financial service cards */
.financial-services-card{margin-top:14px}
.financial-services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.financial-service-item{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-decoration:none;border:1px solid #e4e4e4;border-radius:16px;background:#fff;padding:12px 6px 10px;box-shadow:0 2px 8px rgba(0,0,0,.04);cursor:pointer;color:inherit}
.financial-service-item:disabled{opacity:1;cursor:default}
.financial-service-icon{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f4efff;font-size:29px;margin-bottom:7px;overflow:hidden}
.financial-service-icon img{width:100%;height:100%;object-fit:cover}
.financial-service-title{font-size:15px;font-weight:700;line-height:1.2}
.financial-service-sub{font-size:10px;line-height:1.25;color:#777;margin-top:4px;min-height:26px}
.financial-service-link{position:absolute;top:7px;right:7px;font-size:13px}
@media(max-width:520px){
  .financial-services-grid{gap:7px}
  .financial-service-item{padding:10px 3px 9px;border-radius:13px}
  .financial-service-icon{width:47px;height:47px;font-size:25px}
  .financial-service-title{font-size:13px}
  .financial-service-sub{font-size:9px}
  .financial-service-link{font-size:12px}
}

/* V68.73: supplied share icon used consistently on share buttons. */
.bgks-share-button-icon{width:26px!important;height:26px!important;display:inline-block!important;object-fit:contain!important;vertical-align:middle!important;flex:0 0 26px!important;border-radius:6px!important;}
.post-actions .share-post,.bgks-video-actions .bgks-video-share,.share-option,.referral-banner-share-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;}
.reel-actions .reel-share{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;}
.reel-actions .reel-share .bgks-share-button-icon{width:30px!important;height:30px!important;flex:0 0 30px!important;}
.referral-share-buttons .share-app-icon.native{display:grid;place-items:center;overflow:hidden;}
.referral-share-buttons .share-app-icon.native img{width:22px;height:22px;display:block;object-fit:contain;}
.bgks-product-share img{width:38px;height:38px;display:block;object-fit:contain;border-radius:50%;}
.bgks-product-share span{display:none!important;}
@media(max-width:700px){
 .bgks-share-button-icon{width:24px!important;height:24px!important;flex-basis:24px!important;}
 .reel-actions .reel-share .bgks-share-button-icon{width:28px!important;height:28px!important;flex-basis:28px!important;}
 .bgks-product-share img{width:32px;height:32px;}
}


/* V68.73: Exact Like / Comment / Share / Save icons supplied by user. */
.bgks-action-icon{
  width:30px!important;height:30px!important;display:inline-block!important;
  object-fit:contain!important;vertical-align:middle!important;flex:0 0 30px!important;
  border:0!important;background:transparent!important;
}
.post-actions button,.bgks-video-actions button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;
}
.post-actions .bgks-action-icon,.bgks-video-actions .bgks-action-icon{
  width:28px!important;height:28px!important;flex-basis:28px!important;
}
.reel-actions .bgks-action-icon{
  width:34px!important;height:34px!important;flex:0 0 34px!important;
  object-fit:contain!important;
}
.reel-actions .reel-like .bgks-action-icon,
.reel-actions .reel-comment-open .bgks-action-icon,
.reel-actions .reel-save .bgks-action-icon,
.reel-actions .reel-share .bgks-action-icon{
  display:block!important;
}
@media(max-width:700px){
  .post-actions .bgks-action-icon,.bgks-video-actions .bgks-action-icon{
    width:25px!important;height:25px!important;flex-basis:25px!important;
  }
  .reel-actions .bgks-action-icon{
    width:31px!important;height:31px!important;flex-basis:31px!important;
  }
}

/* v68.75 Instagram-style mobile bottom menu */
@media(max-width:700px){
  .mobile-bottom.instagram-bottom{height:68px!important;display:flex!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:100000!important;background:#fff!important;border-top:1px solid #e7e7e7!important;box-shadow:0 -2px 12px rgba(0,0,0,.08)!important;padding:0 5px!important;align-items:center!important;justify-content:space-around!important;gap:0!important;overflow:visible!important}
  .instagram-bottom .mobile-nav-icon{position:relative!important;flex:1 1 0!important;width:auto!important;min-width:0!important;height:68px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#101820!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .instagram-bottom .mobile-nav-icon svg{width:32px!important;height:32px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important;display:block!important}
  .instagram-bottom .mobile-nav-icon.active{color:#101820!important}
  .instagram-bottom .mobile-profile-tab img{width:35px!important;height:35px!important;border-radius:50%!important;object-fit:cover!important;display:block!important;border:1px solid #222!important}
  .instagram-bottom .mobile-create-float{position:relative!important;z-index:3!important;flex:0 0 58px!important;width:58px!important;height:58px!important;min-width:58px!important;margin:-22px 4px 0!important;padding:0!important;border-radius:50%!important;border:4px solid #fff!important;background:#078b3e!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 5px 18px rgba(0,0,0,.22)!important;font-size:39px!important;line-height:1!important}
  .instagram-bottom .mobile-create-float b{font-size:39px!important;font-weight:300!important;line-height:1!important;display:block!important}
  .instagram-bottom .mobile-nav-icon span{display:none!important}
  .bgks2-shell{padding-bottom:84px!important}
}

/* v68.77: Final mobile navigation - six visible items with raised center Plus */
@media(max-width:700px){
  .mobile-bottom.instagram-bottom{
    height:72px!important;
    padding:0 6px!important;
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    align-items:center!important;
    justify-items:center!important;
    gap:0!important;
    overflow:visible!important;
  }
  .mobile-bottom.instagram-bottom > .mobile-nav-icon{
    width:100%!important;
    height:72px!important;
    min-width:0!important;
    flex:none!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .mobile-bottom.instagram-bottom > .mobile-nav-icon svg{
    width:32px!important;
    height:32px!important;
  }
  .mobile-bottom.instagram-bottom > .mobile-profile-tab{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    overflow:visible!important;
  }
  .mobile-bottom.instagram-bottom .mobile-profile-tab .bgks2-avatar-wrap{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:50%!important;
    overflow:hidden!important;
  }
  .mobile-bottom.instagram-bottom .mobile-profile-tab .bgks2-avatar-wrap img,
  .mobile-bottom.instagram-bottom .mobile-profile-tab img{
    width:35px!important;
    height:35px!important;
    min-width:35px!important;
    min-height:35px!important;
    border-radius:50%!important;
    object-fit:cover!important;
    display:block!important;
  }
  .mobile-bottom.instagram-bottom > .mobile-create-float{
    grid-column:auto!important;
    width:60px!important;
    height:60px!important;
    min-width:60px!important;
    min-height:60px!important;
    flex:none!important;
    margin:-22px 0 0!important;
    justify-self:center!important;
    align-self:center!important;
    border:4px solid #fff!important;
    border-radius:50%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    z-index:10!important;
  }
  .mobile-bottom.instagram-bottom .mobile-create-float b{
    font-size:39px!important;
    line-height:1!important;
  }
  .bgks2-shell{padding-bottom:88px!important}
}


/* BG Kisan v68.77: requested mobile menu */
@media (max-width: 768px) {
  /* Remove bottom Share/Send item only */
  .bottom-nav .share,
  .bottom-nav .share-btn,
  .bottom-nav .share-button,
  .mobile-bottom-nav .share,
  .mobile-bottom-nav .share-btn,
  .mobile-nav .share,
  .mobile-nav .share-btn,
  .mobile-bottom-menu .share,
  .mobile-bottom-menu .share-btn,
  [class*="bottom"][class*="share"],
  [id*="bottom"][id*="share"] { display:none !important; }

  /* Remove top/header search control */
  .top-search,
  .header-search,
  .mobile-header .search,
  .mobile-header .search-btn,
  .mobile-header .search-button,
  .app-header .search,
  [class*="header"][class*="search"],
  [id*="header"][id*="search"] { display:none !important; }

  /* Center Plus: keep only the + symbol, neutral/white, raised like Instagram */
  .bottom-nav .plus,
  .bottom-nav .plus-btn,
  .bottom-nav .upload-btn,
  .bottom-nav .add-btn,
  .mobile-bottom-nav .plus,
  .mobile-bottom-nav .plus-btn,
  .mobile-bottom-nav .upload-btn,
  .mobile-nav .plus,
  .mobile-nav .plus-btn,
  .mobile-nav .upload-btn,
  .mobile-bottom-menu .plus,
  .mobile-bottom-menu .plus-btn,
  .mobile-bottom-menu .upload-btn {
      background: #fff !important;
      color: #111 !important;
      border: 0 !important;
      box-shadow: 0 2px 12px rgba(0,0,0,.12) !important;
      border-radius: 50% !important;
      transform: translateY(-12px) !important;
  }
  .bottom-nav .plus svg,
  .bottom-nav .plus-btn svg,
  .bottom-nav .upload-btn svg,
  .mobile-bottom-nav .plus svg,
  .mobile-bottom-nav .plus-btn svg,
  .mobile-bottom-nav .upload-btn svg {
      color: #111 !important;
      stroke: #111 !important;
      fill: none !important;
  }
}

/* v68.78: exact requested mobile menu cleanup */
@media (max-width:700px){
  /* Remove the in-app top search box; keep the bottom Search tab. */
  .bgks2-header .bgks2-search{display:none!important;}

  /* Bottom menu: Home, Reels, raised Plus, Search, Profile. */
  .mobile-bottom.instagram-bottom{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    height:72px!important;
    padding:0 8px!important;
    align-items:center!important;
    justify-items:center!important;
    overflow:visible!important;
  }
  .mobile-bottom.instagram-bottom > .mobile-nav-icon{
    width:100%!important;
    height:72px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:0!important;
  }
  .mobile-bottom.instagram-bottom > .mobile-create-float{
    width:60px!important;
    height:60px!important;
    min-width:60px!important;
    min-height:60px!important;
    margin:-22px 0 0!important;
    border:0!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#111!important;
    box-shadow:0 3px 16px rgba(0,0,0,.16)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    z-index:20!important;
  }
  .mobile-bottom.instagram-bottom > .mobile-create-float b{
    color:#111!important;
    font-size:39px!important;
    font-weight:300!important;
    line-height:1!important;
  }
  .mobile-bottom.instagram-bottom .mobile-profile-tab{
    visibility:visible!important;
    opacity:1!important;
    display:flex!important;
  }
  .mobile-bottom.instagram-bottom .mobile-profile-tab img,
  .mobile-bottom.instagram-bottom .mobile-profile-tab .bgks2-avatar-wrap img{
    width:35px!important;
    height:35px!important;
    border-radius:50%!important;
    object-fit:cover!important;
    display:block!important;
  }
  .bgks2-shell{padding-bottom:88px!important;}
}

/* v68.79: mobile bottom menu = Home, Reels, Plus, Video, Profile */
@media(max-width:700px){
  .mobile-bottom.instagram-bottom{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
  .mobile-bottom.instagram-bottom #mobile-videos{display:flex!important;visibility:visible!important;opacity:1!important;}
  .mobile-bottom.instagram-bottom #mobile-videos svg{width:32px!important;height:32px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
}

/* v68.79: replace header wallet balance with APK download button */
.header-apk-download{height:48px!important;min-width:190px!important;padding:0 18px!important;box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px;text-decoration:none!important;border:1px solid #0a9145!important;border-radius:26px!important;background:#fff!important;color:#087f3e!important;font-weight:900!important;white-space:nowrap;box-shadow:0 3px 10px rgba(20,35,50,.10)!important}
.header-apk-download span{font-size:27px;line-height:1;font-weight:900}.header-apk-download strong{font-size:16px;letter-spacing:.2px}.header-apk-download:active{transform:translateY(2px);box-shadow:0 2px 5px rgba(20,35,50,.10)!important}
@media(max-width:700px){.header-apk-download{min-width:145px!important;width:145px!important;height:44px!important;padding:0 9px!important;border-radius:23px!important;gap:5px}.header-apk-download span{font-size:23px}.header-apk-download strong{font-size:12px}}

.bgks-direct-google-disabled{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;background:#fff!important;color:#222!important;border:1px solid #dadce0!important;border-radius:10px;font-weight:600}.bgks-google-g{font-family:Arial,sans-serif;font-size:24px;font-weight:700;color:#4285F4}

/* v68.82: compact 4-column personal create menu */
#create-modal .create-menu-card{width:min(900px,96vw)!important;max-height:calc(100dvh - 24px)!important;padding:18px 14px 20px!important;border-radius:22px!important;overflow-y:auto!important}
#create-modal .create-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin-top:14px!important}
#create-modal .create-grid button{min-height:92px!important;padding:9px 5px!important;border-radius:14px!important;text-align:center!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}
#create-modal .create-grid .ci{width:38px!important;height:38px!important;border-radius:50%!important;display:grid!important;place-items:center!important;font-size:18px!important;margin-bottom:6px!important}
#create-modal .create-grid button b{font-size:13px!important;line-height:1.15!important}
#create-modal .create-grid button small{font-size:9px!important;line-height:1.15!important;margin-top:3px!important}
@media(max-width:700px){#create-modal .create-menu-card{width:96vw!important;padding:16px 9px 18px!important;border-radius:18px!important}#create-modal .create-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}#create-modal .create-grid button{min-height:82px!important;padding:7px 2px!important;border-radius:12px!important}#create-modal .create-grid .ci{width:34px!important;height:34px!important;font-size:16px!important;margin-bottom:4px!important}#create-modal .create-grid button b{font-size:11px!important}#create-modal .create-grid button small{display:none!important}}
.market-page-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.market-page-head>div{min-width:0}.add-product-card select{width:100%;padding:11px;margin:8px 0 14px;border:1px solid var(--line);border-radius:8px;background:#fff}.user-product-preview{margin:-4px 0 14px}.user-product-preview img{display:block;width:100%;max-height:220px;object-fit:contain;border-radius:12px;background:#f5f6f7}.user-product-seller{display:block;color:#667085;margin:5px 0 8px}.user-market-product .product-body p{color:#667085;font-size:14px;line-height:1.4}.user-product-no-phone{display:inline-block;color:#667085;font-size:13px;padding:10px 0}.product-thumb-empty{display:flex;align-items:center;justify-content:center;min-height:150px;font-size:55px;background:#f4f7f5}.market-grid{grid-template-columns:repeat(2,1fr)}
@media(max-width:700px){.market-page-head{align-items:flex-start}.market-page-head h1{font-size:22px}.market-page-head p{font-size:12px}.market-page-head .green-btn{font-size:12px;padding:9px 10px;white-space:nowrap}.market-grid{grid-template-columns:repeat(2,1fr);gap:8px}.market-category{padding:12px 6px!important}.add-product-card{max-height:88vh;overflow:auto}}

/* V68.86: Compact LIVE controls + full camera preview */
.live-card{width:min(94vw,720px)!important;max-width:720px!important;padding:12px!important;box-sizing:border-box}
.live-card #live-camera{display:block;width:100%!important;height:auto!important;aspect-ratio:16/9!important;min-height:0!important;max-height:58vh!important;object-fit:contain!important;background:#050505!important;border-radius:14px!important;margin:8px 0!important}
.live-card .live-tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:8px 0!important}
.live-card .live-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-top:8px!important}
.live-card .live-tools button,.live-card .live-actions button{width:100%!important;min-width:0!important;height:48px!important;padding:7px 6px!important;border-radius:10px!important;font-size:14px!important;line-height:1.15!important;white-space:normal!important}
.live-card .live-actions #start-live{order:1}
.live-card .live-actions #start-camera{order:2}
.live-card .live-actions #stop-live{order:3}
.live-card .live-status{font-size:14px!important;margin:7px 0!important}
.live-card .live-note{font-size:11px!important;margin:8px 2px 2px!important}
@media(max-width:700px){
  .live-card{width:96vw!important;padding:10px!important}
  .live-card #live-camera{aspect-ratio:16/9!important;max-height:52vh!important}
  .live-card .live-tools{grid-template-columns:repeat(2,1fr)!important}
  .live-card .live-actions{grid-template-columns:repeat(3,1fr)!important}
  .live-card .live-tools button,.live-card .live-actions button{height:44px!important;font-size:12px!important}
}
/* V68.87: Create menu must stay above mobile bottom navigation; show all buttons */
#create-modal{z-index:100001!important;padding:0!important;overflow:hidden!important}
#create-modal .create-menu-card{position:relative!important;z-index:100002!important;width:96vw!important;max-width:900px!important;max-height:calc(100dvh - 78px)!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding-bottom:22px!important;margin-bottom:0!important;-webkit-overflow-scrolling:touch!important}
#create-modal .create-grid{padding-bottom:8px!important}
@media(max-width:700px){
  #create-modal .create-menu-card{width:96vw!important;max-height:calc(100dvh - 82px)!important;padding:14px 8px 24px!important;border-radius:18px 18px 0 0!important}
  #create-modal .create-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
  #create-modal .create-grid button{min-height:82px!important}
}
/* V68.88: Create menu stays above fixed bottom navigation so all buttons remain visible */
#create-modal{z-index:100001!important;align-items:flex-end!important;overflow:hidden!important;padding:0!important}
#create-modal .create-menu-card{z-index:100002!important;width:96vw!important;max-width:900px!important;max-height:calc(100dvh - 78px)!important;margin:0 0 68px 0!important;padding:12px 8px 16px!important;overflow-y:auto!important;overflow-x:hidden!important;box-sizing:border-box!important;border-radius:18px!important;-webkit-overflow-scrolling:touch!important}
#create-modal .create-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin-top:10px!important;padding-bottom:4px!important}
#create-modal .create-grid button{min-height:76px!important;height:auto!important;padding:6px 2px!important;border-radius:12px!important}
#create-modal .create-grid .ci{width:32px!important;height:32px!important;font-size:15px!important;margin-bottom:3px!important}
#create-modal .create-grid button b{font-size:11px!important;line-height:1.1!important}
#create-modal .create-grid button small{display:none!important}
@media(max-width:700px){
  #create-modal .create-menu-card{width:96vw!important;max-height:calc(100dvh - 78px)!important;margin-bottom:68px!important;padding:12px 7px 14px!important}
  #create-modal .create-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  #create-modal .create-grid button{min-height:72px!important;padding:5px 1px!important}
  #create-modal .create-grid .ci{width:30px!important;height:30px!important;font-size:14px!important;margin-bottom:3px!important}
  #create-modal .create-grid button b{font-size:10px!important}
}


/* V68.89: Restore Bazaar beside the three home quick-action cards.
 * Keep the four cards compact and equal on mobile/desktop.
 */
.home-quick-links{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.home-quick-link.market .quick-icon{background:#e8f7ee!important}
.home-quick-link.market b{color:#087b35!important}
@media(max-width:700px){
  .home-quick-links{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin-bottom:14px!important}
  .home-quick-link{min-height:82px!important;height:82px!important;padding:7px 2px!important;border-radius:13px!important}
  .home-quick-link .quick-icon{width:38px!important;height:38px!important;min-width:38px!important;border-radius:11px!important;font-size:20px!important}
  .home-quick-link b{font-size:11px!important;white-space:nowrap!important}
}

/* V68.89: Add Product form must keep its publish button below mobile number
 * and above the fixed bottom navigation. */
#add-product-modal{z-index:100003!important;padding:10px 8px 82px!important;box-sizing:border-box!important;overflow:auto!important;align-items:flex-start!important}
#add-product-modal .add-product-card{width:min(680px,96vw)!important;max-width:680px!important;max-height:calc(100dvh - 96px)!important;overflow-y:auto!important;overflow-x:hidden!important;margin:0 auto 72px!important;padding:18px 16px 24px!important;box-sizing:border-box!important;-webkit-overflow-scrolling:touch!important}
#add-product-modal .add-product-card label{display:block!important;margin:10px 0!important}
#add-product-modal .add-product-card input,#add-product-modal .add-product-card select,#add-product-modal .add-product-card textarea{box-sizing:border-box!important;width:100%!important}
#publish-user-product{display:block!important;width:100%!important;min-height:50px!important;margin:12px 0 0!important;position:relative!important;z-index:2!important}
@media(max-width:700px){
  #add-product-modal .add-product-card{max-height:calc(100dvh - 105px)!important;padding:14px 12px 26px!important;border-radius:18px!important}
  #add-product-modal .add-product-card h2{font-size:20px!important;margin:4px 0 5px!important}
  #add-product-modal .add-product-card .modal-sub{font-size:12px!important;margin:0 0 10px!important}
  #add-product-modal .add-product-card label{font-size:14px!important;margin:8px 0!important}
  #add-product-modal .add-product-card textarea{min-height:100px!important}
  #publish-user-product{min-height:48px!important;font-size:15px!important;margin-top:10px!important}
}

/* v68.90 Live Video: true full-screen mobile live camera UI */
#live-modal{
  z-index:1000000!important;
  padding:0!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  overflow:hidden!important;
  background:#000!important;
}
#live-modal .live-card{
  width:100vw!important;
  max-width:none!important;
  height:100dvh!important;
  min-height:100vh!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border-radius:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  background:#fff!important;
  position:relative!important;
}
#live-modal .live-card .close{
  position:absolute!important;
  right:12px!important;
  top:12px!important;
  z-index:30!important;
  width:42px!important;
  height:42px!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.92)!important;
  color:#222!important;
  font-size:29px!important;
  box-shadow:0 2px 10px rgba(0,0,0,.2)!important;
}
#live-modal .live-card .live-icon{
  position:absolute!important;
  left:14px!important;
  top:13px!important;
  z-index:25!important;
  margin:0!important;
  width:44px!important;
  height:32px!important;
  border-radius:8px!important;
  display:grid!important;
  place-items:center!important;
  font-size:0!important;
  background:#ef233c!important;
}
#live-modal .live-card .live-icon:after{content:'LIVE';font-size:12px;font-weight:900;color:#fff;}
#live-modal .live-card h2{
  flex:0 0 auto!important;
  margin:0!important;
  padding:12px 62px 10px 68px!important;
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:22px!important;
  line-height:1.1!important;
  background:#fff!important;
  color:#111!important;
}
#live-modal .live-card #live-camera{
  flex:1 1 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  border-radius:0!important;
  background:#111!important;
  object-fit:cover!important;
  display:block!important;
}
#live-modal .live-card #live-status{
  flex:0 0 auto!important;
  min-height:34px!important;
  margin:0!important;
  padding:7px 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  font-size:14px!important;
  font-weight:700!important;
  background:#fff!important;
  color:#555!important;
}
#live-modal .live-card .live-tools{
  flex:0 0 auto!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  margin:0!important;
  padding:7px 10px!important;
  background:#fff!important;
}
#live-modal .live-card .live-tool{
  width:100%!important;
  min-height:48px!important;
  margin:0!important;
  padding:8px 6px!important;
  border-radius:12px!important;
  font-size:13px!important;
  white-space:nowrap!important;
}
#live-modal .live-card .live-actions{
  flex:0 0 auto!important;
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:8px!important;
  margin:0!important;
  padding:8px 10px calc(10px + env(safe-area-inset-bottom))!important;
  background:#fff!important;
}
#live-modal .live-card .live-actions button{
  width:100%!important;
  min-width:0!important;
  min-height:54px!important;
  margin:0!important;
  padding:9px 5px!important;
  border-radius:12px!important;
  font-size:13px!important;
  line-height:1.15!important;
}
#live-modal .live-card .live-note{display:none!important;}
#live-modal .live-card #start-camera{background:#078b3e!important;color:#fff!important;}
#live-modal .live-card #start-live{background:#ef233c!important;color:#fff!important;}
#live-modal .live-card #stop-live{background:#fff!important;color:#078b3e!important;border:1px solid #078b3e!important;}
#live-modal .live-card #start-live:disabled{background:#e4e8e6!important;color:#8a918d!important;border-color:#e4e8e6!important;}
@media(max-width:700px){
  #live-modal .live-card h2{font-size:20px!important;min-height:54px!important;padding-top:10px!important;padding-bottom:9px!important;}
  #live-modal .live-card .live-tools{grid-template-columns:1fr 1fr!important;padding:6px 8px!important;}
  #live-modal .live-card .live-tool{min-height:44px!important;font-size:12px!important;}
  #live-modal .live-card .live-actions{grid-template-columns:repeat(3,1fr)!important;gap:6px!important;padding-left:8px!important;padding-right:8px!important;}
  #live-modal .live-card .live-actions button{min-height:50px!important;font-size:12px!important;padding-left:3px!important;padding-right:3px!important;}
}


/* V68.91: YouTube-style in-page video viewer. The page URL does not change and the
   viewer shows the remaining videos underneath so playback stays inside BG Kisan. */
body.bgks-video-viewer-open{overflow:hidden!important}
.bgks-video-viewer{position:fixed!important;inset:0!important;display:none!important;align-items:flex-start!important;justify-content:center!important;padding:0!important;background:rgba(0,0,0,.94)!important;z-index:100000!important;overflow:auto!important}
.bgks-video-viewer.open{display:flex!important}
.bgks-video-viewer .video-viewer-box{width:min(980px,100vw)!important;min-height:100vh!important;max-height:none!important;overflow:auto!important;background:#fff!important;border-radius:0!important;padding:0!important;margin:0!important}
.bgks-video-viewer .video-viewer-box>video{display:block;width:100%!important;height:auto!important;max-height:70vh!important;aspect-ratio:16/9;background:#000!important;object-fit:contain!important}
.bgks-video-viewer .video-viewer-close{position:fixed!important;right:12px!important;top:12px!important;width:42px!important;height:42px!important;border:0!important;border-radius:50%!important;background:rgba(0,0,0,.72)!important;color:#fff!important;font-size:30px!important;line-height:1!important;cursor:pointer!important;z-index:100003!important}
.bgks-video-viewer .video-viewer-info{padding:16px 18px 20px!important;background:#fff!important}
.bgks-video-viewer .video-viewer-info h2{margin:0 0 12px!important;font-size:22px!important;line-height:1.3!important;color:#111!important}
.bgks-video-viewer .video-viewer-channel{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;color:#111!important}
.bgks-video-viewer .video-viewer-channel .channel-subscribe{margin-left:auto!important}
.bgks-video-viewer .video-viewer-info p{color:#555!important;white-space:pre-wrap!important;margin:12px 0 0!important}
.bgks-video-viewer .viewer-actions{border-top:1px solid #eee!important;margin-top:14px!important;padding-top:12px!important}
.bgks-video-viewer .viewer-actions button{background:#f2f3f3!important;color:#111!important}
.video-viewer-related{padding:0 14px 28px!important;background:#fff!important}
.video-viewer-related h3{font-size:20px!important;margin:4px 4px 12px!important;color:#111!important}
#bgks-viewer-related-list{display:flex!important;flex-direction:column!important;gap:10px!important}
.video-related-item{width:100%!important;display:flex!important;align-items:center!important;gap:12px!important;padding:9px!important;border:1px solid #e3e7e8!important;border-radius:12px!important;background:#fff!important;text-align:left!important;cursor:pointer!important;box-sizing:border-box!important}
.video-related-item.current{border-color:#078b3e!important;background:#f2fbf5!important}
.video-related-item img,.video-related-thumb{width:145px!important;height:82px!important;flex:0 0 145px!important;border-radius:8px!important;object-fit:cover!important;background:#111!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:28px!important}
.video-related-meta{min-width:0!important;display:flex!important;flex-direction:column!important;gap:5px!important;color:#111!important}
.video-related-meta b{font-size:16px!important;line-height:1.25!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.video-related-meta small{font-size:13px!important;color:#666!important}
/* Hide only empty "आपकी पोस्ट"/public-post placeholders; real posts remain visible. */
.profile-posts:has(.card.empty),.public-profile-posts:has(.card.empty){display:none!important}
@media(max-width:700px){
  .bgks-video-viewer .video-viewer-box>video{max-height:48vh!important;aspect-ratio:16/9!important}
  .bgks-video-viewer .video-viewer-info{padding:13px 14px 16px!important}
  .bgks-video-viewer .video-viewer-info h2{font-size:19px!important}
  .video-related-item img,.video-related-thumb{width:118px!important;height:68px!important;flex-basis:118px!important}
  .video-related-meta b{font-size:14px!important}
  .video-related-meta small{font-size:12px!important}
}

/* V68.92: 3D Product Add button - always visible below mobile number */
#add-product-modal #publish-user-product,
#publish-user-product.green-btn{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  min-height:56px!important;
  height:56px!important;
  margin:14px 0 4px!important;
  padding:0 18px!important;
  box-sizing:border-box!important;
  border:1px solid #05752f!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#16b957 0%,#07913e 52%,#057a34 100%)!important;
  color:#fff!important;
  text-shadow:0 1px 1px rgba(0,0,0,.25)!important;
  box-shadow:0 5px 0 #045f29,0 9px 18px rgba(0,125,55,.25),inset 0 1px 0 rgba(255,255,255,.35)!important;
  font-family:inherit!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-indent:0!important;
  cursor:pointer!important;
  position:relative!important;
  z-index:20!important;
}
#add-product-modal #publish-user-product:hover{filter:brightness(1.04)!important;transform:translateY(-1px)!important}
#add-product-modal #publish-user-product:active{transform:translateY(4px)!important;box-shadow:0 1px 0 #045f29,0 4px 10px rgba(0,125,55,.2),inset 0 1px 0 rgba(255,255,255,.25)!important}
#add-product-modal #publish-user-product:disabled{opacity:1!important;color:#fff!important;background:linear-gradient(180deg,#16b957 0%,#07913e 52%,#057a34 100%)!important;cursor:wait!important}
@media(max-width:700px){
  #add-product-modal #publish-user-product{min-height:52px!important;height:52px!important;font-size:16px!important;border-radius:14px!important;margin-top:12px!important;box-shadow:0 4px 0 #045f29,0 7px 15px rgba(0,125,55,.24),inset 0 1px 0 rgba(255,255,255,.35)!important}
}


/* V68.95: Product Add form — true full-screen modal on mobile/desktop */
#add-product-modal{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  min-height:100dvh!important;
  padding:0!important;
  margin:0!important;
  display:none!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  overflow:hidden!important;
  z-index:2147483000!important;
}
#add-product-modal.open{display:flex!important}
#add-product-modal .add-product-card{
  width:100%!important;
  max-width:none!important;
  height:100dvh!important;
  max-height:none!important;
  min-height:100dvh!important;
  margin:0!important;
  border-radius:0!important;
  border:0!important;
  box-sizing:border-box!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:18px 18px calc(28px + env(safe-area-inset-bottom))!important;
  -webkit-overflow-scrolling:touch!important;
}
#add-product-modal .add-product-card .close{
  position:sticky!important;
  top:0!important;
  z-index:10!important;
  float:right!important;
  margin-bottom:4px!important;
}
@media(max-width:700px){
  #add-product-modal .add-product-card{
    padding:12px 14px calc(30px + env(safe-area-inset-bottom))!important;
    border-radius:0!important;
  }
  #add-product-modal .add-product-card h2{font-size:22px!important;margin:4px 0 6px!important}
  #add-product-modal .add-product-card .modal-sub{font-size:13px!important;margin-bottom:14px!important}
  #add-product-modal .add-product-card label{font-size:15px!important;margin:10px 0!important}
  #add-product-modal .add-product-card input,
  #add-product-modal .add-product-card select,
  #add-product-modal .add-product-card textarea{font-size:16px!important;min-height:48px!important}
  #add-product-modal .add-product-card textarea{min-height:120px!important}
  #publish-user-product{min-height:54px!important;font-size:17px!important;margin-top:14px!important;margin-bottom:8px!important}
}


/* V70.2: MSP table fully visible on mobile */
@media(max-width:600px){
}

/* V70.5: home market card + loan application */
.home-market-rates-grid-3{grid-template-columns:repeat(3,1fr)!important}.home-market-rates-grid-4{grid-template-columns:repeat(4,1fr)!important}.home-market-rate-item.home-loan{border-color:#b7d7f2;background:#f2f8ff}
.home-market-rate-item.metals{border-color:#e4c45a;background:#fffdf1}
.home-market-rate-item.loan{border-color:#9dd8b1;background:#effbf3}
.bgks-loan-overlay{position:fixed;inset:0;background:rgba(0,0,0,.62);display:none;align-items:center;justify-content:center;padding:16px 16px 84px;z-index:2147483001!important;box-sizing:border-box;pointer-events:auto}.bgks-loan-overlay.open{display:flex!important}
.bgks-loan-overlay.open{display:flex}
.bgks-loan-card{width:min(720px,100%);max-height:calc(100dvh - 96px);overflow:auto;background:#fff;border-radius:20px;padding:20px 20px 28px;box-shadow:0 20px 60px rgba(0,0,0,.25);position:relative;z-index:2147483002!important;pointer-events:auto;box-sizing:border-box;-webkit-overflow-scrolling:touch}
.bgks-loan-card h2{margin:0 35px 4px 0;font-size:24px}.bgks-loan-card>p{margin:0 0 16px;color:#667085}
.bgks-loan-close{position:absolute;right:12px;top:10px;width:40px;height:40px;border:0;border-radius:50%;background:#111;color:#fff;font-size:28px;line-height:1;cursor:pointer}
.bgks-loan-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bgks-loan-grid label{font-weight:700;color:#344054;font-size:13px}.bgks-loan-grid label.full{grid-column:1/-1}
.bgks-loan-grid input,.bgks-loan-grid select{display:block;width:100%;margin-top:6px;box-sizing:border-box;padding:12px;border:1px solid #d0d5dd;border-radius:10px;background:#fff;font-size:15px}
.bgks-loan-submit{width:100%;margin-top:16px;min-height:48px}.bgks-loan-open{overflow:hidden}
@media(max-width:700px){.bgks-loan-overlay{padding:8px 10px 82px!important;align-items:flex-end!important}.bgks-loan-card{max-height:calc(100dvh - 92px)!important;padding:14px 14px 26px!important;margin:0!important}.home-market-rates-grid-3{grid-template-columns:repeat(3,1fr)!important;gap:6px}.home-market-rate-item.metals .home-market-rate-icon{font-size:20px}.home-market-rate-item b{font-size:10px}.home-market-rate-item small{font-size:8px}.bgks-loan-card{padding:16px;border-radius:16px}.bgks-loan-grid{grid-template-columns:1fr}.bgks-loan-grid label.full{grid-column:auto}.bgks-loan-card h2{font-size:20px}}
/* V70.5: MSP must show crop and price side-by-side without horizontal scroll */

/* V70.6 Loan payment flow */
.bgks-loan-fee-box{margin-top:14px;padding:14px 16px;border:1px solid #b7e2c5;border-radius:14px;background:#f5fff8;display:grid;gap:5px;color:#344054}.bgks-loan-fee-box strong{font-size:16px;color:#087f3e}.bgks-loan-fee-box span,.bgks-loan-fee-box b{font-size:14px}.bgks-loan-fee-box small{font-size:11px;color:#667085;line-height:1.4;margin-top:4px}.bgks-loan-submit{display:flex!important;align-items:center!important;justify-content:center!important;position:relative;z-index:2147483003!important;pointer-events:auto!important;touch-action:manipulation!important;appearance:none;border:0!important;border-radius:12px!important;background:#0a8f3c!important;color:#fff!important;box-shadow:0 7px 0 #056b2c,0 12px 22px rgba(10,143,60,.22)!important;transform:translateY(0);font-weight:800!important;font-size:17px!important;cursor:pointer!important}.bgks-loan-submit:hover{transform:translateY(-2px);box-shadow:0 9px 0 #056b2c,0 14px 24px rgba(10,143,60,.24)!important}.bgks-loan-submit:active{transform:translateY(4px);box-shadow:0 3px 0 #056b2c,0 7px 14px rgba(10,143,60,.18)!important}.bgks-loan-submit:disabled{opacity:.72;cursor:wait;transform:none}.bgks-loan-msg{margin-top:10px}
/* V70.8: Loan modal submit must never sit behind fixed mobile navigation */
.bgks-loan-overlay{padding:12px 12px 110px!important;align-items:center!important;z-index:2147483646!important}
.bgks-loan-card{max-height:calc(100dvh - 124px)!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding-bottom:0!important}
.bgks-loan-card form{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:visible!important}
.bgks-loan-grid{overflow:visible!important}
.bgks-loan-submit-wrap{position:sticky!important;bottom:0!important;z-index:2147483647!important;background:#fff!important;padding:12px 0 10px!important;margin-top:10px!important;box-shadow:0 -8px 16px rgba(255,255,255,.95)!important}
.bgks-loan-submit{position:relative!important;z-index:2147483647!important;width:100%!important;min-height:54px!important;margin:0!important;transform:none!important;box-shadow:0 6px 0 #056b2c,0 10px 20px rgba(10,143,60,.20)!important}
.bgks-loan-submit:active{transform:translateY(2px)!important;box-shadow:0 3px 0 #056b2c,0 7px 14px rgba(10,143,60,.18)!important}
#bgks-loan-msg{position:relative!important;z-index:2147483647!important;margin:0 0 8px!important}
@media(max-width:700px){.bgks-loan-overlay{padding:8px 10px 104px!important;align-items:flex-end!important}.bgks-loan-card{width:100%!important;max-height:calc(100dvh - 116px)!important;border-radius:18px 18px 12px 12px!important}.bgks-loan-submit-wrap{padding:10px 0 8px!important}}

/* V70.9 REAL FIX: desktop-style loan form and visible submit/payment errors */
.bgks-loan-overlay{padding:24px!important;align-items:center!important;justify-content:center!important;z-index:2147483646!important}
.bgks-loan-card{width:min(1080px,100%)!important;max-height:calc(100dvh - 48px)!important;padding:28px!important;border-radius:22px!important;overflow:auto!important}
.bgks-loan-grid{grid-template-columns:1fr 1fr!important;gap:18px!important}
.bgks-loan-grid label{font-size:15px!important}.bgks-loan-grid input,.bgks-loan-grid select{min-height:50px!important;font-size:16px!important;padding:13px 14px!important}
.bgks-loan-submit-wrap{position:sticky!important;bottom:0!important;z-index:2147483647!important;background:#fff!important;padding:14px 0 10px!important;margin-top:14px!important;box-shadow:0 -10px 18px rgba(255,255,255,.98)!important}
.bgks-loan-submit{position:relative!important;z-index:2147483647!important;min-height:58px!important;width:100%!important;margin:0!important;font-size:18px!important}
#bgks-loan-msg{position:relative!important;z-index:2147483647!important;margin:8px 0 4px!important;padding:8px 4px!important;font-weight:700!important}
@media(max-width:700px){.bgks-loan-overlay{padding:10px!important;align-items:center!important}.bgks-loan-card{max-height:calc(100dvh - 20px)!important;padding:16px!important}.bgks-loan-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}.bgks-loan-grid label{font-size:12px!important}.bgks-loan-grid input,.bgks-loan-grid select{min-height:44px!important;font-size:13px!important;padding:9px!important}.bgks-loan-grid label.full{grid-column:1/-1!important}.bgks-loan-submit{font-size:15px!important;min-height:54px!important}}
/* V71.0: prevent mobile pull-to-refresh / page navigation while loan form scrolls */
html:has(body.bgks-loan-open), body.bgks-loan-open{overscroll-behavior:none!important;overflow:hidden!important}
.bgks-loan-overlay{overscroll-behavior:contain!important;touch-action:pan-y!important}
.bgks-loan-card{overscroll-behavior:contain!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important}
.bgks-loan-card form{overscroll-behavior:contain!important}
.bgks-loan-submit-wrap{flex:0 0 auto!important}
#bgks-loan-msg.error{color:#b42318!important;background:#fff1f0!important;border-radius:8px!important}
#bgks-loan-msg.success{color:#087f3e!important;background:#ecfdf3!important;border-radius:8px!important}
@media(max-width:700px){
 .bgks-loan-overlay{padding:8px!important;align-items:center!important;touch-action:pan-y!important}
 .bgks-loan-card{height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;width:100%!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding-bottom:12px!important}
 .bgks-loan-card form{min-height:100%!important}
 .bgks-loan-submit-wrap{position:sticky!important;bottom:0!important;background:#fff!important;padding:12px 0 8px!important}
}
\n/* BG Kisan Loan v71.1: isolated modal scrolling / mobile pull-to-refresh guard */\nhtml.bgks-loan-html-lock, body.bgks-loan-open{overflow:hidden!important;overscroll-behavior:none!important;}\n#bgks-loan-modal.bgks-loan-overlay{position:fixed!important;inset:0!important;overflow:hidden!important;overscroll-behavior:contain!important;touch-action:none!important;}\n#bgks-loan-modal .bgks-loan-card{height:auto!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;}\n#bgks-loan-modal .bgks-loan-card form{touch-action:pan-y!important;}\n#bgks-loan-modal .bgks-loan-submit-wrap{position:sticky!important;bottom:0!important;z-index:999999!important;}\n@media(max-width:700px){#bgks-loan-modal .bgks-loan-card{height:calc(100dvh - 20px)!important;max-height:calc(100dvh - 20px)!important;width:100%!important;border-radius:18px!important;margin:10px!important;} }\n
/* V72.2: Loan form Admin Support chat */
.loan-admin-chat-btn{width:100%;margin:0 0 14px;min-height:46px;border:1px solid #0a8f3c;border-radius:12px;background:#f2fff6;color:#087f3e;font-weight:800;font-size:16px;cursor:pointer;touch-action:manipulation}.loan-admin-chat-btn:active{transform:translateY(1px)}

/* V72.5 Home Loan */
@media(max-width:700px){.home-market-rates-grid-4{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}.home-market-rate-item.home-loan .home-market-rate-icon{font-size:22px}}

/* V73.0: New Apply Loan staged approval system */
.bgks-loan-cover{display:block;width:100%;height:220px;object-fit:cover;border-radius:16px;margin:0 0 16px;border:1px solid #e5e7eb}.bgks-new-loan-card{max-width:1080px!important}.bgks-loan-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0 18px}.bgks-loan-steps span{padding:9px 6px;text-align:center;border-radius:10px;background:#f2f4f7;color:#667085;font-size:12px;font-weight:700}.bgks-loan-steps span.active{background:#ecfdf3;color:#087f3e}.bgks-new-loan-note{margin-top:12px;padding:12px;border-radius:12px;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;font-size:13px;line-height:1.45}.bgks-new-loan-status{margin-top:14px}.bgks-new-loan-status-card{padding:15px;border:1px solid #d0d5dd;border-radius:14px;background:#fff}.bgks-new-loan-status-card>strong{font-size:17px}.bgks-new-loan-status-card p{margin:7px 0;color:#344054}.bgks-new-loan-status-card small{color:#667085}.bgks-new-loan-bank-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid #e5e7eb}.bgks-new-loan-bank-form h3{grid-column:1/-1;margin:0}.bgks-new-loan-bank-form label{font-weight:700;color:#344054;font-size:13px}.bgks-new-loan-bank-form input{display:block;width:100%;margin-top:5px;box-sizing:border-box;padding:11px;border:1px solid #d0d5dd;border-radius:10px;font-size:15px}.bgks-new-loan-bank-form button{grid-column:1/-1}.bgks-new-loan-processing{margin-top:12px;padding-top:12px;border-top:1px solid #e5e7eb;display:grid;gap:9px}.bgks-new-loan-paid{margin-top:12px;padding:12px;border-radius:10px;background:#ecfdf3;color:#087f3e;font-weight:800}.bgks-new-loan-overlay .bgks-loan-card{overflow:auto!important}
@media(max-width:700px){.bgks-home-loan-cover{height:170px}.bgks-loan-cover{height:150px;border-radius:12px}.bgks-loan-steps{grid-template-columns:repeat(2,1fr)}.bgks-new-loan-bank-form{grid-template-columns:1fr}.bgks-new-loan-bank-form h3,.bgks-new-loan-bank-form button{grid-column:auto}}
.bgks-home-loan-cover{display:block;width:100%;height:230px;object-fit:cover;border-radius:16px;margin:0 0 16px;border:1px solid #e5e7eb}.bgks-home-loan-card{max-width:1080px!important}.bgks-home-loan-card .bgks-loan-steps{margin-bottom:18px}.bgks-home-loan-card .bgks-loan-fee-box{margin-top:16px}.bgks-home-loan-card .bgks-loan-submit-wrap{margin-top:12px}.bgks-home-loan-card .bgks-home-loan-submit{width:100%}
/* BG Kisan Services v74.0 */
.kisan-services-card{margin-top:16px;padding:0;overflow:hidden;background:#fff}.bgks-service-banner{margin:0;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(135deg,#087f3b,#12a85a);color:#fff;border-radius:18px}.bgks-service-banner b{display:block;font-size:20px;font-weight:900}.bgks-service-banner span{display:block;margin-top:4px;font-size:13px;opacity:.92}.bgks-service-banner-mark{font-size:38px!important;margin:0!important;opacity:1!important}.kisan-services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:14px}.kisan-service-btn{border:0;border-radius:16px;background:#f3f6f4;padding:14px 8px;min-height:108px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;color:#18231d}.kisan-service-btn span{font-size:30px}.kisan-service-btn b{font-size:15px;margin-top:7px}.kisan-service-btn small{font-size:11px;color:#6a756e;margin-top:3px}.kisan-service-btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px #0001}.kisan-service-panels{margin-top:14px}.ks-panel{margin-bottom:16px}.ks-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.ks-panel-head h2{margin:0;font-size:22px}.ks-panel-head p{margin:4px 0 0;color:#68736d}.ks-list,.ks-animal-grid{display:grid;gap:12px}.ks-card{padding:16px}.ks-card h3{margin:0 0 8px}.ks-desc{color:#4e5852;line-height:1.5}.ks-price,.ks-animal-price{display:block;margin:10px 0;font-weight:900}.ks-form{padding:16px;display:grid;gap:12px}.ks-form label{display:block;font-weight:700;color:#303a34}.ks-form input,.ks-form textarea,.ks-form select{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid #d6ddd8;border-radius:10px;background:#fff;font:inherit}.ks-form textarea{min-height:90px;resize:vertical}.ks-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ks-animal-card{display:grid;grid-template-columns:260px 1fr;overflow:hidden;padding:0}.ks-animal-media{background:#f1f3f2;min-height:220px}.ks-animal-media img{display:block;width:100%;height:220px;object-fit:cover}.ks-animal-media video{display:block;width:100%;max-height:220px;background:#000}.ks-animal-body{padding:15px}.ks-animal-body h3{margin:0 0 7px;font-size:19px}.ks-animal-body p{line-height:1.45;color:#56615a}.ks-animal-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.ks-animal-actions a{text-decoration:none;text-align:center}.modal.open{display:flex}.action-msg.ok{color:#087f3b}.action-msg.error{color:#c62828}
@media(max-width:700px){.kisan-services-grid{grid-template-columns:repeat(2,1fr);gap:8px;padding:10px}.kisan-service-btn{min-height:96px}.bgks-service-banner{border-radius:14px;padding:13px}.bgks-service-banner b{font-size:17px}.ks-two{grid-template-columns:1fr}.ks-animal-card{grid-template-columns:1fr}.ks-animal-media img{height:210px}.ks-animal-media{min-height:0}.ks-panel-head h2{font-size:19px}}
.ks-yojana-card{padding:0;overflow:hidden}.ks-yojana-cover{width:100%;background:#eef3ef}.ks-yojana-cover img{display:block;width:100%;height:210px;object-fit:cover}.ks-yojana-content{padding:16px}.ks-office-link{display:inline-block;margin-top:10px;text-decoration:none!important;text-align:center}.ks-yojana-card .ks-actions{margin-top:12px}
@media(max-width:700px){.ks-yojana-cover img{height:180px}.ks-yojana-content{padding:14px}}

/* BG Kisan Yojana v74.3: Apply button visibility + direct payment modal UX */
.kisan-services-panels{padding-bottom:110px!important}
.ks-panel{scroll-margin-top:18px!important}
.ks-yojana-card .ks-yojana-content{padding-bottom:22px!important}
.ks-yojana-card .ks-actions{display:block!important;padding-bottom:4px!important}
.ks-yojana-card .ks-yojana-apply{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:54px!important;margin:0!important;padding:13px 18px!important;box-sizing:border-box!important;position:relative!important;z-index:3!important;line-height:1.25!important;transform:none!important}
.ks-yojana-payment-modal{position:relative!important;z-index:1000001!important;max-height:calc(100dvh - 36px)!important;overflow-y:auto!important;padding-bottom:24px!important}
.ks-yojana-payment-modal .close{z-index:1000002!important}
.ks-payment-note{margin:10px 0 14px;padding:11px 12px;border-radius:10px;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;font-size:13px;line-height:1.45}
.ks-yojana-payment-modal .ks-yojana-pay-btn{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:54px!important;margin:10px 0 0!important;padding:13px 18px!important;position:relative!important;z-index:5!important}
body.ks-yojana-modal-open{overflow:hidden!important}
@media(max-width:700px){.kisan-service-panels{padding-bottom:120px!important}.ks-yojana-card .ks-yojana-cover img{height:180px!important}.ks-yojana-card .ks-yojana-content{padding:14px 14px 24px!important}.ks-yojana-card .ks-yojana-apply{min-height:56px!important;font-size:17px!important}.ks-yojana-payment-modal{width:calc(100% - 20px)!important;max-height:calc(100dvh - 24px)!important;padding:16px!important;padding-bottom:26px!important;border-radius:18px!important;box-sizing:border-box!important}.ks-payment-note{font-size:12px!important}.ks-yojana-payment-modal .ks-yojana-pay-btn{min-height:56px!important;font-size:17px!important;margin-bottom:6px!important}}

/* BG Kisan Yojana v74.5: keep Apply/Payment controls above mobile bottom navigation */
#ks-yojana-modal{z-index:1000000!important;padding:10px!important;align-items:center!important;justify-content:center!important;}
#ks-yojana-modal .ks-yojana-payment-modal{z-index:1000001!important;width:min(560px,calc(100vw - 20px))!important;max-height:calc(100dvh - 20px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding-bottom:32px!important;margin:0!important;}
#ks-yojana-modal .ks-yojana-payment-modal form{padding-bottom:8px!important;}
#ks-yojana-modal .ks-yojana-pay-btn{position:relative!important;z-index:1000003!important;display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;touch-action:manipulation!important;min-height:56px!important;margin:14px 0 6px!important;}
@media(max-width:700px){#ks-yojana-modal{padding:8px!important;align-items:flex-end!important;}#ks-yojana-modal .ks-yojana-payment-modal{width:100%!important;max-height:calc(100dvh - 16px)!important;padding:18px 14px 92px!important;border-radius:20px 20px 0 0!important;margin:0!important;}#ks-yojana-modal .ks-yojana-pay-btn{min-height:58px!important;margin:16px 0 0!important;font-size:17px!important;position:relative!important;z-index:1000004!important;}}

/* BG Kisan Yojana v74.6: isolated mobile modal + working Razorpay button */
html.ks-yojana-html-lock, body.ks-yojana-modal-open{overflow:hidden!important;overscroll-behavior:none!important;}
#ks-yojana-modal{position:fixed!important;inset:0!important;display:none!important;align-items:center!important;justify-content:center!important;padding:12px 12px 100px!important;box-sizing:border-box!important;background:rgba(0,0,0,.62)!important;z-index:2147483646!important;pointer-events:auto!important;}
#ks-yojana-modal.open{display:flex!important;}
#ks-yojana-modal .ks-yojana-payment-modal{position:relative!important;z-index:2147483647!important;width:min(560px,100%)!important;max-width:560px!important;max-height:calc(100dvh - 32px)!important;overflow-y:auto!important;overflow-x:hidden!important;background:#fff!important;border-radius:20px!important;padding:20px 18px 18px!important;box-sizing:border-box!important;box-shadow:0 20px 70px rgba(0,0,0,.30)!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;pointer-events:auto!important;}
#ks-yojana-modal .ks-yojana-payment-modal .close{position:absolute!important;right:12px!important;top:12px!important;z-index:2147483647!important;width:44px!important;height:44px!important;border:0!important;border-radius:50%!important;background:#f0f2f4!important;color:#444!important;font-size:30px!important;line-height:1!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;pointer-events:auto!important;}
#ks-yojana-modal .ks-yojana-payment-modal form{display:flex!important;flex-direction:column!important;gap:12px!important;padding-bottom:4px!important;}
#ks-yojana-modal .ks-yojana-payment-modal label{display:block!important;font-weight:700!important;color:#222!important;}
#ks-yojana-modal .ks-yojana-payment-modal input,#ks-yojana-modal .ks-yojana-payment-modal textarea{display:block!important;width:100%!important;box-sizing:border-box!important;margin-top:6px!important;padding:13px 14px!important;border:1px solid #d8dee5!important;border-radius:12px!important;background:#fff!important;color:#111!important;font:inherit!important;min-height:52px!important;}
#ks-yojana-modal .ks-yojana-payment-modal textarea{min-height:105px!important;resize:vertical!important;}
#ks-yojana-modal .ks-yojana-pay-btn{display:flex!important;align-items:center!important;justify-content:center!important;position:sticky!important;bottom:0!important;z-index:2147483647!important;width:100%!important;min-height:58px!important;margin:4px 0 0!important;padding:14px 18px!important;box-sizing:border-box!important;border:0!important;border-radius:13px!important;background:#078b3e!important;color:#fff!important;font-size:17px!important;font-weight:900!important;line-height:1.2!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;touch-action:manipulation!important;cursor:pointer!important;box-shadow:0 -10px 20px rgba(255,255,255,.98),0 6px 0 #056b2c,0 10px 22px rgba(7,139,62,.20)!important;}
#ks-yojana-modal .ks-yojana-pay-btn:disabled{opacity:.72!important;cursor:wait!important;}
#ks-yojana-modal .ks-office-link{display:block!important;width:100%!important;box-sizing:border-box!important;margin-top:10px!important;padding:13px 16px!important;border-radius:12px!important;text-decoration:none!important;text-align:center!important;}
@media(max-width:700px){
 #ks-yojana-modal{align-items:flex-end!important;padding:0 0 68px!important;}
 #ks-yojana-modal .ks-yojana-payment-modal{width:100%!important;max-width:none!important;height:min(92dvh,760px)!important;max-height:calc(100dvh - 68px)!important;border-radius:20px 20px 0 0!important;padding:18px 14px 14px!important;}
 #ks-yojana-modal .ks-yojana-payment-modal h2{font-size:26px!important;line-height:1.18!important;padding-right:44px!important;}
 #ks-yojana-modal .ks-yojana-pay-btn{min-height:60px!important;font-size:18px!important;margin-top:4px!important;}
}

/* V74.5: Full BG Kisan home system matching the supplied reference layout. */
.bgks-full-home-hero{position:relative;min-height:245px;margin:0 0 18px;padding:34px 42px;box-sizing:border-box;border-radius:22px;overflow:hidden;background:linear-gradient(110deg,#fff2d8 0%,#f7e5c5 42%,#f4d6a1 100%);border:1px solid #e2d6c3;box-shadow:0 5px 16px rgba(30,45,30,.08);display:flex;align-items:center;justify-content:space-between}
.bgks-full-home-hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 70% 35%,rgba(255,205,70,.42),transparent 28%),linear-gradient(90deg,transparent 0 62%,rgba(112,161,57,.16) 100%);pointer-events:none}
.bgks-hero-copy{position:relative;z-index:2}.bgks-hero-kicker{display:inline-block;font-weight:800;color:#12652d;font-size:15px;margin-bottom:7px}.bgks-hero-copy h1{margin:0;color:#16642d;font-size:46px;line-height:1.05;font-weight:900}.bgks-hero-copy p{margin:9px 0 16px;font-size:23px;font-weight:700;color:#3d3a2d}.bgks-hero-points{display:flex;gap:15px;align-items:center;color:#205f31;font-weight:800;font-size:17px}.bgks-hero-points i{font-style:normal;color:#56705a}.bgks-hero-farmer{position:relative;z-index:2;font-size:92px;letter-spacing:-20px;filter:drop-shadow(0 8px 7px rgba(0,0,0,.12));margin-right:6%}
.bgks-home-color-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 22px}.bgks-home-color-btn{border:0;border-radius:18px;min-height:108px;padding:14px 12px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;cursor:pointer;box-shadow:0 5px 0 rgba(0,0,0,.12),0 9px 18px rgba(0,0,0,.09);font:inherit}.bgks-home-color-btn span{font-size:30px;line-height:1;margin-bottom:6px}.bgks-home-color-btn b{font-size:23px;line-height:1.1}.bgks-home-color-btn small{font-size:13px;margin-top:6px;opacity:.98}.bgks-home-color-btn.c1{background:linear-gradient(135deg,#57a92a,#168120)}.bgks-home-color-btn.c2{background:linear-gradient(135deg,#ffc51d,#d89400)}.bgks-home-color-btn.c3{background:linear-gradient(135deg,#25b6a1,#138d80)}.bgks-home-color-btn.c4{background:linear-gradient(135deg,#4a86e8,#1654b8)}.bgks-home-color-btn.c5{background:linear-gradient(135deg,#9555dc,#6c31be)}.bgks-home-color-btn.c6{background:linear-gradient(135deg,#f85a78,#e93558)}.bgks-home-color-btn.c7{background:linear-gradient(135deg,#ff742c,#ee4d12)}.bgks-home-color-btn.c8{background:linear-gradient(135deg,#35a8d7,#167dc0)}
.bgks-home-promo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 22px}.bgks-home-promo-card{min-width:0;min-height:126px;padding:18px 22px;border:1px solid #e1e5e8;border-radius:18px;background:#fff;box-shadow:0 4px 13px rgba(0,0,0,.07);display:flex;align-items:center;gap:18px;text-align:left;cursor:pointer;font:inherit}.bgks-home-promo-card .promo-icon{width:72px;height:72px;min-width:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:38px;font-weight:900;background:#e8f6e9;color:#18852f}.bgks-home-promo-card .promo-icon.orange{background:#fff0df;color:#f36a14}.bgks-home-promo-card .promo-icon.blue{background:#e6f0ff;color:#1d63ca}.bgks-home-promo-card span:last-child{min-width:0}.bgks-home-promo-card b{display:block;font-size:22px;color:#17682c;line-height:1.15}.bgks-home-promo-card:nth-child(2) b{color:#ef6417}.bgks-home-promo-card:nth-child(3) b{color:#165bc0}.bgks-home-promo-card small{display:block;color:#667085;font-size:13px;margin:6px 0 10px}.bgks-home-promo-card em{display:inline-block;font-style:normal;color:#fff;background:#17852c;border-radius:9px;padding:8px 14px;font-size:13px;font-weight:800}.bgks-home-promo-card:nth-child(2) em{background:#f36a14}.bgks-home-promo-card:nth-child(3) em{background:#2165d2}
@media(max-width:700px){.bgks-full-home-hero{min-height:175px;padding:20px 18px;border-radius:17px}.bgks-hero-kicker{font-size:10px}.bgks-hero-copy h1{font-size:29px}.bgks-hero-copy p{font-size:15px;margin:6px 0 11px}.bgks-hero-points{font-size:10px;gap:7px}.bgks-hero-farmer{font-size:53px;letter-spacing:-12px;margin-right:0}.bgks-home-color-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:14px}.bgks-home-color-btn{min-height:83px;padding:8px 3px;border-radius:12px;box-shadow:0 3px 0 rgba(0,0,0,.12),0 5px 10px rgba(0,0,0,.08)}.bgks-home-color-btn span{font-size:20px;margin-bottom:4px}.bgks-home-color-btn b{font-size:11px}.bgks-home-color-btn small{font-size:8px;margin-top:4px;line-height:1.1}.bgks-home-promo-grid{grid-template-columns:1fr;gap:9px;margin-bottom:14px}.bgks-home-promo-card{min-height:88px;padding:11px 13px;gap:11px;border-radius:15px}.bgks-home-promo-card .promo-icon{width:52px;height:52px;min-width:52px;font-size:27px}.bgks-home-promo-card b{font-size:17px}.bgks-home-promo-card small{font-size:10px;margin:4px 0 6px}.bgks-home-promo-card em{padding:6px 9px;font-size:10px}}

/* V74.6: Home Earn Upto card follows the requested compact reference layout. */
.bgks-home-promo-card{position:relative;overflow:hidden;}
.bgks-home-promo-card .promo-month{display:block;color:#ef4d66;font-size:22px;line-height:1;margin-left:auto;white-space:nowrap;}
.bgks-home-promo-card:nth-child(2) b{font-size:24px;}
@media(max-width:700px){.bgks-home-promo-card:nth-child(2) b{font-size:17px}.bgks-home-promo-card .promo-month{font-size:15px}.bgks-home-promo-card{overflow:hidden;}}
/* Keep the Yojana banner clean: no accidental content/keyboard overlay above it. */
#ks-yojana>.bgks-service-banner{position:relative;z-index:1;overflow:hidden;}
#ks-yojana>.ks-panel-head{display:none!important;}

/* Final UI adjustment: Kisan service cards in one row + remove floating plus button */
.kisan-services-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.kisan-service-btn{min-width:0!important}
@media(max-width:700px){.kisan-services-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;padding:10px!important}.kisan-service-btn{min-height:108px!important;padding:10px 4px!important}.kisan-service-btn span{font-size:28px!important}.kisan-service-btn b{font-size:13px!important}.kisan-service-btn small{font-size:9px!important}}
#mobile-create,.mobile-create-float{display:none!important}
.mobile-bottom.instagram-bottom{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.mobile-bottom.instagram-bottom > .mobile-nav-icon{flex:1 1 0!important}

/* Final requested mobile bottom navigation: keep Plus button white and restore Profile. */
@media(max-width:700px){
  .mobile-bottom.instagram-bottom{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    height:72px!important;
    padding:0 8px!important;
    align-items:center!important;
    justify-items:center!important;
    overflow:visible!important;
  }
  .mobile-bottom.instagram-bottom > .mobile-nav-icon{
    width:100%!important;
    height:72px!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .mobile-bottom.instagram-bottom > .mobile-create-float,
  .mobile-bottom.instagram-bottom #mobile-create{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    width:60px!important;
    height:60px!important;
    min-width:60px!important;
    min-height:60px!important;
    margin:-22px 0 0!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#111!important;
    box-shadow:0 3px 16px rgba(0,0,0,.16)!important;
    align-items:center!important;
    justify-content:center!important;
    z-index:20!important;
  }
  .mobile-bottom.instagram-bottom > .mobile-create-float b,
  .mobile-bottom.instagram-bottom #mobile-create b{
    display:block!important;
    color:#111!important;
    font-size:39px!important;
    font-weight:300!important;
    line-height:1!important;
  }
  .mobile-bottom.instagram-bottom > .mobile-profile-tab{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    overflow:visible!important;
  }
  .mobile-bottom.instagram-bottom > .mobile-profile-tab .bgks2-avatar-wrap,
  .mobile-bottom.instagram-bottom > .mobile-profile-tab img{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .mobile-bottom.instagram-bottom > .mobile-profile-tab .bgks2-avatar-wrap{
    width:38px!important;
    height:38px!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:50%!important;
    overflow:hidden!important;
  }
  .mobile-bottom.instagram-bottom > .mobile-profile-tab .bgks2-avatar-wrap img,
  .mobile-bottom.instagram-bottom > .mobile-profile-tab img{
    width:35px!important;
    height:35px!important;
    min-width:35px!important;
    min-height:35px!important;
    border-radius:50%!important;
    object-fit:cover!important;
    display:block!important;
  }
}
/* BG Kisan Sell & Earn services */
.bgks2-earn-services{margin-top:18px;overflow:hidden;background:linear-gradient(180deg,#fff,#f7f2ff);border:1px solid #ece7f8}
.bgks2-earn-heading{text-align:center;padding:16px 12px 8px}.bgks2-earn-heading h2{margin:0;font-size:24px;letter-spacing:.4px;color:#26353d}.bgks2-earn-heading p{margin:6px 0 0;color:#70777d;font-size:13px}
.bgks2-earn-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:12px}.bgks2-earn-service-btn{border:1px solid #eee;border-radius:16px;background:#fff;padding:14px 8px;min-height:125px;box-shadow:0 5px 14px #0000000c;cursor:pointer;color:#172027}.bgks2-earn-service-btn b{display:block;font-size:16px;margin-top:7px}.bgks2-earn-service-btn small{display:block;color:#8a8f94;margin-top:6px;font-size:11px}.earn-service-icon{display:block;font-size:31px}.bgks2-earn-service-btn:hover{transform:translateY(-1px)}
.bgks2-earn-overlay{position:fixed;inset:0;z-index:999999;background:#f7f7fa;overflow:auto;padding:0 14px 110px}.bgks2-earn-panel{max-width:900px;margin:0 auto}.bgks2-earn-panel-head{position:sticky;top:0;z-index:2;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:16px 8px;border-bottom:1px solid #e8e8ec}.bgks2-earn-panel-head h2{margin:0;font-size:25px}.bgks2-earn-panel-head p{margin:5px 0 0;color:#777}.bgks2-earn-close{border:0;background:#eee;border-radius:50%;width:42px;height:42px;font-size:28px;cursor:pointer}.bgks2-earn-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-top:14px}.bgks2-earn-card{position:relative;background:#fff;border-radius:18px;overflow:hidden;border:1px solid #e8e8ee;box-shadow:0 8px 24px #00000010}.bgks2-earn-card>img{width:100%;height:auto;max-height:520px;object-fit:contain;object-position:center;display:block;background:#f0ebff}.earn-service-placeholder{width:100%;height:170px;display:flex;align-items:center;justify-content:center;font-size:65px;background:#f0ebff}.earn-service-placeholder{display:flex;align-items:center;justify-content:center;font-size:65px}.bgks2-earn-card-body{padding:14px}.bgks2-earn-card-body h3{margin:0 0 7px;font-size:20px}.bgks2-earn-card-body p{margin:0 0 14px;color:#687078;line-height:1.45;min-height:42px}.bgks2-earn-card-btn{display:inline-block;background:#7544c7;color:#fff!important;text-decoration:none;border:0;border-radius:12px;padding:10px 18px;font-weight:800;cursor:pointer}.bgks2-card-action-row{display:flex;align-items:center;gap:10px;width:100%;margin-top:2px}.bgks2-card-action-row .bgks2-earn-card-btn{flex:0 0 auto}.bgks2-card-action-row .bgks2-earn-commission{flex:1;min-width:0;margin:0;background:#08a045;color:#fff;padding:11px 12px;border-radius:12px;text-align:center;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.bgks2-share-customer{width:100%;margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;border-radius:28px;background:#7544c7;color:#fff;padding:7px 8px 7px 18px;font-size:17px;font-weight:800;cursor:pointer;box-shadow:0 4px 12px #7544c733}.bgks2-share-customer span{flex:1;text-align:left}.bgks2-share-customer img{width:42px;height:42px;border-radius:50%;background:#fff;object-fit:contain;padding:7px;box-sizing:border-box}.bgks2-share-customer:active{transform:scale(.99)}.bgks2-earn-empty{grid-column:1/-1;background:#fff;border-radius:16px;padding:30px;text-align:center;color:#777}
@media(max-width:700px){.bgks2-earn-buttons{gap:7px;padding:10px}.bgks2-earn-service-btn{min-height:108px;padding:10px 4px}.bgks2-earn-service-btn b{font-size:13px}.bgks2-earn-service-btn small{font-size:9px}.bgks2-earn-cards{grid-template-columns:1fr}.bgks2-earn-card>img{height:auto;max-height:520px}.earn-service-placeholder{height:160px}.bgks2-earn-overlay{padding-left:8px;padding-right:8px}}
body.bgks2-service-open{overflow:hidden!important}

/* Admin-selected Home Cover Photo */
.bgks-admin-cover-hero{background-size:cover;background-position:center;background-repeat:no-repeat;min-height:260px;border-radius:22px;overflow:hidden;}
.bgks2-cover-admin-card{background:#fff;border:1px solid #dcdcde;border-radius:14px;padding:18px;margin:18px 0;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.bgks2-cover-pick{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.bgks2-cover-pick input{flex:1;min-width:260px;padding:8px 10px}.bgks2-cover-preview{margin-top:14px;min-height:100px;border:1px dashed #c3c4c7;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f6f7f7;color:#646970}.bgks2-cover-preview img{display:block;width:100%;max-height:320px;object-fit:cover}
@media(max-width:700px){.bgks-admin-cover-hero{min-height:190px;border-radius:16px}.bgks2-cover-pick{flex-direction:column;align-items:stretch}.bgks2-cover-pick input{min-width:0;width:100%}}

.bgks-google-fallback{display:none;width:100%;min-height:48px;margin:8px 0 12px;align-items:center;justify-content:center;gap:10px;background:#fff!important;color:#202124!important;border:1px solid #dadce0!important;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.08)}.bgks-google-fallback .bgks-google-g{font-family:Arial,sans-serif;font-size:24px;font-weight:700;color:#4285F4}

/* v74.6 final Google WebView login */
.bgks-google-fallback{
  width:100%;min-height:52px;margin:8px 0 12px;display:flex;
  align-items:center;justify-content:center;gap:10px;
  background:#fff!important;color:#202124!important;
  border:1px solid #dadce0!important;border-radius:10px;
  font-size:17px;font-weight:600;cursor:pointer;
}
.bgks-google-fallback .bgks-google-g{
  font-family:Arial,sans-serif;font-size:25px;font-weight:700;color:#4285F4;
}


/* BG Kisan Loan v74.6: four loan buttons + configurable API application */
.bgks-loan-api-section{margin-top:16px;padding:18px;background:#fff;border:1px solid #e6e9ed;border-radius:20px;box-shadow:0 8px 24px rgba(16,24,40,.06)}
.bgks-loan-api-heading{text-align:center;margin-bottom:14px}.bgks-loan-api-heading h2{margin:0;font-size:23px}.bgks-loan-api-heading p{margin:4px 0 0;color:#667085;font-size:13px}
.bgks-loan-api-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.bgks-loan-type-btn{min-width:0;min-height:155px;padding:16px 8px;border:1px solid #e2e7eb;border-radius:22px;background:linear-gradient(180deg,#fff,#f7f9fa);box-shadow:0 8px 0 #e7ecef,0 12px 24px rgba(16,24,40,.08);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;color:#182230;transition:.15s;touch-action:manipulation}.bgks-loan-type-btn:hover{transform:translateY(-2px)}.bgks-loan-type-btn:active{transform:translateY(4px);box-shadow:0 3px 0 #e7ecef,0 7px 14px rgba(16,24,40,.08)}
.bgks-loan-type-icon{width:72px;height:72px;border-radius:22px;display:flex;align-items:center;justify-content:center;font-size:38px;background:#fff1c8;box-shadow:0 7px 18px rgba(16,24,40,.08);margin-bottom:11px}.bgks-loan-type-btn:nth-child(2) .bgks-loan-type-icon{background:#dcecff}.bgks-loan-type-btn:nth-child(3) .bgks-loan-type-icon{background:#fff0c9}.bgks-loan-type-btn:nth-child(4) .bgks-loan-type-icon{background:#dff7e9}.bgks-loan-type-btn b{font-size:17px;text-decoration:underline;text-underline-offset:3px}.bgks-loan-type-btn small{margin-top:5px;font-size:10px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.bgks-loan-api-overlay{position:fixed;inset:0;z-index:2147483646;background:rgba(0,0,0,.62);display:flex;align-items:center;justify-content:center;padding:14px}.bgks-loan-api-overlay[hidden]{display:none}.bgks-loan-api-card{width:min(560px,100%);max-height:calc(100dvh - 28px);overflow:auto;background:#fff;border-radius:22px;padding:22px;position:relative;box-shadow:0 25px 70px rgba(0,0,0,.3)}.bgks-loan-api-close{position:absolute;right:12px;top:10px;width:40px;height:40px;border:0;border-radius:50%;background:#111;color:#fff;font-size:27px}.bgks-loan-api-head{display:flex;gap:12px;align-items:center;padding-right:42px}.bgks-loan-api-head>span{width:58px;height:58px;border-radius:18px;background:#fff1c8;display:flex;align-items:center;justify-content:center;font-size:31px}.bgks-loan-api-head h2{margin:0;font-size:22px}.bgks-loan-api-head p{margin:4px 0 0;color:#667085;font-size:12px}.bgks-loan-api-form{display:grid;gap:11px;margin-top:16px}.bgks-loan-api-form label{font-size:13px;font-weight:700;color:#344054}.bgks-loan-api-form input{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:12px;border:1px solid #d0d5dd;border-radius:10px;font-size:15px}.bgks-loan-api-note{padding:11px;border-radius:10px;background:#fff8e1;color:#6b5600;font-size:12px;line-height:1.45}.bgks-loan-api-submit{min-height:50px;border:0;border-radius:12px;background:#0a8f3c;color:#fff;font-weight:800;font-size:16px;cursor:pointer}.bgks-loan-api-submit:disabled{opacity:.65}.bgks-loan-api-msg{padding:8px 10px;border-radius:9px;font-weight:700;font-size:13px}.bgks-loan-api-msg:empty{display:none}.bgks-loan-api-msg.ok{background:#ecfdf3;color:#087f3e}.bgks-loan-api-msg.error{background:#fff1f0;color:#b42318}.bgks-loan-api-gov{display:block;text-align:center;margin-top:10px;color:#087f3e;font-weight:800;text-decoration:underline}
@media(max-width:700px){.bgks-loan-api-section{padding:12px;border-radius:16px}.bgks-loan-api-buttons{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.bgks-loan-type-btn{min-height:105px;padding:8px 3px;border-radius:14px;box-shadow:0 4px 0 #e7ecef,0 7px 14px rgba(16,24,40,.07)}.bgks-loan-type-icon{width:42px;height:42px;border-radius:13px;font-size:23px;margin-bottom:6px}.bgks-loan-type-btn b{font-size:11px;line-height:1.15}.bgks-loan-type-btn small{display:none}.bgks-loan-api-card{padding:16px;border-radius:18px}.bgks-loan-api-head h2{font-size:19px}}
/* BG Kisan Loan API mobile form v74.7: clean stacked fields, no label/input overlap */
.bgks-loan-api-form label{display:block!important;width:100%!important;box-sizing:border-box!important;line-height:1.35!important;position:relative!important;overflow:visible!important}
.bgks-loan-api-form label input,.bgks-loan-api-form label select,.bgks-loan-api-form label textarea{display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:6px 0 0!important;float:none!important;position:relative!important;left:auto!important;right:auto!important}
.bgks-loan-api-card{box-sizing:border-box!important}
@media(max-width:700px){
 .bgks-loan-api-overlay{padding:8px!important;align-items:center!important}
 .bgks-loan-api-card{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 16px)!important;padding:16px!important;border-radius:18px!important}
 .bgks-loan-api-form{gap:12px!important;margin-top:14px!important}
 .bgks-loan-api-form label{font-size:14px!important}
 .bgks-loan-api-form label input,.bgks-loan-api-form label select,.bgks-loan-api-form label textarea{min-height:46px!important;padding:11px 12px!important;font-size:16px!important}
 .bgks-loan-api-note{font-size:13px!important}
 .bgks-loan-api-submit{width:100%!important;min-height:52px!important;font-size:17px!important}
 .bgks-loan-api-gov{font-size:14px!important;padding:5px 0 2px!important}
}


/* BG Kisan Loan v74.8: hard-reset mobile form layout */
#bgks-loan-api-modal .bgks-loan-api-form{display:flex!important;flex-direction:column!important;gap:12px!important;margin-top:16px!important;width:100%!important;}
#bgks-loan-api-modal .bgks-loan-api-field{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;}
#bgks-loan-api-modal .bgks-loan-api-field>label{display:block!important;width:100%!important;height:auto!important;margin:0 0 6px!important;padding:0!important;position:static!important;float:none!important;clear:both!important;font-size:14px!important;line-height:1.35!important;font-weight:800!important;color:#222!important;white-space:normal!important;}
#bgks-loan-api-modal .bgks-loan-api-field>input,#bgks-loan-api-modal .bgks-loan-api-field>select,#bgks-loan-api-modal .bgks-loan-api-field>textarea{display:block!important;position:static!important;float:none!important;clear:both!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:48px!important;margin:0!important;padding:12px 14px!important;box-sizing:border-box!important;border:1px solid #d0d5dd!important;border-radius:12px!important;background:#fff!important;font:inherit!important;font-size:16px!important;line-height:1.3!important;color:#222!important;}
#bgks-loan-api-modal .bgks-loan-api-note{width:100%!important;box-sizing:border-box!important;margin:2px 0 0!important;}
#bgks-loan-api-modal .bgks-loan-api-submit{display:flex!important;width:100%!important;box-sizing:border-box!important;align-items:center!important;justify-content:center!important;white-space:normal!important;}
@media(max-width:700px){
 #bgks-loan-api-modal .bgks-loan-api-overlay{padding:8px!important;}
 #bgks-loan-api-modal .bgks-loan-api-card{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;padding:16px!important;margin:0!important;overflow-y:auto!important;overflow-x:hidden!important;}
 #bgks-loan-api-modal .bgks-loan-api-head{gap:10px!important;padding-right:44px!important;}
 #bgks-loan-api-modal .bgks-loan-api-head>span{width:54px!important;height:54px!important;flex:0 0 54px!important;}
 #bgks-loan-api-modal .bgks-loan-api-head h2{font-size:21px!important;line-height:1.2!important;}
 #bgks-loan-api-modal .bgks-loan-api-head p{font-size:13px!important;line-height:1.45!important;}
 #bgks-loan-api-modal .bgks-loan-api-form{gap:11px!important;margin-top:14px!important;}
 #bgks-loan-api-modal .bgks-loan-api-field>label{font-size:14px!important;margin-bottom:5px!important;}
 #bgks-loan-api-modal .bgks-loan-api-field>input{min-height:48px!important;font-size:16px!important;}
 #bgks-loan-api-modal .bgks-loan-api-note{font-size:13px!important;line-height:1.45!important;padding:11px!important;}
 #bgks-loan-api-modal .bgks-loan-api-submit{min-height:54px!important;font-size:17px!important;}
}

/* BG Kisan Mandi Bhav v74.12 */
.bgks-home-color-btn.c9{background:linear-gradient(135deg,#38c878,#078b3e)!important}
.bgks-mandi-page{width:100%;max-width:1100px;margin:0 auto}
.bgks-mandi-card{background:#fff;border:1px solid #e1e5e9;border-radius:18px;padding:18px;box-shadow:0 8px 25px rgba(0,0,0,.06)}
.bgks-mandi-filters{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:12px;align-items:end}
.bgks-mandi-filters label{display:flex;flex-direction:column;gap:6px;font-weight:800;color:#17202a;font-size:14px}
.bgks-mandi-filters select,.bgks-mandi-filters input{width:100%;box-sizing:border-box;min-height:48px;border:1px solid #d5dbe1;border-radius:12px;background:#fff;padding:11px 12px;font:inherit;font-size:15px;color:#17202a}
.bgks-mandi-filters select:disabled{background:#f2f4f6;color:#8a9199}
#bgks-mandi-msg{margin:12px 0 0;min-height:0}
.bgks-mandi-table-wrap{margin-top:15px;overflow:auto;border:1px solid #e4e7eb;border-radius:12px}
.bgks-mandi-table{width:100%;border-collapse:collapse;min-width:760px;background:#fff}
.bgks-mandi-table th{background:#087f3b;color:#fff;text-align:left;padding:11px 10px;font-size:13px;white-space:nowrap}
.bgks-mandi-table td{padding:10px;border-bottom:1px solid #edf0f2;color:#27323a;font-size:13px;white-space:nowrap}
.bgks-mandi-table tr:last-child td{border-bottom:0}
.bgks-mandi-price{font-weight:900;color:#087f3b}
.bgks-mandi-mobile-list{display:grid;gap:10px;margin-top:14px}
.bgks-mandi-mobile-item{border:1px solid #e2e7eb;border-radius:14px;padding:13px;background:#fff;box-shadow:0 3px 10px rgba(0,0,0,.04)}
.bgks-mandi-mobile-item b{color:#087f3b;font-size:16px}.bgks-mandi-mobile-item small{display:block;color:#68737d;margin-top:3px}.bgks-mandi-mobile-prices{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}.bgks-mandi-mobile-prices span{background:#eef9f2;border-radius:9px;padding:7px 9px;font-size:12px}.bgks-mandi-mobile-prices strong{display:block;color:#087f3b;font-size:14px}
@media(max-width:800px){.bgks-mandi-filters{grid-template-columns:1fr 1fr}.bgks-mandi-filters label:nth-child(3){grid-column:1/-1}.bgks-mandi-filters #bgks-mandi-search{grid-column:1/-1;width:100%;min-height:50px}.bgks-mandi-card{padding:13px}.bgks-mandi-table-wrap{display:none}.bgks-mandi-mobile-list{display:grid}}
@media(min-width:801px){.bgks-mandi-mobile-list{display:none}}

/* BG Kisan Mandi Bhav v74.15 - mobile full-screen layout */
.bgks-mandi-page{width:100%;max-width:100%;margin:0;padding:0}
.bgks-mandi-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 16px}
.bgks-mandi-shortcut{position:relative;min-height:92px;border:1px solid #cfe3d5;border-radius:18px;background:#f4fff7;padding:15px 42px 13px 62px;text-align:left;cursor:pointer;box-shadow:0 5px 16px rgba(0,0,0,.05)}
.bgks-mandi-shortcut.mandsaur{background:#f4f8ff;border-color:#c9d9f7}
.bgks-mandi-shortcut>span{position:absolute;left:17px;top:22px;font-size:34px}.bgks-mandi-shortcut b{display:block;font-size:19px;color:#17202a}.bgks-mandi-shortcut small{display:block;margin-top:4px;color:#68737d;font-size:13px}.bgks-mandi-shortcut i{position:absolute;right:17px;top:30px;font-size:34px;font-style:normal;color:#17202a}
.bgks-mandi-search-head h2{margin:0;font-size:22px}.bgks-mandi-search-head p{margin:4px 0 14px;color:#68737d}.bgks-mandi-search-row{display:grid;grid-template-columns:1fr 180px;gap:10px}.bgks-mandi-search-row input{width:100%;min-height:52px;border:1px solid #cfd6dc;border-radius:12px;padding:12px 15px;font-size:17px;outline:none}.bgks-mandi-search-row .green-btn{margin:0;min-height:52px}.bgks-mandi-examples{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.bgks-mandi-examples button{border:1px solid #cfe3d5;background:#eef9f2;color:#087f3b;border-radius:20px;padding:8px 13px;font-weight:700;cursor:pointer}
@media(max-width:700px){
 .bgks2-shell{padding:0 0 82px!important}.bgks2-main{width:100%!important}.bgks2-main>.tab.active{width:100%!important}.bgks-mandi-page{width:100vw!important;max-width:100vw!important;margin:0!important;padding:10px 10px 24px!important}.bgks-mandi-page .page-title{padding:6px 4px 12px}.bgks-mandi-page .page-title h1{font-size:27px}.bgks-mandi-page .page-title p{font-size:15px}.bgks-mandi-shortcuts{gap:8px;margin-bottom:10px}.bgks-mandi-shortcut{min-height:82px;border-radius:14px;padding:12px 30px 10px 47px}.bgks-mandi-shortcut>span{left:10px;top:19px;font-size:27px}.bgks-mandi-shortcut b{font-size:15px;line-height:1.25}.bgks-mandi-shortcut small{font-size:11px}.bgks-mandi-shortcut i{right:9px;top:26px;font-size:27px}.bgks-mandi-card{border-radius:14px;padding:12px!important;margin-bottom:10px}.bgks-mandi-search-head h2{font-size:19px}.bgks-mandi-search-head p{font-size:13px}.bgks-mandi-search-row{grid-template-columns:1fr;gap:8px}.bgks-mandi-search-row input{font-size:16px;min-height:48px}.bgks-mandi-search-row .green-btn{min-height:48px}.bgks-mandi-examples{gap:6px}.bgks-mandi-examples button{padding:7px 10px;font-size:12px}.bgks-mandi-mobile-item{border-radius:12px;padding:12px}.bgks-mandi-mobile-prices{gap:6px}.bgks-mandi-mobile-prices span{flex:1;min-width:82px;text-align:center}
}
@media(min-width:701px){.bgks-mandi-page{padding:10px 0 30px}.bgks-mandi-card{padding:20px}.bgks-mandi-mobile-list{display:none}}


/* V74.17: Top home service buttons match Wallet/Withdrawal/Market cards; 4 per row */
.bgks-top-service-links{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0 0 16px!important}
.bgks-top-service-links .home-quick-link{min-height:112px!important;height:112px!important}
.bgks-top-service-links .top-mandsaur-mandi .quick-icon,.bgks-top-service-links .top-neemuch-mandi .quick-icon{background:#e8f7ee!important}.bgks-top-service-links .top-mandsaur-mandi b,.bgks-top-service-links .top-neemuch-mandi b{color:#087b35!important}.bgks-top-service-links .top-news .quick-icon{background:#e8f3ff!important}.bgks-top-service-links .top-video .quick-icon{background:#f1eaff!important}.bgks-top-service-links .top-reels .quick-icon{background:#ffeaf0!important}.bgks-top-service-links .top-channel .quick-icon{background:#fff0e6!important}.bgks-top-service-links .top-profile .quick-icon{background:#e6f7ff!important}.bgks-top-service-links .top-mandi .quick-icon{background:#e8f7ee!important}.bgks-top-service-links .top-mandi b{color:#087b35!important}.bgks-top-service-links .top-metals .quick-icon{background:#fff5d9!important}.bgks-top-service-links .top-metals b{color:#8a6500!important}
.bgks-metals-page{padding:16px!important}.bgks-metals-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.bgks-metals-head b{display:block;font-size:22px}.bgks-metals-head small{display:block;color:#667085;margin-top:4px}.bgks-metals-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bgks-metal-card{border:1px solid #e5e7eb;border-radius:16px;padding:18px;display:flex;align-items:center;gap:14px;background:#fff}.bgks-metal-card.gold{background:#fffaf0;border-color:#ead58c}.bgks-metal-card.silver{background:#f7f9fb;border-color:#d6dde5}.bgks-metal-icon{width:58px;height:58px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:31px;background:#fff;box-shadow:0 3px 10px rgba(0,0,0,.08);flex:0 0 58px}.bgks-metal-card b{display:block;font-size:18px}.bgks-metal-card strong{display:block;font-size:21px;margin-top:4px}.bgks-metal-card small{display:block;color:#667085;margin-top:4px}.bgks-metals-note{margin:14px 0 0;padding:11px 12px;border-radius:10px;background:#f6f8fa;color:#667085;font-size:12px;line-height:1.45}
@media(max-width:700px){.bgks-top-service-links{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin-bottom:14px!important}.bgks-top-service-links .home-quick-link{min-height:82px!important;height:82px!important;padding:7px 2px!important;border-radius:13px!important}.bgks-top-service-links .home-quick-link .quick-icon{width:38px!important;height:38px!important;min-width:38px!important;border-radius:11px!important;font-size:20px!important}.bgks-top-service-links .home-quick-link b{font-size:11px!important}.bgks-metals-grid{grid-template-columns:1fr}.bgks-metals-head{align-items:flex-start}.bgks-metals-head b{font-size:19px}.bgks-metal-card{padding:14px}.bgks-metal-card strong{font-size:18px}}


/* V74.18 final requested UI cleanup */
/* No post overflow menu; the only three-dot menu is on the Profile page. */
.profile-more-wrap{position:relative;flex:0 0 auto}
.profile-more-btn{width:42px;height:42px;border:1px solid #e1e5e8;background:#fff;border-radius:50%;font-size:22px;font-weight:900;letter-spacing:2px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.profile-more-btn:active{transform:scale(.96)}
.profile-more-menu{position:absolute;right:0;top:48px;z-index:1000;min-width:205px;background:#fff;border:1px solid #e1e5e8;border-radius:13px;box-shadow:0 10px 28px rgba(0,0,0,.16);padding:6px}
.profile-more-menu[hidden]{display:none!important}
.profile-more-menu button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:11px 12px;border-radius:9px;font-weight:700;color:#20262d;cursor:pointer;font-size:13px}
.profile-more-menu button:hover{background:#f2f5f7}
.profile-more-divider{height:1px;background:#e9ecef;margin:5px 4px}
/* Remove the misplaced 'आपकी पोस्ट' block from every page. */
.profile-posts{display:none!important}
/* Home cover: show the complete uploaded image without cropping. */
.bgks-full-home-hero{min-height:0!important;height:auto!important;aspect-ratio:2.1/1;background-size:100% 100%!important;background-position:center!important;background-repeat:no-repeat!important;padding:0!important}
@media(max-width:700px){.bgks-full-home-hero{aspect-ratio:2.1/1;min-height:0!important;border-radius:12px!important}.profile-more-btn{width:40px;height:40px}.profile-more-menu{right:0;min-width:190px}}

/* V74.18: clean video author row after removing channel system. */
.bgv-author-line{font-size:13px;color:#aaa;margin:8px 0 0}
.bgks-video-author{display:flex;align-items:center;gap:9px;margin-top:9px}
.bgks-video-author .bgks2-avatar-wrap{flex:0 0 42px}
.bgks-video-author .bgks2-avatar{width:42px!important;height:42px!important}
.video-author-name{font-weight:800;color:#17202a;text-decoration:none}
.bgks-video-author small{color:#777}
/* Remove any legacy channel UI that may still be present in cached markup. */
.profile-channel-system,.channel-editor-card,#channel-panel,.my-channel-open,.top-channel{display:none!important}

/* V74.20 final: only Profile has three-dot menu; keep it inside profile and fully clickable. */
#tab-profile .profile-info{position:relative;overflow:visible!important}
#tab-profile .profile-more-wrap{position:relative;z-index:10050}
#tab-profile .profile-more-menu{z-index:10051;max-height:min(70vh,560px);overflow-y:auto;overscroll-behavior:contain}
#tab-profile .profile-more-menu button{min-height:42px}
.bgks-home-promo-grid{grid-template-columns:1fr!important}
.bgks2-share-customer{display:none!important}
@media(max-width:700px){#tab-profile .profile-more-menu{position:absolute;right:0;top:48px;width:min(300px,calc(100vw - 34px));max-height:65vh}.bgks-home-promo-grid{grid-template-columns:1fr!important}}


/* V74.21: Profile menu is a three-line button with a reliable internal scroll area. */
#tab-profile .profile-more-btn{font-size:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;letter-spacing:0!important}
#tab-profile .profile-more-btn:before{content:'☰';font-size:24px!important;line-height:1!important;font-weight:700!important}
#tab-profile #profile-name{font-size:40px!important;line-height:1.08!important;letter-spacing:-.4px!important}
#tab-profile .profile-more-menu{max-height:min(62vh,520px)!important;overflow:hidden!important;padding:6px!important}
#tab-profile .profile-more-menu .profile-menu-scroll-area{max-height:min(52vh,430px);overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:auto;padding-right:2px}
#tab-profile .profile-more-menu .profile-menu-scroll-area button{min-height:44px!important}
.profile-menu-scroll-controls{display:flex;gap:6px;padding:4px 2px 2px;border-top:1px solid #e9ecef;background:#fff;position:sticky;bottom:0;z-index:2}
.profile-menu-scroll-controls button{flex:1!important;min-height:36px!important;text-align:center!important;padding:6px!important;background:#f5f7f8!important;border:1px solid #e0e4e7!important;border-radius:8px!important;font-size:14px!important}
/* Any non-profile site three-dot/channel menu is hidden. Chrome's own browser three-dot is outside the website and cannot be controlled by the plugin. */
#tab-home .channel-top-actions [data-channel-menu],.channel-top-actions [data-channel-menu]{display:none!important}
@media(max-width:700px){
 #tab-profile #profile-name{font-size:28px!important;line-height:1.1!important}
 #tab-profile .profile-more-btn{width:42px!important;height:42px!important}
 #tab-profile .profile-more-btn:before{font-size:22px!important}
 #tab-profile .profile-more-menu{width:min(300px,calc(100vw - 24px))!important;max-height:62vh!important}
 #tab-profile .profile-more-menu .profile-menu-scroll-area{max-height:52vh}
}

/* v74.22: Remove the Home hamburger menu; Profile keeps its own 3-line menu. */
.mobile-menu,.bgks2-drawer{display:none!important}


/* V74.23: Profile menu must stay above the fixed bottom navigation. */
#tab-profile .profile-more-menu{
  position:fixed!important;
  right:12px!important;
  top:auto!important;
  bottom:82px!important;
  z-index:2147483000!important;
  width:min(320px,calc(100vw - 24px))!important;
  max-height:calc(100dvh - 110px)!important;
  overflow:hidden!important;
}
#tab-profile .profile-more-menu .profile-menu-scroll-area{
  max-height:calc(100dvh - 180px)!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
}
.mobile-bottom{z-index:9000!important}
/* V74.23: completely remove the Story system UI wherever it appears. */
.stories-wrap,.story,.create-story,.real-story,.story-viewer,#story-modal,#story-create-modal,#story-view-modal,[data-create="story"],[data-story],.story-system,.stories-section,.story-section,.story-composer,.story-viewer-modal,.story-card,.story-list,.story-upload{display:none!important}

/* v74.24 पशु listing Like/Share + upload progress */
.ks-animal-social-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.ks-animal-social-actions .outline-btn{width:100%;text-align:center}
.ks-animal-social-actions .ks-animal-like.liked{border-color:#087f3b;color:#087f3b;background:#f1fbf4}
.ks-upload-progress{margin-top:10px;padding:10px 12px;border:1px solid #dfe5e9;border-radius:10px;background:#f8fafb}
.ks-upload-progress-track{height:8px;border-radius:99px;background:#e5e7eb;overflow:hidden}
.ks-upload-progress-track span{display:block;width:0;height:100%;background:#078b3e;transition:width .15s ease}
.ks-upload-progress b{display:block;margin-top:6px;font-size:13px;color:#555}
.ks-upload-progress em{font-style:normal;color:#078b3e}
@media(max-width:700px){.ks-animal-social-actions{grid-template-columns:1fr 1fr}}

/* v74.25 animal seller follow button */
.ks-animal-seller{display:block;margin:5px 0 8px;color:#667085;font-size:13px}
.ks-animal-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ks-animal-actions .outline-btn{width:100%;text-align:center}
.ks-animal-follow{font-weight:700}
@media(max-width:420px){.ks-animal-actions{grid-template-columns:1fr}}

/* v74.26 पशु संपर्क row: WhatsApp + Call */
.ks-animal-contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.ks-animal-contact-actions .outline-btn{width:100%;text-align:center;text-decoration:none}
@media(max-width:420px){.ks-animal-contact-actions{grid-template-columns:1fr 1fr}}


/* BG Kisan News / Krishi Gyan / Yojana API UI v74.26 */
.bgks-api-panel{padding:16px}
.bgks-api-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:14px}
.bgks-api-toolbar input{flex:1;min-width:0;padding:12px 14px;border:1px solid #d8dee5;border-radius:10px}
.bgks-news-grid{display:grid;gap:12px}
.bgks-news-card{display:grid;grid-template-columns:140px 1fr;gap:14px;padding:12px}
.bgks-news-card img{width:140px;height:100px;object-fit:cover;border-radius:10px}
.bgks-news-card h3,.bgks-generic-card h3{margin:0 0 7px;font-size:17px}
.bgks-news-card p{margin:0 0 7px;line-height:1.45}
.bgks-news-card small{display:block;opacity:.72;margin-bottom:9px}
.bgks-generic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.bgks-generic-card{padding:14px}
.bgks-generic-card>div{font-size:13px;line-height:1.5;padding:3px 0;border-bottom:1px solid #eef1f4}
@media(max-width:600px){
 .bgks-news-card{grid-template-columns:1fr}
 .bgks-news-card img{width:100%;height:170px}
 .bgks-api-toolbar{flex-direction:column;align-items:stretch}
 .bgks-api-toolbar .green-btn{width:100%}
}


/* v74.28: BG Kisan सेवाएं - exactly four buttons in one row on mobile and desktop */
.kisan-services-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;padding:14px!important}
.kisan-service-btn{min-width:0!important;padding-left:5px!important;padding-right:5px!important}
@media(max-width:700px){
 .kisan-services-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;padding:10px!important}
 .kisan-service-btn{min-height:100px!important;padding:9px 3px!important;border-radius:13px!important}
 .kisan-service-btn span{font-size:24px!important}
 .kisan-service-btn b{font-size:11px!important;margin-top:5px!important;white-space:nowrap!important}
 .kisan-service-btn small{font-size:8px!important;line-height:1.15!important;text-align:center!important}
}

/* v74.28: News API errors should replace the loading placeholder */
#bgks-news-results .card.empty{min-height:70px;display:flex;align-items:center;justify-content:center;text-align:center;padding:18px}

/* V74.30 fixed district mandi cards */
.bgks-fixed-mandi-card{margin-top:16px;padding:16px;border-radius:14px}.bgks-fixed-mandi-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.bgks-fixed-mandi-head h3{margin:0}.bgks-fixed-mandi-head p{margin:3px 0 0;color:#667085;font-size:13px}.bgks-fixed-mandi-table-wrap{overflow:auto}.bgks-fixed-mandi-table-wrap .bgks-mandi-table{min-width:620px;width:100%}.bgks-fixed-mandi-msg{margin:6px 0}.bgks-fixed-mandi-card .outline-btn{white-space:nowrap}

/* BG Kisan login redesign: thin farmer cover + focused login card */
.bgks2-auth{min-height:100vh;background:#f5f7f6;padding:0 12px 28px}
.bgks2-auth .auth-cover{width:min(1200px,100%);height:auto;margin:0 auto 22px;overflow:hidden;border-radius:0 0 22px 22px;box-shadow:0 5px 22px rgba(0,0,0,.10);background:#eaf5ed}
.bgks2-auth .auth-cover img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center top}
.bgks2-auth .auth-shell{max-width:520px;margin:0 auto;display:block}
.bgks2-auth .auth-card{padding:24px 22px;border-radius:20px;box-shadow:0 10px 35px rgba(25,50,35,.10)}
.bgks2-auth .auth-footer{margin-top:16px}
@media(max-width:800px){
  .bgks2-auth{padding:0 8px 18px}
  .bgks2-auth .auth-cover{height:auto;max-height:none;margin-bottom:12px;border-radius:0 0 16px 16px}
  .bgks2-auth .auth-card{padding:18px 14px;border-radius:17px}
  .bgks2-auth .auth-card h2{font-size:22px}
}
/* V74.33: District mandi pages are mobile-full; only crop + three price columns */
.bgks-fixed-mandi-table-wrap{overflow-x:hidden;width:100%}
.bgks-fixed-mandi-table-wrap .bgks-mandi-table{min-width:0!important;width:100%;table-layout:fixed}
.bgks-fixed-mandi-table-wrap .bgks-mandi-table th,.bgks-fixed-mandi-table-wrap .bgks-mandi-table td{white-space:normal;word-break:break-word;padding:9px 6px;font-size:12px}
.bgks-fixed-mandi-table-wrap .bgks-mandi-table th:nth-child(1),.bgks-fixed-mandi-table-wrap .bgks-mandi-table td:nth-child(1){width:28%}
.bgks-fixed-mandi-table-wrap .bgks-mandi-table th:nth-child(2),.bgks-fixed-mandi-table-wrap .bgks-mandi-table td:nth-child(2),.bgks-fixed-mandi-table-wrap .bgks-mandi-table th:nth-child(3),.bgks-fixed-mandi-table-wrap .bgks-mandi-table td:nth-child(3),.bgks-fixed-mandi-table-wrap .bgks-mandi-table th:nth-child(4),.bgks-fixed-mandi-table-wrap .bgks-mandi-table td:nth-child(4){width:24%}
@media(max-width:600px){.bgks-fixed-mandi-card{margin-top:8px;padding:10px}.bgks-fixed-mandi-head{align-items:flex-start}.bgks-fixed-mandi-head h3{font-size:21px}.bgks-fixed-mandi-head p{font-size:12px}.bgks-fixed-mandi-card .outline-btn{font-size:13px;padding:8px 10px}.bgks-fixed-mandi-table-wrap .bgks-mandi-table th,.bgks-fixed-mandi-table-wrap .bgks-mandi-table td{font-size:11px;padding:8px 4px}}


/* V74.34: Dedicated Mandi screens have no Profile control in their mobile footer. */
@media(max-width:700px){
  #tab-mandsaur-mandi.active~*{}
  .bgks2-main>.tab#tab-mandsaur-mandi.active ~ .tab#tab-neemuch-mandi{}
}

/* v74.35: restore All Mandi Bhav header shortcut */
.header-all-mandi{height:48px!important;min-width:170px!important;padding:0 16px!important;box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px;border:1px solid #5b2bd6!important;border-radius:26px!important;background:#fff!important;color:#4f22c8!important;font-weight:900!important;white-space:nowrap;box-shadow:0 3px 10px rgba(20,35,50,.10)!important;cursor:pointer}
.header-all-mandi span{font-size:22px;line-height:1}.header-all-mandi strong{font-size:15px}.header-all-mandi:active{transform:translateY(2px)}
@media(max-width:700px){.header-all-mandi{min-width:128px!important;width:128px!important;height:44px!important;padding:0 7px!important;border-radius:23px!important;gap:4px}.header-all-mandi span{font-size:18px}.header-all-mandi strong{font-size:11px}}
/* v74.36: ALL मंडी भाव moved beside योजना on the home service grid. */
.bgks-top-service-links .top-all-mandi .quick-icon{background:#f0eaff!important}
.bgks-top-service-links .top-all-mandi b{color:#4f22c8!important}

/* v74.37: Dedicated Neemuch/Mandsaur screens start immediately below the header on mobile. */
@media(max-width:700px){
  #tab-mandsaur-mandi.active,#tab-neemuch-mandi.active{margin-top:0!important;padding-top:0!important;min-height:0!important;}
  #tab-mandsaur-mandi.active .bgks-fixed-mandi-card,#tab-neemuch-mandi.active .bgks-fixed-mandi-card{margin-top:8px!important;}
}

.bgks-welcome{text-align:center;padding:8px 4px 18px}.bgks-welcome strong{display:block;font-size:30px;color:#176b43;margin-bottom:8px}.bgks-welcome span{display:block;font-size:17px;color:#59636d}
@media(max-width:800px){.bgks-welcome strong{font-size:27px}.bgks-welcome span{font-size:15px}}

/* V74.41: Remove Mandsaur/Neemuch mandi and Video/Short Video home shortcuts. */
.bgks-top-service-links .top-mandsaur-mandi,.bgks-top-service-links .top-neemuch-mandi,.bgks-top-service-links .top-video,.bgks-top-service-links .top-reels{display:none!important;}

/* V74.46: force the mandi picker to use a light/white native control popup. */
.bgks-mandi-page,.bgks-mandi-page select,.bgks-mandi-page option{color-scheme:light!important}
.bgks-mandi-page select{background:#fff!important;color:#17202a!important}
.bgks-mandi-page select option{background:#fff!important;color:#17202a!important}

/* V74.47: full Hindi mandi result summary and light mobile picker. */
.bgks-mandi-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px;padding:12px 14px;border:1px solid #dfe7e2;border-radius:12px;background:#f7fff9;color:#17202a}.bgks-mandi-summary b{color:#087f3b;font-size:15px}.bgks-mandi-summary span{font-size:13px}.bgks-mandi-summary small{width:100%;color:#68737d}.bgks-mandi-grade{display:block;margin-top:3px;color:#68737d;font-size:11px}.bgks-mandi-page select,.bgks-mandi-page select:focus{color-scheme:light!important;background-color:#fff!important;color:#17202a!important}

/* V74.48 Instagram-style profile + follower/following lists */
.instagram-profile{background:#fff;color:#101828;min-height:100%;position:relative;overflow:hidden;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.ig-profile-top{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid #eee;background:#fff;position:sticky;top:0;z-index:20}
.ig-profile-top strong{font-size:18px;font-weight:800}
.ig-back,.ig-more{border:0;background:transparent;font-size:30px;line-height:1;width:42px;height:42px;cursor:pointer;color:#111}
.ig-more{font-size:28px}
.ig-cover{height:190px;background:#f1f3f5;overflow:hidden}
.ig-cover img{width:100%;height:100%;object-fit:cover;display:block}
.ig-cover-empty{width:100%;height:100%;background:linear-gradient(135deg,#087f3b,#45b86b,#dcefdc)}
.ig-main-head{display:flex;align-items:center;gap:22px;padding:14px 18px 4px}
.ig-avatar{width:96px;height:96px;flex:0 0 96px;border-radius:50%;background:#fff;padding:3px;box-shadow:0 1px 6px rgba(0,0,0,.16);margin-top:-55px;z-index:3}
.ig-avatar .bgks2-avatar-wrap,.ig-avatar img{width:90px!important;height:90px!important;display:block;border-radius:50%;object-fit:cover}
.ig-stats{display:grid;grid-template-columns:repeat(3,1fr);flex:1;gap:4px}
.ig-stat{border:0;background:transparent;padding:5px 2px;cursor:pointer;text-align:center;color:#111}
.ig-stat b{display:block;font-size:18px;line-height:1.2}
.ig-stat span{display:block;font-size:12px;color:#667085;margin-top:2px}
.ig-bio{padding:6px 18px 8px}
.ig-bio h2{margin:0 0 3px;font-size:20px;font-weight:800}
.ig-bio p{margin:0;color:#475467;font-size:14px;white-space:pre-wrap}
.ig-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px;padding:8px 18px}
.ig-btn{border:1px solid #d0d5dd;background:#fff;color:#101828;border-radius:8px;min-height:38px;font-weight:800;font-size:13px;cursor:pointer}
.ig-follow-btn{background:#1877f2!important;color:#fff!important;border-color:#1877f2!important}
.ig-message{background:#f2f4f7!important}
.ig-add{background:#f2f4f7!important}
.ig-highlights{display:flex;gap:18px;overflow:auto;padding:9px 18px 13px;border-bottom:1px solid #eee}
.ig-highlight{min-width:68px;text-align:center}
.ig-highlight-circle{width:58px;height:58px;margin:auto;border-radius:50%;border:1px solid #d0d5dd;background:#fff;display:grid;place-items:center;font-size:24px}
.ig-highlight small{display:block;margin-top:5px;font-size:11px;color:#344054}
.ig-tabs{position:sticky!important;top:52px!important;z-index:15;display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:0!important;padding:0!important;height:48px;background:#fff!important;border-bottom:1px solid #eee!important;box-shadow:none!important}
.ig-tabs button{border:0!important;background:#fff!important;border-radius:0!important;font-size:21px!important;color:#667085!important;padding:0!important}
.ig-tabs button.active{background:#fff!important;color:#111!important;border-bottom:2px solid #111!important}
.ig-post-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:2px!important;padding:2px!important;background:#fff}
.ig-post-grid .post{margin:0!important;border-radius:0!important;border:0!important;box-shadow:none!important;min-width:0;overflow:hidden}
.ig-post-grid .post-user,.ig-post-grid .post-text,.ig-post-grid .post-stats,.ig-post-grid .post-actions,.ig-post-grid .comments{display:none!important}
.ig-post-grid .post-media{height:120px!important;background:#eee}
.ig-post-grid .post-media img,.ig-post-grid .post-media video{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important}
.ig-follow-list{position:absolute;inset:52px 0 0;background:#fff;z-index:50;min-height:calc(100% - 52px);overflow:auto}
.ig-list-head{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #eee;position:sticky;top:0;background:#fff;z-index:2}
.ig-list-title{font-size:18px}
.ig-list-close{border:0;background:transparent;font-size:30px;width:42px;height:42px;cursor:pointer}
.ig-list-body{padding:5px 10px 30px}
.ig-follow-user{display:flex;width:100%;align-items:center;gap:12px;border:0;background:#fff;text-align:left;padding:9px 5px;cursor:pointer;border-bottom:1px solid #f2f4f7}
.ig-follow-user .bgks2-avatar-wrap,.ig-follow-user img{width:48px!important;height:48px!important;border-radius:50%;flex:0 0 48px;object-fit:cover}
.ig-follow-user span{min-width:0}
.ig-follow-user b{display:block;font-size:14px;color:#101828;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ig-follow-user small{display:block;font-size:12px;color:#667085;margin-top:2px}
.ig-empty-list{text-align:center;padding:45px 15px;color:#667085}
@media(max-width:700px){
 .instagram-profile{margin:0 -7px}
 .ig-profile-top{height:50px}
 .ig-cover{height:165px}
 .ig-main-head{padding:12px 12px 2px;gap:12px}
 .ig-avatar{width:84px;height:84px;flex-basis:84px;margin-top:-46px}
 .ig-avatar .bgks2-avatar-wrap,.ig-avatar img{width:78px!important;height:78px!important}
 .ig-stats{gap:0}
 .ig-stat b{font-size:17px}
 .ig-stat span{font-size:11px}
 .ig-bio{padding:6px 12px}
 .ig-actions{padding:7px 12px;gap:5px}
 .ig-btn{font-size:12px;min-height:36px}
 .ig-highlights{padding:8px 12px 11px;gap:13px}
 .ig-tabs{top:50px!important}
 .ig-post-grid .post-media{height:112px!important}
 .ig-follow-list{inset:50px 0 0}
}

/* V74.49: Main Profile is the same Instagram-style profile used for public profiles. */
#tab-profile.instagram-main-profile{padding:0!important;margin:0!important;background:#fff;max-width:none!important}
#tab-profile.instagram-main-profile .instagram-profile{margin:0!important;min-height:calc(100vh - 68px);overflow:visible!important}
#tab-profile.instagram-main-profile .ig-profile-top{position:sticky;top:68px;z-index:40}
#tab-profile.instagram-main-profile .ig-more{font-size:30px}
#tab-profile.instagram-main-profile .ig-self-menu{position:fixed;right:14px;top:calc(68px + 50px);z-index:2147483000;width:min(260px,calc(100vw - 28px));background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 14px 38px rgba(0,0,0,.18);padding:6px}
#tab-profile.instagram-main-profile .ig-self-menu button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:13px 12px;border-radius:10px;font-size:14px;font-weight:750;color:#111;min-height:44px}
#tab-profile.instagram-main-profile .ig-self-menu button:active{background:#f2f4f7}
#tab-profile.instagram-main-profile .ig-follow-list{position:fixed!important;inset:68px 0 0!important;z-index:2147482000!important}
#tab-profile.instagram-main-profile .ig-post-grid .card.empty{grid-column:1/-1;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
@media(max-width:700px){
 #tab-profile.instagram-main-profile .ig-profile-top{top:0}
 #tab-profile.instagram-main-profile .ig-self-menu{top:52px;right:10px;width:min(290px,calc(100vw - 20px))}
 #tab-profile.instagram-main-profile .ig-follow-list{inset:0!important}
 #tab-profile.instagram-main-profile .ig-cover{height:190px}
 #tab-profile.instagram-main-profile .ig-post-grid .post-media{height:125px!important}
}

/* V74.50: Profile functional/clean layout fixes. */
#tab-profile.instagram-main-profile .ig-profile-top{background:#fff!important;color:#111!important;position:sticky;top:0!important;z-index:60!important}
#tab-profile.instagram-main-profile .ig-main-head{display:grid!important;grid-template-columns:76px 1fr!important;align-items:center!important;gap:14px!important;padding:10px 16px 4px!important;min-height:76px!important}
#tab-profile.instagram-main-profile .ig-avatar{width:70px!important;height:70px!important;flex:0 0 70px!important;padding:2px!important;margin:0!important;z-index:3!important}
#tab-profile.instagram-main-profile .ig-avatar .bgks2-avatar-wrap,#tab-profile.instagram-main-profile .ig-avatar img{width:66px!important;height:66px!important}
#tab-profile.instagram-main-profile .ig-bio{padding:4px 16px 8px!important;clear:both!important}
#tab-profile.instagram-main-profile .ig-bio h2{font-size:20px!important;line-height:1.25!important;margin:0 0 3px!important}
#tab-profile.instagram-main-profile .ig-actions{padding:7px 16px!important}
#tab-profile.instagram-main-profile .ig-highlights{padding:9px 16px 12px!important}
#tab-profile.instagram-main-profile .ig-highlight{border:0!important;background:transparent!important;padding:0!important;cursor:pointer!important;color:inherit!important}
#tab-profile.instagram-main-profile .ig-post-grid{min-height:120px!important}
#tab-profile.instagram-main-profile .ig-post-grid .post-media{height:125px!important;position:relative!important;display:block!important;overflow:hidden!important}
#tab-profile.instagram-main-profile .ig-post-grid .post-media-fallback-wrap{display:grid!important;place-items:center!important;background:#eef7f0!important}
#tab-profile.instagram-main-profile .ig-post-grid .post-media-fallback{display:block!important;padding:8px!important;text-align:center!important;color:#146c3a!important;font-size:12px!important;font-weight:700!important;line-height:1.25!important;word-break:break-word!important}
#tab-profile.instagram-main-profile .ig-post-grid .post-media img + .post-media-fallback{display:none!important}
#tab-profile.instagram-main-profile .ig-follow-list{background:#fff!important}
#tab-profile.instagram-main-profile .ig-follow-list.open{display:block!important}
@media(max-width:700px){
 #tab-profile.instagram-main-profile .ig-main-head{grid-template-columns:72px 1fr!important;gap:10px!important;padding:10px 12px 4px!important;min-height:72px!important}
 #tab-profile.instagram-main-profile .ig-avatar{width:66px!important;height:66px!important}
 #tab-profile.instagram-main-profile .ig-avatar .bgks2-avatar-wrap,#tab-profile.instagram-main-profile .ig-avatar img{width:62px!important;height:62px!important}
 #tab-profile.instagram-main-profile .ig-bio{padding:3px 12px 8px!important}
 #tab-profile.instagram-main-profile .ig-actions{padding:6px 12px!important}
 #tab-profile.instagram-main-profile .ig-highlights{padding-left:12px!important;padding-right:12px!important}
 #tab-profile.instagram-main-profile .ig-post-grid .post-media{height:125px!important}
}

/* V74.51: smaller, centered profile avatar and reliable touch targets */
#tab-profile.instagram-main-profile .ig-main-head{grid-template-columns:74px 1fr!important;gap:12px!important;align-items:center!important}
#tab-profile.instagram-main-profile .ig-avatar{width:60px!important;height:60px!important;flex-basis:60px!important;padding:2px!important;margin:0 auto!important;align-self:center!important}
#tab-profile.instagram-main-profile .ig-avatar .bgks2-avatar-wrap,#tab-profile.instagram-main-profile .ig-avatar img{width:56px!important;height:56px!important}
#tab-profile.instagram-main-profile .ig-stat{min-height:52px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;position:relative!important;z-index:5!important;pointer-events:auto!important}
#tab-profile.instagram-main-profile .ig-more{position:relative!important;z-index:70!important;display:grid!important;place-items:center!important;pointer-events:auto!important}
#tab-profile.instagram-main-profile .ig-self-menu{pointer-events:auto!important}
#tab-profile.instagram-main-profile .ig-highlight{position:relative!important;z-index:5!important;pointer-events:auto!important}
#tab-profile.instagram-main-profile .ig-post-grid{position:relative!important;z-index:1!important;display:grid!important}
#tab-profile.instagram-main-profile .ig-post-grid .post{display:block!important;visibility:visible!important}
#tab-profile.instagram-main-profile .ig-follow-list{pointer-events:auto!important}
@media(max-width:700px){
 #tab-profile.instagram-main-profile .ig-main-head{grid-template-columns:68px 1fr!important;gap:10px!important;padding:8px 12px 4px!important;min-height:68px!important}
 #tab-profile.instagram-main-profile .ig-avatar{width:58px!important;height:58px!important}
 #tab-profile.instagram-main-profile .ig-avatar .bgks2-avatar-wrap,#tab-profile.instagram-main-profile .ig-avatar img{width:54px!important;height:54px!important}
 #tab-profile.instagram-main-profile .ig-stat b{font-size:17px!important}
}


/* V74.52: Profile grid tabs + avatar/name alignment. */
#tab-profile.instagram-main-profile .ig-main-head{grid-template-columns:72px 1fr!important;min-height:82px!important;height:82px!important;align-items:center!important;gap:12px!important;padding:8px 16px!important}
#tab-profile.instagram-main-profile .ig-avatar{width:64px!important;height:64px!important;flex-basis:64px!important;margin:0 auto!important;padding:2px!important;align-self:center!important;position:relative!important;top:auto!important;bottom:auto!important}
#tab-profile.instagram-main-profile .ig-avatar .bgks2-avatar-wrap,#tab-profile.instagram-main-profile .ig-avatar img{width:60px!important;height:60px!important}
#tab-profile.instagram-main-profile .ig-bio{padding:4px 16px 8px!important;position:relative!important;z-index:4!important;background:#fff!important}
#tab-profile.instagram-main-profile .ig-bio h2{margin:0 0 3px!important;line-height:1.2!important}
#tab-profile.instagram-main-profile .ig-tabs{height:58px!important;position:relative!important;top:auto!important}
#tab-profile.instagram-main-profile .ig-tabs button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;height:58px!important;font-size:20px!important}
#tab-profile.instagram-main-profile .ig-tabs button small{display:block!important;font-size:10px!important;color:#667085!important;font-weight:700!important;line-height:1!important}
#tab-profile.instagram-main-profile .ig-tabs button.active small{color:#111!important}
#tab-profile.instagram-main-profile .ig-tab-icon{line-height:1!important;font-size:22px!important}
@media(max-width:700px){
 #tab-profile.instagram-main-profile .ig-main-head{grid-template-columns:70px 1fr!important;min-height:78px!important;height:78px!important;padding:7px 12px!important}
 #tab-profile.instagram-main-profile .ig-avatar{width:62px!important;height:62px!important;flex-basis:62px!important}
 #tab-profile.instagram-main-profile .ig-avatar .bgks2-avatar-wrap,#tab-profile.instagram-main-profile .ig-avatar img{width:58px!important;height:58px!important}
 #tab-profile.instagram-main-profile .ig-bio{padding:4px 12px 8px!important}
}
.instagram-profile .ig-follow-list.open{display:block!important;visibility:visible!important;opacity:1!important}
.instagram-profile .ig-list-close{position:relative!important;z-index:100!important;pointer-events:auto!important}


/* V74.53: Profile video/reel tiles are centered launch buttons; never autoplay inline. */
.ig-post-grid .post-media .ig-video-tile{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;border:0!important;padding:0!important;margin:0!important;background:#111!important;cursor:pointer!important;overflow:hidden!important;color:#fff!important}
.ig-post-grid .post-media .ig-video-tile img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.ig-video-center-icon{position:relative!important;z-index:2!important;width:48px!important;height:48px!important;border-radius:50%!important;background:rgba(0,0,0,.62)!important;display:grid!important;place-items:center!important;color:#fff!important;font-size:23px!important;padding-left:3px!important;box-shadow:0 2px 12px rgba(0,0,0,.3)!important}
.ig-video-center-label{position:absolute!important;z-index:2!important;left:50%!important;bottom:8px!important;transform:translateX(-50%)!important;background:rgba(0,0,0,.62)!important;color:#fff!important;border-radius:12px!important;padding:3px 8px!important;font-size:10px!important;font-weight:800!important;white-space:nowrap!important}

/* V74.55: Video viewer uses real Follow, never channel Subscribe. */
.bgks-viewer-follow{margin-left:auto!important;border:0!important;background:transparent!important;padding:0!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:150px!important;height:52px!important;overflow:hidden!important;border-radius:16px!important}.bgks-viewer-follow span{display:flex;align-items:center;justify-content:center;background:#2f66db;color:#fff;border-radius:16px;padding:11px 22px;font-size:18px;font-weight:800;min-width:150px;white-space:nowrap}.bgks-viewer-follow.is-following span{background:#eef1f5;color:#111;border:1px solid #d8dce2}.bgks-viewer-follow:disabled{opacity:.7;cursor:default!important}.bgks-video-viewer .video-viewer-channel .channel-subscribe{display:none!important}
@media(max-width:700px){.bgks-viewer-follow{min-width:130px!important;height:48px!important}.bgks-viewer-follow span{min-width:130px;padding:10px 16px;font-size:16px}}
/* BG Kisan Demat / Angel One SmartAPI */
.bgks2-demat-box{max-width:900px;margin:16px auto;background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:18px;box-shadow:0 8px 28px #0000000b}.bgks2-demat-brand{font-size:22px;font-weight:800;margin-bottom:8px}.bgks2-demat-note{color:#69727a;line-height:1.5}.bgks2-demat-form{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.bgks2-demat-form label,.bgks2-demat-order-grid label{font-weight:700;font-size:13px;color:#27313a}.bgks2-demat-form input,.bgks2-demat-order-grid input,.bgks2-demat-order-grid select{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #d9dee5;border-radius:10px;padding:11px;background:#fff}.bgks2-demat-login-btn,.bgks2-demat-order-btn{border:0;border-radius:11px;background:#1469d9;color:#fff;font-weight:800;padding:12px;cursor:pointer}.bgks2-demat-msg{margin-top:12px;font-weight:700}.bgks2-demat-msg.ok{color:#0a8a43}.bgks2-demat-msg.error{color:#c62828}.bgks2-demat-loading,.bgks2-demat-empty{padding:20px;text-align:center;color:#69727a}.bgks2-demat-top{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#f4f8ff;padding:14px;border-radius:14px}.bgks2-demat-top small,.bgks2-demat-profile span{display:block;color:#69727a;margin-top:4px}.bgks2-demat-top button{border:1px solid #ddd;background:#fff;border-radius:9px;padding:8px 12px}.bgks2-demat-profile{padding:14px 4px}.bgks2-demat-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:10px 0 18px}.bgks2-demat-stats>div{background:#f8f9fb;border:1px solid #e8ebef;border-radius:12px;padding:13px;text-align:center}.bgks2-demat-stats b{display:block;font-size:22px}.bgks2-demat-stats small{color:#6d747c}.bgks2-demat-table{overflow:auto;border:1px solid #e6e9ed;border-radius:12px;margin-bottom:18px}.bgks2-demat-table table{width:100%;border-collapse:collapse;min-width:520px}.bgks2-demat-table th,.bgks2-demat-table td{padding:10px;border-bottom:1px solid #eef0f2;text-align:left;white-space:nowrap}.bgks2-demat-table th{background:#f7f8fa}.bgks2-demat-order{border:1px solid #e1e5ea;border-radius:14px;padding:12px;margin-top:10px}.bgks2-demat-order summary{cursor:pointer;font-weight:800}.bgks2-demat-order-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.bgks2-demat-risk{font-size:12px;color:#8a5a00;background:#fff7df;border-radius:10px;padding:10px}.bgks2-demat-order-btn{background:#111827}.bgks2-demat-panel .bgks2-earn-panel-head{position:sticky;top:0}.bgks2-demat-panel .bgks2-earn-cards{display:block}
@media(max-width:700px){.bgks2-demat-form{grid-template-columns:1fr}.bgks2-demat-order-grid{grid-template-columns:repeat(2,1fr)}.bgks2-demat-box{margin:8px 0;padding:12px}.bgks2-demat-stats{gap:6px}.bgks2-demat-stats b{font-size:18px}}

/* Multi-Broker Demat API v74.58 */
.bgks2-broker-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.bgks2-broker-btn{display:flex;align-items:center;justify-content:center;gap:6px;min-height:52px;padding:8px 8px;border:1.5px solid #e5e7eb;border-radius:12px;background:#fff;color:#18212b;text-decoration:none;cursor:pointer;font-size:15px;box-shadow:0 2px 8px #0000000a}.bgks2-broker-btn.active{border-color:#2563eb;background:#eff6ff}.bgks2-broker-btn.upstox{border-color:#e5e7eb}.bgks2-broker-btn.hdfcsky{border-color:#e5e7eb}.bgks2-broker-btn small{display:none}.bgks2-broker-panel.upstox-info{display:block;margin-top:12px;padding:14px;border:1px solid #e5e7eb;border-radius:14px;background:#fafafa}.bgks2-broker-panel.upstox-info h3{margin:0 0 8px}.bgks2-broker-panel.upstox-info p{margin:6px 0;color:#59636d;line-height:1.5}.bgks2-broker-panel.upstox-info small{color:#69727a}
@media(max-width:700px){.bgks2-broker-buttons{grid-template-columns:1fr 1fr}.bgks2-broker-btn{min-height:54px;font-size:14px;padding:6px}.bgks2-broker-btn b{font-size:14px}}
.bgks2-upstox-connect{display:inline-flex;align-items:center;justify-content:center;margin-top:12px;min-height:46px;padding:0 22px;border-radius:10px;background:#6d28d9;color:#fff!important;text-decoration:none;font-weight:800}.bgks2-upstox-error{margin-top:12px;padding:12px;border-radius:10px;background:#fff4f4;color:#b42318;font-weight:700}

.bgks2-broker-panel.hdfcsky-info{display:block;margin-top:12px;padding:14px;border:1px solid #e5e7eb;border-radius:14px;background:#fafafa}.bgks2-broker-panel.hdfcsky-info h3{margin:0 0 8px}.bgks2-broker-panel.hdfcsky-info p{margin:6px 0;color:#59636d;line-height:1.5}/* V74.63: broker panels must actually open when selected. */
.bgks2-broker-panel[hidden]{display:none!important;}
.bgks2-broker-panel.upstox-info:not([hidden]),.bgks2-broker-panel.hdfcsky-info:not([hidden]),.bgks2-broker-panel.angel:not([hidden]){display:block!important;}
.bgks2-hdfcsky-connect{display:inline-flex;align-items:center;justify-content:center;margin-top:12px;min-height:46px;padding:0 22px;border-radius:10px;background:#0b5cab;color:#fff!important;text-decoration:none;font-weight:800}

/* Demat referral account-opening buttons */
.bgks2-account-open-btn{display:inline-flex;align-items:center;justify-content:center;margin:10px 0 14px;padding:11px 18px;border-radius:10px;text-decoration:none;font-weight:700;background:#168a3a;color:#fff;box-shadow:0 3px 10px rgba(0,0,0,.12)}
.bgks2-account-open-btn:hover{color:#fff;filter:brightness(.95)}
.bgks2-account-open-disabled{margin:10px 0 14px;padding:10px;border-radius:9px;background:#f3f3f3;color:#777;font-size:13px}

.bgks2-demat-stats{grid-template-columns:repeat(4,1fr)}.bgks2-demat-cancel{border:1px solid #ddd;background:#fff;border-radius:8px;padding:6px 9px;cursor:pointer}.bgks2-demat-api-note{margin-top:14px;padding:12px;border-radius:10px;background:#f5f8ff;color:#425466;font-size:13px}@media(max-width:700px){.bgks2-demat-stats{grid-template-columns:repeat(2,1fr)}}
/* V74.67 Angel One official OTP login button */
.bgks2-angel-otp-login{display:flex!important;align-items:center;justify-content:center;text-decoration:none!important;text-align:center;cursor:pointer;}
.bgks2-demat-dashboard{margin-top:16px;padding:14px;border-radius:16px;background:#fff;border:1px solid #e5e7eb;overflow:hidden}
.bgks2-demat-dashboard h3{margin:18px 0 9px;font-size:18px}
.bgks2-demat-dashboard .bgks2-demat-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}
.bgks2-demat-dashboard .bgks2-demat-stats>div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:10px;text-align:center}
.bgks2-demat-dashboard .bgks2-demat-stats b{display:block;font-size:18px}.bgks2-demat-dashboard .bgks2-demat-stats small{display:block;color:#6b7280;margin-top:3px}
@media(max-width:600px){.bgks2-demat-dashboard .bgks2-demat-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
