/* Публичная белая тема (+ страница генерации .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;
}

body.gallery-body:is(:not(.studio-body), .studio-gen-skin) > *:not(.studio-history-modal) {
	position: relative;
	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"],
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) .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: none;
	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: 200;
	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;
}

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;
}

/* —— Profile dropdown —— */
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-profile {
	position: relative;
}

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: 230;
	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);
}

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;
}

@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: 100%;
	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,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop:focus-within .site-nav-drop__menu,
body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop.is-open .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: #111827;
}

/* —— 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--in-grid {
	grid-column: 1 / -1;
	margin: 4px 0;
}

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;
}

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 {
	width: 100%;
	max-width: none;
	padding: 18px 24px;
	color: #6b7280;
}

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;
}

/* —— 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) .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__menu {
		position: static;
		transform: none;
		left: auto;
		min-width: 0;
		max-height: none;
		margin: 0 0 8px;
		border-radius: var(--radius);
		box-shadow: none;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop:hover .site-nav-drop__menu {
		display: none;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop.is-open .site-nav-drop__menu,
	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-nav-drop:focus-within .site-nav-drop__menu {
		display: block;
	}

	body.gallery-body:is(:not(.studio-body), .studio-gen-skin) .site-bottombar-inner {
		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-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) 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);
}

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-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;
	}
}
