/* [SITEFIX] hand layout fixes (dark + light). Loaded after app-v2/noglow. */

/* Video posts in the feed: no card-inside-a-card - video fills the post width */
body.theme-v2 .post-video{max-width:none!important;width:100%!important;margin:10px 0 4px!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;border-radius:0!important}
body.theme-v2 .post-video .fv-thumb{width:100%!important;border-radius:12px}
body.theme-v2 .post-video .fv-title{margin-top:10px}

/* Single user showcase (MC Staff box): card fills the box, bigger photo */
body.theme-v2 .us-single .us-item{max-width:none!important;width:100%!important;margin:0!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
body.theme-v2 .us-single .us-item .us-photo{width:100%!important;height:auto!important;aspect-ratio:1/1;border-radius:12px;background-size:cover;background-position:center}
html body.theme-v2 .us-single .us-item .us-photo{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1/1!important}
html body.theme-v2 .us-single .us-scroller, html body.theme-v2 .us.us-single{padding-left:0!important;padding-right:0!important;max-width:none!important}

/* Master Verify Vids (cam videos block): no inner card - video fills the box */
html body.theme-v2 .cvb{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body.theme-v2 .cvb-stage{border-radius:12px;overflow:hidden}
html body.theme-v2 .cvb-dots{padding:10px 0 0!important}

/* Member Spotlight: no inner card - photo fills the box */
html body.theme-v2 .spot-item{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;border-radius:0!important;max-width:none!important}
html body.theme-v2 .spot-item:hover{transform:none!important}
html body.theme-v2 .spot-photo{border-radius:12px;width:100%!important;max-width:none!important}
html body.theme-v2 .spot-info{padding:10px 0 0!important}
html body.theme-v2 .spot.spot-card{display:block!important}
html body.theme-v2 .spot-card .spot-item{width:100%!important;margin:0!important}
html body.theme-v2 .spot-card .spot-photo{aspect-ratio:4/3!important}
html body.theme-v2 .zblock-spotlight .zblock-body{padding:0!important}
/* admin-only "Edit spotlight" pencil (top right): make it a clear gold pencil instead of a grey dot */
html body.theme-v2 .zblock-spotlight .spe-btn{background:transparent!important;border:1px solid rgba(201,169,97,.6)!important;color:#c9a961!important;opacity:1!important;font-size:14px!important;width:28px!important;height:28px!important;border-radius:999px!important;box-shadow:none!important;filter:none!important}
html body.theme-v2 .zblock-spotlight .spe-btn:hover{background:rgba(201,169,97,.15)!important}

/* Messages: thread list text stays inside the column (name/time on one line, preview truncates with ...) */
html body.theme-v2 .dm2-list .dm-thread{display:flex!important;align-items:center;gap:12px;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding-right:14px!important;overflow:hidden}
html body.theme-v2 .dm2-list .dm-thread-meta{flex:1 1 auto!important;min-width:0!important;overflow:hidden}
html body.theme-v2 .dm2-list .dm2-row1, html body.theme-v2 .dm2-list .dm2-row2{display:flex!important;align-items:center;gap:8px;min-width:0!important;width:100%}
html body.theme-v2 .dm2-list .dm-thread-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.theme-v2 .dm2-list .dm2-time{flex:0 0 auto!important;white-space:nowrap}
html body.theme-v2 .dm2-list .dm-thread-prev{display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* [RAILICONS] collapsed left menu = icons only */
@media(min-width:821px){
html body.theme-v2.rail-collapsed .rail{width:72px!important;min-width:72px!important;flex:0 0 72px!important;padding-left:10px!important;padding-right:10px!important;overflow-x:hidden!important;overflow-y:auto}
html body.theme-v2.rail-collapsed .rail .ri-text,html body.theme-v2.rail-collapsed .rail .rail-label,html body.theme-v2.rail-collapsed .rail .rail-brand span,html body.theme-v2.rail-collapsed .rail .rail-brand b{display:none!important}
html body.theme-v2.rail-collapsed .rail-top{flex-direction:column;gap:6px;padding:4px 0 10px!important}
html body.theme-v2.rail-collapsed .rail-brand{margin:0!important;justify-content:center}
html body.theme-v2.rail-collapsed .rail-toggle{margin:0!important;order:0}
html body.theme-v2.rail-collapsed .rail-item{justify-content:center!important;padding:10px 0!important;gap:0!important}
html body.theme-v2.rail-collapsed .rail-item .nav-badge,html body.theme-v2.rail-collapsed .rail-item [class*="badge"]{position:absolute!important;top:4px;right:6px;transform:scale(.85)}
html body.theme-v2.rail-collapsed .rail-group{margin-bottom:4px;padding-top:6px;border-top:1px solid var(--line,#1f1f1f)}
html body.theme-v2.rail-collapsed .rail-group:first-of-type{border-top:0}
}
