/* New design - Bootstrap layout, dark theme */
:root {
  --bg: #0d0d0f;
  --bg-card: #16161a;
  --bg-side: #121214;
  --border: #2a2a2e;
  --text: #e8e8ec;
  --text-muted: #a1a1aa;
  --accent: #f97316;
  --accent-hover: #fb923c;
  --radius: 12px;
  --font: system-ui, -apple-system, sans-serif;
}

html, body { margin: 0; overflow-x: hidden; }
body { font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
.container-fluid { max-width: 100%; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

/* Sidebar sticky - stays visible while scrolling on desktop */
aside.col-lg-3.col-xl-2 { align-self: flex-start; }
@media (min-width: 992px) {
  /* Make the inner wrapper sticky, not the column itself, and avoid overflow on ancestors */
  aside.col-lg-3.col-xl-2 { align-self: flex-start; }
  aside.col-lg-3.col-xl-2 .sticky-lg-top { position: sticky; top: 0; max-height: 100vh; overflow-y: auto; }
}

/* Bootstrap offcanvas dark override */
.new-sidebar { background: var(--bg-side) !important; border-color: var(--border) !important; color: var(--text) !important; }
.new-sidebar .border-bottom { border-color: var(--border) !important; }
.new-sidebar .btn-close-white { filter: invert(1); }
.new-sidebar .offcanvas-body { scrollbar-width: none; -ms-overflow-style: none; }
.new-sidebar .offcanvas-body::-webkit-scrollbar { display: none; }

.new-navbar { background: var(--bg-side) !important; border-color: var(--border) !important; }

.navbar-brand-mobile { display: flex; align-items: center; padding: 0; }
.site-logo-mobile { height: 32px; width: auto; max-width: 120px; object-fit: contain; object-position: left center; }

.sidebar-logo .site-logo { height: 42px; width: auto; max-width: 160px; object-fit: contain; object-position: left center; display: block; }

.sidebar_nav .menu ul, .sidebar_nav .nav-list { margin: 0; padding: 0; list-style: none; }
.sidebar_nav .menu li, .sidebar_nav .nav-list li { margin: 0; }
.sidebar_nav .menu a, .sidebar_nav .nav-list a { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.75rem; border-radius: 8px; color: var(--text); }
.sidebar_nav .menu a:hover, .sidebar_nav .nav-list a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.sidebar_nav .menu a.active, .sidebar_nav .nav-list a.active { color: var(--accent); }
.side-profiles-title { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); margin: 0 0 0.75rem; padding: 0 0.5rem; opacity: 0.85; }
.sidebar_nav .menu ul li a { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0.5rem; font-size: 0.9rem; color: var(--text); }
.sidebar_nav .menu ul li a .side-profile-thumb,
.sidebar_nav .menu ul li a img.side-profile-thumb { width: 35px; height: 35px; min-width: 35px; min-height: 35px; border: 2px solid #ea0303; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

#listing, .listing { max-width: 800px; margin: 0 auto; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; }
.card-h { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.card-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.card-name { font-weight: 600; font-size: 1rem; color: #fff !important; }
.card-feed-links { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.card-feed-links a { display: inline-flex; align-items: center; padding: 0.35rem 0.5rem; font-size: 0.8rem; color: var(--text); border-radius: 6px; }
.card-feed-links a:hover { color: var(--accent); background: rgba(255,255,255,.06); }
.feed-share-icon { display: inline-flex !important; align-items: center; justify-content: center; padding: 0.5rem !important; border-radius: 50%; color: #fff !important; transition: background 0.2s, color 0.2s; margin-right: -0.25rem; }
.feed-share-icon svg { flex-shrink: 0; }
.feed-share-icon:hover { color: var(--accent) !important; background: rgba(255,255,255,.12) !important; }
.card-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 1rem; }
.card-gallery-home { grid-template-columns: 1fr 1fr; }
.card-gallery-home .card-img-wrap:first-child { grid-column: 1 / -1; }
.card-gallery-home .card-img-wrap:first-child img { aspect-ratio: 16/10; }
.card-img-main { grid-column: 1 / -1; justify-self: center; max-width: 100%; }
.card-img-wrap { display: block; overflow: hidden; border-radius: 8px; background: var(--bg); }
.card-img-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.card-ft { padding: 0.75rem 1.25rem; border-top: 1px solid var(--border); text-align: center; }
.card-link { display: inline-block; padding: 0.5rem 1.25rem; background: var(--accent); color: #000 !important; font-weight: 600; font-size: 0.875rem; border-radius: 8px; }
.card-link:hover { background: var(--accent-hover); color: #000 !important; }

.foot { margin-top: 2rem; padding: 1.5rem; border-top: 1px solid var(--border); text-align: center; font-size: 0.875rem; color: var(--text); }
.foot a { color: var(--text); }
.foot a:hover { color: var(--accent); }
.foot a + a { margin-left: 1rem; }

.listing-empty { text-align: center; padding: 3rem; color: var(--text); }
.page-static { max-width: 800px; margin: 0 auto; }
.page-static h1 { font-size: 1.5rem; margin: 0 0 1rem; }
.page-static h2 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; color: var(--text); }
.page-static p { margin: 0 0 1rem; color: var(--text); }
.page-static ul { margin: 0 0 1rem; padding-left: 1.5rem; color: var(--text); }
.page-static li { margin-bottom: 0.35rem; }
.page-static a { color: var(--accent); }
.page-static a:hover { color: var(--accent-hover); }
.page-static .alpha a { display: inline-block; margin: 0 0.25rem 0.5rem 0; padding: 0.25rem 0.5rem; background: var(--bg-card); border-radius: 6px; }
.page-static .alpha a:hover { background: var(--accent); color: #000; }
.page-static .search-form { display: flex; gap: 0.5rem; margin: 1rem 0; }
.page-static .search-form input { flex: 1; padding: 0.65rem 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; color: var(--text); }
.page-static .search-form button { padding: 0.65rem 1rem; background: var(--accent); color: #000; border: 0; border-radius: 8px; font-weight: 600; cursor: pointer; }

/* Babes listing - fap style */
.listing_page { max-width: 800px; margin: 0 auto; }
.listing_page .profile_image.listing_profile_image { display: block; margin: 0 auto; width: 100%; max-width: 180px; height: 180px; border: 5px solid #ea0303; border-radius: 50%; overflow: hidden; background-repeat: no-repeat; background-size: cover; background-position: center; }
.listing_page .profile_image.listing_profile_image img { width: 100%; height: auto; }
.listing_page .profile_title .title { color: var(--text); font-size: 1rem; font-weight: 600; margin: 0; }
.listing_page .profile_title:hover .title { color: var(--accent); }
.alphabets_pages { margin: 1rem 0; padding: 0.5rem 0; }
.alphabets_pages a { display: inline-block; margin: 0 0.2rem 0.25rem 0; padding: 0.25rem 0.5rem; background: var(--bg-card); border-radius: 6px; color: var(--text); }
.alphabets_pages a:hover { background: var(--accent); color: #000; }

/* Profile page */
.profile-header { max-width: 800px; margin: 0 auto 1.5rem; display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.profile-avatar { width: 140px; height: 140px; min-width: 140px; border-radius: 50%; background: var(--bg-card); background-size: cover; background-position: center; }
.profile-info { flex: 1; min-width: 0; }
.profile-info h1 { margin: 0 0 0.5rem; font-size: 1.5rem; }
.profile-info p { margin: 0 0 0.5rem; color: var(--text); font-size: 0.95rem; opacity: 0.9; }
.profile-count { font-weight: 600; color: var(--accent); }
.profile-grid { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.profile-grid-item { overflow: hidden; border-radius: 8px; background: var(--bg-card); }
.profile-grid-item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* Profile listing - babes/listing_page */
.listing_page .img-container { width: 100%; height: 280px; overflow: hidden; background-color: #000; display: flex; justify-content: center; align-items: center; border-radius: 8px; }
.listing_page .img-container img.img-full { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* Post page */
.post-view-main { max-width: 800px; margin: 0 auto; }
.post-view-main-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.post-view-main-header .post-view-feed-links { margin-left: auto; }
.post-title-primary { font-size: 1.25rem; font-weight: 600; margin: 0 0 0.5rem; }
.post-title-primary a { color: var(--accent); }
.post-title-primary a:hover { color: var(--accent-hover); }
.post-meta-username { margin: 0 0 1rem; color: var(--text); font-size: 0.95rem; opacity: 0.9; }
.post-media-block { text-align: center; background: #000; padding: 1rem; border-radius: 8px; margin-bottom: 1rem; }
.post-media-block img, .post-media-block video { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.post-nav-row { display: flex; justify-content: space-between; gap: 1rem; }
.post-nav-row a { color: var(--accent); font-weight: 600; }
.post-nav-row a:hover { color: var(--accent-hover); }

/* Homepage cards */
.card-profile { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; padding: 1rem; }
.card-profile-title { margin: 0 0 0.75rem; font-size: 1rem; font-weight: 600; }
.card-profile-title a { color: var(--text); }
.card-profile-title a:hover { color: var(--accent); }
.card-thumb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 0.75rem; }
.card-thumb-wrap { display: block; overflow: hidden; border-radius: 8px; background: var(--bg); aspect-ratio: 4/5; }
.card-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card-profile-footer { text-align: center; }
.card-profile-footer a { color: var(--accent); font-size: 0.9rem; }
.card-profile-footer a:hover { color: var(--accent-hover); }

.post-view { max-width: 800px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.post-view-header { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.post-view-header .card-name { color: #fff !important; }
.post-view-feed-links { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.post-view-feed-links a { display: inline-flex; align-items: center; padding: 0.35rem 0.5rem; font-size: 0.8rem; color: var(--text); border-radius: 6px; }
.post-view-feed-links a:hover { color: var(--accent); background: rgba(255,255,255,.06); }
.post-view-feed-links .feed-share-icon { padding: 0.5rem !important; border-radius: 50%; margin-right: -0.25rem; color: #fff !important; }
.post-view-feed-links .feed-share-icon svg { flex-shrink: 0; }
.post-view-feed-links .feed-share-icon:hover { color: var(--accent) !important; background: rgba(255,255,255,.12) !important; }
.feed-block-gallery .img-container { width: 100%; height: 280px; overflow: hidden; background-color: #000; display: flex; justify-content: center; align-items: center; border-radius: 8px; }
.feed-block-gallery .img-container img.img-full { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.post-view-media { padding: 1rem; text-align: center; background: #000; }
.post-view-media img, .post-view-media video { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.post-nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-top: 1px solid var(--border); gap: 1rem; }
.post-nav a { color: var(--accent); font-weight: 600; }
.post-nav a:hover { color: var(--accent-hover); }
.post-nav-index { color: var(--text); font-size: 0.9rem; opacity: 0.9; }
