.shorts-page {
	padding: 54px 0 72px;
}

.shorts-page__header,
.shorts-model-profile,
.shorts-feed,
.shorts-empty,
.shorts-notice,
.shorts-pagination,
.shorts-single__article,
.shorts-single__comments {
	margin-left: auto;
	margin-right: auto;
	max-width: 860px;
}

.shorts-page__header {
	margin-bottom: 32px;
	text-align: center;
}

.shorts-page__title,
.shorts-single__title {
	color: #333;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin: 0;
}

.shorts-page__description {
	font-size: 15px;
	line-height: 1.7;
	margin-top: 12px;
}

.shorts-search-results__count {
	margin: 10px 0 0;
}

.shorts-search-results__form {
	margin: 18px auto 0;
	max-width: 620px;
}

.shorts-search-results__form .shorts-search-form {
	display: flex;
	gap: 8px;
}

.shorts-search-results__form .shorts-search-form label {
	flex: 1 1 auto;
	margin: 0;
}

.shorts-search-results__form .search-field {
	border: 1px solid var(--border-light-color, #e1e1e1);
	border-radius: 5px;
	min-height: 44px;
	padding: 9px 12px;
	width: 100%;
}

.shorts-search-results__form .search-submit {
	background: var(--primary-color, #eb3349);
	border: 0;
	border-radius: 5px;
	color: #fff;
	min-height: 44px;
	padding: 9px 18px;
}

.shorts-feed {
	display: grid;
	gap: 32px;
}

.shorts-feed-item,
.shorts-single__article,
.shorts-model-profile,
.shorts-empty,
.shorts-notice {
	background: #fff;
	border: 1px solid var(--border-light-color, #e1e1e1);
	border-radius: 8px;
}

.shorts-feed-item,
.shorts-single__article {
	overflow: hidden;
}

.shorts-feed-item__header,
.shorts-single__header {
	padding: 24px 28px 20px;
}

.shorts-feed-item__title {
	font-size: 26px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}

.shorts-feed-item__title a {
	color: #333;
}

.shorts-feed-item__title a:hover {
	color: var(--primary-color, #eb3349);
}

.shorts-single__eyebrow,
.shorts-model-profile__eyebrow {
	color: var(--primary-color, #eb3349);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.shorts-single__title {
	font-size: 34px;
	line-height: 1.25;
}

.shorts-video {
	background: #111;
	margin: 0;
	text-align: center;
}

.shorts-video__media,
.shorts-video__poster {
	display: block;
	margin: 0 auto;
	max-height: 720px;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}

.shorts-video__media {
	aspect-ratio: 9 / 16;
	background: #111;
}

.shorts-video__poster {
	height: auto;
}

.shorts-video__source-link,
.shorts-video--unavailable figcaption {
	background: #1d1d1d;
	color: #ccc;
	font-size: 13px;
	padding: 10px 16px;
}

.shorts-video__source-link a {
	color: #fff;
	text-decoration: underline;
}

.shorts-video__empty {
	align-items: center;
	color: #bbb;
	display: flex;
	flex-direction: column;
	font-size: 15px;
	gap: 10px;
	justify-content: center;
	min-height: 260px;
	padding: 40px 20px;
}

.shorts-video__empty .icon {
	font-size: 42px;
}

.shorts-meta {
	border-bottom: 1px solid var(--border-light-color, #e1e1e1);
	display: flex;
	flex-wrap: wrap;
	gap: 14px 20px;
	padding: 20px 28px;
}

.shorts-meta__group {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.shorts-meta__models {
	flex-basis: 100%;
}

.shorts-meta__label {
	color: #777;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.shorts-model {
	align-items: center;
	color: #333;
	display: inline-flex;
	font-weight: 600;
	gap: 8px;
}

.shorts-model__avatar,
.shorts-model-profile__avatar {
	background: #eee;
	border-radius: 50%;
	display: block;
	object-fit: cover;
}

.shorts-model__avatar {
	height: 40px;
	width: 40px;
}

.shorts-model__avatar--fallback,
.shorts-model-profile__avatar--fallback {
	background: linear-gradient(135deg, var(--primary-color, #eb3349), var(--secondary-color, #f45c43));
}

.shorts-term-badge,
.shorts-tag,
.shorts-duration {
	border-radius: 999px;
	display: inline-flex;
	font-size: 12px;
	line-height: 1.2;
	padding: 6px 10px;
}

.shorts-term-badge {
	background: var(--primary-color, #eb3349);
	color: #fff;
}

.shorts-term-badge:hover {
	color: #fff;
	opacity: 0.88;
}

.shorts-tag,
.shorts-duration {
	background: #f1f1f1;
	color: #555;
}

.shorts-duration {
	align-items: center;
	gap: 5px;
}

.shorts-feed-item__summary,
.shorts-single__content {
	font-size: 15px;
	line-height: 1.75;
	margin: 0;
	padding: 22px 28px;
}

.shorts-single__content > :last-child {
	margin-bottom: 0;
}

.shorts-feed-item__footer {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
	padding: 0 28px 24px;
}

.shorts-feed-item__comments {
	color: #777;
	font-size: 13px;
}

.shorts-pagination {
	margin-top: 38px;
}

.shorts-pagination .nav-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.shorts-pagination .page-numbers {
	border: 1px solid var(--border-light-color, #e1e1e1);
	border-radius: 4px;
	display: inline-block;
	padding: 8px 12px;
}

.shorts-pagination .page-numbers.current {
	background: var(--primary-color, #eb3349);
	border-color: var(--primary-color, #eb3349);
	color: #fff;
}

.shorts-empty,
.shorts-notice {
	padding: 34px;
	text-align: center;
}

.shorts-empty h2 {
	font-size: 24px;
	margin: 0 0 8px;
}

.shorts-empty p,
.shorts-notice {
	margin-bottom: 0;
}

.shorts-model-profile {
	align-items: center;
	display: flex;
	gap: 24px;
	margin-bottom: 32px;
	padding: 28px;
}

.shorts-model-profile__avatar {
	flex: 0 0 112px;
	height: 112px;
	width: 112px;
}

.shorts-model-profile__body {
	min-width: 0;
}

.shorts-model-profile .shorts-page__description {
	margin-bottom: 0;
}

.shorts-single__comments {
	margin-top: 34px;
}

.shorts-page a:focus-visible,
.shorts-page video:focus-visible {
	outline: 3px solid var(--primary-color, #eb3349);
	outline-offset: 3px;
}

body.text-ui-light .shorts-feed-item,
body.text-ui-light .shorts-single__article,
body.text-ui-light .shorts-model-profile,
body.text-ui-light .shorts-empty,
body.text-ui-light .shorts-notice {
	background: #303030;
	border-color: #4d4d4d;
}

body.text-ui-light .shorts-feed-item__title a,
body.text-ui-light .shorts-model,
body.text-ui-light .shorts-tag,
body.text-ui-light .shorts-duration {
	color: #eee;
}

body.text-ui-light .shorts-tag,
body.text-ui-light .shorts-duration {
	background: #444;
}

body.text-ui-light .shorts-meta {
	border-color: #4d4d4d;
}

@media (max-width: 767px) {
	.shorts-page {
		padding: 34px 0 50px;
	}

	.shorts-feed {
		gap: 22px;
	}

	.shorts-feed-item__header,
	.shorts-single__header,
	.shorts-meta,
	.shorts-feed-item__summary,
	.shorts-single__content,
	.shorts-feed-item__footer {
		padding-left: 18px;
		padding-right: 18px;
	}

	.shorts-feed-item__title {
		font-size: 22px;
	}

	.shorts-single__title {
		font-size: 28px;
	}

	.shorts-model-profile {
		align-items: flex-start;
		gap: 16px;
		padding: 20px;
	}

	.shorts-model-profile__avatar {
		flex-basis: 76px;
		height: 76px;
		width: 76px;
	}
}

/* Vertical feed shell: scoped so conventional pages and the single are unchanged. */
.shorts-feed-route .shorts-page {
	padding: 28px 0 48px;
}

.shorts-feed-route .shorts-page > .container {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	width: 100%;
}

.shorts-feed-route .shorts-page__header,
.shorts-feed-route .shorts-model-profile,
.shorts-feed-route .shorts-empty,
.shorts-feed-route .shorts-notice,
.shorts-feed-route .shorts-pagination {
	max-width: 860px;
}

.shorts-feed-route .shorts-page__header,
.shorts-feed-route .shorts-model-profile {
	margin-bottom: 24px;
}

.shorts-feed-route .shorts-feed {
	--shorts-header-height: 0px;
	--shorts-viewport-height: 100vh;
	--shorts-feed-height: calc(var(--shorts-viewport-height) - var(--shorts-header-height));
	background: #111;
	display: block;
	height: var(--shorts-feed-height);
	max-width: none;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior-y: auto;
	scroll-snap-type: y mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.shorts-feed-route .shorts-feed::-webkit-scrollbar {
	display: none;
}

@supports (height: 100dvh) {
	.shorts-feed-route .shorts-feed {
		--shorts-viewport-height: 100dvh;
	}
}

/* Feed item and media stage. Layer order: media 0, shade 1, content 2, controls 3, feedback 4. */
.shorts-feed-route .shorts-feed-item {
	background: #111;
	border: 0;
	border-radius: 0;
	height: 100%;
	margin: 0;
	min-height: 100%;
	overflow: hidden;
	position: relative;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.shorts-feed-route .shorts-feed-item__stage {
	background: #111;
	height: 100%;
	margin: 0 auto;
	max-width: 1100px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.shorts-feed-route .shorts-feed-item__stage::after {
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.86) 0%,
		rgba(0, 0, 0, 0.54) 28%,
		rgba(0, 0, 0, 0.08) 62%,
		rgba(0, 0, 0, 0) 78%
	);
	bottom: 0;
	content: '';
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
}

/* Advertising is a distinct snap item and never borrows organic controls. */
.shorts-feed-route .shorts-ad-item__stage {
	align-items: center;
	background: #171717;
	display: flex;
	justify-content: center;
	padding: clamp(54px, 8vh, 84px) clamp(16px, 4vw, 48px) clamp(24px, 5vh, 48px);
}

.shorts-feed-route .shorts-ad-item__stage::after {
	display: none;
}

.shorts-feed-route .shorts-ad-item__label {
	background: rgba(255, 255, 255, 0.94);
	border-radius: 999px;
	color: #222;
	font-size: 12px;
	font-weight: 700;
	left: max(18px, env(safe-area-inset-left));
	letter-spacing: 0.08em;
	padding: 6px 11px;
	position: absolute;
	top: max(18px, env(safe-area-inset-top));
	text-transform: uppercase;
	z-index: 2;
}

.shorts-feed-route .shorts-ad-item__creative {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	max-height: 100%;
	max-width: 900px;
	width: 100%;
}

.shorts-feed-route .shorts-ad-item__image-link {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 18px;
	height: 100%;
	justify-content: center;
	width: 100%;
}

.shorts-feed-route .shorts-ad-item__image {
	display: block;
	max-height: calc(100% - 64px);
	max-width: 100%;
	object-fit: contain;
}

.shorts-feed-route .shorts-ad-item__cta {
	background: var(--primary-color, #eb3349);
	border-radius: 5px;
	color: #fff;
	font-weight: 700;
	padding: 11px 24px;
}

.shorts-feed-route .shorts-ad-item__frame {
	background: #fff;
	border: 0;
	height: min(72vh, 720px);
	max-height: 100%;
	width: 100%;
}

.shorts-feed-route .shorts-video {
	height: 100%;
	position: relative;
	z-index: 0;
}

.shorts-feed-route .shorts-video__media,
.shorts-feed-route .shorts-video__poster {
	height: 100%;
	max-height: none;
	object-fit: contain;
	width: 100%;
}

.shorts-feed-route .shorts-video__media {
	aspect-ratio: auto;
	cursor: pointer;
}

.shorts-feed-route .shorts-video__source-link,
.shorts-feed-route .shorts-video--unavailable figcaption {
	background: rgba(0, 0, 0, 0.62);
	left: max(12px, env(safe-area-inset-left));
	padding: 7px 10px;
	position: absolute;
	top: max(12px, env(safe-area-inset-top));
	z-index: 2;
}

.shorts-feed-route .shorts-video__empty {
	height: 100%;
	min-height: 0;
}

/* Readable, compact overlay; links remain interactive over the decorative shade. */
.shorts-feed-route .shorts-feed-item__overlay {
	bottom: 0;
	color: #fff;
	left: 0;
	max-height: 68%;
	overflow-y: auto;
	padding: 24px 96px max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
	position: absolute;
	right: 0;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
	z-index: 2;
}

/* Keep the native control strip unobstructed when enhancement is unavailable. */
.shorts-feed-route .shorts-feed:not(.shorts-feed--enhanced) .shorts-feed-item__overlay {
	bottom: 54px;
}

.shorts-feed-route .shorts-feed-item__header,
.shorts-feed-route .shorts-meta,
.shorts-feed-route .shorts-feed-item__summary,
.shorts-feed-route .shorts-feed-item__footer {
	padding-left: 0;
	padding-right: 0;
}

.shorts-feed-route .shorts-feed-item__header {
	padding-bottom: 8px;
	padding-top: 0;
}

.shorts-feed-route .shorts-feed-item__title {
	font-size: clamp(22px, 3vw, 32px);
}

.shorts-feed-route .shorts-feed-item__title a,
.shorts-feed-route .shorts-model,
.shorts-feed-route .shorts-feed-item__comments {
	color: #fff;
}

.shorts-feed-route .shorts-feed-item__title a:hover,
.shorts-feed-route .shorts-feed-item__title a:focus-visible,
.shorts-feed-route .shorts-model:hover,
.shorts-feed-route .shorts-model:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.shorts-feed-route .shorts-meta {
	border: 0;
	gap: 8px 14px;
	padding-bottom: 8px;
	padding-top: 0;
}

.shorts-feed-route .shorts-meta__label {
	color: #ddd;
}

.shorts-feed-route .shorts-model__avatar {
	border: 2px solid rgba(255, 255, 255, 0.9);
	height: 34px;
	width: 34px;
}

.shorts-feed-route .shorts-tag,
.shorts-feed-route .shorts-duration {
	background: rgba(0, 0, 0, 0.48);
	color: #fff;
}

.shorts-feed-route .shorts-feed-item__summary {
	display: -webkit-box;
	font-size: 14px;
	line-height: 1.55;
	margin-bottom: 10px;
	overflow: hidden;
	padding-bottom: 0;
	padding-top: 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.shorts-feed-route .shorts-feed-item__footer {
	justify-content: flex-start;
	padding-bottom: 0;
	padding-top: 0;
}

.shorts-feed-route .shorts-feed-item__permalink {
	background: var(--primary-color, #eb3349);
	border-color: var(--primary-color, #eb3349);
	color: #fff;
}

/* Essential enhanced controls; native controls remain when JavaScript is absent. */
.shorts-feed-route .shorts-feed-item__controls {
	bottom: max(24px, env(safe-area-inset-bottom));
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: absolute;
	right: max(20px, env(safe-area-inset-right));
	z-index: 3;
}

.shorts-feed-route .shorts-feed-control {
	align-items: center;
	background: rgba(15, 15, 15, 0.68);
	border: 1px solid rgba(255, 255, 255, 0.48);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 23px;
	height: 48px;
	justify-content: center;
	padding: 0;
	transition: background-color 160ms ease, transform 160ms ease;
	width: 48px;
}

.shorts-feed-route .shorts-feed-control:hover,
.shorts-feed-route .shorts-feed-control:focus-visible,
.shorts-feed-route .shorts-feed-control[aria-pressed='true'] {
	background: var(--primary-color, #eb3349);
	color: #fff;
}

.shorts-feed-route .shorts-feed-control:active {
	transform: scale(0.96);
}

.shorts-feed-route .shorts-feed-item__loader,
.shorts-feed-route .shorts-feed-item__pause-indicator,
.shorts-feed-route .shorts-feed-item__error {
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 4;
}

.shorts-feed-route .shorts-feed-item__loader {
	display: flex;
	gap: 5px;
}

.shorts-feed-route .shorts-feed-item__loader span {
	animation: shorts-feed-loader 900ms ease-in-out infinite alternate;
	background: #fff;
	border-radius: 3px;
	height: 30px;
	width: 5px;
}

.shorts-feed-route .shorts-feed-item__loader span:nth-child(2) {
	animation-delay: 150ms;
}

.shorts-feed-route .shorts-feed-item__loader span:nth-child(3) {
	animation-delay: 300ms;
}

.shorts-feed-route .shorts-feed-item__pause-indicator {
	align-items: center;
	background: rgba(0, 0, 0, 0.62);
	border-radius: 50%;
	color: #fff;
	display: flex;
	font-size: 34px;
	height: 72px;
	justify-content: center;
	width: 72px;
}

.shorts-feed-route .shorts-feed-item__error {
	background: rgba(0, 0, 0, 0.78);
	border-radius: 6px;
	color: #fff;
	margin: 0;
	max-width: calc(100% - 40px);
	padding: 12px 16px;
	text-align: center;
}

.shorts-feed-route .shorts-feed [hidden] {
	display: none;
}

.shorts-feed-route .shorts-pagination {
	padding-left: 18px;
	padding-right: 18px;
}

/* Incremental loader stays outside the snap container and never mimics an item. */
.shorts-feed-route .shorts-feed-loader {
	align-items: center;
	background: rgba(18, 18, 18, 0.9);
	border-radius: 8px 8px 0 0;
	color: #fff;
	display: flex;
	gap: 12px;
	justify-content: center;
	margin: -62px auto 0;
	max-width: min(92%, 620px);
	min-height: 62px;
	padding: 10px 16px max(10px, env(safe-area-inset-bottom));
	position: relative;
	z-index: 5;
}

.shorts-feed-route .shorts-feed-loader[hidden],
.shorts-feed-route .shorts-pagination[hidden],
.shorts-feed-route .shorts-feed-loader [hidden] {
	display: none;
}

.shorts-feed-route .shorts-feed-loader__indicator {
	display: flex;
	flex: 0 0 auto;
	gap: 4px;
}

.shorts-feed-route .shorts-feed-loader__indicator span {
	animation: shorts-feed-loader 900ms ease-in-out infinite alternate;
	background: #fff;
	border-radius: 3px;
	height: 22px;
	width: 4px;
}

.shorts-feed-route .shorts-feed-loader__indicator span:nth-child(2) {
	animation-delay: 150ms;
}

.shorts-feed-route .shorts-feed-loader__indicator span:nth-child(3) {
	animation-delay: 300ms;
}

.shorts-feed-route .shorts-feed-loader__message {
	color: inherit;
	font-size: 14px;
	margin: 0;
}

.shorts-feed-route .shorts-feed-loader__retry {
	flex: 0 0 auto;
	margin: 0;
}

@keyframes shorts-feed-loader {
	from {
		transform: scaleY(0.45);
	}
	to {
		transform: scaleY(1);
	}
}

@media (max-width: 767px) {
	.shorts-feed-route .shorts-page {
		padding-top: 20px;
	}

	.shorts-feed-route .shorts-page__header,
	.shorts-feed-route .shorts-model-profile {
		margin-left: 16px;
		margin-right: 16px;
	}

	.shorts-feed-route .shorts-feed-item__overlay {
		max-height: 72%;
		padding-bottom: max(18px, env(safe-area-inset-bottom));
		padding-left: max(16px, env(safe-area-inset-left));
		padding-right: 78px;
	}

	.shorts-feed-route .shorts-feed-item__controls {
		bottom: max(18px, env(safe-area-inset-bottom));
		right: max(14px, env(safe-area-inset-right));
	}

	.shorts-feed-route .shorts-feed-control {
		font-size: 21px;
		height: 44px;
		width: 44px;
	}

}

@media (max-height: 520px) and (orientation: landscape) {
	.shorts-feed-route .shorts-feed-item__overlay {
		max-height: 84%;
		padding-bottom: max(10px, env(safe-area-inset-bottom));
		padding-top: 10px;
	}

	.shorts-feed-route .shorts-feed-item__summary,
	.shorts-feed-route .shorts-feed-item__footer {
		display: none;
	}

	.shorts-feed-route .shorts-feed-item__controls {
		bottom: max(10px, env(safe-area-inset-bottom));
	}
}

@media (prefers-reduced-motion: reduce) {
	.shorts-feed-route .shorts-feed {
		scroll-behavior: auto;
	}

	.shorts-feed-route .shorts-feed-control {
		transition: none;
	}

	.shorts-feed-route .shorts-feed-item__loader span {
		animation: none;
	}

	.shorts-feed-route .shorts-feed-loader__indicator span {
		animation: none;
	}
}

.shorts-related {
	margin: 32px 0 48px;
}

.shorts-related__title {
	font-size: 24px;
	margin: 0 0 18px;
}

.shorts-related__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shorts-related__link {
	color: inherit;
	display: block;
	text-decoration: none;
}

.shorts-related__poster {
	align-items: center;
	background: #111;
	border-radius: 10px;
	display: flex;
	height: 0;
	overflow: hidden;
	padding-bottom: 150%;
	position: relative;
}

.shorts-related__poster img {
	height: 100%;
	left: 0;
	object-fit: cover;
	position: absolute;
	top: 0;
	width: 100%;
}

.shorts-related__duration {
	background: rgba(0, 0, 0, .78);
	border-radius: 4px;
	bottom: 8px;
	color: #fff;
	font-size: 12px;
	padding: 3px 6px;
	position: absolute;
	right: 8px;
}

.shorts-related__name,
.shorts-related__model {
	display: block;
}

.shorts-related__name {
	font-weight: 700;
	line-height: 1.35;
	margin-top: 9px;
}

.shorts-related__model {
	color: #777;
	font-size: 13px;
	margin-top: 3px;
}

@media (max-width: 767px) {
	.shorts-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Non-feed discovery directories. */
.shorts-directory__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0 0 40px;
}

.shorts-directory__link {
	align-items: center;
	background: #fff;
	border: 1px solid var(--border-light-color, #e1e1e1);
	border-radius: 10px;
	display: grid;
	gap: 4px 12px;
	grid-template-columns: auto 1fr;
	min-height: 86px;
	padding: 14px;
}

.shorts-directory__avatar {
	border-radius: 50%;
	grid-row: 1 / span 2;
	height: 56px;
	object-fit: cover;
	width: 56px;
}

.shorts-directory__avatar--fallback {
	background: #ddd;
}

.shorts-directory__name {
	font-size: 17px;
	font-weight: 600;
}

.shorts-directory__count {
	color: #666;
	font-size: 14px;
}

.shorts-directory--categoria .shorts-directory__link {
	grid-template-columns: 1fr;
}

body.text-ui-light .shorts-directory__link {
	background: #303030;
	border-color: #4d4d4d;
}

body.text-ui-light .shorts-directory__count {
	color: #bbb;
}

/* Public contact page. */
.shorts-contact-page {
	padding: 42px 0 64px;
}

.shorts-contact-card {
	background: #fff;
	border: 1px solid var(--border-light-color, #e1e1e1);
	border-radius: 12px;
	box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
	margin: 0 auto;
	max-width: 760px;
	padding: clamp(22px, 5vw, 42px);
}

.shorts-contact-card__header h1 {
	font-size: clamp(28px, 5vw, 40px);
	margin: 0 0 8px;
}

.shorts-contact-card__header p {
	color: #666;
	margin: 0 0 28px;
}

.shorts-contact-form__field {
	margin-bottom: 18px;
}

.shorts-contact-form__field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.shorts-contact-form__field input,
.shorts-contact-form__field textarea {
	background: #fff;
	border: 1px solid #c9c9c9;
	border-radius: 6px;
	color: #222;
	font-size: 16px;
	padding: 11px 12px;
	width: 100%;
}

.shorts-contact-form__field textarea {
	min-height: 180px;
	resize: vertical;
}

.shorts-contact-form__field input:focus,
.shorts-contact-form__field textarea:focus {
	border-color: var(--primary-color, #eb3349);
	box-shadow: 0 0 0 2px rgba(235, 51, 73, 0.18);
	outline: 0;
}

.shorts-contact-form__honeypot {
	height: 1px;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	top: auto;
	width: 1px;
}

.shorts-contact-form__footer {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.shorts-contact-form__footer button:disabled {
	cursor: wait;
	opacity: 0.65;
}

.shorts-contact-status {
	border-radius: 6px;
	flex: 1 1 280px;
	margin: 0;
	min-height: 24px;
	padding: 9px 11px;
}

.shorts-contact-status:empty {
	padding: 0;
}

.shorts-contact-status.is-success {
	background: #e8f6ec;
	color: #176b2c;
}

.shorts-contact-status.is-error {
	background: #fce8e8;
	color: #9c1c1c;
}

body.text-ui-light .shorts-contact-card {
	background: #303030;
	border-color: #4d4d4d;
	color: #eee;
}

body.text-ui-light .shorts-contact-card__header p {
	color: #bbb;
}

@media (max-width: 767px) {
	.shorts-contact-page {
		padding: 22px 0 42px;
	}

	.shorts-contact-card {
		border-radius: 8px;
	}
}

/* Progressive per-item actions. They remain hidden when the controller is absent. */
.shorts-feed-route .shorts-actions {
	bottom: max(148px, calc(env(safe-area-inset-bottom) + 148px));
	display: flex;
	flex-direction: column;
	gap: 14px;
	position: absolute;
	right: max(20px, env(safe-area-inset-right));
	z-index: 3;
}

.shorts-feed-route .shorts-actions[hidden] {
	display: none;
}

.shorts-feed-route .shorts-action {
	align-items: center;
	background: transparent;
	border: 0;
	color: #fff;
	display: inline-flex;
	flex-direction: column;
	font-size: 22px;
	gap: 3px;
	justify-content: center;
	min-height: 48px;
	min-width: 48px;
	padding: 0;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.88);
}

.shorts-feed-route .shorts-action .icon {
	align-items: center;
	background: rgba(15, 15, 15, 0.68);
	border: 1px solid rgba(255, 255, 255, 0.48);
	border-radius: 50%;
	display: inline-flex;
	height: 48px;
	justify-content: center;
	transition: background-color 160ms ease, transform 160ms ease;
	width: 48px;
}

.shorts-feed-route .shorts-action:hover,
.shorts-feed-route .shorts-action:focus-visible {
	color: #fff;
}

.shorts-feed-route .shorts-action:hover .icon,
.shorts-feed-route .shorts-action:focus-visible .icon {
	background: var(--primary-color, #eb3349);
}

.shorts-feed-route .shorts-action:active .icon {
	transform: scale(0.96);
}

.shorts-feed-route .shorts-action:disabled {
	cursor: wait;
	opacity: 0.62;
}

.shorts-feed-route .shorts-action--like[aria-pressed='true'] .icon {
	background: var(--primary-color, #eb3349);
	border-color: var(--primary-color, #eb3349);
}

.shorts-feed-route .shorts-action--views {
	cursor: default;
}

.shorts-feed-route .shorts-action--views:hover .icon {
	background: rgba(15, 15, 15, 0.68);
}

.shorts-feed-route .shorts-action__count,
.shorts-feed-route .shorts-action__label {
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	max-width: 72px;
}

/* Only the feed is frozen: the page and comments drawer retain their own scroll. */
.shorts-feed-route .shorts-feed.is-comments-open {
	overflow: hidden;
	overscroll-behavior: contain;
	touch-action: none;
}

.shorts-feed-route .shorts-comments-modal {
	bottom: 0;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 1200;
}

.shorts-feed-route .shorts-comments-modal[hidden],
.shorts-feed-route .shorts-comments-modal [hidden],
.shorts-feed-route .shorts-share-feedback[hidden] {
	display: none !important;
}

.shorts-feed-route .shorts-comments-modal__backdrop {
	background: rgba(0, 0, 0, 0.62);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.shorts-feed-route .shorts-comments-drawer {
	background: #fff;
	bottom: 0;
	box-shadow: -10px 0 32px rgba(0, 0, 0, 0.28);
	color: #292929;
	display: flex;
	flex-direction: column;
	height: 100%;
	max-width: 440px;
	outline: 0;
	position: absolute;
	right: 0;
	width: min(100%, 440px);
}

.shorts-feed-route .shorts-comments-drawer__header {
	align-items: center;
	border-bottom: 1px solid #e5e5e5;
	display: flex;
	flex: 0 0 auto;
	justify-content: space-between;
	min-height: 64px;
	padding: max(12px, env(safe-area-inset-top)) 18px 12px;
}

.shorts-feed-route .shorts-comments-drawer__header h2 {
	font-size: 19px;
	line-height: 1.3;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.shorts-feed-route .shorts-comments-drawer__close {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: #222;
	display: inline-flex;
	flex: 0 0 44px;
	font-size: 27px;
	height: 44px;
	justify-content: center;
	min-width: 44px;
	padding: 0;
	width: 44px;
}

.shorts-feed-route .shorts-comments-drawer__close:hover,
.shorts-feed-route .shorts-comments-drawer__close:focus-visible {
	background: #f0f0f0;
	color: #111;
}

.shorts-feed-route .shorts-comments-drawer__body {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 16px 18px;
}

.shorts-feed-route .shorts-comments-drawer__status {
	color: #666;
	font-size: 14px;
	margin: 0 0 12px;
}

.shorts-feed-route .shorts-comments-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.shorts-feed-route .shorts-comment {
	display: grid;
	gap: 10px;
	grid-template-columns: 40px minmax(0, 1fr);
	padding: 10px 0 16px;
}

.shorts-feed-route .shorts-comment + .shorts-comment {
	border-top: 1px solid #ededed;
	padding-top: 16px;
}

.shorts-feed-route .shorts-comment__avatar {
	background: #e5e5e5;
	border-radius: 50%;
	display: block;
	height: 40px;
	object-fit: cover;
	width: 40px;
}

.shorts-feed-route .shorts-comment__avatar--fallback {
	background: linear-gradient(135deg, var(--primary-color, #eb3349), #f78a59);
}

.shorts-feed-route .shorts-comment__body {
	min-width: 0;
}

.shorts-feed-route .shorts-comment__header {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 5px 8px;
}

.shorts-feed-route .shorts-comment__author {
	font-size: 14px;
}

.shorts-feed-route .shorts-comment__date {
	color: #777;
	font-size: 11px;
}

.shorts-feed-route .shorts-comment__content {
	font-size: 14px;
	line-height: 1.55;
	margin: 4px 0 0;
	overflow-wrap: anywhere;
	white-space: pre-wrap;
}

.shorts-feed-route .shorts-comments-more {
	display: block;
	margin: 12px auto 4px;
}

.shorts-feed-route .shorts-comment-form {
	background: #fff;
	border-top: 1px solid #e5e5e5;
	flex: 0 0 auto;
	padding: 14px 18px max(14px, env(safe-area-inset-bottom));
}

.shorts-feed-route .shorts-comment-form__identity {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
}

.shorts-feed-route .shorts-comment-form label,
.shorts-feed-route .shorts-comment-form__content {
	display: block;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 9px;
}

.shorts-feed-route .shorts-comment-form input,
.shorts-feed-route .shorts-comment-form textarea {
	background: #fff;
	border: 1px solid #cfcfcf;
	border-radius: 5px;
	color: #222;
	font-size: 16px;
	font-weight: 400;
	margin-top: 4px;
	padding: 9px 10px;
	width: 100%;
}

.shorts-feed-route .shorts-comment-form textarea {
	max-height: 150px;
	min-height: 72px;
	resize: vertical;
}

.shorts-feed-route .shorts-comment-form__footer {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.shorts-feed-route .shorts-comment-form__footer p {
	font-size: 12px;
	line-height: 1.35;
	margin: 0;
}

.shorts-feed-route .shorts-comment-form__footer button {
	flex: 0 0 auto;
	margin: 0;
}

.shorts-feed-route .shorts-comment-form.is-message-only .shorts-comment-form__identity,
.shorts-feed-route .shorts-comment-form.is-message-only .shorts-comment-form__content,
.shorts-feed-route .shorts-comment-form.is-message-only .shorts-comment-form__footer button {
	display: none;
}

.shorts-feed-route .shorts-comments-drawer :focus-visible,
.shorts-feed-route .shorts-share-feedback :focus-visible,
.shorts-feed-route .shorts-action:focus-visible {
	outline: 3px solid var(--primary-color, #eb3349);
	outline-offset: 2px;
}

.shorts-feed-route .shorts-share-feedback {
	background: #1d1d1d;
	border-radius: 7px;
	bottom: max(18px, env(safe-area-inset-bottom));
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	color: #fff;
	left: 50%;
	max-width: min(92vw, 520px);
	padding: 12px 15px;
	position: fixed;
	transform: translateX(-50%);
	width: max-content;
	z-index: 1210;
}

.shorts-feed-route .shorts-share-feedback p {
	margin: 0;
}

.shorts-feed-route .shorts-share-feedback input {
	background: #fff;
	border: 0;
	border-radius: 4px;
	color: #222;
	margin-top: 8px;
	max-width: 100%;
	padding: 8px;
	width: 460px;
}

body.text-ui-light.shorts-feed-route .shorts-comments-drawer,
body.text-ui-light.shorts-feed-route .shorts-comment-form {
	background: #292929;
	color: #eee;
}

body.text-ui-light.shorts-feed-route .shorts-comments-drawer__header,
body.text-ui-light.shorts-feed-route .shorts-comment-form,
body.text-ui-light.shorts-feed-route .shorts-comment + .shorts-comment {
	border-color: #494949;
}

/* Conventional single: compact engagement controls, without feed positioning. */
.shorts-single .shorts-actions--single {
	align-items: center;
	background: #fff;
	border-bottom: 1px solid var(--border-light-color, #e1e1e1);
	display: flex;
	gap: 18px;
	padding: 14px 28px;
}

.shorts-single .shorts-actions--single[hidden] {
	display: none;
}

.shorts-single .shorts-actions--single .shorts-action {
	align-items: center;
	background: transparent;
	border: 0;
	color: #444;
	display: inline-flex;
	gap: 7px;
	min-height: 44px;
	padding: 4px 6px;
}

.shorts-single .shorts-actions--single button.shorts-action:disabled {
	cursor: wait;
	opacity: 0.62;
}

.shorts-single .shorts-actions--single .icon {
	font-size: 24px;
}

.shorts-single .shorts-actions--single .shorts-action--like[aria-pressed='true'] {
	color: var(--primary-color, #eb3349);
}

.shorts-single .shorts-actions--single button.shorts-action:focus-visible {
	outline: 3px solid var(--primary-color, #eb3349);
	outline-offset: 2px;
}

body.text-ui-light .shorts-single .shorts-actions--single {
	background: #303030;
	border-color: #4d4d4d;
}

body.text-ui-light .shorts-single .shorts-actions--single .shorts-action {
	color: #eee;
}

body.text-ui-light .shorts-single .shorts-actions--single .shorts-action--like[aria-pressed='true'] {
	color: var(--primary-color, #eb3349);
}

.shorts-engagement-feedback {
	background: #1d1d1d;
	border-radius: 7px;
	bottom: max(18px, env(safe-area-inset-bottom));
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	color: #fff;
	left: 50%;
	max-width: min(92vw, 520px);
	padding: 12px 15px;
	position: fixed;
	transform: translateX(-50%);
	z-index: 1210;
}

.shorts-engagement-feedback[hidden] {
	display: none;
}

body.text-ui-light.shorts-feed-route .shorts-comments-drawer__close {
	color: #eee;
}

@media (max-width: 767px) {
	.shorts-feed-route .shorts-actions {
		bottom: max(136px, calc(env(safe-area-inset-bottom) + 136px));
		right: max(14px, env(safe-area-inset-right));
	}

	.shorts-feed-route .shorts-action .icon {
		height: 44px;
		width: 44px;
	}

	.shorts-feed-route .shorts-comments-drawer {
		border-radius: 16px 16px 0 0;
		height: min(90dvh, 820px);
		max-width: none;
		width: 100%;
	}

	.shorts-feed-route .shorts-comment-form__identity {
		grid-template-columns: 1fr;
	}
}

@media (max-height: 520px) and (orientation: landscape) {
	.shorts-feed-route .shorts-actions {
		bottom: max(74px, calc(env(safe-area-inset-bottom) + 74px));
		flex-direction: row;
	}

	.shorts-feed-route .shorts-comments-drawer {
		height: 100%;
		max-width: 520px;
		width: min(72%, 520px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.shorts-feed-route .shorts-action .icon {
		transition: none;
	}
}

/* Phase 21: compact, safe-area-aware full-screen mobile feed shell. */
.shorts-mobile-nav {
	display: none;
}

@media (max-width: 991px) {
	body.shorts-feed-route {
		height: 100vh;
		overflow: hidden;
	}

	@supports (height: 100dvh) {
		body.shorts-feed-route {
			height: 100dvh;
		}
	}

	.shorts-feed-route .site-header {
		background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
		left: 0;
		padding-top: env(safe-area-inset-top);
		position: fixed;
		right: 0;
		top: 0;
		z-index: 1100;
	}

	.shorts-feed-route .site-header .c-header__top,
	.shorts-feed-route .site-header .main-navigation,
	.shorts-feed-route .site-header .main-navigation > .container,
	.shorts-feed-route .site-header .main-navigation_wrap {
		background: transparent;
		height: 56px;
		min-height: 56px;
	}

	.shorts-feed-route .site-header .main-navigation_wrap {
		padding: 5px max(8px, env(safe-area-inset-right)) 5px max(8px, env(safe-area-inset-left));
	}

	.shorts-feed-route .site-header .wrap_branding {
		height: 46px;
		max-width: min(44vw, 150px);
	}

	.shorts-feed-route .site-header .wrap_branding .logo,
	.shorts-feed-route .site-header .wrap_branding img {
		height: 100%;
		max-height: 46px;
		object-fit: contain;
		object-position: left center;
		width: auto;
	}

	.shorts-feed-route .site-header .search-navigation {
		right: calc(max(8px, env(safe-area-inset-right)) + 42px);
		top: 6px;
		width: 44px;
	}

	.shorts-feed-route .site-header .search-navigation .main-menu-search .menu-search {
		height: 44px;
		width: 44px;
	}

	.shorts-feed-route .site-header .search-navigation .main-menu-search .menu-search > .open-search-main-menu {
		align-items: center;
		display: inline-flex;
		height: 44px;
		justify-content: center;
		min-height: 44px;
		min-width: 44px;
		width: 44px;
	}

	.shorts-feed-route .site-header .c-togle__menu {
		height: 44px;
		right: max(8px, env(safe-area-inset-right));
		top: 6px;
		width: 44px;
	}

	.shorts-feed-route .site-header .menu_icon__open {
		height: 44px;
		padding: 10px 7px;
		width: 44px;
	}

	.shorts-feed-route .shorts-page {
		padding: 0;
	}

	.shorts-feed-route .shorts-page__header,
	.shorts-feed-route .shorts-model-profile {
		display: none;
	}

	.shorts-feed-route .shorts-empty,
	.shorts-feed-route .shorts-notice {
		align-items: center;
		border: 0;
		border-radius: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		margin: 0 auto;
		min-height: var(--shorts-viewport-height, 100dvh);
		padding: max(76px, calc(env(safe-area-inset-top) + 66px)) 20px max(80px, calc(env(safe-area-inset-bottom) + 70px));
		width: 100%;
	}

	.shorts-feed-route .shorts-feed {
		--shorts-feed-height: var(--shorts-viewport-height, 100dvh);
		height: var(--shorts-feed-height);
		overscroll-behavior-y: contain;
	}

	.shorts-feed-route .shorts-feed-item__stage {
		max-width: none;
	}

	.shorts-feed-route .shorts-feed-item__overlay {
		max-height: 48%;
		padding: 12px 76px max(74px, calc(env(safe-area-inset-bottom) + 64px)) max(14px, env(safe-area-inset-left));
	}

	.shorts-feed-route .shorts-feed-item__title {
		font-size: clamp(18px, 5.2vw, 24px);
		line-height: 1.18;
	}

	.shorts-feed-route .shorts-feed-item__summary,
	.shorts-feed-route .shorts-feed-item__footer,
	.shorts-feed-route .shorts-meta__terms {
		display: none;
	}

	.shorts-feed-route .shorts-meta {
		gap: 6px;
		padding-bottom: 0;
	}

	.shorts-feed-route .shorts-feed-item__controls {
		bottom: auto;
		flex-direction: row;
		gap: 8px;
		right: max(12px, env(safe-area-inset-right));
		top: max(66px, calc(env(safe-area-inset-top) + 62px));
	}

	.shorts-feed-route .shorts-feed-control,
	.shorts-feed-route .shorts-action .icon {
		font-size: 20px;
		height: 44px;
		width: 44px;
	}

	.shorts-feed-route .shorts-actions {
		bottom: max(76px, calc(env(safe-area-inset-bottom) + 66px));
		gap: 8px;
		right: max(12px, env(safe-area-inset-right));
	}

	.shorts-feed-route .shorts-action {
		font-size: 20px;
		min-height: 44px;
		min-width: 44px;
	}

	.shorts-feed-route .shorts-mobile-nav {
		align-items: center;
		background: rgba(10, 10, 10, 0.92);
		bottom: 0;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		left: 0;
		min-height: calc(58px + env(safe-area-inset-bottom));
		padding: 5px max(8px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px, env(safe-area-inset-left));
		position: fixed;
		right: 0;
		z-index: 1090;
	}

	.shorts-feed-route .shorts-mobile-nav__item {
		align-items: center;
		color: rgba(255, 255, 255, 0.72);
		display: flex;
		flex-direction: column;
		font-size: 10px;
		font-weight: 600;
		gap: 1px;
		justify-content: center;
		line-height: 1.2;
		min-height: 48px;
		text-decoration: none;
	}

	.shorts-feed-route .shorts-mobile-nav__item .icon {
		font-size: 22px;
	}

	.shorts-feed-route .shorts-mobile-nav__item.is-current,
	.shorts-feed-route .shorts-mobile-nav__item:focus-visible {
		color: #fff;
	}

	.shorts-feed-route .shorts-mobile-nav__item.is-current .icon {
		color: var(--primary-color, #eb3349);
	}

	.shorts-feed-route .shorts-feed-loader {
		bottom: calc(62px + env(safe-area-inset-bottom));
		margin: -62px auto 0;
	}
}

@media (max-width: 991px) and (max-height: 520px) and (orientation: landscape) {
	.shorts-feed-route .site-header .c-header__top,
	.shorts-feed-route .site-header .main-navigation,
	.shorts-feed-route .site-header .main-navigation > .container,
	.shorts-feed-route .site-header .main-navigation_wrap {
		height: 48px;
		min-height: 48px;
	}

	.shorts-feed-route .site-header .wrap_branding {
		height: 38px;
	}

	.shorts-feed-route .site-header .search-navigation {
		top: 2px;
	}

	.shorts-feed-route .site-header .c-togle__menu {
		top: 2px;
	}

	.shorts-feed-route .shorts-feed-item__overlay {
		max-height: 52%;
		padding-bottom: max(62px, calc(env(safe-area-inset-bottom) + 54px));
	}

	.shorts-feed-route .shorts-meta {
		display: none;
	}

	.shorts-feed-route .shorts-feed-item__controls {
		top: max(54px, calc(env(safe-area-inset-top) + 50px));
	}

	.shorts-feed-route .shorts-actions {
		bottom: max(62px, calc(env(safe-area-inset-bottom) + 54px));
		flex-direction: row;
	}

	.shorts-feed-route .shorts-mobile-nav {
		min-height: calc(50px + env(safe-area-inset-bottom));
		padding-top: 1px;
	}

	.shorts-feed-route .shorts-mobile-nav__item {
		flex-direction: row;
		gap: 5px;
		min-height: 44px;
	}
}
