/* V301 — Native YouTube Shorts timeline only: no duplicate custom time/progress overlay. */
/* Islamic_Kabir V75 — extracted non-critical application CSS from index.php. */
:root{
  --bg:#fdfaf3;
  --bg2:#ffffff;
  --bg3:#f5efe3;
  --bg4:#faf6ef;
  --text:#1c2f26;
  --text-muted:#6d8378;
  --text-light:#9ab0a5;
  --primary:#0e5a3c;
  --primary-hover:#0a442d;
  --primary-light:#e6f3ec;
  --primary-soft:#f0f7f3;
  --accent:#c6a15a;
  --accent-dark:#a8843d;
  --accent-light:#fdf6e7;
  --border:#ece3d2;
  --border-light:#f5efe3;
  --shadow:0 4px 24px rgba(14,90,60,0.07);
  --shadow-lg:0 16px 48px rgba(14,90,60,0.12);
  --shadow-sm:0 2px 12px rgba(14,90,60,0.06);
  --radius:18px;
  --radius-sm:12px;
  --radius-lg:24px;
  --radius-full:9999px;
  --danger:#b42318;
  --success:#0e5a3c;
  --warning:#b54708;
}
.dark{
  --bg:#0c1712;
  --bg2:#13211a;
  --bg3:#1a2e23;
  --bg4:#1e3529;
  --text:#e8f0e9;
  --text-muted:#8da89a;
  --text-light:#5f7a6e;
  --primary:#2fbf85;
  --primary-hover:#3dcc94;
  --primary-light:#1a2e23;
  --primary-soft:#16291e;
  --accent:#d4b36a;
  --accent-dark:#c6a15a;
  --accent-light:#2a2315;
  --border:#223a2e;
  --border-light:#1e3328;
  --shadow:0 4px 24px rgba(0,0,0,0.25);
  --shadow-lg:0 16px 48px rgba(0,0,0,0.4);
  --shadow-sm:0 2px 12px rgba(0,0,0,0.2);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Hind Siliguri','Noto Sans Bengali',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.75;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
.arabic{font-family:'Noto Naskh Arabic','Amiri','Scheherazade New',Tahoma,serif;direction:rtl;text-align:right;line-height:2.2;word-spacing:0.05em}
.bengali{font-family:'Hind Siliguri','Noto Sans Bengali',sans-serif}
/* ===== V39: professional Bengali numerals — crystal-clear ০-৯ everywhere =====
   Google Fonts-এ "Ekush/Ekushey" ফন্ট নেই, তাই বাংলা সংখ্যার জন্য সবচেয়ে
   ক্লিয়ার ও প্রফেশনাল ফন্ট "Baloo Da 2" (+ fallback "Anek Bangla") ব্যবহার
   করা হয়েছে। JS auto-styler সব ০-৯ সংখ্যাকে .bn-num দিয়ে wrap করে দেয়। */
.bn-num{
  font-family:'Baloo Da 2','Anek Bangla','Hind Siliguri','Noto Sans Bengali',sans-serif !important;
  font-weight:700;
  font-size:1.04em;
  letter-spacing:.015em;
  line-height:inherit;
  white-space:nowrap;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.container{max-width:1200px;margin:0 auto;padding:0 20px;width:100%}
@media(min-width:768px){.container{padding:0 28px}}
.hidden{display:none !important}
.flex{display:flex}
.inline-flex{display:inline-flex}
.items-center{align-items:center}
.justify-between{justify-content:space-between}
.justify-center{justify-content:center}
.flex-col{flex-direction:column}
.flex-wrap{flex-wrap:wrap}
.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.gap-6{gap:24px}.gap-8{gap:32px}
.grid{display:grid}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:768px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}.md-grid-2{grid-template-columns:1fr} .md-grid-3{grid-template-columns:1fr}}
@media(min-width:768px){.md-grid-2{grid-template-columns:repeat(2,1fr)}.md-grid-3{grid-template-columns:repeat(3,1fr)}.md-grid-4{grid-template-columns:repeat(4,1fr)}}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:11px 20px;border-radius:9999px;border:1px solid transparent;
  font-weight:600;font-size:0.92rem;cursor:pointer;transition:all .2s ease;
  text-decoration:none;white-space:nowrap;line-height:1.2;user-select:none;
}
.btn-primary{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 2px 10px rgba(14,90,60,0.2)}
.btn-primary:hover{background:var(--primary-hover);transform:translateY(-1px);box-shadow:0 6px 20px rgba(14,90,60,0.25)}
.btn-secondary{background:var(--bg2);color:var(--text);border-color:var(--border)}
.btn-secondary:hover{background:var(--bg3);border-color:var(--accent);transform:translateY(-1px)}
.btn-ghost{background:transparent;color:var(--text-muted);border-color:transparent}
.btn-ghost:hover{background:var(--bg3);color:var(--text)}
.btn-sm{padding:8px 14px;font-size:0.84rem}
.btn-lg{padding:14px 28px;font-size:1rem}
.btn-icon{width:40px;height:40px;padding:0;border-radius:12px;display:inline-flex;align-items:center;justify-content:center}
.btn-icon-sm{width:34px;height:34px}
.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:9999px;font-size:0.78rem;font-weight:600;background:var(--primary-light);color:var(--primary);border:1px solid var(--border)}
.badge-accent{background:var(--accent-light);color:var(--accent-dark);border-color:var(--border)}
.badge-muted{background:var(--bg3);color:var(--text-muted)}
.card{background:var(--bg2);border:1px solid var(--border-light);border-radius:var(--radius);box-shadow:var(--shadow-sm);transition:all .25s ease;overflow:hidden}
.card:hover{box-shadow:var(--shadow);transform:translateY(-2px);border-color:var(--border)}
.card-pad{padding:20px}
@media(min-width:768px){.card-pad{padding:24px}}
.header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg2) 92%, transparent);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--border-light);transition:box-shadow .2s ease}
.header.is-stuck{box-shadow:0 8px 24px -16px rgba(0,0,0,.34)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:var(--header-h,70px);gap:16px}
.logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text);font-weight:700;font-size:1.2rem;letter-spacing:-0.02em}
.logo-mark{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,var(--primary) 0%,#1a7a52 100%);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(14,90,60,0.25);flex-shrink:0;overflow:hidden}
.logo-mark.site-logo-has-image{padding:0;background:transparent;box-shadow:none;border-radius:0;overflow:visible;transition:width .18s ease,height .18s ease}
.logo-mark.site-logo-has-image .site-logo-image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;padding:0;box-sizing:border-box;border-radius:0}
.site-logo-image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;padding:6px;box-sizing:border-box;border-radius:inherit}
.site-logo-fallback-image{padding:0!important;object-fit:cover}
.logo-text{line-height:1.1}
.logo-text small{display:block;font-weight:500;font-size:0.72rem;color:var(--text-muted);margin-top:2px;letter-spacing:0}
.nav-desktop{display:none;align-items:center;gap:4px}
@media(min-width:1200px){.nav-desktop{display:flex}}
.nav-link{padding:8px 14px;border-radius:9999px;text-decoration:none;color:var(--text-muted);font-weight:500;font-size:0.9rem;transition:0.2s}
.nav-link:hover,.nav-link.active{background:var(--primary-light);color:var(--primary)}
.header-actions{display:flex;align-items:center;gap:8px}
.search-box{position:relative;display:none;flex:0 1 240px;min-width:0}
@media(min-width:768px){.search-box{display:flex}}
.search-input{width:100%;min-width:0;padding:10px 16px 10px 40px;border-radius:9999px;border:1px solid var(--border);background:var(--bg3);color:var(--text);font-size:0.9rem;outline:none;transition:.2s}
.search-input:focus{border-color:var(--primary);background:var(--bg2);box-shadow:0 0 0 3px var(--primary-light)}
.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-light);pointer-events:none}
.search-clear-btn{position:absolute;top:50%;right:7px;z-index:4;width:29px;height:29px;padding:0;border-radius:50%;border:1px solid transparent;background:color-mix(in srgb,var(--text-muted) 9%,transparent);color:var(--text-muted);display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-50%) scale(.72) rotate(-35deg);transition:opacity .18s ease,visibility .18s ease,transform .22s cubic-bezier(.2,.8,.2,1),background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
.search-clear-btn.show{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(-50%) scale(1) rotate(0)}
.search-clear-btn:hover{background:#fff1f2;color:#be123c;border-color:#fecdd3;box-shadow:0 5px 14px rgba(190,18,60,.14)}
.search-clear-btn:active{transform:translateY(-50%) scale(.9)}
.search-clear-btn:focus-visible{outline:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 22%,transparent);border-color:var(--primary);color:var(--primary)}
.dark .search-clear-btn:hover{background:#3a1b22;color:#fda4af;border-color:#7f1d2d}
.search-clear-btn svg{display:block;pointer-events:none}
.public-user-wrap{position:relative}
.public-user-btn{display:flex;align-items:center;gap:8px;padding:3px 10px 3px 4px;border-radius:9999px;border:1px solid var(--border-light);background:var(--bg2);cursor:pointer;transition:border-color .2s,box-shadow .2s}
.public-user-btn:hover{border-color:var(--primary);box-shadow:var(--shadow-sm)}
.public-user-avatar{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:0.8rem;flex-shrink:0;overflow:hidden;background:var(--primary)}
.public-user-name{font-weight:600;font-size:0.85rem;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text)}
.public-user-dropdown{position:absolute;right:0;top:calc(100% + 8px);min-width:235px;background:var(--bg);border:1px solid var(--border-light);border-radius:14px;box-shadow:0 12px 32px rgba(16,24,40,.14);z-index:130;overflow:hidden;padding-bottom:6px}
.public-user-dropdown a,.public-user-dropdown button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;font-size:0.88rem;color:var(--text);text-decoration:none;background:none;border:0;cursor:pointer;text-align:left;transition:background .15s;font-family:inherit}
.public-user-dropdown a:hover,.public-user-dropdown button:hover{background:var(--bg2)}
.auth-tab{display:block;padding:8px 10px;border-radius:9px;font-size:0.88rem;font-weight:600;color:var(--text-muted);text-decoration:none;transition:.2s;text-align:center}
.auth-tab:hover{color:var(--text)}
.auth-tab.active{background:var(--bg);color:var(--primary);box-shadow:var(--shadow-sm)}
.auth-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:var(--text-light);display:flex;align-items:center;padding:2px}
.live-search-dropdown{position:absolute;right:0;top:calc(100% + 10px);width:min(420px,calc(100vw - 32px));background:var(--bg2);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow-lg);z-index:95;overflow:hidden;animation:scaleIn .18s ease;transform-origin:top right}
.live-search-dropdown.hidden{display:none!important}
.live-search-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:var(--bg3);border-bottom:1px solid var(--border-light)}
.live-search-head-title{font-size:.84rem;font-weight:700;display:flex;align-items:center;gap:7px}
.live-search-count{font-size:.7rem;padding:2px 8px;border-radius:9999px;background:var(--primary-light);color:var(--primary);font-weight:700;border:1px solid var(--border)}
.live-search-list{max-height:430px;overflow-y:auto;overscroll-behavior:contain;padding:7px;scrollbar-gutter:stable}
.live-search-item{display:flex;align-items:flex-start;gap:11px;padding:11px;border-radius:12px;text-decoration:none;color:var(--text);border:1px solid transparent;transition:.16s;outline:none}
.live-search-item:hover,.live-search-item.selected,.live-search-item:focus{background:var(--primary-soft);border-color:var(--border);transform:translateX(2px)}
.live-search-icon{width:40px;height:40px;border-radius:11px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:1.05rem}
.live-search-content{flex:1;min-width:0}
.live-search-title{font-size:.9rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.35}
.live-search-title mark,.live-search-desc mark{background:#fde68a;color:#713f12;border-radius:3px;padding:0 2px}
.dark .live-search-title mark,.dark .live-search-desc mark{background:#614b16;color:#fef3c7}
.live-search-desc{font-size:.76rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px;line-height:1.45}
.live-search-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:5px;color:var(--text-light);font-size:.68rem}
.live-search-arrow{color:var(--text-light);font-size:1.25rem;line-height:1;align-self:center}
.live-search-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;border-top:1px solid var(--border-light);background:var(--bg4);font-size:.74rem;color:var(--text-muted)}
.live-search-view-all{color:var(--primary);font-weight:700;text-decoration:none;display:flex;align-items:center;gap:5px}
.live-search-empty{text-align:center;padding:25px 20px 22px}
.live-search-empty-icon{width:58px;height:58px;border-radius:17px;margin:0 auto 12px;background:var(--primary-light);color:var(--primary);display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px var(--border)}
.live-search-empty-title{font-weight:800;font-size:.98rem}
.live-search-empty-text{font-size:.8rem;color:var(--text-muted);line-height:1.55;margin:5px auto 13px;max-width:300px}
.live-search-query{font-weight:700;color:var(--text);word-break:break-word}
@media(max-width:900px){.live-search-dropdown{position:fixed;top:calc(var(--header-h,70px) + 6px);left:16px;right:16px;width:auto}}
.mobile-toggle{display:flex;width:42px;height:42px;border-radius:12px;border:1px solid var(--border);background:var(--bg2);align-items:center;justify-content:center;cursor:pointer;color:var(--text)}
@media(min-width:1200px){.mobile-toggle{display:none}}
/* V149: mobile public navigation lives outside the backdrop-filter header stacking context.
   This guarantees the drawer paints above the hero/slider on Android/iOS and desktop responsive views. */
.header{z-index:130}
.mobile-nav{position:fixed;top:var(--header-h,70px);right:0;bottom:0;left:0;background:var(--bg2);z-index:120;padding:20px;transform:translate3d(-100%,0,0);transition:transform .3s ease,visibility .2s ease;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-top:1px solid var(--border-light);box-shadow:0 18px 36px rgba(16,24,40,.14);visibility:hidden;pointer-events:none;isolation:isolate}
.mobile-nav.open{transform:translate3d(0,0,0);visibility:visible;pointer-events:auto}
.mobile-nav a{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:12px;text-decoration:none;color:var(--text);font-weight:500;border:1px solid transparent}
.mobile-nav a:hover{background:var(--bg3);border-color:var(--border)}
.hero{position:relative;padding:48px 0 32px;overflow:hidden;background:radial-gradient(120% 120% at 10% 0%,var(--primary-light) 0%,transparent 50%),radial-gradient(100% 100% at 90% 10%,var(--accent-light) 0%,transparent 40%),var(--bg)}
.hero-pattern{position:absolute;inset:0;opacity:0.04;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230e5a3c' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}
.hero-grid{display:grid;gap:28px;align-items:center}
@media(min-width:900px){.hero-grid{grid-template-columns:1.1fr 0.9fr}}
.hero-title{font-size:clamp(1.9rem,5vw,3rem);font-weight:800;line-height:1.15;letter-spacing:-0.03em;margin-bottom:14px}
.hero-title span{color:var(--primary);position:relative}
.hero-desc{font-size:clamp(1rem,2.5vw,1.15rem);color:var(--text-muted);line-height:1.7;margin-bottom:22px;max-width:560px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px}
.hero-stats{display:flex;gap:18px;flex-wrap:wrap;margin-top:18px}
.hero-stat{display:flex;align-items:center;gap:10px}
.hero-stat b{font-size:1.3rem;color:var(--primary)}
.hero-card{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px;box-shadow:var(--shadow-lg);position:relative}
.section{padding:32px 0}


/* V88: custom public author WhatsApp landing page — scoped to the WhatsApp route.
   The actual WhatsApp destination remains the canonical external endpoint after
   the visitor presses the explicit chat button. */
#public-main.whatsapp-contact-page{min-height:calc(100vh - 120px)}

/* V126: consistent Islamic background across every public page. The pattern stays
   behind public content and never affects the separate admin application shell. */
#public-main,
#public-main.home-islamic-pattern{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:
    radial-gradient(900px 420px at 10% 0%, color-mix(in srgb,var(--primary-light) 74%, transparent) 0%, transparent 70%),
    radial-gradient(760px 420px at 90% 8%, color-mix(in srgb,var(--accent-light) 82%, transparent) 0%, transparent 72%),
    linear-gradient(180deg, color-mix(in srgb,var(--bg2) 88%, var(--primary-soft) 12%) 0%, var(--bg) 46%, var(--bg) 100%);
}
#public-main::before,
#public-main.home-islamic-pattern::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.18;
  background-image:url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%230e5a3c' stroke-width='0.75' stroke-opacity='.32'%3E%3Cpath d='M36 9l5.7 10.3L53 17l-1.7 11.3L62 36l-10.7 7.7L53 55l-11.3-2.3L36 63l-5.7-10.3L19 55l1.7-11.3L10 36l10.7-7.7L19 17l11.3 2.3L36 9z'/%3E%3Ccircle cx='36' cy='36' r='7.5'/%3E%3Cpath d='M0 36h14M58 36h14M36 0v14M36 58v14' stroke-opacity='.16'/%3E%3Ccircle cx='0' cy='0' r='2' fill='%23c6a15a' fill-opacity='.35' stroke='none'/%3E%3Ccircle cx='72' cy='72' r='2' fill='%23c6a15a' fill-opacity='.35' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-size:72px 72px;
}
#public-main::after,
#public-main.home-islamic-pattern::after{
  content:'✦  ✧  ✦  ✧';
  position:absolute;
  right:-18px;
  top:36px;
  z-index:0;
  pointer-events:none;
  font-size:86px;
  line-height:1;
  letter-spacing:18px;
  color:var(--primary);
  opacity:.035;
  transform:rotate(-10deg);
  white-space:nowrap;
}
#public-main > *,
#public-main.home-islamic-pattern > *{position:relative;z-index:1}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}
.section-title{font-size:1.45rem;font-weight:700;letter-spacing:-0.02em;display:flex;align-items:center;gap:10px}
.section-desc{color:var(--text-muted);font-size:0.95rem;margin-top:4px}
.category-card{padding:18px;border-radius:var(--radius);background:var(--bg2);border:1px solid var(--border-light);display:flex;flex-direction:column;gap:12px;cursor:pointer;transition:.25s;text-decoration:none;color:inherit;position:relative;overflow:hidden}
.category-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--border)}
.category-card::after{content:'';position:absolute;top:-30px;right:-30px;width:80px;height:80px;background:radial-gradient(circle,var(--primary-light) 0%,transparent 70%);opacity:0.8;pointer-events:none}
.cat-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:1.3rem;flex-shrink:0}
.cat-name{font-weight:700;font-size:1.05rem}
.cat-desc{font-size:0.86rem;color:var(--text-muted);line-height:1.5}
.cat-count{font-size:0.78rem;color:var(--text-light);margin-top:auto;display:flex;align-items:center;gap:6px}
.home-widget-grid{display:grid;gap:18px}
@media(min-width:900px){.home-widget-grid{grid-template-columns:1.12fr .88fr}}
.daily-lesson-card{position:relative;overflow:hidden;border-radius:24px;padding:24px;background:linear-gradient(135deg,#0e5a3c 0%,#14734e 58%,#0a442d 100%);color:#fff;box-shadow:0 14px 36px rgba(14,90,60,.2);min-height:100%}
.daily-lesson-card::before{content:'';position:absolute;width:240px;height:240px;border-radius:50%;right:-85px;top:-95px;background:radial-gradient(circle,rgba(255,255,255,.18),transparent 68%);pointer-events:none}
.daily-lesson-card::after{content:'';position:absolute;width:150px;height:150px;border-radius:50%;left:-55px;bottom:-75px;background:radial-gradient(circle,rgba(198,161,90,.3),transparent 70%);pointer-events:none}
.daily-lesson-inner{position:relative;z-index:1}
.daily-lesson-arabic{font-family:'Noto Naskh Arabic','Amiri',serif;direction:rtl;text-align:right;font-size:1.45rem;line-height:2;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:14px 16px;margin:14px 0 10px}
.daily-lesson-meaning{font-size:.9rem;line-height:1.75;opacity:.92;background:rgba(0,0,0,.1);border-radius:13px;padding:11px 13px}
.learning-paths-card{background:var(--bg2);border:1px solid var(--border);border-radius:24px;padding:20px;box-shadow:var(--shadow)}
.learning-path-list{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.learning-path-item{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--border-light);border-radius:15px;background:var(--bg4);text-decoration:none;color:var(--text);transition:.2s}
.learning-path-item:hover{transform:translateX(3px);border-color:var(--border);box-shadow:var(--shadow-sm);background:var(--bg2)}
.learning-path-icon{width:44px;height:44px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;flex-shrink:0}
.learning-path-bar{height:5px;background:var(--bg3);border-radius:9999px;overflow:hidden;margin-top:7px}
.learning-path-bar span{display:block;height:100%;border-radius:9999px}
.trust-panel{background:linear-gradient(135deg,var(--bg2) 0%,var(--primary-soft) 100%);border:1px solid var(--border);border-radius:24px;padding:22px;box-shadow:var(--shadow-sm);position:relative;overflow:hidden}
.trust-panel::after{content:'✦';position:absolute;right:24px;top:10px;font-size:5rem;color:var(--primary);opacity:.05;pointer-events:none}
.trust-stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:16px}
@media(min-width:700px){.trust-stat-grid{grid-template-columns:repeat(4,1fr)}}
.trust-stat{background:var(--bg2);border:1px solid var(--border-light);border-radius:16px;padding:14px;text-align:center}
.trust-stat b{display:block;font-size:1.35rem;color:var(--primary);line-height:1.2}
.trust-stat span{font-size:.76rem;color:var(--text-muted)}
.feature-chip-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
.feature-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:9999px;background:var(--bg2);border:1px solid var(--border);font-size:.78rem;color:var(--text-muted)}
.section-kicker{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--primary);background:var(--primary-light);border:1px solid var(--border);padding:4px 9px;border-radius:9999px;margin-bottom:6px}
.post-card{height:100%;display:flex;flex-direction:column}
.post-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
.post-card-title{font-size:1.08rem;font-weight:700;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.post-card-desc{font-size:0.9rem;color:var(--text-muted);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:14px;flex:1}
.post-card-meta{display:flex;align-items:center;gap:12px;font-size:0.8rem;color:var(--text-light);margin-top:auto;padding-top:14px;border-top:1px solid var(--border-light)}
.post-card-actions{display:flex;gap:8px;margin-top:14px}
.post-card-actions .btn{flex:1}

/* V192: auto-pagination for the high-volume public category pages. The grid
   remains 3 columns on desktop; new rows arrive after scroll detection and
   reveal with a gentle staggered motion while the loader rotates slowly. */
.category-posts-pagination-loader{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;max-height:0;min-height:0;padding:0;overflow:hidden;opacity:0;pointer-events:none;transform:translateY(-5px);transition:max-height .35s ease,padding .3s ease,opacity .25s ease,transform .35s ease}
.category-posts-pagination-loader.is-active{max-height:150px;min-height:92px;padding:18px 12px 12px;opacity:1;transform:translateY(0)}
.category-posts-pagination-loader strong{font-size:.86rem;font-weight:800;color:var(--text)}
.category-posts-pagination-loader span{font-size:.72rem;line-height:1.5;color:var(--text-muted)}
.category-posts-pagination-spinner{width:40px;height:40px;border-radius:50%;border:3px solid color-mix(in srgb,var(--border-light) 82%,transparent);border-top-color:var(--primary);border-right-color:var(--accent);box-shadow:0 4px 16px color-mix(in srgb,var(--primary) 10%,transparent);animation:category-posts-slow-spin 1.35s linear infinite}
.category-posts-pagination-sentinel{width:100%;height:2px;margin-top:1px;scroll-margin-bottom:260px}
.category-posts-pagination-sentinel.category-posts-pagination-complete{height:1px}
.category-posts-pagination-unavailable{display:none}
.category-post-card-enter{animation:category-post-card-enter .58s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--category-card-delay,0ms)}
@keyframes category-post-card-enter{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes category-posts-slow-spin{to{transform:rotate(360deg)}}
.detail-wrap{max-width:820px;margin:0 auto}
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:0.86rem;color:var(--text-muted);margin-bottom:18px;flex-wrap:wrap}
.breadcrumb a{color:var(--text-muted);text-decoration:none}
.breadcrumb a:hover{color:var(--primary)}
.detail-header{margin-bottom:24px}
.detail-title{font-size:clamp(1.6rem,4vw,2.2rem);font-weight:800;line-height:1.25;letter-spacing:-0.02em;margin-bottom:10px}
.detail-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:16px}
.detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}
.content-section{margin-bottom:22px;border-radius:var(--radius);border:1px solid var(--border-light);overflow:hidden;background:var(--bg2)}
.content-section-head{padding:14px 18px;background:var(--bg3);border-bottom:1px solid var(--border-light);display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700;font-size:0.95rem}
.content-section-body{padding:18px}
.arabic-block{background:linear-gradient(180deg,var(--bg4) 0%,var(--bg2) 100%);border:1px solid var(--border);border-radius:var(--radius-sm);padding:20px 18px;font-size:1.75rem;line-height:2.4;position:relative}
@media(min-width:768px){.arabic-block{font-size:2rem;padding:26px 24px}}
.pronunciation-block{background:var(--primary-soft);border:1px dashed var(--border);border-radius:var(--radius-sm);padding:16px 18px;font-size:1.05rem;line-height:1.8;color:var(--text)}
.meaning-block{background:var(--bg2);border-left:4px solid var(--primary);padding:16px 18px;border-radius:0 var(--radius-sm) var(--radius-sm) 0;font-size:1rem;line-height:1.85}
.reference-box{background:var(--accent-light);border:1px solid var(--border);border-radius:var(--radius-sm);padding:14px 16px;font-size:0.88rem;color:var(--text-muted)}
.note-box{background:var(--bg3);border-radius:var(--radius-sm);padding:14px 16px;font-size:0.9rem}
.empty-state{text-align:center;padding:48px 24px;background:var(--bg2);border:1px dashed var(--border);border-radius:var(--radius);color:var(--text-muted)}
.empty-icon{width:72px;height:72px;margin:0 auto 16px;border-radius:20px;background:var(--bg3);display:flex;align-items:center;justify-content:center;font-size:2rem}
.input, .textarea, .select{
  width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--border);background:var(--bg2);color:var(--text);
  font-size:0.95rem;font-family:inherit;outline:none;transition:.2s;
}
.input:focus,.textarea:focus,.select:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-light)}
.textarea{resize:vertical;min-height:110px;line-height:1.7}
.label{font-size:0.88rem;font-weight:600;margin-bottom:6px;display:block;color:var(--text)}
.form-grid{display:grid;gap:16px}
@media(min-width:768px){.form-grid-2{grid-template-columns:1fr 1fr}}
.toast-container{position:fixed;right:16px;bottom:16px;z-index:200;display:flex;flex-direction:column;gap:10px;pointer-events:none;max-width:360px;width:calc(100% - 32px)}
.toast{pointer-events:auto;padding:14px 16px;border-radius:14px;background:var(--bg2);border:1px solid var(--border);box-shadow:var(--shadow-lg);display:flex;gap:12px;align-items:flex-start;animation:slideIn .35s ease;position:relative;overflow:hidden}
.toast.success{border-left:4px solid var(--primary)}
.toast.error{border-left:4px solid var(--danger)}
.toast.info{border-left:4px solid var(--accent)}
@keyframes slideIn{from{transform:translateX(20px);opacity:0}to{transform:translateX(0);opacity:1}}
@keyframes slideOut{from{transform:translateX(0);opacity:1}to{transform:translateX(20px);opacity:0}}
.modal-overlay{position:fixed;inset:0;background:rgba(12,23,18,0.55);backdrop-filter:blur(8px);z-index:100;display:flex;align-items:center;justify-content:center;padding:16px;animation:fadeIn .2s ease}
.modal{width:100%;max-width:520px;background:var(--bg2);border-radius:20px;border:1px solid var(--border);box-shadow:var(--shadow-lg);animation:scaleIn .25s ease;max-height:90vh;max-height:90dvh;display:flex;flex-direction:column;overflow:hidden}
/* V37: মডাল হেড সবসময় উপরে fixed/sticky — scroll করলেও হারাবে না */
.modal-head{padding:18px 20px;border-bottom:1px solid var(--border-light);display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto;position:sticky;top:0;z-index:9;background:var(--bg2)}
.modal-body{padding:20px;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
/* V37: মডাল ফুটার সবসময় নিচে fixed/sticky — বাটনগুলো কখনো scroll-এ হারাবে না */
.modal-foot{padding:16px 20px;border-top:1px solid var(--border-light);display:flex;justify-content:flex-end;gap:10px;background:var(--bg3);flex:0 0 auto;position:sticky;bottom:0;z-index:9}
/* V37: যেসব মডালের own footer নেই — body-র ভেতরের বাটন-রো কে footer হিসেবে pin করা হয় */
.modal-body.has-pinned-actions{padding-bottom:0}
.modal-actions-pin{position:sticky !important;bottom:0 !important;z-index:8 !important;background:var(--bg2) !important;border-top:1px solid var(--border-light) !important;padding:14px 20px !important;margin:18px -20px 0 !important;box-shadow:0 -14px 22px -18px rgba(0,0,0,.35)}
.modal-actions-pin .btn{flex-shrink:0}
@media(max-width:560px){
  .modal-actions-pin{flex-wrap:wrap;padding:12px 16px !important;margin:16px -16px 0 !important}
  .modal-actions-pin .btn{flex:1 1 auto;justify-content:center}
}
@media(max-width:479px){
  .modal-actions-pin{padding:12px 14px !important;margin:16px -14px 0 !important}
}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes scaleIn{from{transform:scale(0.96);opacity:0}to{transform:scale(1);opacity:1}}
.admin-layout{display:flex;min-height:100vh;min-height:auto;position:relative;overflow-x:clip}
.admin-sidebar{width:280px;min-width:0;background:var(--bg2);border-right:1px solid var(--border);position:sticky;top:0;height:100vh;height:100dvh;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;z-index:30;flex:0 0 280px;transition:flex-basis .28s ease,width .28s ease,transform .28s ease,border-color .2s ease,box-shadow .28s ease}
.admin-sidebar>*{width:280px;max-width:280px;transition:opacity .16s ease}
.admin-layout.sidebar-collapsed .admin-sidebar{width:0;flex-basis:0;border-right-color:transparent;pointer-events:none}
.admin-layout.sidebar-collapsed .admin-sidebar>*{opacity:0}
.admin-sidebar-head{padding:20px;border-bottom:1px solid var(--border-light);display:flex;align-items:center;gap:12px}
.admin-nav{padding:14px;flex:1;display:flex;flex-direction:column;gap:4px}
.admin-nav a{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:12px;text-decoration:none;color:var(--text-muted);font-weight:500;font-size:0.92rem;transition:.2s}
.admin-nav a:hover{background:var(--bg3);color:var(--text)}
.admin-nav a.active{background:var(--primary);color:#fff;box-shadow:0 4px 12px rgba(14,90,60,0.2)}
.admin-main{flex:1 1 auto;width:0;min-width:0;background:var(--bg);overflow-x:clip;transition:width .28s ease}
/* V37: topbar সবসময় freeze — overflow-x:clip (hidden নয়) তাই sticky page-scroll-এ কাজ করে */
.admin-topbar{height:64px;background:var(--bg2);border-bottom:1px solid var(--border-light);display:flex;align-items:center;justify-content:space-between;padding:0 20px;position:sticky;top:0;z-index:40;transition:box-shadow .2s ease}
.admin-topbar.is-stuck{box-shadow:0 6px 20px -12px rgba(0,0,0,.32)}
.admin-sidebar-backdrop{display:none;position:fixed;inset:0;background:rgba(12,23,18,.48);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);z-index:65;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease,visibility .25s ease}
.admin-content{padding:20px}
@media(min-width:768px){.admin-content{padding:28px}}
/* V126: admin form action bars stay visually centered so the fixed scroll-top control
   never crowds Cancel/Save/Update actions at the far-right edge. */
.admin-form-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  position:sticky;
  bottom:0;
  z-index:12;
  background:color-mix(in srgb,var(--bg) 96%, transparent);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  padding:12px 0;
  border-top:1px solid var(--border-light);
  margin-top:8px;
}
.admin-form-actions .btn{flex:0 0 auto}
@media(max-width:560px){
  .admin-form-actions{padding:10px 0;gap:10px}
  .admin-form-actions .btn{min-width:132px}
}
@media(max-width:1023px){
  body.admin-sidebar-open{overflow:hidden}
  .admin-layout{display:block;overflow-x:clip}   /* V37: hidden → clip, নইলে sticky topbar মোবাইলে কাজ করে না */
  .admin-sidebar,.admin-layout.sidebar-collapsed .admin-sidebar{position:fixed;left:0;top:0;width:min(280px,88vw);max-width:88vw;height:100vh;height:100dvh;flex-basis:auto;transform:translateX(-105%);border-right:1px solid var(--border);pointer-events:auto;z-index:70;box-shadow:none;visibility:visible}
  /* V37: মোবাইল/ট্যাবলেটেও topbar freeze থাকবে (overflow-x:clip → sticky নষ্ট হয় না) */
  .admin-layout{min-height:auto}
  .admin-main{overflow-x:clip;min-height:0}
  .admin-topbar{position:sticky;top:0;z-index:40}
  .admin-sidebar>*,.admin-layout.sidebar-collapsed .admin-sidebar>*{width:min(280px,88vw);max-width:88vw;opacity:1}
  .admin-sidebar.mobile-open,.admin-layout.sidebar-collapsed .admin-sidebar.mobile-open{transform:translateX(0);box-shadow:18px 0 48px rgba(0,0,0,.22)}
  .admin-sidebar.mobile-open #admin-sidebar-close{display:inline-flex!important}
  .admin-sidebar-backdrop{display:block}
  .admin-sidebar-backdrop.show{opacity:1;visibility:visible;pointer-events:auto}
  .admin-main{width:100%;min-height:100vh}
  .admin-topbar{padding:0 12px}
}
@media(min-width:1024px){
  .admin-sidebar{transform:none!important}
  .admin-sidebar-backdrop{display:none!important}
}
.stat-grid{display:grid;gap:16px;grid-template-columns:repeat(2,1fr)}
@media(min-width:900px){.stat-grid{grid-template-columns:repeat(4,1fr)}}
.stat-card{padding:18px;border-radius:16px;background:var(--bg2);border:1px solid var(--border-light);box-shadow:var(--shadow-sm)}
.stat-card b{font-size:1.6rem;display:block;line-height:1.1;margin:6px 0}
.table-wrap{overflow-x:auto;border:1px solid var(--border-light);border-radius:16px;background:var(--bg2)}
.table{width:100%;border-collapse:collapse;min-width:720px}
.table th{text-align:left;padding:12px 14px;font-size:0.82rem;font-weight:600;color:var(--text-muted);background:var(--bg3);border-bottom:1px solid var(--border-light);white-space:nowrap}
.table td{padding:12px 14px;border-bottom:1px solid var(--border-light);font-size:0.9rem;vertical-align:middle}
.table tr:last-child td{border-bottom:none}
.table tr:hover td{background:var(--bg4)}
.pagination{display:flex;align-items:center;gap:8px;justify-content:center;margin-top:20px;flex-wrap:wrap}
.page-btn{min-width:36px;height:36px;padding:0 10px;border-radius:10px;border:1px solid var(--border);background:var(--bg2);color:var(--text);cursor:pointer;font-weight:600;font-size:0.86rem;display:flex;align-items:center;justify-content:center}
.page-btn.active{background:var(--primary);color:#fff;border-color:var(--primary)}
.page-btn:disabled{opacity:0.5;cursor:not-allowed}
.footer{background:var(--bg2);border-top:1px solid var(--border-light);padding:36px 0 20px;margin-top:40px}
.footer-grid{display:grid;gap:20px}
/* V586: desktop footer uses five balanced columns so Dedication and Contact
   stay side-by-side. Category and Important Links are intentionally narrower. */
@media(min-width:1080px){
  .footer-grid{
    grid-template-columns:minmax(0,1.65fr) minmax(110px,.72fr) minmax(140px,.82fr) minmax(220px,1fr) minmax(230px,1.05fr);
    gap:20px;
    align-items:start;
  }
}
@media(min-width:800px) and (max-width:1079px){
  .footer-grid{grid-template-columns:minmax(0,1.45fr) minmax(130px,.85fr) minmax(150px,1fr);gap:20px;align-items:start}
}
.footer-grid>div{min-width:0}
.footer-title{font-weight:700;margin-bottom:12px;font-size:1rem}
.footer-link{display:block;padding:6px 0;color:var(--text-muted);text-decoration:none;font-size:0.9rem}
.footer-link:hover{color:var(--primary)}

/* ===== V29: Islamic Professional Slider - System Admin only editable ===== */
.islamic-slider-wrap{padding:22px 0 8px}
/* ===== V38: স্লাইডারের অনুপাত এখন ছবির অনুপাতের সাথে হুবহু (৩.৬৫৭:১) =====
   ফলে ছবি edge-to-edge full-bleed হয়, কিন্তু কার্যত কোনো crop/zoom হয় না — HD অক্ষত।
   ডেস্কটপে উচ্চতা আগের ৪২০px-ই থাকে (চওড়া স্ক্রিনে সামান্য কম, কখনো বেশি নয়)। */
.islamic-slider{position:relative;overflow:hidden;border-radius:24px;border:1px solid var(--border);box-shadow:var(--shadow-lg);background:#0d2b20;width:100%;height:420px}
/* ===== V40: স্লাইডারের উপর cursor গেলেই Hand (pointer) দেখাবে ===== */
#islamic-slider{cursor:pointer}
/* ≤১০২৩px (মোবাইল/ট্যাবলেট): উপরে ১৬:৯ ছবির ব্যান্ড + নিচে blur ব্যাকগ্রাউন্ডে লেখা — ছবি কখনো ক্রপ হয় না */
@media(max-width:1023px){.islamic-slider{border-radius:18px;width:100%;height:clamp(450px,calc(56.25vw + 235px),700px)}}
/* ≥১০২৪px: স্লাইডারের অনুপাত ছবির অনুপাতের সমান (৩.৬৫৭:১) → full-bleed, শূন্য ক্রপ (হাইডি অক্ষত) */
@supports (aspect-ratio: 1 / 1){
  @media(min-width:1024px){ .islamic-slider{width:100%;height:auto;aspect-ratio:1536/420;min-height:288px;max-height:420px} }
}
/* ১০২৪–১২৪০px: সরু স্ট্রিপে লেখা যাতে না ভাঙে — হালকা কমপ্যাক্ট টাইপোগ্রাফি */
@media(min-width:1024px) and (max-width:1240px){
  .islamic-slide-content{padding:24px 56px}
  .islamic-slide-title{font-size:clamp(1.3rem,2.5vw,1.85rem)}
  .islamic-slide-desc{font-size:0.92rem;margin-bottom:14px}
}
.islamic-slide{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 900ms cubic-bezier(0.33,1,0.68,1),visibility 900ms ease;will-change:opacity;backface-visibility:hidden;display:flex;align-items:center;overflow:hidden}
.islamic-slide.active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.islamic-slide-bg{position:absolute;inset:0;background-size:cover;background-position:center center;transition:transform 8s cubic-bezier(0.22,1,0.36,1);transform:scale(1);will-change:transform}
.islamic-slide.active .islamic-slide-bg{transform:scale(1.04)}
/* ===== V36: স্লাইডার ছবি ফিক্স — কোনো zoom/crop নেই, ছবি পুরোটা (ফুল) দেখা যায় এবং HD দেখায় ===== */
/* (১) ব্লার লেয়ার: একই ছবির ব্লার কপি — খালি জায়গা ভরে দেয়, HD ছবিটা আগের মতোই bright থাকে */
.islamic-slide-blur{position:absolute;inset:-12%;background-size:cover;background-position:center center;filter:blur(36px) saturate(1.15) brightness(0.74);transform:scale(1.08);transition:transform 11s cubic-bezier(0.22,1,0.36,1);will-change:transform}
.islamic-slide.active .islamic-slide-blur{transform:scale(1.16)}
.islamic-slide-blur::after{content:'';position:absolute;inset:0;background:rgba(9,34,24,0.26)}
/* (২) আসল ছবি: object-fit:contain — পুরো ছবি, শার্প ও ফুল সাইজে (আগে object-fit:cover এ ক্রপ হতো) */
/* V38: ডিফল্ট = full-bleed (cover)। ছবি ও বক্সের অনুপাত একই হওয়ায় ছবি পুরোটা দেখা যায় — zoom/crop নেই */
.islamic-slide-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;display:block;border:0;margin:0;padding:0;pointer-events:none;user-select:none;-webkit-user-drag:none;image-rendering:auto}
/* full-bleed মোডে ব্লার-ফিল লেয়ার লাগে না */
.islamic-slider .islamic-slide-blur{display:none}
/* অপশনাল: window.SLIDER_FIT='contain' দিলে পুরো ছবি + ব্লার-ফিল (কোনো ক্রপ নয়, পাশে ব্লার) */
.islamic-slider.fit-contain .islamic-slide-img{object-fit:contain}
.islamic-slider.fit-contain .islamic-slide-blur{display:block}
/* মোবাইল/ট্যাবলেট (≤১০২৩px): উপরে ১৬:৯ ছবির ব্যান্ড (নিচের কিনারা soft fade), বাকিটা blur ব্যাকগ্রাউন্ড + লেখা নিচে */
@media(max-width:1023px){
  .islamic-slider .islamic-slide-img{inset:0 0 auto 0;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center 45%;
    -webkit-mask-image:linear-gradient(180deg,#000 76%,rgba(0,0,0,0.45) 92%,transparent 100%);
    mask-image:linear-gradient(180deg,#000 76%,rgba(0,0,0,0.45) 92%,transparent 100%)}
  .islamic-slider .islamic-slide-blur{display:block;filter:blur(24px) saturate(1.15) brightness(0.7)}
  .islamic-slider.fit-contain .islamic-slide-img{object-fit:cover}
}
.islamic-slide-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(10,38,27,0.86) 0%,rgba(10,38,27,0.60) 40%,rgba(10,38,27,0.16) 70%,rgba(10,38,27,0.05) 100%)}
@media(max-width:700px){.islamic-slide-overlay{background:linear-gradient(180deg,rgba(10,38,27,0.04) 0%,rgba(10,38,27,0.26) 40%,rgba(10,38,27,0.78) 70%,rgba(10,38,27,0.92) 100%)}}
.islamic-slide-pattern{position:absolute;inset:0;opacity:0.09;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.6' stroke-width='0.7'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z'/%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3Cpath d='M0 0 L80 80 M80 0 L0 80' stroke-opacity='0.25'/%3E%3C/g%3E%3C/svg%3E");background-size:80px 80px}
.islamic-slide-content{position:relative;z-index:2;padding:32px 72px 32px 72px;max-width:640px;color:#fff;box-sizing:border-box}
@media(max-width:700px){.islamic-slide-content{padding:22px 52px 28px 52px;max-width:100%;align-self:flex-end;box-sizing:border-box}}
@media(max-width:480px){.islamic-slide-content{padding:20px 46px 24px 46px;box-sizing:border-box}}
.islamic-slide-subtitle{display:inline-flex;align-items:center;gap:8px;padding:5px 12px;border-radius:9999px;background:rgba(255,255,255,0.13);border:1px solid rgba(255,255,255,0.22);backdrop-filter:blur(6px);font-size:0.78rem;font-weight:600;letter-spacing:0.04em;margin-bottom:12px}
.islamic-slide-title{font-size:clamp(1.45rem,4vw,2.3rem);font-weight:800;line-height:1.18;letter-spacing:-0.02em;margin-bottom:10px;text-shadow:0 2px 18px rgba(0,0,0,0.22)}
.islamic-slide-desc{font-size:clamp(0.92rem,2vw,1.05rem);line-height:1.6;opacity:0.92;margin-bottom:18px;text-shadow:0 1px 12px rgba(0,0,0,0.22);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.islamic-slide-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.islamic-slide-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:9999px;background:#fff;color:#0e5a3c;font-weight:700;font-size:0.92rem;text-decoration:none;box-shadow:0 6px 20px rgba(0,0,0,0.18);transition:.2s;border:1px solid rgba(255,255,255,0.6)}
.islamic-slide-btn:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(0,0,0,0.22);background:var(--bg2)}
.islamic-slide-btn.secondary{background:rgba(255,255,255,0.13);color:#fff;border-color:rgba(255,255,255,0.28);backdrop-filter:blur(6px);box-shadow:none}
.islamic-slide-btn.secondary:hover{background:rgba(255,255,255,0.22)}
.slider-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,0.22);background:rgba(12,45,32,0.26);backdrop-filter:blur(8px);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s}
.slider-arrow:hover{background:rgba(255,255,255,0.18);border-color:rgba(255,255,255,0.35);transform:translateY(-50%) scale(1.06)}
.slider-arrow:active{transform:translateY(-50%) scale(0.96)}
.slider-arrow.prev{left:16px}
.slider-arrow.next{right:16px}
@media(max-width:600px){.slider-arrow{width:36px;height:36px}.slider-arrow.prev{left:10px}.slider-arrow.next{right:10px}}
.slider-dots{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);z-index:3;display:flex;gap:8px;align-items:center;padding:8px 14px;border-radius:9999px;background:rgba(12,45,32,0.22);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,0.14)}
.slider-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,0.42);border:none;cursor:pointer;transition:.3s;padding:0;flex-shrink:0}
.slider-dot.active{width:22px;border-radius:9999px;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,0.18)}
/* slider-progress removed per user request - timer bar hidden */
.slider-counter{position:absolute;top:14px;right:14px;z-index:3;padding:5px 10px;border-radius:9999px;background:rgba(12,45,32,0.32);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,0.18);color:#fff;font-size:0.72rem;font-weight:700}

/* Developer & Contact Professional Footer */
.footer-developer-card{display:flex;gap:14px;align-items:center;background:var(--bg3);border:1px solid var(--border);border-radius:16px;padding:14px;margin-top:16px;transition:.2s}
.footer-developer-card:hover{border-color:var(--primary);box-shadow:var(--shadow-sm);transform:translateY(-1px)}
.footer-dev-avatar{width:56px;height:56px;border-radius:50%;overflow:hidden;flex-shrink:0;border:2px solid var(--border);background:var(--primary);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:1.25rem;position:relative}
.footer-dev-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.footer-dev-info{flex:1;min-width:0}
.footer-dev-name{font-weight:700;font-size:0.95rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.footer-dev-title{font-size:0.78rem;color:var(--primary);font-weight:600;background:var(--primary-light);padding:2px 8px;border-radius:9999px;display:inline-flex;margin-top:3px;border:1px solid var(--border)}
.footer-dev-bio{font-size:0.8rem;color:var(--text-muted);line-height:1.5;margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.footer-dev-links{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.footer-dev-link{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;border:1px solid var(--border);background:var(--bg2);color:var(--text-muted);text-decoration:none;transition:.2s;font-size:0.85rem}
.footer-dev-link:hover{background:var(--primary);color:#fff;border-color:var(--primary);transform:translateY(-1px)}
.footer-dedication-wrap{margin-bottom:16px}
.footer-dedication-card{position:relative;display:flex;gap:12px;align-items:flex-start;background:linear-gradient(145deg,var(--bg3),var(--primary-light));border:1px solid var(--border);border-radius:16px;padding:14px;overflow:hidden;box-shadow:var(--shadow-sm);transition:.2s}
.footer-dedication-card::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 100% 0,rgba(255,255,255,.6),transparent 46%)}
.footer-dedication-card:hover{border-color:var(--primary);box-shadow:var(--shadow-md);transform:translateY(-1px)}
.footer-dedication-icon{width:34px;height:34px;border-radius:10px;background:var(--bg2);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:1rem;position:relative}
.footer-dedication-body{min-width:0;flex:1;position:relative}
.footer-dedication-recipient{font-weight:800;font-size:.92rem;line-height:1.35;color:var(--text)}
.footer-dedication-dua-ar{margin-top:8px;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.5);border:1px solid var(--border-light);font-family:serif;font-size:1rem;line-height:1.9;color:var(--primary);text-align:right;word-break:break-word}
.footer-dedication-dua-bn{margin-top:7px;font-size:.78rem;line-height:1.55;color:var(--text-muted)}
.footer-dedication-request{margin-top:8px;padding-top:8px;border-top:1px dashed var(--border);font-size:.79rem;line-height:1.55;font-weight:600;color:var(--text)}
.footer-contact-card{background:var(--bg3);border:1px solid var(--border);border-radius:16px;padding:16px;transition:.2s}
.footer-contact-card:hover{border-color:var(--primary);box-shadow:var(--shadow-sm)}
.footer-contact-item{display:flex;gap:10px;align-items:flex-start;font-size:0.88rem;line-height:1.5;margin-top:10px;color:var(--text-muted)}
.footer-contact-item:first-child{margin-top:0}
.footer-contact-icon{width:32px;height:32px;border-radius:8px;background:var(--bg2);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--primary);font-size:0.9rem}
.footer-contact-social{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.footer-contact-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:9999px;font-size:0.78rem;font-weight:600;text-decoration:none;border:1px solid var(--border);background:var(--bg2);color:var(--text);transition:.2s}
.footer-contact-btn:hover{background:var(--primary);color:#fff;border-color:var(--primary);transform:translateY(-1px)}
.footer-contact-btn.whatsapp{background:#25d366;color:#fff;border-color:#20bd5a}
.footer-contact-btn.facebook{background:#1877f2;color:#fff;border-color:#166fe5}
/* V586: keep the two right-most cards comfortably readable inside the
   narrower fifth-column desktop footer layout. */
@media(min-width:1080px){
  #public-footer .footer-dedication-card{padding:12px;gap:9px}
  #public-footer .footer-dedication-icon{width:32px;height:32px;flex-basis:32px;font-size:.9rem}
  #public-footer .footer-dedication-recipient{font-size:.86rem}
  #public-footer .footer-dedication-dua-ar{font-size:.92rem;line-height:1.8;padding:7px 8px}
  #public-footer .footer-dedication-dua-bn,
  #public-footer .footer-dedication-request{font-size:.74rem}
  #public-footer .footer-contact-card{padding:13px}
  #public-footer .footer-contact-item{font-size:.76rem}
}
.scroll-top{position:fixed;right:18px;bottom:18px;width:46px;height:46px;border-radius:14px;background:var(--primary);color:#fff;border:none;box-shadow:var(--shadow-lg);cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:30;transform:translateY(80px);opacity:0;transition:.3s}
.scroll-top.show{transform:translateY(0);opacity:1}
.chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:9999px;background:var(--bg3);border:1px solid var(--border);font-size:0.82rem}
.progress{height:6px;background:var(--bg3);border-radius:9999px;overflow:hidden}
.progress-bar{height:100%;background:var(--primary);border-radius:9999px;transition:width .4s ease}
.kbd{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:6px;background:var(--bg3);border:1px solid var(--border);border-bottom-width:2px;font-size:0.72rem;font-weight:600}
/* ===================== V23: Author Chat (WhatsApp / Messenger) ===================== */
/* ===== V25: কুরআন পাঠ লোডিং ===== */
.quran-loading{text-align:center;padding:22px;color:var(--text-muted);font-size:0.92rem}

.btn-whatsapp{background:#25d366;color:#fff;border-color:#20bd5a;box-shadow:0 2px 10px rgba(37,211,102,.28)}
.btn-whatsapp:hover{background:#1fb959;color:#fff;transform:translateY(-1px);box-shadow:0 6px 18px rgba(37,211,102,.35)}
.btn-messenger{background:#0084ff;color:#fff;border-color:#0077e6;box-shadow:0 2px 10px rgba(0,132,255,.28)}
.btn-messenger:hover{background:#0077e6;color:#fff;transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,132,255,.35)}
.contact-chip{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border-radius:12px;text-decoration:none;font-weight:600;font-size:0.82rem;border:1px solid var(--border);transition:.2s}
.contact-chip:hover{transform:translateY(-1px)}
.contact-chip.whatsapp{background:color-mix(in srgb,#25d366 13%,transparent);color:#128c4b;border-color:color-mix(in srgb,#25d366 45%,transparent)}
.contact-chip.messenger{background:color-mix(in srgb,#0084ff 13%,transparent);color:#0069d9;border-color:color-mix(in srgb,#0084ff 45%,transparent)}
/* ===================== V22: সম্পূর্ণ রেসপনসিভ ওভারহল (সব ডিভাইস) ===================== */
:root{--header-h:70px}
.header-actions{min-width:0}
#bookmark-header-btn,#theme-toggle,#public-login-link,#admin-login-link,#public-user-wrap,.lang-selector,.mobile-toggle{flex-shrink:0}

/* V610: Android app download header action + dedicated download page. */
.app-download-header-btn{position:relative;overflow:hidden;--app-download-icon-size:20px}
.app-download-header-btn > svg,.app-download-header-btn > img{width:var(--app-download-icon-size);height:var(--app-download-icon-size);max-width:100%;max-height:100%;display:block;object-fit:contain;flex:0 0 auto}
.app-download-custom-icon{display:block;object-fit:contain;max-width:100%;max-height:100%;flex:0 0 auto}
.app-download-default-icon{background:transparent;border-radius:0}
.ik-app-download-admin-icon-preview img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.app-download-header-btn::after{content:"";position:absolute;inset:5px;border-radius:9px;background:color-mix(in srgb,var(--primary) 8%,transparent);opacity:0;transform:scale(.78);transition:opacity .18s ease,transform .18s ease;pointer-events:none}
.app-download-header-btn:hover{color:var(--primary);background:color-mix(in srgb,var(--primary) 8%,var(--bg2));border-color:color-mix(in srgb,var(--primary) 18%,var(--border))}
.app-download-header-btn:hover::after{opacity:1;transform:scale(1)}
.app-download-page{padding:48px 0 72px;min-height:calc(100vh - var(--header-h));display:flex;align-items:center}
.ik-admin-app-download-settings-card{border:1px solid #86efac;background:linear-gradient(145deg,#f0fdf4,#ecfeff);box-shadow:none;transform:none}.dark .ik-admin-app-download-settings-card{background:rgba(19,33,26,.82)}
.app-download-page .container{width:100%}
.app-download-hero{max-width:840px;margin:0 auto;text-align:center}
.app-download-brand-mark{width:112px;height:112px;margin:0 auto 18px;padding:10px;border-radius:30px;background:rgba(255,255,255,.74);border:1px solid var(--border);box-shadow:0 16px 44px rgba(14,90,60,.10);display:flex;align-items:center;justify-content:center;backdrop-filter:blur(10px)}
.app-download-brand-mark img{width:100%;height:100%;object-fit:contain;border-radius:22px}
.app-download-kicker{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:9999px;background:var(--bg3);border:1px solid var(--border);color:var(--primary);font-size:.8rem;font-weight:800;margin-bottom:12px}
.app-download-title{margin:0;font-size:clamp(2rem,5vw,3.5rem);line-height:1.15;font-weight:900;letter-spacing:-.03em;color:var(--text)}
.app-download-subtitle{max-width:700px;margin:14px auto 0;color:var(--text-muted);font-size:1rem;line-height:1.9}
.app-download-badges{margin:18px 0 26px;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.app-download-badges span{padding:7px 11px;border-radius:999px;border:1px solid var(--border);background:rgba(255,255,255,.66);font-size:.78rem;color:var(--text-muted)}
.app-download-card{max-width:620px;margin:0 auto;padding:22px;border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(236,248,241,.78));border:1px solid var(--border);box-shadow:0 22px 60px rgba(14,90,60,.10);text-align:left}
.dark .app-download-brand-mark,.dark .app-download-card,.dark .app-download-badges span{background:rgba(19,33,26,.82)}
.app-download-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.app-download-label{font-size:1.02rem;font-weight:900;color:var(--text)}
.app-download-version{margin-top:5px;font-size:.8rem;color:var(--text-muted)}
.app-download-live-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;border:1px solid color-mix(in srgb,#16a34a 35%,var(--border));background:color-mix(in srgb,#16a34a 8%,transparent);font-size:.74rem;font-weight:800;color:#15803d}
.app-download-live-dot{width:7px;height:7px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 5px color-mix(in srgb,#16a34a 12%,transparent);animation:appDownloadPulse 1.8s ease-in-out infinite}
@keyframes appDownloadPulse{0%,100%{opacity:.55;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}
.app-download-count-block{margin:18px 0;padding:18px;border-radius:18px;background:rgba(255,255,255,.72);border:1px solid var(--border-light);text-align:center}
.dark .app-download-count-block{background:rgba(19,33,26,.62)}
.app-download-count-label{font-size:.82rem;color:var(--text-muted);font-weight:700}
.app-download-count{margin-top:3px;font-size:clamp(2rem,5vw,2.8rem);font-weight:900;letter-spacing:-.04em;color:var(--primary)}
.app-download-count-help{margin-top:3px;font-size:.74rem;color:var(--text-light)}
.app-download-form{margin:0}
.app-download-start{width:100%;min-height:52px;justify-content:center;display:flex!important;gap:8px;font-size:1rem!important;font-weight:900!important;border-radius:15px!important;box-shadow:0 10px 24px rgba(14,90,60,.18)}
.app-download-start:hover{transform:translateY(-1px)}
.app-download-footnote{text-align:center;margin-top:11px;font-size:.72rem;color:var(--text-light)}
.app-download-trust{max-width:680px;margin:22px auto 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.app-download-trust>div{padding:13px 10px;border:1px solid var(--border);border-radius:15px;background:rgba(255,255,255,.56);display:grid;grid-template-columns:24px 1fr;column-gap:7px;align-items:center;text-align:left}
.dark .app-download-trust>div{background:rgba(19,33,26,.5)}
.app-download-trust span{grid-row:span 2;width:24px;height:24px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--primary) 11%,transparent);color:var(--primary);font-weight:900}
.app-download-trust b{font-size:.78rem;color:var(--text)}
.app-download-trust small{font-size:.68rem;color:var(--text-light)}
@media(max-width:760px){
  .app-download-page{padding:28px 0 48px;align-items:flex-start}
  .app-download-brand-mark{width:92px;height:92px;border-radius:24px}
  .app-download-title{font-size:2rem}
  .app-download-subtitle{font-size:.9rem;line-height:1.75}
  .app-download-card{padding:17px;border-radius:20px}
  .app-download-trust{grid-template-columns:1fr}
}
@media(max-width:479px){
  .app-download-header-btn{display:flex}
  .app-download-page{padding-top:22px}
  .app-download-title{font-size:1.7rem}
  .app-download-subtitle{font-size:.86rem}
  .app-download-badges{gap:6px}
  .app-download-badges span{font-size:.7rem;padding:6px 9px}
  .app-download-live-badge{font-size:.68rem;padding:5px 8px}
}
#admin-login-link{display:none!important}
/* ছোট-মাঝারি স্ক্রিনে ভাষা বাটনে শুধু পতাকা */
@media(max-width:1535px){#current-lang-code{display:none}}
/* অ্যাডমিন বাটন <1366px এ হেডার থেকে লুকানো (drawer ও লগইন পেজে আছে) */
@media(max-width:1365px){#admin-login-link{display:none !important}}
/* ল্যাপটপ 1200–1535px: nav কমপ্যাক্ট + search ছোট */
@media(min-width:1200px) and (max-width:1535px){
  .header-inner{gap:12px}
  .nav-desktop{gap:2px}
  .nav-link{padding:8px 9px;font-size:0.82rem}
  .search-box{flex-basis:180px}
}
/* ট্যাবলেট <1200px: nav drawer-তে, search মাঝারি */
@media(max-width:1199px){
  .search-box{flex-basis:190px}
}
/* মোবাইল <768px: কমপ্যাক্ট হেডার */
@media(max-width:767px){
  .contributors-contact-btn{font-size:.68rem!important;padding:8px 7px!important}
  :root{--header-h:62px}
  /* V150: remove the mobile-only top padding above the home slider. */
  .islamic-slider-wrap{padding-top:0}
  #bookmark-header-btn{display:none}
  .lang-btn{padding:6px 8px}
  .header-actions{gap:6px}
  .header-inner{gap:10px}
  .search-box{flex-basis:150px}
  .hero{padding:32px 0 24px}
  .section{padding:24px 0}
  .footer{padding:26px 0 16px}
}
/* ছোট ফোন <480px */
@media(max-width:479px){
  :root{--header-h:58px}
  #theme-toggle{display:none}
  .logo{gap:8px;font-size:0.92rem;flex:0 1 auto;min-width:0;white-space:nowrap}
  .logo-text{white-space:nowrap;flex:0 0 auto;min-width:max-content;line-height:1.1}
  #site-name-display{display:block;white-space:nowrap;font-size:.96em;overflow:visible}
  .logo-text small{display:none}
  .logo-mark{width:34px;height:34px}
  #public-login-link{padding:8px 11px;font-size:0.78rem}
  .hero-title{font-size:1.6rem}
  .hero-stat b{font-size:1.05rem}
  .hero-stats{gap:12px}
  .daily-lesson-arabic{font-size:1.2rem}
  .section-title{font-size:1.2rem}
  .admin-content{padding:14px}
  .stat-card b{font-size:1.25rem}
  .stat-card{padding:14px}
  .modal-body{padding:16px 14px}
  .modal-head{padding:14px 16px}
  .modal-foot{padding:12px 14px}
  .btn{padding:10px 15px;font-size:0.86rem}
  .card-pad{padding:16px 14px}
  .mobile-toggle{width:38px;height:38px}
}
/* খুব ছোট স্ক্রিন <380px: লগইন শুধু আইকন */
@media(max-width:379px){
  #public-login-link .login-label{display:none}
  #public-login-link{padding:8px;width:38px}
  .logo{font-size:0.84rem}
}
@media(max-width:339px){.lang-selector{display:none}}
/* বড় ডেস্কটপ 1600px+ */
@media(min-width:1600px){.container{max-width:1320px}}
/* ---- অ্যাডমিন টপবার (মোবাইল) ---- */
@media(max-width:767px){
  .admin-topbar{padding:0 10px;gap:8px}
  /* V561: keep the mobile Admin drawer toggle visible. The previous flex
     layout allowed the left control group to shrink to nearly zero when the
     right-side language/notification/profile controls consumed the viewport. */
  .admin-topbar>div:first-child{
    flex:1 1 auto;
    min-width:40px;
    overflow:hidden;
    display:flex;
    align-items:center;
    gap:8px;
  }
  #admin-sidebar-open{
    flex:0 0 40px;
    width:40px;
    min-width:40px;
    max-width:40px;
    visibility:visible!important;
    opacity:1!important;
  }
  .admin-topbar>div:first-child>div{min-width:0}
  .admin-topbar>div:last-child{flex:0 0 auto;min-width:0}
  #admin-topbar-title{font-size:0.98rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:44vw}
  #admin-topbar-sub{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:44vw}
  .admin-profile-btn{padding:4px 8px 4px 4px}
  #admin-top-name{max-width:76px}
  #admin-top-role{display:none}
}
@media(max-width:479px){
  /* Keep the hamburger action, hide only the text that competes for width. */
  #admin-topbar-title,#admin-topbar-sub{display:none}
  #admin-top-name{display:none}
  .admin-profile-btn>svg{display:none}
}
/* ---- ড্রপডাউন ও মোডাল সব স্ক্রিনে ---- */
.admin-profile-menu{width:min(340px,calc(100vw - 20px))}
.lang-dropdown{width:min(300px,calc(100vw - 24px))}
.modal-foot{flex-wrap:wrap}
/* ---- টেবিল: স্মুথ টাচ স্ক্রল ---- */
.table-wrap{-webkit-overflow-scrolling:touch;max-width:100%}
.approval-banner{flex-wrap:wrap}
/* ---- টোস্ট: ছোট স্ক্রিনে পুরো প্রস্থ ---- */
@media(max-width:480px){
  .toast-container{left:12px;right:12px;bottom:12px;width:auto;max-width:none}
}
/* ---- ফর্ম গ্রিড ---- */
@media(max-width:480px){
  .form-grid{gap:12px}
  .form-grid-2{gap:12px}
}
/* ---- পোস্ট ডিটেইল: ছোট স্ক্রিন ---- */
@media(max-width:520px){
  .arabic-block{font-size:1.4rem;padding:16px 14px;line-height:2.1}
  .pronunciation-block{font-size:0.98rem;padding:14px}
  .meaning-block{padding:14px;font-size:0.95rem}
  .content-section-body{padding:14px}
  .content-section-head{padding:12px 14px;font-size:0.9rem}
}
.pagination{gap:6px}
@media(max-width:480px){
  .scroll-top{right:12px;bottom:12px;width:42px;height:42px}
}
@media print{
  .no-print{display:none !important}
  body{background:#fff !important;color:#000 !important}
  .card,.content-section,.arabic-block,.meaning-block,.pronunciation-block{box-shadow:none !important;border:1px solid #ddd !important;break-inside:avoid}
  .header,.footer,.admin-layout,.toast-container,.modal-overlay,.scroll-top{display:none !important}
  #public-main{padding:0 !important}
  .detail-wrap{max-width:100% !important}
}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{background:var(--border);border-radius:9999px}
::-webkit-scrollbar-thumb:hover{background:var(--text-light)}
::selection{background:var(--primary-light);color:var(--primary)}




/* Real Photo Avatar */
.avatar-img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.avatar-wrapper{position:relative;flex-shrink:0}
.avatar-upload-area{border:2px dashed var(--border);border-radius:16px;padding:16px;text-align:center;background:var(--bg3);cursor:pointer;transition:.2s;position:relative;overflow:hidden}
.avatar-upload-area:hover{border-color:var(--primary);background:var(--primary-light)}
.avatar-upload-area.dragover{border-color:var(--primary);background:var(--primary-light);transform:scale(1.02)}
.avatar-preview{width:80px;height:80px;border-radius:50%;margin:0 auto 12px;overflow:hidden;background:var(--bg2);border:3px solid var(--border);display:flex;align-items:center;justify-content:center;position:relative}
.avatar-preview img{width:100%;height:100%;object-fit:cover}
.avatar-preview .initial{font-size:1.8rem;font-weight:800;color:#fff;width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.photo-actions{display:flex;gap:8px;justify-content:center;margin-top:10px}

/* Approval & Author Card */
.badge-pending{background:#fef3c7;color:#92400e;border-color:#fde68a}
.badge-approved{background:#dcfce7;color:#166534;border-color:#86efac}
.author-card{display:flex;gap:16px;align-items:center;padding:18px;background:var(--bg2);border:1px solid var(--border-light);border-radius:18px;box-shadow:var(--shadow-sm);margin-top:20px}
.author-avatar{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.3rem;color:#fff;flex-shrink:0;position:relative}
.author-info{flex:1;min-width:0}
.author-name{font-weight:700;font-size:1.05rem;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.author-meta{font-size:0.85rem;color:var(--text-muted);margin-top:2px}
.author-bio{font-size:0.88rem;color:var(--text-muted);margin-top:6px;line-height:1.5}
.author-stats{display:flex;gap:12px;margin-top:10px;flex-wrap:wrap}
.author-stat{font-size:0.78rem;background:var(--bg3);padding:4px 10px;border-radius:9999px;border:1px solid var(--border-light)}
.approval-banner{background:#fffbeb;border:1px solid #fde68a;border-radius:14px;padding:14px 16px;display:flex;gap:12px;align-items:flex-start;margin-bottom:16px}
.approval-banner.pending{background:#fffbeb;border-color:#fcd34d}
.approval-banner.approved{background:#f0fdf4;border-color:#86efac}

/* Language Selector */
.lang-selector{position:relative}
.lang-btn{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:9999px;border:1px solid var(--border);background:var(--bg2);cursor:pointer;font-weight:600;font-size:0.85rem;color:var(--text);transition:.2s}
.lang-btn:hover{background:var(--bg3);border-color:var(--primary)}
.lang-dropdown{position:absolute;right:0;top:52px;width:300px;background:var(--bg2);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow-lg);z-index:70;max-height:420px;overflow:hidden;display:flex;flex-direction:column;animation:scaleIn .2s ease}
.lang-dropdown.hidden{display:none !important}
.lang-dropdown-head{padding:14px 16px;border-bottom:1px solid var(--border-light);display:flex;justify-content:space-between;align-items:center;font-weight:700}
.lang-dropdown-body{overflow-y:auto;padding:8px;flex:1}
.lang-option{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;cursor:pointer;transition:.2s;border:1px solid transparent}
.lang-option:hover{background:var(--bg3);border-color:var(--border)}
.lang-option.active{background:var(--primary-light);border-color:var(--primary);color:var(--primary)}
.lang-flag{width:28px;height:20px;border-radius:4px;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid var(--border);background:var(--bg3);box-shadow:0 1px 2px rgba(0,0,0,.06)}.lang-flag img{width:100%;height:100%;object-fit:cover;display:block}#current-lang-flag,#admin-current-lang-flag{display:inline-flex;align-items:center;justify-content:center;width:22px;height:16px;border-radius:3px;overflow:hidden;border:1px solid var(--border);background:var(--bg3);flex-shrink:0}#current-lang-flag img,#admin-current-lang-flag img{width:100%;height:100%;object-fit:cover;display:block}
.lang-info{flex:1;min-width:0}
.lang-name{font-weight:600;font-size:0.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lang-native{font-size:0.78rem;color:var(--text-muted)}
.lang-check{width:20px;height:20px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:0.7rem}
.translate-notice{background:var(--accent-light);border:1px dashed var(--border);border-radius:12px;padding:10px 14px;font-size:0.82rem;color:var(--text-muted);margin:12px 0;display:flex;gap:8px;align-items:flex-start}
.translate-loading{opacity:0.6;position:relative}
.translate-loading::after{content:'⏳ অনুবাদ হচ্ছে...';position:absolute;right:8px;top:8px;font-size:0.7rem;background:var(--primary);color:#fff;padding:2px 8px;border-radius:9999px}

/* User Management Styles */
.avatar{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;flex-shrink:0}
.avatar-sm{width:32px;height:32px;font-size:0.85rem}
.avatar-lg{width:56px;height:56px;font-size:1.25rem}
.online-dot{position:absolute;bottom:-2px;right:-2px;width:14px;height:14px;background:#22c55e;border:2px solid var(--bg2);border-radius:50%}
.online-dot-sm{width:10px;height:10px}
.user-card{padding:14px;border:1px solid var(--border-light);border-radius:16px;background:var(--bg2);transition:.2s;position:relative}
.user-card:hover{box-shadow:var(--shadow);transform:translateY(-1px)}
.user-card.online{border-color:#86efac;background:linear-gradient(135deg,var(--bg2) 0%,#f0fdf4 100%)}
.dark .user-card.online{background:linear-gradient(135deg,var(--bg2) 0%,#0f2a1a 100%);border-color:#166534}
.status-dot{width:8px;height:8px;border-radius:50%;display:inline-block}
.status-dot.online{background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,0.15)}
.status-dot.offline{background:var(--text-light)}
.activity-item{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--border-light)}
.activity-item:last-child{border-bottom:none}
.pulse{animation:pulse 2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(34,197,94,0.4)}70%{box-shadow:0 0 0 8px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}


/* Admin Topbar Profile Dropdown - Stylish */
.admin-profile-dropdown{position:relative}
.admin-profile-btn{display:flex;align-items:center;gap:10px;padding:5px 12px 5px 5px;border-radius:9999px;border:1px solid var(--border);background:var(--bg2);cursor:pointer;transition:.2s;box-shadow:var(--shadow-sm);min-width:0}
.admin-profile-btn:hover{background:var(--bg3);border-color:var(--primary);transform:translateY(-1px);box-shadow:var(--shadow)}
.admin-profile-btn:active{transform:translateY(0)}
.admin-top-avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;color:#fff;flex-shrink:0;position:relative;overflow:hidden;border:2px solid var(--border-light);background:var(--primary)}
.admin-top-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.admin-profile-menu{position:absolute;right:0;top:56px;width:340px;background:var(--bg2);border:1px solid var(--border);border-radius:20px;box-shadow:var(--shadow-lg);z-index:80;overflow:hidden;animation:scaleIn .22s ease}
.admin-profile-menu.hidden{display:none !important}
.admin-profile-menu-header{padding:20px 18px 16px;background:linear-gradient(135deg,var(--primary) 0%,#1a7a52 60%,#0e5a3c 100%);color:#fff;position:relative;overflow:hidden}
.admin-profile-menu-header::before{content:'';position:absolute;top:-30px;right:-30px;width:120px;height:120px;background:radial-gradient(circle,rgba(255,255,255,0.18) 0%,transparent 70%);border-radius:50%;pointer-events:none}
.admin-profile-menu-header::after{content:'';position:absolute;bottom:-20px;left:-20px;width:80px;height:80px;background:radial-gradient(circle,rgba(255,255,255,0.1) 0%,transparent 70%);border-radius:50%;pointer-events:none}
.admin-profile-header-avatar{width:64px;height:64px;border-radius:50%;border:3px solid rgba(255,255,255,0.3);overflow:hidden;flex-shrink:0;background:rgba(255,255,255,0.15);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.5rem;box-shadow:0 4px 20px rgba(0,0,0,0.15);position:relative}
.admin-profile-header-avatar img{width:100%;height:100%;object-fit:cover}
.admin-profile-menu-body{padding:10px}
.admin-profile-menu-item{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:12px;cursor:pointer;transition:.2s;text-decoration:none;color:var(--text);font-weight:500;font-size:0.9rem;border:1px solid transparent;user-select:none}
.admin-profile-menu-item:hover{background:var(--bg3);border-color:var(--border);transform:translateX(2px)}
.admin-profile-menu-item .item-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:1rem}
.admin-profile-menu-item.danger{color:var(--danger)}
.admin-profile-menu-item.danger:hover{background:#fef2f2;border-color:#fecaca}
.dark .admin-profile-menu-item.danger:hover{background:#2a1515;border-color:#5a2020}
.admin-profile-stats{display:flex;gap:8px;margin-top:14px}
.admin-profile-stat{flex:1;background:rgba(255,255,255,0.14);backdrop-filter:blur(6px);border-radius:12px;padding:8px 6px;text-align:center;border:1px solid rgba(255,255,255,0.18)}
.admin-profile-stat b{display:block;font-size:0.95rem;line-height:1.1}
.admin-profile-stat small{font-size:0.68rem;opacity:0.85}
.admin-profile-menu-footer{padding:10px 12px;background:var(--bg3);border-top:1px solid var(--border-light);display:flex;gap:8px}


/* Role Selector Checkbox/Tick - System Admin Management */
.role-selector-grid{display:grid;gap:10px}
@media(min-width:600px){.role-selector-grid{grid-template-columns:1fr 1fr}}
.role-option{display:flex;align-items:center;gap:12px;padding:14px;border-radius:14px;border:2px solid var(--border-light);background:var(--bg2);cursor:pointer;transition:.2s;position:relative}
.role-option:hover{border-color:var(--border);transform:translateY(-1px);box-shadow:var(--shadow-sm)}
.role-option.selected{border-color:var(--primary);background:var(--primary-light);box-shadow:0 0 0 3px var(--primary-light)}
.role-option.disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}
.role-option .role-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.3rem;flex-shrink:0}
.role-option .role-check{width:24px;height:24px;border-radius:50%;border:2px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:0.8rem;font-weight:800;transition:.2s;flex-shrink:0;background:var(--bg2);color:transparent}
.role-option.selected .role-check{background:var(--primary);border-color:var(--primary);color:#fff}
.role-badge-system{background:#fef3c7;color:#92400e;border-color:#fde68a}
.role-badge-local{background:#dbeafe;color:#1e40af;border-color:#bfdbfe}
.role-badge-staff{background:#e0e7ff;color:#4338ca;border-color:#c7d2fe}
.role-badge-contributor{background:var(--bg3);color:var(--text-muted);border-color:var(--border)}


/* Permissions Checkbox - Every Single Thing */
.perm-section{margin-top:16px;border:1px solid var(--border-light);border-radius:16px;overflow:hidden;background:var(--bg2)}
.perm-section-head{padding:14px 16px;background:var(--bg3);border-bottom:1px solid var(--border-light);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.perm-section-title{font-weight:700;display:flex;align-items:center;gap:8px}
.perm-grid{display:grid;gap:12px;padding:14px}
@media(min-width:700px){.perm-grid{grid-template-columns:1fr 1fr}}
.perm-group{border:1px solid var(--border-light);border-radius:12px;overflow:hidden;background:var(--bg2)}
.perm-group-head{padding:10px 12px;background:var(--bg4);font-weight:700;font-size:0.85rem;display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--border-light)}
.perm-group-label{flex:1;min-width:70px;line-height:1.2}
.perm-group-actions{display:flex;align-items:center;gap:4px;flex:0 0 auto;margin-left:auto}
.perm-group-actions .perm-group-action-btn{padding:2px 6px;font-size:0.65rem;line-height:1.2;min-width:34px;white-space:nowrap}
.perm-group-body{padding:8px;display:flex;flex-direction:column;gap:6px}
.perm-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;transition:.15s;border:1px solid transparent;cursor:pointer}
.perm-item:hover{background:var(--bg3);border-color:var(--border)}
.perm-item.checked{background:var(--primary-light);border-color:var(--primary)}
.perm-native-checkbox{width:18px;height:18px;flex:0 0 18px;margin:0;appearance:none;-webkit-appearance:none;border:2px solid var(--border);border-radius:5px;background:var(--bg2);cursor:pointer;position:relative;transition:.15s}
.perm-native-checkbox:hover{border-color:var(--primary)}
.perm-native-checkbox:checked{background:var(--primary);border-color:var(--primary)}
.perm-native-checkbox:checked::after{content:'✓';position:absolute;inset:-1px 0 0 0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:0.72rem;font-weight:800}
.perm-item:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.perm-item-info{flex:1;min-width:0}
.perm-item-title{font-weight:600;font-size:0.85rem;line-height:1.2}
.perm-item-desc{font-size:0.72rem;color:var(--text-muted);line-height:1.3}
.perm-actions{display:flex;gap:8px;flex-wrap:wrap}
.perm-badge{font-size:0.65rem;padding:2px 6px;border-radius:9999px;background:var(--bg3);border:1px solid var(--border-light);color:var(--text-muted)}


/* V80: safe same-route presentation after manual admin logout. */
#admin-container.il-admin-logged-out .admin-sidebar,
#admin-container.il-admin-logged-out #admin-sidebar-open,
#admin-container.il-admin-logged-out #admin-profile-dropdown{display:none !important}
#admin-container.il-admin-logged-out .admin-layout{display:block}
#admin-container.il-admin-logged-out .admin-main{width:100%;min-width:0}

/* V96: compact video landing layout. The author identity now lives inside
   the branded top bar so the actual video starts much higher on the page. */
.il-video-topbar{box-sizing:border-box}
.il-video-topbar + div{box-sizing:border-box}
@media(max-width:700px){
  .il-video-topbar{padding:16px!important;min-height:96px!important;align-items:flex-start!important}
  .il-video-topbar > div:first-of-type{align-items:flex-start!important}
  .il-video-topbar > div:last-child{display:none!important}
  .il-video-topbar img{display:block}
  .il-video-shell{border-radius:18px!important}
  .il-video-shell > div:last-child{padding:12px 12px 16px!important}
  .il-video-shell iframe{min-height:220px!important}
  .il-video-shell video{max-height:none!important}
}

/* V105: Admin Posts pagination follows the FollowPagination pattern:
   First/Prev + every page number + Next/Last, wrapping naturally. */
#admin-posts-pagination{margin-top:20px}
#admin-posts-pagination .follow-style-admin-pagination{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;width:100%}
#admin-posts-pagination .page-btn{min-width:36px;height:36px;padding:0 10px;border-radius:10px}
#admin-posts-pagination .page-btn:not(:disabled):hover{transform:translateY(-1px)}
#admin-posts-pagination .page-btn:disabled{opacity:.45;cursor:not-allowed;pointer-events:none}


/* V112 — Full visual refinement for the public post author profile.
   Layout-only styling: author/contact data, hydration, routing and actions
   remain unchanged. The card adapts continuously across desktop, tablet,
   large phones and very small screens without horizontal overflow. */
.author-card{
  margin-top:0 !important;
  position:relative;
  display:grid;
  grid-template-columns:56px minmax(0,1fr) minmax(220px,280px);
  align-items:start;
  gap:18px;
  min-width:0;
  padding:20px;
  border-radius:20px;
  background:
    linear-gradient(145deg,
      color-mix(in srgb,var(--bg2) 96%,var(--primary-light) 4%) 0%,
      var(--bg2) 62%,
      color-mix(in srgb,var(--bg2) 94%,var(--accent-light) 6%) 100%);
  border:1px solid var(--border);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
  isolation:isolate;
}
.author-card::before{
  content:'';
  position:absolute;
  inset:0 0 auto;
  height:3px;
  background:linear-gradient(90deg,var(--primary) 0%,var(--primary) 62%,var(--accent) 100%);
  opacity:.9;
}
.author-card > *,
.author-info,
.author-actions,
.author-avatar-slot{min-width:0;}
.author-avatar-slot{
  width:56px;
  min-height:56px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:2px;
}
.author-avatar-slot .avatar-wrapper,
.author-avatar-slot .avatar-wrapper > .avatar,
.author-avatar-slot .avatar-wrapper > img{
  width:56px !important;
  height:56px !important;
}
.author-avatar-slot .avatar-wrapper{position:relative;margin:0;flex:0 0 56px;}
.author-avatar-slot .avatar-wrapper > .avatar{display:flex;align-items:center;justify-content:center;overflow:hidden;}
.author-avatar-slot .avatar-wrapper > img{display:block;object-fit:cover;border-radius:50%;}
.author-avatar-slot .online-dot{right:-1px !important;bottom:0 !important;border:2px solid var(--bg2);box-sizing:border-box;}
.author-info{width:100%;padding-top:1px;}
.author-name{
  font-weight:700;
  font-size:1.06rem;
  line-height:1.35;
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
}
.author-name .badge{max-width:100%;font-size:.67rem !important;padding:4px 9px;}
.author-online{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:#15803d;
  font-size:.74rem;
  font-weight:700;
  white-space:nowrap;
}
.dark .author-online{color:#4ade80;}
.author-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px 12px;
  margin-top:7px;
  font-size:.83rem;
  line-height:1.55;
  color:var(--text-muted);
}
.author-meta-item{
  display:inline-flex;
  align-items:flex-start;
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.author-bio{
  margin-top:10px;
  padding:10px 12px;
  border-radius:12px;
  background:color-mix(in srgb,var(--primary-light) 52%,var(--bg2) 48%);
  border:1px solid color-mix(in srgb,var(--primary) 15%,var(--border-light) 85%);
  color:var(--text-muted);
  font-size:.87rem;
  line-height:1.6;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.author-bio-text{min-width:0;}
.author-approval-meta{
  margin-top:5px;
  font-size:.74rem;
  line-height:1.45;
  color:var(--text-muted);
}
.author-stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(128px,1fr));
  gap:7px;
  margin-top:11px;
  min-width:0;
}
.author-stat{
  min-width:0;
  display:flex;
  align-items:center;
  min-height:32px;
  padding:6px 9px;
  border-radius:10px;
  background:var(--bg3);
  border:1px solid var(--border-light);
  color:var(--text-muted);
  font-size:.76rem;
  line-height:1.35;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.author-actions{
  width:100%;
  max-width:280px;
  min-width:0;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:center;
  gap:8px;
  padding-left:18px;
  border-left:1px solid var(--border-light);
}
.author-actions::before{
  content:'লেখক ও যোগাযোগ';
  display:block;
  margin-bottom:1px;
  color:var(--text-muted);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.01em;
}
.author-actions > .btn,
.author-chat-actions > .btn{
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:42px;
  padding:9px 12px !important;
  border-radius:12px;
  white-space:normal;
  line-height:1.3;
  text-align:center;
  overflow-wrap:anywhere;
  word-break:break-word;
  box-shadow:none;
}
.author-actions > .btn-secondary{
  background:var(--bg2);
  border-color:var(--border);
}
.author-actions > .btn-ghost{
  background:var(--bg3);
  border:1px solid var(--border-light);
  color:var(--text-muted);
}
.author-chat-actions{
  width:100%;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.author-chat-actions > .btn-whatsapp,
.author-chat-actions > .btn-messenger{box-shadow:none;}
.author-actions > .btn:hover,
.author-chat-actions > .btn:hover{transform:translateY(-1px);}
.author-card + div{
  margin-top:20px !important;
}
@media(max-width:959px){
  .author-card{
    grid-template-columns:56px minmax(0,1fr);
    gap:15px 14px;
    padding:18px;
  }
  .author-actions{
    grid-column:1 / -1;
    max-width:none;
    padding:14px 0 0;
    border-left:0;
    border-top:1px solid var(--border-light);
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .author-actions::before{display:none;}
  .author-chat-actions{display:contents;}
  .author-actions > .btn,
  .author-chat-actions > .btn{min-height:44px;}
}
@media(max-width:639px){
  .author-card{
    gap:13px 12px;
    padding:15px;
    border-radius:18px;
  }
  .author-name{font-size:1rem;gap:6px;}
  .author-meta{gap:4px 9px;font-size:.81rem;line-height:1.5;}
  .author-bio{font-size:.84rem;padding:9px 10px;}
  .author-stats{grid-template-columns:repeat(auto-fit,minmax(116px,1fr));gap:6px;}
  .author-stat{font-size:.74rem;padding:6px 8px;}
  .author-actions{grid-template-columns:1fr;gap:7px;padding-top:12px;}
}
@media(max-width:419px){
  .author-card{
    grid-template-columns:48px minmax(0,1fr);
    padding:12px;
    gap:11px 10px;
  }
  .author-avatar-slot{width:48px;min-height:48px;}
  .author-avatar-slot .avatar-wrapper,
  .author-avatar-slot .avatar-wrapper > .avatar,
  .author-avatar-slot .avatar-wrapper > img{
    width:48px !important;
    height:48px !important;
  }
  .author-avatar-slot .avatar-wrapper{flex-basis:48px;}
  .author-name{font-size:.96rem;}
  .author-name .badge{font-size:.63rem !important;padding:3px 7px;}
  .author-meta{font-size:.77rem;gap:3px 8px;}
  .author-bio{font-size:.81rem;margin-top:8px;}
  .author-stat{font-size:.71rem;padding:5px 7px;}
}
@media(max-width:359px){
  .author-card{padding:10px;border-radius:16px;gap:10px 9px;}
  .author-stats{grid-template-columns:1fr;}
  .author-actions > .btn,
  .author-chat-actions > .btn{min-height:42px;font-size:.79rem;padding:8px 10px !important;}
}
@media(min-width:960px){
  .author-card .author-actions{justify-self:stretch;}
}
/* V112: make the post-detail action row itself fluid so the refined author
   section is not followed by another cramped control cluster on phones. */
@media(max-width:639px){
  .detail-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .detail-actions .btn{
    width:100%;
    min-height:44px;
    padding:10px 12px;
    white-space:normal;
    line-height:1.3;
    overflow-wrap:anywhere;
  }
}
@media(max-width:419px){
  .detail-actions{grid-template-columns:1fr;}
}


/* ===================== V119: Professional HD Social Share =====================
   Scope is intentionally limited to post-share UI and .btn-share so existing
   public/admin components keep their original contracts.
============================================================================= */
.btn-share{
  background:linear-gradient(135deg,var(--primary) 0%,#1a7a52 100%);
  color:#fff;
  border-color:var(--primary);
  box-shadow:0 5px 18px rgba(14,90,60,.22);
}
.btn-share:hover{
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 8px 24px rgba(14,90,60,.28);
}
.btn-share svg{flex:0 0 auto}

.post-share-modal{
  max-width:720px;
  width:min(720px,100%);
}
.post-share-heading{
  font-weight:800;
  font-size:1.08rem;
  line-height:1.45;
}
.post-share-subheading{
  color:var(--text-muted);
  font-size:.76rem;
  line-height:1.45;
  margin-top:3px;
}
.post-share-body{padding:18px}
.post-share-preview{
  position:relative;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--primary) 20%,var(--border));
  border-radius:20px;
  padding:19px;
  background:
    radial-gradient(120% 130% at 0% 0%,var(--primary-light) 0%,transparent 46%),
    linear-gradient(160deg,var(--bg2),var(--bg4));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 8px 28px rgba(14,90,60,.06);
}
.dark .post-share-preview{
  background:
    radial-gradient(120% 130% at 0% 0%,rgba(47,191,133,.14) 0%,transparent 46%),
    linear-gradient(160deg,var(--bg2),var(--bg3));
}
.post-share-preview:after{
  content:'';
  position:absolute;
  width:180px;height:180px;
  right:-78px;bottom:-90px;
  border-radius:50%;
  border:1px solid color-mix(in srgb,var(--primary) 15%,transparent);
  box-shadow:0 0 0 18px color-mix(in srgb,var(--primary) 5%,transparent),0 0 0 36px color-mix(in srgb,var(--primary) 3%,transparent);
  pointer-events:none;
}
.post-share-brand{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:11px;
  padding-bottom:14px;
  border-bottom:1px dashed var(--border);
}
.post-share-logo{
  width:46px;height:46px;
  border-radius:13px;
  object-fit:cover;
  flex:0 0 auto;
  background:var(--bg2);
  border:1px solid var(--border);
  box-shadow:0 3px 12px rgba(14,90,60,.12);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.post-share-logo-vector{
  background:transparent;
  border:0;
  box-shadow:none;
}
.post-share-logo-vector svg{
  display:block;
  width:46px;height:46px;
  filter:drop-shadow(0 2px 5px rgba(14,90,60,.12));
}
.post-share-brand-copy{min-width:0}
.post-share-site{
  font-weight:800;
  color:var(--text);
  line-height:1.18;
  overflow-wrap:anywhere;
}
.post-share-tag{
  font-size:.70rem;
  color:var(--text-muted);
  margin-top:3px;
  overflow-wrap:anywhere;
}
.post-share-type-badge{
  margin-left:auto;
  flex:0 0 auto;
  padding:5px 8px;
  border-radius:999px;
  background:var(--bg2);
  border:1px solid var(--border);
  color:var(--text-muted);
  font-size:.62rem;
  font-weight:800;
}
.post-share-author{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:11px;
  margin-top:14px;
  min-width:0;
}
.post-share-author .author-avatar,
.post-share-author .avatar{flex:0 0 auto}
.post-share-author-copy{min-width:0}
.post-share-author-name{
  font-weight:800;
  font-size:.94rem;
  line-height:1.25;
  overflow-wrap:anywhere;
}
.post-share-author-meta{
  color:var(--text-muted);
  font-size:.73rem;
  margin-top:3px;
  overflow-wrap:anywhere;
}
.post-share-author-verified{
  margin-left:auto;
  width:25px;height:25px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--primary);
  color:#fff;
  font-size:.75rem;
  font-weight:800;
  flex:0 0 auto;
}
.post-share-title{
  position:relative;
  z-index:1;
  margin-top:16px;
  font-weight:800;
  font-size:1.23rem;
  line-height:1.48;
  overflow-wrap:anywhere;
}
.post-share-description{
  position:relative;
  z-index:1;
  margin-top:7px;
  color:var(--text-muted);
  font-size:.87rem;
  line-height:1.65;
  overflow-wrap:anywhere;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.post-share-url{
  position:relative;
  z-index:1;
  margin-top:12px;
  padding:9px 10px;
  border-radius:10px;
  background:var(--bg2);
  border:1px solid var(--border-light);
  color:var(--text-light);
  font:500 .67rem/1.35 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  overflow-wrap:anywhere;
}
.post-share-arabic-shell{
  position:relative;
  z-index:1;
  margin-top:16px;
  padding:15px 16px 18px;
  min-height:210px;
  border:1px solid rgba(168,126,82,.32);
  border-radius:18px;
  background:
    radial-gradient(circle at 88% 10%,rgba(255,237,183,.75),transparent 30%),
    linear-gradient(180deg,rgba(255,250,242,.86),rgba(247,232,205,.78));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.68);
}
.post-share-arabic-shell:before{
  content:'';
  position:absolute;
  width:92px;height:92px;
  right:-28px;top:-14px;
  border-radius:50%;
  border:1px solid rgba(134,96,59,.10);
  box-shadow:0 0 0 13px rgba(134,96,59,.05),0 0 0 26px rgba(134,96,59,.03);
  pointer-events:none;
}
.post-share-arabic-label{
  position:relative;
  width:max-content;
  max-width:100%;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(242,223,192,.92);
  border:1px solid rgba(201,170,127,.72);
  color:#765438;
  font-size:.66rem;
  font-weight:800;
}
.post-share-arabic-text{
  position:relative;
  z-index:1;
  margin-top:11px;
  color:#5c4027;
  font-family:"Noto Naskh Arabic","Noto Sans Arabic","Noto Naskh Arabic UI",serif;
  font-size:clamp(1.12rem,2.4vw,1.7rem);
  line-height:1.9;
  text-align:center;
  unicode-bidi:plaintext;
  white-space:pre-line;
  text-shadow:0 1px 0 rgba(255,255,255,.45);
}
.post-share-native{
  width:100%;
  display:flex;
  align-items:center;
  gap:11px;
  margin-top:14px;
  padding:13px 14px;
  border:1px solid color-mix(in srgb,var(--primary) 26%,var(--border));
  border-radius:14px;
  background:var(--primary-soft);
  color:var(--text);
  text-align:left;
  cursor:pointer;
  transition:.2s;
}
.post-share-native:hover{
  transform:translateY(-1px);
  border-color:var(--primary);
  box-shadow:var(--shadow-sm);
}
.post-share-native-icon{
  width:38px;height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:var(--primary);
  color:#fff;
  flex:0 0 auto;
}
.post-share-native b{display:block;font-size:.88rem;line-height:1.25}
.post-share-native small{display:block;margin-top:2px;color:var(--text-muted);font-size:.69rem;line-height:1.35}
.post-share-native-arrow{margin-left:auto;font-size:1.45rem;color:var(--primary);line-height:1}
.post-share-section-label{
  margin:18px 0 9px;
  color:var(--text-muted);
  font-size:.74rem;
  font-weight:800;
}
.post-share-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.post-share-network{
  min-width:0;
  min-height:58px;
  padding:10px 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid var(--border);
  border-radius:13px;
  background:var(--bg2);
  color:var(--text);
  cursor:pointer;
  transition:.2s;
}
.post-share-network:hover{
  transform:translateY(-1px);
  box-shadow:var(--shadow-sm);
  border-color:var(--primary);
}
.post-share-network:focus-visible,
.post-share-native:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 24%,transparent);outline-offset:2px}
.post-share-network span{
  width:28px;height:28px;
  border-radius:9px;
  display:grid;
  place-items:center;
  color:#fff;
  font:800 .82rem/1 system-ui,sans-serif;
  flex:0 0 auto;
}
.post-share-network b{font-size:.78rem;line-height:1.15}
.post-share-network.facebook span{background:#1877f2}
.post-share-network.whatsapp span{background:#25d366}
.post-share-network.telegram span{background:#229ed9}
.post-share-network.x span{background:#111}
.post-share-network.linkedin span{background:#0a66c2}
.post-share-network.email span{background:var(--primary)}
.post-share-bottom-actions{
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:15px;
  padding-top:14px;
  border-top:1px solid var(--border-light);
}
.post-share-copy,.post-share-caption{flex:1 1 auto}
.post-share-note{
  display:flex;
  gap:9px;
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  background:var(--bg3);
  color:var(--text-muted);
  font-size:.76rem;
  line-height:1.55;
}
.post-share-note-warning{
  background:color-mix(in srgb,#d97706 8%,var(--bg3));
  border:1px solid color-mix(in srgb,#d97706 18%,var(--border));
}
.post-share-note>span{
  width:24px;height:24px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--primary);
  color:#fff;
  flex:0 0 auto;
  font-weight:800;
}
.post-share-note-warning>span{background:#d97706}
.post-share-note b{color:var(--text)}
.post-share-note small{font-size:.70rem}


.post-share-preview-primary{
  box-shadow:0 10px 30px rgba(14,90,60,.10);
}

@media(max-width:720px){
  .post-share-modal{max-width:100%}
  .post-share-body{padding:15px}
  .post-share-preview{padding:15px}
  .post-share-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .post-share-bottom-actions{flex-wrap:wrap}
  .post-share-bottom-actions .btn{flex:1 1 150px}
}
@media(max-width:480px){
  .post-share-heading{font-size:1rem}
  .post-share-subheading{font-size:.69rem}
  .post-share-preview{padding:13px}
  .post-share-type-badge{display:none}
  .post-share-title{font-size:1.08rem}
  .post-share-network{min-height:54px;padding:8px 6px}
  .post-share-network b{font-size:.72rem}
  .post-share-network span{width:25px;height:25px;border-radius:8px}
}
@media(max-width:360px){
  .post-share-grid{grid-template-columns:1fr}
  .post-share-bottom-actions{flex-direction:column}
  .post-share-bottom-actions .btn{width:100%;flex-basis:auto}
  .post-share-author{gap:9px}
  .post-share-author-meta{font-size:.68rem}
}
@media(prefers-reduced-motion:reduce){
  .btn-share,.post-share-network,.post-share-native{transition:none}
}


/* V106: the visible social card is Arabic-first and never exposes the canonical URL in the artwork. */
.post-share-preview .post-share-url{display:none !important;}

/* V124: HD social-share cache-safe release. */


/* V142 dedication card */
.dedication-card{
  position:relative;
  display:flex;
  align-items:center;
  gap:16px;
  margin:0 0 22px;
  padding:18px 20px;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--primary) 20%,var(--border-light));
  border-radius:20px;
  background:
    linear-gradient(135deg,color-mix(in srgb,var(--primary-soft) 86%,#fff 14%),var(--bg2) 62%,color-mix(in srgb,var(--accent-light) 75%,var(--bg2) 25%));
  box-shadow:var(--shadow-sm);
}
.dedication-card-glow{
  position:absolute;
  width:180px;
  height:180px;
  right:-72px;
  top:-88px;
  border-radius:50%;
  background:radial-gradient(circle,color-mix(in srgb,var(--accent) 18%,transparent) 0%,transparent 68%);
  pointer-events:none;
}
.dedication-icon-wrap{
  position:relative;
  z-index:1;
  width:54px;
  height:54px;
  flex:0 0 54px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  border:1px solid color-mix(in srgb,var(--primary) 18%,var(--border));
  background:color-mix(in srgb,var(--bg2) 72%,#fff 28%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 8px 24px rgba(14,90,60,.08);
  font-size:1.6rem;
}
.dedication-content{position:relative;z-index:1;min-width:0}
.dedication-kicker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-bottom:2px;
  color:var(--primary);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.03em;
}
.dedication-title{
  color:var(--text-muted);
  font-size:.88rem;
  line-height:1.55;
}
.dedication-person{
  margin-top:3px;
  color:var(--text);
  font-size:1.15rem;
  font-weight:800;
}
.dedication-relation{
  margin-top:4px;
  color:var(--text-muted);
  font-size:.84rem;
}
.dedication-about,.dedication-dua{
  margin-top:10px;
  padding:10px 12px;
  border-radius:12px;
  line-height:1.7;
  font-size:.86rem;
  border:1px solid color-mix(in srgb,var(--primary) 10%,var(--border-light));
  background:color-mix(in srgb,var(--bg2) 78%,var(--primary-soft) 22%);
  color:var(--text);
}
.dedication-dua{
  background:color-mix(in srgb,var(--accent-light) 72%,var(--bg2) 28%);
  border-color:color-mix(in srgb,var(--accent) 18%,var(--border-light));
}
.dedication-subhead{
  font-size:.72rem;
  font-weight:800;
  color:var(--primary);
  margin-bottom:3px;
}
.dedication-dua .dedication-subhead{color:var(--accent);}
.dedication-editor-card{
  background:linear-gradient(135deg,var(--bg2),color-mix(in srgb,var(--primary-soft) 65%,var(--bg2) 35%));
  border:1px dashed color-mix(in srgb,var(--primary) 28%,var(--border));
}
@media (max-width:640px){
  .dedication-card{
    gap:12px;
    padding:15px 16px;
    border-radius:16px;
  }
  .dedication-icon-wrap{
    width:46px;
    height:46px;
    flex-basis:46px;
    border-radius:13px;
    font-size:1.35rem;
  }
  .dedication-person{font-size:1.02rem}
}


/* ===================== V154: Admin mobile overlay & scrollability ===================== */
@media(max-width:767px){
  /* Keep the admin main document vertically scrollable on small screens.
     The public mobile drawer lock must never trap normal admin-page scrolling. */
  #admin-container .admin-layout{overflow-x:clip;overflow-y:visible}
  #admin-container .admin-main{overflow-x:visible;overflow-y:visible;min-height:100vh;position:relative}
  #admin-container #admin-main{overflow:visible;min-width:0}

  /* Admin language dropdown: the inline right:0/left:auto on the markup used to
     override the generic V153 centering rule and clip the panel on narrow screens. */
  #admin-container .lang-selector .lang-dropdown,
  #admin-container #admin-lang-dropdown{
    position:fixed !important;
    top:calc(var(--header-h,62px) + 6px) !important;
    left:50% !important;
    right:auto !important;
    width:min(300px,calc(100vw - 24px)) !important;
    max-width:calc(100vw - 24px) !important;
    max-height:min(70vh,520px) !important;
    transform:translateX(-50%) !important;
    transform-origin:center top !important;
    z-index:150 !important;
  }

  /* Admin profile menu: turn it into a viewport-level drawer with an internal
     scroll region, so every item remains reachable on short Android screens. */
  /* Keep the menu genuinely hidden until the profile button opens it.
     The V154 viewport drawer rule used display:flex!important on the base
     selector, which outranked .hidden and made the profile menu appear
     immediately after login. */
  #admin-container #admin-profile-menu.hidden{
    display:none !important;
  }
  #admin-container #admin-profile-menu:not(.hidden){
    display:flex !important;
  }

  #admin-container #admin-profile-menu{
    position:fixed !important;
    top:calc(var(--header-h,62px) + 8px) !important;
    left:12px !important;
    right:12px !important;
    width:auto !important;
    max-width:none !important;
    max-height:calc(100dvh - var(--header-h,62px) - 20px) !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
    z-index:160 !important;
    box-sizing:border-box;
  }
  #admin-container #admin-profile-menu .admin-profile-menu-header{flex:0 0 auto}
  #admin-container #admin-profile-menu .admin-profile-menu-body{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
  }
  #admin-container #admin-profile-menu .admin-profile-menu-footer{flex:0 0 auto}

  /* Dashboard category breakdown must use the document scroll instead of being
     clipped by an ancestor, while preserving its full nine-category list. */
  #admin-container #admin-main .admin-dashboard-category-breakdown{
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
    min-width:0;
  }
  #admin-container #admin-main .admin-dashboard-category-breakdown-list{
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
    min-width:0;
  }
}

/* ===================== V153: Mobile Language Dropdown Center Position ===================== */
@keyframes langDropdownCenterIn{from{transform:translateX(-50%) scale(.96);opacity:0}to{transform:translateX(-50%) scale(1);opacity:1}}
@media(max-width:767px){
  /* Center the mobile language panel in the viewport. The previous right-anchored
     rule could leave the panel visually pressed against the right edge. */
  .lang-selector .lang-dropdown{
    position:fixed;
    top:calc(var(--header-h,62px) + 6px);
    left:50%;
    right:auto;
    width:min(300px, calc(100vw - 24px));
    max-width:calc(100vw - 24px);
    max-height:min(70vh, 520px);
    z-index:140;
    transform:translateX(-50%);
    transform-origin:center top;
    animation:langDropdownCenterIn .2s ease;
  }
}


/* ===================== V157: Admin Mobile Category List Touch Scroll ===================== */
@media(max-width:767px){
  /* The dashboard category breakdown is an intentionally bounded touch-scroll
     region on small screens. This guarantees that when the category list is
     taller than the device viewport, the user can swipe INSIDE the list to
     reach every category without relying on a blocked/short document scroll. */
  #admin-container #admin-main .admin-dashboard-category-breakdown-list{
    max-height:clamp(300px,48vh,430px) !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    touch-action:pan-y;
    scrollbar-gutter:stable;
    padding-right:4px;
  }
  #admin-container #admin-main .admin-dashboard-category-breakdown-list > div{
    flex:0 0 auto;
  }
}


/* ===================== V158: Admin Mobile Right-Side Content Visibility =====================
   Prevent dashboard/post/category blocks from extending beyond the Android viewport.
   Tables keep their intended horizontal scroll inside .table-wrap; ordinary cards and
   flex/grid blocks are constrained to the available width so their right side stays visible.
============================================================================= */
@media(max-width:767px){
  #admin-container{
    width:100% !important;
    max-width:100vw !important;
    min-width:0 !important;
    overflow-x:hidden !important;
    box-sizing:border-box;
  }
  #admin-container .admin-layout,
  #admin-container .admin-main,
  #admin-container #admin-main,
  #admin-container .admin-content{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box;
  }
  #admin-container #admin-main{
    padding-left:12px !important;
    padding-right:12px !important;
    overflow-x:hidden !important;
  }
  #admin-container #admin-main > *,
  #admin-container #admin-main .grid,
  #admin-container #admin-main .md-grid-2,
  #admin-container #admin-main .md-grid-3,
  #admin-container #admin-main .md-grid-4,
  #admin-container #admin-main .card,
  #admin-container #admin-main .stat-card,
  #admin-container #admin-main .approval-banner,
  #admin-container #admin-main .table-wrap{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box;
  }
  #admin-container #admin-main .md-grid-2 > *,
  #admin-container #admin-main .md-grid-3 > *,
  #admin-container #admin-main .md-grid-4 > *{
    min-width:0 !important;
    max-width:100% !important;
  }
  #admin-container #admin-main .admin-dashboard-category-breakdown-list{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box;
    padding-right:4px;
  }
  #admin-container #admin-main .admin-dashboard-category-breakdown-list > div,
  #admin-container #admin-main .admin-dashboard-category-breakdown-list .progress{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box;
  }
  #admin-container #admin-main .table-wrap{
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
  }
  #admin-container #admin-main .table{
    min-width:720px;
  }
  #admin-container #admin-main [style*="display:flex"]{
    min-width:0;
    max-width:100%;
  }
  #admin-container #admin-main img{
    max-width:100%;
  }
}
/* V186 cache marker */

/* V191: Compact contributor bio-to-contact spacing; removes the reserved empty bio height on desktop/tablet while preserving mobile behavior. */
/* ===================== V186: Public Contributors Directory + Infinite Scroll =====================
   New public-only styles for #contributors and #contributors/<userId>.
   No existing component selectors are overridden except through the dedicated
   .contributors-* namespace, keeping the current site UI isolated. */
.contributors-page{padding-bottom:54px}
.contributors-hero{
  position:relative;
  overflow:hidden;
  padding:34px 0 38px;
  background:
    radial-gradient(circle at 84% 22%,color-mix(in srgb,var(--accent-light) 88%,transparent) 0%,transparent 34%),
    radial-gradient(circle at 10% 80%,color-mix(in srgb,var(--primary-light) 78%,transparent) 0%,transparent 38%),
    linear-gradient(145deg,var(--bg2) 0%,var(--bg) 64%,var(--primary-soft) 100%);
  border-bottom:1px solid var(--border-light);
}
.contributors-hero::before{
  content:'';
  position:absolute;
  inset:0;
  opacity:.44;
  pointer-events:none;
  background-image:
    linear-gradient(30deg,transparent 44%,color-mix(in srgb,var(--primary) 7%,transparent) 45%,transparent 46%),
    linear-gradient(150deg,transparent 44%,color-mix(in srgb,var(--accent) 8%,transparent) 45%,transparent 46%);
  background-size:48px 48px;
}
.contributors-hero-orb{position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none}
.contributors-hero-orb-a{width:260px;height:260px;right:-60px;top:-95px;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 22%,transparent),transparent 68%)}
.contributors-hero-orb-b{width:200px;height:200px;left:-85px;bottom:-110px;background:radial-gradient(circle,color-mix(in srgb,var(--primary) 17%,transparent),transparent 70%)}
.contributors-breadcrumb{position:relative;z-index:1;color:var(--text-muted);margin-bottom:18px}
.contributors-breadcrumb a{text-decoration:none;color:var(--primary);font-weight:700}
.contributors-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);align-items:center;gap:34px}
.contributors-hero-copy{max-width:760px}
.contributors-hero-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:9999px;background:color-mix(in srgb,var(--primary-light) 72%,var(--bg2) 28%);color:var(--primary);border:1px solid color-mix(in srgb,var(--primary) 16%,var(--border-light) 84%);font-size:.78rem;font-weight:800;letter-spacing:.01em}
.contributors-hero-copy h1{margin-top:12px;font-size:clamp(2rem,4vw,3.15rem);line-height:1.15;font-weight:800;letter-spacing:-.02em}
.contributors-hero-copy p{margin-top:11px;max-width:690px;color:var(--text-muted);font-size:1rem;line-height:1.85}
.contributors-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}
.contributors-hero-primary{background:var(--primary);color:#fff;border:1px solid var(--primary);box-shadow:0 9px 25px color-mix(in srgb,var(--primary) 20%,transparent)}
.contributors-hero-primary:hover{background:var(--primary-hover);color:#fff;transform:translateY(-1px)}
.contributors-hero-secondary{background:var(--bg2);color:var(--text);border-color:var(--border)}
.contributors-hero-secondary:hover{background:var(--bg3);transform:translateY(-1px)}
.contributors-hero-emblem{position:relative;display:flex;align-items:center;justify-content:center;min-height:300px}
.contributors-emblem-ring{position:absolute;border-radius:50%;border:1px solid color-mix(in srgb,var(--primary) 18%,transparent);box-shadow:inset 0 0 0 10px color-mix(in srgb,var(--primary-light) 50%,transparent)}
.contributors-emblem-ring.ring-one{width:220px;height:220px;transform:rotate(10deg);border-radius:42% 58% 48% 52% / 56% 44% 56% 44%}
.contributors-emblem-ring.ring-two{width:172px;height:172px;transform:rotate(-22deg);border-color:color-mix(in srgb,var(--accent) 28%,transparent);border-radius:55% 45% 52% 48% / 44% 57% 43% 56%}
.contributors-emblem-core{position:relative;width:132px;height:132px;border-radius:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#fff;background:linear-gradient(145deg,var(--primary),#176f4f 62%,#8a6a2a);box-shadow:0 18px 40px color-mix(in srgb,var(--primary) 25%,transparent),inset 0 0 0 1px rgba(255,255,255,.18);transform:rotate(2deg)}
.contributors-emblem-core span{font-size:3rem;line-height:1}
.contributors-emblem-core small{font-size:.64rem;opacity:.9;font-weight:700;white-space:nowrap}
.contributors-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}
.contributors-summary-card{display:flex;align-items:center;gap:11px;min-width:0;padding:15px 16px;border-radius:16px;border:1px solid var(--border-light);background:var(--bg2);box-shadow:var(--shadow-sm)}
.contributors-summary-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:13px;background:var(--primary-light);font-size:1.15rem}
.contributors-summary-copy{display:flex;flex-direction:column;min-width:0}
.contributors-summary-copy strong{font-size:1.15rem;line-height:1.1;font-weight:800;color:var(--text)}
.contributors-summary-copy span{margin-top:3px;font-size:.76rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.contributors-summary-green .contributors-summary-icon{background:color-mix(in srgb,var(--primary-light) 84%,#e0f5e9 16%)}
.contributors-summary-gold .contributors-summary-icon{background:var(--accent-light)}
.contributors-summary-blue .contributors-summary-icon{background:#e8f4f8;color:#12647d}
.contributors-summary-earth .contributors-summary-icon{background:#f6eee5;color:#8a5a2e}
.dark .contributors-summary-blue .contributors-summary-icon{background:#19303a;color:#7dd3fc}
.dark .contributors-summary-earth .contributors-summary-icon{background:#30261d;color:#f0c38b}
.contributors-directory-section,.contributors-posts-section{padding-top:32px}
.contributors-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.contributors-section-head h2{margin-top:3px;font-size:1.48rem;line-height:1.3;font-weight:800}
.contributors-section-head p{margin-top:4px;color:var(--text-muted);font-size:.88rem;line-height:1.7}
.contributors-section-kicker{font-size:.72rem;font-weight:800;color:var(--primary);letter-spacing:.035em;text-transform:uppercase}
.contributors-member-count{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:9999px;background:var(--bg3);border:1px solid var(--border-light);color:var(--text-muted);font-size:.78rem;font-weight:700}
.contributors-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.contributors-card{scroll-margin-top:120px}
.contributors-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  padding:18px;
  border-radius:20px;
  border:1px solid var(--border-light);
  background:linear-gradient(155deg,var(--bg2) 0%,var(--bg2) 74%,color-mix(in srgb,var(--primary-light) 34%,var(--bg2) 66%) 100%);
  box-shadow:var(--shadow-sm);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
  animation:contributors-card-in .45s ease both;
  animation-delay:var(--contributors-delay,0ms);
}
.contributors-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:color-mix(in srgb,var(--primary) 24%,var(--border-light) 76%)}
.contributors-card::before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--primary),var(--accent));opacity:.86}
.contributors-card-glow{position:absolute;width:150px;height:150px;right:-70px;top:-68px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--primary) 13%,transparent),transparent 70%);pointer-events:none}
.contributors-card-top{display:flex;align-items:flex-start;gap:13px;min-width:0}
.contributors-avatar-wrap{position:relative;flex:0 0 auto}
.contributors-avatar{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:28px 28px 28px 12px;color:#fff;font-weight:800;font-size:2rem;box-shadow:0 9px 22px color-mix(in srgb,var(--primary) 16%,transparent),inset 0 0 0 2px rgba(255,255,255,.22)}
.contributors-avatar span{position:relative;z-index:1;text-shadow:0 2px 8px rgba(0,0,0,.18)}
.contributors-avatar i{position:absolute;right:6px;bottom:5px;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;font-style:normal;font-size:.74rem;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25)}
.contributors-avatar-photo{background:var(--bg3);box-shadow:0 9px 22px rgba(14,90,60,.09)}
.contributors-avatar-photo img{width:100%;height:100%;object-fit:cover;display:block}
.contributors-role-dot{position:absolute;right:-6px;top:-6px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--bg2);border:1px solid var(--border);box-shadow:var(--shadow-sm);font-size:.76rem}
.contributors-card-head{min-width:0;padding-top:2px}
.contributors-name-row{display:flex;align-items:flex-start;gap:7px;flex-wrap:wrap}
.contributors-name-row h2{font-size:1.02rem;line-height:1.4;font-weight:800;min-width:0;overflow-wrap:anywhere}
.contributors-role-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:9999px;border:1px solid color-mix(in srgb,var(--primary) 12%,var(--border-light) 88%);background:var(--primary-light);color:var(--primary);font-size:.65rem;line-height:1.2;font-weight:800;white-space:nowrap}
.contributors-role-badge.admin{background:var(--accent-light);color:var(--accent-dark);border-color:color-mix(in srgb,var(--accent) 22%,var(--border-light) 78%)}
.contributors-username{margin-top:3px;color:var(--text-muted);font-size:.76rem;overflow-wrap:anywhere}
.contributors-joined{margin-top:2px;color:var(--text-light);font-size:.7rem}
.contributors-bio{margin-top:14px;min-height:0;color:var(--text-muted);font-size:.84rem;line-height:1.65;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.contributors-contact-row{display:flex;align-items:stretch;gap:7px;margin-top:10px;min-height:38px}
.contributors-contact-btn{flex:1 1 0;min-width:0;min-height:38px;padding:8px 9px!important;border-radius:11px!important;font-size:.72rem!important;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:none!important}
.contributors-contact-btn:hover{transform:translateY(-1px)}
.contributors-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:14px}
.contributors-stats > div{min-width:0;padding:8px 7px;border-radius:12px;background:var(--bg3);border:1px solid var(--border-light);text-align:center}
.contributors-stats strong{display:block;font-size:1rem;font-weight:800;line-height:1.15}
.contributors-stats span{display:block;margin-top:3px;font-size:.68rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.contributors-card-bottom{margin-top:13px;padding-top:12px;border-top:1px solid var(--border-light)}
.contributors-category-line{display:flex;align-items:flex-start;gap:6px;color:var(--text-muted);font-size:.71rem;line-height:1.5;min-height:32px}
.contributors-category-line > span:first-child{flex:0 0 auto}
.contributors-category-line > span:last-child{min-width:0;overflow-wrap:anywhere}
.contributors-view-btn{width:100%;margin-top:10px;min-height:42px;border-radius:12px;padding:9px 12px;box-shadow:none}
.contributors-view-btn:hover{transform:translateY(-1px)}
.contributors-loading,.contributors-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;padding:54px 20px;border:1px dashed var(--border);border-radius:18px;background:var(--bg2);color:var(--text-muted)}
.contributors-pagination-sentinel-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:76px;margin-top:8px}
.contributors-pagination-loader{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;max-height:0;padding:0;overflow:hidden;opacity:0;pointer-events:none;transform:translateY(-4px);transition:max-height .25s ease,padding .25s ease,opacity .2s ease,transform .25s ease}
.contributors-pagination-loader.is-active{max-height:130px;min-height:74px;padding:16px 12px 10px;opacity:1;transform:translateY(0)}
.contributors-pagination-loader strong{color:var(--text);font-size:.88rem;font-weight:800}
.contributors-pagination-loader span{color:var(--text-muted);font-size:.73rem;line-height:1.5;text-align:center}
.contributors-pagination-sentinel{width:100%;height:2px;margin-top:1px;scroll-margin-bottom:420px}
.contributors-pagination-sentinel.contributors-pagination-complete{height:1px}
.contributors-load-more-btn{margin-top:10px;min-height:40px;border-radius:9999px}
.contributors-pagination-end{margin-top:9px;padding:8px 13px;border-radius:9999px;background:var(--bg3);border:1px solid var(--border-light);color:var(--text-light);font-size:.7rem;font-weight:700}
.contributors-loading strong,.contributors-empty strong{color:var(--text);font-size:1rem}
.contributors-loading span,.contributors-empty span{max-width:540px;font-size:.82rem;line-height:1.6}
.contributors-loading-spinner{width:34px;height:34px;border:3px solid var(--border-light);border-top-color:var(--primary);border-radius:50%;animation:contributors-spin .8s linear infinite;margin-bottom:6px}
.contributors-empty-icon{display:grid;place-items:center;width:66px;height:66px;border-radius:22px;background:var(--primary-light);font-size:1.55rem;margin-bottom:5px}
.contributors-empty .btn{margin-top:8px}
.contributors-cta{position:relative;overflow:hidden;margin-top:36px;border-radius:24px;background:linear-gradient(135deg,var(--primary) 0%,#176f4f 56%,#5e7c4c 100%);box-shadow:0 16px 42px color-mix(in srgb,var(--primary) 18%,transparent)}
.contributors-cta-pattern{position:absolute;inset:0;opacity:.15;pointer-events:none;background-image:radial-gradient(circle at 18% 20%,#fff 0 1px,transparent 1.5px),radial-gradient(circle at 78% 72%,#fff 0 1px,transparent 1.5px);background-size:26px 26px,32px 32px}
.contributors-cta-inner{position:relative;z-index:1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:24px 26px;color:#fff}
.contributors-cta-icon{width:60px;height:60px;display:grid;place-items:center;border-radius:18px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);font-size:1.65rem;flex:0 0 60px}
.contributors-cta-copy h2{margin-top:2px;font-size:1.34rem;line-height:1.35;font-weight:800}
.contributors-cta-copy p{margin-top:3px;max-width:760px;color:rgba(255,255,255,.83);font-size:.84rem;line-height:1.65}
.contributors-cta-copy .contributors-section-kicker{color:#f3dfaa}
.contributors-cta-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.contributors-cta-actions .btn-primary{background:#fff;color:var(--primary);border-color:#fff}
.contributors-cta-actions .btn-primary:hover{background:#f8faf8;color:var(--primary)}
.contributors-cta-actions .btn-secondary{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.24)}
.contributors-cta-actions .btn-secondary:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.34)}
.contributors-profile-page{padding-bottom:60px}
.contributors-profile-hero{position:relative;overflow:hidden;margin-top:18px;border-radius:24px;border:1px solid var(--border-light);background:linear-gradient(140deg,var(--bg2) 0%,var(--bg2) 56%,var(--primary-soft) 100%);box-shadow:var(--shadow-sm)}
.contributors-profile-hero-decoration{position:absolute;right:-85px;top:-95px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 16%,transparent),transparent 68%);pointer-events:none}
.contributors-profile-main{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;padding:26px 28px 20px}
.contributors-profile-avatar{position:relative}
.contributors-profile-avatar .contributors-avatar{border-radius:34px 34px 34px 14px;box-shadow:0 14px 28px color-mix(in srgb,var(--primary) 17%,transparent)}
.contributors-profile-copy{min-width:0}
.contributors-profile-role{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:9999px;background:var(--primary-light);color:var(--primary);border:1px solid color-mix(in srgb,var(--primary) 14%,var(--border-light) 86%);font-size:.7rem;font-weight:800}
.contributors-profile-role.admin{background:var(--accent-light);color:var(--accent-dark);border-color:color-mix(in srgb,var(--accent) 22%,var(--border-light) 78%)}
.contributors-profile-copy h1{margin-top:7px;font-size:clamp(1.7rem,3.2vw,2.45rem);line-height:1.2;font-weight:800;overflow-wrap:anywhere}
.contributors-profile-username{margin-top:2px;color:var(--text-muted);font-size:.8rem}
.contributors-profile-copy p{margin-top:9px;max-width:760px;color:var(--text-muted);font-size:.9rem;line-height:1.75;overflow-wrap:anywhere}
.contributors-profile-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 14px;margin-top:10px;color:var(--text-light);font-size:.72rem}
.contributors-profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--border-light);background:color-mix(in srgb,var(--bg3) 48%,transparent)}
.contributors-profile-stats > div{padding:13px 15px;text-align:center;border-right:1px solid var(--border-light)}
.contributors-profile-stats > div:last-child{border-right:0}
.contributors-profile-stats strong{display:block;font-size:1.28rem;line-height:1.1;font-weight:800}
.contributors-profile-stats span{display:block;margin-top:3px;font-size:.7rem;color:var(--text-muted)}
@keyframes contributors-card-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes contributors-spin{to{transform:rotate(360deg)}}
@media(max-width:1023px){
  .contributors-hero-grid{grid-template-columns:minmax(0,1fr) 250px;gap:24px}
  .contributors-hero-emblem{min-height:250px}
  .contributors-emblem-ring.ring-one{width:190px;height:190px}
  .contributors-emblem-ring.ring-two{width:150px;height:150px}
  .contributors-emblem-core{width:112px;height:112px;border-radius:34px}
  .contributors-emblem-core span{font-size:2.55rem}
  .contributors-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  .contributors-hero{padding:25px 0 30px}
  .contributors-hero-grid{grid-template-columns:1fr}
  .contributors-hero-emblem{min-height:170px;order:-1}
  .contributors-emblem-ring.ring-one{width:150px;height:150px}
  .contributors-emblem-ring.ring-two{width:118px;height:118px}
  .contributors-emblem-core{width:92px;height:92px;border-radius:28px}
  .contributors-emblem-core span{font-size:2.1rem}
  .contributors-emblem-core small{font-size:.58rem}
  .contributors-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .contributors-grid{grid-template-columns:1fr}
  .contributors-profile-main{grid-template-columns:1fr;padding:22px 20px 18px;text-align:center}
  .contributors-profile-avatar{display:flex;justify-content:center}
  .contributors-profile-role{margin:0 auto}
  .contributors-profile-meta{justify-content:center}
  .contributors-profile-copy p{margin-left:auto;margin-right:auto}
  .contributors-cta-inner{grid-template-columns:auto minmax(0,1fr);padding:20px}
  .contributors-cta-actions{grid-column:1/-1;justify-content:flex-start}
}
@media(max-width:479px){
  .contributors-page{padding-bottom:38px}
  .contributors-hero-copy h1{font-size:1.9rem}
  .contributors-hero-copy p{font-size:.9rem}
  .contributors-hero-actions{display:grid;grid-template-columns:1fr;width:100%}
  .contributors-hero-actions .btn{width:100%}
  .contributors-summary{gap:8px}
  .contributors-summary-card{padding:12px 11px;border-radius:14px}
  .contributors-summary-icon{width:38px;height:38px;flex-basis:38px;border-radius:11px;font-size:1rem}
  .contributors-summary-copy strong{font-size:1rem}
  .contributors-summary-copy span{font-size:.67rem}
  .contributors-section-head h2{font-size:1.25rem}
  .contributors-card{padding:15px;border-radius:18px}
  .contributors-bio{min-height:0;-webkit-line-clamp:4}
  .contributors-profile-main{padding:19px 15px 16px}
  .contributors-profile-avatar .contributors-avatar{width:96px !important;height:96px !important}
  .contributors-profile-copy h1{font-size:1.56rem}
  .contributors-cta{border-radius:19px;margin-top:28px}
  .contributors-cta-inner{grid-template-columns:1fr;padding:18px}
  .contributors-cta-icon{width:52px;height:52px;min-width:52px;border-radius:15px}
  .contributors-cta-copy h2{font-size:1.18rem}
  .contributors-cta-actions{display:grid;grid-template-columns:1fr;width:100%}
  .contributors-cta-actions .btn{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .contributors-card{animation:none;transition:none}
  .contributors-loading-spinner{animation:none}
}
/* ============================================================================ */


/* V194 — Imam/Bokta video platform */
.ik-video-library{min-height:50vh;background:var(--bg)}
.ik-video-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#0e5a3c 0%,#0b6c48 54%,#b08b4f 150%);color:#fff;border-bottom:1px solid rgba(14,90,60,.18)}
.ik-video-hero-pattern{position:absolute;inset:0;opacity:.16;background-image:radial-gradient(circle at 18% 22%,#fff 0 2px,transparent 2.6px),radial-gradient(circle at 76% 68%,#fff 0 2px,transparent 2.6px);background-size:34px 34px,48px 48px}
.ik-video-hero-inner{position:relative;z-index:1;min-height:300px;display:flex;align-items:center;justify-content:space-between;gap:32px;padding-top:30px;padding-bottom:30px}
.ik-video-hero-copy{max-width:760px}
.ik-video-hero h1{font-size:clamp(2rem,4vw,3.15rem);line-height:1.12;margin:14px 0 10px;font-weight:900;letter-spacing:-.02em}
.ik-video-hero p{margin:0;color:rgba(255,255,255,.82);font-size:1rem;line-height:1.8;max-width:700px}
.ik-video-hero-stats{display:flex;gap:18px;flex-wrap:wrap;margin-top:20px}
.ik-video-hero-stats span{padding:9px 13px;border-radius:12px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.15);font-size:.78rem}
.ik-video-hero-stats b{font-size:1rem;margin-right:4px;color:#fff}
.ik-video-hero-art{width:190px;height:190px;border-radius:38px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;flex-shrink:0;background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.18);box-shadow:0 18px 45px rgba(0,0,0,.16);transform:rotate(4deg)}
.ik-video-hero-art div{width:78px;height:78px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:var(--primary);font-size:2rem;padding-left:4px;box-shadow:0 14px 30px rgba(0,0,0,.14)}
.ik-video-hero-art span{font-size:.78rem;opacity:.86}
.ik-video-toolbar{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}
.ik-video-search-wrap{position:relative;max-width:620px}
.ik-video-search-wrap>span{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--text-light);font-size:1.1rem;z-index:1}
.ik-video-search-wrap input{padding-left:38px}
.ik-video-speaker-filters{display:flex;gap:7px;flex-wrap:wrap}
.ik-video-filter{border:1px solid var(--border-light);background:var(--bg2);color:var(--text-muted);border-radius:999px;padding:7px 11px;font-family:inherit;font-size:.76rem;cursor:pointer;transition:.18s ease}
.ik-video-filter:hover{border-color:var(--primary);color:var(--primary)}
.ik-video-filter.active{background:var(--primary);border-color:var(--primary);color:#fff}
.ik-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ik-video-card{overflow:hidden;border:1px solid var(--border-light);border-radius:18px;background:var(--bg2);box-shadow:var(--shadow-sm);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;animation:ikVideoCardIn .42s ease both;animation-delay:var(--ik-video-delay)}
.ik-video-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:rgba(14,90,60,.18)}
.ik-video-thumb{position:relative;display:block;aspect-ratio:16/9;background:#071b13;overflow:hidden}
.ik-video-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.ik-video-card:hover .ik-video-thumb img{transform:scale(1.035)}
.ik-video-thumb-fallback{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.13),transparent 40%),linear-gradient(135deg,#0e5a3c,#082f21);color:#fff}
.ik-video-thumb-fallback span{font-size:2.3rem}.ik-video-thumb-fallback small{opacity:.8}
.ik-video-play{position:absolute;left:16px;bottom:14px;width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.96);color:var(--primary);font-size:1.15rem;padding-left:3px;box-shadow:0 8px 22px rgba(0,0,0,.22)}
.ik-video-platform{position:absolute;right:12px;top:12px;padding:6px 9px;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;font-size:.68rem;border:1px solid rgba(255,255,255,.16)}
.ik-video-card-body{padding:14px 15px 16px}.ik-video-speaker{font-size:.74rem;color:var(--primary);font-weight:800;margin-bottom:6px}.ik-video-card-uploader{display:flex;align-items:center;gap:7px;min-width:0;margin-bottom:7px;color:var(--primary);font-size:.72rem;font-weight:800;line-height:1.25}.ik-video-card-uploader-avatar{width:28px;height:28px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;flex:0 0 28px;color:#fff;font-size:.66rem;font-weight:900;border:1px solid var(--border-light);box-shadow:0 1px 5px rgba(0,0,0,.10)}.ik-video-card-uploader-avatar img{width:100%;height:100%;object-fit:cover;display:block}.ik-video-card-uploader-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ik-video-card h2{font-size:1rem;line-height:1.45;margin:0}.ik-video-card h2 a{color:var(--text);text-decoration:none}.ik-video-card h2 a:hover{color:var(--primary)}.ik-video-card p{margin:7px 0 0;color:var(--text-muted);font-size:.78rem;line-height:1.6}.ik-video-meta{display:flex;justify-content:space-between;gap:8px;margin-top:11px;padding-top:10px;border-top:1px solid var(--border-light);font-size:.7rem;color:var(--text-light)}
.ik-video-empty{min-height:240px;border:1px dashed var(--border);border-radius:18px;background:var(--bg2);align-items:center;justify-content:center;flex-direction:column;gap:6px;color:var(--text-muted);text-align:center}.ik-video-empty div{font-size:2rem}.ik-video-empty strong{color:var(--text);font-size:.95rem}.ik-video-empty span{font-size:.78rem}
@keyframes ikVideoCardIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
/* V412 — disable only the marked YouTube video-title link hotspot in the public watch header.
 * The native volume, CC, and settings controls remain outside this hit target and fully interactive. */
.ik-video-watch{margin-bottom:22px}.ik-video-watch-player{position:relative;isolation:isolate}.ik-youtube-click-blocker{position:absolute;z-index:100;pointer-events:auto;background:transparent;display:block;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:default}.ik-youtube-click-blocker-top-title{left:0;right:16.2%;top:0;width:auto;height:64px}.ik-youtube-click-blocker-left{left:0;bottom:0;width:82px;height:58px}.ik-youtube-click-blocker-right{right:0;bottom:0;width:34%;max-width:360px;height:58px}
@media (max-width:760px){.ik-video-watch-player .ik-youtube-click-blocker-top-title{left:0;right:15.5%;width:auto;height:66px;}}.ik-video-watch-shell{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:16px;align-items:start;border:1px solid var(--border-light);border-radius:20px;background:var(--bg2);box-shadow:var(--shadow-lg);padding:12px}.ik-video-watch-main{min-width:0}.ik-video-watch-player{overflow:hidden;border-radius:15px;background:#050908;border:1px solid rgba(0,0,0,.12);aspect-ratio:16/9;min-height:360px}.ik-video-watch-player iframe,.ik-video-watch-player video{display:block;width:100%;height:100%;min-height:360px;border:0;background:#050908;object-fit:contain}.ik-video-watch-player #ik-inline-drive-fallback{display:none}.ik-video-watch-info{padding:14px 6px 6px}.ik-video-watch-kicker{font-size:.78rem;font-weight:800;color:var(--primary);margin-bottom:5px}.ik-video-watch-kicker span{color:var(--text-light);font-weight:600}.ik-video-watch-info h1{font-size:1.18rem;line-height:1.48;margin:0;color:var(--text)}
/* V414 defensive presentation guard: this legacy watch kicker is intentionally not shown. */
.ik-video-watch-kicker{display:none!important}

.ik-video-uploader{display:flex;align-items:center;gap:10px;margin-top:11px;padding:2px 0}.ik-video-uploader-avatar{width:44px;height:44px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;flex:0 0 44px;color:#fff;font-size:.95rem;font-weight:900;box-shadow:0 2px 8px rgba(0,0,0,.10);border:1px solid var(--border-light)}.ik-video-uploader-avatar img{width:100%;height:100%;object-fit:cover;display:block}.ik-video-uploader-copy{min-width:0}.ik-video-uploader-name{font-size:.88rem;line-height:1.35;font-weight:850;color:var(--text)}.ik-video-uploader-label{margin-top:2px;font-size:.68rem;line-height:1.35;color:var(--text-light)}
.ik-video-watch-info p{font-size:.82rem;line-height:1.7;color:var(--text-muted);margin:8px 0 0}.ik-video-watch-meta{display:flex;gap:16px;flex-wrap:wrap;margin-top:9px;font-size:.72rem;color:var(--text-light)}.ik-video-watch-meta b{color:var(--text)}.ik-video-related{border:1px solid var(--border-light);border-radius:15px;padding:10px;background:var(--bg)}.ik-video-related-title{font-size:.86rem;font-weight:900;margin:2px 4px 10px;color:var(--text)}.ik-video-related-item{width:100%;display:grid;grid-template-columns:150px minmax(0,1fr);gap:11px;text-align:left;border:0;border-bottom:1px solid var(--border-light);background:transparent;padding:9px 4px;cursor:pointer;color:inherit;font:inherit}.ik-video-related-item:last-child{border-bottom:0}.ik-video-related-thumb{display:block;position:relative;aspect-ratio:16/9;border-radius:9px;overflow:hidden;background:#071b13;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.2rem}.ik-video-related-thumb img{width:100%;height:100%;object-fit:cover;display:block}.ik-video-related-copy{min-width:0;display:flex;flex-direction:column;gap:6px;padding-top:1px}.ik-video-related-title-text{font-size:.79rem;line-height:1.38;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere}.ik-video-related-uploader{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%;font-size:.67rem;line-height:1.2;color:var(--text-muted)}.ik-video-related-uploader-avatar{width:24px;height:24px;flex:0 0 24px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#fff;font-size:.61rem;font-weight:900;border:1px solid var(--border-light);box-shadow:0 1px 4px rgba(0,0,0,.08)}.ik-video-related-uploader-avatar img{width:100%;height:100%;object-fit:cover;display:block}.ik-video-related-uploader-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}.ik-video-related-meta{display:flex;align-items:center;gap:4px;min-height:15px;min-width:0;color:var(--text-light);font-size:.65rem;line-height:1.2;white-space:nowrap}.ik-video-related-views-icon{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;flex:0 0 13px}.ik-video-related-views-icon svg{display:block}.ik-video-related-meta-sep{font-weight:700;color:var(--text-light)}.ik-video-related-empty{padding:28px 8px;text-align:center;color:var(--text-light);font-size:.76rem}
@media (max-width:980px) and (min-width:761px){.ik-video-related-item{grid-template-columns:138px minmax(0,1fr);gap:10px}}
@media (max-width:980px){.ik-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ik-video-hero-art{width:150px;height:150px}}
@media (max-width:640px){.ik-video-grid{grid-template-columns:1fr}.ik-video-hero-inner{min-height:0;flex-direction:column;align-items:flex-start}.ik-video-hero-art{align-self:center;width:140px;height:140px}.ik-video-hero h1{font-size:2rem}.ik-video-hero p{font-size:.9rem}.ik-video-hero-stats{gap:7px}.ik-video-hero-stats span{padding:7px 9px}}
/* V198 — YouTube-style public video library: hero removed; compact discovery layout. */
.ik-video-youtube-page{background:#fff;min-height:60vh}
.ik-video-page-section{padding-top:28px;padding-bottom:54px}







.ik-video-youtube-toolbar{margin-bottom:20px}
.ik-video-youtube-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px}
.ik-video-youtube-grid .ik-video-card{border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.ik-video-youtube-grid .ik-video-card:hover{transform:none;box-shadow:none;border-color:transparent}
.ik-video-youtube-grid .ik-video-thumb{border-radius:12px;background:#111;box-shadow:var(--shadow-sm)}
.ik-video-youtube-grid .ik-video-card-body{padding:10px 1px 0}
.ik-video-youtube-grid .ik-video-title-row{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:9px;min-width:0}
.ik-video-youtube-grid .ik-video-title-avatar{display:block;width:32px;height:32px;text-decoration:none}
.ik-video-youtube-grid .ik-video-title-avatar .ik-video-card-uploader-avatar{width:32px;height:32px;flex-basis:32px}
.ik-video-youtube-grid .ik-video-card h2{font-size:.95rem;line-height:1.42;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-width:0}
.ik-video-youtube-grid .ik-video-card p{font-size:.74rem;line-height:1.45;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ik-video-youtube-grid .ik-video-submeta{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:4px 0 0 41px;color:var(--text-light);font-size:.68rem;line-height:1.35;min-height:1.35em;white-space:nowrap}
.ik-video-youtube-grid .ik-video-uploader-name{color:var(--text-muted);font-weight:600}
.ik-video-youtube-grid .ik-video-submeta-sep{color:var(--text-light);font-weight:700}
.ik-video-youtube-grid .ik-video-youtube-channel-name{color:var(--text-muted);font-weight:650;overflow:hidden;text-overflow:ellipsis;max-width:190px}
.ik-video-youtube-grid .ik-video-youtube-verified{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;flex:0 0 13px;border-radius:50%;font-size:.56rem;line-height:1;color:var(--text-light);border:1px solid var(--border-light);font-weight:900}
.ik-video-youtube-grid .ik-video-youtube-views,.ik-video-youtube-grid .ik-video-youtube-age{color:var(--text-light);font-weight:550}
@media (max-width:1150px){.ik-video-youtube-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.ik-video-youtube-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}}
@media (max-width:520px){.ik-video-youtube-grid{grid-template-columns:1fr}.ik-video-page-section{padding-top:18px}}


/* V203 — YouTube-style long/short sections, same-speaker queue and watch navigation. */
.ik-video-type-tabs{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.ik-video-type-tab{border:1px solid var(--border-light);background:var(--bg2);color:var(--text-muted);border-radius:999px;padding:8px 12px;font-family:inherit;font-size:.76rem;cursor:pointer;transition:.18s ease}
.ik-video-type-tab b{margin-left:4px;color:var(--text-light)}
.ik-video-type-tab.active{background:var(--primary);border-color:var(--primary);color:#fff}.ik-video-type-tab.active b{color:#fff}
.ik-video-section-block{margin-top:20px;padding-top:6px}.ik-video-section-block+.ik-video-section-block{margin-top:36px;padding-top:28px;border-top:1px solid var(--border-light)}
.ik-video-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin:0 0 14px}.ik-video-section-heading span{display:block;color:var(--primary);font-size:.76rem;font-weight:900;margin-bottom:3px}.ik-video-section-heading h2{margin:0;font-size:1.15rem;line-height:1.3;color:var(--text);font-weight:900}.ik-video-section-heading>b{padding:7px 11px;border:1px solid var(--border-light);background:var(--bg2);border-radius:999px;font-size:.7rem;color:var(--text-muted)}
.ik-video-type-badge{position:absolute;left:12px;top:12px;padding:5px 8px;border-radius:999px;background:rgba(14,90,60,.78);color:#fff;font-size:.64rem;font-weight:800;border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(4px)}
.ik-video-short-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:26px 16px}.ik-video-section-shorts .ik-video-thumb{aspect-ratio:9/14}.ik-video-section-shorts .ik-video-play{left:11px;bottom:11px;width:42px;height:42px;font-size:1rem}.ik-video-section-shorts .ik-video-card-body{padding-top:9px}.ik-video-section-shorts .ik-video-card h2{font-size:.86rem;-webkit-line-clamp:3}
.ik-video-watch-nav{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid var(--border-light)}
/* V206 — keep Home / Previous / Next above the inline player, clear of the player chrome. */
.ik-video-top-nav{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 0 10px;padding:0 2px}
.ik-video-top-nav .ik-video-nav-btn{margin:0}
.ik-video-nav-btn{border:1px solid var(--border-light);background:var(--bg2);color:var(--text);border-radius:10px;padding:8px 12px;font-family:inherit;font-size:.74rem;font-weight:800;cursor:pointer;transition:.18s ease;box-shadow:var(--shadow-sm)}.ik-video-nav-btn:hover:not(:disabled){border-color:var(--primary);color:var(--primary);transform:translateY(-1px)}.ik-video-nav-btn:disabled,.ik-video-nav-btn.is-disabled{opacity:.42;cursor:not-allowed}.ik-video-home-btn{background:var(--primary);border-color:var(--primary);color:#fff}.ik-video-home-btn:hover:not(:disabled){color:#fff}
.ik-drive-player-wrap{position:relative;width:100%;height:100%;min-height:360px;background:#050908}.ik-drive-player-wrap video,.ik-drive-player-wrap iframe{width:100%;height:100%;min-height:360px;border:0;display:block;background:#050908}.ik-inline-drive-video{object-fit:contain}
.ik-drive-inline-popout-shield{position:absolute;right:0;top:0;width:68px;height:54px;z-index:40;background:transparent!important;border:0!important;pointer-events:auto!important;cursor:default!important;touch-action:none!important;}
.ik-video-landing-drive-wrap{position:relative;isolation:isolate;overflow:hidden}.ik-video-landing-popout-shield{position:absolute;right:0;top:0;width:74px;height:58px;z-index:50;background:transparent!important;border:0!important;pointer-events:auto!important;cursor:default!important;touch-action:none!important}
/* V380 — Android long-form Google Drive watch uses the native same-origin video surface.
 * Keep only this player light so Android media chrome does not force a dark iframe
 * treatment; the native seek/duration controls stay at the bottom of the video. */
.ik-video-youtube-page .ik-drive-watch-native-mobile{background:#fff!important;color-scheme:light!important;}
.ik-video-youtube-page .ik-drive-watch-native-mobile video{background:#fff!important;color-scheme:light!important;filter:none!important;}
@media (max-width:1180px){.ik-video-short-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:980px){.ik-video-short-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.ik-video-section-heading{align-items:flex-start;flex-direction:column;gap:8px}.ik-video-short-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ik-video-watch-shell{grid-template-columns:1fr}.ik-video-watch-nav{gap:6px}.ik-video-nav-btn{flex:1 1 auto;text-align:center}.ik-video-type-tabs{gap:6px}}
@media (max-width:520px){.ik-video-short-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 10px}.ik-video-short-grid .ik-video-card-body{padding-left:0;padding-right:0}.ik-video-type-tab{padding:7px 9px}}

/* V211 — YouTube-style right queue: no arbitrary 620px cap; use a viewport-sized scroll area so the queue can keep loading batches as the viewer scrolls. */
.ik-video-related{overflow:hidden;min-width:0;height:auto;box-sizing:border-box;position:sticky;top:84px;align-self:start}
.ik-video-related-scroll{height:calc(100vh - 112px);max-height:none;min-height:420px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;padding-right:2px}
.ik-video-related-title{position:sticky;top:0;z-index:2;background:var(--bg);padding:7px 4px 9px;margin:0 0 2px}
.ik-video-related-sentinel{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--text-light);font-size:.7rem;padding:13px 6px 12px;min-height:42px;box-sizing:border-box}
.ik-video-sidebar-spinner{width:18px;height:18px;border:2px solid var(--border-light);border-top-color:var(--primary);border-radius:50%;animation:ikVideoSidebarSpin .8s linear infinite;display:inline-block}
.ik-video-related-sentinel:not(.is-loading){display:none}
.ik-video-related-sentinel.is-loading{display:flex}
@keyframes ikVideoSidebarSpin{to{transform:rotate(360deg)}}
@media (max-width:760px){.ik-video-related{position:static;top:auto;height:auto}.ik-video-related-scroll{height:520px;max-height:none;min-height:260px}}
/* V208 — center the public Video page search box in the YouTube-style toolbar. */
.ik-video-youtube-page .ik-video-youtube-toolbar .ik-video-search-wrap{
  width:min(620px,100%);
  max-width:620px;
  margin-inline:auto;
}

/* V209 — public Video page only: full-viewport YouTube-style content width. */
.ik-video-youtube-page > .ik-video-page-section > .container{
  max-width:none;
  width:100%;
  padding-left:clamp(16px,2vw,34px);
  padding-right:clamp(16px,2vw,34px);
}
.ik-video-youtube-page .ik-video-watch-shell,
.ik-video-youtube-page .ik-video-youtube-toolbar,
.ik-video-youtube-page #ik-video-sections,
.ik-video-youtube-page #ik-video-empty{
  width:100%;
}
@media (max-width:760px){
  .ik-video-youtube-page > .ik-video-page-section > .container{
    padding-left:12px;
    padding-right:12px;
  }
}


/* V213 — YouTube-home-style public Video page shell. This scope is limited to
 * #videos so every other public/admin page keeps its existing layout. */
.ik-video-youtube-page{background:#fff;min-height:calc(100vh - 1px);color:var(--text)}
.ik-video-youtube-shell{display:grid;grid-template-columns:232px minmax(0,1fr);gap:0;min-height:calc(100vh - 90px);align-items:start}
.ik-video-youtube-sidebar{position:sticky;top:72px;height:calc(100vh - 72px);overflow-y:auto;padding:14px 10px 18px;background:var(--bg);border-right:1px solid var(--border-light);scrollbar-width:thin;z-index:5}
.ik-video-sidebar-brand{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:6px;padding:2px 4px 14px}
.ik-video-sidebar-menu-btn{width:34px;height:34px;border:0;background:transparent;color:var(--text);border-radius:50%;font-size:1.35rem;line-height:1;cursor:pointer;display:grid;place-items:center}
.ik-video-sidebar-menu-btn:hover{background:var(--bg2)}
.ik-video-brand{min-width:0;border:0;background:transparent;display:flex;align-items:center;gap:8px;padding:6px 5px;border-radius:10px;color:var(--text);cursor:pointer;text-align:left;font:inherit}
.ik-video-brand:hover{background:var(--bg2)}
.ik-video-brand-mark{width:28px;height:22px;border-radius:7px;background:#111;color:#fff;display:grid;place-items:center;font-size:.7rem;flex:0 0 28px}
.ik-video-brand strong{font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ik-video-sidebar-nav{display:grid;gap:3px}
.ik-video-sidebar-link{width:100%;border:0;background:transparent;color:var(--text);border-radius:11px;padding:10px 12px;display:grid;grid-template-columns:30px 1fr;align-items:center;gap:8px;text-align:left;font-family:inherit;cursor:pointer;font-size:.8rem}
.ik-video-sidebar-link span{font-size:1.05rem;display:grid;place-items:center}
.ik-video-sidebar-link b{font-weight:780}
.ik-video-sidebar-link:hover{background:var(--bg2)}
.ik-video-sidebar-link.active{background:var(--bg2);font-weight:900}
.ik-video-sidebar-divider{height:1px;background:var(--border-light);margin:13px 10px}
.ik-video-sidebar-heading{font-size:.68rem;font-weight:900;color:var(--text-light);text-transform:uppercase;letter-spacing:.06em;padding:6px 12px 8px}
.ik-video-youtube-main{min-width:0;background:#fff}
.ik-video-main-inner{width:100%;max-width:none;padding:0 clamp(18px,2.4vw,36px) 52px}
.ik-video-page-section{padding:0}
.ik-video-youtube-toolbar{position:sticky;top:72px;z-index:4;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);padding:15px 0 13px;margin:0 0 8px;border-bottom:1px solid var(--border-light)}
.ik-video-search-row{display:flex;justify-content:center}
.ik-video-youtube-page .ik-video-search-wrap{width:min(680px,92%);max-width:680px;margin:0 auto}
.ik-video-speaker-row{margin-top:10px}
.ik-video-speaker-filters{display:flex;gap:7px;overflow:auto;scrollbar-width:none;padding-bottom:1px}
.ik-video-speaker-filters::-webkit-scrollbar{display:none}
.ik-video-youtube-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 20px}
.ik-video-youtube-grid .ik-video-card{min-width:0}
.ik-video-youtube-page .ik-video-watch{width:100%}
.ik-video-youtube-page .ik-video-watch-shell{width:100%}
.ik-video-youtube-shell.is-sidebar-collapsed{grid-template-columns:72px minmax(0,1fr)}
.ik-video-youtube-shell.is-sidebar-collapsed .ik-video-brand strong,.ik-video-youtube-shell.is-sidebar-collapsed .ik-video-sidebar-link b,.ik-video-youtube-shell.is-sidebar-collapsed .ik-video-sidebar-heading{display:none}
.ik-video-youtube-shell.is-sidebar-collapsed .ik-video-sidebar-brand{grid-template-columns:1fr;justify-items:center}
.ik-video-youtube-shell.is-sidebar-collapsed .ik-video-brand{justify-content:center}
.ik-video-youtube-shell.is-sidebar-collapsed .ik-video-sidebar-link{grid-template-columns:1fr;justify-items:center;padding-left:8px;padding-right:8px}
.ik-video-youtube-shell.is-sidebar-collapsed .ik-video-sidebar-divider{margin-left:5px;margin-right:5px}
@media (max-width:1250px){.ik-video-youtube-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:980px){.ik-video-youtube-shell{grid-template-columns:86px minmax(0,1fr)}.ik-video-youtube-sidebar{padding-left:6px;padding-right:6px}.ik-video-sidebar-brand{grid-template-columns:1fr;justify-items:center}.ik-video-brand{justify-content:center}.ik-video-brand strong,.ik-video-sidebar-link b,.ik-video-sidebar-heading{display:none}.ik-video-sidebar-link{grid-template-columns:1fr;justify-items:center;padding-left:8px;padding-right:8px}.ik-video-sidebar-divider{margin-left:5px;margin-right:5px}.ik-video-youtube-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.ik-video-youtube-shell{display:block;min-height:0}.ik-video-youtube-sidebar{position:sticky;top:0;height:auto;padding:8px;border-right:0;border-bottom:1px solid var(--border-light);overflow:visible;background:rgba(255,255,255,.98);backdrop-filter:blur(10px)}.ik-video-sidebar-brand{grid-template-columns:34px 1fr;padding:0 2px 6px}.ik-video-brand{justify-content:flex-start}.ik-video-brand strong{display:block}.ik-video-sidebar-nav{display:flex;gap:4px;overflow:auto;scrollbar-width:none}.ik-video-sidebar-nav::-webkit-scrollbar{display:none}.ik-video-sidebar-link{min-width:max-content;display:flex;align-items:center;gap:7px;padding:8px 10px}.ik-video-sidebar-link b{display:block}.ik-video-sidebar-heading,.ik-video-sidebar-divider,.ik-video-sidebar-nav-secondary{display:none}.ik-video-youtube-main{width:100%}.ik-video-youtube-toolbar{top:58px}.ik-video-main-inner{padding-left:12px;padding-right:12px}.ik-video-youtube-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}}
@media (max-width:520px){.ik-video-youtube-grid{grid-template-columns:1fr}.ik-video-youtube-page .ik-video-search-wrap{width:100%}.ik-video-youtube-toolbar{padding-top:10px}.ik-video-speaker-row{margin-top:8px}.ik-video-sidebar-menu-btn{display:none}.ik-video-sidebar-brand{grid-template-columns:1fr}.ik-video-brand{justify-content:center}}
.ik-video-youtube-page .ik-video-card-uploader-avatar{width:32px;height:32px;flex-basis:32px}


/* V214 — Video page starts flush beneath the global public header. The rule is
 * fully scoped to the Video page so every other public/admin page is untouched. */
.ik-video-youtube-page{
  margin-top:0!important;
  padding-top:0!important;
}
#public-main.ik-video-public-main{
  margin-top:0!important;
  padding-top:0!important;
}
.ik-video-youtube-shell{
  margin-top:0!important;
}
.ik-video-youtube-sidebar,
.ik-video-youtube-main{
  align-self:start;
}
.ik-video-youtube-sidebar{
  top:var(--header-h,70px);
  height:calc(100vh - var(--header-h,70px));
  padding-top:8px;
}
.ik-video-youtube-toolbar{
  top:var(--header-h,70px);
}
.ik-video-site-logo-mark{
  width:32px!important;
  height:32px!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,var(--primary) 0%,#1a7a52 100%)!important;
  color:#fff!important;
  box-shadow:0 4px 14px rgba(14,90,60,.20)!important;
}
.ik-video-site-logo-mark svg{display:block}
@media(max-width:980px){
  .ik-video-youtube-sidebar{top:var(--header-h,70px);height:calc(100vh - var(--header-h,70px));padding-top:8px}
}
@media(max-width:760px){
  .ik-video-youtube-sidebar{top:var(--header-h,70px);height:auto;padding-top:8px}
  .ik-video-youtube-toolbar{top:calc(var(--header-h,70px) + 58px)}
}
@media(max-width:520px){
  .ik-video-site-logo-mark{width:32px!important;height:32px!important}
}


/* V215 — Correct the Video page's sticky layout geometry. The public header already
 * occupies normal document flow, so the Video shell must not add another header-height
 * offset to its own sticky children. Keep the global header above them while ensuring
 * the sidebar and main content begin flush at the header's bottom edge. */
#public-main.ik-video-public-main{
  overflow:visible!important;
}
.ik-video-youtube-page .ik-video-youtube-shell{
  margin-top:0!important;
  align-items:start!important;
}
.ik-video-youtube-page .ik-video-youtube-sidebar{
  position:sticky;
  top:var(--header-h,70px);
  align-self:start;
  margin-top:0!important;
  padding-top:8px;
  height:calc(100vh - var(--header-h,70px));
  max-height:calc(100dvh - var(--header-h,70px));
}
.ik-video-youtube-page .ik-video-youtube-main{
  min-width:0;
  align-self:start;
  margin-top:0!important;
  padding-top:0!important;
}
.ik-video-youtube-page .ik-video-youtube-toolbar{
  top:var(--header-h,70px);
  margin-top:0!important;
}
.ik-video-youtube-page .ik-video-section-block{
  scroll-margin-top:calc(var(--header-h,70px) + 76px);
}
.ik-video-youtube-page .ik-video-section-heading>div{
  min-width:0;
}
.ik-video-youtube-page .ik-video-section-heading>div>span{
  position:static!important;
  display:block!important;
  margin:0 0 3px!important;
  white-space:nowrap;
}
.ik-video-youtube-page .ik-video-section-heading>div>h2{
  position:static!important;
  display:block!important;
  margin:0!important;
}
@media(max-width:760px){
  .ik-video-youtube-page .ik-video-youtube-sidebar{
    top:0;
    height:auto;
    max-height:none;
  }
  .ik-video-youtube-page .ik-video-youtube-toolbar{
    top:58px;
  }
}


/* V218 — YouTube-style alternating long/short main-view batches and muted hover previews. */
.ik-video-youtube-page .ik-video-short-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.ik-video-card .ik-video-thumb,
.ik-video-related-thumb{position:relative;overflow:hidden;}
.ik-video-hover-preview{position:absolute;inset:0;z-index:2;display:block;opacity:0;visibility:hidden;background:#050505;transition:opacity .18s ease,visibility .18s ease;pointer-events:none;}
.ik-video-hover-preview.is-playing{opacity:1;visibility:visible;}
.ik-video-hover-preview iframe,
.ik-video-hover-preview video{width:100%;height:100%;border:0;display:block;object-fit:cover;background:#050505;pointer-events:none;}
.ik-video-hover-preview .ik-video-hover-drive-preview{z-index:1;object-fit:cover;}
.ik-video-hover-preview .ik-video-hover-drive-source{z-index:2;}
.ik-video-card .ik-video-thumb>.ik-video-play,
.ik-video-card .ik-video-thumb>.ik-video-platform{z-index:4;}
.ik-video-hover-preview.is-playing + .ik-video-play{opacity:.35;}
.ik-video-related-thumb>.ik-video-hover-preview{z-index:2;}
.ik-video-related-thumb>.ik-video-related-play{display:none!important;}
@media (max-width:1250px){.ik-video-youtube-page .ik-video-short-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:980px){.ik-video-youtube-page .ik-video-short-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:520px){.ik-video-youtube-page .ik-video-short-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}


/* V219 — YouTube-style duration badges and clean watch-first layout. Scoped to Video only. */
.ik-video-youtube-page .ik-video-duration-badge{
  position:absolute;
  right:10px;
  bottom:10px;
  z-index:6;
  padding:4px 7px;
  border-radius:5px;
  background:rgba(0,0,0,.78);
  color:#fff;
  font-size:.66rem;
  line-height:1;
  font-variant-numeric:tabular-nums;
  letter-spacing:.01em;
  box-shadow:0 1px 4px rgba(0,0,0,.18);
}
.ik-video-youtube-page .ik-video-duration-badge[hidden]{display:none!important}
.ik-video-related-thumb .ik-video-duration-badge{right:6px;bottom:6px;padding:3px 5px;font-size:.58rem}
.ik-video-youtube-page .ik-video-watch{margin-top:0!important;padding-top:0!important}
.ik-video-youtube-page .ik-video-watch-shell{margin-top:0!important}
.ik-video-youtube-page .ik-video-main-inner{padding-top:0!important}
@media(max-width:760px){
  .ik-video-youtube-page .ik-video-duration-badge{right:7px;bottom:7px;font-size:.62rem}
}


/* V220 — Main View hides long/short section titles and count badges; grid flow is unchanged. */
.ik-video-youtube-page .ik-video-section-block{
  margin-top:20px;
  padding-top:0;
}
.ik-video-youtube-page .ik-video-section-block + .ik-video-section-block{
  margin-top:28px;
  padding-top:0;
  border-top:0;
}


/* V221 — YouTube-style Shorts channel heading using the site's own logo. */
.ik-video-youtube-page .ik-video-shorts-channel-heading{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:34px;
  margin:0 0 14px;
  color:var(--text);
}
.ik-video-youtube-page .ik-video-shorts-channel-logo{
  width:34px;
  height:34px;
  border-radius:10px;
  display:grid;
  place-items:center;
  flex:0 0 34px;
  background:var(--bg2);
  border:1px solid var(--border-light);
  color:var(--primary);
}
.ik-video-youtube-page .ik-video-shorts-channel-logo svg{display:block}
.ik-video-youtube-page .ik-video-shorts-channel-title{
  font-size:1.15rem;
  line-height:1;
  font-weight:900;
  letter-spacing:-.01em;
}
@media(max-width:520px){
  .ik-video-youtube-page .ik-video-shorts-channel-heading{margin-bottom:11px}
  .ik-video-youtube-page .ik-video-shorts-channel-logo{width:32px;height:32px;flex-basis:32px}
  .ik-video-youtube-page .ik-video-shorts-channel-title{font-size:1.05rem}
}

/* V222 — Short cards: fixed desktop footprint 312×364px; Shorts channel logo is red. */
.ik-video-youtube-page .ik-video-section-shorts .ik-video-card{
  width:312px;
  max-width:100%;
  box-sizing:border-box;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb{
  width:312px;
  height:364px;
  max-width:100%;
  aspect-ratio:auto;
}
.ik-video-youtube-page .ik-video-shorts-channel-logo{
  color:#ff0000!important;
  background:#fff!important;
  border-color:#ffd0d0!important;
}
@media(max-width:760px){
  .ik-video-youtube-page .ik-video-section-shorts .ik-video-card,
  .ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb{
    width:100%;
    max-width:100%;
  }
}


/* V223 — Shorts match the clean YouTube home treatment and hover previews can be
 * scrubbed by moving the cursor across the thumbnail without opening the video. */
.ik-video-youtube-page .ik-video-section-shorts .ik-video-card{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-card:hover{
  transform:none!important;
  box-shadow:none!important;
  border-color:transparent!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-card-body{
  background:transparent!important;
  padding-left:0!important;
  padding-right:0!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb{
  background:var(--bg2)!important;
  border-radius:12px!important;
  box-shadow:var(--shadow-sm);
}
/* V233 — Hover previews use a real interactive timeline strip. Pointer movement
 * seeks continuously; click/drag is also supported, while the parent thumbnail
 * remains a navigation target everywhere else. */
.ik-video-hover-preview .ik-video-hover-scrub{
  position:absolute;
  left:0;right:0;bottom:0;height:6px;
  background:rgba(255,255,255,.28);
  z-index:8;
  pointer-events:auto;
  touch-action:none;
  opacity:.98;
  cursor:pointer;
  transition:height .12s ease,background-color .12s ease;
}
.ik-video-hover-preview:hover .ik-video-hover-scrub{height:8px;background:rgba(255,255,255,.38)}
.ik-video-hover-preview .ik-video-hover-scrub>span{
  display:block;width:var(--ik-hover-scrub,0%);height:100%;
  background:#ff0000;
  box-shadow:0 0 6px rgba(255,0,0,.36);
}
.ik-video-hover-preview.is-playing .ik-video-hover-scrub{display:block}
@media (max-width:760px){
  .ik-video-youtube-page .ik-video-section-shorts .ik-video-card{background:transparent!important}
}

/* V226 — Fix secondary Video sidebar navigation binding without changing layout. */
/* V227 — Sidebar navigation targets now scroll below sticky header/toolbar. */

/* V228 — Keep the Video page left navigation pinned below the global header during
 * normal mouse-wheel/page scrolling. The sidebar itself is no longer a nested vertical
 * scroll container, so hovering the menu and scrolling moves the page while the menu
 * remains visibly anchored like the Video search/filter toolbar. Other pages are untouched. */
.ik-video-youtube-page .ik-video-youtube-sidebar{
  position:sticky!important;
  top:var(--header-h,70px)!important;
  align-self:start!important;
  height:calc(100vh - var(--header-h,70px))!important;
  max-height:calc(100dvh - var(--header-h,70px))!important;
  overflow-y:hidden!important;
  overflow-x:hidden!important;
  overscroll-behavior:none!important;
}
@media(max-width:980px){
  .ik-video-youtube-page .ik-video-youtube-sidebar{
    position:sticky!important;
    top:var(--header-h,70px)!important;
    height:calc(100vh - var(--header-h,70px))!important;
    max-height:calc(100dvh - var(--header-h,70px))!important;
    overflow-y:hidden!important;
    overflow-x:hidden!important;
  }
}
@media(max-width:760px){
  .ik-video-youtube-page .ik-video-youtube-sidebar{
    position:sticky!important;
    top:0!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    overscroll-behavior:auto!important;
  }
}

/* V229 — Make the Video page search/filter toolbar compact like YouTube. Scoped
 * only to #videos so shared controls and every other page remain unchanged. */
.ik-video-youtube-page .ik-video-youtube-toolbar{
  padding:7px 0 7px!important;
  margin:0 0 6px!important;
  gap:0!important;
}
.ik-video-youtube-page .ik-video-search-row{
  min-height:40px;
}
.ik-video-youtube-page .ik-video-search-wrap{
  height:40px;
}
.ik-video-youtube-page .ik-video-search-wrap input{
  height:40px!important;
  min-height:40px!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
}
.ik-video-youtube-page .ik-video-speaker-row{
  margin-top:6px!important;
}
.ik-video-youtube-page .ik-video-speaker-filters{
  gap:6px!important;
  padding-bottom:0!important;
  min-height:30px;
  align-items:center;
}
.ik-video-youtube-page .ik-video-filter{
  min-height:30px!important;
  padding:5px 10px!important;
  font-size:.73rem!important;
  line-height:1.15!important;
}
@media(max-width:520px){
  .ik-video-youtube-page .ik-video-youtube-toolbar{padding:6px 0 6px!important;margin-bottom:5px!important}
  .ik-video-youtube-page .ik-video-search-row,
  .ik-video-youtube-page .ik-video-search-wrap,
  .ik-video-youtube-page .ik-video-search-wrap input{height:38px;min-height:38px}
  .ik-video-youtube-page .ik-video-search-wrap input{height:38px!important;min-height:38px!important}
  .ik-video-youtube-page .ik-video-speaker-row{margin-top:5px!important}
  .ik-video-youtube-page .ik-video-filter{min-height:28px!important;padding:4px 9px!important;font-size:.7rem!important}
}

/* V230 — Keep the Video page left navigation permanently fixed beneath the global
 * header, matching the YouTube desktop navigation model. The sidebar no longer
 * participates in document scrolling, while the main column keeps its existing
 * grid width. All rules are scoped to the Video page; responsive mobile navigation
 * remains unchanged. */
@media(min-width:761px){
  .ik-video-youtube-page .ik-video-youtube-sidebar{
    position:fixed!important;
    left:0!important;
    top:var(--header-h,70px)!important;
    bottom:0!important;
    width:232px!important;
    height:auto!important;
    max-height:none!important;
    overflow-y:hidden!important;
    overflow-x:hidden!important;
    z-index:60!important;
    margin:0!important;
  }
  .ik-video-youtube-page .ik-video-youtube-shell.is-sidebar-collapsed .ik-video-youtube-sidebar{
    width:72px!important;
  }
}
@media(min-width:761px) and (max-width:980px){
  .ik-video-youtube-page .ik-video-youtube-sidebar{
    width:86px!important;
  }
}
@media(max-width:760px){
  .ik-video-youtube-page .ik-video-youtube-sidebar{
    position:sticky!important;
    left:auto!important;
    bottom:auto!important;
    width:auto!important;
    z-index:5!important;
  }
}

/* V231 — Keep the fixed Video sidebar in its own grid column so the Main View
 * never slides underneath/inside the sidebar after the sidebar is taken out of
 * normal document flow. Only #videos is affected. */
@media(min-width:761px){
  .ik-video-youtube-page .ik-video-youtube-shell{
    grid-template-columns:232px minmax(0,1fr)!important;
  }
  .ik-video-youtube-page .ik-video-youtube-main{
    grid-column:2!important;
    min-width:0!important;
  }
  .ik-video-youtube-page .ik-video-youtube-shell.is-sidebar-collapsed{
    grid-template-columns:72px minmax(0,1fr)!important;
  }
}
@media(min-width:761px) and (max-width:980px){
  .ik-video-youtube-page .ik-video-youtube-shell{
    grid-template-columns:86px minmax(0,1fr)!important;
  }
  .ik-video-youtube-page .ik-video-youtube-shell.is-sidebar-collapsed{
    grid-template-columns:72px minmax(0,1fr)!important;
  }
}
@media(max-width:760px){
  .ik-video-youtube-page .ik-video-youtube-main{
    grid-column:auto!important;
  }
}


/* V232 — Keep the public Footer on the Video page in the same horizontal content
 * area as the Main View, so the fixed Video sidebar never covers the footer.
 * Other pages remain untouched. */
@media(min-width:761px){
  #public-footer.ik-video-footer-layout{
    margin-left:232px!important;
    width:calc(100% - 232px)!important;
    max-width:none!important;
    box-sizing:border-box!important;
  }
  #public-footer.ik-video-footer-layout.is-sidebar-collapsed{
    margin-left:72px!important;
    width:calc(100% - 72px)!important;
  }
  #public-footer.ik-video-footer-layout .container{
    width:100%!important;
  }
}
@media(min-width:761px) and (max-width:980px){
  #public-footer.ik-video-footer-layout{
    margin-left:86px!important;
    width:calc(100% - 86px)!important;
  }
  #public-footer.ik-video-footer-layout.is-sidebar-collapsed{
    margin-left:72px!important;
    width:calc(100% - 72px)!important;
  }
}
@media(max-width:760px){
  #public-footer.ik-video-footer-layout,
  #public-footer.ik-video-footer-layout.is-sidebar-collapsed{
    margin-left:0!important;
    width:100%!important;
  }
}


/* V234 — Android/mobile YouTube-like Video app shell.
 * The rules are strictly scoped to the public Video page at <=760px so every
 * other public/admin page and desktop Video layout remain unchanged. */
@media(max-width:760px){
  body:has(#public-main.ik-video-public-main .ik-video-youtube-page){
    background:#fff!important;
    overflow-x:hidden!important;
  }
  body:has(#public-main.ik-video-public-main .ik-video-youtube-page) #public-header,
  body:has(#public-main.ik-video-public-main .ik-video-youtube-page) #public-footer,
  body:has(#public-main.ik-video-public-main .ik-video-youtube-page) #scroll-top{
    display:none!important;
  }

  #public-main.ik-video-public-main{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0 0 70px!important;
    overflow-x:hidden!important;
    overflow-y:visible!important;
    background:#fff!important;
  }
  #public-main.ik-video-public-main::before,
  #public-main.ik-video-public-main::after{display:none!important}

  .ik-video-youtube-page{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:100vh!important;
    overflow-x:hidden!important;
    background:#fff!important;
  }
  .ik-video-youtube-page .ik-video-youtube-shell{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    overflow:visible!important;
  }
  .ik-video-youtube-page .ik-video-youtube-sidebar{display:none!important}
  .ik-video-youtube-page .ik-video-youtube-main{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    grid-column:auto!important;
    background:#fff!important;
    overflow:visible!important;
  }

  .ik-video-mobile-topbar{
    position:sticky;
    top:0;
    z-index:55;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    width:100%;
    min-height:56px;
    padding:7px 10px;
    background:rgba(255,255,255,.98);
    border-bottom:1px solid #ececec;
    box-shadow:0 1px 2px rgba(0,0,0,.04);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
  }
  .ik-video-mobile-brand{
    min-width:0;
    border:0;
    background:transparent;
    color:var(--text);
    display:flex;
    align-items:center;
    gap:8px;
    padding:4px 2px;
    font:inherit;
    cursor:pointer;
    text-align:left;
  }
  .ik-video-mobile-brand-mark{
    width:34px;
    height:34px;
    flex:0 0 34px;
    display:grid;
    place-items:center;
    border-radius:10px;
    background:#0e5a3c;
    color:#fff;
    box-shadow:0 3px 10px rgba(14,90,60,.18);
  }
  .ik-video-mobile-brand strong{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:1rem;
    line-height:1.2;
    font-weight:900;
    letter-spacing:-.01em;
  }
  .ik-video-mobile-top-actions{display:flex;align-items:center;gap:2px;flex:0 0 auto}
  .ik-video-mobile-icon-btn{
    width:38px;
    height:38px;
    border:0;
    background:transparent;
    color:var(--text);
    border-radius:50%;
    display:grid;
    place-items:center;
    font:inherit;
    font-size:1.22rem;
    cursor:pointer;
    line-height:1;
  }
  .ik-video-mobile-icon-btn:active{background:#f1f1f1}

  .ik-video-youtube-page .ik-video-page-section{padding:0!important}
  .ik-video-youtube-page .ik-video-main-inner{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:0!important;
    margin:0!important;
  }
  .ik-video-youtube-page .ik-video-youtube-toolbar{
    position:sticky!important;
    top:56px!important;
    z-index:50!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:6px 0 7px!important;
    background:rgba(255,255,255,.98)!important;
    border-bottom:1px solid #ececec!important;
    box-shadow:0 1px 3px rgba(0,0,0,.03);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
  }
  .ik-video-youtube-page .ik-video-search-row{
    display:none!important;
    width:100%!important;
    min-height:40px!important;
    padding:0 12px 5px!important;
  }
  .ik-video-youtube-page.is-mobile-search-open .ik-video-search-row{display:flex!important}
  .ik-video-youtube-page .ik-video-search-wrap{
    width:100%!important;
    max-width:none!important;
    height:40px!important;
    margin:0!important;
  }
  .ik-video-youtube-page .ik-video-search-wrap input{
    width:100%!important;
    max-width:100%!important;
    height:40px!important;
    min-height:40px!important;
    border-radius:999px!important;
  }
  .ik-video-youtube-page .ik-video-speaker-row{margin:0!important}
  .ik-video-youtube-page .ik-video-speaker-filters{
    width:100%!important;
    max-width:100%!important;
    padding:0 10px!important;
    gap:7px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    flex-wrap:nowrap!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch;
  }
  .ik-video-youtube-page .ik-video-speaker-filters::-webkit-scrollbar{display:none}
  .ik-video-youtube-page .ik-video-filter{
    flex:0 0 auto!important;
    min-height:31px!important;
    padding:6px 11px!important;
    border:0!important;
    border-radius:8px!important;
    background:#f2f2f2!important;
    color:#444!important;
    font-size:.72rem!important;
    font-weight:600!important;
    white-space:nowrap!important;
  }
  .ik-video-youtube-page .ik-video-filter.active{
    background:#0f0f0f!important;
    color:#fff!important;
  }
  .ik-video-youtube-page #ik-video-sections,
  .ik-video-youtube-page #ik-video-empty{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .ik-video-youtube-page .ik-video-section-block{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  .ik-video-youtube-page .ik-video-section-block + .ik-video-section-block{
    margin-top:18px!important;
    padding-top:0!important;
    border-top:8px solid #f5f5f5!important;
  }
  .ik-video-youtube-page .ik-video-shorts-channel-heading{
    min-height:48px;
    margin:0;
    padding:10px 12px 8px;
    gap:9px;
  }
  .ik-video-youtube-page .ik-video-shorts-channel-logo{
    width:32px!important;
    height:32px!important;
    flex-basis:32px!important;
    border-radius:9px!important;
  }
  .ik-video-youtube-page .ik-video-youtube-grid{
    display:grid!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    margin:0!important;
  }
  .ik-video-youtube-page .ik-video-card{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
    overflow:visible!important;
  }
  .ik-video-youtube-page .ik-video-card:hover{transform:none!important;box-shadow:none!important}
  .ik-video-youtube-page .ik-video-card .ik-video-thumb{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    aspect-ratio:16/9!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
    background:#111!important;
  }
  .ik-video-youtube-page .ik-video-card .ik-video-poster,
  .ik-video-youtube-page .ik-video-card .ik-video-hover-preview,
  .ik-video-youtube-page .ik-video-card .ik-video-thumb-fallback{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .ik-video-youtube-page .ik-video-card .ik-video-platform,
  .ik-video-youtube-page .ik-video-card .ik-video-play{display:none!important}
  .ik-video-youtube-page .ik-video-card-body{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    padding:9px 12px 14px!important;
    overflow:visible!important;
  }
  .ik-video-youtube-page .ik-video-card h2{
    order:1;
    width:100%!important;
    min-width:0!important;
    font-size:1rem!important;
    line-height:1.38!important;
    font-weight:800!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
    overflow-wrap:anywhere!important;
  }
  .ik-video-youtube-page .ik-video-card h2 a{display:block;min-width:0;overflow-wrap:anywhere}
  .ik-video-youtube-page .ik-video-speaker{
    order:2;
    margin:4px 0 0!important;
    width:100%!important;
    min-width:0!important;
    font-size:.76rem!important;
    line-height:1.35!important;
    color:#6f6f6f!important;
    font-weight:600!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .ik-video-youtube-page .ik-video-card p{order:3;display:none!important}
  .ik-video-youtube-page .ik-video-card .ik-video-meta{
    order:4;
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    margin:2px 0 0!important;
    padding:0!important;
    border:0!important;
    justify-content:flex-start!important;
    gap:8px!important;
    font-size:.67rem!important;
    line-height:1.35!important;
    color:#8a8a8a!important;
  }
  .ik-video-youtube-page .ik-video-section-shorts{
    border-top:8px solid #f5f5f5!important;
    margin-top:0!important;
  }
  .ik-video-youtube-page .ik-video-section-shorts .ik-video-youtube-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    padding:0 10px 12px!important;
  }
  .ik-video-youtube-page .ik-video-section-shorts .ik-video-card .ik-video-thumb{
    width:100%!important;
    max-width:100%!important;
    aspect-ratio:9/14!important;
    height:auto!important;
    border-radius:10px!important;
  }
  .ik-video-youtube-page .ik-video-section-shorts .ik-video-card-body{padding:7px 1px 10px!important}
  .ik-video-youtube-page .ik-video-section-shorts .ik-video-card h2{font-size:.84rem!important}

  /* Inline watch page: one non-scrolling, viewport-safe column exactly like a
     mobile video watch surface. The old two-column desktop geometry is fully
     neutralised here, which prevents iframe/video width from escaping the page. */
  .ik-video-youtube-page #ik-video-watch{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  .ik-video-youtube-page .ik-video-watch-shell{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
    overflow:visible!important;
  }
  .ik-video-youtube-page .ik-video-watch-main{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }
  .ik-video-youtube-page .ik-video-watch-player{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/9!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:#050908!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  .ik-video-youtube-page .ik-video-watch-player iframe,
  .ik-video-youtube-page .ik-video-watch-player video,
    .ik-video-youtube-page .ik-drive-player-wrap,
  .ik-video-youtube-page .ik-drive-player-wrap video,
  .ik-video-youtube-page .ik-drive-player-wrap iframe{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    border:0!important;
  }
  
  .ik-video-youtube-page .ik-video-watch-info{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:11px 12px 14px!important;
    overflow:visible!important;
  }
  .ik-video-youtube-page .ik-video-watch-kicker{display:none!important}
  .ik-video-youtube-page .ik-video-watch-info h1{
    width:100%!important;
    min-width:0!important;
    font-size:1.04rem!important;
    line-height:1.42!important;
    font-weight:850!important;
    overflow-wrap:anywhere!important;
  }
  .ik-video-youtube-page .ik-video-uploader{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-top:10px!important;
    gap:9px!important;
  }
  .ik-video-youtube-page .ik-video-uploader-avatar{width:38px!important;height:38px!important;flex-basis:38px!important}
  .ik-video-youtube-page .ik-video-uploader-name{font-size:.81rem!important;font-weight:800!important}
  .ik-video-youtube-page .ik-video-uploader-label{font-size:.63rem!important}
  .ik-video-youtube-page .ik-video-watch-meta{
    width:100%!important;
    max-width:100%!important;
    margin-top:8px!important;
    gap:8px!important;
    font-size:.67rem!important;
  }
  .ik-video-youtube-page .ik-video-watch-info p{
    width:100%!important;
    max-width:100%!important;
    margin-top:7px!important;
    font-size:.76rem!important;
    line-height:1.6!important;
    overflow-wrap:anywhere!important;
  }
  .ik-video-youtube-page .ik-video-related{
    display:block!important;
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-top:8px solid #f5f5f5!important;
    border-radius:0!important;
    background:#fff!important;
    overflow:visible!important;
    box-shadow:none!important;
  }
  .ik-video-youtube-page .ik-video-related-scroll{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
    padding:0!important;
    overscroll-behavior:auto!important;
  }
  .ik-video-youtube-page .ik-video-related-title{
    position:static!important;
    display:block!important;
    width:100%!important;
    padding:11px 12px 8px!important;
    margin:0!important;
    background:#fff!important;
    font-size:.84rem!important;
    line-height:1.3!important;
  }
  .ik-video-youtube-page .ik-video-related-item{
    display:grid!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-template-columns:minmax(0,42%) minmax(0,1fr)!important;
    gap:10px!important;
    align-items:start!important;
    margin:0!important;
    padding:9px 12px!important;
    border:0!important;
    border-top:1px solid #f1f1f1!important;
    border-radius:0!important;
    background:#fff!important;
    overflow:visible!important;
  }
  .ik-video-youtube-page .ik-video-related-thumb{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    aspect-ratio:16/9!important;
    height:auto!important;
    border-radius:9px!important;
    overflow:hidden!important;
  }
  .ik-video-youtube-page .ik-video-related-copy{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  .ik-video-youtube-page .ik-video-related-copy b{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    font-size:.76rem!important;
    line-height:1.36!important;
    -webkit-line-clamp:2!important;
    overflow-wrap:anywhere!important;
  }
  .ik-video-youtube-page .ik-video-related-copy small{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin-top:4px!important;
    font-size:.64rem!important;
    line-height:1.32!important;
    overflow-wrap:anywhere!important;
  }
  .ik-video-youtube-page .ik-video-related-thumb .ik-video-hover-preview{display:none!important}
  .ik-video-youtube-page .ik-video-related-thumb .ik-video-related-play{display:none!important}
  .ik-video-youtube-page .ik-video-related-thumb .ik-video-duration-badge{right:5px!important;bottom:5px!important}
  .ik-video-youtube-page .ik-video-related-sentinel{
    width:100%!important;
    min-width:0!important;
    min-height:36px!important;
    padding:8px 12px!important;
  }

  .ik-video-youtube-page .ik-video-mobile-bottom-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:90;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    align-items:start;
    width:100%;
    min-height:62px;
    padding:5px 4px calc(5px + env(safe-area-inset-bottom,0px));
    background:rgba(255,255,255,.98);
    border-top:1px solid #e8e8e8;
    box-shadow:0 -4px 14px rgba(0,0,0,.06);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
  }
  .ik-video-mobile-bottom-nav button{
    min-width:0;
    border:0;
    background:transparent;
    color:#6e6e6e;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    min-height:50px;
    padding:3px 2px;
    font:inherit;
    cursor:pointer;
  }
  .ik-video-mobile-bottom-nav button span{font-size:1.06rem;line-height:1}
  .ik-video-mobile-bottom-nav button b{font-size:.6rem;line-height:1.15;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .ik-video-mobile-bottom-nav button.is-active,
  .ik-video-mobile-bottom-nav button:active{color:#0e5a3c}

  /* Safe-area + keyboard-friendly treatment when the search box is open. */
  .ik-video-youtube-page.is-mobile-search-open .ik-video-mobile-topbar{box-shadow:none}
  .ik-video-youtube-page.is-mobile-search-open .ik-video-mobile-icon-btn{background:#f2f2f2}
}

/* V235 — Desktop Video page must never render the Android/mobile-only shell.
 * V234 intentionally mounts the mobile header and bottom navigation in the same
 * DOM for responsive switching; this desktop guard keeps those nodes invisible
 * above the mobile breakpoint without touching any desktop Video logic/layout.
 * The mobile breakpoint explicitly restores their intended display modes. */
.ik-video-youtube-page .ik-video-mobile-topbar,
.ik-video-youtube-page .ik-video-mobile-bottom-nav{
  display:none!important;
}
@media(max-width:760px){
  .ik-video-youtube-page .ik-video-mobile-topbar{
    display:flex!important;
  }
  .ik-video-youtube-page .ik-video-mobile-bottom-nav{
    display:grid!important;
  }
}

/* V237 — Imam/Bokta virtual playlists. Scoped to the public Video page only;
 * playlists are built from the existing published video records and route back
 * into the existing speaker-filtered video grid, so no other page is affected. */
.ik-video-youtube-page .ik-video-speaker-playlists-view{
  width:100%;
  min-width:0;
  padding:4px 0 18px;
}
.ik-video-youtube-page .ik-video-speaker-playlists-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin:4px 0 16px;
}
.ik-video-youtube-page .ik-video-speaker-playlists-kicker{
  color:var(--primary);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.02em;
  margin-bottom:4px;
}
.ik-video-youtube-page .ik-video-speaker-playlists-header h2{
  margin:0;
  font-size:1.18rem;
  line-height:1.35;
  font-weight:900;
  color:var(--text);
}
.ik-video-youtube-page .ik-video-speaker-playlists-header p{
  margin:5px 0 0;
  color:var(--text-muted);
  font-size:.78rem;
  line-height:1.55;
}
.ik-video-youtube-page .ik-video-speaker-playlists-count{
  flex:0 0 auto;
  padding:7px 10px;
  border:1px solid var(--border-light);
  border-radius:999px;
  background:var(--bg2);
  color:var(--text-muted);
  font-size:.72rem;
  font-weight:800;
  white-space:nowrap;
}
.ik-video-youtube-page .ik-video-speaker-playlist-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}
.ik-video-youtube-page .ik-video-speaker-playlist{
  min-width:0;
  width:100%;
  padding:0;
  border:1px solid var(--border-light);
  border-radius:15px;
  background:var(--bg);
  color:var(--text);
  text-align:left;
  overflow:hidden;
  cursor:pointer;
  box-shadow:0 6px 22px rgba(0,0,0,.05);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
  animation:ik-video-speaker-playlist-in .35s ease both;
  animation-delay:var(--ik-video-delay,0ms);
}
.ik-video-youtube-page .ik-video-speaker-playlist:hover{
  transform:translateY(-2px);
  border-color:var(--border);
  box-shadow:0 10px 26px rgba(0,0,0,.09);
}
.ik-video-youtube-page .ik-video-speaker-playlist:focus-visible{
  outline:3px solid rgba(14,90,60,.2);
  outline-offset:2px;
}
.ik-video-youtube-page .ik-video-playlist-art{
  position:relative;
  display:block;
  aspect-ratio:16/10;
  width:100%;
  overflow:hidden;
  background:linear-gradient(135deg,var(--primary-light),var(--bg3));
}
.ik-video-youtube-page .ik-video-playlist-thumb{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  background:var(--bg3);
}
.ik-video-youtube-page .ik-video-playlist-thumb-2{
  width:74%;
  left:13%;
  top:12%;
  height:78%;
  border:3px solid rgba(255,255,255,.92);
  border-radius:10px;
  box-shadow:0 7px 18px rgba(0,0,0,.18);
  transform:translateX(17%) rotate(3deg);
}
.ik-video-youtube-page .ik-video-playlist-thumb-3{
  width:72%;
  left:14%;
  top:12%;
  height:78%;
  border:3px solid rgba(255,255,255,.92);
  border-radius:10px;
  box-shadow:0 7px 18px rgba(0,0,0,.16);
  transform:translateX(-17%) rotate(-3deg);
  filter:saturate(.92);
}
.ik-video-youtube-page .ik-video-playlist-thumb-1{
  z-index:2;
  width:82%;
  left:9%;
  top:6%;
  height:88%;
  border:3px solid rgba(255,255,255,.96);
  border-radius:11px;
  box-shadow:0 10px 22px rgba(0,0,0,.22);
}
.ik-video-youtube-page .ik-video-playlist-fallback{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:2.8rem;
  color:var(--primary);
  background:linear-gradient(135deg,var(--primary-light),var(--bg3));
}
.ik-video-youtube-page .ik-video-playlist-count{
  position:absolute;
  right:9px;
  bottom:9px;
  z-index:4;
  padding:5px 8px;
  border-radius:8px;
  background:rgba(0,0,0,.72);
  color:#fff;
  font-size:.67rem;
  font-weight:850;
  line-height:1;
}
.ik-video-youtube-page .ik-video-playlist-copy{
  display:block;
  min-width:0;
  padding:12px 12px 10px;
}
.ik-video-youtube-page .ik-video-playlist-copy strong{
  display:block;
  min-width:0;
  color:var(--text);
  font-size:.88rem;
  line-height:1.35;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ik-video-youtube-page .ik-video-playlist-copy small{
  display:block;
  margin-top:4px;
  color:var(--text-muted);
  font-size:.69rem;
  line-height:1.35;
}
.ik-video-youtube-page .ik-video-playlist-arrow{
  display:block;
  position:relative;
  margin:-34px 10px 7px auto;
  width:28px;
  height:28px;
  border-radius:50%;
  background:rgba(255,255,255,.95);
  color:var(--text);
  box-shadow:0 5px 14px rgba(0,0,0,.13);
  font-size:1.35rem;
  line-height:24px;
  text-align:center;
  z-index:5;
}
@keyframes ik-video-speaker-playlist-in{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:translateY(0)}
}
@media (max-width:1250px){
  .ik-video-youtube-page .ik-video-speaker-playlist-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:980px){
  .ik-video-youtube-page .ik-video-speaker-playlist-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}
@media (max-width:760px){
  .ik-video-youtube-page .ik-video-speaker-playlists-header{align-items:flex-start;flex-direction:column;gap:8px}
  .ik-video-youtube-page .ik-video-speaker-playlists-header p{font-size:.72rem}
}
@media (max-width:520px){
  .ik-video-youtube-page .ik-video-speaker-playlist-grid{grid-template-columns:1fr;gap:12px}
  .ik-video-youtube-page .ik-video-speaker-playlist{display:grid;grid-template-columns:150px minmax(0,1fr);border-radius:12px}
  .ik-video-youtube-page .ik-video-playlist-art{aspect-ratio:16/10;border-right:1px solid var(--border-light)}
  .ik-video-youtube-page .ik-video-playlist-copy{padding:13px 12px 8px}
  .ik-video-youtube-page .ik-video-playlist-arrow{grid-column:2;align-self:end;margin:-38px 10px 7px auto}
}


/* V240 — Site Settings right-side control for the public Video thumbnail badge. */
.ik-admin-settings-layout{
  display:grid;
  grid-template-columns:minmax(0,900px) minmax(300px,1fr);
  gap:24px;
  align-items:start;
  width:100%;
}
.ik-admin-settings-layout > #settings-form{
  width:100%;
  max-width:900px!important;
  min-width:0;
}
.ik-admin-video-settings-card{
  min-width:0;
  align-self:start;
  border:1px solid var(--border-light);
  background:linear-gradient(180deg,var(--bg2),var(--bg1));
  box-shadow:var(--shadow-sm);
}
.ik-admin-video-settings-title{
  font-weight:800;
  line-height:1.45;
}
.ik-admin-video-settings-subtitle{
  margin-top:7px;
  color:var(--text-muted);
  font-size:.82rem;
  line-height:1.65;
  font-weight:400;
}
.ik-admin-video-settings-field{margin-top:16px}
.ik-admin-video-settings-help{
  margin-top:7px;
  color:var(--text-muted);
  font-size:.75rem;
  line-height:1.55;
}
.ik-admin-video-settings-preview{
  margin-top:16px;
  padding:12px;
  border:1px dashed var(--border);
  border-radius:12px;
  background:var(--bg3);
}
.ik-admin-video-settings-preview-label{
  margin-bottom:9px;
  color:var(--text-muted);
  font-size:.74rem;
  font-weight:700;
}
.ik-admin-video-thumb-preview{
  position:relative;
  min-height:130px;
  border-radius:11px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--primary-light),var(--bg2));
  border:1px solid var(--border-light);
}
.ik-admin-video-thumb-preview-play{
  width:42px;
  height:42px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.68);
  color:#fff;
  font-size:1rem;
}
.ik-admin-video-thumb-preview .ik-video-platform{
  position:absolute;
  top:9px;
  right:9px;
  max-width:calc(100% - 18px);
}
@media(max-width:1250px){
  .ik-admin-settings-layout{grid-template-columns:minmax(0,1fr)}
  .ik-admin-settings-layout > #settings-form{max-width:none!important}
  .ik-admin-video-settings-card{position:static}
}


/* V242/V244 — Video page keeps only the copyright strip in the public footer.
 * Other routes keep the existing multi-column footer unchanged. */
#public-footer.ik-video-footer-minimal{
  padding-top:14px;
  padding-bottom:16px;
  margin-top:28px;
}
#public-footer.ik-video-footer-minimal .footer-grid{display:none!important;}
#public-footer.ik-video-footer-minimal .container>div:last-child{
  margin-top:0!important;
  padding-top:12px!important;
  border-top:1px solid var(--border-light)!important;
}
@media(max-width:760px){
  #public-footer.ik-video-footer-minimal{display:none!important;}
}

/* V245 — Dynamic public Video sidebar presentation. The sidebar now uses
 * configurable anchors instead of hard-coded buttons while preserving the
 * existing compact/collapsed layout. */
.ik-video-brand,
.ik-video-sidebar-link{ text-decoration:none; }
.ik-video-brand:focus-visible,
.ik-video-sidebar-link:focus-visible{ outline:2px solid var(--primary); outline-offset:2px; }
.ik-video-brand-mark{ overflow:hidden; }
.ik-video-brand-mark img{ width:100%; height:100%; object-fit:cover; display:block; border-radius:inherit; }
.ik-admin-settings-side-stack{ display:flex; flex-direction:column; gap:18px; min-width:0; }
.ik-admin-video-sidebar-settings-card{ min-width:0; background:linear-gradient(180deg,var(--bg2),var(--bg1)); border:1px solid var(--border-light); box-shadow:var(--shadow-sm); }
.ik-admin-video-sidebar-settings-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.ik-admin-video-sidebar-settings-subtitle{ color:var(--text-muted); font-size:.78rem; line-height:1.6; margin-top:5px; }
.ik-video-sidebar-brand-preview{ display:flex; align-items:center; gap:10px; padding:10px 12px; background:var(--bg3); border:1px solid var(--border-light); border-radius:12px; margin-top:12px; }
.ik-video-sidebar-brand-preview-mark{ width:38px; height:38px; flex:0 0 38px; border-radius:12px; display:grid; place-items:center; color:#fff; background:var(--primary); overflow:hidden; }
.ik-video-sidebar-brand-preview-mark img{ width:100%; height:100%; object-fit:cover; display:block; }
.ik-admin-video-sidebar-menu-group{ margin-top:14px; border:1px solid var(--border-light); border-radius:12px; overflow:hidden; background:var(--bg1); }
.ik-admin-video-sidebar-menu-group-head{ padding:10px 12px; display:flex; align-items:center; justify-content:space-between; gap:10px; background:var(--bg3); border-bottom:1px solid var(--border-light); }
.ik-admin-video-sidebar-menu-list{ display:flex; flex-direction:column; }
.ik-admin-video-sidebar-menu-row{ display:flex; align-items:center; gap:9px; padding:10px 12px; border-bottom:1px solid var(--border-light); }
.ik-admin-video-sidebar-menu-row:last-child{ border-bottom:0; }
.ik-admin-video-sidebar-menu-icon{ width:32px; height:32px; border-radius:9px; background:var(--primary-light); color:var(--primary); display:grid; place-items:center; flex:0 0 32px; font-size:.98rem; }
.ik-admin-video-sidebar-menu-copy{ min-width:0; flex:1; }
.ik-admin-video-sidebar-menu-name{ font-weight:750; font-size:.82rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ik-admin-video-sidebar-menu-meta{ color:var(--text-muted); font-size:.68rem; margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ik-admin-video-sidebar-menu-actions{ display:flex; align-items:center; gap:4px; flex:0 0 auto; }
.ik-admin-video-sidebar-empty{ padding:14px 12px; color:var(--text-muted); font-size:.76rem; text-align:center; }
.ik-admin-video-sidebar-modal-grid{ display:grid; grid-template-columns:110px minmax(0,1fr); gap:12px; }
@media(max-width:520px){
  .ik-admin-video-sidebar-modal-grid{ grid-template-columns:1fr; }
  .ik-admin-video-sidebar-menu-row{ align-items:flex-start; }
  .ik-admin-video-sidebar-menu-actions{ flex-wrap:wrap; justify-content:flex-end; }
}

/* V246 — managed Imam/Bokta selector + directory manager */
.ik-video-speaker-field-wrap{min-width:0}
.ik-video-speaker-input-row{display:flex;gap:8px;align-items:stretch}
.ik-video-speaker-input-row .select{flex:1;min-width:0}
.ik-video-speaker-manage-btn{flex:0 0 auto;white-space:nowrap}
.ik-video-speaker-field-help{margin-top:6px;color:var(--text-muted);font-size:.72rem;line-height:1.5}
.ik-video-speaker-manager-list{display:flex;flex-direction:column;gap:8px;max-height:min(55vh,520px);overflow:auto;padding-right:3px}
.ik-video-speaker-manager-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--border-light);border-radius:12px;background:var(--bg2)}
.ik-video-speaker-manager-order{width:30px;height:30px;border-radius:9px;background:var(--primary-light);color:var(--primary);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.8rem}
.ik-video-speaker-manager-active{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:.74rem;color:var(--text-muted)}
.ik-video-speaker-manager-actions{display:flex;gap:4px;align-items:center}
.ik-video-speaker-manager-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--border-light)}
.ik-video-speaker-manager-empty{padding:18px;text-align:center;color:var(--text-muted);border:1px dashed var(--border);border-radius:12px;background:var(--bg3);font-size:.8rem}
@media(max-width:640px){
  .ik-video-speaker-input-row{flex-direction:column}
  .ik-video-speaker-manage-btn{width:100%}
  .ik-video-speaker-manager-row{grid-template-columns:30px minmax(0,1fr);}
  .ik-video-speaker-manager-active{grid-column:2;justify-self:start}
  .ik-video-speaker-manager-actions{grid-column:2;justify-self:end}
  .ik-video-speaker-manager-add{grid-template-columns:1fr}
}


/* V249 — Compact label + live-search Imam/Bokta combobox (reference-style admin form) */
.ik-video-speaker-field-wrap{position:relative;min-width:0}
.ik-video-speaker-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:20px;margin-bottom:6px}
.ik-video-speaker-label{display:block;margin:0;color:var(--text);font-size:.76rem;font-weight:750;line-height:1.25}
.ik-video-speaker-label>span{color:var(--danger);font-weight:800}
.ik-video-speaker-manage-btn{appearance:none;border:0;background:transparent;color:var(--primary);font-size:.72rem;font-weight:750;line-height:1;padding:2px 0;cursor:pointer;white-space:nowrap}
.ik-video-speaker-manage-btn:hover{text-decoration:underline}
.ik-video-speaker-combobox{position:relative}
.ik-video-speaker-search{width:100%;padding-right:38px}
.ik-video-speaker-search-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--text-muted);cursor:pointer;font-size:1rem;display:grid;place-items:center}
.ik-video-speaker-search-toggle:hover{background:var(--bg3);color:var(--text)}
.ik-video-speaker-results{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:80;max-height:250px;overflow:auto;padding:5px;background:var(--bg2);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-lg)}
.ik-video-speaker-result{display:flex;width:100%;align-items:center;gap:7px;border:0;background:transparent;color:var(--text);text-align:left;border-radius:9px;padding:9px 10px;cursor:pointer;font:inherit;line-height:1.3}
.ik-video-speaker-result:hover,.ik-video-speaker-result.is-keyboard-active{background:var(--primary-light);color:var(--primary)}
.ik-video-speaker-result.is-selected{font-weight:750;background:var(--bg3)}
.ik-video-speaker-result-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.ik-video-speaker-result-note{flex:0 0 auto;font-size:.62rem;color:var(--text-muted);padding:2px 6px;border-radius:999px;background:var(--bg3)}
.ik-video-speaker-result-empty{padding:12px 10px;text-align:center;color:var(--text-muted);font-size:.78rem}
.ik-video-speaker-field-help{margin-top:5px;color:var(--text-muted);font-size:.68rem;line-height:1.45}
@media(max-width:640px){
  .ik-video-speaker-label{font-size:.74rem}
  .ik-video-speaker-results{max-height:220px}
  .ik-video-speaker-field-help{font-size:.66rem}
}


/* V258 — compact in-field clear control matching the reference UI.
 * The x button sits inside the input near the right corner instead of taking
 * up a separate horizontal segment, while the existing dropdown arrow remains
 * in its own control at the far right. */
.ik-video-speaker-search{padding-right:64px}
.ik-video-speaker-search-clear{
  position:absolute;
  top:50%;
  right:49px;
  z-index:4;
  width:26px;
  height:26px;
  min-width:26px;
  min-height:26px;
  margin:0;
  padding:0;
  border:0;
  border-radius:50%;
  background:#ec0a64;
  color:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  transform:translateY(-50%);
  font-size:18px;
  font-weight:800;
  line-height:1;
  font-family:inherit;
  box-shadow:0 2px 7px rgba(236,10,100,.22);
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
  touch-action:manipulation;
}
.ik-video-speaker-search-clear:hover{
  background:#d80959;
  box-shadow:0 4px 10px rgba(236,10,100,.28);
  transform:translateY(-50%) scale(1.05);
}
.ik-video-speaker-search-clear:active{transform:translateY(-50%) scale(.92)}
.ik-video-speaker-search-clear:focus-visible{
  outline:2px solid var(--primary);
  outline-offset:2px;
}
.ik-video-speaker-search-clear[hidden]{display:none}
/* V252 — Uploaded Video Studio uses the site default light theme; contributor contact spacing is reserved even when no contacts exist. */
/* V251 — Native-select-style speaker field. The live-search input is visually
 * segmented from the arrow control so the field matches the reference UI without
 * changing its accessible combobox behavior. */
.ik-video-speaker-combobox{display:flex;position:relative;width:100%}
.ik-video-speaker-combobox .ik-video-speaker-search{flex:1 1 auto;min-width:0;border-radius:8px 0 0 8px;border-right:0;padding-right:12px}
.ik-video-speaker-combobox .ik-video-speaker-search:focus{position:relative;z-index:2}
.ik-video-speaker-search-toggle{position:relative;right:auto;top:auto;transform:none;width:42px;min-width:42px;height:100%;min-height:44px;border:1px solid var(--border);border-left:1px solid var(--border);border-radius:0 8px 8px 0;background:var(--bg2);color:var(--text);cursor:pointer;display:grid;place-items:center;padding:0;font-size:1rem;line-height:1;touch-action:manipulation}
.ik-video-speaker-search-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}
.ik-video-speaker-search-toggle:hover{background:var(--bg3);color:var(--primary)}
.ik-video-speaker-field-wrap.is-focused .ik-video-speaker-search-toggle{border-color:var(--primary)}
.ik-video-speaker-field-wrap.is-focused .ik-video-speaker-search{border-color:var(--primary)}
.ik-video-speaker-results{top:calc(100% + 6px);border-radius:10px;padding:4px;box-shadow:0 10px 24px rgba(0,0,0,.12)}
/* V250 — YouTube-Studio-inspired Uploaded Video content workspace.
 * Scoped only to #admin/uploaded-videos; admin chrome and other pages remain unchanged. */
.ik-uploaded-video-studio{background:var(--bg2);color:var(--text);border:1px solid var(--border-light);border-radius:18px;box-shadow:var(--shadow-sm);overflow:hidden;min-height:calc(100vh - 110px)}
.ik-studio-content-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:28px 28px 18px;border-bottom:1px solid var(--border-light);background:var(--bg2)}
.ik-studio-eyebrow{font-size:.72rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;font-weight:700;margin-bottom:4px}
.ik-studio-heading-copy h1{margin:0;font-size:2rem;line-height:1.2;color:var(--text);letter-spacing:-.02em;font-weight:800}
.ik-studio-create{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 16px;border:1px solid var(--border);border-radius:999px;background:var(--bg3);color:var(--text);text-decoration:none;font-weight:700;font-size:.82rem;white-space:nowrap;transition:.18s ease}
.ik-studio-create:hover{background:var(--primary-light);border-color:var(--primary);color:var(--primary);transform:translateY(-1px)}
.ik-studio-tabs{display:flex;align-items:flex-end;gap:0;overflow:auto;scrollbar-width:none;border-bottom:1px solid var(--border-light);background:var(--bg2);padding:0 28px}
.ik-studio-tabs::-webkit-scrollbar{display:none}
.ik-studio-tab{position:relative;padding:15px 16px 13px;border:0;background:transparent;color:var(--text-muted);cursor:pointer;font:inherit;font-weight:700;font-size:.84rem;white-space:nowrap}
.ik-studio-tab:hover{color:var(--text)}
.ik-studio-tab.is-active{color:var(--primary)}
.ik-studio-tab.is-active:after{content:'';position:absolute;left:12px;right:12px;bottom:-1px;height:2px;border-radius:2px;background:var(--primary)}
.ik-studio-toolbar{display:flex;align-items:center;gap:14px;position:relative;padding:14px 28px;border-bottom:1px solid var(--border-light);background:var(--bg2);min-height:66px}
.ik-studio-filter-side{display:flex;align-items:center;gap:14px;flex:0 0 auto}
.ik-studio-filter-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 2px;border:0;background:none;color:var(--text-muted);cursor:pointer;font:inherit;font-size:.82rem}
.ik-studio-filter-btn:hover{color:var(--text)}
.ik-studio-result-count{color:var(--text-light);font-size:.72rem}
.ik-studio-search-wrap{margin-left:auto;width:min(420px,46vw);position:relative}
.ik-studio-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-light);pointer-events:none}
.ik-studio-search{width:100%;box-sizing:border-box;background:var(--bg3);border:1px solid var(--border);color:var(--text);border-radius:8px;padding:10px 12px 10px 34px;outline:none;font:inherit;font-size:.82rem}
.ik-studio-search::placeholder{color:var(--text-light)}
.ik-studio-search:focus{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-light)}
.ik-studio-filter-panel{position:absolute;right:28px;top:58px;z-index:15;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--bg2);box-shadow:var(--shadow-lg)}
.ik-studio-filter-panel[hidden]{display:none}
.ik-studio-filter-panel label{display:flex;align-items:center;gap:8px;color:var(--text-muted);font-size:.76rem}
.ik-studio-select{background:var(--bg3);border:1px solid var(--border);color:var(--text);border-radius:7px;padding:8px 10px;font:inherit;font-size:.76rem}
.ik-studio-table-wrap{overflow:auto;max-width:100%}
.ik-studio-table{min-width:1020px}
.ik-studio-table-head,.ik-studio-table-row{display:grid;grid-template-columns:48px minmax(420px,1.75fr) minmax(150px,.72fr) 118px 170px 150px 80px 90px;align-items:stretch}
.ik-studio-table-head{background:var(--bg3);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:.7rem;font-weight:700;letter-spacing:.01em;position:sticky;top:0;z-index:5}
.ik-studio-table-head>div{padding:12px 12px}
.ik-studio-table-body{background:var(--bg2)}
.ik-studio-table-row{min-height:106px;border-bottom:1px solid var(--border-light);background:var(--bg2);transition:background .15s ease}
.ik-studio-table-row:hover{background:var(--primary-soft)}
.ik-studio-table-row>div{padding:12px;display:flex;align-items:center;min-width:0}
.ik-studio-check-col{justify-content:center}
.ik-studio-check-col input{width:17px;height:17px;accent-color:var(--primary)}
.ik-studio-video-cell{display:flex;gap:12px;align-items:flex-start;width:100%;min-width:0}
.ik-studio-thumb-wrap{width:132px;aspect-ratio:16/9;border-radius:7px;overflow:hidden;position:relative;flex:0 0 132px;background:var(--bg3);border:1px solid var(--border)}
.ik-studio-thumb-wrap img{width:100%;height:100%;object-fit:cover;display:block}
.ik-studio-thumb-fallback{width:100%;height:100%;display:grid;place-items:center;font-size:1.5rem;color:var(--text-muted)}
.ik-studio-duration{position:absolute;right:5px;bottom:5px;padding:2px 5px;border-radius:3px;background:rgba(0,0,0,.72);color:#fff;font-size:.58rem;font-weight:700}
.ik-studio-video-copy{min-width:0;position:relative;flex:1;padding-right:2px}
.ik-studio-video-title{font-size:.86rem;line-height:1.42;font-weight:700;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ik-studio-video-desc{margin-top:4px;color:var(--text-muted);font-size:.68rem;line-height:1.45;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.ik-studio-video-submeta{margin-top:5px;color:var(--text-light);font-size:.66rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ik-studio-uploader-col{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center;gap:2px}
.ik-studio-uploader-name{font-size:.72rem;font-weight:700;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.ik-studio-uploader-role{font-size:.62rem;color:var(--text-light);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.ik-studio-approval-age{display:flex;flex-direction:column;gap:2px;align-items:flex-start;justify-content:center;min-width:0}
.ik-studio-approval-age strong{font-size:.72rem;color:#b54708;font-weight:800;white-space:nowrap}
.ik-studio-approval-age small{font-size:.6rem;color:var(--text-light);white-space:nowrap}
.ik-studio-row-actions{display:flex;align-items:center;gap:4px;margin-top:8px;opacity:0;transform:translateY(2px);transition:opacity .15s ease,transform .15s ease}
.ik-studio-table-row:hover .ik-studio-row-actions,.ik-studio-table-row:focus-within .ik-studio-row-actions{opacity:1;transform:none}
.ik-studio-action{width:30px;height:30px;border-radius:7px;border:1px solid var(--border);background:var(--bg2);color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;padding:0;font:inherit;box-shadow:var(--shadow-sm)}
.ik-studio-action:hover{background:var(--primary-light);border-color:var(--primary);color:var(--primary)}
.ik-studio-action-danger:hover{background:#fff1f0;border-color:#f2a7a0;color:#b42318}
.ik-studio-notice-dot{font-size:.68rem;color:var(--text-muted)}
.ik-studio-notice-dot.is-pending{color:#b54708}
.ik-studio-visibility{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;color:var(--text-muted)}
.ik-studio-visibility-icon{font-size:.7rem;color:var(--primary)}
.ik-studio-date-col{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center;gap:2px}
.ik-studio-date-col strong{font-size:.72rem;color:var(--text)}
.ik-studio-date-col small{font-size:.62rem;color:var(--text-light)}
.ik-studio-views-col,.ik-studio-comments-col{justify-content:center;color:var(--text)}
.ik-studio-empty{padding:54px 20px;text-align:center;border-top:1px solid var(--border-light);background:var(--bg2);color:var(--text-muted)}
.ik-studio-empty-icon{font-size:2rem;margin-bottom:8px}
@media (max-width:900px){.ik-studio-content-head{align-items:flex-start;flex-direction:column;padding:22px 18px 16px}.ik-studio-tabs{padding:0 18px}.ik-studio-toolbar{padding:12px 18px;flex-wrap:wrap}.ik-studio-search-wrap{width:100%;margin-left:0}.ik-studio-filter-panel{left:18px;right:18px;top:110px}}
@media (prefers-reduced-motion:reduce){.ik-studio-create,.ik-studio-table-row,.ik-studio-row-actions,.ik-studio-action{transition:none}}
.ik-studio-empty{min-height:280px;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:var(--text-muted);background:var(--bg2);text-align:center}
.ik-studio-empty strong{color:var(--text);font-size:.84rem}
.ik-studio-empty-icon{font-size:2rem;margin-bottom:2px}
@media(max-width:900px){
  .ik-studio-content-head{padding:22px 18px 16px}
  .ik-studio-tabs{padding:0 18px}
  .ik-studio-toolbar{padding:12px 18px;flex-wrap:wrap}
  .ik-studio-search-wrap{width:100%;order:2;margin-left:0}
  .ik-studio-filter-panel{left:18px;right:auto}
}
@media(max-width:640px){
  .ik-uploaded-video-studio{border-radius:12px;min-height:calc(100vh - 90px)}
  .ik-studio-content-head{align-items:flex-start;flex-direction:column}
  .ik-studio-heading-copy h1{font-size:1.55rem}
  .ik-studio-create{width:100%}
  .ik-studio-tabs{padding:0 10px}
  .ik-studio-tab{padding:13px 12px 11px;font-size:.78rem}
  .ik-studio-table-head,.ik-studio-table-row{grid-template-columns:40px minmax(330px,1.65fr) minmax(125px,.72fr) 72px 140px 125px 65px 75px}
  .ik-studio-thumb-wrap{width:112px;flex-basis:112px}
}

/* V252 — keep the same vertical contact area on contributor cards without WhatsApp/Messenger. */
.contributors-contact-row-empty{visibility:hidden;pointer-events:none;min-height:38px;height:38px;margin-top:10px}

/* V256 — Keep the Imam/Bokta live-search field and its arrow segment exactly the same height. */
.ik-video-speaker-combobox .ik-video-speaker-search,
.ik-video-speaker-combobox .ik-video-speaker-search-toggle{
  height:44px;
  min-height:44px;
  box-sizing:border-box;
}
.ik-video-speaker-combobox .ik-video-speaker-search{
  line-height:1.35;
}
.ik-video-speaker-combobox .ik-video-speaker-search-toggle{
  align-self:stretch;
}

/* V258 final cascade guard — keep text space inside the input clear of the
 * in-field x control, which sits immediately before the existing dropdown arrow. */
.ik-video-speaker-combobox .ik-video-speaker-search{
  padding-right:64px;
}


/* V262 — YouTube-style Shorts viewer. Long-form watch pages use the existing
 * right queue, while Shorts open in a dedicated 9:16 vertical snap surface.
 * The viewer is self-contained so the normal Video page and other routes remain
 * unchanged. Wheel, touch swipe, keyboard arrows/PageUp/PageDown and visible
 * up/down controls all advance the same short queue. */
body.ik-video-shorts-open{overflow:hidden!important}
.ik-video-youtube-page #ik-video-watch:has(.ik-video-shorts-viewer){margin:0!important;padding:0!important}
.ik-video-shorts-viewer{position:fixed;inset:var(--header-h,70px) 0 0 0;z-index:120;background:radial-gradient(circle at 50% 45%,#17352a 0,#08110d 55%,#030605 100%);display:flex;align-items:center;justify-content:center;overflow:hidden;overscroll-behavior:none;outline:none}
.ik-video-shorts-stage{position:relative;height:min(92vh,900px);aspect-ratio:9/16;max-width:calc(100vw - 180px);max-height:calc(100% - 28px);overflow:hidden;border-radius:18px;background:#020403;box-shadow:0 28px 70px rgba(0,0,0,.38)}
.ik-video-shorts-rail{width:100%;height:100%;transition:transform .34s cubic-bezier(.22,.8,.24,1);will-change:transform}
.ik-video-shorts-slide{position:relative;width:100%;height:100%;overflow:hidden;background:#050807;display:flex;align-items:center;justify-content:center}
.ik-video-shorts-player-slot{position:absolute;inset:0;display:grid;place-items:center;background:#050807}
.ik-video-shorts-player-slot>img,.ik-video-shorts-poster-fallback{width:100%;height:100%;object-fit:cover;display:block}
.ik-video-shorts-poster-fallback{display:grid;place-items:center;color:#fff;font-size:3rem;background:linear-gradient(160deg,#0e5a3c,#071b13)}
.ik-video-shorts-iframe,.ik-video-shorts-native-video,.ik-video-shorts-player-slot .ik-drive-player-wrap{width:100%;height:100%;min-height:0;border:0;background:#000;display:block}
.ik-video-shorts-player-slot .ik-drive-player-wrap video,.ik-video-shorts-player-slot .ik-drive-player-wrap iframe{width:100%;height:100%;min-height:0;object-fit:cover}
.ik-video-shorts-gradient{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(0,0,0,.88),rgba(0,0,0,0) 38%,rgba(0,0,0,.14) 100%)}
.ik-video-shorts-caption{position:absolute;left:18px;right:18px;bottom:18px;color:#fff;z-index:8;pointer-events:none;text-shadow:0 2px 12px rgba(0,0,0,.5)}
.ik-video-shorts-speaker{font-size:.76rem;font-weight:850;margin-bottom:5px}
.ik-video-shorts-caption h2{margin:0;font-size:1rem;line-height:1.45;font-weight:800;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ik-video-shorts-meta{margin-top:6px;font-size:.7rem;opacity:.82}
.ik-video-shorts-close{position:absolute;right:22px;top:20px;z-index:30;width:42px;height:42px;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(0,0,0,.45);color:#fff;font-size:1.5rem;line-height:1;cursor:pointer;display:grid;place-items:center;backdrop-filter:blur(10px);box-shadow:0 8px 22px rgba(0,0,0,.18)}
.ik-video-shorts-close:hover{background:rgba(0,0,0,.68)}
.ik-video-shorts-side-controls{position:absolute;right:max(22px,calc((100vw - min(100vw - 180px,600px))/2 - 70px));top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:10px;z-index:30}
.ik-video-shorts-nav-btn{width:44px;height:44px;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(0,0,0,.45);color:#fff;font-size:1.1rem;cursor:pointer;display:grid;place-items:center;backdrop-filter:blur(10px)}
.ik-video-shorts-nav-btn:hover{background:rgba(0,0,0,.68)}
.ik-video-shorts-player-error{color:#fff;padding:24px;text-align:center;font-weight:700}
.ik-video-shorts-viewer .ik-youtube-click-blocker{z-index:22}
@media(max-width:760px){
  .ik-video-shorts-viewer{inset:var(--header-h,70px) 0 0 0;background:#020403}
  .ik-video-shorts-stage{height:100%;max-height:none;max-width:none;aspect-ratio:auto;width:min(100vw,560px);border-radius:0;box-shadow:none}
  .ik-video-shorts-caption{left:14px;right:14px;bottom:18px}
  .ik-video-shorts-side-controls{right:10px;top:auto;bottom:116px;transform:none}
  .ik-video-shorts-nav-btn{width:40px;height:40px}
  .ik-video-shorts-close{right:12px;top:12px}
}

/* V264 — Shorts interaction refinements: native player controls are allowed to
 * auto-hide after playback, navigation arrows reflect queue position, and
 * transparent edge catcher zones make mouse-wheel/touch navigation reliable
 * without placing an opaque layer over the YouTube player. */
.ik-video-shorts-side-controls .ik-video-shorts-nav-btn[hidden]{display:none!important}
.ik-video-shorts-wheel-catcher{position:absolute;top:18%;bottom:18%;width:72px;z-index:24;border:0;background:transparent;padding:0;margin:0;cursor:default}
.ik-video-shorts-wheel-catcher-left{left:max(0px,calc(50% - 300px - 72px));}
.ik-video-shorts-wheel-catcher-right{right:max(0px,calc(50% - 300px - 72px));}
.ik-video-shorts-wheel-catcher:focus{outline:none}
@media(max-width:900px){
  .ik-video-shorts-wheel-catcher{width:44px;top:22%;bottom:22%}
  .ik-video-shorts-wheel-catcher-left{left:0}
  .ik-video-shorts-wheel-catcher-right{right:0}
}

@media(prefers-reduced-motion:reduce){.ik-video-shorts-rail{transition:none}}

/* V265: robust Shorts interaction layer. YouTube's cross-origin iframe cannot
   expose wheel/swipe events to the parent document, so the iframe is rendered
   non-interactive while a transparent same-origin gesture layer captures
   wheel/swipe/click. This removes the persistent native pause/outbound controls
   without black masks. */
.ik-video-shorts-slide.is-youtube-short .ik-video-shorts-iframe{pointer-events:none!important}
.ik-video-shorts-gesture-layer{position:absolute;inset:0;z-index:6;background:transparent;pointer-events:none;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.ik-video-shorts-slide.is-youtube-short .ik-video-shorts-gesture-layer{pointer-events:auto;cursor:default}
.ik-video-shorts-custom-controls{position:absolute;top:12px;right:12px;z-index:32;display:flex;gap:8px}
.ik-video-shorts-custom-controls[hidden]{display:none!important}
.ik-video-shorts-custom-btn{width:38px;height:38px;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(0,0,0,.42);color:#fff;font-weight:800;font-size:.76rem;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(10px);box-shadow:0 6px 18px rgba(0,0,0,.18)}
.ik-video-shorts-custom-btn:hover{background:rgba(0,0,0,.62)}
.ik-video-shorts-custom-btn.is-active{background:rgba(14,90,60,.82);border-color:rgba(255,255,255,.32)}
@media(max-width:900px){.ik-video-shorts-custom-controls{top:10px;right:10px}.ik-video-shorts-custom-btn{width:34px;height:34px;font-size:.7rem}}


/* V266 — Public Video Home Shorts shelf: show five portrait Shorts cards on
 * desktop, align the shelf to the same content width as Long Video, and keep
 * the section itself free of any enclosing card/background/border treatment. */
.ik-video-youtube-page .ik-video-section-shorts{
  width:100%!important;
  max-width:100%!important;
  margin-top:28px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-shorts-channel-heading{
  margin:0 0 14px!important;
  padding:0!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-short-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  gap:28px 18px!important;
  background:transparent!important;
  border:0!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-card{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb{
  width:100%!important;
  max-width:none!important;
  aspect-ratio:9/14!important;
  height:auto!important;
  border-radius:12px!important;
  background:var(--bg2)!important;
  box-shadow:var(--shadow-sm)!important;
  overflow:hidden!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-card-body{
  padding:10px 0 0!important;
  background:transparent!important;
}
@media (max-width:1250px){
  .ik-video-youtube-page .ik-video-section-shorts .ik-video-short-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (max-width:980px){
  .ik-video-youtube-page .ik-video-section-shorts .ik-video-short-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:760px){
  .ik-video-youtube-page .ik-video-section-shorts{margin-top:18px!important}
  .ik-video-youtube-page .ik-video-section-shorts .ik-video-short-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 12px!important}
}
@media (max-width:520px){
  .ik-video-youtube-page .ik-video-section-shorts .ik-video-short-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 10px!important}
}

/* V268 — Shorts shelf visual polish: remove any residual thumbnail framing and
 * crop portrait source art cleanly so the shelf reads like a native Shorts rail.
 * Scoped to the public Video page only; long-form cards and other routes stay intact. */
.ik-video-youtube-page .ik-video-section-shorts .ik-video-short-grid{
  background:transparent!important;
  border:0!important;
  outline:0!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-card,
.ik-video-youtube-page .ik-video-section-shorts .ik-video-card::before,
.ik-video-youtube-page .ik-video-section-shorts .ik-video-card::after{
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  background:transparent!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb{
  position:relative!important;
  width:100%!important;
  max-width:none!important;
  aspect-ratio:9/16!important;
  height:auto!important;
  border:0!important;
  outline:0!important;
  border-radius:14px!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb .ik-video-poster{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  transform:scale(1.10)!important;
  transform-origin:center center!important;
  transition:transform .35s ease!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-card:hover .ik-video-thumb .ik-video-poster{
  transform:scale(1.14)!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-hover-preview{
  border:0!important;
  box-shadow:none!important;
}


/* V269 — Shorts interaction hardening: capture gestures without drawing a visual mask. */
.ik-video-shorts-gesture-layer{touch-action:none!important;overscroll-behavior:none!important}
.ik-video-shorts-slide.is-youtube-short .ik-video-shorts-gesture-layer{pointer-events:auto!important}

/* V270 — deterministic Shorts YouTube host fills the active 9:16 slide. The host
   itself has no visible frame; the IFrame API injects the real player inside it. */
.ik-video-shorts-yt-host{position:absolute;inset:0;width:100%;height:100%;background:#000;z-index:1;overflow:hidden}
.ik-video-shorts-yt-host iframe{display:block!important;width:100%!important;height:100%!important;border:0!important}


/* V280 — YouTube-style Shorts single-player surface. The iframe itself is the
   interactive playback surface; no transparent click blocker sits over the video. */
.ik-video-shorts-current-slide .ik-video-shorts-iframe{pointer-events:auto!important;position:relative;z-index:5}
.ik-video-shorts-current-slide .ik-video-shorts-gradient{z-index:7}
.ik-video-shorts-current-slide .ik-video-shorts-caption{z-index:8}

/* V288 — native controls remain usable; only the central video tap zone captures
   Shorts click-to-toggle. Top/native controls are left free for volume/fullscreen. */
.ik-video-shorts-current-slide .ik-video-shorts-iframe{pointer-events:auto!important;position:relative;z-index:5}
.ik-video-shorts-current-slide .ik-video-shorts-gradient{z-index:7;pointer-events:none!important}
.ik-video-shorts-current-slide .ik-video-shorts-caption{z-index:8;pointer-events:none}
.ik-video-shorts-tap-toggle{
  position:absolute;left:8%;right:8%;top:13%;bottom:14%;z-index:18;
  border:0;background:transparent;color:transparent;cursor:pointer;padding:0;margin:0;
  border-radius:18px;touch-action:manipulation;
}
.ik-video-shorts-tap-toggle[hidden]{display:none!important}
.ik-video-shorts-custom-controls{
  position:absolute;top:12px;right:12px;z-index:40;display:flex;align-items:center;gap:6px;
  padding:5px;border-radius:999px;background:rgba(0,0,0,.46);backdrop-filter:blur(10px);
}
.ik-video-shorts-custom-controls[hidden]{display:none!important}
.ik-video-shorts-volume-slider{width:0;opacity:0;transition:width .18s ease,opacity .18s ease;accent-color:#fff;cursor:pointer}
.ik-video-shorts-custom-controls:hover .ik-video-shorts-volume-slider,
.ik-video-shorts-volume-slider:focus-visible{width:86px;opacity:1}
.ik-video-shorts-custom-btn{position:relative;z-index:41}
@media(max-width:900px){
  .ik-video-shorts-tap-toggle{left:5%;right:5%;top:15%;bottom:16%}
  .ik-video-shorts-custom-controls{top:10px;right:10px}
  .ik-video-shorts-custom-controls:hover .ik-video-shorts-volume-slider,
  .ik-video-shorts-volume-slider:focus-visible{width:74px}
}

/* V291: permanent Uploaded Video bulk-delete control. */
#ik-studio-delete-all{white-space:nowrap;}
@media (max-width:900px){#ik-studio-delete-all span{display:none;}}

/* V293 — Public Video page Shorts cards: match the requested 312×464px portrait footprint. */
.ik-video-youtube-page .ik-video-section-shorts .ik-video-card{
  width:312px!important;
  max-width:312px!important;
  min-width:312px!important;
  box-sizing:border-box!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb{
  width:312px!important;
  height:464px!important;
  max-width:312px!important;
  max-height:464px!important;
  min-width:312px!important;
  min-height:464px!important;
  aspect-ratio:auto!important;
  box-sizing:border-box!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb .ik-video-poster,
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb .ik-video-hover-preview,
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb video,
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb iframe{
  width:100%!important;
  height:100%!important;
}
@media (max-width:760px){
  .ik-video-youtube-page .ik-video-section-shorts .ik-video-card{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    aspect-ratio:312/464!important;
  }
}

/* V294 — Shorts shelf: remove visible black edge/letterbox around hovered preview.
   Keep the 312×464 card footprint while making every poster/preview/media layer
   fully cover the card and clip any source-side black framing. */
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb{
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
  position:relative!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb .ik-video-poster{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  transform:scale(1.10)!important;
  transform-origin:center center!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb .ik-video-hover-preview{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  overflow:hidden!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb .ik-video-hover-preview iframe,
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb .ik-video-hover-preview video{
  position:absolute!important;
  inset:-2.2%!important;
  width:104.4%!important;
  height:104.4%!important;
  max-width:none!important;
  max-height:none!important;
  border:0!important;
  object-fit:cover!important;
  object-position:center center!important;
  background:transparent!important;
  display:block!important;
}


/* V343 — Shorts shelf hover preview must remain visible while pointer is over the card.
   V297 intentionally hid this layer; hover playback now uses the same existing preview
   engine, so restore visibility only while an active preview is playing. */
.ik-video-youtube-page .ik-video-section-shorts .ik-video-hover-preview.is-playing{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:none!important;
}

/* V297 — Shorts shelf: remove preview letterboxing and force YouTube-style metadata to true black.
   Scope is limited to the public Video page Shorts shelf. */
.ik-video-youtube-page .ik-video-section-shorts .ik-video-hover-preview{
  display:none!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb{
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-thumb .ik-video-poster{
  transform:scale(1.14)!important;
}
.ik-video-youtube-page .ik-video-section-shorts .ik-video-youtube-channel-meta,
.ik-video-youtube-page .ik-video-section-shorts .ik-video-youtube-channel-meta span{
  color:#000!important;
}

.ik-video-youtube-channel-meta{color:#000!important;}
.ik-video-youtube-views-icon{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;margin-left:2px;color:#000;vertical-align:-2px;}
.ik-video-youtube-views-icon svg{display:block;}

/* V302: Keep the real YouTube player pointer surface unobstructed. The old transparent tap layer could
   intercept center clicks and, in fullscreen, prevent native play/pause/seek/volume interaction. */
.ik-video-shorts-tap-toggle{display:none!important;pointer-events:none!important}
.ik-video-shorts-yt-host,.ik-video-shorts-player-slot,.ik-video-shorts-stage{touch-action:auto}
.ik-video-shorts-stage:fullscreen{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;border-radius:0!important;box-shadow:none!important;background:#000!important}
.ik-video-shorts-stage:-webkit-full-screen{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;border-radius:0!important;box-shadow:none!important;background:#000!important}
.ik-video-shorts-stage:fullscreen .ik-video-shorts-slide,.ik-video-shorts-stage:-webkit-full-screen .ik-video-shorts-slide{width:100vw!important;height:100vh!important}
.ik-video-shorts-stage:fullscreen .ik-video-shorts-iframe,.ik-video-shorts-stage:-webkit-full-screen .ik-video-shorts-iframe{width:100%!important;height:100%!important}
.ik-video-shorts-stage:fullscreen .ik-video-shorts-custom-controls{z-index:100!important}


/* V305 — Google Drive Shorts: keep Drive's native pop-out control visible,
   but disable only its click target with a transparent, pointer-capturing shield.
   No black cover is painted over the player; the rest of the Drive UI stays interactive. */
.ik-video-shorts-drive{position:relative!important;overflow:hidden!important;}
.ik-video-shorts-drive .ik-drive-popout-shield{position:absolute!important;top:0!important;right:0!important;width:58px!important;height:50px!important;z-index:35!important;background:transparent!important;border:0!important;display:block!important;pointer-events:auto!important;cursor:default!important;}

/* V303: Google Drive Shorts use one visible/audio playback surface only. */
.ik-video-shorts-drive .ik-inline-drive-video{display:none!important;visibility:hidden!important;}

/* V306: Shorts use the native YouTube control surface only. Remove the in-app duplicate toolbar. */
.ik-video-shorts-custom-controls,.ik-video-shorts-tap-toggle{display:none!important;pointer-events:none!important;}
.ik-video-shorts-current-slide .ik-video-shorts-iframe{pointer-events:auto!important;}


/* V307 — Native YouTube Shorts interaction: restore direct pointer access to the
 * iframe so the real YouTube play/pause, volume, fullscreen and seek controls work.
 * Only the small outbound-link regions are intercepted; the playback-control areas
 * remain untouched. */
.ik-video-shorts-current-slide .ik-video-shorts-iframe{
  pointer-events:auto!important;
  position:relative!important;
  z-index:20!important;
}
.ik-video-shorts-current-slide .ik-video-shorts-player-slot{
  z-index:1!important;
}
.ik-video-shorts-current-slide .ik-video-shorts-gradient,
.ik-video-shorts-current-slide .ik-video-shorts-caption{
  pointer-events:none!important;
}
.ik-video-shorts-current-slide .ik-video-shorts-external-blocker{
  position:absolute!important;
  z-index:24!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  pointer-events:auto!important;
  cursor:default!important;
}
/* YouTube embed channel/title link zone. Kept outside the top-right control cluster. */
.ik-video-shorts-current-slide .ik-video-shorts-external-blocker-top{
  top:0!important;
  left:0!important;
  width:62%!important;
  height:58px!important;
}
/* YouTube Shorts branding/link zone below the native seek/control strip. */
.ik-video-shorts-current-slide .ik-video-shorts-external-blocker-bottom{
  right:0!important;
  bottom:0!important;
  width:92px!important;
  height:22px!important;
}
.ik-video-shorts-current-slide .ik-video-shorts-tap-toggle{
  display:none!important;
  pointer-events:none!important;
}
@media(max-width:760px){
  .ik-video-shorts-current-slide .ik-video-shorts-external-blocker-top{height:54px!important;}
  .ik-video-shorts-current-slide .ik-video-shorts-external-blocker-bottom{width:84px!important;height:20px!important;}
}

/* V336 — Surgical four-link shields for YouTube Shorts.
 * Only the four marked outbound link targets are intercepted. These transparent
 * hit areas deliberately stay away from native volume/CC/settings/fullscreen and
 * the progress/seek bar. */
.ik-video-shorts-current-slide .ik-video-shorts-player-slot .ik-video-shorts-external-blocker{
  position:absolute!important;
  z-index:24!important;
  display:block!important;
  pointer-events:auto!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  cursor:default!important;
}
.ik-video-shorts-current-slide .ik-video-shorts-player-slot .ik-video-shorts-external-blocker-avatar{
  top:6px!important;
  left:6px!important;
  width:46px!important;
  height:48px!important;
}
.ik-video-shorts-current-slide .ik-video-shorts-player-slot .ik-video-shorts-external-blocker-title{
  top:6px!important;
  left:46px!important;
  width:54%!important;
  height:48px!important;
}
.ik-video-shorts-current-slide .ik-video-shorts-player-slot .ik-video-shorts-external-blocker-link{
  left:4px!important;
  bottom:2px!important;
  width:54px!important;
  height:34px!important;
}
.ik-video-shorts-current-slide .ik-video-shorts-player-slot .ik-video-shorts-external-blocker-shorts{
  right:3px!important;
  bottom:1px!important;
  width:92px!important;
  height:38px!important;
}
@media(max-width:760px){
  .ik-video-shorts-current-slide .ik-video-shorts-player-slot .ik-video-shorts-external-blocker-avatar{
    top:5px!important;left:5px!important;width:44px!important;height:46px!important;
  }
  .ik-video-shorts-current-slide .ik-video-shorts-player-slot .ik-video-shorts-external-blocker-title{
    top:5px!important;left:44px!important;width:56%!important;height:46px!important;
  }
  .ik-video-shorts-current-slide .ik-video-shorts-player-slot .ik-video-shorts-external-blocker-link{
    left:3px!important;bottom:1px!important;width:50px!important;height:32px!important;
  }
  .ik-video-shorts-current-slide .ik-video-shorts-player-slot .ik-video-shorts-external-blocker-shorts{
    right:2px!important;bottom:1px!important;width:88px!important;height:36px!important;
  }
}

/* V316 — Shorts native YouTube controls hardening. The older V265 gesture rule had
   higher selector specificity and still forced pointer-events:none on the Shorts
   iframe, so native volume/CC/settings/seek controls could look visible but not
   receive clicks. Restore direct pointer access with a deliberately more specific
   selector; existing outbound-link shields remain in place. */
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-player-slot .ik-video-shorts-iframe{
  pointer-events:auto!important;
  position:relative!important;
  z-index:20!important;
}
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-gradient,
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-caption{
  pointer-events:none!important;
}



/* V317 — YouTube Shorts-style local control surface for embedded Shorts. The YouTube
 * web Shorts UI itself is cross-origin and cannot be reproduced inside an iframe;
 * these controls use the official IFrame API while matching the visible layout in
 * the reference layouts. */
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-player-slot .ik-video-shorts-iframe{pointer-events:auto!important;z-index:10!important}
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-gradient{z-index:11!important;pointer-events:none!important}
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-caption{z-index:12!important;pointer-events:none!important;left:18px;right:18px;bottom:28px}
.ik-video-shorts-native-controls{position:absolute;inset:0;z-index:40;pointer-events:none;color:#fff;font-family:inherit;text-shadow:0 1px 6px rgba(0,0,0,.45)}
.ik-video-shorts-native-controls button,.ik-video-shorts-native-controls input{pointer-events:auto}
.ik-video-shorts-native-top-left,.ik-video-shorts-native-top-right{position:absolute;top:10px;display:flex;align-items:center;gap:8px}
.ik-video-shorts-native-top-left{left:10px}.ik-video-shorts-native-top-right{right:10px}
.ik-video-shorts-native-btn{min-width:38px;height:38px;border:0;border-radius:12px;background:rgba(16,16,16,.48);color:#fff;display:grid;place-items:center;padding:0 10px;font-size:.78rem;font-weight:850;cursor:pointer;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:background .15s ease,transform .15s ease}
.ik-video-shorts-native-btn:hover{background:rgba(16,16,16,.68)}
.ik-video-shorts-native-btn:active{transform:scale(.96)}
.ik-video-shorts-native-circle{width:38px;border-radius:50%;padding:0;font-size:.85rem}
.ik-video-shorts-native-btn[data-short-native-cc]{font-size:.66rem;letter-spacing:.02em}
.ik-video-shorts-native-btn.is-active{background:rgba(255,255,255,.84);color:#000;text-shadow:none}
.ik-video-shorts-native-volume-group{position:relative;display:flex;align-items:center;gap:7px}
.ik-video-shorts-native-volume{width:0;height:4px;opacity:0;transition:width .18s ease,opacity .18s ease;accent-color:#fff;cursor:pointer}
.ik-video-shorts-native-volume-group:hover .ik-video-shorts-native-volume,.ik-video-shorts-native-volume:focus-visible{width:74px;opacity:1}
.ik-video-shorts-native-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.ik-video-shorts-native-center-btn{width:72px;height:72px;border-radius:50%;border:0;background:rgba(0,0,0,.26);color:#fff;font-size:1.8rem;display:grid;place-items:center;cursor:pointer;opacity:0;transition:opacity .15s ease,transform .15s ease;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.ik-video-shorts-current-slide.short-ui-active .ik-video-shorts-native-center-btn{opacity:.86}
.ik-video-shorts-native-center-btn:hover{transform:scale(1.05);background:rgba(0,0,0,.38)}
.ik-video-shorts-native-bottom{position:absolute;left:10px;right:10px;bottom:8px;display:flex;flex-direction:column;gap:3px}
.ik-video-shorts-native-time{align-self:flex-start;font-size:.68rem;font-weight:700;letter-spacing:.01em;opacity:.92;background:rgba(0,0,0,.22);border-radius:5px;padding:1px 4px}
.ik-video-shorts-native-time-sep{margin:0 2px;opacity:.72}
.ik-video-shorts-native-seek{width:100%;height:6px;margin:0;accent-color:#f00;cursor:pointer;background:transparent}
.ik-video-shorts-native-seek::-webkit-slider-runnable-track{height:3px;background:rgba(255,255,255,.4);border-radius:999px}
.ik-video-shorts-native-seek::-webkit-slider-thumb{-webkit-appearance:none;width:10px;height:10px;margin-top:-3.5px;border-radius:50%;background:#f00;border:0}
.ik-video-shorts-native-seek::-moz-range-track{height:3px;background:rgba(255,255,255,.4);border-radius:999px}
.ik-video-shorts-native-seek::-moz-range-progress{height:3px;background:#f00;border-radius:999px}
.ik-video-shorts-native-seek::-moz-range-thumb{width:10px;height:10px;border-radius:50%;background:#f00;border:0}
.ik-video-shorts-settings-menu{position:absolute;right:10px;top:56px;width:min(290px,calc(100% - 20px));padding:13px;border-radius:14px;background:rgba(18,18,18,.94);box-shadow:0 16px 50px rgba(0,0,0,.45);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);pointer-events:auto;color:#fff;text-shadow:none}
.ik-video-shorts-settings-title{font-size:.92rem;font-weight:850;margin-bottom:9px}
.ik-video-shorts-settings-section{padding:10px 0;border-top:1px solid rgba(255,255,255,.12)}
.ik-video-shorts-settings-section b{display:block;font-size:.74rem;opacity:.82;margin-bottom:7px}
.ik-video-shorts-setting-grid{display:flex;flex-wrap:wrap;gap:6px}
.ik-video-shorts-setting-item{min-width:48px;padding:7px 9px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;font-size:.73rem}
.ik-video-shorts-setting-item:hover,.ik-video-shorts-setting-item.is-selected{background:rgba(255,255,255,.9);color:#111}
.ik-video-shorts-setting-wide{width:100%;display:flex;align-items:center;justify-content:space-between}
.ik-video-shorts-settings-close{width:100%;margin-top:10px;padding:8px 10px;border:0;border-radius:9px;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;font-weight:700}
.ik-video-shorts-settings-close:hover{background:rgba(255,255,255,.2)}
.ik-video-shorts-native-controls [hidden]{display:none!important}
@media(max-width:760px){
  .ik-video-shorts-native-top-left,.ik-video-shorts-native-top-right{top:8px;gap:6px}
  .ik-video-shorts-native-top-left{left:8px}.ik-video-shorts-native-top-right{right:8px}
  .ik-video-shorts-native-btn{min-width:34px;height:34px;font-size:.72rem}.ik-video-shorts-native-circle{width:34px}
  .ik-video-shorts-native-volume-group:hover .ik-video-shorts-native-volume,.ik-video-shorts-native-volume:focus-visible{width:62px}
  .ik-video-shorts-native-center-btn{width:62px;height:62px;font-size:1.55rem}
  .ik-video-shorts-settings-menu{right:8px;top:50px;width:min(270px,calc(100% - 16px))}
}


/* V318 — Shorts YouTube player parity with the Long Video player.
 * Use the actual YouTube iframe control surface for play/pause, volume, CC,
 * settings, fullscreen, seek/timeline and YouTube branding. Only the existing
 * small outbound-link shields remain above the iframe. Custom control overlays
 * and caption/gradient layers are visually and interactively disabled so they
 * cannot intercept or alter the native player. */
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-player-slot .ik-video-shorts-iframe{
  pointer-events:auto!important;
  position:relative!important;
  z-index:30!important;
}
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-gradient,
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-caption,
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-native-controls,
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-gesture-layer,
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-custom-controls,
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-tap-toggle{
  display:none!important;
  pointer-events:none!important;
}
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-player-slot{
  z-index:1!important;
}
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-external-blocker{
  z-index:40!important;
  pointer-events:auto!important;
}
/* Keep YouTube's bottom timeline fully usable except the small pre-existing
 * branding/action zone that is intentionally shielded from outbound navigation. */
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-external-blocker-bottom{
  right:0!important;
  bottom:0!important;
  width:92px!important;
  height:22px!important;
}


/* V319 — Authoritative YouTube Shorts embed parity.
 * The embedded YouTube player is cross-origin, so the site's custom controls are
 * not used. The iframe is the sole interactive playback surface just as in the
 * working Long Video player. Existing Shorts queue/swipe/keyboard navigation stays
 * outside the iframe. Link shields are kept away from the native control clusters. */
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-player-slot .ik-video-shorts-iframe{
  pointer-events:auto!important;
  position:relative!important;
  z-index:20!important;
  display:block!important;
}
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-gradient,
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-caption,
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-native-controls{
  display:none!important;
  pointer-events:none!important;
}
/* Keep the channel/title area non-navigable without covering the top-left
 * Shorts playback/volume controls. */
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-external-blocker-top{
  top:54px!important;
  left:0!important;
  width:68%!important;
  height:42px!important;
  z-index:40!important;
}
/* Keep YouTube branding/link shielding below the timeline strip; do not cover
 * the seek handle/track itself. */
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-external-blocker-bottom{
  right:0!important;
  bottom:0!important;
  width:92px!important;
  height:13px!important;
  z-index:40!important;
}
@media(max-width:760px){
  .ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-external-blocker-top{
    top:50px!important;
    height:38px!important;
    width:72%!important;
  }
  .ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-external-blocker-bottom{
    width:84px!important;
    height:12px!important;
  }
}

/* V320 — Functional YouTube Shorts-style control surface.
 * YouTube's /shorts page UI is cross-origin and cannot be transplanted into an
 * iframe. The iframe therefore supplies playback only; this same-origin layer
 * owns Shorts-style gestures and commands through the official IFrame API. */
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-player-slot .ik-video-shorts-iframe{
  pointer-events:none!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  z-index:1!important;
}
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-player-slot{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
}
.ik-video-shorts-current-slide.is-youtube-short .ik-video-shorts-gradient{
  z-index:2!important;
  pointer-events:none!important;
  background:linear-gradient(to bottom,rgba(0,0,0,.46),transparent 24%,transparent 62%,rgba(0,0,0,.84) 100%)!important;
}
.ik-video-shorts-stage-hit{
  position:absolute;inset:0;z-index:5;border:0;background:transparent;padding:0;margin:0;cursor:pointer;touch-action:none;
}
.ik-video-shorts-ui{
  position:absolute;inset:0;z-index:30;color:#fff;font-family:inherit;pointer-events:none;text-shadow:0 1px 7px rgba(0,0,0,.5);
}
.ik-video-shorts-ui button,.ik-video-shorts-ui input{pointer-events:auto}
.ik-video-shorts-topbar{position:absolute;left:12px;right:12px;top:12px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.ik-video-shorts-top-left,.ik-video-shorts-top-right{display:flex;align-items:center;gap:7px}
.ik-video-shorts-icon-btn{width:38px;height:38px;border:0;border-radius:50%;background:rgba(22,22,22,.5);color:#fff;display:grid;place-items:center;font-size:17px;font-weight:800;line-height:1;cursor:pointer;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.ik-video-shorts-icon-btn:hover{background:rgba(22,22,22,.76)}
.ik-video-shorts-icon-btn:active{transform:scale(.95)}
.ik-video-shorts-cc-btn{font-size:11px;border-radius:10px;width:38px}
.ik-video-shorts-volume-wrap{display:flex;align-items:center;gap:6px}
.ik-video-shorts-volume-range{width:0;opacity:0;height:4px;transition:width .16s ease,opacity .16s ease;accent-color:#fff;cursor:pointer}
.ik-video-shorts-volume-wrap:hover .ik-video-shorts-volume-range,.ik-video-shorts-volume-range:focus-visible{width:78px;opacity:1}
.ik-video-shorts-center{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
.ik-video-shorts-center-btn{width:74px;height:74px;border:0;border-radius:50%;background:rgba(0,0,0,.28);color:#fff;font-size:28px;display:grid;place-items:center;cursor:pointer;opacity:0;pointer-events:auto;transition:opacity .16s ease,transform .12s ease;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.ik-video-shorts-slide.short-ui-active .ik-video-shorts-center-btn{opacity:.9}
.ik-video-shorts-center-btn:active{transform:scale(.94)}
.ik-video-shorts-bottom{position:absolute;left:12px;right:12px;bottom:10px;display:flex;flex-direction:column;gap:8px}
.ik-video-shorts-info{max-width:92%;pointer-events:none}
.ik-video-shorts-speaker{font-size:.76rem;font-weight:800;margin-bottom:3px}
.ik-video-shorts-info h2{margin:0;font-size:.93rem;line-height:1.35;font-weight:800;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ik-video-shorts-meta{font-size:.67rem;opacity:.84;margin-top:4px}
.ik-video-shorts-progress{position:relative;height:16px;display:flex;align-items:center;gap:7px}
.ik-video-shorts-progress-fill{position:absolute;left:0;bottom:4px;height:3px;width:0;background:#fff;border-radius:999px;pointer-events:none;box-shadow:0 0 0 0 transparent}
.ik-video-shorts-seek{position:absolute;left:0;right:0;bottom:0;width:100%;height:18px;margin:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer}
.ik-video-shorts-seek::-webkit-slider-runnable-track{height:3px;background:rgba(255,255,255,.46);border-radius:999px}
.ik-video-shorts-seek::-webkit-slider-thumb{-webkit-appearance:none;width:9px;height:9px;margin-top:-3px;border-radius:50%;background:#fff;border:0;opacity:.1;transition:opacity .16s}
.ik-video-shorts-progress:hover .ik-video-shorts-seek::-webkit-slider-thumb,.ik-video-shorts-seek:focus-visible::-webkit-slider-thumb{opacity:1}
.ik-video-shorts-seek::-moz-range-track{height:3px;background:rgba(255,255,255,.46);border-radius:999px}
.ik-video-shorts-seek::-moz-range-progress{height:3px;background:#fff;border-radius:999px}
.ik-video-shorts-seek::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:#fff;border:0;opacity:.1}
.ik-video-shorts-time{position:absolute;right:0;bottom:18px;font-size:.62rem;font-weight:700;background:rgba(0,0,0,.24);padding:1px 4px;border-radius:4px}
.ik-video-shorts-menu{position:absolute;right:12px;top:58px;width:min(300px,calc(100% - 24px));padding:10px;border-radius:14px;background:rgba(18,18,18,.96);box-shadow:0 18px 50px rgba(0,0,0,.45);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);pointer-events:auto;text-shadow:none}
.ik-video-shorts-menu-head{display:flex;align-items:center;justify-content:space-between;padding:4px 5px 9px;font-size:.86rem}
.ik-video-shorts-menu-head button{border:0;background:transparent;color:#fff;font-size:1.1rem;cursor:pointer}
.ik-video-shorts-menu-row{width:100%;padding:10px 7px;border:0;background:transparent;color:#fff;display:flex;justify-content:space-between;align-items:center;font-size:.76rem;cursor:pointer;border-radius:9px;text-align:left}
.ik-video-shorts-menu-row:hover{background:rgba(255,255,255,.08)}
.ik-video-shorts-menu-sub{display:flex;flex-wrap:wrap;gap:6px;padding:4px 7px 8px}
.ik-video-shorts-chip{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#fff;border-radius:8px;padding:6px 9px;font-size:.7rem;cursor:pointer}
.ik-video-shorts-chip:hover,.ik-video-shorts-chip.is-selected{background:#fff;color:#111}
.ik-video-shorts-ui [hidden],.ik-video-shorts-menu[hidden],.ik-video-shorts-menu-sub[hidden]{display:none!important}
.ik-video-shorts-stage:focus-within .ik-video-shorts-center-btn{opacity:.92}
@media(max-width:760px){
  .ik-video-shorts-topbar{left:8px;right:8px;top:8px}.ik-video-shorts-icon-btn{width:34px;height:34px;font-size:15px}.ik-video-shorts-volume-wrap:hover .ik-video-shorts-volume-range,.ik-video-shorts-volume-range:focus-visible{width:62px}
  .ik-video-shorts-bottom{left:9px;right:9px;bottom:8px}.ik-video-shorts-center-btn{width:62px;height:62px;font-size:23px}.ik-video-shorts-info h2{font-size:.87rem}.ik-video-shorts-menu{right:8px;top:52px;width:min(280px,calc(100% - 16px))}
}


/* V321 — Rebuilt Shorts player surface.
   The previous Shorts player implementations are intentionally superseded below.
   This version owns the Shorts interaction surface from scratch while the YouTube
   embed remains a playback engine. No outbound click shields or iframe-blocking
   overlays are used. */
.ik-video-shorts-player-v321 .ik-video-shorts-stage{
  width:auto;
  height:min(88vh,820px);
  aspect-ratio:9/16;
  max-width:calc(100vw - 220px);
  max-height:calc(100% - 42px);
  border-radius:16px;
  background:#000;
  box-shadow:0 24px 70px rgba(0,0,0,.48);
}
.ik-video-shorts-player-v321 .ik-video-shorts-slide{
  background:#000;
}
.ik-video-shorts-player-v321 .ik-video-shorts-player-slot,
.ik-video-shorts-player-v321 .ik-video-shorts-player-slot .ik-video-shorts-iframe,
.ik-video-shorts-player-v321 .ik-video-shorts-player-slot .ik-video-shorts-native-video,
.ik-video-shorts-player-v321 .ik-video-shorts-player-slot .ik-drive-player-wrap{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-player-slot .ik-video-shorts-iframe{
  display:block!important;
  border:0!important;
  pointer-events:none!important;
  object-fit:cover!important;
  background:#000!important;
  z-index:1!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-player-slot video{
  object-fit:cover!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-gradient{
  z-index:2!important;
  pointer-events:none!important;
  background:
    linear-gradient(to bottom,rgba(0,0,0,.52) 0%,rgba(0,0,0,.12) 18%,rgba(0,0,0,0) 43%),
    linear-gradient(to top,rgba(0,0,0,.82) 0%,rgba(0,0,0,.24) 22%,rgba(0,0,0,0) 45%)!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-stage-hit{
  z-index:6!important;
  background:transparent!important;
  border:0!important;
  pointer-events:auto!important;
  cursor:default!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-ui{
  z-index:20!important;
  pointer-events:none!important;
  color:#fff!important;
  opacity:1;
  transition:opacity .18s ease;
}
.ik-video-shorts-player-v321 .ik-video-shorts-ui button,
.ik-video-shorts-player-v321 .ik-video-shorts-ui input{
  pointer-events:auto!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-topbar{
  top:14px!important;
  left:14px!important;
  right:14px!important;
  align-items:center!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-top-left,
.ik-video-shorts-player-v321 .ik-video-shorts-top-right{
  gap:8px!important;
  align-items:center!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-icon-btn{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  border-radius:50%!important;
  border:0!important;
  background:rgba(18,18,18,.48)!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:800!important;
  text-shadow:none!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
  backdrop-filter:blur(7px)!important;
  -webkit-backdrop-filter:blur(7px)!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-v321-circle{
  border-radius:50%!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-v321-cc{
  width:40px!important;
  min-width:40px!important;
  border-radius:11px!important;
  font-size:12px!important;
  letter-spacing:.02em!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-icon-btn:hover{
  background:rgba(18,18,18,.7)!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-icon-btn:active{
  transform:scale(.94);
}
.ik-video-shorts-player-v321 .ik-video-shorts-volume-wrap{
  gap:7px!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-volume-range{
  width:0!important;
  opacity:0!important;
  pointer-events:auto!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-volume-wrap:hover .ik-video-shorts-volume-range,
.ik-video-shorts-player-v321 .ik-video-shorts-volume-range:focus-visible{
  width:82px!important;
  opacity:1!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-v321-brand{
  position:absolute;
  left:14px;
  right:74px;
  top:72px;
  display:flex;
  align-items:center;
  gap:9px;
  z-index:9;
  pointer-events:none;
  color:#fff;
  text-shadow:0 1px 7px rgba(0,0,0,.7);
}
.ik-video-shorts-player-v321 .ik-video-shorts-v321-avatar{
  width:34px;
  height:34px;
  border-radius:50%;
  overflow:hidden;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.18);
  box-shadow:0 1px 8px rgba(0,0,0,.28);
}
.ik-video-shorts-player-v321 .ik-video-shorts-v321-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.ik-video-shorts-player-v321 .ik-video-shorts-v321-avatar [data-short-viewer-avatar-fallback]{
  font-weight:900;
  font-size:.8rem;
}
.ik-video-shorts-player-v321 .ik-video-shorts-v321-brand-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  line-height:1.12;
}
.ik-video-shorts-player-v321 .ik-video-shorts-v321-brand-copy strong{
  font-size:.78rem;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ik-video-shorts-player-v321 .ik-video-shorts-v321-brand-copy span{
  margin-top:3px;
  font-size:.66rem;
  opacity:.9;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ik-video-shorts-player-v321 .ik-video-shorts-center{
  z-index:10!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-v321-center{
  width:72px!important;
  height:72px!important;
  border-radius:50%!important;
  background:rgba(0,0,0,.28)!important;
  font-size:28px!important;
  box-shadow:0 8px 28px rgba(0,0,0,.22);
  transition:opacity .16s ease,transform .12s ease,background .16s ease!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-v321-center:hover{
  background:rgba(0,0,0,.42)!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-v321-info{
  max-width:96%!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-speaker{
  font-size:.74rem!important;
  line-height:1.2!important;
  font-weight:800!important;
  margin-bottom:4px!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-info h2{
  font-size:.94rem!important;
  line-height:1.35!important;
  max-width:96%!important;
  text-shadow:0 1px 7px rgba(0,0,0,.62)!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-meta{
  margin-top:4px!important;
  font-size:.66rem!important;
  opacity:.86!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-bottom{
  left:14px!important;
  right:14px!important;
  bottom:18px!important;
  gap:8px!important;
  z-index:12!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-progress{
  height:10px!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-seek{
  z-index:3!important;
  height:18px!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-seek::-webkit-slider-runnable-track{
  height:3px!important;
  background:rgba(255,255,255,.42)!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-seek::-webkit-slider-thumb{
  width:8px!important;
  height:8px!important;
  margin-top:-2.5px!important;
  background:#fff!important;
  opacity:1!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-seek::-moz-range-track{
  height:3px!important;
  background:rgba(255,255,255,.42)!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-seek::-moz-range-progress{
  height:3px!important;
  background:#fff!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-seek::-moz-range-thumb{
  width:8px!important;
  height:8px!important;
  background:#fff!important;
  border:0!important;
  opacity:1!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-time{
  bottom:13px!important;
  right:0!important;
  padding:0!important;
  background:transparent!important;
  font-size:.61rem!important;
  font-weight:700!important;
  text-shadow:0 1px 6px rgba(0,0,0,.8)!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-menu{
  top:62px!important;
  right:12px!important;
  z-index:50!important;
  width:min(300px,calc(100% - 24px))!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-side-controls{
  right:max(18px,calc((100vw - min(100vw - 220px,620px))/2 - 56px))!important;
  z-index:40!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-wheel-catcher{
  z-index:35!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-close{
  top:16px!important;
  right:16px!important;
  width:40px!important;
  height:40px!important;
  z-index:60!important;
}
.ik-video-shorts-player-v321.short-ui-active .ik-video-shorts-ui{
  opacity:1!important;
}
@media(max-width:760px){
  .ik-video-shorts-player-v321 .ik-video-shorts-stage{
    width:min(100vw,560px)!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  .ik-video-shorts-player-v321 .ik-video-shorts-topbar{
    top:10px!important;
    left:10px!important;
    right:10px!important;
  }
  .ik-video-shorts-player-v321 .ik-video-shorts-icon-btn{
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
  }
  .ik-video-shorts-player-v321 .ik-video-shorts-v321-brand{
    top:58px!important;
    left:10px!important;
    right:56px!important;
  }
  .ik-video-shorts-player-v321 .ik-video-shorts-bottom{
    left:11px!important;
    right:11px!important;
    bottom:12px!important;
  }
  .ik-video-shorts-player-v321 .ik-video-shorts-side-controls{
    right:8px!important;
    bottom:112px!important;
    top:auto!important;
    transform:none!important;
  }
  .ik-video-shorts-player-v321 .ik-video-shorts-wheel-catcher{
    width:42px!important;
  }
}


/* V322 — Shorts player interaction repair. The iframe remains intentionally below
   the first-party control surface; commands are routed through the YouTube IFrame
   API so controls remain functional even before the iframe's own UI is ready. */
.ik-video-shorts-player-v321 .ik-video-shorts-stage-hit{z-index:6!important;pointer-events:auto!important}
.ik-video-shorts-player-v321 .ik-video-shorts-ui{z-index:20!important}
.ik-video-shorts-player-v321 .ik-video-shorts-ui button,
.ik-video-shorts-player-v321 .ik-video-shorts-ui input{pointer-events:auto!important}
.ik-video-shorts-player-v321 .ik-video-shorts-seek{cursor:pointer!important;touch-action:none!important}


/* V324 — Play/pause interaction hardening. The full-stage transparent hit target is
 * disabled for the rebuilt Shorts player so it cannot swallow the visible center
 * control. Only the actual controls receive pointer input. */
.ik-video-shorts-player-v321 .ik-video-shorts-stage-hit{display:none!important;pointer-events:none!important}
.ik-video-shorts-player-v321 .ik-video-shorts-ui{z-index:70!important;pointer-events:none!important}
.ik-video-shorts-player-v321 .ik-video-shorts-ui button,
.ik-video-shorts-player-v321 .ik-video-shorts-ui input{pointer-events:auto!important}
.ik-video-shorts-player-v321 .ik-video-shorts-ui .ik-video-shorts-center{z-index:80!important;pointer-events:none!important;isolation:isolate}
.ik-video-shorts-player-v321 .ik-video-shorts-ui .ik-video-shorts-v321-center{position:relative!important;z-index:999!important;pointer-events:auto!important;touch-action:manipulation!important;cursor:pointer!important;user-select:none!important;-webkit-user-select:none!important}
.ik-video-shorts-player-v321 .ik-video-shorts-ui .ik-video-shorts-v321-center:focus-visible{outline:2px solid rgba(255,255,255,.9)!important;outline-offset:3px!important}
/* V326: centre playback affordance follows Shorts auto-hide instead of focus state. */
.ik-video-shorts-player-v321 .ik-video-shorts-v321-center{opacity:0!important}
.ik-video-shorts-player-v321.short-ui-active .ik-video-shorts-v321-center{opacity:.9!important}
.ik-video-shorts-player-v321 .ik-video-shorts-v321-center:focus-visible{opacity:.9!important;outline:2px solid rgba(255,255,255,.9)!important;outline-offset:3px!important}

/* V335 — YouTube Shorts native playback surface. The YouTube iframe is the sole
   interactive playback owner: native Play/Pause, volume, captions, settings,
   fullscreen and timeline remain clickable/seekable without a first-party overlay. */
.ik-video-shorts-player-v321 .ik-video-shorts-player-slot{
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  pointer-events:auto!important;
  overflow:hidden!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-player-slot .ik-video-shorts-iframe{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  z-index:3!important;
  pointer-events:auto!important;
  touch-action:auto!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-gradient,
.ik-video-shorts-player-v321 .ik-video-shorts-stage-hit,
.ik-video-shorts-player-v321 .ik-video-shorts-ui{
  display:none!important;
  pointer-events:none!important;
}


/* V337 — Robust four-link-only shields.
 * Body-level fixed hit targets are used only over the four marked YouTube link
 * regions. Their geometry follows the live Shorts player rectangle, so iframe
 * compositing cannot bypass them. No playback/seek/control region is covered. */
.ik-video-shorts-external-blocker{
  position:fixed!important;
  z-index:2147483646!important;
  display:block!important;
  box-sizing:border-box!important;
  pointer-events:auto!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  cursor:default!important;
  touch-action:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}


/* V345 — Google Drive Shorts control relocation. Drive's embedded preview controls
   are cross-origin and cannot be repositioned from the parent page, so Drive Shorts
   use a same-origin media element with a compact local control stack. The seek row
   and Play/Pause row sit immediately above the persistent volume/speed/fullscreen row. */
.ik-video-shorts-player-v321 .ik-video-shorts-drive{
  position:absolute!important;
  inset:0!important;
  overflow:hidden!important;
  background:#000!important;
  z-index:2!important;
}
.ik-video-shorts-player-v321 .ik-video-shorts-drive-video{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  display:block!important;
  object-fit:cover!important;
  border:0!important;
  background:#000!important;
  z-index:1!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-controls{
  position:absolute!important;
  left:9px!important;
  right:9px!important;
  bottom:9px!important;
  z-index:12!important;
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  padding:9px 9px 8px!important;
  border-radius:13px!important;
  background:linear-gradient(to top,rgba(8,8,8,.88),rgba(8,8,8,.54))!important;
  box-shadow:0 7px 22px rgba(0,0,0,.22)!important;
  color:#fff!important;
  text-shadow:none!important;
  pointer-events:auto!important;
  box-sizing:border-box!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-seek-row{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:7px!important;
  min-height:22px!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-seek{
  width:100%!important;
  height:18px!important;
  margin:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  background:transparent!important;
  cursor:pointer!important;
  accent-color:#fff!important;
  touch-action:none!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-seek::-webkit-slider-runnable-track{
  height:3px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.38)!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-seek::-webkit-slider-thumb{
  -webkit-appearance:none!important;
  width:9px!important;
  height:9px!important;
  margin-top:-3px!important;
  border:0!important;
  border-radius:50%!important;
  background:#fff!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-seek::-moz-range-track{
  height:3px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.38)!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-seek::-moz-range-progress{
  height:3px!important;
  border-radius:999px!important;
  background:#fff!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-seek::-moz-range-thumb{
  width:9px!important;
  height:9px!important;
  border:0!important;
  border-radius:50%!important;
  background:#fff!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-time{
  min-width:62px!important;
  text-align:right!important;
  font-size:.64rem!important;
  line-height:1!important;
  font-variant-numeric:tabular-nums!important;
  font-weight:700!important;
  opacity:.96!important;
  white-space:nowrap!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-play-row{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  min-height:42px!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-btn{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:50%!important;
  background:rgba(0,0,0,.46)!important;
  color:#fff!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  margin:0!important;
  font-size:.78rem!important;
  font-weight:800!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:none!important;
  pointer-events:auto!important;
  -webkit-tap-highlight-color:transparent!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-btn:hover{background:rgba(255,255,255,.14)!important}
.ik-video-shorts-player-v321 .ik-drive-short-btn:active{transform:scale(.95)!important}
.ik-video-shorts-player-v321 .ik-drive-short-play{
  width:44px!important;
  height:44px!important;
  flex-basis:44px!important;
  font-size:1rem!important;
  background:rgba(255,255,255,.16)!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-volume-row{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-height:38px!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-volume-group{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
  flex:1 1 auto!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-volume-range{
  width:min(150px,42vw)!important;
  min-width:70px!important;
  height:18px!important;
  margin:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  background:transparent!important;
  accent-color:#fff!important;
  cursor:pointer!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-volume-range::-webkit-slider-runnable-track{height:3px!important;border-radius:999px!important;background:rgba(255,255,255,.34)!important}
.ik-video-shorts-player-v321 .ik-drive-short-volume-range::-webkit-slider-thumb{-webkit-appearance:none!important;width:9px!important;height:9px!important;margin-top:-3px!important;border:0!important;border-radius:50%!important;background:#fff!important}
.ik-video-shorts-player-v321 .ik-drive-short-volume-range::-moz-range-track{height:3px!important;border-radius:999px!important;background:rgba(255,255,255,.34)!important}
.ik-video-shorts-player-v321 .ik-drive-short-volume-range::-moz-range-thumb{width:9px!important;height:9px!important;border:0!important;border-radius:50%!important;background:#fff!important}
.ik-video-shorts-player-v321 .ik-drive-short-speed-toggle{border-radius:10px!important;font-size:.68rem!important}
.ik-video-shorts-player-v321 .ik-drive-short-fullscreen{border-radius:10px!important;font-size:1.02rem!important}
.ik-video-shorts-player-v321 .ik-drive-short-speed-menu{
  position:absolute!important;
  right:8px!important;
  bottom:60px!important;
  z-index:30!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  max-width:min(270px,calc(100% - 16px))!important;
  padding:8px!important;
  border-radius:12px!important;
  background:rgba(18,18,18,.96)!important;
  box-shadow:0 14px 32px rgba(0,0,0,.35)!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-speed-menu[hidden]{display:none!important}
.ik-video-shorts-player-v321 .ik-drive-short-speed-menu button{
  border:1px solid rgba(255,255,255,.12)!important;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
  border-radius:8px!important;
  padding:6px 9px!important;
  font-size:.68rem!important;
  cursor:pointer!important;
}
.ik-video-shorts-player-v321 .ik-drive-short-speed-menu button:hover{background:rgba(255,255,255,.18)!important}
.ik-video-shorts-player-v321 .ik-video-shorts-drive.is-media-error::after{
  content:'ভিডিও লোড করা যায়নি';
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  z-index:14!important;
  padding:9px 12px!important;
  border-radius:9px!important;
  background:rgba(0,0,0,.72)!important;
  color:#fff!important;
  font-size:.78rem!important;
  font-weight:700!important;
  pointer-events:none!important;
  white-space:nowrap!important;
}
@media(max-width:760px){
  .ik-video-shorts-player-v321 .ik-drive-short-controls{
    left:7px!important; right:7px!important; bottom:7px!important;
    gap:5px!important; padding:7px 7px 6px!important; border-radius:11px!important;
  }
  .ik-video-shorts-player-v321 .ik-drive-short-play-row{min-height:39px!important;gap:8px!important}
  .ik-video-shorts-player-v321 .ik-drive-short-btn{width:35px!important;height:35px!important;flex-basis:35px!important;font-size:.72rem!important}
  .ik-video-shorts-player-v321 .ik-drive-short-play{width:42px!important;height:42px!important;flex-basis:42px!important;font-size:.94rem!important}
  .ik-video-shorts-player-v321 .ik-drive-short-volume-row{min-height:35px!important;gap:6px!important}
  .ik-video-shorts-player-v321 .ik-drive-short-volume-range{width:min(125px,36vw)!important;min-width:58px!important}
  .ik-video-shorts-player-v321 .ik-drive-short-time{font-size:.58rem!important;min-width:56px!important}
  .ik-video-shorts-player-v321 .ik-video-shorts-side-controls{bottom:152px!important}
}

/* V347 — Android-only Shorts tap-to-toggle. The transparent surface intentionally
 * stops above the native YouTube bottom control band so YouTube's seek/settings/
 * volume/fullscreen controls remain directly interactive. Desktop gets no element
 * from the JS, so this rule has no effect there. */
.ik-video-shorts-android-tap-toggle{
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:0!important;
  bottom:88px!important;
  z-index:25!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  color:transparent!important;
  box-shadow:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  touch-action:none!important;
  -webkit-tap-highlight-color:transparent!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
.ik-video-shorts-android-tap-toggle:focus,
.ik-video-shorts-android-tap-toggle:active{
  outline:0!important;
  background:transparent!important;
}
@media(max-width:760px){
  .ik-video-shorts-android-tap-toggle{bottom:84px!important;}
}


/* V352 — Android-only persistent Shorts gesture surface. It lives on the slide
   instead of inside the replaceable player slot, so Drive <-> YouTube navigation
   never loses touch gestures. Desktop creates no such element and keeps the
   existing Shorts swipe/wheel path unchanged. */
.ik-video-shorts-android-gesture-layer{
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:0!important;
  bottom:88px!important;
  z-index:26!important;
  display:block!important;
  background:transparent!important;
  border:0!important;
  margin:0!important;
  padding:0!important;
  pointer-events:auto!important;
  touch-action:none!important;
  -webkit-tap-highlight-color:transparent!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  -webkit-touch-callout:none!important;
}
.ik-video-shorts-android-gesture-layer.is-drive{bottom:157px!important;}
@media(max-width:760px){
  .ik-video-shorts-android-gesture-layer.is-youtube{bottom:84px!important;}
  .ik-video-shorts-android-gesture-layer.is-drive{bottom:157px!important;}
}

/* V353: admin notification center */

/* V353: admin notification center */
.admin-notification-wrap{position:relative;display:flex;align-items:center;flex-shrink:0}
.admin-notification-btn{position:relative;width:38px;height:38px;border-radius:9999px;display:flex;align-items:center;justify-content:center;padding:0}
.admin-notification-btn:hover{background:var(--bg3);color:var(--primary)}
.admin-notification-badge{position:absolute;top:0px;right:-1px;min-width:16px;height:16px;padding:0 4px;border-radius:9999px;background:#dc2626;color:#fff;font-size:.62rem;font-weight:800;line-height:16px;text-align:center;border:2px solid var(--bg2);box-sizing:border-box}
.admin-notification-btn.has-unread{color:var(--primary)}
.admin-notification-btn.is-notification-pulse{animation:adminNotificationPulse 1.4s ease-out}
@keyframes adminNotificationPulse{0%,100%{transform:scale(1)}15%{transform:scale(1.08)}30%{transform:scale(.96)}45%{transform:scale(1.04)}60%{transform:scale(1)}}
.admin-notification-menu{position:absolute;right:-4px;top:48px;width:min(380px,calc(100vw - 20px));background:var(--bg2);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-lg);z-index:95;overflow:hidden;animation:scaleIn .18s ease}
.admin-notification-menu.hidden{display:none !important}
.admin-notification-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;background:var(--bg3);border-bottom:1px solid var(--border-light)}
.admin-notification-head b{display:block;font-size:.9rem}
.admin-notification-head small{display:block;color:var(--text-muted);font-size:.7rem;margin-top:2px}
.admin-notification-list{max-height:min(64vh,460px);overflow:auto}
.admin-notification-item{display:flex;gap:10px;padding:12px 14px;border-bottom:1px solid var(--border-light);text-decoration:none;color:var(--text);transition:background .16s ease}
.admin-notification-item:last-child{border-bottom:0}
.admin-notification-item:hover{background:var(--bg3)}
.admin-notification-item.is-unread{background:color-mix(in srgb,var(--accent-light) 62%,transparent);box-shadow:inset 3px 0 0 var(--primary)}
.admin-notification-item.is-unread .admin-notification-copy b{font-weight:800}
.admin-notification-icon{width:34px;height:34px;border-radius:10px;background:var(--accent-light);display:flex;align-items:center;justify-content:center;flex:0 0 34px;font-size:1rem}
.admin-notification-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.admin-notification-copy b{font-size:.78rem;line-height:1.35}
.admin-notification-copy span{font-size:.74rem;line-height:1.45;color:var(--text-muted)}
.admin-notification-copy small{font-size:.64rem;color:var(--text-light)}
.admin-notification-empty{padding:24px 16px;text-align:center;color:var(--text-muted);font-size:.78rem}
@media(max-width:620px){
  .admin-notification-menu{right:-48px;top:46px}
  .admin-notification-btn{width:36px;height:36px}
}
#admin-container.il-admin-logged-out #admin-notification-wrap{display:none !important}


/* V415 — YouTube-style watch-page presentation, scoped to the public Video page.
 * The embedded player remains the existing playback surface; this layer only
 * reshapes the surrounding watch-page shell, metadata and related-video column. */
.ik-video-youtube-page .ik-youtube-watch-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,430px);
  gap:20px;
  align-items:start;
  width:100%;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
}
.ik-video-youtube-page .ik-youtube-watch-main{min-width:0;}
.ik-video-youtube-page .ik-youtube-watch-player{
  width:100%;
  aspect-ratio:16/9;
  min-height:0!important;
  border:0!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:#000!important;
  box-shadow:none!important;
}
.ik-video-youtube-page .ik-youtube-watch-player iframe,
.ik-video-youtube-page .ik-youtube-watch-player video,
.ik-video-youtube-page .ik-youtube-watch-player .ik-drive-player-wrap,
.ik-video-youtube-page .ik-youtube-watch-player .ik-drive-player-wrap iframe,
.ik-video-youtube-page .ik-youtube-watch-player .ik-drive-player-wrap video{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  border:0!important;
  display:block!important;
}
.ik-video-youtube-page .ik-youtube-watch-info{padding:12px 0 18px!important;}
.ik-video-youtube-page .ik-youtube-watch-title{
  margin:0 0 10px!important;
  font-size:1.19rem!important;
  line-height:1.38!important;
  font-weight:800!important;
  letter-spacing:-.01em;
  color:#0f0f0f!important;
}
.ik-video-youtube-page .ik-youtube-watch-primary-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-width:0;
}
.ik-video-youtube-page .ik-youtube-watch-channel{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex:1 1 auto;
}
.ik-video-youtube-page .ik-youtube-watch-channel-avatar{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:50%;
  overflow:hidden;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:900;
  border:1px solid #e5e5e5;
}
.ik-video-youtube-page .ik-youtube-watch-channel-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.ik-video-youtube-page .ik-youtube-watch-channel-copy{min-width:0;}
.ik-video-youtube-page .ik-youtube-watch-channel-name{
  display:flex;
  align-items:center;
  gap:5px;
  min-width:0;
  font-size:.9rem;
  line-height:1.3;
  font-weight:800;
  color:#0f0f0f;
}
.ik-video-youtube-page .ik-youtube-watch-verified{
  width:15px;height:15px;border-radius:50%;display:inline-grid;place-items:center;
  background:#606060;color:#fff;font-size:.58rem;font-weight:900;flex:0 0 15px;
}
.ik-video-youtube-page .ik-youtube-watch-channel-sub{margin-top:2px;font-size:.68rem;line-height:1.25;color:#606060;}
.ik-video-youtube-page .ik-youtube-watch-subscribe{
  border:0;
  border-radius:999px;
  background:#0f0f0f;
  color:#fff;
  padding:9px 16px;
  font:inherit;
  font-size:.76rem;
  font-weight:800;
  white-space:nowrap;
  cursor:default;
}
.ik-video-youtube-page .ik-youtube-watch-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto;}
.ik-video-youtube-page .ik-youtube-watch-action{
  min-height:38px;
  border:0;
  border-radius:999px;
  background:#f2f2f2;
  color:#0f0f0f;
  padding:0 13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font:inherit;
  font-size:.74rem;
  font-weight:700;
  cursor:default;
  white-space:nowrap;
}
.ik-video-youtube-page .ik-youtube-watch-action.is-standalone{padding:0 12px;margin-left:-7px;border-left:1px solid #ddd;border-top-left-radius:0;border-bottom-left-radius:0;}
.ik-video-youtube-page .ik-youtube-watch-action.is-grouped{border-top-right-radius:0;border-bottom-right-radius:0;padding-right:12px;}
.ik-video-youtube-page .ik-youtube-watch-action.is-icon-only{padding:0 12px;font-size:.96rem;letter-spacing:.12em;}
.ik-video-youtube-page .ik-youtube-watch-stats{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:10px;
  font-size:.73rem;
  line-height:1.3;
  color:#606060;
}
.ik-video-youtube-page .ik-youtube-watch-stats b{font-weight:700;color:#0f0f0f;}
.ik-video-youtube-page .ik-youtube-watch-description{
  margin-top:10px;
  padding:12px 14px;
  background:#f2f2f2;
  border-radius:11px;
  font-size:.78rem;
  line-height:1.55;
  color:#0f0f0f;
  white-space:pre-line;
  overflow-wrap:anywhere;
}
.ik-video-youtube-page .ik-youtube-watch-related{
  min-width:0;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  background:#fff!important;
}
.ik-video-youtube-page .ik-youtube-related-heading{
  font-size:.95rem;
  line-height:1.3;
  font-weight:800;
  color:#0f0f0f;
  margin:0 0 10px;
}
.ik-video-youtube-page .ik-youtube-watch-related .ik-video-related-scroll{
  height:auto;
  max-height:calc(100vh - 150px);
  min-height:0;
  overflow-y:auto;
  padding-right:4px;
}
.ik-video-youtube-page .ik-youtube-watch-related .ik-video-related-title{display:none!important;}
.ik-video-youtube-page .ik-youtube-watch-related .ik-video-related-item{
  grid-template-columns:minmax(0,56%) minmax(0,1fr);
  gap:10px;
  padding:8px 0;
  border:0;
  border-bottom:1px solid #eee;
  background:#fff;
  border-radius:0;
}
.ik-video-youtube-page .ik-youtube-watch-related .ik-video-related-thumb{border-radius:10px;aspect-ratio:16/9;background:#111;}
.ik-video-youtube-page .ik-youtube-watch-related .ik-video-related-thumb img{object-fit:cover;}
.ik-video-youtube-page .ik-youtube-watch-related .ik-video-related-copy{gap:5px;padding-top:0;}
.ik-video-youtube-page .ik-youtube-watch-related .ik-video-related-title-text{font-size:.77rem;line-height:1.32;font-weight:700;color:#0f0f0f;}
.ik-video-youtube-page .ik-youtube-watch-related .ik-video-related-uploader{gap:6px;font-size:.65rem;color:#606060;}
.ik-video-youtube-page .ik-youtube-watch-related .ik-video-related-uploader-avatar{width:22px;height:22px;flex-basis:22px;}
.ik-video-youtube-page .ik-youtube-watch-related .ik-video-related-meta{font-size:.64rem;color:#606060;gap:4px;}
.ik-video-youtube-page .ik-youtube-watch-related .ik-video-duration-badge{right:5px;bottom:5px;padding:3px 5px;font-size:.58rem;}
.ik-video-youtube-page .ik-youtube-watch-related .ik-video-related-sentinel{font-size:.66rem;padding:10px 0;}
@media (max-width:1180px){
  .ik-video-youtube-page .ik-youtube-watch-shell{grid-template-columns:minmax(0,1fr) minmax(320px,390px);gap:16px;}
}
@media (max-width:980px){
  .ik-video-youtube-page .ik-youtube-watch-shell{grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:14px;}
  .ik-video-youtube-page .ik-youtube-watch-title{font-size:1.08rem!important;}
  .ik-video-youtube-page .ik-youtube-watch-primary-row{align-items:flex-start;flex-direction:column;gap:10px;}
  .ik-video-youtube-page .ik-youtube-watch-actions{width:100%;overflow:auto;scrollbar-width:none;}
  .ik-video-youtube-page .ik-youtube-watch-actions::-webkit-scrollbar{display:none;}
}
@media (max-width:760px){
  .ik-video-youtube-page .ik-youtube-watch-shell{display:block!important;}
  .ik-video-youtube-page .ik-youtube-watch-player{border-radius:0!important;}
  .ik-video-youtube-page .ik-youtube-watch-info{padding:11px 12px 16px!important;}
  .ik-video-youtube-page .ik-youtube-watch-title{font-size:1.04rem!important;line-height:1.4!important;}
  .ik-video-youtube-page .ik-youtube-watch-channel-avatar{width:38px;height:38px;flex-basis:38px;}
  .ik-video-youtube-page .ik-youtube-watch-channel-name{font-size:.82rem;}
  .ik-video-youtube-page .ik-youtube-watch-channel-sub{font-size:.62rem;}
  .ik-video-youtube-page .ik-youtube-watch-subscribe{padding:8px 13px;font-size:.72rem;}
  .ik-video-youtube-page .ik-youtube-watch-related{border-top:8px solid #f2f2f2!important;padding-top:11px!important;}
  .ik-video-youtube-page .ik-youtube-related-heading{padding:0 12px;margin-bottom:3px;}
  .ik-video-youtube-page .ik-youtube-watch-related .ik-video-related-scroll{max-height:none;overflow:visible;padding:0;}
  .ik-video-youtube-page .ik-youtube-watch-related .ik-video-related-item{grid-template-columns:42% minmax(0,1fr);padding:9px 12px;}
}

/* V417 — Public Video page professional navigation + footer polish.
 * Presentation-only scope: no routes, playback, data, or interaction contracts are changed. */
.ik-video-youtube-page .ik-video-youtube-sidebar{
  padding:14px 12px 22px;
  background:linear-gradient(180deg,var(--bg2) 0%,var(--bg) 100%);
  border-right:1px solid var(--border);
  box-shadow:6px 0 28px rgba(14,90,60,.035);
  scrollbar-width:thin;
  scrollbar-color:rgba(14,90,60,.18) transparent;
}
.ik-video-youtube-page .ik-video-youtube-sidebar::-webkit-scrollbar{width:6px}
.ik-video-youtube-page .ik-video-youtube-sidebar::-webkit-scrollbar-track{background:transparent}
.ik-video-youtube-page .ik-video-youtube-sidebar::-webkit-scrollbar-thumb{background:rgba(14,90,60,.16);border-radius:999px}
.ik-video-youtube-page .ik-video-sidebar-brand{
  padding:4px 4px 16px;
  margin:0 0 10px;
  border-bottom:1px solid var(--border-light);
}
.ik-video-youtube-page .ik-video-sidebar-menu-btn{
  width:34px;height:34px;
  border:1px solid var(--border-light);
  background:var(--bg2);
  box-shadow:var(--shadow-sm);
  color:var(--text-muted);
}
.ik-video-youtube-page .ik-video-sidebar-menu-btn:hover{
  background:var(--primary-light);
  border-color:color-mix(in srgb,var(--primary) 22%,var(--border));
  color:var(--primary);
}
.ik-video-youtube-page .ik-video-brand{
  min-height:44px;
  padding:5px 7px;
  border:1px solid transparent;
  border-radius:14px;
}
.ik-video-youtube-page .ik-video-brand:hover{
  background:var(--bg3);
  border-color:var(--border-light);
}
.ik-video-youtube-page .ik-video-brand strong{
  font-size:.9rem;
  font-weight:850;
  letter-spacing:-.01em;
}
.ik-video-youtube-page .ik-video-brand-mark{
  width:34px;height:34px;flex-basis:34px;
  border-radius:11px!important;
  box-shadow:0 5px 14px rgba(14,90,60,.16)!important;
}
.ik-video-youtube-page .ik-video-sidebar-nav{
  gap:5px;
}
.ik-video-youtube-page .ik-video-sidebar-nav:not(.ik-video-sidebar-nav-secondary){
  padding:5px;
  background:var(--bg4);
  border:1px solid var(--border-light);
  border-radius:16px;
}
.ik-video-youtube-page .ik-video-sidebar-nav-secondary{
  padding:5px;
  background:var(--bg2);
  border:1px solid var(--border-light);
  border-radius:16px;
}
.ik-video-youtube-page .ik-video-sidebar-link{
  min-height:44px;
  box-sizing:border-box;
  padding:9px 10px;
  border:1px solid transparent;
  border-radius:12px;
  grid-template-columns:32px minmax(0,1fr);
  gap:9px;
  font-size:.8rem;
  transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,transform .18s ease;
}
.ik-video-youtube-page .ik-video-sidebar-link span{
  width:30px;height:30px;
  border-radius:10px;
  background:var(--bg2);
  border:1px solid var(--border-light);
  color:var(--primary);
  font-size:.98rem;
  box-shadow:0 2px 8px rgba(14,90,60,.04);
}
.ik-video-youtube-page .ik-video-sidebar-link b{font-weight:800;line-height:1.25}
.ik-video-youtube-page .ik-video-sidebar-link:hover{
  background:var(--bg2);
  border-color:var(--border);
  box-shadow:var(--shadow-sm);
  transform:translateX(1px);
}
.ik-video-youtube-page .ik-video-sidebar-link.active{
  background:linear-gradient(135deg,var(--primary-light) 0%,var(--primary-soft) 100%);
  border-color:color-mix(in srgb,var(--primary) 20%,var(--border));
  color:var(--primary);
  box-shadow:0 4px 14px rgba(14,90,60,.07);
}
.ik-video-youtube-page .ik-video-sidebar-link.active span{
  background:var(--primary);
  border-color:var(--primary);
  color:#fff;
}
.ik-video-youtube-page .ik-video-sidebar-divider{
  height:auto;
  margin:16px 5px 8px;
  background:transparent;
  border:0;
}
.ik-video-youtube-page .ik-video-sidebar-heading{
  padding:0 10px 8px;
  color:var(--text-light);
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.09em;
}

/* Video-page footer: restore the full information architecture and give it a
   clean site-footer treatment. The existing links/content remain untouched. */
#public-footer.ik-video-footer-pro{
  position:relative;
  overflow:hidden;
  padding:34px 0 16px;
  margin-top:38px;
  background:
    radial-gradient(circle at 90% 0%,rgba(14,90,60,.08),transparent 28%),
    linear-gradient(180deg,var(--bg4) 0%,var(--bg2) 100%);
  border-top:1px solid var(--border);
  box-shadow:0 -10px 34px rgba(14,90,60,.035);
}
#public-footer.ik-video-footer-pro::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg,var(--primary) 0%,var(--accent) 50%,var(--primary) 100%);
  opacity:.78;
}
#public-footer.ik-video-footer-pro .container{
  position:relative;
  z-index:1;
}
#public-footer.ik-video-footer-pro .footer-grid{
  grid-template-columns:minmax(0,1.65fr) minmax(110px,.72fr) minmax(140px,.82fr) minmax(220px,1fr) minmax(230px,1.05fr);
  gap:20px;
  align-items:start;
}
#public-footer.ik-video-footer-pro .footer-grid>div{
  min-width:0;
}
#public-footer.ik-video-footer-pro .footer-grid>div:first-child{
  padding-right:10px;
}
#public-footer.ik-video-footer-pro .footer-grid>div:not(:first-child){
  padding-left:20px;
  border-left:1px solid var(--border-light);
}
#public-footer.ik-video-footer-pro .logo{
  margin-bottom:10px!important;
}
#public-footer.ik-video-footer-pro #footer-desc{
  max-width:560px;
  margin:0;
  font-size:.86rem!important;
  line-height:1.75!important;
}
#public-footer.ik-video-footer-pro .footer-title{
  position:relative;
  margin-bottom:12px;
  padding-bottom:9px;
  font-size:.84rem;
  font-weight:900;
  letter-spacing:.02em;
}
#public-footer.ik-video-footer-pro .footer-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:28px;
  height:2px;
  border-radius:999px;
  background:var(--accent);
}
#public-footer.ik-video-footer-pro .footer-link{
  display:flex;
  align-items:center;
  min-height:32px;
  padding:4px 0;
  color:var(--text-muted);
  font-size:.8rem;
  line-height:1.35;
  text-decoration:none;
  transition:color .18s ease,transform .18s ease;
}
#public-footer.ik-video-footer-pro .footer-link:hover{
  color:var(--primary);
  transform:translateX(3px);
}
#public-footer.ik-video-footer-pro .footer-developer-card,
#public-footer.ik-video-footer-pro .footer-contact-card{
  background:rgba(255,255,255,.62);
  border-color:var(--border);
  box-shadow:0 6px 22px rgba(14,90,60,.045);
  backdrop-filter:blur(8px);
}
.dark #public-footer.ik-video-footer-pro .footer-developer-card,
.dark #public-footer.ik-video-footer-pro .footer-contact-card{
  background:rgba(19,33,26,.72);
}
#public-footer.ik-video-footer-pro .footer-developer-card:hover,
#public-footer.ik-video-footer-pro .footer-contact-card:hover{
  border-color:color-mix(in srgb,var(--primary) 28%,var(--border));
  box-shadow:0 10px 28px rgba(14,90,60,.08);
}
#public-footer.ik-video-footer-pro .footer-contact-item{
  font-size:.8rem;
}
#public-footer.ik-video-footer-pro .footer-contact-item+.footer-contact-item{
  margin-top:8px;
}
#public-footer.ik-video-footer-pro .footer-contact-icon{
  width:30px;height:30px;
  border-radius:9px;
}
#public-footer.ik-video-footer-pro .footer-contact-social{
  gap:6px;
}
#public-footer.ik-video-footer-pro .footer-contact-btn{
  padding:6px 10px;
  font-size:.72rem;
}
#public-footer.ik-video-footer-pro .container>div:last-child{
  margin-top:24px!important;
  padding-top:14px!important;
  border-top:1px solid var(--border)!important;
  color:var(--text-muted)!important;
  font-size:.74rem!important;
}
#public-footer.ik-video-footer-pro .container>div:last-child>div:last-child{
  color:var(--text-light);
  font-weight:700;
}
@media(max-width:1080px){
  #public-footer.ik-video-footer-pro .footer-grid{grid-template-columns:1.5fr 1fr 1fr}
  #public-footer.ik-video-footer-pro .footer-grid>div:nth-child(4),
  #public-footer.ik-video-footer-pro .footer-grid>div:nth-child(5){
    grid-column:1/-1;
    padding-left:0;
    border-left:0;
    border-top:1px solid var(--border-light);
    padding-top:20px;
  }
}
@media(max-width:760px){
  .ik-video-youtube-page .ik-video-youtube-sidebar{
    box-shadow:0 5px 18px rgba(14,90,60,.05);
    padding:8px 8px 10px;
  }
  .ik-video-youtube-page .ik-video-sidebar-brand{margin-bottom:8px;padding-bottom:9px}
  .ik-video-youtube-page .ik-video-sidebar-nav:not(.ik-video-sidebar-nav-secondary),
  .ik-video-youtube-page .ik-video-sidebar-nav-secondary{
    border:0;
    padding:0;
    background:transparent;
    border-radius:0;
  }
  .ik-video-youtube-page .ik-video-sidebar-link{
    min-height:38px;
    border-radius:999px;
    padding:7px 10px;
  }
  #public-footer.ik-video-footer-pro{
    margin-top:24px;
    padding:28px 0 14px;
  }
  #public-footer.ik-video-footer-pro .footer-grid{
    grid-template-columns:1fr;
    gap:18px;
  }
  #public-footer.ik-video-footer-pro .footer-grid>div:not(:first-child){
    padding-left:0;
    border-left:0;
    border-top:1px solid var(--border-light);
    padding-top:18px;
  }
  #public-footer.ik-video-footer-pro .footer-grid>div:nth-child(4){
    grid-column:auto;
    padding-top:18px;
  }
  #public-footer.ik-video-footer-pro .container>div:last-child{
    flex-direction:column;
    align-items:flex-start;
  }
}



/* V418 — Extend the Video page's professional sidebar color through the full
 * content column down to the footer. Presentation-only; no navigation/playback
 * contracts are changed. */
@media (min-width:761px){
  #public-main.ik-video-public-main{
    background:
      radial-gradient(circle at 12% 76%, rgba(198,161,90,.08), transparent 24%),
      linear-gradient(180deg,#f4fbf7 0%,#edf8f2 52%,#e5f3eb 100%) 0 0 / 232px 100% no-repeat,
      linear-gradient(90deg,#edf8f2 0 232px,#ffffff 232px 100%) 0 0 / 100% 100% no-repeat !important;
  }
  .ik-video-youtube-sidebar{
    background:
      radial-gradient(circle at 18% 18%, rgba(255,255,255,.82), transparent 34%),
      radial-gradient(circle at 88% 82%, rgba(198,161,90,.10), transparent 26%),
      linear-gradient(180deg,#f4fbf7 0%,#edf8f2 56%,#e5f3eb 100%) !important;
    border-right:1px solid rgba(14,90,60,.12) !important;
    box-shadow:inset -1px 0 0 rgba(255,255,255,.72), 8px 0 30px rgba(14,90,60,.045) !important;
  }
  .ik-video-youtube-page .ik-video-youtube-shell{
    background:transparent !important;
  }
  #public-main.ik-video-public-main:after{
    content:"";
    display:block;
    position:absolute;
    left:0;
    bottom:0;
    width:232px;
    height:160px;
    pointer-events:none;
    background:linear-gradient(180deg,rgba(229,243,235,0),rgba(217,239,226,.86));
    opacity:.7;
  }
  #public-main.ik-video-public-main{
    position:relative;
    isolation:isolate;
  }
  #public-main.ik-video-public-main > .ik-video-library{
    position:relative;
    z-index:1;
  }
}
@media (min-width:761px) and (max-width:980px){
  #public-main.ik-video-public-main{
    background:
      linear-gradient(180deg,#f4fbf7 0%,#edf8f2 100%) 0 0 / 86px 100% no-repeat,
      linear-gradient(90deg,#edf8f2 0 86px,#ffffff 86px 100%) 0 0 / 100% 100% no-repeat !important;
  }
  .ik-video-youtube-sidebar{
    background:linear-gradient(180deg,#f4fbf7 0%,#e5f3eb 100%) !important;
  }
  #public-main.ik-video-public-main:after{width:86px}
}
@media (min-width:761px){
  #public-main.ik-video-public-main:has(.ik-video-youtube-shell.is-sidebar-collapsed){
    background:
      linear-gradient(180deg,#f4fbf7 0%,#edf8f2 100%) 0 0 / 72px 100% no-repeat,
      linear-gradient(90deg,#edf8f2 0 72px,#ffffff 72px 100%) 0 0 / 100% 100% no-repeat !important;
  }
  #public-main.ik-video-public-main:has(.ik-video-youtube-shell.is-sidebar-collapsed):after{width:72px}
}
@media (max-width:760px){
  #public-main.ik-video-public-main{
    background:#fff !important;
  }
}

/* V419 — Restore strict vertical flow between public Home sections.
 * The lower information/trust layout can visually crowd the
 * preceding content/footer boundary. Keep every Home section in normal flow,
 * clear any legacy floats, and give the final section a deterministic bottom
 * breathing room before the public footer. Video-page layout is excluded. */
#public-main.home-islamic-pattern > .section{
  display:block;
  position:relative;
  clear:both;
}
#public-main.home-islamic-pattern > .section + .section{
  position:relative;
  clear:both;
}
#public-main.home-islamic-pattern > .section:last-child{
  margin-bottom:0!important;
  padding-bottom:56px!important;
}
body:has(#public-main.home-islamic-pattern) #public-footer{
  position:relative;
  clear:both;
  margin-top:0!important;
  z-index:2;
}
@media(max-width:760px){
  #public-main.home-islamic-pattern > .section:last-child{
    padding-bottom:40px!important;
  }
}


/* V421 — Permanent Home → Footer divider.
 * Keep the divider in the document flow boundary so it never depends on
 * hover/route timing or section paint order. Visual-only; no content logic. */
body:has(#public-main.home-islamic-pattern) #public-footer{
  position:relative;
  border-top:0!important;
  margin-top:0!important;
  padding-top:36px;
}
body:has(#public-main.home-islamic-pattern) #public-footer::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  display:block;
  background:linear-gradient(90deg,var(--primary) 0%,var(--accent) 50%,var(--primary) 100%);
  border-radius:0;
  box-shadow:0 1px 0 rgba(255,255,255,.72),0 4px 14px rgba(14,90,60,.09);
  pointer-events:none;
  z-index:3;
}
@media(max-width:760px){
  body:has(#public-main.home-islamic-pattern) #public-footer{
    padding-top:30px;
  }
  body:has(#public-main.home-islamic-pattern) #public-footer::before{
    height:3px;
  }
}

/* V526: notification-driven pending post focus. */
.ik-admin-pending-focus{animation:ikAdminPendingPulse 2.4s ease-out both;}
@keyframes ikAdminPendingPulse{0%{box-shadow:0 0 0 3px rgba(234,88,12,.28);background:rgba(255,247,237,.7)}100%{box-shadow:0 0 0 0 rgba(234,88,12,0);background:transparent}}

/* PTK-572: Slider action buttons always stay side-by-side.
   The category/action button remains on the left and All Categories on the right,
   including the narrow Android/mobile viewport. */
.islamic-slide-actions{flex-wrap:nowrap}
.islamic-slide-btn{white-space:nowrap;flex:0 1 auto;min-width:0}
@media(max-width:480px){
  .islamic-slide-actions{gap:8px;flex-wrap:nowrap}
  .islamic-slide-btn{padding:10px 13px;font-size:.82rem;gap:5px}
}

/* PTK-575: restore the PTK-565-era wide public desktop canvas to match the
   reference desktop rendering. Keep the original responsive base below 1600px
   and use a 1536px desktop cap at 1600px+ so a 1919px viewport renders the
   same 1536px-wide public content area as the reference screenshot. */
.container{width:100%;max-width:1200px;margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px;box-sizing:border-box}
@media(min-width:768px){.container{padding-left:28px;padding-right:28px}}
@media(min-width:1600px){.container{max-width:1536px}}

/* V620: compact smart search button for the mobile public header. */
.mobile-header-search-btn{display:none;position:relative;flex:0 0 auto}
.mobile-header-search-panel{position:fixed;top:var(--header-h,70px);left:8px;right:8px;z-index:140;background:var(--bg2);border:1px solid var(--border-light);border-radius:16px;box-shadow:0 18px 44px rgba(16,24,40,.18);padding:10px;transform:translateY(-8px) scale(.985);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s ease,transform .18s ease,visibility .16s ease}
.mobile-header-search-panel.open{transform:translateY(0) scale(1);opacity:1;visibility:visible;pointer-events:auto}
.mobile-header-search-head{display:flex;align-items:center;gap:8px}
.mobile-header-search-wrap{position:relative;display:flex;align-items:center;flex:1;min-width:0}
.mobile-header-search-leading{position:absolute;left:12px;color:var(--text-light);display:flex;align-items:center;pointer-events:none}
.mobile-header-search-input{width:100%;min-width:0;padding:11px 42px 11px 40px;border-radius:12px;border:1px solid var(--border);background:var(--bg3);color:var(--text);font-size:.95rem;outline:none}
.mobile-header-search-input:focus{border-color:var(--primary);background:var(--bg2);box-shadow:0 0 0 3px var(--primary-light)}
.mobile-header-search-clear,.mobile-header-search-close{flex:0 0 auto;width:36px;height:36px;border:1px solid var(--border);background:var(--bg2);color:var(--text-muted);border-radius:10px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.mobile-header-search-clear{position:absolute;right:6px;width:30px;height:30px;border-radius:50%;border:0;background:color-mix(in srgb,var(--text-muted) 9%,transparent);font-size:18px;line-height:1}
.mobile-header-search-results{margin-top:8px;max-height:min(52vh,360px);overflow:auto;-webkit-overflow-scrolling:touch}
.mobile-header-search-hint{display:flex;gap:8px;align-items:center;padding:13px 12px;color:var(--text-muted);font-size:.82rem;background:var(--bg3);border-radius:12px}
.mobile-header-search-list{display:grid;gap:4px}
.mobile-header-search-item{display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:9px 10px;border-radius:12px;text-decoration:none;color:var(--text)}
.mobile-header-search-item:hover,.mobile-header-search-item:focus-visible{background:var(--bg3);outline:none}
.mobile-header-search-item-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.mobile-header-search-item-content{min-width:0;display:flex;flex-direction:column;gap:2px}
.mobile-header-search-item-content strong{font-size:.84rem;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-header-search-item-content span{font-size:.72rem;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-header-search-item-arrow{color:var(--text-light);font-size:1.15rem;text-align:center}
.mobile-header-search-see-all{display:flex;width:100%;align-items:center;justify-content:center;margin-top:6px;padding:9px 12px;border:1px solid var(--border-light);border-radius:10px;background:var(--bg2);color:var(--primary);font-weight:800;cursor:pointer}
.mobile-header-search-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;padding:18px 12px;color:var(--text-muted);background:var(--bg3);border-radius:12px;font-size:.82rem}
.mobile-header-search-empty-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--primary) 11%,transparent);color:var(--primary);margin-bottom:2px}
@media(max-width:767px){
  #bookmark-header-btn{display:none}
  #app-download-header-btn{display:none}
  .mobile-header-search-btn{display:flex;width:34px;height:34px;border-radius:10px;padding:0}
}
@media(min-width:768px){.mobile-header-search-panel{display:none!important}}

/* V621: desktop public-header search box target width — match the reference divider. */
@media(min-width:1200px){
  .search-box{flex:0 1 200px;max-width:200px}
  /* Keep the full Bangla placeholder visible while the clear button is hidden. */
  .search-input:placeholder-shown{padding-right:16px !important}
}
