/* bluebriz — bluexxxtube elements in the briz look */

/* ---------- Card thumbnail + hover preview ---------- */
html .portfolio-item .v21-thumb-media {
	position: relative; display: block; width: 100%;
	aspect-ratio: 16 / 10; overflow: hidden; background: var(--pb-surface-2);
}
html .portfolio-item .v21-thumb-media img {
	display: block; width: 100%; height: 100% !important; aspect-ratio: 16 / 10;
	object-fit: cover !important; border-radius: 0;
	transition: transform .4s ease, opacity .2s ease;
}
html .portfolio-item .card:hover .v21-thumb-media img { transform: scale(1.04); }
html .portfolio-item .v21-thumb-media .vc-preview {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; opacity: 0; pointer-events: none;
	transition: opacity .2s ease; background: #000;
}
html .portfolio-item .v21-thumb-media.is-previewing .vc-preview { opacity: 1; }
html .portfolio-item .v21-thumb-media.is-previewing img { opacity: 0; }
html .portfolio-item .v21-thumb-media.is-loading .vc-preview { opacity: 0; }
html .portfolio-item .v21-thumb-media.is-loading img { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	html .portfolio-item .v21-thumb-media img,
	html .portfolio-item .v21-thumb-media .vc-preview { transition: none; }
}

/* ---------- Category cards (trends + categories page) ---------- */
html .trend-cat-section > .section-title {
	display: block; margin: 14px 0 12px; padding: 16px 18px;
	background: var(--pb-box); color: var(--pb-text);
	border: 1px solid var(--pb-border); border-radius: var(--pb-radius-sm);
	box-shadow: var(--pb-shadow); font-size: 22px; font-weight: 800;
}
html .trend-cat-grid {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
	margin: 0 0 18px; padding: 16px 18px;
	background: var(--pb-box); border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius-sm); box-shadow: var(--pb-shadow);
}
html a.trend-cat-card {
	display: flex; flex: 0 0 auto; flex-direction: column;
	width: 120px; min-width: 120px; max-width: 120px; margin: 0; padding: 0;
	overflow: hidden; text-align: center; line-height: 1.25;
	color: var(--pb-text) !important; text-decoration: none !important;
}
html .trend-cat-thumb {
	display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
	border-radius: 10px; background: var(--pb-surface-2); border: 1px solid var(--pb-border);
	transition: border-color .2s;
}
html .trend-cat-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
html .trend-cat-label {
	display: block; margin-top: 6px; padding: 0 2px; overflow: hidden; max-height: 2.5em;
	font-size: 12.5px; font-weight: 700; color: var(--pb-text);
}
html a.trend-cat-card:hover .trend-cat-thumb { border-color: rgba(217, 74, 85, .6); }
html a.trend-cat-card:hover .trend-cat-label { color: var(--pb-accent-2); }
html a.trend-cat-more .trend-cat-more-inner {
	display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9;
	border-radius: 10px; border: 1px dashed rgba(217, 74, 85, .55); background: rgba(217, 74, 85, .08);
	color: var(--pb-accent); font-size: 28px; line-height: 1;
}

/* ---------- Home sections "More" button ---------- */
html .bb-main .container.videos { padding-left: 0; padding-right: 0; max-width: none; }
html .bb-main .btn-asp.more {
	display: flex !important; align-items: center; justify-content: center;
	height: 46px; padding: 0 22px; border-radius: 999px; border: 0;
	background: var(--pb-grad); color: #fff !important; font-size: 15px !important; font-weight: 800;
	text-decoration: none !important; box-shadow: 0 8px 22px rgba(217, 74, 85, .3);
}

/* ---------- Video page: comments / share ---------- */
html .video-menus {
	display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap;
	margin: 0 0 10px; position: relative; z-index: 50;
}
html .video-menus .vmenu { flex: 1 1 0; min-width: 220px; }
html .vmenu-toggle {
	width: 100%; min-height: 46px; padding: 0 16px; margin: 0;
	display: flex; align-items: center; justify-content: space-between;
	background: var(--pb-box); color: var(--pb-text);
	border: 1px solid var(--pb-border); border-radius: var(--pb-radius-sm);
	box-shadow: var(--pb-shadow); font: inherit; font-size: 13px; font-weight: 800;
	letter-spacing: .4px; text-transform: uppercase; text-align: left; cursor: pointer;
	touch-action: manipulation; -webkit-tap-highlight-color: transparent;
	transition: border-color .2s, color .2s;
}
html .vmenu-toggle:hover { border-color: rgba(217, 74, 85, .55); color: var(--pb-accent-2); }
html .vmenu-toggle:focus { outline: none; box-shadow: 0 0 0 3px rgba(217, 74, 85, .18); }
html .vmenu-toggle-left { display: inline-flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html .vmenu-toggle-right { display: inline-flex; align-items: center; }
html .comments-count {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 26px; height: 22px; padding: 0 8px; border-radius: 999px;
	background: var(--pb-grad); color: #fff; font-size: 12px; font-weight: 800;
}
html .vmenu-panel {
	margin-top: 8px; padding: 14px 16px;
	background: var(--pb-box); border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius-sm); box-shadow: var(--pb-shadow); color: var(--pb-muted);
}
html .share-row { margin-top: 10px; }
html .share-row:first-child { margin-top: 0; }
html .share-label { display: block !important; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--pb-muted); }
html .share-input,
html .share-textarea,
html .comment-input,
html .comment-textarea {
	width: 100%; padding: 10px 14px; margin: 0; box-sizing: border-box;
	background: var(--pb-surface); color: var(--pb-text);
	border: 1px solid var(--pb-border); border-radius: 10px; outline: none;
	font: inherit; font-size: 14px; transition: border-color .2s, box-shadow .2s;
}
html .share-input:focus,
html .share-textarea:focus,
html .comment-input:focus,
html .comment-textarea:focus { border-color: rgba(217, 74, 85, .6); box-shadow: 0 0 0 3px rgba(217, 74, 85, .15); }
html .comment-form-row { margin-top: 10px; }
html .comment-form-row:first-child { margin-top: 0; }
html .captcha-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
html .simple-captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1 1 220px; }
html .simple-captcha label { display: inline !important; }
html .simple-captcha-label { font-size: 13px; color: var(--pb-muted); }
html .simple-captcha-code {
	display: inline-block; padding: 4px 10px; border-radius: 8px;
	background: var(--pb-surface-3); border: 1px solid var(--pb-border); color: var(--pb-text);
	font: 700 20px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .18em;
}
html .simple-captcha-input { min-width: 100px; flex: 1 1 100px; }
html .comment-submit {
	height: 42px; padding: 0 22px; border: 0; border-radius: 999px;
	background: var(--pb-grad); color: #fff; font: inherit; font-weight: 800; cursor: pointer;
	box-shadow: 0 8px 22px rgba(217, 74, 85, .3);
}
html .comment-submit:hover { opacity: .9; }
html #message:not(:empty) { margin-bottom: 10px; color: var(--pb-accent-2); font-weight: 700; }
html #showComments { margin-top: 14px; }
html .v21-comment-empty { color: var(--pb-muted); }
html .v21-comment-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
html .v21-comment-page, html .v21-comment-page-link {
	display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 32px; padding: 0 8px;
	border-radius: 8px; background: var(--pb-surface-2); border: 1px solid var(--pb-border);
	color: var(--pb-text) !important; font-weight: 700; text-decoration: none !important;
}
html .v21-comment-page.is-current { background: var(--pb-grad); border-color: transparent; color: #fff !important; }
html .mobile-video-menu-ad { display: none; width: 100%; flex: 1 1 100%; border-radius: var(--pb-radius-sm); overflow: hidden; }
@media (max-width: 768px) {
	html .mobile-video-menu-ad { display: block; }
	html .mobile-video-menu-ad iframe, html .mobile-video-menu-ad img { max-width: 100%; height: auto; }
}
@media (max-width: 700px) {
	html .video-menus .vmenu { min-width: 100%; max-width: 100%; }
}
html .pb-meta__row .pb-meta__pill { margin: 0; }

/* ---------- Tag page player (search_player_enabled) ---------- */
html .bb-search-player { margin: 0 0 10px; }
html .video-bottom-bar {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	padding: 12px 14px; margin: 0 0 12px;
	background: var(--pb-box); border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius-sm); box-shadow: var(--pb-shadow);
}
html .video-bottom-left { display: flex; gap: 8px; }
html .video-meta-item {
	padding: 7px 12px; border-radius: 999px; background: var(--pb-surface-3); border: 1px solid var(--pb-border);
	font-size: 13px; font-weight: 700; color: var(--pb-text);
}
html .video-bottom-right { display: inline-flex; align-items: center; gap: 8px; color: var(--pb-text); }
html .video-bottom-right a.ajax_rating {
	display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
	border-radius: 10px; background: var(--pb-surface-2); border: 1px solid var(--pb-border); color: var(--pb-text);
}
html .video-bottom-right div { display: inline-flex; align-items: center; gap: 8px; }
html .video-bottom-right p { margin: 0; color: var(--pb-muted); font-size: 12px; }
html .video-bottom-right span { font-weight: 800; }

/* ---------- Static pages (2257 / terms / dmca) ---------- */
html .bb-page h1, html .bb-page h2, html .bb-page h3 { color: var(--pb-text); font-size: 17px; margin: 16px 0 8px; }
html .bb-page h1:first-child, html .bb-page h2:first-child, html .bb-page h3:first-child { margin-top: 0; }
html .bb-page a { color: var(--pb-accent-2); }
html .bb-page ul, html .bb-page ol { margin: 0 0 10px 18px; }
html .bb-page li { list-style: disc; padding: 2px 0; }

/* ---------- 404 ---------- */
html .pb-404 { padding: 40px 0 20px; }
html .pb-404 .row.h { text-align: center; }
html .pb-404__text { max-width: 760px; margin: 0 auto 18px; }


html .share-bbcode { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.5; resize: vertical; min-height: 74px; word-break: break-all; }
html .share-copy {
	margin-top: 8px; padding: 8px 16px; border: 0; border-radius: 8px; cursor: pointer;
	background: #d94a55; color: #fff; font-weight: 700; font-size: 13px; transition: background .2s;
}
html .share-copy:hover { background: #c23b46; }

/* ---------- Comments list ---------- */
html #showComments { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--pb-border); }
html .v21-comment-thread, html .v21-comment-replies { list-style: none; margin: 0; padding: 0; }
html .v21-comment-thread { display: flex; flex-direction: column; gap: 10px; }
html .v21-comment-item { margin: 0; padding: 0; border: 0; }
html .v21-comment {
	padding: 12px 14px; margin: 0;
	background: var(--pb-surface); border: 1px solid var(--pb-border); border-radius: 12px;
}
html .v21-comment-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; }
html .v21-comment-meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
html .v21-comment-avatar {
	flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--pb-grad); color: #fff; font-size: 15px; font-weight: 800; text-transform: uppercase;
	box-shadow: 0 2px 8px rgba(217, 74, 85, .3);
}
html .v21-comment-identity { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.2; }
html .v21-comment-author { font-style: normal; color: var(--pb-text); font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html .v21-comment-author * { font-style: normal; }
html .v21-comment-date { color: var(--pb-muted); font-size: 12px; font-weight: 500; }
html .v21-comment-reply-btn {
	flex: 0 0 auto; padding: 5px 12px; margin: 0; cursor: pointer;
	background: rgba(217, 74, 85, .1); border: 1px solid rgba(217, 74, 85, .35); border-radius: 999px;
	color: var(--pb-accent-2, #ec7d86) !important; font: inherit; font-size: 12px; font-weight: 700; text-transform: capitalize;
	transition: background .2s, color .2s;
}
html .v21-comment-reply-btn:hover { background: var(--pb-accent, #d94a55); color: #fff !important; }
html .v21-comment-body {
	margin: 10px 0 0 46px; color: var(--pb-text); font-size: 14px; line-height: 1.55;
	white-space: pre-line; word-break: break-word; overflow-wrap: anywhere;
}
html .v21-comment-replies {
	display: flex; flex-direction: column; gap: 8px;
	margin: 8px 0 0 22px; padding-left: 14px; border-left: 2px solid rgba(217, 74, 85, .35);
}
html .v21-comment-replies .v21-comment { background: var(--pb-surface-2, var(--pb-surface)); }
html .v21-comment-replies .v21-comment-avatar { flex-basis: 30px; width: 30px; height: 30px; font-size: 13px; }
html .v21-comment-replies .v21-comment-body { margin-left: 40px; }
html .v21-comment-empty { margin: 0; padding: 12px 0; text-align: center; color: var(--pb-muted); }
@media (max-width: 575px) {
	html .v21-comment { padding: 10px 12px; }
	html .v21-comment-body { margin-left: 0; }
	html .v21-comment-replies { margin-left: 8px; padding-left: 10px; }
	html .v21-comment-replies .v21-comment-body { margin-left: 0; }
}

/* ---------- Footer description internal links ---------- */
html .pb-footer__text a { color: var(--pb-accent-2, #ec7d86) !important; text-decoration: none; border-bottom: 1px dotted rgba(217, 74, 85, .45); transition: color .2s, border-color .2s; }
html .pb-footer__text a:hover { color: #fff !important; border-bottom-color: #fff; }

/* ---------- Page intro text in title card ---------- */
html .row.h .pb-intro { margin-top: 10px; color: var(--pb-muted, #a9adb8); font-size: 14px; line-height: 1.65; }
html .row.h .pb-intro p { margin: 0 0 8px; }
html .row.h .pb-intro p:last-child { margin-bottom: 0; }
html .row.h .pb-intro a { color: var(--pb-accent-2, #ec7d86) !important; text-decoration: none; border-bottom: 1px dotted rgba(217, 74, 85, .45); }
html .row.h .pb-intro a:hover { color: #fff !important; border-bottom-color: #fff; }
@media (max-width: 575px) { html .row.h .pb-intro { font-size: 13px; } }

/* ---------- Category grid: large responsive cards ---------- */
html .trend-cat-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 14px; justify-content: stretch;
}
html a.trend-cat-card {
	position: relative; width: auto; min-width: 0; max-width: none;
	border-radius: 12px; overflow: hidden;
	background: var(--pb-surface-2); border: 1px solid var(--pb-border);
	transition: transform .2s, border-color .2s, box-shadow .2s;
}
html .trend-cat-thumb { border: 0; border-radius: 0; }
html .trend-cat-thumb img { border-radius: 0; transition: transform .35s; }
html .trend-cat-label {
	position: absolute; left: 0; right: 0; bottom: 0; margin: 0; max-height: none;
	padding: 28px 12px 10px; text-align: left; font-size: 15px; font-weight: 800; line-height: 1.25;
	white-space: nowrap; text-overflow: ellipsis;
	background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 55%, transparent 100%);
	color: #fff !important; text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
html a.trend-cat-card:hover { transform: translateY(-2px); border-color: rgba(217, 74, 85, .7); box-shadow: 0 8px 22px rgba(0,0,0,.45); }
html a.trend-cat-card:hover .trend-cat-thumb { border-color: transparent; }
html a.trend-cat-card:hover .trend-cat-thumb img { transform: scale(1.05); }
html a.trend-cat-card:hover .trend-cat-label { color: #fff !important; }
html a.trend-cat-more { background: transparent; border-style: dashed; }
html a.trend-cat-more .trend-cat-more-inner { border: 0; border-radius: 0; }
html a.trend-cat-more .trend-cat-label { position: static; background: none; text-align: center; padding: 8px; }
@media (max-width: 991px) {
	html .trend-cat-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; padding: 12px; }
	html .trend-cat-label { font-size: 14px; }
}
@media (max-width: 575px) {
	html .trend-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px; }
	html a.trend-cat-card { border-radius: 10px; }
	html .trend-cat-label { padding: 22px 8px 7px; font-size: 13px; }
}

/* ---------- Home: popular categories (2 x 5) ---------- */
html .pb-home-cats { margin: 18px 0 6px; }
html .pb-home-cats .trend-cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
html .pb-home-cats__more {
	display: flex; justify-content: center; padding: 4px 18px 18px; margin-bottom: 18px;
	background: var(--pb-box); border: 1px solid var(--pb-border); border-top: 0;
	border-radius: 0 0 var(--pb-radius-sm) var(--pb-radius-sm); box-shadow: var(--pb-shadow);
}
html .pb-home-cats__more a {
	display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 26px;
	border-radius: 999px; background: var(--pb-grad); color: #fff !important;
	font-size: 14px; font-weight: 800; letter-spacing: .3px; text-decoration: none !important;
	transition: transform .2s, box-shadow .2s;
}
html .pb-home-cats__more a:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(217, 74, 85, .45); }
@media (max-width: 991px) { html .pb-home-cats .trend-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } html .pb-home-cats .trend-cat-card:nth-child(n+10) { display: none; } }
@media (max-width: 575px) { html .pb-home-cats .trend-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } html .pb-home-cats .trend-cat-card:nth-child(n+10) { display: flex; } }
