/* PurpleLabs Tools — оформление в стиле purplelabs.eu: тёмно-синий космос,
   звёзды, бирюзовые акценты (#19bfb5), сиреневый текст (#b1b4e4), шрифты
   Roboto и Roboto Condensed. */

@font-face { src: url("../fonts/roboto.woff2") format("woff2"); font-family: "roboto"; font-display: swap; }
@font-face { src: url("../fonts/roboto-c.woff2") format("woff2"); font-family: "roboto-c"; font-display: swap; }

:root {
	--bg: #0a0c2c;
	--card: rgba(10, 12, 44, .72);
	--card-strong: rgba(10, 12, 44, .9);
	--accent: #19bfb5;
	--accent-dark: #139a92;
	--text: #ffffff;
	--muted: #b1b4e4;
	--violet: #7f75e7;
	--line: rgba(177, 180, 228, .22);
	--danger: #c93e65;
	--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: #fff; }
::placeholder { color: #7d80b0; }

html { background: var(--bg); color-scheme: dark; }
body {
	margin: 0 auto;
	min-width: 320px;
	font: 16px/1.65 'roboto', sans-serif;
	color: var(--text);
	background: var(--bg) url(../img/bg_stars.webp) no-repeat top center;
	background-size: cover;
	overflow-x: hidden;
}
body::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 62vw;
	max-height: 1100px;
	background: url(../img/galaxy_bg_simple.webp) no-repeat top center;
	background-size: contain;
	opacity: .55;
	z-index: -1;
	pointer-events: none;
}
@media (max-width: 960px) {
	body::before { background-image: url(../img/galaxy_bg_mobile.webp); }
}

a { color: var(--accent); }
a:hover { color: #fff; }
h1, h2, h3 { font-family: 'roboto-c', sans-serif; font-weight: normal; margin: 0; }

.container {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 16px;
}
main { flex: 1; padding-bottom: 64px; }
main:focus { outline: none; }

.skip-link {
	position: absolute; top: -100px; left: 0; z-index: 300;
	padding: 12px 24px; background: var(--bg); color: #fff;
	font-family: 'roboto-c', sans-serif; text-decoration: none;
	border: 1px solid var(--accent); border-radius: 0 0 8px 8px;
}
.skip-link:focus { position: fixed; top: 0; left: 0; right: 0; width: fit-content; margin: 0 auto; }
.visually-hidden {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Шапка ---------- */

.top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 0;
	position: relative;
	z-index: 20;
}
.top__logo { display: block; width: 210px; max-width: 45vw; flex: 0 0 auto; }
.top__logo img { display: block; width: 100%; height: auto; }

.menu { display: flex; flex-wrap: wrap; gap: 2px; justify-content: flex-end; align-items: center; flex: 1; }
.menu__link { line-height: 1.4; }
.menu__link {
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: .03em;
	padding: 6px 11px;
	border: 1px solid transparent;
	border-radius: 30px;
	transition: border-color .2s;
}
.menu__link:hover, .menu__link-active { border-color: var(--accent); color: #fff; }

.nav-toggle { display: none; }
.nav-trigger { display: none; }

/* ---------- Переключатель языка ---------- */

.lang { position: relative; flex: 0 0 auto; }
.lang__current {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: .04em;
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: 30px;
	opacity: .85;
	user-select: none;
}
.lang__current::-webkit-details-marker { display: none; }
.lang__current:hover, .lang[open] .lang__current { opacity: 1; border-color: var(--accent); }
.lang__arrow {
	width: 6px; height: 6px;
	border: solid #fff;
	border-width: 0 1.5px 1.5px 0;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .2s;
}
.lang[open] .lang__arrow { transform: translateY(1px) rotate(-135deg); }
.lang__list {
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-end: 0;
	z-index: 50;
	list-style: none;
	margin: 0;
	padding: 6px;
	min-width: 180px;
	background: rgba(10, 12, 44, .97);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
}
.lang__link {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 7px 12px;
	border-radius: 8px;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
}
.lang__link span { width: 22px; text-transform: uppercase; color: var(--muted); font-size: 12px; }
.lang__link:hover { background: rgb(25 191 181 / 15%); color: #fff; }
.lang__link-active { color: var(--accent); }
.lang__link-active span { color: var(--accent); }

/* «Ещё» в меню */
.more, .lang { margin: 0; }
.more { position: relative; }
.more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.more > summary::-webkit-details-marker { display: none; }
.more[open] .lang__arrow { transform: translateY(1px) rotate(-135deg); }
.more__list {
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-end: 0;
	z-index: 50;
	min-width: 220px;
	padding: 6px;
	background: rgba(10, 12, 44, .97);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
}

/* ---------- Заголовок раздела ---------- */

.hero { text-align: center; padding: 56px 0 24px; }
.hero__title {
	position: relative;
	display: inline-block;
	font-size: clamp(30px, 4.2vw, 52px);
	line-height: 1.2;
	padding-bottom: 26px;
	margin-bottom: 26px;
}
.hero__title::after {
	content: "";
	position: absolute;
	left: 50%; bottom: 0;
	width: 230px; max-width: 60%;
	transform: translateX(-50%);
	border-bottom: 2px solid var(--accent);
}
.hero__sub { color: var(--muted); font-size: clamp(16px, 1.6vw, 20px); max-width: 760px; margin: 0 auto; }

/* ---------- Карточки инструментов на главной ---------- */

/* Инструменты сгруппированы, каждая карточка — строка: иконка слева,
   название и описание справа. Так на телефоне нет экранов пустоты. */
.tool-group { margin-top: 36px; }
.tool-group__title {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--muted);
	margin: 0 0 14px;
	display: flex;
	align-items: center;
	gap: 14px;
}
.tool-group__title::after { content: ""; flex: 1; border-bottom: 1px solid var(--line); }
.services {
	display: grid;
	/* auto-fit: в группе из трёх карточки растягиваются на всю ширину. */
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}
.service {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 18px 16px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	color: #fff;
	text-decoration: none;
	transition: box-shadow .4s ease, border-color .4s ease, transform .4s ease;
}
.service:hover {
	color: #fff;
	border-color: var(--violet);
	box-shadow: 0 0 22px 4px rgb(127 117 231 / 55%);
	transform: translateY(-3px);
}
.service__icon {
	flex: 0 0 44px;
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border-radius: 50%;
	border: 1px solid var(--accent);
	color: var(--accent);
	box-shadow: inset 0 0 12px rgb(25 191 181 / 35%);
}
.service__icon svg { width: 22px; height: 22px; }
.service__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; height: 100%; }
.service__title { font: 19px/1.25 'roboto-c', sans-serif; }
.service__text { color: var(--muted); font-size: 14px; line-height: 1.5; flex: 1; }
.service__path {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--accent);
	background: rgba(25, 191, 181, .08);
	border: 1px solid rgba(25, 191, 181, .3);
	padding: 2px 8px;
	border-radius: 6px;
	align-self: flex-start;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-top: 4px;
}

/* «Contact us» со свечением, как на purplelabs.eu */
.glow-link {
	display: inline-block;
	position: relative;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	padding: 10px 4px;
	letter-spacing: .04em;
	opacity: .85;
}
.glow-link::before {
	content: "";
	position: absolute;
	inset: 0 -10px -4px -14px;
	background: url(../img/light.webp) no-repeat center center;
	background-size: contain;
}
.glow-link:hover { opacity: 1; color: #fff; }
.center { text-align: center; }
.mt { margin-top: 48px; }

/* ---------- Панели и формы ---------- */

.panel {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 28px;
	margin: 0 auto 28px;
	max-width: 900px;
}
.panel h2 {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--muted);
	margin: 26px 0 10px;
}
.panel h2:first-child { margin-top: 0; }

.form { display: flex; flex-wrap: wrap; gap: 12px; }
.form__row { display: flex; gap: 12px; width: 100%; }
.input, .select {
	flex: 1;
	min-width: 0;
	font: inherit;
	color: #fff;
	background: rgba(5, 6, 26, .75);
	border: 1px solid var(--line);
	border-radius: 30px;
	padding: 11px 20px;
	transition: border-color .2s, box-shadow .2s;
}
.select { flex: 0 1 auto; border-radius: 12px; padding: 9px 14px; }
.input:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(25 191 181 / 20%); outline: none; }
.btn {
	font: inherit;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: 14px;
	color: #fff;
	background: transparent;
	border: 1px solid var(--accent);
	border-radius: 30px;
	padding: 11px 28px;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: background .2s, box-shadow .2s;
	white-space: nowrap;
}
.btn:hover { background: rgb(25 191 181 / 18%); box-shadow: 0 0 16px rgb(25 191 181 / 45%); color: #fff; }
.btn-primary { background: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); }
.btn[disabled] { opacity: .6; cursor: progress; }

.options { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; color: var(--muted); font-size: 14px; width: 100%; }
.options label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.options input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }

.hint { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.hint code, .code-inline { font-family: var(--mono); font-size: 13px; color: var(--accent); background: rgba(25,191,181,.08); padding: 1px 6px; border-radius: 4px; word-break: break-all; }

.alert {
	border: 1px solid var(--danger);
	background: rgb(201 62 101 / 14%);
	border-radius: 12px;
	padding: 12px 16px;
	margin: 0 auto 24px;
	max-width: 900px;
}
.muted { color: var(--muted); }

/* ---------- Результаты ---------- */

.big-value {
	font: 600 clamp(28px, 6vw, 48px)/1.15 var(--mono);
	word-break: break-all;
	margin: 4px 0 8px;
	color: #fff;
	text-shadow: 0 0 18px rgb(25 191 181 / 45%);
}
.country { font-size: 20px; margin: 6px 0 2px; }

.kv { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 18px; }
.kv td { padding: 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv td:first-child { width: 34%; padding-right: 14px; color: var(--muted); }
.kv td:last-child { white-space: pre-wrap; word-break: break-word; }

.summary { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 8px 0 20px; }
.summary__item { background: rgba(5, 6, 26, .6); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.summary__label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.summary__value { word-break: break-word; white-space: pre-wrap; }

details { margin-top: 20px; }
summary { cursor: pointer; color: var(--muted); }
pre {
	font: 12px/1.5 var(--mono);
	background: rgba(0, 0, 0, .45);
	color: #d6dae0;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 14px;
	overflow-x: auto;
	white-space: pre-wrap;
	word-break: break-word;
}

.shot { margin-top: 8px; text-align: center; }
.shot__frame {
	display: inline-block;
	max-width: 100%;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 0 26px rgb(127 117 231 / 40%);
	background: #fff;
}
.shot__frame img { display: block; max-width: 100%; height: auto; }
.shot__meta { color: var(--muted); font-size: 14px; margin: 14px 0; word-break: break-all; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }

.loader { display: none; align-items: center; gap: 12px; color: var(--muted); margin-top: 16px; }
.loader.is-on { display: flex; }
.loader::before {
	content: "";
	width: 22px; height: 22px;
	border: 2px solid var(--line);
	border-top-color: var(--accent);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Подвал ---------- */

.bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	flex-wrap: wrap;
	padding: 22px 0 26px;
	border-top: 1px solid var(--line);
}
.bottom__logo { width: 170px; opacity: .85; }
.bottom__logo img { display: block; width: 100%; height: auto; }
.bottom__nav { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: center; flex: 1; }
.bottom__nav a, .bottom__copy { color: var(--muted); font: 13px 'roboto-c', sans-serif; text-decoration: none; opacity: .85; }
.bottom__nav a:hover { color: var(--accent); opacity: 1; }

/* ---------- Адаптив ---------- */

@media (max-width: 1180px) {
	.top { gap: 12px; }
	.nav-trigger { order: 3; }
	.nav-trigger {
		display: block;
		width: 38px; height: 38px;
		position: relative;
		cursor: pointer;
		border: 1px solid var(--accent);
		border-radius: 50%;
	}
	.nav-trigger span, .nav-trigger span::before, .nav-trigger span::after {
		content: "";
		position: absolute;
		left: 10px; right: 10px;
		height: 2px;
		background: #fff;
		transition: transform .2s;
	}
	.nav-trigger span { top: 18px; }
	.nav-trigger span::before { left: 0; right: 0; top: -6px; }
	.nav-trigger span::after { left: 0; right: 0; top: 6px; }
	.nav-toggle:checked + .nav-trigger span { background: transparent; }
	.nav-toggle:checked + .nav-trigger span::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle:checked + .nav-trigger span::after { transform: translateY(-6px) rotate(-45deg); }
	.menu {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		flex-direction: column;
		background: rgba(10, 12, 44, .97);
		border: 1px solid var(--line);
		border-radius: 14px;
		padding: 10px;
		box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
	}
	.nav-toggle:checked ~ .menu { display: flex; }
	.menu__link { text-align: center; }
	.more > summary { width: 100%; justify-content: center; }
	.more__list { position: static; box-shadow: none; border: 0; background: transparent; }
	.more__list .lang__link { justify-content: center; }
	.lang { margin-inline-start: auto; }
}

@media (max-width: 1100px) {
	.services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Нечётная последняя карточка — на всю ширину, без пустой половины. */
	.service:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
	.services { grid-template-columns: 1fr; gap: 10px; }
	.tool-group { margin-top: 26px; }
	.service { padding: 14px; gap: 12px; border-radius: 14px; }
	.service:hover { transform: none; }
	.service__icon { flex-basis: 40px; width: 40px; height: 40px; }
	.service__title { font-size: 18px; }
	.service__text { font-size: 13.5px; }
	/* Адреса-подсказки на телефоне только занимают место. */
	.service__path { display: none; }
	.hero { padding: 28px 0 8px; }
	.hero__title { padding-bottom: 18px; margin-bottom: 16px; }
}

@media (max-width: 600px) {
	.panel { padding: 20px 16px; }
	.form__row { flex-direction: column; }
	.btn { width: 100%; }
	.kv td:first-child { width: 40%; }
	.bottom { justify-content: center; text-align: center; }
}

/* ---------- Таблицы результатов и значки статуса ---------- */

.grid-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 18px; }
.grid-table th {
	text-align: start;
	color: var(--muted);
	font-weight: normal;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: 6px 10px 6px 0;
	border-bottom: 1px solid var(--line);
}
.grid-table td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; word-break: break-word; }
.grid-table td.mono, .mono { font-family: var(--mono); font-size: 13px; }
.table-wrap { overflow-x: auto; }

.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 10px;
	border-radius: 20px;
	font-size: 12px;
	white-space: nowrap;
	border: 1px solid var(--line);
	color: var(--muted);
}
.badge-ok { border-color: rgb(23 179 95 / 60%); color: #3ddc8a; background: rgb(23 179 95 / 10%); }
.badge-warn { border-color: rgb(245 166 35 / 60%); color: #f5b642; background: rgb(245 166 35 / 10%); }
.badge-bad { border-color: rgb(201 62 101 / 70%); color: #ff6f94; background: rgb(201 62 101 / 12%); }

.grade {
	display: inline-grid;
	place-items: center;
	width: 64px; height: 64px;
	border-radius: 16px;
	font: 700 34px/1 'roboto-c', sans-serif;
	border: 2px solid currentColor;
}
.grade-a { color: #3ddc8a; } .grade-b { color: #9be15d; } .grade-c { color: #f5b642; }
.grade-d { color: #ff9a5a; } .grade-f { color: #ff6f94; }
.headline { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs a { padding: 6px 16px; border: 1px solid var(--line); border-radius: 30px; color: #fff; text-decoration: none; font-size: 14px; }
.tabs a:hover, .tabs a.is-active { border-color: var(--accent); }

/* ---------- RTL (арабский) ---------- */

[dir="rtl"] .kv td:first-child { padding-right: 0; padding-left: 14px; }
[dir="rtl"] .grid-table th, [dir="rtl"] .grid-table td { padding-right: 0; padding-left: 10px; }
[dir="rtl"] .glow-link::before { transform: scaleX(-1); }
[dir="ltr"] { unicode-bidi: isolate; }

/* ---------- Скриншоты ---------- */

.input-num { flex: 0 0 auto; width: 96px; padding: 9px 12px; border-radius: 12px; }
.shot-custom { display: inline-flex; align-items: center; gap: 6px; }
.shot-custom[hidden] { display: none; }
.shots { display: grid; gap: 24px; justify-items: center; }
.shots-pair { grid-template-columns: 3fr 1fr; align-items: start; }
.shots__item { margin: 0; max-width: 100%; }
@media (max-width: 700px) { .shots-pair { grid-template-columns: 1fr; } }

/* ---------- Open Graph preview: карточки соцсетей (светлые, как в приложениях) ---------- */

.og-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; max-width: 1100px; margin: 0 auto; }
.og-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.og-net { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.og-img { background: #dfe3ea center / cover no-repeat; position: relative; }
.og-img--wide { aspect-ratio: 1.91 / 1; }
.og-img--square { width: 110px; flex: 0 0 110px; aspect-ratio: 1; }
.og-muted { color: #536471; }
.og-fb__box, .og-li__box, .og-x__large, .og-x__small, .og-google__box { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; line-height: 1.35; overflow: hidden; }
.og-fb__box { background: #fff; border: 1px solid #dadde1; }
.og-fb__text { background: #f0f2f5; padding: 10px 12px; color: #050505; }
.og-fb__domain { font-size: 12px; color: #65676b; }
.og-fb__title { font-weight: 600; font-size: 16px; margin: 3px 0; }
.og-fb__desc { font-size: 14px; color: #65676b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.og-x__large { border: 1px solid #cfd9de; border-radius: 16px; background: #fff; }
.og-x__label { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); background: rgba(0, 0, 0, .77); color: #fff; font-size: 13px; padding: 2px 6px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.og-x__from { color: #8b98a5; font: 13px system-ui, sans-serif; margin-top: 6px; }
.og-x__small { display: flex; border: 1px solid #cfd9de; border-radius: 16px; background: #fff; color: #0f1419; font-size: 15px; }
.og-x__text { padding: 12px; display: grid; gap: 2px; align-content: center; min-width: 0; }
.og-li__box { background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.og-li__text { padding: 10px 12px; color: #000; font-size: 12px; }
.og-li__title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.og-tg__bubble { background: #fff; color: #000; border-radius: 14px; padding: 8px 10px; font: 15px/1.35 system-ui, -apple-system, Roboto, sans-serif; max-width: 400px; }
.og-tg__link { color: #3390ec; word-break: break-all; display: block; margin-bottom: 6px; }
.og-tg__preview { border-left: 3px solid #3390ec; background: rgba(51, 144, 236, .08); border-radius: 4px; padding: 6px 8px; }
.og-tg__site { color: #3390ec; font-weight: 600; font-size: 14px; }
.og-tg__title { font-weight: 600; font-size: 14px; }
.og-tg__desc { font-size: 14px; }
.og-tg__img { display: block; width: 100%; border-radius: 6px; margin-top: 6px; }
.og-wa__bubble { background: #d9fdd3; color: #111b21; border-radius: 8px; padding: 4px; font: 14px/1.35 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; max-width: 400px; }
.og-wa__preview { background: #d1f4cc; border-radius: 6px; overflow: hidden; }
.og-wa__text { padding: 6px 10px; }
.og-wa__title { font-weight: 600; }
.og-wa__desc { font-size: 13px; color: #54656f; }
.og-wa__domain { font-size: 12px; color: #667781; margin-top: 2px; }
.og-wa__link { color: #027eb5; padding: 6px 6px 2px; word-break: break-all; }
.og-google__box { background: #fff; color: #202124; border-radius: 8px; padding: 14px 16px; font-family: Arial, sans-serif; }
.og-google__site { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.og-google__site img { border-radius: 50%; background: #f1f3f4; padding: 3px; width: 26px; height: 26px; }
.og-google__site small { color: #4d5156; font-size: 12px; }
.og-google__title { color: #1a0dab; font-size: 20px; margin: 6px 0 3px; }
.og-google__desc { color: #4d5156; font-size: 14px; }
@media (max-width: 420px) { .og-grid { grid-template-columns: 1fr; } }

/* --- Попап о файлах cookie (как на purplelabs.eu) --------------------------
   Скрыт атрибутом hidden — показывает его assets/js/cookies.js. */
.cookie-banner[hidden] { display: none; }
.cookie-banner {
	position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 24px);
	width: min(1100px, calc(100% - 32px)); z-index: 100;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 18px 24px; background: rgba(10, 12, 44, 0.96);
	border: 1px solid #19bfb5; border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.cookie-banner-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.cookie-banner__text { color: #b1b4e4; font-family: roboto-c, sans-serif; font-size: clamp(13px, 0.95vw, 16px); line-height: 1.45; }
.cookie-banner__title { display: block; color: #fff; font-family: roboto-c, sans-serif; font-size: clamp(15px, 1.15vw, 19px); margin-bottom: 4px; }
.cookie-banner__link { color: #19bfb5; text-decoration: none; white-space: nowrap; border-bottom: 1px solid rgba(25, 191, 181, 0.4); }
.cookie-banner__link:hover { border-bottom-color: #19bfb5; }
.cookie-banner__buttons { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cookie-banner__btn {
	font-family: roboto, sans-serif; font-size: clamp(12px, 0.9vw, 15px); text-transform: uppercase;
	color: #fff; background: transparent; border: 1px solid #19bfb5; border-radius: 2vw;
	padding: 8px 22px; cursor: pointer; white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}
.cookie-banner__btn-decline { border-color: rgba(177, 180, 228, 0.5); color: #b1b4e4; }
.cookie-banner__btn-decline:hover { border-color: #b1b4e4; color: #fff; }
.cookie-banner__btn-accept:hover { background: #19bfb5; color: #0a0c2c; }
@media (max-width: 768px) {
	.cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; bottom: 10px; width: calc(100% - 20px); }
	.cookie-banner__text { font-size: 13px; }
	.cookie-banner__title { font-size: 15px; }
	.cookie-banner__buttons { justify-content: stretch; }
	.cookie-banner__btn { flex: 1 1 50%; font-size: 13px; padding: 10px 12px; border-radius: 22px; }
}
