.bm-profile,
.bm-following {
	--bm-accent: #00aeef;
	--bm-border: #555;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 0;
}
.bm-profile *, .bm-following * { box-sizing: border-box; }
.bm-profile { padding-bottom: 48px; }
.bm-profile-header { margin: 0 0 28px; }
.bm-cover { position: relative; isolation: isolate; }
.bm-cover--with-banner { --bm-border: #aaa; background: #202020; color: #fff; margin-bottom: 24px; border-radius: 9px; margin-top: 5px; box-shadow: 4px 3px 20px 2px #0308156b; border: 1px solid #d8a86e24; }
/* Drawn placeholder shown when no banner image is set. */
.bm-cover:not(.bm-cover--with-banner) { --bm-border: #aaa; color: #fff; margin: 5px 0 24px; border-radius: 9px; box-shadow: 4px 3px 20px 2px #0308156b; border: 1px solid #d8a86e24; background: linear-gradient(135deg, #2a2018 0%, #17130e 60%, #100c09 100%); }
.bm-cover:not(.bm-cover--with-banner)::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 8px; pointer-events: none; background-image: radial-gradient(circle at 18% 22%, rgba(216, 168, 110, .10), transparent 42%), radial-gradient(circle at 82% 78%, rgba(216, 168, 110, .08), transparent 46%); }
.bm-cover:not(.bm-cover--with-banner) .bm-identity { min-height: 280px; padding: 32px; }
.bm-cover:not(.bm-cover--with-banner) .bm-details h1 { color: #fff; }
.bm-banner { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: 8px; pointer-events: none; }
.bm-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bm-banner::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.bm-identity { display: flex; align-items: center; gap: 24px; padding: 24px 0 16px; }
.bm-cover--with-banner .bm-identity { min-height: 280px; padding: 32px; }
.bm-cover--with-banner .bm-details h1 { color: #fff; }
.bm-portrait { width: 140px; height: 140px; flex: 0 0 140px; overflow: hidden; border-radius: 8px; background: #282828; display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 48px; }
.bm-portrait img { width: 100%; height: 100%; object-fit: cover; }
.bm-details { flex: 1; min-width: 0; color: bisque;}
.bm-details h1 { font-size: 36px; line-height: 1.15; margin: 0 0 10px; letter-spacing: 0; overflow-wrap: anywhere; }
.bm-details p { margin: 6px 0; }
.bm-aliases { font-size: 14px; overflow-wrap: anywhere; }
.bm-count { font-size: 14px; }
.bm-actions { flex-shrink: 0; }
.bm-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; background: #68461c; color: #fff; border: 1px solid transparent; border-radius: 6px; font: 700 14px/1.4 'Raleway', sans-serif; letter-spacing: 0; cursor: pointer; text-decoration: none; }
.bm-button:hover, .bm-button:focus { background: #ab9a5a; color: #fff; text-decoration: none; }
.bm-button[aria-pressed="true"] { background: transparent; color: inherit; border-color: var(--bm-border); }
.bm-button:focus-visible, .bm-profile a:focus-visible, .bm-following a:focus-visible { outline: 3px solid var(--bm-accent); outline-offset: 4px; }
.bm-button:disabled { opacity: .6; cursor: wait; }
.bm-status { font-size: 14px; margin: 0; overflow-wrap: anywhere; }
.bm-status:not(:empty) { padding: 8px 0; }
.bm-bio { border-top: 1px solid var(--bm-border); padding-top: 20px; line-height: 1.7; overflow-wrap: anywhere; max-width: 850px; }
.bm-bio p:last-child { margin-bottom: 0; }
.bm-videos { padding-top: 24px; }
.bm-videos h2, .bm-following h2 { font-size: 29px; line-height: 1.3; margin: 0 0 20px; letter-spacing: 0; color: bisque; font-weight: 800; }
.bm-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.bm-section-head h2 { margin: 0; }
.bm-view-all { font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.bm-view-all:hover, .bm-view-all:focus { text-decoration: underline; }
.bm-section-foot { text-align: center; margin-top: 24px; }
.bm-profile .nv-card-more { position: relative; min-width: 0; }
.bm-profile .nv-card-more__overlay { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: rgba(0,0,0,.62); color: #fff; text-decoration: none; font-weight: 800; font-size: 16px; }
.bm-profile .nv-card-more__overlay:hover, .bm-profile .nv-card-more__overlay:focus { background: rgba(0,0,0,.74); color: #fff; }
.bm-profile .nv-card-more__label { display: inline-flex; align-items: center; gap: 8px; color: bisque; }
.bm-empty { padding: 32px 0; font-size: 15px; }
.bm-restricted { padding: 48px 0; text-align: center; }
.bm-restricted h1 { margin: 0 0 12px; }
.bm-restricted p { margin: 0 0 20px; }
.bm-profile .nv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bm-profile .nv-card { background: #1a1a1a; border-radius: 6px; overflow: hidden; min-width: 0; }
.bm-profile .nv-card__link { display: block; text-decoration: none; }
.bm-profile .nv-card__thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #111; }
.bm-profile .nv-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .15s ease; }
.bm-profile .nv-card__img.active { opacity: 1; }
.bm-profile .nv-card__placeholder { height: 100%; display: flex; align-items: center; justify-content: center; color: #777; font-size: 36px; }
.bm-profile .nv-card__badge { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 4px 8px; border-radius: 3px; font-size: 11px; font-weight: 800; line-height: 1.2; }
.bm-profile .nv-card__badge--golden { color: #17130a; background: #e8bd55; }
.bm-profile .nv-card__badge--unlock { top: 8px; left: auto; right: 8px; display: inline-flex; align-items: center; gap: 5px; color: #fff; background: rgb(227, 68, 68); font-weight: 700; }
.bm-profile .nv-card__overlay { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: 6px; padding: 8px; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.bm-profile .nv-card__stat { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 3px; color: #fff; background: rgba(0,0,0,.68); font-size: 12px; line-height: 1.2; }
.bm-profile .nv-card__stat--right { margin-left: auto; }
.bm-profile .nv-card__body { padding: 12px; }
.bm-profile .nv-card--home .nv-card__body { display: flex; align-items: center; gap: 10px; }
.bm-profile .nv-card__avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #282828; display: inline-flex; align-items: center; justify-content: center; color: #aaa; font-size: 18px; }
.bm-profile .nv-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-profile .nv-card__meta { min-width: 0; display: flex; flex-direction: column; }
.bm-profile .nv-card__model { font-size: 13px; color: #b0a99f; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-profile .nv-card__title { color: #e0e0e0; font-size: 13px; font-weight: 600; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; letter-spacing: 0; }
.bm-profile .pagination { display: block; text-align: center; margin: 28px 0 0; }
.bm-profile .page-numbers { display: inline-flex; padding: 10px 14px; margin: 3px; border: 1px solid var(--bm-border); border-radius: 6px; }
.bm-following { --bm-border: #ddd; }
.bm-following-list { list-style: none; margin: 0 0 28px; padding: 0; }
.bm-following-list li { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--bm-border); }
.bm-model-link { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.bm-model-link img, .bm-model-placeholder { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; flex: 0 0 56px; }
.bm-model-link span {color: bisque;}
.bm-model-link span:hover { color: #ab9a5a; }
.bm-model-placeholder { display: inline-flex; align-items: center; justify-content: center; background: #eee; color: #777; font-size: 24px; }
.bm-updates-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 20px; }
.bm-updates-heading h2 { margin: 0; }
.bm-following .nv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bm-following .nv-card__title { overflow-wrap: anywhere; }
.bm-model-links { display: inline-flex; flex-wrap: wrap; gap: 12px; margin: 8px 8px -7px 8px; }
.bm-model-chip { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 10px 12px 10px 10px; border-radius: 7px; background: #1e1712; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); transition: box-shadow .2s ease, transform .2s ease; }
.bm-model-chip:hover, .bm-model-chip:focus { box-shadow: 0 6px 16px rgba(0, 0, 0, .5); transform: translateY(-1px); }
.bm-model-links .bm-model-avatar { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; background: #282828; display: inline-flex; align-items: center; justify-content: center; color: #aaa; font-size: 14px; flex: 0 0 auto; }
.bm-model-links .bm-model-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-taxonomy { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.bm-tax-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; background: #1e1712; color: #d8c4a8; border: 1px solid #3a2e22; transition: background .2s ease, color .2s ease; }
.bm-tax-chip:hover, .bm-tax-chip:focus { background: #2a2016; color: #fff; }
.bm-tax-chip--tag { background: #16181e; color: #a9c0d8; border-color: #263040; }
.bm-tax-chip--tag:hover, .bm-tax-chip--tag:focus { background: #1e2733; color: #fff; }
.bm-tax-chip i { font-size: 12px; opacity: .8; }
.bm-model-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 0 0 32px; }
.bm-model-card { display: block; text-decoration: none; background: #1a1a1a; border-radius: 8px; overflow: hidden; border: 1px solid transparent; transition: border-color .2s ease, transform .2s ease; }
.bm-model-card:hover { border-color: rgba(229, 165, 88, .22); transform: translateY(-2px); }
.bm-model-card__banner { position: relative; display: block; height: 100px; background: linear-gradient(135deg, #2a2018, #100c09); background-size: cover; background-position: center; }
.bm-model-card__banner::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.bm-model-card__avatar { position: absolute; left: 50%; bottom: -40px; z-index: 1; transform: translateX(-50%); width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: #282828; border: 4px solid #1a1a1a; display: inline-flex; align-items: center; justify-content: center; color: #aaa; font-size: 28px; }
.bm-model-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-model-card__body { display: block; padding: 52px 10px 16px; text-align: center; }
.bm-model-card__name { display: block; color: bisque; font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-model-card__count { display: block; color: #9a938a; font-size: 12px; margin-top: 2px; }
@media (max-width: 991px) { .bm-model-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) { .bm-model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .bm-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.bm-model-name { font-size: 15px; color: #c5c4c3;}	
.entry-title-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.entry-title-row .entry-title { margin: 0; color: bisque; font-weight: 600; }
.entry-fav { flex: 0 0 auto; font-size: 22px; line-height: 1; }
/* Large desktop */
@media (min-width: 1400px) {
	.bm-profile .nv-grid, .bm-following .nv-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.nv-favorites-wrap .bm-profile .nv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Tablet landscape / small desktop */
@media (max-width: 991px) {
	.bm-cover--with-banner .bm-identity { min-height: 240px; padding: 24px; }
	.bm-profile .nv-grid, .bm-following .nv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Tablet portrait / large phone */
@media (max-width: 767px) {
	.bm-profile .nv-grid, .bm-following .nv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
/* Small phone */
@media (max-width: 480px) {
	.bm-cover--with-banner .bm-identity { min-height: 220px; padding: 20px 16px; }
	.bm-identity { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
	.bm-portrait { width: 88px; height: 88px; font-size: 32px; }
	.bm-details h1 { font-size: 26px; }
	.bm-actions { grid-column: 1 / -1; }
	.bm-profile .nv-grid, .bm-following .nv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.bm-following-list li { flex-wrap: wrap; }
	.bm-following-list .bm-model-link { flex-basis: 100%; }
}
/* Very small phone: single column */
@media (max-width: 359px) {
	.bm-profile .nv-grid, .bm-following .nv-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Basic CSS for Pagination Buttons */
.nav-links { display: flex; justify-content: center; margin-top: 20px; }
.page-numbers { font-weight: bold; background-color: #1a1a1a; margin: 0 5px; padding: 5px 10px; border: 1px solid #ccc; border-radius: 5px; text-decoration: none; color: #ffffff; }
.page-numbers.current { font-weight: bold; background-color: #0073aa; color: white; border-color: #0073aa; }
.next.page-numbers { background-color: #f1f1f1; border: 1px solid #ccc; border-radius: 5px; color: #333; text-decoration: none; }
.next.page-numbers:hover { background-color: #ddd; }


.bm-profile .nv-card:hover {
  border: 1px solid rgba(229, 165, 88, 0.16);
  border-radius: 8px;
  transform: scale(1.03);
  transition: transform 0.3s ease;
}