/* =========================================================================
   VuePod — tank-wall.css  (Phase 3 Shoppable Tank Wall)
   Real footage + placeholder scenes. Card aspect is a variable so the wall can
   flex to portrait or landscape footage without touching markup.
   ========================================================================= */

.vp-tankwall { --vp-tw-ratio: 3 / 4; }

.vp-tankwall__head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 34px;
}
.vp-tankwall__sub {
	color: var( --vp-text-dim, #aab8d4 );
	margin: 10px 0 0;
}

/* Track: horizontal snap-scroll on mobile, grid on desktop. */
.vp-tankwall__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 76%;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 4px 4px 16px;
	margin: 0 -4px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.vp-tankwall__track::-webkit-scrollbar { display: none; }

@media ( min-width: 720px ) {
	.vp-tankwall__track {
		grid-auto-flow: row;
		grid-template-columns: repeat( 3, 1fr );
		grid-auto-columns: auto;
		gap: 22px;
		overflow: visible;
		margin: 0;
	}
}

/* Card — polaroid: same white frame for every shot, caption strip below. */
.vp-twcard {
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	background: #faf9f6;
	border-radius: 5px;
	padding: 10px 10px 0;
	box-shadow: 0 2px 5px rgba( 2, 6, 23, 0.45 ), 0 22px 48px -20px rgba( 2, 6, 23, 0.85 );
}
.vp-twcard__media {
	position: relative;
	aspect-ratio: var( --vp-tw-ratio, 3 / 4 );
	border-radius: 2px;
	overflow: hidden;
	background: #06122e;
}

/* Live (real footage) */
.vp-twcard__video {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	cursor: pointer;
}
.vp-twcard__video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.vp-twcard__play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate( -50%, -50% );
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 0;
	background: rgba( 6, 18, 48, 0.55 );
	box-shadow: 0 0 0 1px rgba( 255, 255, 255, 0.35 ), 0 10px 30px -8px rgba( 0, 0, 0, 0.6 );
	backdrop-filter: blur( 6px );
	color: #fff;
	font-size: 1.2rem;
	cursor: pointer;
	display: grid;
	place-items: center;
	padding-left: 4px;
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.vp-twcard__play:hover { transform: translate( -50%, -50% ) scale( 1.06 ); }
.vp-twcard.is-playing .vp-twcard__play { opacity: 0; pointer-events: none; }

.vp-twcard__live {
	position: absolute;
	top: 10px;
	right: 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #fff;
	background: rgba( 6, 18, 48, 0.6 );
	backdrop-filter: blur( 6px );
}
.vp-twcard__live i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #34d399;
	box-shadow: 0 0 0 0 rgba( 52, 211, 153, 0.6 );
	animation: vp-tw-pulse 2s infinite;
}
@keyframes vp-tw-pulse {
	0%   { box-shadow: 0 0 0 0 rgba( 52, 211, 153, 0.55 ); }
	70%  { box-shadow: 0 0 0 7px rgba( 52, 211, 153, 0 ); }
	100% { box-shadow: 0 0 0 0 rgba( 52, 211, 153, 0 ); }
}

/* Placeholder (no footage yet) */
.vp-twcard__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 16px;
}
.vp-twcard__soon {
	font-size: 0.78rem;
	color: var( --vp-text-dim, #aab8d4 );
	background: rgba( 6, 18, 48, 0.55 );
	border: 1px solid var( --vp-border-soft, rgba( 255, 255, 255, 0.08 ) );
	padding: 5px 12px;
	border-radius: 999px;
	backdrop-filter: blur( 4px );
}

/* Caption strip (inside the white frame, like ink on a polaroid) */
.vp-twcard__body {
	padding: 11px 4px 13px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-height: 58px;
}
.vp-twcard__title {
	margin: 0;
	font-family: var( --vp-font-display, sans-serif );
	font-weight: 600;
	font-size: 0.94rem;
	color: #1c2434;
	line-height: 1.3;
}
.vp-twcard__cat {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a92a6;
}
.vp-btn--sm {
	padding: 9px 18px;
	font-size: 0.86rem;
	align-self: flex-start;
}

/* Submit-your-tank entry point under the wall */
.vp-tankwall__cta {
	margin: clamp( 28px, 4vw, 40px ) 0 0;
	text-align: center;
	color: var( --vp-text-dim, #aab8d4 );
}
/* Sub-line link only — keep the primary button's own (dark) text colour. */
.vp-tankwall__cta-sub { margin: 16px 0 0; color: var( --vp-text-dim, #aab8d4 ); }
.vp-tankwall__cta-sub a {
	color: var( --vp-sky, #7dd3fc );
	font-weight: 600;
}
.vp-tankwall__cta-sub a:hover { color: #fff; }

/* Photo-only card (featured UGC stills) */
.vp-twcard__photo {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

/* ---- Scatter board (desktop) -------------------------------------------
   JS turns the track into a free-form pinboard: polaroids land scattered and
   rotated, the visitor drags them around, and the toolbar tidies/shuffles. */
.vp-tankwall__tools {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 0 0 26px;
}
.vp-tankwall__tools[hidden] { display: none; }

.vp-tankwall__track.is-board {
	display: block;
	position: relative;
	overflow: visible;
	padding: 0;
	margin: 0;
}
.vp-tankwall__track.is-board .vp-twcard {
	position: absolute;
	width: 260px;
	margin: 0;
	transform: rotate( var( --vp-rot, 0deg ) );
	transition: left 0.55s cubic-bezier( 0.22, 0.8, 0.3, 1 ),
		top 0.55s cubic-bezier( 0.22, 0.8, 0.3, 1 ),
		transform 0.55s cubic-bezier( 0.22, 0.8, 0.3, 1 ),
		box-shadow 0.25s ease;
	cursor: grab;
	touch-action: none;
	user-select: none;
}
.vp-tankwall__track.is-board .vp-twcard:hover {
	box-shadow: 0 4px 10px rgba( 2, 6, 23, 0.5 ), 0 34px 70px -22px rgba( 2, 6, 23, 0.95 );
}
.vp-tankwall__track.is-board .vp-twcard.is-dragging {
	transition: none;
	cursor: grabbing;
	box-shadow: 0 6px 14px rgba( 2, 6, 23, 0.55 ), 0 44px 90px -24px rgba( 2, 6, 23, 1 );
}
.vp-tankwall__track.is-board .vp-twcard img,
.vp-tankwall__track.is-board .vp-twcard video { pointer-events: none; }

/* ---- Homepage teaser (featured handful) ----------------------------------
   On desktop pointer devices the homepage section runs the same scatter board
   as /tank-wall/ (the track gets .is-board via JS). The tidy lightly-tilted
   grid below is the fallback when the board is off (touch / narrow screens /
   no JS) — scoped with :not(.is-board) so it never fights the board. */
@media ( min-width: 720px ) {
	.vp-tankwall--home .vp-tankwall__track {
		max-width: 920px;
		margin-inline: auto;
	}
	.vp-tankwall--home .vp-tankwall__track:not( .is-board ) {
		grid-template-columns: repeat( 3, 1fr );
		gap: 26px 28px;
	}
	.vp-tankwall--home .vp-tankwall__track:not( .is-board ) .vp-twcard {
		transition: transform 0.3s ease, box-shadow 0.3s ease;
	}
	.vp-tankwall--home .vp-tankwall__track:not( .is-board ) .vp-twcard:nth-child( 3n + 1 ) { transform: rotate( -1.3deg ); }
	.vp-tankwall--home .vp-tankwall__track:not( .is-board ) .vp-twcard:nth-child( 3n + 2 ) { transform: rotate( 0.7deg ); }
	.vp-tankwall--home .vp-tankwall__track:not( .is-board ) .vp-twcard:nth-child( 3n + 3 ) { transform: rotate( -0.5deg ); }
	.vp-tankwall--home .vp-tankwall__track:not( .is-board ) .vp-twcard:hover {
		transform: rotate( 0deg ) translateY( -5px );
		box-shadow: 0 4px 10px rgba( 2, 6, 23, 0.5 ), 0 34px 70px -22px rgba( 2, 6, 23, 0.95 );
	}
}

/* "See the full wall" row under the homepage teaser */
.vp-tankwall__more {
	margin: clamp( 30px, 4vw, 46px ) 0 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}
.vp-tankwall__share {
	color: var( --vp-text-dim, #aab8d4 );
	font-weight: 500;
}
.vp-tankwall__share:hover { color: #fff; }

/* ---- Full /tank-wall/ page ---------------------------------------------- */
.vp-tankwall--full .vp-tankwall__head { max-width: 680px; }
.vp-tankwall__empty {
	text-align: center;
	color: var( --vp-text-dim, #aab8d4 );
	margin: 32px 0;
}
.vp-tankwall__empty a {
	color: var( --vp-sky, #7dd3fc );
	font-weight: 600;
}
.vp-tankwall__empty a:hover { color: #fff; }

/* =========================================================================
   Round 29 — community wall (likes, comments, search, lightbox)
   ========================================================================= */

/* Card footer: category + counts share one row inside the polaroid frame. */
.vp-twcard__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-width: 0;
}
.vp-twcard__counts {
	display: inline-flex;
	gap: 10px;
	font-size: 0.78rem;
	font-weight: 600;
	color: #8a92a6;
	white-space: nowrap;
}
.vp-twcard.is-liked [data-vp-like-count] { color: #e11d48; }

/* Community grid (v2 full page): Instagram-style square tiles — dense rows
   (3 on phones → 8 on desktop), no polaroid frame, one-line caption below. */
.vp-tankwall--community .vp-tankwall__track {
	grid-auto-flow: row;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	grid-auto-columns: auto;
	gap: 6px;
	overflow: visible;
	scroll-snap-type: none;
	padding: 0;
	margin: 0;
}
.vp-tankwall--community .vp-twcard {
	cursor: pointer;
	background: transparent;
	padding: 0;
	box-shadow: none;
	border-radius: 8px;
	transition: transform 0.2s ease;
}
.vp-tankwall--community .vp-twcard:hover { transform: translateY( -2px ); }
.vp-tankwall--community .vp-twcard__media {
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	background: #0a1730;
}
.vp-tankwall--community .vp-twcard__body {
	padding: 6px 2px 10px;
	min-height: 0;
	gap: 2px;
}
.vp-tankwall--community .vp-twcard__title {
	font-size: 0.74rem;
	font-weight: 500;
	color: #dbe4f5;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.35;
}
.vp-tankwall--community .vp-twcard__cat { display: none; }
.vp-tankwall--community .vp-twcard__live { display: none; }
.vp-tankwall--community .vp-twcard__foot { justify-content: flex-start; }
.vp-tankwall--community .vp-twcard__counts { font-size: 0.7rem; gap: 8px; color: #8fa3c8; }
.vp-tankwall--community .vp-twcard__count { cursor: pointer; transition: color 0.2s ease; }
.vp-tankwall--community .vp-twcard__count:hover { color: #e11d48; }
.vp-tankwall--community .vp-twcard__play {
	width: 34px;
	height: 34px;
	font-size: 0.8rem;
	padding-left: 3px;
}
@media ( min-width: 560px ) {
	.vp-tankwall--community .vp-tankwall__track { grid-template-columns: repeat( 4, minmax( 0, 1fr ) ); gap: 8px; }
}
@media ( min-width: 820px ) {
	.vp-tankwall--community .vp-tankwall__track { grid-template-columns: repeat( 6, minmax( 0, 1fr ) ); }
}
@media ( min-width: 1100px ) {
	.vp-tankwall--community .vp-tankwall__track { grid-template-columns: repeat( 8, minmax( 0, 1fr ) ); }
}

/* Share CTA under the page head */
.vp-tankwall__share-cta {
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}
.vp-tankwall__reward {
	margin: 0;
	font-size: 0.88rem;
	color: var( --vp-sky, #7dd3fc );
}

/* Toolbar — two clean rows, no wrapping: search + sort on top, category
   chips on their own single line (horizontal scroll when narrow). */
.vp-twbar {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		'search sort'
		'chips  chips';
	gap: 12px 10px;
	margin: 0 0 22px;
	min-width: 0;
}
.vp-twbar__search { grid-area: search; }
.vp-twbar__sort { grid-area: sort; width: auto; }
.vp-twbar__chips { grid-area: chips; }
.vp-twbar__search,
.vp-twbar__sort {
	background: rgba( 6, 18, 48, 0.6 );
	border: 1px solid var( --vp-border-soft, rgba( 255, 255, 255, 0.12 ) );
	border-radius: 999px;
	color: #fff;
	padding: 10px 18px;
	font-size: 0.9rem;
	width: 100%;
}
.vp-twbar__search::placeholder { color: var( --vp-text-dim, #aab8d4 ); }
.vp-twbar__search:focus,
.vp-twbar__sort:focus { outline: 2px solid var( --vp-sky, #7dd3fc ); outline-offset: 1px; }
.vp-twbar__sort option { color: #1c2434; background: #fff; }
.vp-twbar__chips {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	min-width: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 2px;
}
.vp-twbar__chips::-webkit-scrollbar { display: none; }
.vp-twbar__chip { flex: 0 0 auto; white-space: nowrap; }
.vp-twbar__chip {
	background: transparent;
	border: 1px solid var( --vp-border-soft, rgba( 255, 255, 255, 0.14 ) );
	border-radius: 999px;
	color: var( --vp-text-dim, #aab8d4 );
	padding: 7px 14px;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.vp-twbar__chip:hover { color: #fff; }
.vp-twbar__chip.is-active {
	color: #03182e;
	background: var( --vp-sky, #7dd3fc );
	border-color: var( --vp-sky, #7dd3fc );
}
@media ( min-width: 769px ) {
	.vp-twbar__search { max-width: 420px; }
}

/* Lightbox + Share modal shells */
.vp-lb {
	position: fixed;
	inset: 0;
	z-index: 120;
	background: rgba( 2, 8, 23, 0.8 );
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.vp-lb[hidden] { display: none; }
body.vp-lb-open { overflow: hidden; }
.vp-lb__panel {
	position: relative;
	width: 100%;
	max-width: 900px;
	max-height: 92vh;
	overflow-y: auto;
	background: #0b1830;
	border: 1px solid var( --vp-border-soft, rgba( 255, 255, 255, 0.1 ) );
	border-radius: 16px;
	display: grid;
	grid-template-columns: 1fr;
}
.vp-lb__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba( 6, 18, 48, 0.75 );
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
}
.vp-lb__media {
	background: #020617;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 220px;
}
.vp-lb__media img,
.vp-lb__media video {
	width: 100%;
	max-height: 46vh;
	object-fit: contain;
	display: block;
}
.vp-lb__side {
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}
.vp-lb__title {
	margin: 0;
	font-family: var( --vp-font-display, sans-serif );
	font-weight: 600;
	color: #fff;
	font-size: 1.02rem;
	line-height: 1.35;
}
.vp-lb__tag {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var( --vp-text-dim, #aab8d4 );
}
.vp-lb__like {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: transparent;
	border: 1px solid var( --vp-border-soft, rgba( 255, 255, 255, 0.16 ) );
	border-radius: 999px;
	color: #fff;
	padding: 6px 13px;
	font-size: 0.86rem;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.vp-lb__like:hover,
.vp-lb__like.is-liked { color: #fb7185; border-color: #fb7185; }
.vp-lb__like small { font-weight: 500; color: var( --vp-text-dim, #aab8d4 ); }
.vp-lb__comments {
	flex: 1;
	overflow-y: auto;
	max-height: 200px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-right: 4px;
}
.vp-lb__comment p { margin: 3px 0 0; color: #dbe4f5; font-size: 0.9rem; line-height: 1.45; overflow-wrap: anywhere; }
.vp-lb__cname { font-weight: 700; color: #fff; font-size: 0.88rem; }
.vp-lb__cwhen { color: var( --vp-text-dim, #aab8d4 ); font-size: 0.76rem; margin-left: 6px; }
.vp-lb__none { color: var( --vp-text-dim, #aab8d4 ); font-size: 0.9rem; margin: 0; }
.vp-lb__form { display: flex; flex-direction: column; gap: 8px; }
.vp-lb__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 0; }
.vp-lb__form input[type="text"],
.vp-lb__form input[type="email"],
.vp-lb__form textarea {
	background: rgba( 6, 18, 48, 0.6 );
	border: 1px solid var( --vp-border-soft, rgba( 255, 255, 255, 0.12 ) );
	border-radius: 10px;
	color: #fff;
	padding: 9px 12px;
	font-size: 0.88rem;
	width: 100%;
	min-width: 0;
}
.vp-lb__form textarea { resize: vertical; }
.vp-lb__form ::placeholder { color: var( --vp-text-dim, #aab8d4 ); }
.vp-lb__form .vp-btn--sm { align-self: flex-start; }
.vp-lb__msg { margin: 0; font-size: 0.85rem; color: #34d399; min-height: 1.2em; }
.vp-lb__msg.is-error { color: #fb7185; }
.vp-lb__note { margin: 0; font-size: 0.76rem; color: var( --vp-text-dim, #aab8d4 ); }
@media ( min-width: 769px ) {
	.vp-lb__panel { grid-template-columns: 1.25fr 1fr; max-height: 86vh; }
	.vp-lb__media img,
	.vp-lb__media video { max-height: 86vh; }
	.vp-lb__comments { max-height: none; }
}

/* Share modal variant: single column, the UGC form drops in. */
.vp-lb__panel--share {
	max-width: 640px;
	grid-template-columns: 1fr;
	padding: 26px 22px;
}
.vp-lb__share-title {
	margin: 0 0 6px;
	font-family: var( --vp-font-display, sans-serif );
	color: #fff;
	font-size: 1.3rem;
}
.vp-lb__share-sub { margin: 0 0 16px; color: var( --vp-text-dim, #aab8d4 ); font-size: 0.92rem; }

/* Submission toast (?ugc=success) */
.vp-toast {
	position: fixed;
	left: 50%;
	bottom: 26px;
	transform: translateX( -50% );
	z-index: 130;
	background: #0ea5e9;
	color: #03182e;
	font-weight: 600;
	padding: 12px 22px;
	border-radius: 999px;
	box-shadow: 0 14px 40px -12px rgba( 2, 6, 23, 0.9 );
	max-width: calc( 100vw - 32px );
	text-align: center;
}
.vp-toast[hidden] { display: none; }


/* Pager (R30): numbered pages under the community grid */
.vp-twpager {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	margin: 22px 0 0;
}
.vp-twpager[hidden] { display: none; }
.vp-twpager__btn {
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: 10px;
	border: 1px solid var( --vp-border-soft, rgba( 255, 255, 255, 0.14 ) );
	background: transparent;
	color: var( --vp-text-dim, #aab8d4 );
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.vp-twpager__btn:hover:not( :disabled ) { color: #fff; border-color: rgba( 125, 211, 252, 0.5 ); }
.vp-twpager__btn.is-current {
	background: var( --vp-sky, #7dd3fc );
	border-color: var( --vp-sky, #7dd3fc );
	color: #03182e;
}
.vp-twpager__btn:disabled { opacity: 0.35; cursor: default; }


/* R31: error variant of the submit toast */
.vp-toast--error {
	background: #7f1d1d;
	border-color: rgba( 252, 165, 165, 0.4 );
	color: #fee2e2;
}


/* R31b: Xiaohongshu-style actions row, threaded replies, upload feedback */
/* One tidy row — icon + count + short label, never wrapping (Jed, R32i). */
.vp-lb__actions { display: flex; gap: 8px; flex-wrap: nowrap; align-items: center; }
.vp-lb__actions .vp-lb__like { flex: 0 0 auto; min-width: 0; }
.vp-lb__save.is-saved { border-color: #fbbf24; color: #fbbf24; }
.vp-lb__sharemsg { color: #7dd3fc; font-size: 0.8rem; margin: 6px 0 0; }
.vp-lb__sharemsg[hidden] { display: none; }
.vp-lb__replying { font-size: 0.8rem; color: #8fa3c8; margin: 0 0 6px; }
.vp-lb__replying a { color: #7dd3fc; }
.vp-lb__replying[hidden] { display: none; }
.vp-lb__comment--reply {
	margin: 8px 0 0 16px;
	padding-left: 10px;
	border-left: 2px solid rgba( 255, 255, 255, 0.1 );
}
.vp-lb__reply,
.vp-lb__more {
	display: inline-block;
	font-size: 0.74rem;
	color: #8fa3c8;
	margin-top: 2px;
	text-decoration: none;
}
.vp-lb__reply:hover,
.vp-lb__more:hover { color: #7dd3fc; }
.vp-lb__more { display: block; margin: 4px 0 0 16px; }
.vp-ugc__filemsg { display: block; font-size: 0.78rem; color: #8fa3c8; margin-top: 4px; min-height: 1em; }
.vp-ugc__filemsg.is-error { color: #fca5a5; }


/* R32: series stack badge + lightbox carousel */
.vp-twcard__stack {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba( 6, 18, 48, 0.65 );
	color: #fff;
	font-size: 0.7rem;
	font-weight: 600;
	backdrop-filter: blur( 4px );
}
.vp-lb__stage {
	position: relative;
	display: flex;
	flex-direction: column; /* media on top, prev/next row underneath (Jed, R32j) */
	min-width: 0;
	background: #020617;
}
.vp-lb__stage .vp-lb__media { flex: 1; width: 100%; min-height: 0; }
.vp-lb__nav {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 0;
	background: rgba( 6, 18, 48, 0.6 );
	color: #fff;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	z-index: 3;
	display: grid;
	place-items: center;
	transition: background 0.2s ease;
}
.vp-lb__nav--prev { left: 10px; }
.vp-lb__nav--next { right: 10px; }
.vp-lb__nav:hover { background: rgba( 6, 18, 48, 0.9 ); }
.vp-lb__nav[hidden] { display: none; }
.vp-lb__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	display: flex;
	justify-content: center;
	gap: 6px;
	z-index: 3;
}
.vp-lb__dots[hidden] { display: none; }
.vp-lb__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba( 255, 255, 255, 0.45 );
	cursor: pointer;
}
.vp-lb__dot.is-on { background: #7dd3fc; }


/* R32c: desktop lightbox = media + title pinned, ONLY the comment list
   scrolls (Xiaohongshu behaviour). Phones keep whole-panel scrolling. */
@media ( min-width: 769px ) {
	.vp-lb__panel {
		overflow: hidden;
		height: 86vh;
	}
	.vp-lb__stage { max-height: 86vh; }
	.vp-lb__side {
		max-height: 86vh;
		min-height: 0;
		overflow: hidden;
	}
	.vp-lb__comments {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		padding-right: 6px;
		scrollbar-width: thin;
	}
	.vp-lb__form { flex: 0 0 auto; }
}


/* R32e: refined carousel arrows (glass ring + crisp SVG chevron) */
.vp-lb__nav {
	width: 34px;
	height: 34px;
	font-size: 0;
	background: rgba( 8, 20, 45, 0.42 );
	border: 1px solid rgba( 255, 255, 255, 0.28 );
	backdrop-filter: blur( 5px );
	color: #fff;
	opacity: 0.72;
	transition: opacity 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.vp-lb__nav svg { display: block; }
.vp-lb__nav:hover {
	opacity: 1;
	background: rgba( 8, 20, 45, 0.75 );
	transform: translateY( -50% ) scale( 1.06 );
}

/* R32e: play affordance reads as PLAY, not a loading spinner — classic
   white disc + dark triangle, sized down. */
.vp-twcard__play {
	width: 42px;
	height: 42px;
	background: rgba( 255, 255, 255, 0.92 );
	color: #0b1830;
	font-size: 0.95rem;
	box-shadow: 0 4px 16px -4px rgba( 0, 0, 0, 0.55 );
	backdrop-filter: none;
	padding-left: 4px;
}
.vp-twcard__play:hover {
	background: #fff;
	transform: translate( -50%, -50% ) scale( 1.08 );
}
.vp-tankwall--community .vp-twcard__play {
	width: 30px;
	height: 30px;
	font-size: 0.68rem;
	padding-left: 3px;
}


/* R32j: whole-tank prev/next sit as a tidy row directly UNDER the media
   (Jed: "放在左边图片下面"), so they're always visible and obvious. */
.vp-lb__cardnav {
	flex: 0 0 auto;
	display: flex;
	gap: 10px;
	justify-content: center;
	padding: 10px 12px 14px;
}
.vp-lb__cardnav[hidden] { display: none; }
.vp-lb__cardnav-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba( 255, 255, 255, 0.08 );
	border: 1px solid rgba( 255, 255, 255, 0.22 );
	border-radius: 999px;
	color: #fff;
	padding: 8px 16px;
	font-size: 0.84rem;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.vp-lb__cardnav-btn:hover {
	background: rgba( 125, 211, 252, 0.18 );
	border-color: rgba( 125, 211, 252, 0.6 );
}

/* R32h: collapsing comment input — a slim "Say something nice…" bar that
   reveals name/email + button only when focused, so the comment list gets
   the room (Xiaohongshu-style). */
.vp-lb__form .vp-lb__row {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	margin: 0;
	transition: max-height 0.22s ease, opacity 0.18s ease;
}
.vp-lb__form.is-active .vp-lb__row {
	max-height: 60px;
	opacity: 1;
}
.vp-lb__form textarea { min-height: 42px; }
.vp-lb__form.is-active textarea { min-height: 58px; }
.vp-lb__form .vp-btn--sm,
.vp-lb__note { display: none; }
.vp-lb__form.is-active .vp-btn--sm { display: inline-flex; }
.vp-lb__form.is-active .vp-lb__note { display: block; }


/* =========================================================================
   R32g — refined icons
   The carousel arrows were rendering as a washed-out oval (0.72 opacity,
   non-square box) which read as "unfinished / ugly". Force a crisp, perfect
   circle at full opacity with a clean chevron. High-specificity + border-box
   so nothing upstream can stretch it back into an oval.
   ========================================================================= */
.vp-lb .vp-lb__nav {
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	min-width: 0;
	padding: 0;
	border-radius: 50%;
	background: rgba( 6, 15, 34, 0.5 );
	border: 1px solid rgba( 255, 255, 255, 0.45 );
	backdrop-filter: blur( 8px );
	-webkit-backdrop-filter: blur( 8px );
	color: #fff;
	opacity: 1;
	box-shadow: 0 3px 12px -2px rgba( 0, 0, 0, 0.5 );
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.vp-lb .vp-lb__nav svg {
	width: 17px;
	height: 17px;
	display: block;
}
.vp-lb .vp-lb__nav--prev svg { margin-right: 1px; }
.vp-lb .vp-lb__nav--next svg { margin-left: 1px; }
.vp-lb .vp-lb__nav:hover {
	background: rgba( 6, 15, 34, 0.82 );
	border-color: rgba( 255, 255, 255, 0.78 );
	transform: translateY( -50% ) scale( 1.08 );
}

/* Card play affordance — crisp SVG triangle centred on the white disc. */
.vp-twcard__play {
	padding-left: 0;
	display: grid;
	place-items: center;
}
.vp-twcard__play svg {
	width: 44%;
	height: 44%;
	display: block;
	margin-left: 7%; /* optical centring of a triangle */
}

/* display:grid above would override the UA [hidden]{display:none}; restore it
   so single-media cards keep the arrows hidden. */
.vp-lb .vp-lb__nav[hidden] { display: none; }


/* R32k: play triangle was collapsing to ~3px — a percentage width on an SVG
   inside a grid-centered fixed button doesn't resolve. Pin it in px so it
   reads as an unmistakable PLAY triangle (not a loading spinner). */
/* ROOT CAUSE: the theme's global `button { padding: 10px 20px }` leaks in —
   zeroing only padding-left left 20px on the right + 10px top/bottom, which
   squished the icon left and shrank it. Zero ALL padding + flex-centre. */
.vp-twcard__play { padding: 0; display: flex; align-items: center; justify-content: center; }
.vp-twcard__play svg { width: 17px; height: 17px; display: block; flex: 0 0 auto; margin: 0; }
.vp-tankwall--community .vp-twcard__play { padding: 0; }
.vp-tankwall--community .vp-twcard__play svg { width: 12px; height: 12px; }

/* R32l: "sign in to save" nudge — Save needs an account (a personal collection),
   unlike an anonymous Like counter. */
.vp-lb__savemsg a { color: #7dd3fc; font-weight: 600; text-decoration: none; }
.vp-lb__savemsg a:hover { color: #fff; text-decoration: underline; }

/* =========================================================================
   R32n — modal stacking + share-modal layout
   The theme wraps content in `.vp-page { position:relative; z-index:1 }`,
   which traps every overlay inside it BELOW the sticky header (a z-index:40
   sibling of .vp-page). That's why the header rendered on top of the modal
   title. While any lightbox/share modal is open, lift .vp-page above the
   header so overlays cover it. (Fixes the card lightbox too.)
   ========================================================================= */
body.vp-lb-open .vp-page { z-index: 200; }

/* Share form is tall — pin it to the top and let the overlay scroll, so the
   top of the form is always reachable (never centred off-screen). */
.vp-lb--share { align-items: flex-start; }
.vp-lb--share .vp-lb__panel--share { margin: 8px auto; }
@media ( max-width: 560px ) {
	.vp-lb--share { padding: 8px; }
	.vp-lb__panel--share { padding: 20px 16px; }
	/* stack the two-up rows so fields aren't cramped on phones */
	.vp-lb__panel--share .vp-ugc__grid { grid-template-columns: 1fr; }

	/* Like / Save / Share read as filled chips on phones so they stand out
	   against the dark panel (desktop keeps the lighter outline look). */
	.vp-lb__actions .vp-lb__like {
		background: rgba( 125, 211, 252, 0.16 );
		border-color: rgba( 125, 211, 252, 0.55 );
		padding: 9px 15px;
	}
	.vp-lb__actions .vp-lb__like:active { background: rgba( 125, 211, 252, 0.28 ); }
	.vp-lb__actions .vp-lb__like.is-liked {
		background: rgba( 251, 113, 133, 0.20 );
		border-color: #fb7185;
	}
	.vp-lb__actions .vp-lb__save.is-saved {
		background: rgba( 251, 191, 36, 0.20 );
		border-color: #fbbf24;
	}
}

/* R32o: native <select> options paint on a WHITE OS popup, but they inherit
   the field's light (#EAF2FF) colour → invisible. Force dark option text on
   white so the dropdown list is readable. (Closed field keeps light-on-dark:
   browsers render the closed value with the <select>'s own colour.) */
.vp-lb--share select option,
.vp-ugc__field select option { color: #14213a; background: #ffffff; }
