/* Публичная белая тема (+ страница генерации .studio-gen-skin). */

/* Полоса прокрутки — светлая тема сайта */
html:has(body.gallery-body:is(:not(.studio-body), .studio-gen-skin)),
html:has(body.gallery-body:is(:not(.studio-body), .studio-gen-skin)) *,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin),
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) * {
	scrollbar-width: thin;
	scrollbar-color: #0179cd #eef2f6;
}

html:has(body.gallery-body:is(:not(.studio-body), .studio-gen-skin))::-webkit-scrollbar,
html:has(body.gallery-body:is(:not(.studio-body), .studio-gen-skin)) *::-webkit-scrollbar,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin)::-webkit-scrollbar,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) *::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

html:has(body.gallery-body:is(:not(.studio-body), .studio-gen-skin))::-webkit-scrollbar-track,
html:has(body.gallery-body:is(:not(.studio-body), .studio-gen-skin)) *::-webkit-scrollbar-track,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin)::-webkit-scrollbar-track,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) *::-webkit-scrollbar-track {
	background: #eef2f6;
	border-radius: 5px;
}

html:has(body.gallery-body:is(:not(.studio-body), .studio-gen-skin))::-webkit-scrollbar-thumb,
html:has(body.gallery-body:is(:not(.studio-body), .studio-gen-skin)) *::-webkit-scrollbar-thumb,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin)::-webkit-scrollbar-thumb,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) *::-webkit-scrollbar-thumb {
	background: #0179cd;
	border-radius: 5px;
	border: 2px solid #eef2f6;
	background-clip: padding-box;
}

html:has(body.gallery-body:is(:not(.studio-body), .studio-gen-skin))::-webkit-scrollbar-thumb:hover,
html:has(body.gallery-body:is(:not(.studio-body), .studio-gen-skin)) *::-webkit-scrollbar-thumb:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin)::-webkit-scrollbar-thumb:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) *::-webkit-scrollbar-thumb:hover {
	background: #015fa3;
	border: 2px solid #eef2f6;
	background-clip: padding-box;
}

html:has(body.gallery-body:is(:not(.studio-body), .studio-gen-skin))::-webkit-scrollbar-corner,
html:has(body.gallery-body:is(:not(.studio-body), .studio-gen-skin)) *::-webkit-scrollbar-corner,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin)::-webkit-scrollbar-corner,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) *::-webkit-scrollbar-corner {
	background: #eef2f6;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) {
	--gallery-header-h: 0px;
	--gallery-footer-h: 0px;
	--font-heading: "Roboto Condensed", Arial, sans-serif;
	--font-body: Arial, Helvetica, sans-serif;
	--font-accent: "Roboto Condensed", Arial, sans-serif;
	--font-button: "Roboto", Arial, Helvetica, sans-serif;
	--home-accent: #0179cd;
	--home-accent-soft: #e6f3fb;
	--home-ink: #12151c;
	--home-muted: #5b6472;
	--home-line: #e4e8ee;
	--neon-bg-1: #ffffff;
	--neon-bg-2: #f5f7fa;
	--neon-card: #ffffff;
	--neon-border: #e4e8ee;
	--neon-title: #12151c;
	--neon-text: #5b6472;
	--neon-accent: #0179cd;
	--neon-accent-2: #015fa3;
	--bg: #ffffff;
	--bg-soft: #f5f7fa;
	--text: #12151c;
	--text-dark: #12151c;
	--muted: #5b6472;
	--accent: #0179cd;
	--radius-sm: 3px;
	--radius: 5px;
	--radius-lg: 7px;
	color-scheme: light;
	background-color: #ffffff;
	background-image: none;
	color: #1f2937;
	font-family: var(--font-body);
	display: flex;
	flex-direction: column;
	height: auto;
	min-height: 100vh;
	padding-top: 0;
	padding-bottom: 0;
	position: relative;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin)::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: url("../bg2.jpg");
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	opacity: 0.5;
}

/* Контент ниже шапки; topbar исключён — иначе выпадающий профиль оказывается под блоками страницы */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) > *:not(.site-topbar):not(.studio-history-modal):not(.site-chat) {
	z-index: 1;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) h1,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) h2,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) h3,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-brand,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-kicker,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topnav-link,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__title,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__price {
	font-family: var(--font-heading);
}

/* Все кнопки: Roboto 14px */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-cta,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-search__btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .primary-btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .secondary-btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .bot-generate-btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .cookie-consent__btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .studio-btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .studio-btn--generate,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .studio-res-btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .studio-aspect__btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .studio-model-card,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .studio-model-card__name,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .studio-model-card__cost,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .cab-btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) button[type="submit"],
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) button[type="button"]:not(.media-stat),
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) a.button,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .load-more-btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .filter-chip,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-cta-link,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .bots_links a,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-card__cta,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .page-hero-back {
	font-family: var(--font-button) !important;
	font-size: 14px !important;
	line-height: 1.25 !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .media-stat,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) button.media-stat {
	font-family: var(--font-button) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .container--gallery.site-main {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 24px 16px 48px;
	flex: 1 0 auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .container--gallery.site-main.site-main--prompts {
	max-width: 1200px;
	width: 100%;
	padding-left: 16px;
	padding-right: 16px;
}

/* —— Header: full width —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topbar {
	position: sticky;
	top: 0;
	left: auto;
	right: auto;
	width: 100%;
	z-index: 10000;
	overflow: visible;
	background: #fff;
	border-bottom: 1px solid #e5e7eb;
	box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topbar-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	grid-template-areas: "brand nav auth";
	align-items: center;
	gap: 8px 24px;
	width: 100%;
	max-width: none;
	min-height: 72px;
	padding: 10px 24px;
	border-bottom: 0;
	overflow: visible;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-brand {
	grid-area: brand;
	justify-self: start;
	color: #111827;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-brand-logo {
	height: 40px;
	max-width: min(220px, 48vw);
	filter: none;
	mix-blend-mode: normal;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-brand-fallback {
	color: #111827;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topbar-actions {
	grid-area: auth;
	justify-self: end;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	flex-wrap: nowrap;
	position: relative;
	z-index: 10001;
	overflow: visible;
}

/* —— Currency select —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-currency__select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border: 1px solid var(--home-line, #e4e8ee);
	border-radius: var(--radius, 5px);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235b6472'/%3E%3C/svg%3E") no-repeat right 10px center;
	color: var(--home-ink, #12151c);
	font-family: var(--font-button, 'Roboto', Arial, Helvetica, sans-serif);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	padding: 6px 30px 6px 10px;
	min-height: 36px;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-currency__select:hover {
	border-color: var(--home-accent, #0179cd);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-currency__select:focus {
	outline: none;
	border-color: var(--home-accent, #0179cd);
	box-shadow: 0 0 0 2px rgba(1, 121, 205, 0.18);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-currency__select option {
	background: #fff;
	color: var(--home-ink, #12151c);
	padding: 4px 8px;
}

/* —— Profile dropdown —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile {
	position: relative;
	z-index: 10001;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 220px;
	min-height: 40px;
	padding: 4px 10px 4px 4px;
	border: 1px solid var(--home-line, #e4e8ee);
	border-radius: var(--radius-lg, 7px);
	background: #fff;
	color: var(--home-ink, #12151c);
	font-family: var(--font-button);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__toggle:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile.is-open .site-profile__toggle {
	border-color: var(--home-accent, #0179cd);
	box-shadow: 0 0 0 1px rgba(1, 121, 205, 0.18);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--home-accent-soft, #e6f3fb);
	color: var(--home-accent, #0179cd);
	font-family: var(--font-button);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__avatar--lg {
	width: 56px;
	height: 56px;
	font-size: 22px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__toggle-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__chevron {
	width: 8px;
	height: 8px;
	margin-left: 2px;
	border-right: 2px solid #6b7280;
	border-bottom: 2px solid #6b7280;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.15s ease;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile.is-open .site-profile__chevron {
	transform: rotate(-135deg) translateY(-1px);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 10002;
	width: min(280px, calc(100vw - 24px));
	padding: 14px 12px 10px;
	border: 1px solid var(--home-line, #e4e8ee);
	border-radius: var(--radius-lg, 7px);
	background: #fff;
	box-shadow: 0 14px 36px rgba(17, 24, 39, 0.12);
	overflow: visible;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__menu[hidden] {
	display: none !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 4px 8px 14px;
	border-bottom: 1px solid var(--home-line, #e4e8ee);
	text-align: center;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__name {
	margin: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--home-ink, #12151c);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__links {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-top: 8px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 40px;
	padding: 8px 10px;
	border-radius: var(--radius, 5px);
	color: var(--home-ink, #12151c);
	font-family: var(--font-button);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__link:hover {
	background: var(--home-accent-soft, #e6f3fb);
	color: var(--home-accent, #0179cd);
	text-decoration: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__link-value {
	color: var(--home-accent, #0179cd);
	font-weight: 700;
	white-space: nowrap;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__link--danger {
	color: #b42318;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__link--danger:hover {
	background: #fef3f2;
	color: #912018;
}

/**
 * «Бонусная программа» у неподтверждённого пользователя: программа
 * закрыта, но заявку на подтверждение подать можно — пункт остаётся
 * кликабельным и ведёт на страницу с формой.
 */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__link--locked {
	color: var(--home-muted, #5b6472);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__link-note {
	color: var(--home-accent, #0179cd);
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
}

@media (max-width: 720px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__toggle-name {
		display: none;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__toggle {
		padding: 4px;
		max-width: none;
	}
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid #e5e7eb;
	border-radius: var(--radius);
	background: #fff;
	cursor: pointer;
	padding: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-toggle__bars,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-toggle__bars::before,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: #111827;
	border-radius: var(--radius-sm);
	content: "";
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-toggle__bars {
	position: relative;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-toggle__bars::before {
	position: absolute;
	top: -6px;
	left: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-toggle__bars::after {
	position: absolute;
	top: 6px;
	left: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 18px;
	border-radius: var(--radius-lg);
	font-family: var(--font-button);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn__short {
	display: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn--ghost {
	border: 1px solid #d1d5db;
	background: #fff;
	color: #111827;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn--ghost:hover {
	border-color: #111827;
	color: #111827;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn--solid {
	border: 1px solid #111827;
	background: #111827;
	color: #fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn--solid:hover {
	background: #2563eb;
	border-color: #2563eb;
	color: #fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topnav {
	grid-area: nav;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 4px 28px;
	width: auto;
	padding: 0;
	border-top: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topnav-link {
	color: #374151;
	font-size: 15px;
	font-weight: 500;
	padding: 8px 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topnav-link:hover {
	color: #111827;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topnav-link.is-active {
	color: var(--home-accent, #0179cd);
	font-weight: 700;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topnav-link.is-active::after {
	background: var(--home-accent, #0179cd);
	bottom: 2px;
	border-radius: var(--radius-sm);
}

/* Dropdown */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop {
	position: relative;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop__menu {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	min-width: 240px;
	max-height: min(70vh, 480px);
	overflow: auto;
	padding: 8px 0;
	margin-top: 0;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: var(--radius);
	box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12);
	z-index: 220;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop:hover .site-nav-drop__menu {
	display: block;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop__item {
	display: block;
	padding: 9px 16px;
	color: #374151;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop__item:hover {
	background: #f3f4f6;
	color: var(--home-accent, #0179cd);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop__item:active {
	background: #eef2f6;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop__arrow {
	display: inline-block;
	width: 10px;
	height: 6px;
	margin-left: 8px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235b6472'/%3E%3C/svg%3E") no-repeat center / 10px 6px;
	vertical-align: middle;
}

/* —— Home hero —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-main--home {
	padding-top: 12px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero {
	width: 100%;
	background: transparent;
	border-bottom: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 16px 20px;
	text-align: center;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-brand {
	margin: 0 0 14px;
	font-family: var(--font-heading);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--home-accent);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-title {
	margin: 0 auto 16px;
	max-width: 25ch;
	font-family: var(--font-heading);
	font-size: clamp(2.1rem, 5vw, 3.55rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.02;
	color: var(--home-ink);
	text-align: center;
	filter: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-lead {
	margin: 0 auto 20px;
	max-width: 560px;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--home-muted);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-panel {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 14px;
	border: 1px solid var(--home-line);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.86);
	box-shadow: 0 12px 36px rgba(18, 21, 28, 0.06);
	backdrop-filter: blur(8px);
	box-sizing: border-box;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-search {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	margin: 0;
	width: 100%;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-search input {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--home-line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: none;
	font: inherit;
	font-size: 0.98rem;
	color: var(--home-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-search input:focus {
	outline: 2px solid rgba(1, 121, 205, 0.35);
	outline-offset: 1px;
	border-color: var(--home-accent);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-search__btn {
	height: 48px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--radius);
	background: var(--home-ink);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-search__btn:hover {
	background: var(--home-accent);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	width: 100%;
	max-width: none;
	margin: 16px 0 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .promo-banner,
body.studio-body.studio-gen-skin .promo-banner {
	display: flex;
	justify-content: center;
	width: 100%;
	margin: 16px 0 20px;
	line-height: 0;
	text-decoration: none;
	min-height: 80px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .page-hero .promo-banner {
	/* Унифицируем отступы с базовым `.promo-banner`, чтобы
	   баннер на «Промпты» выглядел так же, как на Главной/Генерации. */
	margin: 16px 0 20px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .promo-banner img,
body.studio-body.studio-gen-skin .promo-banner img {
	display: block;
	width: 100%;
	max-width: 728px;
	height: auto;
	border-radius: 10px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .promo-banner-row,
body.studio-body.studio-gen-skin .promo-banner-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 16px;
	width: 100%;
	margin: 16px 0 20px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .page-hero .promo-banner-row {
	margin: 16px 0 20px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .promo-banner-row .promo-banner,
body.studio-body.studio-gen-skin .promo-banner-row .promo-banner {
	margin: 0;
	width: auto;
	flex: 1 1 280px;
	max-width: 728px;
	min-height: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .promo-banner-row__promo,
body.studio-body.studio-gen-skin .promo-banner-row__promo {
	flex: 1 1 280px;
	max-width: 728px;
	min-width: 0;
	display: flex;
	justify-content: center;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .promo-banner-row__promo:empty,
body.studio-body.studio-gen-skin .promo-banner-row__promo:empty {
	display: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .promo-banner-row__order,
body.studio-body.studio-gen-skin .promo-banner-row__order {
	flex: 0 0 auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .promo-banner--in-grid,
body.studio-body.studio-gen-skin .promo-banner--in-grid {
	grid-column: 1 / -1;
	margin: 4px 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-banner,
body.studio-body.studio-gen-skin .order-neurophoto-banner {
	display: block;
	box-sizing: border-box;
	width: 340px;
	max-width: 100%;
	line-height: 0;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
	transition: transform 0.15s ease, filter 0.15s ease;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-banner:hover,
body.studio-body.studio-gen-skin .order-neurophoto-banner:hover {
	transform: translateY(-1px);
	filter: brightness(1.03);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-banner img,
body.studio-body.studio-gen-skin .order-neurophoto-banner img {
	display: block;
	width: 340px;
	max-width: 100%;
	height: auto;
	aspect-ratio: 340 / 90;
	object-fit: cover;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-page .order-neurophoto-article {
	max-width: 760px;
	margin: 0 auto 8px;
	color: #334155;
	font-size: 16px;
	line-height: 1.65;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-page .order-neurophoto-article h3 {
	margin: 1.4em 0 0.55em;
	color: #0f172a;
	font-family: var(--font-heading);
	font-size: 1.15rem;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .howto-neurophoto-article {
	max-width: 760px;
	margin: 0 auto 8px;
	color: #334155;
	font-size: 16px;
	line-height: 1.65;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .howto-neurophoto-article h2 {
	margin: 1.55em 0 0.55em;
	color: #0f172a;
	font-family: var(--font-heading);
	font-size: 1.35rem;
	font-weight: 700;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .howto-neurophoto-article h3 {
	margin: 1.25em 0 0.4em;
	color: #0f172a;
	font-family: var(--font-heading);
	font-size: 1.1rem;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .howto-neurophoto-steps,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .howto-neurophoto-list {
	margin: 0.4em 0 1em;
	padding-left: 1.25em;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .howto-neurophoto-steps li + li,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .howto-neurophoto-list li + li {
	margin-top: 0.45em;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .howto-neurophoto-article .howto-inline-link {
	color: var(--home-accent, #0179cd);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .howto-neurophoto-article .howto-inline-link:hover {
	color: #015fa3;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .howto-neurophoto-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 1.25em 0 0.5em;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .catalog-howto-link,
body.studio-body.studio-gen-skin .studio-howto-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	color: var(--home-accent, #0179cd);
	font-family: var(--font-button, "Roboto", Arial, sans-serif);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .catalog-howto-link:hover,
body.studio-body.studio-gen-skin .studio-howto-link:hover {
	color: #015fa3;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .catalog-howto-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid var(--home-line, #e4e8ee);
	border-radius: var(--radius-lg, 7px);
	background: #fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .catalog-howto-banner__text {
	margin: 0;
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.45;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .catalog-howto-banner__link {
	flex: 0 0 auto;
	color: var(--home-accent, #0179cd);
	font-family: var(--font-button, "Roboto", Arial, sans-serif);
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .catalog-howto-banner__link:hover {
	color: #015fa3;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-steps,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-list {
	margin: 0.4em 0 1em;
	padding-left: 1.25em;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-steps li + li,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-list li + li {
	margin-top: 0.35em;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form {
	max-width: 720px;
	margin: 0 auto;
	display: grid;
	gap: 16px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form__field {
	display: grid;
	gap: 8px;
	color: #0f172a;
	font-weight: 600;
	font-size: 14px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form__field input[type="text"],
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form__field input[type="email"],
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form__field input[type="file"],
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form__field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d1d5db;
	border-radius: var(--radius);
	background: #fff;
	color: #111827;
	font: inherit;
	font-weight: 400;
	padding: 10px 12px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form__field textarea {
	min-height: 220px;
	resize: vertical;
	line-height: 1.5;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form__hint {
	font-size: 13px;
	font-weight: 400;
	color: #64748b;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form__hint.is-error {
	color: #b45309;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form__consent {
	align-items: flex-start;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form__actions {
	display: flex;
	justify-content: flex-start;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form__actions .home-hero-cta {
	min-width: 160px;
	border: 0;
	cursor: pointer;
	font: inherit;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form__actions .home-hero-cta:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	transform: none;
	filter: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form__status {
	padding: 10px 12px;
	border-radius: var(--radius);
	font-size: 14px;
	line-height: 1.4;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form__status.is-success {
	background: #ecfdf5;
	color: #065f46;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form__status.is-error {
	background: #fef2f2;
	color: #991b1b;
}

@media (max-width: 760px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .promo-banner-row,
	body.studio-body.studio-gen-skin .promo-banner-row {
		flex-direction: column;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-banner,
	body.studio-body.studio-gen-skin .order-neurophoto-banner {
		width: 100%;
		max-width: 340px;
	}
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form .legal-consent {
	color: #334155;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .order-neurophoto-form .legal-consent a {
	color: #0f766e;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 34px;
	padding: 6px 12px 6px 14px;
	border-radius: var(--radius);
	border: 1px solid var(--home-line);
	background: #fff;
	color: #334155;
	text-decoration: none;
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 500;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-tag__count {
	min-width: 1.5em;
	padding: 1px 6px;
	border-radius: var(--radius-lg);
	background: var(--home-accent-soft);
	color: var(--home-accent);
	font-size: 11px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.4;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-tag:hover {
	border-color: var(--home-accent);
	color: var(--home-accent);
	background: #fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-tag:hover .home-hero-tag__count {
	background: var(--home-accent);
	color: #fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 14px;
	max-width: none;
	margin: 22px 0 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-cta,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) button.home-hero-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	box-shadow: none;
	text-decoration: none;
	font-family: var(--font-button);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.25;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-cta:hover {
	transform: translateY(-1px);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-cta--primary,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) button.home-hero-cta--primary {
	background: var(--home-accent, #0179cd);
	border-color: var(--home-accent, #0179cd);
	color: #fff;
	box-shadow: none;
	text-decoration: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-cta--primary:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-cta--primary:focus,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-cta--primary:visited,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) button.home-hero-cta--primary:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) button.home-hero-cta--primary:focus {
	background: #015fa3;
	border-color: #015fa3;
	color: #fff;
	box-shadow: none;
	text-decoration: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-cta--secondary {
	background: #fff;
	color: var(--home-ink);
	border: 1px solid var(--home-line);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-cta--secondary:hover {
	border-color: #94a3b8;
	color: var(--home-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-textlink {
	color: var(--home-muted);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-textlink:hover {
	color: var(--home-accent);
}

/* —— Home sections —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-page {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-bottom: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-section-head {
	margin-bottom: 22px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-section-head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--home-line);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-section-head--center {
	max-width: 710px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-section-head--center .home-section-lead {
	margin-left: auto;
	margin-right: auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-section-head h2,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-section-title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.55rem, 3vw, 2.05rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--home-ink);
	text-align: inherit;
	filter: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-section-lead {
	margin: 10px 0 0;
	max-width: 560px;
	color: var(--home-muted);
	font-size: 1rem;
	line-height: 1.5rem;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-kicker {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--home-accent);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-section-link {
	color: #334155;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
	white-space: nowrap;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-section-link:hover {
	color: var(--home-accent);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-grid.gallery-grid,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-grid--cats.gallery-grid {
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 14px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .card {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--home-line);
	background: #fff;
	box-shadow: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(18, 21, 28, 0.1);
	border-color: #cbd5e1;
	filter: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .card img,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-grid .card img {
	aspect-ratio: 3 / 4;
	border-radius: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-cat-block {
	margin-top: 0;
	padding-top: 28px;
	border-top: 1px solid var(--home-line);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-cat-block__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-cat-block__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 1.3rem;
	font-weight: 800;
	text-align: left;
	filter: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-cat-block__title a {
	color: var(--home-ink);
	text-decoration: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-cat-block__title a:hover {
	color: var(--home-accent);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-cat-block__blurb {
	margin: 4px 0 0;
	color: var(--home-muted);
	font-size: 0.95rem;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-catalog-more {
	margin: 28px 0 0;
	text-align: left;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-catalog-more a {
	color: var(--home-accent);
	font-weight: 700;
	text-decoration: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-catalog-more a:hover {
	text-decoration: underline;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-benefits-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-benefit {
	padding: 22px 18px;
	border-radius: var(--radius-lg);
	border: 1px solid var(--home-line);
	background: rgba(255, 255, 255, 0.8);
	text-align: left;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-benefit__value {
	margin: 0 0 6px;
	font-family: var(--font-heading);
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--home-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-benefit__label {
	margin: 0;
	color: var(--home-muted);
	font-size: 0.92rem;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-final-cta {
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: var(--home-ink);
	text-align: left;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-final-cta__inner {
	padding: 36px 28px;
	border-radius: var(--radius-lg);
	border: 1px solid var(--home-line);
	background:
		linear-gradient(135deg, rgba(1, 121, 205, 0.08), rgba(255, 255, 255, 0.95) 45%),
		#fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-final-cta h2 {
	margin: 0 0 10px;
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: var(--home-ink);
	filter: none;
	text-align: left;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-final-cta > p,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-final-cta__inner > p {
	margin: 0 0 22px;
	max-width: 520px;
	color: var(--home-muted);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-final-cta .home-hero-actions {
	margin-top: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card {
	border-radius: var(--radius-lg);
	text-align: left;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__btn {
	border-radius: var(--radius);
	background: var(--home-accent);
	color: #fff;
	text-decoration: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__btn:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__btn:focus,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__btn:visited {
	background: #015fa3;
	color: #fff;
	text-decoration: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn--solid {
	border-color: var(--home-accent);
	background: var(--home-accent);
	border-radius: var(--radius);
	color: #fff;
	text-decoration: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn--ghost {
	border-radius: var(--radius);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn--solid:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn--solid:focus,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn--solid:visited {
	background: #015fa3;
	border-color: #015fa3;
	color: #fff;
	text-decoration: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topnav-link.is-active {
	color: var(--home-accent, #0179cd);
	font-weight: 700;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topnav-link.is-active::after {
	background: var(--home-accent, #0179cd);
	border-radius: var(--radius-sm);
}

@media (max-width: 900px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-benefits-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-inner {
		padding: 28px 16px 12px;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-title {
		max-width: none;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-search {
		grid-template-columns: 1fr;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-benefits-grid {
		grid-template-columns: 1fr;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-section-head--row,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-cat-block__head {
		flex-direction: column;
		align-items: flex-start;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-grid.gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topbar-inner {
		padding: 8px 10px;
		gap: 8px;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-brand-logo {
		max-width: min(132px, 100%);
		height: 28px;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topbar-actions {
		gap: 4px;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn {
		padding: 6px 10px;
		font-size: 12px;
	}
}

/* —— Footer: full width —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar {
	position: static;
	width: 100%;
	margin-top: auto;
	flex-shrink: 0;
	background: #fff;
	border-top: 1px solid #e5e7eb;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-inner {
	display: grid;
	grid-template-columns: minmax(190px, .8fr) minmax(0, 2fr);
	align-items: center;
	gap: 18px 32px;
	width: 100%;
	max-width: none;
	padding: 18px 24px;
	color: #6b7280;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-about {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-navigation {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 9px;
	min-width: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-legal a {
	color: #4b5563;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-legal a:hover {
	color: #111827;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-copy,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-rights {
	margin: 0;
	line-height: 1.3;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-menu {
	display: flex;
	flex: none;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 6px 18px;
	order: initial;
	margin: 0;
	padding: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-menu a {
	color: #374151;
	font-size: 12px;
	line-height: 1.3;
	text-decoration: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-menu a:hover {
	color: #111827;
	text-decoration: underline;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-legal {
	flex: none;
	justify-content: flex-end;
	order: initial;
}

/* —— Footer: одна строка ссылок вне /services/ ——
   На этих страницах основное меню из семи пунктов убрано, и в подвале
   остаются «Идеи» плюс юридические документы. По умолчанию «Идеи» стоит
   первой строкой, а документы — второй, причём длинное название Политики
   не влезает и ряд ломается ещё раз. Здесь обе группы встают в один ряд.
   Колонка навигации по ширине подстраивается под содержимое: иначе
   фиксированная доля ширины заставляет ссылки переноситься, когда
   поместились бы все. */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar--oneline .site-bottombar-inner {
	grid-template-columns: minmax(190px, .8fr) minmax(0, auto);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar--oneline .site-bottombar-navigation {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: flex-end;
	gap: 6px 18px;
}

/* Ссылка не разрывается посреди фразы: «Политика обработки персональных
   данных» — это название документа, а не набор слов. */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar--oneline .site-bottombar-menu a,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar--oneline .site-bottombar-legal a {
	white-space: nowrap;
}

/* До 960px подвал встаёт в колонку по центру (правило ниже по файлу).
   Здесь только переносим ряд в центр и сжимаем промежутки — на телефоне
   семь ссылок в одну строку не помещаются физически, но и не должны
   вылезать за край или рваться посреди названия документа. */
@media (max-width: 960px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar--oneline .site-bottombar-navigation {
		justify-content: center;
		gap: 8px 14px;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar--oneline .site-bottombar-legal {
		justify-content: center;
	}
}

/* —— Footer: реквизиты оператора ——
   Требование 152-ФЗ и повторного аудита: подвал должен называть оператора
   и его ИНН/ОГРНИП, причём теми же цифрами, что в Политике обработки
   персональных данных. Блок обычной разметкой, без display:none и без
   accordion: сервис проверки читает исходник страницы. */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-operator {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 4px 0 0;
	color: #5b6472;
	font-size: 12px;
	line-height: 1.35;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-operator__name {
	color: #374151;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-operator__ids {
	font-variant-numeric: tabular-nums;
	/* ИНН и ОГРНИП — неразрывные, чтобы не рвались переносом. */
	white-space: nowrap;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-operator__contacts {
	color: #6b7280;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-operator__contacts a {
	color: #4b5563;
	text-decoration: none;
	word-break: break-word;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-operator__contacts a:hover {
	color: #111827;
	text-decoration: underline;
}

/* —— Согласие: общий вид и блоки, где оно появилось ——
   Текст согласия стал длиннее, чем был, поэтому подписи нужно уметь
   переноситься, а ссылку — не терять в конце строки. */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 10px 0 0;
	color: var(--home-muted, #5b6472);
	font-size: 12.5px;
	line-height: 1.45;
	text-align: left;
	cursor: pointer;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-consent input[type="checkbox"] {
	flex: none;
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	accent-color: var(--home-accent, #0179cd);
	cursor: pointer;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-consent input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--home-accent, #0179cd);
	outline-offset: 2px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-consent__text a {
	color: var(--home-accent, #015fa3);
	/* Ссылка внутри подписи: показываем как ссылку, но не даём ей
	   перехватить фокус с чекбокса — Tab должен доходить до галки. */
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-consent__text a:hover {
	color: #015fa3;
}

/* Галка законного представителя: заметнее обычной, это отдельное
   основание обработки, а не «ознакомление с документом». */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-consent--guardian {
	color: #334155;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .cab-tariff__consent {
	margin: 10px 0;
}

/* Инфо-баннер про изображения детей в студии. Не чекбокс: не имеет
   input, не блокирует кнопку «Сгенерировать», только напоминает.
   Стили прежней рамки с двумя галками удалены вместе с самими галками. */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .studio-minor-notice {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 12px 0 0;
	padding: 9px 12px;
	border: 1px solid #cfe3f2;
	border-radius: var(--radius, 5px);
	background: #eef6fd;
	color: #1f4b6d;
	font-size: 12.5px;
	line-height: 1.45;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .studio-minor-notice[hidden] {
	display: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .studio-minor-notice__icon {
	flex: none;
	font-style: normal;
	line-height: 1.3;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .studio-minor-notice__text a {
	color: var(--home-accent, #015fa3);
}

/* —— Скриншоты приложения (/apps) ——
   Высоты заданы требованием: app-1 — 375px, app-2 и app-3 — по 240px.
   Файлы не обрезаются, пропорции держатся через object-fit: contain.
   Ниже 860px высоты снимаются: на телефоне баннер в 240px занимал бы
   пол-экрана, и ряд перестал бы помещаться в колонку. */

/* app-1 отдаётся в .apps-phone__bezel, но рамку телефона на картинке
   отрисовывать не нужно — он нарисован в самом файле. Иначе получается
   телефон в телефоне. Поэтому декоративная обвязка снимается, а сама
   картинка получает скругление и тень, чтобы не выглядеть вклеенной. */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-phone--shot {
	/* width: fit-content, а не фиксированная ширина: картинка при высоте
	   375px занимает 220px, и жёсткая ширина оставила бы сбоку пустое
	   поле, из-за чего телефон смещался влево. */
	width: fit-content;
	max-width: min(240px, 62vw);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-phone--shot .apps-phone__bezel {
	padding: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-phone__shot {
	display: block;
	width: auto;
	max-width: 100%;
	height: 375px;
	object-fit: contain;
	border-radius: 20px;
	filter: drop-shadow(0px 5px 13px rgb(0, 0, 0, .55));
}

/* app-2 и app-3 занимают блоки .apps-product__mark. Ширина колонки
   увеличена: при прежней доле (0.55fr) баннер 430px не помещался и
   ужимался, а вместе с ним падала высота. */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__grid {
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__grid--flip {
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
}

/* Плашка подстраивается под картинку: иначе градиент торчал бы полосами
   по бокам — фон должен быть ровно под изображением, чтобы не читаться.
   Селектор на классе, а не на :has(), чтобы правило сработало и там, где
   :has() ещё не поддерживается. */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__mark--shot {
	width: fit-content;
	max-width: 100%;
	min-height: 0;
	margin: 0 auto;
	overflow: hidden;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__shot {
	display: block;
	width: auto;
	max-width: 100%;
	height: 240px;
	object-fit: contain;
}

@media (max-width: 860px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-phone__shot,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__shot {
		width: 100%;
		height: auto;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__mark--shot {
		width: 100%;
	}
}

/* —— Content chrome —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-layout--no-sidebar {
	display: block;
	grid-template-columns: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-toolbar-search {
	flex: 1 1 220px;
	min-width: 0;
	margin: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-toolbar-search-input {
	width: 100%;
	max-width: 360px;
	height: 40px;
	padding: 0 14px;
	border: 1px solid #d1d5db;
	border-radius: var(--radius);
	background: #fff;
	color: #111827;
	font: inherit;
	font-size: 14px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-toolbar-search-input:focus {
	outline: 2px solid #111827;
	outline-offset: 1px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-sidebar {
	display: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-sidebar-nav {
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-sidebar-nav .filter-chip,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-sidebar-nav .filter-chip--sidebar {
	text-shadow: none;
	color: #374151;
	background: #f8f9fb;
	border-color: #e5e7eb;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-sidebar-nav .filter-chip.active,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-sidebar-nav .filter-chip--sidebar.active {
	background: #111827;
	color: #fff;
	border-color: #111827;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-sidebar-search-input {
	background: #fff;
	color: #111827;
	border-color: #d1d5db;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-article {
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: none;
	color: #374151;
	margin-bottom: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .blog-header p,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-articles-header p {
	color: #6b7280;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .article-card-link,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .blog-card__link {
	background: #fff;
	border-color: #e5e7eb;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-article__header h1,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-article__body,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-article__body h2,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-article__body p,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-article__body li {
	color: #1f2937;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .cookie-consent__inner {
	background: #fff;
	border-color: #e5e7eb;
	color: #1f2937;
	box-shadow: 0 12px 40px rgba(17, 24, 39, 0.12);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .cookie-consent__text a {
	color: #2563eb;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .cookie-consent__btn {
	color: #fff;
	background: #111827;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .empty-state {
	background: #f8f9fb;
	border: 1px dashed #d1d5db;
	color: #4b5563;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .blog-card__title,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .article-card-title {
	color: #111827;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .blog-card__excerpt,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .article-card-excerpt {
	color: #6b7280;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .blog-card__more,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .article-card-more {
	color: #2563eb;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .news-rail__link {
	border-color: #e5e7eb;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .news-rail__link:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .news-rail__link:focus-visible {
	border-color: #cbd5e1;
	background: #f8fafc;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .news-rail__datebox {
	background: #eff6ff;
	border-color: #bfdbfe;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .news-rail__date-day {
	color: #1e3a8a;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .news-rail__date-year {
	color: #64748b;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .news-rail__title {
	color: #111827;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .news-rail__link:hover .news-rail__title,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .news-rail__link:focus-visible .news-rail__title {
	color: #2563eb;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .news-rail__excerpt {
	color: #6b7280;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .news-rail__more {
	color: #2563eb;
	background: #eff6ff;
	border-color: #bfdbfe;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-article__body a {
	color: #2563eb;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .cookie-consent {
	bottom: 16px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .page-backbar__link {
	border-color: #e5e7eb;
	background: #fff;
	color: #111827;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .page-backbar__link:hover {
	border-color: #111827;
	background: #111827;
	color: #fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet {
	background: #fff;
	color: #111827;
	border: 1px solid #e5e7eb;
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .crumbs__link {
	color: #2563eb;
	border-color: #e5e7eb;
	background: #fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .crumbs__link:hover {
	color: #111827;
	border-color: #111827;
	background: #f8f9fb;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .crumbs__current {
	color: #6b7280;
}

/* Prices */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-header {
	margin: 0 0 28px;
	text-align: center;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-header h1 {
	margin: 0 0 8px;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	color: #111827;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-header p {
	margin: 0 auto;
	max-width: 560px;
	color: #6b7280;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card {
	display: flex;
	flex-direction: column;
	padding: 28px 22px 22px;
	border: 1px solid #e8edf3;
	border-radius: 7px;
	background: #fff;
	text-align: center;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__emoji {
	display: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__title {
	margin: 0 0 6px;
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	color: #111827;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__desc {
	margin: 0 0 14px;
	font-size: 0.95rem;
	color: #4b5563;
	flex: 0 0 auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__price {
	margin: 0 0 8px;
	font-size: clamp(2rem, 3.2vw, 2.55rem);
	font-weight: 800;
	color: #111827;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__credits {
	display: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	padding: 10px 16px;
	border-radius: var(--radius);
	background: var(--home-accent);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__btn:hover {
	background: #015fa3;
	color: #fff;
	text-decoration: none;
}

@media (max-width: 960px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) {
		padding-top: 0;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topbar-inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"brand auth"
			"nav nav";
		align-items: center;
		min-height: 56px;
		padding: 8px 12px;
		gap: 8px 10px;
		overflow: hidden;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		flex-shrink: 0;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-brand {
		width: auto;
		min-width: 0;
		max-width: 100%;
		justify-content: flex-start;
		overflow: hidden;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-brand-logo {
		width: auto;
		max-width: min(150px, 100%);
		height: 32px;
		min-height: 0;
		max-height: 36px;
		margin: 0;
		object-position: left center;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topbar-actions {
		width: auto;
		max-width: 100%;
		justify-content: flex-end;
		align-items: center;
		gap: 6px;
		flex-wrap: nowrap;
		flex-shrink: 0;
		min-width: 0;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-vk-link {
		width: 32px;
		height: 32px;
		flex-shrink: 0;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-vk-link__icon {
		width: 28px;
		height: 28px;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn {
		min-height: 36px;
		padding: 6px 12px;
		font-size: 13px;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn__full {
		display: none;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn__short {
		display: inline;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topnav {
		display: none;
		flex-direction: column;
		flex-wrap: wrap;
		align-items: stretch;
		gap: 0;
		width: 100%;
		padding: 4px 0 8px;
		border-top: 1px solid #f3f4f6;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topbar.is-nav-open .site-topnav {
		display: flex;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topnav-link {
		padding: 12px 4px;
		border-bottom: 1px solid #f3f4f6;
	}

	/* Подменю на телефоне: раскрывается по клику, занимает место в потоке
	   и не перекрывает соседние пункты меню. */
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop {
		position: static;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop::after {
		display: none;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop__menu {
		position: static;
		transform: none;
		left: auto;
		min-width: 0;
		max-height: none;
		overflow: visible;
		padding: 0 0 6px 12px;
		margin: 0;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop__item {
		padding: 9px 8px;
		border-bottom: 1px solid #f3f4f6;
		white-space: normal;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topbar.is-nav-open .site-nav-drop__menu {
		display: none;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topbar.is-nav-open .site-nav-drop.is-open .site-nav-drop__menu {
		display: block;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-inner {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 12px;
		padding: 20px 16px;
		min-height: 0;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-about,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-navigation {
		width: 100%;
		align-items: center;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-menu {
		justify-content: center;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-copy,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-rights {
		flex: none;
		width: 100%;
		text-align: center;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-legal {
		flex: none;
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 8px 14px;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-hero-inner {
		padding: 24px 16px 22px;
	}
}

/* Радиусы 3–7px на всём публичном сайте (перебиваем style.css) */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) *:not(img):not(video):not(iframe):not(svg):not(path):not(circle):not(line):not(polyline):not(polygon):not(rect),
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) *::before,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) *::after {
	border-radius: var(--radius) !important;
}

/* Полноширинный верхний алерт студии должен быть без закругления. */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .studio-vkbonus,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .studio-vk-bonus {
	border-radius: 0 !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) img,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) video,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) iframe,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .card img,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-grid .card img,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .blog-card__cover {
	border-radius: 0 !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-topnav-link.is-active::after,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-burger span {
	border-radius: var(--radius-sm) !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .card,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-benefit,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .blog-card__link,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-search,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .cookie-consent__inner {
	border-radius: var(--radius-lg) !important;
}

/* Синие кнопки: белый текст, без подчёркивания */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-cta--primary,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-cta--primary:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-cta--primary:focus,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-cta--primary:visited,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn--solid,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn--solid:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn--solid:focus,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-auth-btn--solid:visited,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__btn:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__btn:focus,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__btn:visited,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-cta-link,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-cta-link:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-cta-link:focus,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-cta-link:visited,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-body .gallery-landing-cta-link,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-body .gallery-landing-cta-link:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-body .gallery-landing-cta-link:focus,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-body .gallery-landing-cta-link:visited,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-search__btn:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-search__btn:focus,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .cookie-consent__btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .cookie-consent__btn:hover {
	color: #fff !important;
	text-decoration: none !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-cta-link {
	background: var(--home-accent);
	border-color: var(--home-accent);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-cta-link:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-cta-link:focus {
	background: #015fa3;
	border-color: #015fa3;
	box-shadow: none;
	filter: none;
}

/* «Как генерировать?» — CTA-кнопки */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .bots_links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0 22px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .bots_links a,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-article-body .bots_links a,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-body .bots_links a,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .bots_links--primary a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid var(--home-accent, #0179cd) !important;
	border-radius: var(--radius, 5px) !important;
	background: var(--home-accent, #0179cd) !important;
	color: #fff !important;
	font-family: var(--font-button) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: none !important;
	filter: none !important;
	transition: background 0.15s ease, border-color 0.15s ease;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .bots_links a:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-article-body .bots_links a:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-body .bots_links a:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .bots_links--primary a:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .bots_links a:focus,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .bots_links a:visited {
	background: #015fa3 !important;
	border-color: #015fa3 !important;
	color: #fff !important;
	text-decoration: none !important;
	box-shadow: none !important;
	filter: none !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-article-body .howto-inline-link,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-body .howto-inline-link {
	color: var(--home-accent, #0179cd);
	text-decoration-color: rgba(1, 121, 205, 0.45);
	filter: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-article-body .howto-inline-link:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-landing-body .howto-inline-link:hover {
	color: #015fa3;
	text-decoration-color: #015fa3;
	filter: none;
}

/* —— Page hero (внутренние) —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .page-hero .page-hero-inner {
	padding-top: 28px;
	padding-bottom: 28px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .page-hero .page-hero-title {
	font-size: clamp(1.6rem, 3.2vw, 2.4rem);
	max-width: 70%;
	margin-left: auto;
	margin-right: auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .page-hero .page-hero-lead {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .page-hero .page-hero-back {
	margin-top: 16px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-tag.is-active {
	background: var(--home-accent);
	border-color: var(--home-accent);
	color: #fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-hero-tag.is-active .home-hero-tag__count {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .catalog-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 12px 18px;
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	background: transparent;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .catalog-toolbar .counter,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .catalog-toolbar .per-page-form,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .catalog-toolbar label {
	color: var(--home-muted);
	font-size: 0.92rem;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .catalog-toolbar select {
	border: 1px solid var(--home-line);
	border-radius: var(--radius);
	background: #fff;
	color: var(--home-ink);
	padding: 4px 8px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .home-section {
	margin: 0 0 36px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-article,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-article {
	padding: 24px 22px 28px;
	border-radius: var(--radius-lg);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-page {
	max-width: none;
	width: 100%;
	margin: 0;
	padding-bottom: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-page .home-section,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-page .legal-article,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .legal-page .gallery-article {
	max-width: none;
	width: 100%;
	box-sizing: border-box;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .page-backbar,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .crumbs {
	display: none !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-article-date {
	display: block;
	margin: 0 0 14px;
	color: var(--home-muted);
	font-size: 0.9rem;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-article-cover {
	margin: 0 0 18px;
	border-radius: var(--radius-lg);
	overflow: hidden;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-article-cover img {
	display: block;
	width: 100%;
	height: auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-article-footer {
	border-top-color: var(--home-line);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-article-views {
	color: var(--home-muted);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-article-views-icon {
	color: var(--home-accent);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-article-views-count {
	color: var(--home-accent);
	font-weight: 700;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-article-share-label {
	color: var(--home-muted);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .article-share-btn {
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	overflow: hidden;
	box-shadow: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .article-share-btn:hover {
	transform: translateY(-1px);
	background: transparent;
	color: inherit;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .article-share-btn__icon {
	display: block;
	width: 36px;
	height: 36px;
	object-fit: contain;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .article-share-btn--vk,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .article-share-btn--ok,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .article-share-btn--max,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .article-share-btn--telegram {
	background: transparent;
	border: 0;
	color: inherit;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet {
	background: #fff;
	color: var(--home-ink);
	border: 1px solid var(--home-line);
	border-radius: var(--radius-lg);
	box-shadow: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .modal-prompt-id,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .modal-view-count,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .modal-source-group,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .modal-heading {
	color: var(--home-muted);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .modal-heading {
	color: var(--home-ink);
	font-family: var(--font-heading);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .modal-description--prompt {
	background: var(--bg-soft);
	border: 1px solid var(--home-line);
	color: var(--home-ink);
	border-radius: var(--radius);
	max-height: 28vh;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .prompt-rtb,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .yandex-rtb-block {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--home-line);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .gallery-grid .yandex-rtb-block--gallery {
	grid-column: 1 / -1;
	margin: 6px 0 2px;
	padding: 8px 0 0;
	border-top: 1px solid var(--home-line);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .yandex-rtb-block {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--home-line);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .modal-source-group a,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet a {
	color: var(--home-accent);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .primary-btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .bot-generate-btn,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .secondary-btn {
	background: var(--home-accent);
	border: 1px solid var(--home-accent);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: var(--radius);
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	font-family: var(--font-button) !important;
	min-height: 44px;
	padding: 10px 14px;
	box-sizing: border-box;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .primary-btn:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .bot-generate-btn:hover {
	background: #015fa3;
	border-color: #015fa3;
	color: #fff !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .secondary-btn {
	background: #fff;
	border-color: var(--home-line);
	color: var(--home-ink) !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .secondary-btn:hover {
	border-color: var(--home-accent);
	color: var(--home-accent) !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prompt-sheet .modal-image-wrap img {
	border-radius: var(--radius);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .empty-state-page {
	text-align: center;
	padding: 12px 0 40px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .empty-state-page p {
	color: var(--home-muted);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-header {
	display: none;
}

/* —— Prices page —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-benefits-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-benefit {
	padding: 18px 16px;
	border: 1px solid var(--home-line);
	border-radius: var(--radius-lg);
	background: #fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-benefit__title {
	margin: 0 0 6px;
	font-family: var(--font-heading);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--home-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-benefit__text {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.45;
	color: var(--home-muted);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	align-items: stretch;
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	padding: 28px 22px 22px;
	border: 1px solid #e8edf3;
	border-radius: 7px !important;
	background: #fff;
	text-align: center;
	box-shadow: 0 10px 28px rgba(18, 21, 28, 0.06);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card--featured {
	border-color: rgba(1, 121, 205, 0.55);
	background:
		linear-gradient(165deg, rgba(1, 121, 205, 0.08) 0%, #fff 42%),
		#fff;
	box-shadow:
		0 0 0 1px rgba(1, 121, 205, 0.28),
		0 14px 34px rgba(1, 121, 205, 0.12);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 1;
	margin: 0;
	padding: 5px 10px;
	border-radius: 5px !important;
	background: #1a2332;
	color: #fff;
	font-family: var(--font-heading);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: 0 0 18px rgba(1, 121, 205, 0.35);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__visual {
	display: grid;
	place-items: center;
	width: 100%;
	min-height: 110px;
	margin: 4px 0 12px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__icon {
	display: block;
	width: min(140px, 78%);
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 10px 14px rgba(1, 121, 205, 0.18));
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__crystal {
	display: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__emoji {
	display: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__title {
	margin: 0 0 6px;
	font-family: var(--font-heading);
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	font-weight: 800;
	line-height: 1.15;
	color: var(--home-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__desc {
	margin: 0 0 14px;
	font-size: 0.95rem;
	line-height: 1.35;
	color: #4b5563;
	flex: 0 0 auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__price {
	margin: 0 0 8px;
	font-family: var(--font-heading);
	font-size: clamp(2rem, 3.2vw, 2.55rem);
	font-weight: 800;
	line-height: 1;
	color: var(--home-ink);
	letter-spacing: -0.02em;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card--featured .prices-card__price {
	color: #3d5a80;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__credits {
	display: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__unit,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__hint {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.4;
	color: #6b7280;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__hint {
	margin-bottom: 18px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	margin-top: auto;
	padding: 10px 16px;
	border: 0;
	border-radius: 5px !important;
	background: var(--home-accent);
	color: #fff !important;
	text-decoration: none !important;
	font-family: var(--font-button) !important;
	font-weight: 700;
	font-size: 14px !important;
	line-height: 1.25 !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__btn:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__btn:focus,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-card__btn:visited {
	background: #015fa3;
	color: #fff !important;
	text-decoration: none !important;
}

@media (max-width: 900px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-grid {
		grid-template-columns: 1fr;
		max-width: 380px;
	}
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-models-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 12px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-models-section {
	margin-top: 28px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-models-section:first-of-type {
	margin-top: 8px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-models-section__head {
	margin-bottom: 14px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-models-section__title {
	margin: 0 0 4px;
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--home-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-models-section__lead {
	margin: 0;
	font-size: 0.95rem;
	color: var(--home-muted, #5b6472);
	line-height: 1.45;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-model {
	padding: 18px 16px 16px;
	border: 1px solid var(--home-line);
	border-radius: var(--radius-lg);
	background: #fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-model__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--home-line);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-model__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--home-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-model__from {
	margin: 0;
	flex-shrink: 0;
	font-family: var(--font-heading);
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--home-accent);
	white-space: nowrap;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-model__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-model__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.94rem;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-model__res {
	color: var(--home-muted);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-model__cost {
	font-weight: 600;
	color: var(--home-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-models-note {
	margin: 18px 0 0;
	text-align: center;
	font-size: 0.92rem;
	color: var(--home-muted);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-models-note a {
	color: var(--home-accent);
	font-weight: 600;
	text-decoration: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-models-note a:hover {
	text-decoration: underline;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-cta__inner {
	padding: 28px 22px;
	border: 1px solid var(--home-line);
	border-radius: var(--radius-lg);
	background:
		linear-gradient(135deg, rgba(1, 121, 205, 0.06), rgba(255, 255, 255, 0.95) 50%),
		#fff;
	text-align: center;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-cta__title {
	margin: 0 0 8px;
	font-family: var(--font-heading);
	font-size: clamp(1.35rem, 2.5vw, 1.8rem);
	font-weight: 800;
	color: var(--home-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-cta__text {
	margin: 0 0 18px;
	color: var(--home-muted);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-cta .home-hero-actions {
	justify-content: center;
	margin-top: 0;
}

@media (max-width: 900px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-benefits-grid {
		grid-template-columns: 1fr;
	}
}

/* —— Contacts —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px 20px 20px;
	border: 1px solid var(--home-line);
	border-radius: var(--radius-lg);
	background: #fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-card__label {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--home-accent);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-card__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--home-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-card__text,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-card__muted {
	margin: 0;
	color: var(--home-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 10px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-card__cta {
	min-height: 40px;
	padding: 8px 14px 6px;
	font-size: 0.92rem;
	margin-top: auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-card > .contacts-card__cta {
	margin-top: auto;
	align-self: flex-start;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-note {
	margin: 0 0 14px;
	padding: 12px 14px;
	border: 1px solid #fde68a;
	border-radius: var(--radius);
	background: #fffbeb;
	color: #92400e;
	font-size: 0.92rem;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-dl {
	margin: 0;
	border: 1px solid var(--home-line);
	border-radius: var(--radius-lg);
	background: #fff;
	overflow: hidden;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-dl__row {
	display: grid;
	grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
	gap: 12px 20px;
	padding: 14px 18px;
	border-top: 1px solid var(--home-line);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-dl__row:first-child {
	border-top: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-dl dt {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 600;
	color: var(--home-muted);
	font-size: 0.92rem;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-dl dd {
	margin: 0;
	color: var(--home-ink);
	font-size: 0.98rem;
	word-break: break-word;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-dl a {
	color: var(--home-accent);
	text-decoration: none;
	font-weight: 600;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-dl a:hover {
	text-decoration: underline;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-docs-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-doc-link {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid var(--home-line);
	border-radius: var(--radius);
	background: #fff;
	color: var(--home-ink);
	text-decoration: none;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.98rem;
	transition: border-color 0.15s ease, color 0.15s ease;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-doc-link:hover {
	border-color: var(--home-accent);
	color: var(--home-accent);
}

@media (max-width: 900px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-cards {
		grid-template-columns: 1fr;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-docs-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .contacts-dl__row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

/* —— Header VK link —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-vk-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: var(--radius-lg, 7px);
	background: transparent;
	text-decoration: none;
	transition: background 0.15s ease;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-vk-link:hover {
	background: #eef6ff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-vk-link__icon {
	display: block;
	width: 36px;
	height: 36px;
	object-fit: contain;
}

@media (max-width: 960px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-vk-link {
		width: 32px;
		height: 32px;
		flex-shrink: 0;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-vk-link__icon {
		width: 28px;
		height: 28px;
	}
}

/* —— Authors page —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-page {
	max-width: 960px;
	margin: 0 auto;
	padding: 8px 0 32px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-intro {
	margin-bottom: 8px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 8px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-benefit {
	padding: 20px 18px;
	border: 1px solid var(--home-line, #e4e8ee);
	border-radius: var(--radius-lg, 7px);
	background: #fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-benefit__title {
	margin: 0 0 8px;
	font-family: var(--font-heading);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--home-ink, #12151c);
	line-height: 1.25;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-benefit__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--home-muted, #5b6472);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-panel {
	max-width: 710px;
	width: 100%;
	margin: 0 auto;
	padding: 24px 22px 22px;
	border: 1px solid var(--home-line, #e4e8ee);
	border-radius: var(--radius-lg, 7px);
	background: #fff;
	box-sizing: border-box;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-rules {
	margin: 0 0 20px;
	padding: 0 0 0 1.15rem;
	color: var(--home-muted, #5b6472);
	font-size: 14px;
	line-height: 1.55;
	text-align: left;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-rules li + li {
	margin-top: 8px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-form {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 16px;
	width: 100%;
	margin: 0;
	transform: none;
	position: static;
	left: auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-form__label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--home-ink, #12151c);
	text-align: left;
	transform: none;
	position: static;
	left: auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-form__label input,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-form__label input[type="url"] {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--home-line, #e4e8ee) !important;
	border-radius: var(--radius, 5px) !important;
	background: #fff !important;
	color: var(--home-ink, #12151c) !important;
	font-family: var(--font-button);
	font-size: 14px;
	font-weight: 400;
	box-sizing: border-box;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-form__label input:focus {
	outline: 2px solid rgba(1, 121, 205, 0.28);
	border-color: var(--home-accent, #0179cd) !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-form__consent {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	gap: 10px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	color: var(--home-muted, #5b6472) !important;
	font-weight: 400 !important;
	cursor: pointer;
	text-align: left !important;
	transform: none !important;
	position: static !important;
	left: auto !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-form__consent input[type="checkbox"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	min-width: 18px;
	margin: 2px 0 0 !important;
	padding: 0;
	accent-color: var(--home-accent, #0179cd);
	cursor: pointer;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-form__consent span {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--home-muted, #5b6472);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-form__consent a {
	color: var(--home-accent, #0179cd) !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-form__actions {
	display: flex;
	justify-content: center;
	width: 100%;
	padding-top: 4px;
	transform: none;
	position: static;
	left: auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-form__actions .home-hero-cta,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-form__actions button.home-hero-cta {
	display: inline-flex;
	min-width: min(280px, 100%);
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid var(--home-accent, #0179cd) !important;
	border-radius: var(--radius, 5px) !important;
	background: var(--home-accent, #0179cd) !important;
	color: #fff !important;
	box-shadow: none !important;
	cursor: pointer;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-form__actions .home-hero-cta:hover,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-form__actions button.home-hero-cta:hover {
	background: #015fa3 !important;
	border-color: #015fa3 !important;
	color: #fff !important;
	box-shadow: none !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-status {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: var(--radius, 5px);
	font-size: 14px;
	text-align: center;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-status.is-success {
	background: #ecfdf3;
	border: 1px solid #abefc6;
	color: #067647;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-status.is-error {
	background: #fef3f2;
	border: 1px solid #fecdca;
	color: #b42318;
}

@media (max-width: 900px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .authors-benefits {
		grid-template-columns: 1fr;
	}
}

/* —— Apps page + home promos —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) {
	--apps-ink: #0f1720;
	--apps-muted: #5b6572;
	--apps-accent: #0179cd;
	--apps-accent-deep: #015fa3;
	--apps-surface: #e8eef4;
	--apps-strip: #15202b;
}

@keyframes apps-fade-up {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes apps-phone-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 20px;
	border-radius: 8px;
	font-family: var(--font-button, "Roboto", Arial, sans-serif);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-cta:hover {
	transform: translateY(-1px);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-cta--vk {
	background: var(--apps-accent);
	color: #fff !important;
	border-color: var(--apps-accent);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-cta--vk:hover {
	background: var(--apps-accent-deep);
	border-color: var(--apps-accent-deep);
	color: #fff !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-cta--android {
	background: #fff;
	color: var(--apps-ink) !important;
	border-color: #c9d4e0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-cta--android:hover {
	border-color: var(--apps-accent);
	color: var(--apps-accent) !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-cta--light {
	background: #fff;
	color: var(--apps-ink) !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-cta--light:hover {
	background: #f3f7fb;
	color: var(--apps-accent) !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-cta--ghost {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.35);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-cta--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
	color: #fff !important;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-phone {
	width: min(220px, 58vw);
	margin: 0 auto;
	animation: apps-phone-float 5.5s ease-in-out infinite;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-phone__bezel {
	border-radius: 28px;
	padding: 10px;
	background: linear-gradient(160deg, #2a3542 0%, #121820 100%);
	box-shadow: 0 28px 48px rgba(15, 23, 32, 0.35);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-phone__screen {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	aspect-ratio: 9 / 16;
	padding: 8px;
	border-radius: 20px;
	background: #0b1016;
	overflow: hidden;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-phone__cell {
	display: block;
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(1, 121, 205, 0.35), transparent 55%),
		linear-gradient(180deg, #3a4654 0%, #1d2630 100%);
	min-height: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-phone__cell:nth-child(2) {
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 50%),
		linear-gradient(180deg, #4a5564 0%, #222b36 100%);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-phone__cell:nth-child(3) {
	background:
		linear-gradient(160deg, rgba(1, 121, 205, 0.45), transparent 60%),
		linear-gradient(180deg, #33404e 0%, #171e27 100%);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-hero {
	position: relative;
	margin: 0 0 28px;
	padding: 36px 0 28px;
	overflow: hidden;
	animation: apps-fade-up 0.55s ease both;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.7fr);
	gap: 28px 40px;
	align-items: center;
	width: min(1100px, calc(100% - 32px));
	margin: 0 auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-hero__brand {
	margin: 0 0 8px;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--apps-accent);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-hero__title {
	margin: 0 0 12px;
	font-size: clamp(1.85rem, 4vw, 2.75rem);
	line-height: 1.15;
	font-weight: 700;
	color: var(--apps-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-hero__lead {
	margin: 0 0 22px;
	max-width: 36rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--apps-muted);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product {
	padding-top: 8px;
	padding-bottom: 8px;
	animation: apps-fade-up 0.6s ease both;
	animation-delay: 0.08s;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.85fr);
	gap: 24px 36px;
	align-items: center;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__grid--flip {
	grid-template-columns: minmax(160px, 0.85fr) minmax(0, 1.2fr);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__grid--flip .apps-product__copy {
	order: 2;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__grid--flip .apps-product__mark {
	order: 1;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__title {
	margin: 0 0 10px;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	color: var(--apps-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__text {
	margin: 0 0 14px;
	max-width: 40rem;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--apps-muted);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__list {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__list li {
	position: relative;
	padding: 0 0 8px 18px;
	color: var(--apps-ink);
	font-size: 0.98rem;
	line-height: 1.45;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--apps-accent);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__aside {
	margin: 14px 0 0;
	font-size: 0.92rem;
	color: var(--apps-muted);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__aside a {
	color: var(--apps-accent);
	font-weight: 600;
	text-decoration: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__aside a:hover {
	text-decoration: underline;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__mark-label {
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--apps-ink);
	opacity: 0.72;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-why__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px 28px;
	margin-top: 8px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-why__item {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-why__title {
	margin: 0 0 8px;
	font-size: 1.08rem;
	color: var(--apps-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-why__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--apps-muted);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-final {
	margin-top: 12px;
	margin-bottom: 8px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-final__inner {
	padding: 28px 24px;
	border-radius: 16px;
	text-align: center;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-final__title {
	margin: 0 0 8px;
	font-size: clamp(1.3rem, 2.4vw, 1.7rem);
	color: var(--apps-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-final__lead {
	margin: 0 auto 18px;
	max-width: 32rem;
	color: var(--apps-muted);
	font-size: 1rem;
	line-height: 1.5;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-final .apps-hero__actions {
	justify-content: center;
}

/* Home: full-bleed strip */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-strip {
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	margin: 28px 0 36px;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 36px 0;
	color: #fff;
	overflow: hidden;
	background:
		radial-gradient(ellipse 55% 90% at 88% 40%, rgba(1, 121, 205, 0.45), transparent 55%),
		radial-gradient(ellipse 40% 70% at 8% 80%, rgba(255, 255, 255, 0.06), transparent 50%),
		linear-gradient(120deg, #101820 0%, #1a2836 48%, #152433 100%);
	animation: apps-fade-up 0.55s ease both;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-strip__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(140px, 0.55fr);
	gap: 24px 36px;
	align-items: center;
	width: min(1100px, calc(100% - 32px));
	margin: 0 auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-strip__brand {
	margin: 0 0 8px;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: #7ec4f0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-strip__title {
	margin: 0 0 10px;
	font-size: clamp(1.45rem, 3vw, 2rem);
	line-height: 1.2;
	color: #fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-strip__lead {
	margin: 0 0 18px;
	max-width: 34rem;
	font-size: 1rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-strip__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-strip__more {
	margin: 0;
	font-size: 0.92rem;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-strip__more a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-weight: 600;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-strip__more a:hover {
	color: #fff;
	text-decoration: underline;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-phone--strip {
	width: min(180px, 46vw);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-phone--strip .apps-phone__bezel {
	box-shadow: 0 22px 40px rgba(0, 0, 0, 0.4);
}

/* Home: compact rail */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-rail {
	margin: 8px 0 28px;
	padding: 22px 0;
	border-top: 1px solid var(--home-line, #e2e8f0);
	border-bottom: 1px solid var(--home-line, #e2e8f0);
	animation: apps-fade-up 0.5s ease both;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-rail__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 1.1fr);
	gap: 18px 28px;
	align-items: center;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-rail__title {
	margin: 0 0 6px;
	font-size: 1.25rem;
	color: var(--apps-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-rail__lead {
	margin: 0;
	font-size: 0.95rem;
	color: var(--apps-muted);
	line-height: 1.45;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-rail__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-rail__btn {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border-radius: 10px;
	text-decoration: none;
	border: 1px solid var(--home-line, #e2e8f0);
	background: #fff;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-rail__btn:hover {
	border-color: var(--apps-accent);
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(18, 21, 28, 0.08);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-rail__btn-kicker {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--apps-muted);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-rail__btn-label {
	font-size: 0.98rem;
	font-weight: 700;
	color: var(--apps-ink);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-rail__btn--vk:hover .apps-promo-rail__btn-label {
	color: var(--apps-accent);
}

@media (max-width: 860px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-hero__inner,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-strip__inner,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__grid,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__grid--flip,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-rail__inner,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-why__grid {
		grid-template-columns: 1fr;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__grid--flip .apps-product__copy,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__grid--flip .apps-product__mark {
		order: initial;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-hero__visual,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-strip__visual {
		order: -1;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-phone,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-phone--strip {
		width: min(160px, 42vw);
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-rail__actions {
		grid-template-columns: 1fr;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product__mark {
		min-height: 120px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-phone,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-hero,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-product,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-strip,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .apps-promo-rail {
		animation: none;
	}
}

/* —— Nav dropdown (works on all pages including studio) —— */
.site-nav-drop {
	position: relative;
}

.site-nav-drop__arrow {
	display: inline-block;
	width: 10px;
	height: 6px;
	margin-left: 8px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235b6472'/%3E%3C/svg%3E") no-repeat center / 10px 6px;
	vertical-align: middle;
}

.site-nav-drop__menu {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	min-width: 240px;
	max-height: min(70vh, 480px);
	overflow: auto;
	padding: 8px 0;
	margin-top: 0;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: var(--radius);
	box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12);
	z-index: 220;
}

/* На телефоне подменю раскрывается по клику и встаёт в поток, а не
   поверх пунктов меню: абсолютное позиционирование перекрывало
   «Генерацию», «Цены» и остальные ссылки. */
.site-nav-drop.is-open > .site-nav-drop__menu {
	display: block;
}

.site-nav-drop:hover .site-nav-drop__menu {
	display: block;
}

.site-nav-drop::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	width: 240px;
	height: 10px;
	transform: translateX(-50%);
}

.site-nav-drop__item {
	display: block;
	padding: 9px 16px;
	color: #374151;
	font-size: 14px;
	font-family: var(--font-button);
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.site-nav-drop__item:hover {
	background: #f3f4f6;
	color: var(--home-accent, #0179cd);
}

.site-nav-drop__item:active {
	background: #eef2f6;
}

/* —— FAQ —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-page {
	padding: 34px 0 72px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 42px;
	align-items: start;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-groups {
	min-width: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-group + .faq-group {
	margin-top: 38px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-group__title {
	margin: 0 0 14px;
	color: var(--home-ink, #12151c);
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	line-height: 1.2;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-list {
	display: grid;
	gap: 10px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item {
	overflow: hidden;
	border: 1px solid var(--home-line, #e4e8ee);
	border-radius: 12px;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item[open] {
	border-color: rgba(1, 121, 205, 0.55);
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.07);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 20px;
	color: var(--home-ink, #12151c);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item__summary::-webkit-details-marker {
	display: none;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item__question {
	min-width: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item__icon {
	position: relative;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--home-accent-soft, #e6f3fb);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item__icon::before,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item__icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	border-radius: 2px;
	background: var(--home-accent, #0179cd);
	transform: translate(-50%, -50%);
	transition: transform 0.15s ease;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item[open] .faq-item__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item__answer {
	padding: 0 20px 20px;
	color: var(--home-muted, #5b6472);
	font-size: 0.95rem;
	line-height: 1.65;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item__answer p {
	margin: 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item__link {
	color: var(--home-accent, #0179cd);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item__link:hover {
	color: var(--home-accent-dark, #015ca0);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-support {
	position: sticky;
	top: 96px;
	padding: 24px;
	border: 1px solid var(--home-line, #e4e8ee);
	border-radius: 16px;
	background: #f8fafc;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-support__kicker {
	margin: 0 0 8px;
	color: var(--home-accent, #0179cd);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-support__title {
	margin: 0 0 10px;
	color: var(--home-ink, #12151c);
	font-size: 1.35rem;
	line-height: 1.2;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-support__text {
	margin: 0 0 18px;
	color: var(--home-muted, #5b6472);
	font-size: 0.92rem;
	line-height: 1.55;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-support__button {
	display: inline-flex;
	width: 100%;
	justify-content: center;
}

@media (max-width: 800px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-support {
		position: static;
	}
}

@media (max-width: 520px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-page {
		padding-top: 22px;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item__summary {
		padding: 15px 16px;
		font-size: 0.94rem;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .faq-item__answer {
		padding: 0 16px 17px;
	}
}

/* —— Popularity models on prices —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-popularity__list {
	display: grid;
	gap: 16px;
	max-width: 920px;
	margin: 0 auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-popularity__row {
	display: grid;
	gap: 7px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-popularity__meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	color: var(--home-ink, #12151c);
	font-size: 0.94rem;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-popularity__label {
	font-weight: 600;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-popularity__count {
	flex: 0 0 auto;
	color: var(--home-muted, #5b6472);
	font-variant-numeric: tabular-nums;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-popularity__track {
	overflow: hidden;
	height: 12px;
	border-radius: 999px;
	background: #e8f2f9;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-popularity__bar {
	display: block;
	height: 100%;
	min-width: 2px;
	border-radius: inherit;
	background: linear-gradient(90deg, #0179cd, #38a9e8);
}

@media (max-width: 520px) {
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .prices-popularity__meta {
		font-size: 0.88rem;
	}
}

/* ==========================================================================
   Уведомление о повышении стоимости генерации с 10 октября
   --------------------------------------------------------------------------
   Два блока из одного файла-партиала: широкий наверху страницы и маленький
   закреплённый в левом нижнем углу. Стили живут здесь, потому что файл
   public-white.css подключается обоими макетами — и публичным (/prices), и
   кабинетным (/studio), — и объявление выглядит на обеих страницах одинаково.

   Цвета намеренно тёплые и насыщенные: акцентный синий (#0179cd) на фоне
   этих страниц не читается как срочное сообщение. Градиент оранжевый →
   красный, тёмный текст на светлой плашке, толстая рамка и мягкое свечение —
   блок должен бросаться в глаза, но не мешать работать с таблицей цен и
   панелями выбора модели.
   ========================================================================== */

.price-notice {
    margin: 0 0 24px;
    border-radius: 18px;
    background: linear-gradient(100deg, #ff8a3d 0%, #f4571f 48%, #e11d48 100%);
    box-shadow: 0 14px 34px rgba(225, 29, 72, 0.28), 0 0 0 3px rgba(255, 138, 61, 0.22);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Косая бликовая полоса — чтобы блок читался как плашка, а не как строка
   таблицы. Декоративная, поэтому прячется от скринридера и на печати. */
.price-notice::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.14) 0 18px,
        transparent 18px 40px
    );
    pointer-events: none;
}

.price-notice__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
}

.price-notice__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #2a0d05;
    color: #ffd9a8;
    font: 700 26px/1 "Roboto Condensed", Roboto, sans-serif;
}

.price-notice__body {
    flex: 1 1 auto;
    min-width: 0;
    color: #ffffff;
}

.price-notice__title {
    margin: 0 0 4px;
    font: 700 19px/1.25 "Roboto Condensed", Roboto, sans-serif;
    color: #ffffff;
}

.price-notice__text {
    margin: 0;
    font: 500 15px/1.45 "Roboto Condensed", Roboto, sans-serif;
    color: #ffffff;
}

.price-notice__date {
    flex: 0 0 auto;
    padding: 8px 16px;
    border-radius: 999px;
    background: #2a0d05;
    color: #fff;
    font: 700 15px/1 "Roboto Condensed", Roboto, sans-serif;
    white-space: nowrap;
}

/* --- маленький закреплённый блок ---------------------------------------- */

.price-notice-badge {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 900;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 320px;
    padding: 14px 16px 14px 18px;
    border-radius: 16px;
    background: linear-gradient(120deg, #ff9a4d 0%, #f4571f 55%, #e11d48 100%);
    box-shadow: 0 16px 38px rgba(225, 29, 72, 0.4), 0 0 0 3px rgba(255, 154, 77, 0.28);
    color: #ffffff;
}

.price-notice-badge[hidden] {
    display: none;
}

.price-notice-badge__text {
    margin: 0;
    font: 700 14px/1.35 "Roboto Condensed", Roboto, sans-serif;
    color: #ffffff;
}

.price-notice-badge__close {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin: -3px -4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(42, 13, 5, 0.28);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.price-notice-badge__close:hover {
    background: rgba(42, 13, 5, 0.3);
    transform: rotate(90deg);
}

.price-notice-badge__close:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* --- узкие экраны --------------------------------------------------------- */

@media (max-width: 760px) {
    .price-notice__inner {
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px;
    }

    .price-notice__title {
        font-size: 17px;
    }

    .price-notice__text {
        font-size: 14px;
    }

    .price-notice__date {
        padding: 6px 12px;
        font-size: 14px;
    }

    /* На телефоне закреплённый блок перекрывал бы нижние кнопки, поэтому
       он становится компактнее и уходит выше от края. */
    .price-notice-badge {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
}

/* Блок — объявление, а не содержимое страницы: на печати он не нужен. */
@media print {
    .price-notice-badge {
        display: none !important;
    }
}


/* Блок «18+» над фотографией и галочка показа в меню профиля. */

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-gate {
    display: grid;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    padding: 16px 18px;
    border-radius: var(--radius-lg, 7px);
    background: linear-gradient(180deg, #fff8f7 0%, #ffffff 100%);
    border: 1px solid rgba(192, 57, 43, 0.24);
    /*
     * Раньше блок лежал поверх фотографии: картинка была в странице и
     * замыта фильтром, а над ней — плашка. Теперь фотографии в странице
     * нет вовсе, и блок встаёт в обычный поток над заглушкой. Полупрозрачность
     * и абсолютное позиционирование больше не нужны: на белой карточке
     * они только мешали читать текст.
     *
     * grid-column: 1 / -1 — блок идёт над всей раскладкой поста, а не в
     * её левую колонку: .modal-layout держит фотографию и текст в двух
     * колонках, и без этого фотография съехала бы вправо.
     */
    grid-column: 1 / -1;
    position: static;
    width: auto;
    justify-content: center;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-gate__badge {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 46px;
    height: 46px;
    padding: 0 8px;
    border-radius: var(--radius, 5px);
    background: #c0392b;
    color: #fff;
    font-family: var(--font-button);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-gate__body {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
    text-align: center;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-gate__title {
    margin: 0;
    color: var(--home-ink, #12151c);
    font-family: var(--font-button);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-gate__text {
    margin: 0;
    color: var(--home-ink, #12151c);
    font-size: 13px;
    line-height: 1.2;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-gate__text--muted {
    color: var(--home-muted, #5b6472);
    font-size: 13px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-gate__note {
    margin: 2px 0 0;
    color: var(--home-muted, #5b6472);
    font-size: 12px;
    line-height: 1.45;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-gate__note a {
    color: var(--home-accent, #0179cd);
    text-decoration: underline;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-gate__form {
    margin: 8px 0 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-gate__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 8px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius, 5px);
    background: var(--home-accent, #0179cd);
    color: #fff;
    font-family: var(--font-button);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-gate__btn:hover {
    background: #0167b0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-gate__btn--ghost {
    align-self: flex-start;
    background: transparent;
    border-color: var(--home-line, #e4e8ee);
    color: var(--home-ink, #12151c);
    text-decoration: none;
    margin: 0 auto;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-gate__btn--ghost:hover {
    background: var(--home-accent-soft, #e6f3fb);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-gate__toggle {
    margin: 8px 0 0;
    color: var(--home-muted, #5b6472);
    font-size: 12px;
}

/* Галочка в меню профиля. */

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__form {
    margin: 2px 0;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__check {
    display: flex;
    /* Текст слева, галочка справа — как в остальных строках меню, где
     * подпись идёт первой, а значение прижато к краю. */
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 40px;
    padding: 9px 10px;
    border-radius: var(--radius, 5px);
    cursor: pointer;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__check:hover {
    background: var(--home-accent-soft, #e6f3fb);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__check.is-locked {
    cursor: default;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__check.is-locked:hover {
    background: transparent;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__check input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__check-box {
    /* Галочка уходит в конец строки. В разметке она стоит перед подписью,
     * чтобы работал селектор input:checked + box. */
    order: 2;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border: 1px solid var(--home-line, #e4e8ee);
    border-radius: var(--radius-sm, 3px);
    background: #fff;
    transition: background 0.15s ease, border-color 0.15s ease;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__check input:checked + .site-profile__check-box {
    border-color: var(--home-accent, #0179cd);
    background: var(--home-accent, #0179cd);
    box-shadow: inset 0 0 0 3px #fff;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__check input:focus-visible + .site-profile__check-box {
    outline: 2px solid var(--home-accent, #0179cd);
    outline-offset: 2px;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__check.is-locked .site-profile__check-box {
    background: #f1f5f9;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__check-label {
    /* Подпись забирает всю свободную ширину и прижимает галочку к краю. */
    order: 1;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

/* Текст — как в блоке «18+» над фотографией: та же гарнитура, кегль и цвет,
 * чтобы пункт меню читался частью того же оформления. */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__check-text {
    color: var(--home-ink, #12151c);
    font-family: var(--font-button);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__check-note {
    color: var(--home-muted, #5b6472);
    font-family: var(--font-button);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile__check.is-locked .site-profile__check-text {
    color: var(--home-muted, #5b6472);
}

/* Метка 18+ на карточке каталога. */

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .card--adult .card-button {
    position: relative;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .card-adult-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 5px 10px;
    border-radius: var(--radius-sm, 3px);
    background: #c0392b;
    color: #fff;
    font-family: var(--font-button);
    font-size: 33px;
    font-weight: 700;
    letter-spacing: 0.02em;
    pointer-events: none;
    transform: translateX(-50%) translateY(-50%);
}

/*
 * Заглушка закрытой фотографии.
 *
 * Замывка фильтром тут была бы слабее пустоты: пока файл лежит в разметке,
 * он достаётся правой кнопкой и инструментами разработчика. Поэтому вместо
 * картинки — рамка, которая занимает её место и ничего не показывает.
 */

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-locked {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 320px;
    background:
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.035) 0 14px,
            transparent 14px 28px
        ),
        rgba(4, 10, 24, 0.85);
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .adult-locked__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 12px 20px;
    border-radius: var(--radius, 5px);
    background: #c0392b;
    color: #fff;
    font-family: var(--font-button);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0.9;
}

/*
 * Заглушка на карточке каталога. Пропорции те же, что у снимка, иначе
 * сетка прыгала бы при переходе с закрытой карточки на открытую.
 */

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .card--adult .card-placeholder {
	text-indent: -9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 3 / 4;
    padding: 16px;
    background:
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.035) 0 14px,
            transparent 14px 28px
        ),
        rgba(4, 10, 24, 0.85);
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-button);
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
}
