/*
Theme Name: Mindorah Child (Video Hub)
Theme URI: https://example.com/
Description: Child theme for Twenty Twenty-Four that replicates the Blogger-style video hub layout + Adsterra ad slots.
Author: Ahmed Saeed
Template: twentytwentyfour
Version: 1.0.0
Text Domain: mindorah-child
*/

body.mindorah-home{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: radial-gradient(1200px 600px at 50% -200px, rgba(255,71,87,.22), transparent 55%),
              radial-gradient(900px 500px at 20% 0px, rgba(78,205,196,.18), transparent 60%),
              #0f1218;
  color: rgba(255,255,255,.92);
  min-height:100vh;
  overflow-x:hidden;
}

/* Keep WP admin bar usable */
body.mindorah-home #wpadminbar{ position: fixed; }

/* App wrapper */
body.mindorah-home .mindorah-app{ width:100%; max-width:100%; margin:0 auto; }
body.mindorah-home .mindorah-app *{ box-sizing:border-box; }

:root{
  --mindorah-bg:#0f1218;
  --mindorah-stroke:rgba(255,255,255,.10);
  --mindorah-text:rgba(255,255,255,.92);
  --mindorah-muted:rgba(255,255,255,.65);
  --mindorah-accent:#ff4757;
  --mindorah-accent2:#4ecdc4;
  /* JS updates these at runtime (exact heights). */
  --mindorah-adminbar-h: 0px;
  --mindorah-topbar-h: 0px;
  --mindorah-dock-h: 0px;
}

/* Reasonable defaults if WP admin bar is present */
body.admin-bar{ --mindorah-adminbar-h: 46px; }
@media (min-width: 783px){ body.admin-bar{ --mindorah-adminbar-h: 32px; } }

/* ===== Topbar ===== */
body.mindorah-home .mindorah-app .topbar{
  position: sticky; top: var(--mindorah-adminbar-h, 0px); z-index: 1200;
  background: rgba(10,12,16,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mindorah-stroke);
  padding: 10px 14px;
  display:flex;
  align-items:center;
  gap:12px;
}
body.mindorah-home .mindorah-app .brand{
  font-weight: 950;
  letter-spacing: .5px;
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}
body.mindorah-home .mindorah-app .brand .dot{
  width:10px; height:10px; border-radius:50%;
  background: var(--mindorah-accent);
  box-shadow: 0 0 0 6px rgba(255,71,87,.12);
}
body.mindorah-home .mindorah-app .brand span{
  background: linear-gradient(45deg, var(--mindorah-accent), var(--mindorah-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.05rem;
}
body.mindorah-home .mindorah-app .search{
  flex:1;
  display:flex;
  align-items:center;
  gap:8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 8px 12px;
  min-width: 0;
}
body.mindorah-home .mindorah-app .search input{
  width:100%;
  background: transparent;
  border:0;
  outline:none;
  color: var(--mindorah-text);
  font-size: .95rem;
}
body.mindorah-home .mindorah-app .chip{
  display:none;
  padding:7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  white-space:nowrap;
}
@media (min-width: 992px){ body.mindorah-home .mindorah-app .chip{ display:inline-flex; } }

/* ===== Layout ===== */
body.mindorah-home .mindorah-app .shell{
  max-width: 1400px;
  margin: 14px auto;
  padding: 0 12px 18px;
  width: 100%;
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 992px){
  body.mindorah-home .mindorah-app .shell{
    grid-template-columns: 160px 1fr 160px;
    gap: 16px;
    padding: 0 16px 22px;
  }
}

body.mindorah-home .mindorah-app .sidebar{ display:none; }
@media (min-width: 992px){
  body.mindorah-home .mindorah-app .sidebar{
    display:block;
    position: sticky;
    top: 74px;
    align-self: start;
  }
}

body.mindorah-home .mindorah-app .panel{
  background: rgba(255,255,255,.05);
  border: 1px solid var(--mindorah-stroke);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}

body.mindorah-home .mindorah-app .xgrid{
  display:grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
@media (min-width: 992px){
  body.mindorah-home .mindorah-app .xgrid{
    grid-template-columns: 1fr 360px;
  }
  body.mindorah-home .mindorah-app .rightlist{ border-left: 1px solid var(--mindorah-stroke); }
}

body.mindorah-home .mindorah-app .playerCol{ padding: 12px; min-width:0; }
@media (min-width: 992px){ body.mindorah-home .mindorah-app .playerCol{ padding: 16px; } }

body.mindorah-home .mindorah-app .titleRow{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin: 10px 0 10px;
}
body.mindorah-home .mindorah-app .h1{
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
  color: rgba(255,255,255,.95);
}
@media (min-width: 768px){ body.mindorah-home .mindorah-app .h1{ font-size: 1.35rem; } }

body.mindorah-home .mindorah-app .toggles{
  display:flex;
  align-items:center;
  gap:12px;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
body.mindorah-home .mindorah-app .toggle{
  display:flex; align-items:center; gap:8px;
  font-size: .85rem;
  color: rgba(255,255,255,.80);
  user-select:none;
  white-space:nowrap;
}
body.mindorah-home .mindorah-app .toggle input{ transform: translateY(1px); }

/* ===== Player ===== */
body.mindorah-home .mindorah-app .playerWrap{
  width:100%;
  background:#000;
  border-radius: 12px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 16px 45px rgba(0,0,0,.42);
  position: relative;
  height: max(240px, 56.25vw);
}
@media (min-width: 992px){ body.mindorah-home .mindorah-app .playerWrap{ height: 520px; } }

body.mindorah-home .mindorah-app #mainDock{ position:absolute; inset:0; }
body.mindorah-home .mindorah-app iframe{ width:100%; height:100%; border:0; }
body.mindorah-home .mindorah-app #mainDock video{ width:100%; height:100%; border:0; background:#000; }
body.mindorah-home .mindorah-app #mainDock video{ object-fit:contain; }

body.mindorah-home .mindorah-app .ytLazyBtn{
  position:absolute; inset:0;
  border:0; background:#000;
  cursor:pointer;
  padding:0;
}
body.mindorah-home .mindorah-app .ytLazyBtn img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  opacity:.96;
}
body.mindorah-home .mindorah-app .ytPlayIcon{
  position:absolute;
  left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:74px; height:74px;
  border-radius:50%;
  background:rgba(255,0,0,.85);
  display:flex; align-items:center; justify-content:center;
  font-size:26px;
  color:#fff;
  font-weight:900;
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
}

/* Up Next overlay */
body.mindorah-home .mindorah-app .upnext-overlay{
  position:absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 6;
  display:none;
  pointer-events: none;
}
body.mindorah-home .mindorah-app .upnext-overlay.is-open{ display:block; }
body.mindorah-home .mindorah-app .upnext-card{
  pointer-events: auto;
  background: rgba(0,0,0,.68);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  overflow:hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}
body.mindorah-home .mindorah-app .upnext-head{
  padding: 10px 12px;
  font-weight: 950;
  color: rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
body.mindorah-home .mindorah-app .upnext-body{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px;
  align-items: center;
}
body.mindorah-home .mindorah-app .upnext-body img{
  width:100%;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background:#000;
}
body.mindorah-home .mindorah-app .upnext-title{
  font-weight: 950;
  line-height: 1.2;
  color: rgba(255,255,255,.92);
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: .95rem;
}
body.mindorah-home .mindorah-app .upnext-actions{
  margin-top: 8px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}
body.mindorah-home .mindorah-app .btn{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
  padding: 8px 10px;
  border-radius: 10px;
  cursor:pointer;
  font-weight:800;
  font-size:.85rem;
}
body.mindorah-home .mindorah-app .btn.primary{
  background: linear-gradient(45deg, var(--mindorah-accent), #ff2f43);
  border-color: rgba(255,255,255,.55);
  font-weight: 950;
}
body.mindorah-home .mindorah-app .btn:active{ transform: scale(.98); }

body.mindorah-home .mindorah-app .metaBar{
  margin-top: 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 10px 12px;
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
}
body.mindorah-home .mindorah-app .now{
  font-size:.9rem;
  color: rgba(255,255,255,.85);
  overflow:hidden;
  text-overflow: ellipsis;
  white-space:nowrap;
  max-width: 70%;
}
body.mindorah-home .mindorah-app .navBtns{ display:flex; gap:8px; flex: 0 0 auto; }

body.mindorah-home .mindorah-app .upnext-strip{
  margin-top: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  overflow:hidden;
  display:grid;
  grid-template-columns: 140px 1fr auto;
  gap: 12px;
  align-items:center;
  padding: 10px;
  cursor: pointer;
}
body.mindorah-home .mindorah-app .upnext-strip img{
  width: 140px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background:#000;
}
body.mindorah-home .mindorah-app .upnext-strip .label{
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
body.mindorah-home .mindorah-app .upnext-strip .title{
  font-weight: 950;
  line-height: 1.2;
  color: rgba(255,255,255,.92);
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
body.mindorah-home .mindorah-app .upnext-strip .btn{ white-space:nowrap; }
@media (max-width: 520px){
  body.mindorah-home .mindorah-app .upnext-strip{
    grid-template-columns: 120px 1fr;
    grid-template-rows: auto auto;
  }
  body.mindorah-home .mindorah-app .upnext-strip img{ width:120px; height:72px; }
  body.mindorah-home .mindorah-app .upnext-strip .btn{ grid-column: 1 / -1; justify-self: end; }
}

body.mindorah-home .mindorah-app .ctaBox{
  margin-top: 12px;
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255,71,87,.16), rgba(78,205,196,.12));
  border: 1px solid rgba(255,255,255,.14);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
body.mindorah-home .mindorah-app .ctaText{ font-weight:900; line-height:1.2; }
body.mindorah-home .mindorah-app .ctaSub{ margin-top:4px; font-size:.88rem; color: rgba(255,255,255,.72); font-weight:600; }
body.mindorah-home .mindorah-app .ctaBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(45deg, var(--mindorah-accent), #ff2f43);
  color:#fff;
  text-decoration:none;
  border: 2px solid rgba(255,255,255,.65);
  font-weight: 950;
  letter-spacing: .5px;
  white-space:nowrap;
  box-shadow: 0 14px 35px rgba(255,71,87,.25);
  width:auto;
}
body.mindorah-home .mindorah-app .ctaBtn:active{ transform: scale(.98); }
@media (max-width: 600px){
  body.mindorah-home .mindorah-app .ctaBox{ flex-direction: column; align-items: center; }
  body.mindorah-home .mindorah-app .ctaBtn{ width: 100%; }
}

body.mindorah-home .mindorah-app .rightlist{ padding: 10px; background: rgba(0,0,0,.18); min-width:0; }
@media (min-width: 992px){ body.mindorah-home .mindorah-app .rightlist{ padding: 12px; } }
body.mindorah-home .mindorah-app .listHead{ display:flex; align-items:center; justify-content:space-between; padding: 6px 4px 10px; }
body.mindorah-home .mindorah-app .listHead h2{ font-size: 1rem; font-weight: 950; color: rgba(255,255,255,.90); }

body.mindorah-home .mindorah-app .vlist{ display:flex; flex-direction:column; gap:10px; }
body.mindorah-home .mindorah-app .vitem{
  display:grid;
  grid-template-columns: 132px 1fr;
  gap:10px;
  align-items:stretch;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  overflow:hidden;
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
body.mindorah-home .mindorah-app .vitem:hover{ transform: translateY(-1px); border-color: rgba(255,71,87,.55); background: rgba(255,255,255,.07); }
body.mindorah-home .mindorah-app .vitem.active{
  border-color: rgba(255,71,87,.75);
  box-shadow: 0 0 0 2px rgba(255,71,87,.12) inset;
  background: rgba(255,71,87,.10);
}
body.mindorah-home .mindorah-app .thumb{ position: relative; background:#000; }
body.mindorah-home .mindorah-app .thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
body.mindorah-home .mindorah-app .playbadge{
  position:absolute;
  left:8px; bottom:8px;
  background: rgba(0,0,0,.65);
  border: 1px solid rgba(255,255,255,.18);
  color:#fff;
  padding: 4px 8px;
  border-radius: 999px;
  font-size:.78rem;
  font-weight:900;
}
body.mindorah-home .mindorah-app .vinfo{ padding: 10px 10px 10px 0; display:flex; flex-direction:column; gap:6px; min-width: 0; }
body.mindorah-home .mindorah-app .vtitle{
  font-weight: 900;
  font-size: .95rem;
  line-height: 1.2;
  color: rgba(255,255,255,.92);
  overflow:hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
body.mindorah-home .mindorah-app .vmeta{ font-size:.82rem; color: rgba(255,255,255,.65); font-weight:700; }

/* Ads */
body.mindorah-home .mindorah-app .ad-container{
  margin: 12px auto;
  text-align:center;
  border-radius: 12px;
  overflow:hidden;
  border: 1px dashed rgba(255,255,255,.22);
  background: rgba(255,255,255,.05);
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 10px;
}
body.mindorah-home .mindorah-app .ad-320x50{ width:320px; height:50px; min-height:50px; max-width:100%; }
body.mindorah-home .mindorah-app .ad-300x250{ width:300px; height:250px; min-height:250px; max-width:100%; }
body.mindorah-home .mindorah-app .ad-160x600{ width:160px; height:600px; min-height:600px; }

/* Hints for admin only */
body.mindorah-home .mindorah-app .ad-hint{
  font-size: 12px;
  padding: 10px;
  color: rgba(255,255,255,.75);
  text-align:center;
}

/* Footer */
body.mindorah-home .mindorah-app .footer{
  margin-top: 12px;
  padding: 18px 12px;
  text-align:center;
  color: rgba(255,255,255,.60);
  font-size: .9rem;
}
body.mindorah-home .mindorah-app .footer a{ color: rgba(255,255,255,.70); text-decoration:none; margin:0 10px; }
body.mindorah-home .mindorah-app .footer a:hover{ color: rgba(255,255,255,.95); }

/* Overflow safe */
body.mindorah-home .mindorah-app .panel,
body.mindorah-home .mindorah-app .xgrid,
body.mindorah-home .mindorah-app .playerCol,
body.mindorah-home .mindorah-app .rightlist,
body.mindorah-home .mindorah-app .shell{ min-width:0 !important; }

body.mindorah-home .mindorah-app img,
body.mindorah-home .mindorah-app iframe{ max-width:100% !important; }

body.mindorah-home .mindorah-app .ad-container iframe,
body.mindorah-home .mindorah-app .ad-container ins,
body.mindorah-home .mindorah-app .ad-container > div{
  max-width: 100% !important;
  width: 100% !important;
}

/* ============================================================
   Legal pages (AdSense-friendly)
   ============================================================ */

body.mindorah-legal{
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  min-height: 100vh;
}

body.mindorah-legal .mindorah-legal-wrap{
  max-width: 980px;
  margin: 24px auto;
  padding: 18px 14px;
}

body.mindorah-legal .mindorah-legal-shell{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

body.mindorah-legal .mindorah-legal-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(0,0,0,0.35);
}

body.mindorah-legal .mindorah-legal-brand{
  font-weight: 900;
  text-decoration: none;
  letter-spacing: .6px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 18px;
}

body.mindorah-legal .mindorah-legal-back{
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}
body.mindorah-legal .mindorah-legal-back:hover{ color: #fff; }

body.mindorah-legal .mindorah-legal-card{
  padding: 20px 16px;
}

body.mindorah-legal .mindorah-legal-title{
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 900;
}

body.mindorah-legal .mindorah-legal-content{
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
  font-size: 15px;
}

body.mindorah-legal .mindorah-legal-content h2{
  margin-top: 18px;
  font-size: 18px;
  font-weight: 900;
}

body.mindorah-legal .mindorah-legal-content a{
  color: #fff;
  text-decoration: underline;
}

body.mindorah-legal .mindorah-legal-content ul{
  padding-left: 18px;
}

body.mindorah-legal .mindorah-legal-footer{
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.18);
  text-align: center;
}

body.mindorah-legal .mindorah-legal-links a{
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  margin: 0 10px;
  display: inline-block;
  padding: 6px 0;
  font-weight: 800;
}
body.mindorah-legal .mindorah-legal-links a:hover{ color: rgba(255,255,255,0.95); }

body.mindorah-legal .mindorah-legal-copy{
  margin-top: 8px;
  opacity: 0.75;
  font-size: 13px;
}

/* Mobile: hide 300x250, show 2×320x50 */
body.mindorah-home .mindorah-app .rp-mobile-only{ display:none; }
@media (max-width: 767px){
  body.mindorah-home .mindorah-app #ad_top_300x250{ display:none !important; }
  body.mindorah-home .mindorah-app .rp-mobile-only{ display:flex !important; }
}
@media (min-width: 768px){
  body.mindorah-home .mindorah-app .rp-mobile-only{ display:none !important; }
}

/* Open-in-browser bar optional space */
body.mindorah-home.hasOpenInBrowserBar{ padding-bottom:64px; }


/* ============================================================
   MOBILE: YouTube-style related cards + Sticky player + ads
   Targets: #videoList.vlist .vitem (.thumb + .vinfo)
   ============================================================ */

/* Make sticky possible inside panel on mobile (overflow hidden breaks sticky) */
@media (max-width: 767px){
  body.mindorah-home .mindorah-app,
  body.mindorah-home .mindorah-app .shell,
  body.mindorah-home .mindorah-app .panel,
  body.mindorah-home .mindorah-app .xgrid,
  body.mindorah-home .mindorah-app .playerCol,
  body.mindorah-home .mindorah-app .rightlist{
    overflow: visible !important;
  }

  /* Avoid inner scroll containers breaking the dock behavior */
  body.mindorah-home .mindorah-app .rightlist,
  body.mindorah-home .mindorah-app #videoList.vlist{
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-overflow-scrolling: auto !important;
  }

  /* Sticky block (Above-ad + main player + below-ad) */
  body.mindorah-home .mindorah-app .mobileStickyDock{
    position: sticky !important;
    top: calc(var(--mindorah-adminbar-h, 0px) + var(--mindorah-topbar-h, 0px));
    z-index: 1150;
    background: rgba(15,18,24,.98);
    border-bottom: 1px solid var(--mindorah-stroke);
    /* extend to panel edges (playerCol has padding 12px) */
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 10px;
  }

  /* Fixed mode (JS toggles this) so dock stays even while scrolling Related Videos */
  body.mindorah-home .mindorah-app .mobileStickyDock.isDockFixed{
    position: fixed !important;
    left: 12px;
    right: 12px;
    top: calc(var(--mindorah-adminbar-h, 0px) + var(--mindorah-topbar-h, 0px));
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 14px;
    box-shadow: 0 18px 55px rgba(0,0,0,.55);
  }

  /* Placeholder to keep layout from jumping when dock becomes fixed */
  body.mindorah-home .mindorah-app #dockPlaceholder{
    width: 100%;
    height: var(--mindorah-dock-h, 0px);
  }

  /* Related Videos: YouTube mobile card layout */
  body.mindorah-home .mindorah-app #videoList.vlist{ gap: 14px !important; }

  body.mindorah-home .mindorah-app #videoList.vlist .vitem{
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    grid-template-columns: 1fr !important;
    border-radius: 14px !important;
  }

  body.mindorah-home .mindorah-app #videoList.vlist .thumb{
    width: 100% !important;
    position: relative !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    background: #000 !important;
  }

  @supports not (aspect-ratio: 16 / 9){
    body.mindorah-home .mindorah-app #videoList.vlist .thumb{ height: 0 !important; padding-top: 56.25% !important; }
    body.mindorah-home .mindorah-app #videoList.vlist .thumb img{ position:absolute !important; inset:0 !important; }
  }

  body.mindorah-home .mindorah-app #videoList.vlist .thumb img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Center + smaller play button on related thumbnails (YouTube-ish) */
  body.mindorah-home .mindorah-app #videoList.vlist .playbadge{
    left: 50% !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: 54px !important;
    height: 54px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    background: rgba(0,0,0,.55) !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important; /* hide "▶ Play" text */
  }
  body.mindorah-home .mindorah-app #videoList.vlist .playbadge::before{
    content: "▶";
    font-size: 18px;
    line-height: 1;
    font-weight: 950;
    color: #fff;
    transform: translateX(1px);
  }

  body.mindorah-home .mindorah-app #videoList.vlist .vinfo{
    padding: 10px 12px 12px !important;
    min-width: 0 !important;
  }

  body.mindorah-home .mindorah-app #videoList.vlist .vtitle{
    font-size: 15px !important;
    line-height: 1.25 !important;
  }

  body.mindorah-home .mindorah-app #videoList.vlist .vmeta{
    font-size: 12px !important;
    opacity: .85 !important;
  }
}
