/* ==========================================================================
   vjerk — vertical clip theme
   ========================================================================== */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-700.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/inter-display-900.woff") format("woff"); }

:root {
	--bg: #0b0910;
	--bg-2: #0f0c16;
	--surface: #17121f;
	--surface-2: #221b2e;
	--line: rgba(255, 255, 255, .08);
	--line-2: rgba(255, 255, 255, .14);
	--text: #f5f2f9;
	--muted: #a39bb2;
	--faint: #6f6780;
	--c1: #ff2e7e;
	--c2: #8b3dff;
	--c3: #b03dff;
	--c1-rgb: 255, 46, 126;
	--c2-rgb: 139, 61, 255;
	--pink: var(--c1);
	--violet: var(--c2);
	--live: #ff3b4d;
	--grad: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
	--radius: 14px;
	--side-w: 264px;
	--tab-h: 58px;
	--safe-b: env(safe-area-inset-bottom, 0px);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--display: "Inter Display", "Inter", system-ui, sans-serif;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 15px/1.5 var(--font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-tap-highlight-color: transparent;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.vj-skip { position: absolute; left: -999px; top: 8px; z-index: 200; padding: 10px 16px; background: var(--text); color: var(--bg); border-radius: 8px; font-weight: 700; }
.vj-skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

/* Icons -------------------------------------------------------------------- */
.vj-i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vj-i--fill { fill: currentColor; stroke: none; }

/* Buttons & chips ------------------------------------------------------------ */
.vj-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 12px 22px; border-radius: 999px;
	font-weight: 700; font-size: 15px; line-height: 1.1; text-align: center;
	transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.vj-btn:active { transform: scale(.97); }
.vj-btn--grad { background: var(--grad); color: var(--on-grad, #fff); box-shadow: 0 8px 24px -10px rgba(var(--c1-rgb), .7); }
.vj-btn--grad:hover { filter: brightness(1.08); }
.vj-btn--ghost { background: var(--surface-2); border: 1px solid var(--line-2); }
.vj-btn--ghost:hover { background: #2b2339; }
.vj-btn--block { display: flex; width: 100%; }

.vj-iconbtn {
	display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	color: var(--text); transition: background .15s;
}
@media (hover: hover) { .vj-iconbtn:hover { background: rgba(255, 255, 255, .1); } }

.vj-chips { display: flex; gap: 8px; }
.vj-chips--wrap { flex-wrap: wrap; }
.vj-chips--scroll { overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin: 0 -16px; padding-inline: 16px; }
.vj-chips--scroll::-webkit-scrollbar { display: none; }
.vj-chip {
	flex: none; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
	background: var(--surface-2); border: 1px solid var(--line); color: var(--text); white-space: nowrap;
	transition: background .15s, border-color .15s;
}
.vj-chip:hover { border-color: var(--line-2); background: #2a2238; }
.vj-chip.is-active { background: var(--grad); border-color: transparent; color: var(--on-grad, #fff); }
.vj-chip--tag { color: var(--muted); }

/* Search field --------------------------------------------------------------- */
.vj-search { position: relative; }
.vj-search .vj-i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.vj-search input {
	width: 100%; height: 44px; padding: 0 16px 0 42px; border-radius: 999px;
	background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
	font: 500 14px var(--font); outline: none; -webkit-appearance: none; appearance: none;
}
.vj-search input::placeholder { color: var(--faint); }
.vj-search input:focus { border-color: var(--pink); background: #261e33; }

/* App shell ----------------------------------------------------------------- */
.vj-main { min-height: 100vh; min-height: 100dvh; }

.vj-logo { display: inline-flex; align-items: center; }
.vj-logo__img { height: 34px; width: auto; }
.vj-logo--mark img { width: 32px; height: 32px; }
.vj-logo { position: relative; }
.vj-logo.has-badge { padding-right: 44px; }
.vj-logo__badge {
	position: absolute; right: 0; top: -7px;
	padding: 3px 6px 2px; border-radius: 6px;
	background: #fff; color: var(--c2);
	font: 900 9.5px/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
	box-shadow: 0 3px 10px -2px rgba(var(--c1-rgb), .55), 0 0 0 1.5px rgba(var(--c1-rgb), .35);
	transform: rotate(8deg); transform-origin: left bottom;
	animation: vj-badge-pop .7s cubic-bezier(.3, 1.6, .5, 1) .35s both, vj-badge-wiggle 6s ease-in-out 2s infinite;
	pointer-events: none; white-space: nowrap;
}
.vj-logo--mark.has-badge { padding-right: 0; }
.vj-logo--mark .vj-logo__badge { top: -6px; right: -16px; font-size: 8px; padding: 2px 4px 1px; }
@keyframes vj-badge-pop { from { opacity: 0; transform: rotate(8deg) scale(.3); } }
@keyframes vj-badge-wiggle { 0%, 92%, 100% { transform: rotate(8deg); } 94% { transform: rotate(-4deg) scale(1.08); } 96% { transform: rotate(14deg) scale(1.08); } 98% { transform: rotate(4deg); } }

/* Sidebar (desktop) */
.vj-side {
	position: fixed; inset: 0 auto 0 0; z-index: 30; width: var(--side-w);
	display: none; flex-direction: column; gap: 20px; padding: 22px 18px 18px;
	background: var(--bg-2); border-right: 1px solid var(--line);
	overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent;
}
.vj-side__top { padding: 2px 6px 2px; }
.vj-side__nav { display: flex; flex-direction: column; gap: 2px; }
.vj-side__link {
	display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 12px;
	font-weight: 600; font-size: 15px; color: var(--muted); transition: background .15s, color .15s;
}
.vj-side__link:hover { background: var(--surface); color: var(--text); }
.vj-side__link.is-active { background: var(--surface-2); color: var(--text); }
.vj-side__link.is-active .vj-i { color: var(--pink); }
.vj-side__link--live { color: var(--text); }
.vj-side__link--live .vj-i { color: var(--live); }
.vj-livedot {
	margin-left: auto; padding: 2px 8px; border-radius: 6px; background: var(--live); color: #fff;
	font: 700 10px/1.5 var(--font); letter-spacing: .06em; text-transform: uppercase; font-style: normal;
}
.vj-side__menu ul, .vj-footmenu { list-style: none; margin: 0; padding: 0; }
.vj-side__menu a { display: block; padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; }
.vj-side__menu a:hover { color: var(--text); background: var(--surface); }
.vj-side__block { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.vj-side__title { font: 700 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 6px 0 2px; }
.vj-promo {
	position: relative; padding: 18px; border-radius: 18px; background: var(--surface);
	border: 1px solid transparent;
	background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
}
.vj-promo strong { display: block; font: 900 18px/1.2 var(--display); letter-spacing: -.01em; }
.vj-promo p { margin: 6px 0 14px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.vj-side__foot { margin-top: auto; padding-top: 6px; color: var(--faint); font-size: 12px; }
.vj-side__foot p { margin: 8px 0 0; }
.vj-footmenu { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.vj-footmenu a { color: var(--muted); font-size: 12px; }
.vj-footmenu a:hover { color: var(--text); }

/* Mobile top bar (grid & text pages) */
.vj-topbar {
	position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
	padding: 10px 10px 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
	background: rgba(11, 9, 16, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--line);
}
.vj-topbar .vj-logo__img { height: 28px; }
.vj-topbar__right, .vj-feedbar__right { display: flex; align-items: center; gap: 6px; }
.vj-postbtn {
	display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px 0 9px; border-radius: 10px;
	background: var(--grad); color: var(--on-grad, #fff); font-size: 13px; font-weight: 700; text-shadow: none;
	box-shadow: -2px 0 0 rgba(var(--c1-rgb), .4), 2px 0 0 rgba(var(--c2-rgb), .4); transition: filter .15s, transform .1s;
}
.vj-postbtn:hover { filter: brightness(1.08); }
.vj-postbtn:active { transform: scale(.96); }
.vj-postbtn .vj-i { width: 18px; height: 18px; stroke-width: 2.6; }

/* Mobile tab bar */
.vj-tabbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
	display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
	height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
	background: #000; border-top: 1px solid var(--line);
}
.vj-tabbar__item, .vj-tabbar__live {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	height: 100%; font-size: 10.5px; font-weight: 600; color: var(--faint);
}
.vj-tabbar__item .vj-i { width: 22px; height: 22px; }
.vj-tabbar__item.is-active { color: var(--text); }
.vj-tabbar__live { color: var(--text); }
.vj-tabbar__liveicon {
	display: grid; place-items: center; width: 46px; height: 30px; border-radius: 10px;
	margin: -4px 0; background: var(--grad); box-shadow: -3px 0 0 rgba(var(--c1-rgb), .33), 3px 0 0 rgba(var(--c2-rgb), .33);
}
.vj-tabbar__liveicon .vj-i { width: 20px; height: 20px; color: #fff; }

/* Grid & text pages ---------------------------------------------------------- */
.vj-page { width: 100%; max-width: 1480px; margin: 0 auto; padding: 18px 16px 28px; }
.vj-pagehead { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.vj-pagehead__title { font: 900 clamp(26px, 5vw, 40px)/1.05 var(--display); letter-spacing: -.02em; }
.vj-pagehead__desc { color: var(--muted); max-width: 70ch; }
.vj-pagehead__desc p { margin: 0; }
.vj-section-title { font: 900 22px/1.2 var(--display); margin: 36px 0 14px; }

.vj-seg { display: inline-flex; align-self: flex-start; padding: 4px; gap: 2px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.vj-seg__item { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.vj-seg__item.is-active { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

.vj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
.vj-card { min-width: 0; }
.vj-card__media {
	position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius);
	background: var(--surface); isolation: isolate;
}
.vj-card__media img, .vj-card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .25s; }
.vj-card__media video { opacity: 0; z-index: 1; }
.vj-card__media.is-previewing video { opacity: 1; }
.vj-card__media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; z-index: 2; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); pointer-events: none; }
.vj-card:hover .vj-card__media img { transform: scale(1.04); }
.vj-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--faint); background: radial-gradient(circle at 30% 20%, rgba(var(--c1-rgb), .2), transparent 60%), radial-gradient(circle at 80% 90%, rgba(var(--c2-rgb), .2), transparent 60%), var(--surface); }
.vj-card__ph .vj-i { width: 36px; height: 36px; }
.vj-card__views {
	position: absolute; left: 8px; bottom: 8px; z-index: 3; display: inline-flex; align-items: center; gap: 4px;
	font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
.vj-card__views .vj-i { width: 13px; height: 13px; }
.vj-card__title { margin: 8px 2px 0; font: 600 13.5px/1.35 var(--font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vj-card__title a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--pink); }
.vj-card__who { margin: 2px 2px 0; font-size: 12px; color: var(--muted); }

.vj-more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 28px 0 8px; }
.vj-pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.vj-pager .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.vj-pager .page-numbers.current { background: var(--grad); border-color: transparent; color: var(--on-grad, #fff); }
.vj-js .vj-pager { display: none; }

.vj-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; max-width: 420px; margin: 0 auto; }
.vj-empty h1, .vj-empty h2 { font: 900 26px/1.15 var(--display); letter-spacing: -.01em; }
.vj-empty p { margin: 0 0 6px; color: var(--muted); }
.vj-empty--inline { padding: 48px 0 12px; }
.vj-404 { font: 900 96px/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.04em; }

/* Text pages */
.vj-article { max-width: 820px; }
.vj-prose { color: #ddd6e8; font-size: 16px; line-height: 1.7; }
.vj-prose h2 { font: 700 22px/1.3 var(--font); margin: 1.6em 0 .5em; color: var(--text); }
.vj-prose h3 { font: 700 18px/1.3 var(--font); margin: 1.4em 0 .4em; color: var(--text); }
.vj-prose a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.vj-prose img { border-radius: var(--radius); height: auto; }

/* Footer */
.vj-footer { display: grid; gap: 16px; max-width: 1480px; margin: 24px auto 0; padding: 28px 16px calc(var(--tab-h) + var(--safe-b) + 28px); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.vj-footer__brand p { margin: 10px 0 0; max-width: 60ch; }
.vj-footer__brand .vj-logo__img { height: 28px; }
.vj-footer__creators { margin: 0; }
.vj-footer__creators .vj-i, .vj-sheet__creators .vj-i { width: 18px; height: 18px; }
.vj-sheet__creators { margin-top: 12px; }
.vj-footer__copy { margin: 0; color: var(--faint); font-size: 12px; }
.vj-footer__copy a { text-decoration: underline; }

/* ==========================================================================
   Vertical feed
   ========================================================================== */
.vj-feed-view { overflow: hidden; overscroll-behavior: none; }
.vj-feed-view .vj-main { min-height: 0; }
.vj-feedwrap { position: relative; height: calc(100vh - var(--tab-h)); height: calc(100dvh - var(--tab-h) - var(--safe-b)); background: #000; }
.vj-feed {
	height: 100%; overflow-y: auto; overflow-x: hidden; outline: none;
	scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none;
}
.vj-feed::-webkit-scrollbar { display: none; }

.vj-slide { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.vj-feed__end { display: grid; place-items: center; height: 72px; }
.vj-feed__end[data-has-more="0"] .vj-spinner { display: none; }
.vj-spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--surface-2); border-top-color: var(--pink); animation: vj-spin .8s linear infinite; }
@keyframes vj-spin { to { transform: rotate(360deg); } }

.vj-stage { position: absolute; inset: 0; overflow: hidden; background: #000; isolation: isolate; }
.vj-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(26px) brightness(.5) saturate(1.2); transform: scale(1.15); z-index: 0; }
.vj-video, .vj-embed { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; border: 0; object-fit: cover; background: transparent; }
.vj-video.is-landscape { object-fit: contain; }
.vj-stage::after {
	content: ""; position: absolute; inset: auto 0 0; height: 55%; z-index: 2; pointer-events: none;
	background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, .28) 55%, transparent);
}
.vj-tap { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.vj-bigplay {
	position: absolute; left: 50%; top: 50%; z-index: 3; width: 76px; height: 76px; margin: -38px 0 0 -38px;
	display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .35); color: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s; pointer-events: none;
}
.vj-bigplay .vj-i { width: 34px; height: 34px; margin-left: 4px; }
.vj-slide.is-paused .vj-bigplay { opacity: 1; transform: none; }

.vj-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 3px; background: rgba(255, 255, 255, .18); }
.vj-progress span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--grad); }

.vj-caption {
	position: absolute; left: 14px; right: 84px; bottom: 18px; z-index: 4;
	color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.vj-who { display: inline-block; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.vj-who:hover { text-decoration: underline; }
.vj-title { font: 600 15px/1.35 var(--font); }
.vj-title a:hover { text-decoration: underline; }
.vj-desc {
	margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .86);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer;
}
.vj-desc.is-open { -webkit-line-clamp: unset; display: block; }
.vj-tags { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 13.5px; font-weight: 600; }
.vj-tags a { color: rgba(255, 255, 255, .92); }
.vj-tags a:hover { text-decoration: underline; }
.vj-cta {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 14px 9px 12px;
	border-radius: 999px; background: var(--grad); color: var(--on-grad, #fff); font-weight: 700; font-size: 13.5px; text-shadow: none;
	box-shadow: 0 8px 22px -8px rgba(var(--c1-rgb), .75);
	transition: filter .15s, transform .15s;
}
.vj-cta:hover { filter: brightness(1.08); }
.vj-cta:active { transform: scale(.97); }
.vj-cta .vj-i { width: 16px; height: 16px; }
.vj-cta__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: vj-pulse 1.6s infinite; }
@keyframes vj-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
	70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Action rail */
.vj-rail {
	position: absolute; right: 8px; bottom: 18px; z-index: 6;
	display: flex; flex-direction: column; align-items: center; gap: 16px; width: 64px;
}
.vj-act { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.vj-act__icon {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	transition: background .15s, transform .15s;
}
.vj-act:hover .vj-act__icon { background: rgba(255, 255, 255, .22); }
.vj-act:active .vj-act__icon { transform: scale(.92); }
.vj-act--static .vj-act__icon { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; height: 30px; }
.vj-act__n { font-size: 12px; font-weight: 700; line-height: 1; }
/* Taps in the rail's gaps reach the player underneath */
.vj-rail { pointer-events: none; }
.vj-rail > * { pointer-events: auto; }
.vj-rail > .vj-views { pointer-events: none; }
/* Embeds on phones: views next to the creator name, their spot in the rail left free for the host player's sound button (RedGIFs) */
.vj-capviews { display: none; align-items: center; gap: 4px; margin-left: 8px; vertical-align: 1px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .88); }
.vj-capviews .vj-i { width: 15px; height: 15px; }
.vj-slide[data-type="embed"] .vj-capviews { display: inline-flex; }
.vj-slide[data-type="embed"] .vj-views { visibility: hidden; }
.vj-like.is-liked { color: #fff; }
.vj-like.is-liked .vj-i { fill: var(--pink); stroke: var(--pink); animation: vj-pop .35s ease; }
@keyframes vj-pop { 50% { transform: scale(1.3); } }

.vj-mute .vj-i-sound { display: none; }
.vj-unmuted .vj-mute .vj-i-sound { display: block; }
.vj-unmuted .vj-mute .vj-i-mute { display: none; }

.vj-avatar { position: relative; display: block; margin-bottom: 6px; }
.vj-avatar__ring { display: block; width: 50px; height: 50px; padding: 2px; border-radius: 50%; background: var(--grad); }
.vj-avatar__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #000; background: #000; }
.vj-avatar__live {
	position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%);
	padding: 1px 6px; border-radius: 5px; background: var(--live); color: #fff;
	font: 800 9px/1.5 var(--font); letter-spacing: .08em; text-transform: uppercase; text-shadow: none;
	animation: vj-blink 2s ease-in-out infinite;
}
@keyframes vj-blink { 50% { box-shadow: 0 0 0 3px rgba(255, 59, 77, .35); } }

/* Double-tap heart */
.vj-burst { position: absolute; left: 50%; top: 50%; z-index: 7; color: var(--pink); pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.4); }
.vj-burst .vj-i { width: 110px; height: 110px; fill: currentColor; stroke: none; filter: drop-shadow(0 6px 20px rgba(var(--c1-rgb), .55)); }
.vj-burst.is-on { animation: vj-burst .8s ease forwards; }
@keyframes vj-burst {
	15% { opacity: 1; transform: translate(-50%, -50%) scale(1.1) rotate(-8deg); }
	30% { transform: translate(-50%, -50%) scale(.95) rotate(-8deg); }
	70% { opacity: 1; transform: translate(-50%, -60%) scale(1) rotate(-8deg); }
	100% { opacity: 0; transform: translate(-50%, -110%) scale(.8) rotate(-8deg); }
}

/* Feed header */
.vj-feedbar {
	position: absolute; top: 0; left: 0; right: 0; z-index: 10;
	display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 4px;
	padding: 8px 6px 18px 10px; padding-top: max(8px, env(safe-area-inset-top));
	background: linear-gradient(rgba(0, 0, 0, .5), transparent); pointer-events: none;
}
.vj-feedbar > * { pointer-events: auto; }
.vj-feedtabs { display: flex; justify-content: center; gap: 16px; }
@media (max-width: 430px) { .vj-feedtabs { gap: 14px; } .vj-feedbar .vj-postbtn span { display: none; } .vj-feedbar .vj-postbtn { padding: 0 7px; } }
@media (max-width: 360px) { .vj-feedtabs { gap: 10px; } .vj-feedtab { font-size: 14px; } }
.vj-feedtab { position: relative; padding: 6px 0; font-size: 15.5px; font-weight: 700; color: rgba(255, 255, 255, .62); text-shadow: 0 1px 4px rgba(0, 0, 0, .4); transition: color .15s; }
.vj-feedtab:hover { color: #fff; }
.vj-feedtab.is-active { color: #fff; }
.vj-feedtab.is-active::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 20px; height: 3px; margin-left: -10px; border-radius: 3px; background: #fff; }

.vj-feednav { display: none; }

/* Ad slide */
.vj-stage--ad { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(circle at 50% 35%, #2a1d3d, #0b0910 70%); }
.vj-stage--ad::after { display: none; }
.vj-ad-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.vj-ad-slot { max-width: 100%; display: grid; place-items: center; }
.vj-ad-hint { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.vj-ad-hint .vj-i { width: 18px; height: 18px; }

.vj-slide--empty { display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 30% 20%, rgba(var(--c1-rgb), .13), transparent 55%), radial-gradient(circle at 75% 85%, rgba(var(--c2-rgb), .13), transparent 55%), var(--bg); }

/* Search sheet */
.vj-sheet {
	position: fixed; inset: 0; z-index: 60; overflow-y: auto; padding: 14px 16px 32px; padding-top: max(14px, env(safe-area-inset-top));
	background: var(--bg); display: flex; flex-direction: column; gap: 12px;
	animation: vj-sheet .2s ease;
}
@keyframes vj-sheet { from { opacity: 0; transform: translateY(12px); } }
.vj-sheet__head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.vj-sheet__head .vj-search { flex: 1; }

/* Toast */
.vj-toast {
	position: fixed; left: 50%; bottom: calc(var(--tab-h) + var(--safe-b) + 24px); z-index: 90;
	padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: #111; font-weight: 700; font-size: 14px;
	transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.vj-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Age gate */
.vj-locked, .vj-locked body { overflow: hidden; }
.vj-age {
	position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
	background: rgba(8, 6, 12, .8); -webkit-backdrop-filter: blur(22px) saturate(.6); backdrop-filter: blur(22px) saturate(.6);
}
.vj-age__box {
	position: relative; width: 100%; max-width: 440px; padding: 30px 26px 22px; border-radius: 24px; text-align: center;
	background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(160deg, rgba(var(--c1-rgb), .53), rgba(var(--c2-rgb), .27) 40%, var(--line) 70%) border-box;
	border: 1px solid transparent; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
}
.vj-age__logo { height: 34px; width: auto; margin: 0 auto 16px; }
.vj-age__badge {
	display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 14px;
	font: 900 20px/1 var(--display); background: var(--grad); color: var(--on-grad, #fff);
}
.vj-age h2 { font: 900 26px/1.15 var(--display); letter-spacing: -.01em; }
.vj-age p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.vj-age__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.vj-age .vj-age__small { margin-top: 16px; font-size: 12px; color: var(--faint); }
.vj-age__small a { text-decoration: underline; }
.vj-age__panel { display: none; }
.vj-age[data-state="loading"] [data-panel="loading"],
.vj-age[data-state="classic"] [data-panel="classic"],
.vj-age[data-state="required"] [data-panel="required"],
.vj-age[data-state="blocked"] [data-panel="blocked"] { display: block; }
.vj-age__spin { display: block; margin: 8px auto 0; }
.vj-age[data-state="loading"] .vj-age__rta { display: none; }

/* ==========================================================================
   ≥ 640px — feed becomes a centered 9:16 stage with the rail beside it
   ========================================================================== */
@media (min-width: 640px) {
	.vj-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px 16px; }
	.vj-page { padding: 26px 28px 36px; }
	.vj-footer { padding-inline: 28px; grid-template-columns: 1fr auto; align-items: start; }
	.vj-footer__copy { grid-column: 1 / -1; }

	.vj-slide { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 18px 0; }
	.vj-stage {
		position: relative; inset: auto; height: 100%; aspect-ratio: 9 / 16; width: auto; max-width: calc(100vw - 120px);
		border-radius: 18px; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .9);
	}
	.vj-caption { right: 16px; bottom: 22px; left: 16px; }
	.vj-rail { position: static; align-self: flex-end; margin-bottom: 18px; }
	.vj-slide[data-type="embed"] .vj-capviews { display: none; }
	.vj-slide[data-type="embed"] .vj-views { visibility: visible; }
	.vj-act { color: var(--text); text-shadow: none; }
	.vj-act__icon { background: var(--surface-2); }
	.vj-act:hover .vj-act__icon { background: #30273f; }
	.vj-act--static .vj-act__icon { background: transparent; }
	.vj-feedwrap { background: var(--bg); }
	.vj-feedbar { background: none; padding: 26px 24px 0; }
	.vj-feedbar .vj-logo { visibility: hidden; }
	.vj-feedbar .vj-iconbtn { display: none; }
}

/* ≥ 1024px — sidebar replaces the tab bar */
@media (min-width: 1024px) {
	.vj-side { display: flex; }
	.vj-app { padding-left: var(--side-w); }
	.vj-tabbar, .vj-topbar, .vj-feedbar { display: none; }
	.vj-feedwrap { height: 100vh; height: 100dvh; }
	.vj-footer { padding-bottom: 32px; }
	.vj-toast { bottom: 32px; }
	.vj-feednav { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); z-index: 10; display: flex; flex-direction: column; gap: 12px; }
	.vj-feednav .vj-iconbtn { width: 48px; height: 48px; background: var(--surface-2); border: 1px solid var(--line); }
	.vj-feednav .vj-iconbtn:hover { background: #30273f; }
	.vj-feednav .vj-iconbtn:disabled { opacity: .3; cursor: default; }
	.vj-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
	.vj-page { padding: 34px 40px 40px; }
	.vj-footer { padding-inline: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Photo posts ---------------------------------------------------------------- */
.vj-photos {
	position: absolute; inset: 0; z-index: 1; display: flex; overflow-x: auto; overflow-y: hidden;
	scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.vj-photos::-webkit-scrollbar { display: none; }
.vj-photo { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; }
.vj-photo img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.vj-dots { position: absolute; left: 0; right: 0; top: 66px; z-index: 4; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.vj-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: width .2s, background .2s; }
.vj-dots span.is-on { width: 16px; border-radius: 4px; background: #fff; }
.vj-pcount { position: absolute; right: 12px; top: 58px; z-index: 4; padding: 3px 9px; border-radius: 99px; background: rgba(0, 0, 0, .5); color: #fff; font-size: 12px; font-weight: 700; pointer-events: none; }
.vj-pnav {
	position: absolute; top: 50%; z-index: 5; display: none; place-items: center; width: 38px; height: 38px; margin-top: -19px;
	border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vj-pnav .vj-i { width: 20px; height: 20px; }
.vj-pnav--prev { left: 10px; } .vj-pnav--prev .vj-i { transform: rotate(-90deg); }
.vj-pnav--next { right: 10px; } .vj-pnav--next .vj-i { transform: rotate(90deg); }
.vj-pnav[disabled] { opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .vj-pnav { display: grid; } }
@media (min-width: 640px) { .vj-dots { top: 16px; } .vj-pcount { top: 12px; } }
.vj-card__kind { position: absolute; right: 8px; top: 8px; z-index: 3; display: inline-flex; align-items: center; gap: 3px; padding: 3px 6px; border-radius: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11.5px; font-weight: 700; }
.vj-card__kind .vj-i { width: 14px; height: 14px; }
.vj-card__views .vj-i:not(.vj-i--fill) { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- live cams in the feed */
.vj-slide--live .vj-stage { background: #000; }
.vj-live__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(28px) brightness(.45) saturate(1.3); transform: scale(1.2); z-index: 0; }
.vj-live__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.vj-live__hit { position: absolute; inset: 0; z-index: 2; }
.vj-live__top { position: absolute; top: 70px; left: 14px; z-index: 4; display: flex; align-items: center; gap: 8px; }
.vj-live__badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 9px; border-radius: 8px; background: var(--live); color: #fff; font-weight: 800; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--live) 80%, transparent); }
.vj-live__badge i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: vj-livepulse 1.4s ease-in-out infinite; }
@keyframes vj-livepulse { 50% { opacity: .25; } }
.vj-live__viewers, .vj-live__hd { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 8px; background: rgba(0, 0, 0, .5); color: #fff; font-weight: 700; font-size: 12.5px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vj-live__viewers .vj-i { width: 15px; height: 15px; }
.vj-live__caption { right: 14px; }
.vj-live__caption .vj-who { font-size: 18px; }
.vj-live__line { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.vj-live__tags { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.vj-live__ctas { display: flex; gap: 8px; margin-top: 14px; }
.vj-live__ctas .vj-btn { flex: 1; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; font-size: 14.5px; font-weight: 800; text-shadow: none; transition: filter .15s, transform .15s, background .15s; }
.vj-live__ctas .vj-btn:active { transform: scale(.97); }
.vj-live__ctas .vj-i { width: 16px; height: 16px; flex: none; }
.vj-btn--live { background: var(--grad); color: var(--on-grad, #fff); box-shadow: 0 10px 26px -10px rgba(var(--c1-rgb), .85); }
.vj-btn--live:hover { filter: brightness(1.08); }
.vj-btn--join { position: relative; color: #fff; background: rgba(20, 14, 30, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vj-btn--join::before { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.vj-btn--join:hover { background: rgba(var(--c2-rgb), .28); }
.vj-btn--glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vj-btn--glass:hover { background: rgba(255, 255, 255, .22); }
@media (min-width: 640px) {
	.vj-live__top { top: 16px; }
	.vj-live__caption { right: 16px; }
}

/* "Post your clips": gradient pill with a shine and a pulsing icon */
.vj-side__link--post {
	position: relative; overflow: hidden; margin-top: 6px; color: #fff;
	background: linear-gradient(110deg, var(--c1), var(--c3), var(--c1)); background-size: 220% 100%;
	box-shadow: 0 8px 22px -10px rgba(var(--c1-rgb), .8);
	animation: vj-post-flow 6s ease-in-out infinite;
}
.vj-side__link--post .vj-i { color: #fff; animation: vj-post-pop 2.4s ease-in-out infinite; }
.vj-side__link--post::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
	transform: skewX(-20deg); animation: vj-post-shine 3.6s ease-in-out infinite;
}
.vj-side__link--post:hover, .vj-side__link--post.is-active { color: #fff; background-position: 100% 0; filter: brightness(1.08); }
.vj-side__link--post.is-active .vj-i { color: #fff; }
@keyframes vj-post-flow { 50% { background-position: 100% 0; } }
@keyframes vj-post-shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes vj-post-pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.22) rotate(90deg); } 90% { transform: scale(1) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) {
	.vj-side__link--post, .vj-side__link--post::after, .vj-side__link--post .vj-i { animation: none; }
}

.vj-live__video { z-index: 1; object-fit: contain; background: transparent; }
.vj-live__img { transition: opacity .4s; }
.vj-slide--live.is-streaming.is-active .vj-live__img { opacity: 0; }

/* The Stripcash player draws its own "LIVE" badge in its top-left corner: the
   iframe is made a little larger than the slide and centred, so its edges
   (badge, controls) fall outside the visible area and only our badge shows. */
.vj-live__frame {
	--crop: 46px;
	z-index: 1; opacity: 0; transition: opacity .5s; background: transparent;
	inset: auto; top: calc(var(--crop) * -1); left: calc(var(--crop) * -1);
	width: calc(100% + var(--crop) * 2); height: calc(100% + var(--crop) * 2); max-width: none; max-height: none;
}
.vj-slide--live.is-streaming .vj-live__frame { opacity: 1; }

/* Studio clips */
.vj-studio { display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 2px 7px; border-radius: 6px; background: var(--grad); color: var(--on-grad, #fff); font: 800 10.5px/1.4 var(--font); letter-spacing: .05em; text-transform: uppercase; text-shadow: none; }
.vj-feat { margin: 0 0 4px; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.vj-feat a { font-weight: 700; color: #fff; }
.vj-feat a:hover { text-decoration: underline; }

.vj-report .vj-act__icon { opacity: .85; }
.vj-report .vj-act__n { font-size: 11px; opacity: .8; }

/* Embeds (Eporner…): our full-size cover until the first tap reaches the host's player */
.vj-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; pointer-events: none; transition: opacity .35s; }
.vj-bigplay--embed { opacity: 1; transform: none; }
.vj-embed-guard { position: absolute; left: 0; right: 0; top: 0; height: 18%; z-index: 3; }
.vj-slide.is-tapped .vj-cover, .vj-slide.is-tapped .vj-bigplay--embed { opacity: 0; }
.vj-slide.is-tapped .vj-embed-guard { display: none; }
.vj-live__ctas .vj-btn { white-space: nowrap; padding-left: 14px; padding-right: 14px; font-size: 14px; gap: 7px; }
.vj-live__ctas .vj-btn--live { flex: 1.3; }

/* Horizontal clips and cams: zoom set in Customizer → Feed (vertical ones untouched) */
.vj-video.is-landscape { object-fit: contain; transform: scale(var(--vj-clip-zoom, 2)); }
.vj-slide--live.is-land .vj-live__img,
.vj-slide--live.is-land .vj-live__video,
.vj-slide--live.is-land .vj-live__frame { transform: scale(var(--vj-live-zoom, 1.6)); }

/* Red skin (Customizer → vjerk → Couleurs) */
:root.vj-skin-red, .vj-skin-red {
	--c1: #ff2d46;
	--c2: #c1002c;
	--c3: #ff5a36;
	--c1-rgb: 255, 45, 70;
	--c2-rgb: 193, 0, 44;
	--bg: #0d0909;
	--bg-2: #120c0d;
	--surface: #1b1214;
	--surface-2: #2a1b1e;
	--muted: #b39ea1;
	--faint: #7a6568;
	/* Re-declared here: values built from other variables are fixed where they are defined. */
	--pink: var(--c1);
	--violet: var(--c2);
	--grad: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
	--line: rgba(255, 235, 235, .08);
}
html:has(body.vj-skin-red) { background: #0d0909; }

/* ---------- Preferences (age gate + sheet) ---------- */
.vj-age__q { margin: 16px 0 10px; font-weight: 700; color: var(--text); }
.vj-prefs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 480px) { .vj-prefs { grid-template-columns: repeat(2, 1fr); } }
.vj-pref {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	min-height: 74px; padding: 10px 6px; border-radius: 12px; border: 2px solid transparent;
	background: var(--surface-2); color: rgba(255, 255, 255, .5); font: 800 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase;
	cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.vj-pref:active { transform: scale(.97); }
.vj-pref__ic svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vj-pref i { position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid rgba(255, 255, 255, .35); }
.vj-pref.is-on { color: #fff; border-color: rgba(255, 255, 255, .5); }
.vj-pref.is-on i { background: #fff; border-color: #fff; }
.vj-pref.is-on i::after { content: ""; position: absolute; left: 4.5px; top: 1px; width: 4px; height: 8px; border: solid #111; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.vj-pref--straight.is-on { background: linear-gradient(135deg, #ff4d73, #e8285a); }
.vj-pref--lesbian.is-on { background: linear-gradient(135deg, #ff6fbf, #e64aa6); }
.vj-pref--gay.is-on { background: linear-gradient(135deg, #4d7cff, #2f5ad8); }
.vj-pref--trans.is-on { background: linear-gradient(135deg, #9a6bff, #6f45e0); }

.vj-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; }
.vj-modal[hidden] { display: none; }
.vj-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vj-modal__panel { position: relative; width: min(520px, 100%); padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); }
.vj-modal__panel h2 { margin: 0 0 14px; font: 900 22px/1.2 var(--display); }
.vj-prefsheet__actions { display: flex; gap: 10px; margin-top: 18px; }
.vj-prefsheet__actions .vj-btn { flex: 1; justify-content: center; }
.vj-chip--prefs { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 10px; cursor: pointer; }
.vj-chip--prefs .vj-i { width: 16px; height: 16px; }
button.vj-side__link { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }

/* ---------- Follow (+ on the avatar) ---------- */
.vj-follow {
	position: relative; z-index: 2; display: grid; place-items: center; width: 22px; height: 22px; padding: 0;
	margin: -66px 0 44px 38px; border: 2px solid #000; border-radius: 50%; background: var(--c1); color: var(--on-grad, #fff); cursor: pointer;
	transition: transform .15s, background .15s;
}
.vj-follow .vj-i { width: 12px; height: 12px; stroke-width: 3; }
.vj-follow__ok { display: none; }
.vj-follow.is-on { background: #fff; color: var(--c1); }
.vj-follow.is-on .vj-follow__plus { display: none; }
.vj-follow.is-on .vj-follow__ok { display: block; }
.vj-follow:active { transform: scale(.85); }

/* 4 feed tabs on small phones: Trending is already in the bottom bar */
.vj-feedtab { white-space: nowrap; }
@media (max-width: 430px) { .vj-feedtabs { gap: 14px; } .vj-feedtab[data-sort-link="trending"] { display: none; } }
@media (max-width: 360px) { .vj-feedtabs { gap: 10px; } .vj-feedtab { font-size: 14px; } }
.vj-playfeed { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 14px; }
.vj-playfeed .vj-i { width: 16px; height: 16px; }

/* ---------- Tag pages: related tags ---------- */
.vj-related { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.vj-related__label { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 2px; }
.vj-pagehead__desc strong { color: var(--text); }

/* ---------- Ads (each in its own frame) ---------- */
.vj-ad-unit { position: relative; flex: none; transform-origin: top center; }
.vj-ad-frame { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.vj-ad-slot { overflow: hidden; }
.vj-card--ad { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; border-radius: 14px; background: rgba(255, 255, 255, .03); }
.vj-card--ad .vj-ad-slot { display: flex; justify-content: center; width: 100%; }

/* ---------- Install the app ---------- */
.vj-install { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 12px; max-width: 480px; margin: 0 auto; padding: 12px 14px; border-radius: 18px; background: rgba(24, 20, 34, .96); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); backdrop-filter: blur(12px); transform: translateY(20px); opacity: 0; transition: transform .3s, opacity .3s; }
.vj-install.is-in { transform: none; opacity: 1; }
.vj-install[hidden] { display: none; }
.vj-install img { border-radius: 11px; flex: none; }
.vj-install__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; color: var(--muted); }
.vj-install__txt strong { color: var(--text); font-size: 15px; }
.vj-install__share { width: 16px; height: 16px; vertical-align: -3px; color: #4aa3ff; }
.vj-install__go { flex: none; padding: 9px 16px; }
.vj-install__x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--muted); cursor: pointer; }
@media (min-width: 1024px) { .vj-install { left: auto; right: 24px; bottom: 24px; } }
.vj-side__link[hidden] { display: none; }

/* ---------- All tags page ---------- */
.vj-tagfind { display: flex; align-items: center; gap: 10px; max-width: 420px; margin-top: 16px; padding: 0 16px; height: 46px; border-radius: 999px; background: var(--surface, rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.08); }
.vj-tagfind .vj-i { width: 18px; height: 18px; color: var(--muted); flex: none; }
.vj-tagfind input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--text); font: inherit; outline: none; }
.vj-tagsec__title { margin: 28px 0 12px; font: 900 22px/1.1 var(--display); letter-spacing: -.01em; }
.vj-tagpop__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .vj-tagpop__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vj-tagpop__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.vj-tagcard { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, rgba(var(--c1-rgb), .45), rgba(var(--c2-rgb), .45)); color: #fff; text-decoration: none; }
.vj-tagcard__img { position: absolute; inset: 0; background: center / cover no-repeat; transition: transform .35s; }
.vj-tagcard:hover .vj-tagcard__img { transform: scale(1.05); }
.vj-tagcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85)); }
.vj-tagcard__txt { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.vj-tagcard__txt strong { font-size: 16px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vj-tagcard__txt small { font-size: 12px; opacity: .8; }
.vj-az { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 26px; padding: 10px 0; background: var(--bg); }
.vj-az a { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 9px; background: rgba(255,255,255,.06); color: var(--text); font-weight: 800; font-size: 14px; text-decoration: none; }
.vj-az a:hover { background: var(--grad); color: var(--on-grad, #fff); }
.vj-tagsec { scroll-margin-top: 70px; }
.vj-taglist { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.vj-taglist a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; }
.vj-taglist a:hover { background: rgba(var(--c1-rgb), .25); }
.vj-taglist a span { font-size: 12px; font-weight: 700; color: var(--muted); }
.vj-tagnone { margin-top: 24px; color: var(--muted); }
.vj-chip--all { background: transparent !important; border: 1px dashed rgba(255,255,255,.25); }
.vj-sheet__alltags { margin-top: 14px; }
.vj-footer__nav--site { margin-bottom: 6px; }

/* Creator pages (/model/…/) and /models/ */
.vj-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.vj-crumbs a { color: var(--muted); }
.vj-crumbs a:hover { color: var(--text); text-decoration: underline; }
.vj-crumbs span:last-child { color: var(--text); font-weight: 600; }
.vj-mhead { display: flex; align-items: center; gap: 18px; }
.vj-mhead__avatar { flex: none; width: 96px; height: 96px; padding: 3px; border-radius: 50%; background: var(--grad); }
.vj-mhead__avatar img, .vj-mhead__avatar > span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); background: var(--surface-2); font: 900 34px/1 var(--display); color: #fff; }
.vj-mhead__body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.vj-mhead__name { font: 900 clamp(26px, 5vw, 38px)/1.05 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.vj-mhead__kw { font: 600 15px/1 var(--font); letter-spacing: 0; color: var(--muted); }
.vj-mhead__handle { margin: 0; color: var(--muted); font-size: 14px; }
.vj-mhead__stats { margin: 0; display: flex; gap: 16px; font-size: 14px; color: var(--muted); }
.vj-mhead__stats strong { color: var(--text); font-weight: 800; }
.vj-mhead__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.vj-mhead__actions .vj-btn { padding-top: 9px; padding-bottom: 9px; font-size: 14px; }
.vj-mhead__actions .vj-i { width: 16px; height: 16px; }
.vj-mhead__on { display: none; }
.vj-mhead__follow.is-on .vj-mhead__on { display: inline-flex; align-items: center; gap: 6px; }
.vj-mhead__follow.is-on .vj-mhead__off { display: none; }
.vj-mhead__off { display: inline-flex; align-items: center; gap: 6px; }
.vj-mhead__follow.is-on { border-color: rgba(var(--c1-rgb), .6); }
@media (max-width: 520px) {
	.vj-mhead { align-items: flex-start; gap: 14px; }
	.vj-mhead__avatar { width: 72px; height: 72px; }
	.vj-mhead__kw { display: block; margin-top: 4px; }
}
.vj-similar { margin-top: 34px; }
.vj-similar__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; margin-top: 12px; }
.vj-similar__list--big { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.vj-similar__item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-align: center; text-decoration: none; transition: border-color .15s, transform .15s; min-width: 0; }
.vj-similar__item:hover { border-color: rgba(var(--c1-rgb), .55); transform: translateY(-2px); }
.vj-similar__img { display: grid; place-items: center; font: 900 26px/1 var(--display); color: #fff; width: 72px; height: 72px; margin-bottom: 4px; border-radius: 50%; background: var(--grad) center / cover no-repeat; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(var(--c2-rgb), .55); }
.vj-similar__item strong { max-width: 100%; font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vj-similar__item small { font-size: 12px; color: var(--muted); }
.vj-similar__all { margin: 14px 0 0; font-size: 14px; }
.vj-similar__all a { color: var(--muted); }
.vj-similar__all a:hover { color: var(--text); }
