/* Full publication */
.sm-fullstory {
	--story-line: color-mix(in srgb, var(--sm-border) 82%, transparent);
	container-name: sm-story;
	container-type: inline-size;
	min-width: 0;
	max-width: 100%;
	margin-bottom: clamp(28px, 5vw, 64px);
	color: var(--sm-text);
}

.sm-fullstory__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--story-line);
}

.sm-fullstory__heading { min-width: 0; }
.sm-fullstory__header--wide .sm-fullstory__heading { width: 100%; }
.sm-fullstory__topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.sm-fullstory__heading h1 {
	max-width: 980px;
	margin: 8px 0 12px;
	font-size: clamp(1.8rem, 3.6vw, 3.45rem);
	line-height: 1.08;
	letter-spacing: -.035em;
	overflow-wrap: break-word;
	word-break: normal;
}
.sm-fullstory__header--wide h1 {
	max-width: none;
	font-size: clamp(1.65rem, 3vw, 2.375rem);
	text-wrap: wrap;
}
.sm-title-nowrap { white-space: nowrap; }
@media (max-width: 360px) {
	.sm-title-nowrap { white-space: normal; }
}

.sm-fullstory__category,
.sm-section-kicker {
	display: inline-flex;
	color: var(--sm-accent);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sm-fullstory__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 18px;
	color: var(--sm-muted);
	font-size: .88rem;
}

.sm-fullstory__meta span + span::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	margin: 0 10px 2px 0;
	border-radius: 50%;
	background: currentColor;
	opacity: .55;
}

.sm-fullstory__meta .sm-fullstory__byline span::before { content: none; }
.sm-fullstory__byline a { color: var(--sm-text); font-weight: 700; text-decoration: none; }
.sm-fullstory__byline a:hover { color: var(--sm-accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.sm-fullstory--news .sm-fullstory__meta { gap: 8px 16px; }
.sm-fullstory--news .sm-fullstory__meta span + span::before { content: none; }

.sm-fullstory__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.sm-fullstory__actions > a {
	display: block;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	text-decoration: none;
}

.sm-story-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 44px;
	padding: 0 15px;
	border: 1px solid var(--story-line);
	border-radius: 13px;
	background: var(--sm-surface);
	color: var(--sm-muted);
	font-size: .9rem;
	font-weight: 750;
	line-height: 1;
	transition: border-color .18s ease, color .18s ease, background-color .18s ease, transform .18s ease;
}
.sm-story-action > svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sm-story-action--icon { width: 44px; padding: 0; }
.sm-story-action--icon.is-active > svg { fill: var(--sm-accent); stroke: var(--sm-accent); }
.sm-story-action__chevron { width: 14px !important; height: 14px !important; }
.sm-fullstory__actions > a:hover .sm-story-action,
.sm-fullstory__actions > a:focus-visible .sm-story-action { border-color: var(--sm-accent); background: var(--sm-accent-soft); color: var(--sm-accent); transform: translateY(-1px); }
.sm-fullstory__actions > a:focus-visible { outline: 0; }

.sm-prose {
	font-size: clamp(1rem, .92rem + .2vw, 1.1rem);
	line-height: 1.78;
	overflow-wrap: anywhere;
}

.sm-prose > :first-child { margin-top: 0; }
.sm-prose > :last-child { margin-bottom: 0; }
.sm-prose p { margin: 0 0 1.25em; }
.sm-prose h2,
.sm-prose h3,
.sm-prose h4 { margin: 1.75em 0 .7em; line-height: 1.22; }
.sm-prose img { max-width: 100%; height: auto; border-radius: 18px; }
/* DLE already supplies a transparent 1px LazyLoad image; keep its surface clear. */
img[data-src]:not(.lazy-loaded) { background: transparent; }
img[data-sm-lazy-ratio] { aspect-ratio: var(--sm-lazy-ratio); }
.sm-prose figure { margin: 30px 0; }
.sm-prose figcaption { margin-top: 10px; color: var(--sm-muted); font-size: .84rem; text-align: center; }

.sm-app-layout {
	display: grid;
	grid-template-columns: minmax(230px, 340px) minmax(0, 1fr);
	gap: clamp(26px, 5vw, 68px);
	align-items: start;
}
.sm-app-layout > *,
.sm-app-main,
.sm-download-group,
.sm-download-group__variants { min-width: 0; }

.sm-app-poster,
.sm-news-hero,
.sm-article-cover { margin: 0; }

.sm-app-poster {
	position: sticky;
	top: 110px;
	overflow: hidden;
	border: 1px solid var(--story-line);
	border-radius: 24px;
	background: var(--sm-surface);
}

.sm-app-poster,
.sm-news-hero { display: block; color: inherit; text-decoration: none; cursor: zoom-in; }
.sm-news-hero { position: relative; }
.sm-media-zoom {
	position: absolute;
	right: 14px;
	bottom: 14px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 13px;
	background: rgba(12, 15, 20, .72);
	color: #fff;
	box-shadow: 0 7px 22px rgba(0, 0, 0, .28);
	backdrop-filter: blur(8px);
	transition: transform .18s ease, background-color .18s ease;
}
.sm-media-zoom svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.sm-app-poster:hover .sm-media-zoom,
.sm-news-hero:hover .sm-media-zoom { background: var(--sm-accent); transform: scale(1.05); }


.sm-app-poster img,
.sm-news-hero img,
.sm-article-cover img { display: block; width: 100%; height: auto; }

.sm-app-description { margin-bottom: 28px; }
.sm-app-specs {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	margin: 28px 0;
}

.sm-app-specs > div,
.sm-app-specs > a {
	position: relative;
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--story-line);
	border-radius: 15px;
	background: var(--sm-surface);
}

.sm-app-specs > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.sm-app-specs > div > span { margin: 0; }
.sm-app-specs > div > strong { flex: 0 0 auto; text-align: right; }

.sm-app-specs__link {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding-right: 42px !important;
	color: var(--sm-text);
	text-decoration: none;
	transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.sm-app-specs__link > span,
.sm-app-specs__link > strong { display: inline; margin: 0; }
.sm-app-specs__link > strong { text-align: right; }
.sm-app-specs__link > i { position: absolute; right: 16px; top: 50%; color: var(--sm-accent); transform: translateY(-50%); }
.sm-app-specs__link:hover { border-color: color-mix(in srgb, var(--sm-accent) 55%, var(--sm-border)); background: var(--sm-accent-soft); transform: translateY(-1px); }
.sm-app-specs__link:focus-visible { outline: 2px solid var(--sm-accent); outline-offset: 3px; }
.sm-app-specs__link,
.sm-app-specs__link:hover,
.sm-app-specs__link:focus,
.sm-app-specs__link * { box-shadow: none !important; text-decoration: none !important; }
.sm-app-specs__link * { border-bottom: 0 !important; }

.sm-app-specs span,
.sm-app-specs strong { display: block; }
.sm-app-specs span { margin-bottom: 5px; color: var(--sm-muted); font-size: .78rem; }
.sm-app-specs strong { font-size: .94rem; overflow-wrap: anywhere; }

.sm-app-root-note { display: none; margin: 16px 0 0; padding: 12px 15px; border-left: 3px solid var(--sm-accent); border-radius: 0 12px 12px 0; background: var(--sm-accent-soft); color: var(--sm-text); }
.sm-app-root-note[data-root="Требуется"] { display: block; }

.sm-app-features {
	margin-top: 28px;
	padding: clamp(18px, 3vw, 28px);
	border-radius: 18px;
	background: var(--sm-surface);
}
.sm-app-features h2 { margin: 0 0 12px; font-size: 1.18rem; }

@media (min-width: 861px) {
	.sm-app-layout { row-gap: 26px; }
	.sm-app-main { display: contents; }
	.sm-app-poster { grid-column: 1; grid-row: 1 / span 2; }
	.sm-app-description { grid-column: 2; grid-row: 1; margin-bottom: 0; }
	.sm-app-specs { grid-column: 2; grid-row: 2; align-self: end; margin: 0; }
	.sm-app-root-note { grid-column: 1 / -1; }
	.sm-app-features {
		display: grid;
		grid-column: 1 / -1;
		grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
		gap: 28px;
		align-items: start;
		margin-top: 4px;
	}
	.sm-app-features h2 { margin: 0; }
}

.sm-news-hero,
.sm-article-cover {
	overflow: hidden;
	margin-bottom: clamp(26px, 5vw, 54px);
	border-radius: clamp(18px, 3vw, 30px);
	background: var(--sm-surface);
}
.sm-news-hero img { max-height: 680px; object-fit: cover; }
.sm-news-body { max-width: 940px; margin-inline: auto; overflow-wrap: break-word; word-break: normal; }
.sm-news-sources { max-width: 940px; margin: 26px auto 0; color: var(--sm-muted); font-size: .92rem; line-height: 1.6; overflow-wrap: anywhere; }
.sm-news-sources strong { color: var(--sm-text); font-weight: 700; }
.sm-news-sources a { color: var(--sm-accent-strong); text-decoration: none; }
.sm-news-sources a:hover { text-decoration: underline; }
.sm-news-body figure { text-align: center; }
.sm-news-body figure > br:first-child { display: none; }
.sm-news-body figure img,
.sm-news-body p > img:only-child { display: block; max-width: 100%; height: auto; margin-inline: auto; float: none !important; }
.sm-news-body > figure:not(.sm-publish-carousel):not(:has(figcaption)),
.sm-news-body > p:has(> img:only-child),
.sm-news-body > p:has(> a:only-child > img:only-child) { display: grid; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; place-items: center; overflow: hidden; border-radius: 18px; }
.sm-news-body > figure:not(.sm-publish-carousel) > a,
.sm-news-body > p > a:only-child:has(> img:only-child) { display: grid; width: 100%; height: 100%; min-height: 0; grid-template-rows: minmax(0, 1fr); place-items: center; }
.sm-news-body > figure:not(.sm-publish-carousel) img,
.sm-news-body > p > img:only-child,
.sm-news-body > p > a:only-child > img:only-child { width: auto; height: 100%; max-width: 100%; max-height: 100%; aspect-ratio: var(--sm-lazy-ratio, auto); object-fit: contain; border-radius: 18px; }
.sm-news-body :is(figure:has(> img), figure:has(> a > img), p:has(> img:only-child), p:has(> a:only-child > img:only-child)) { position: relative; }
.sm-news-body :is(figure:has(> img), figure:has(> a > img), p:has(> img:only-child), p:has(> a:only-child > img:only-child))[data-sm-zoom-ready]::after {
	position: absolute;
	right: var(--sm-image-zoom-right);
	bottom: var(--sm-image-zoom-bottom);
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 13px;
	background: rgba(19, 22, 27, .82);
	color: #fff;
	content: "\f00e";
	font-family: FontAwesome;
	font-size: 19px;
	line-height: 1;
	pointer-events: none;
}
.sm-news-body :is(figure:has(> img), figure:has(> a > img), p:has(> img:only-child), p:has(> a:only-child > img:only-child)) img { cursor: zoom-in; }
.sm-news-body > p:empty,
.sm-news-body > p:has(> br:only-child) { display: none; }
.sm-news-body blockquote { margin: 1.45em 0; }
.sm-news-body blockquote + p[style*="text-align:right"] { margin-top: -.45em; margin-bottom: 1.5em; color: var(--sm-muted); font-size: .88em; }
.sm-prose .sm-publish-quote {
	position: relative;
	margin: 1.25em 0;
	padding: 10px 14px;
	border: 0 !important;
	border-left: 3px solid var(--sm-accent) !important;
	border-radius: 8px;
	background: color-mix(in srgb, var(--sm-accent) 11%, var(--sm-surface-2)) !important;
	color: var(--sm-text) !important;
	font: inherit;
	letter-spacing: normal;
	line-height: 1.55;
}
.sm-prose .sm-publish-quote::before,
.sm-prose .sm-publish-quote::after { display: none !important; content: none !important; }
.sm-prose .sm-publish-quote__caption { display: block; margin-top: .55em; color: var(--sm-muted); font-size: .86em; text-align: right; }
.sm-prose .sm-publish-checklist { margin: 1.25em 0; padding: 0; list-style: none; }
.sm-prose .sm-publish-checklist > li { position: relative; min-height: 1.65em; margin: .35em 0; padding-left: 2em; list-style: none; }
.sm-prose .sm-publish-checklist > li::before { position: absolute; top: .3em; left: 0; display: grid; width: 1.2em; height: 1.2em; box-sizing: border-box; place-items: center; border: 2px solid var(--sm-muted); border-radius: 5px; content: ""; }
.sm-prose .sm-publish-checklist > li:is(.sm-publish-checklist__checked, [data-checked="true"])::before { border-color: var(--sm-accent); background: var(--sm-accent); color: var(--sm-on-accent); content: "✓"; font-size: .9em; font-weight: 800; line-height: 1; }
.sm-prose .sm-publish-delimiter { display: block; margin: 1.4em 0; color: var(--sm-muted); font-size: 1.15em; font-weight: 700; letter-spacing: .18em; line-height: 1.5; text-align: center; }
.sm-prose .sm-publish-carousel { position: relative; width: 100%; max-width: 100%; margin: 1.5em auto; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; }
.sm-prose .sm-publish-carousel:not([data-sm-carousel-ready]) > figure { position: absolute; inset: 0; display: grid; width: 100%; height: 100%; min-height: 0; margin: 0; grid-template-rows: minmax(0, 1fr); place-items: center; }
.sm-prose .sm-publish-carousel:not([data-sm-carousel-ready]) > figure:not(:first-child) { display: none; }
.sm-prose .sm-publish-carousel:not([data-sm-carousel-ready]) > figure a { display: grid; width: 100%; height: 100%; min-height: 0; grid-template-rows: minmax(0, 1fr); place-items: center; }
.sm-prose .sm-publish-carousel:not([data-sm-carousel-ready]) > figure img { display: block; width: auto; height: 100%; max-width: 100%; max-height: 100%; aspect-ratio: var(--sm-lazy-ratio, auto); object-fit: contain; border-radius: 16px; }
.sm-prose .sm-publish-carousel__track { display: flex; width: 100%; height: 100%; aspect-ratio: 16 / 9; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sm-prose .sm-publish-carousel__track::-webkit-scrollbar { display: none; }
.sm-prose .sm-publish-carousel__track figure { position: relative; flex: 0 0 100%; display: grid; width: 100%; height: 100%; min-width: 0; min-height: 0; margin: 0; grid-template-rows: minmax(0, 1fr); transform: none; place-items: center; scroll-snap-align: start; }
.sm-prose .sm-publish-carousel__track figure a { display: grid; width: 100%; height: 100%; min-height: 0; grid-template-rows: minmax(0, 1fr); place-items: center; }
.sm-prose .sm-publish-carousel__track figure img { display: block; width: auto; height: 100%; max-width: 100%; max-height: 100%; margin: auto; aspect-ratio: var(--sm-lazy-ratio, auto); object-fit: contain; border-radius: 16px; }
.sm-prose .sm-publish-carousel > button { position: absolute; z-index: 2; top: 50%; display: grid; width: 42px; height: 42px; padding: 0; transform: translateY(-50%); place-items: center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; background: rgba(19, 22, 27, .82); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.sm-prose .sm-publish-carousel > button:hover { border-color: var(--sm-accent); background: var(--sm-accent); color: var(--sm-on-accent); }
.sm-prose .sm-publish-carousel > button:disabled { opacity: .3; cursor: default; }
.sm-prose .sm-publish-carousel__previous { left: 12px; }
.sm-prose .sm-publish-carousel__next { right: 12px; }
.sm-prose .sm-publish-carousel__counter { position: absolute; z-index: 2; right: 64px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(19, 22, 27, .82); color: #fff; font-size: .8rem; line-height: 1.6; pointer-events: none; }
@media (max-width: 600px) {
	.sm-media-viewer__previous,
	.sm-media-viewer__next { width: 38px; height: 38px; font-size: 25px; }
	.sm-prose .sm-publish-carousel > button { width: 34px; height: 34px; font-size: 24px; }
	.sm-prose .sm-publish-carousel__previous { left: 6px; }
	.sm-prose .sm-publish-carousel__next { right: 6px; }
	.sm-prose .sm-publish-carousel__counter { right: 46px; bottom: 7px; }
}
.sm-article-cover { max-width: 1120px; margin-inline: auto; }
.sm-article-cover img { max-height: 720px; object-fit: cover; }
.sm-article-body { max-width: 820px; margin-inline: auto; font-size: clamp(1.02rem, .94rem + .28vw, 1.18rem); }
.sm-article-body figure { width: min(1100px, calc(100vw - 40px)); margin-left: 50%; transform: translateX(-50%); }

.sm-fullstory-gallery {
	position: relative;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(250px, 38%);
	gap: 14px;
	overflow-x: auto;
	margin-top: 42px;
	padding: 2px 2px 14px;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}
.sm-fullstory-gallery[hidden] { display: none; }
.sm-fullstory-gallery__item { overflow: hidden; min-height: 220px; border-radius: 18px; background: var(--sm-surface); scroll-snap-align: start; }
.sm-fullstory-gallery__item img { display: block; width: 100%; height: 100%; max-height: 430px; object-fit: cover; }

.sm-downloads { margin-top: clamp(38px, 6vw, 70px); }
.sm-section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 18px; }
.sm-section-heading h2 { margin: 5px 0 0; font-size: clamp(1.25rem, 2vw, 1.7rem); }
.sm-downloads__list { display: grid; gap: 10px; }

.sm-download-group {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) minmax(280px, auto);
	gap: 16px;
	align-items: center;
	padding: 14px 16px 14px 20px;
	border: 1px solid var(--story-line);
	border-radius: 17px;
	background: var(--sm-surface);
}
.sm-download-group__name { display: grid; gap: 4px; min-width: 0; font-weight: 800; overflow-wrap: anywhere; }
.sm-download-group__count { color: var(--sm-muted); font-size: .78rem; font-weight: 500; }
.sm-download-group__variants { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.sm-download-variant {
	display: inline-flex;
	box-sizing: border-box;
	width: 170px;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 52px;
	padding: 8px 10px;
	border-radius: 12px;
	background: var(--sm-accent);
	color: #f4f4f4 !important;
	font-size: .86rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none !important;
}
.sm-download-variant:hover { filter: brightness(1.07); transform: translateY(-1px); }
.sm-download-variant__text { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.sm-download-variant__text strong { font: inherit; line-height: 1; }
.sm-download-variant__text small { color: inherit; font-size: .74rem; font-weight: 600; line-height: 1; opacity: .78; }
.sm-download-variant__icon { display: block; flex: none; width: 18px; height: 18px; fill: currentColor; }

.sm-archive { margin-top: 12px; }
.sm-spoiler__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	padding: 16px 20px;
	border: 1px solid var(--story-line);
	border-radius: 16px;
	background: transparent;
	color: var(--sm-text);
	text-align: left;
	cursor: pointer;
}
.sm-spoiler__toggle > span,
.sm-spoiler__toggle strong { display: block; }
.sm-spoiler__toggle strong { margin-top: 3px; font-size: 1rem; }
.sm-spoiler__toggle i { transition: transform .22s ease; }
.sm-spoiler__toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.sm-spoiler__panel { padding: 10px 0 0; }

.sm-telegram-note {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 26px;
	padding: 17px 20px;
	border-radius: 17px;
	background: color-mix(in srgb, #229ed9 13%, var(--sm-surface));
	color: var(--sm-text);
}
.sm-telegram-note > i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #229ed9; color: white; }
.sm-telegram-note span,
.sm-telegram-note strong,
.sm-telegram-note small { display: block; }
.sm-telegram-note small { margin-top: 2px; color: var(--sm-muted); }
.sm-telegram-note,
.sm-telegram-note:hover,
.sm-telegram-note:focus,
.sm-telegram-note * { border-bottom: 0 !important; box-shadow: none !important; text-decoration: none !important; }

.sm-fullstory__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 40px;
	padding-top: 22px;
	border-top: 1px solid var(--story-line);
}
.sm-fullstory__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--sm-muted); }
.sm-fullstory__tags a { padding: 6px 10px; border-radius: 999px; background: var(--sm-surface); }
.sm-fullstory__footer-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.sm-share-panel {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 42px;
	padding: 6px 7px 6px 12px;
	border: 1px solid var(--story-line);
	border-radius: 14px;
	background: var(--sm-surface);
}
.sm-share-panel__label { display: inline-flex; align-items: center; gap: 7px; margin-right: 2px; color: var(--sm-muted); font-size: .78rem; font-weight: 750; }
.sm-share-panel__label svg,
.sm-share-copy svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sm-share-social { position: relative; flex: 0 0 143px; width: 143px; height: 32px; }
.sm-share-social__loading { position: absolute; inset: 0; display: flex; gap: 5px; }
.sm-share-social__loading i { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 9px; background: var(--sm-surface-2); }
.sm-share-social:has(.ya-share2__list) .sm-share-social__loading { display: none; }
.sm-share-social > .ya-share2 { position: absolute; inset: 0; }
.sm-share-panel .ya-share2,
.sm-share-panel .ya-share2__container,
.sm-share-panel .ya-share2__list { display: inline-flex !important; align-items: center; margin: 0 !important; }
.sm-share-panel .ya-share2__list { gap: 5px; }
.sm-share-panel .ya-share2__item { margin: 0 !important; }
.sm-share-panel .ya-share2__link { display: grid !important; width: 32px !important; height: 32px !important; place-items: center; border: 0 !important; border-radius: 9px !important; box-shadow: none !important; text-decoration: none !important; transition: transform .16s ease, filter .16s ease; }
.sm-share-panel .ya-share2__link:hover { transform: translateY(-2px); filter: brightness(1.08); }
.sm-share-panel .ya-share2__badge { display: block !important; width: 32px !important; height: 32px !important; border-radius: 9px !important; }
.sm-share-panel .ya-share2__icon { width: 32px !important; height: 32px !important; background-size: 32px 32px !important; }
.sm-share-copy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 32px;
	padding: 0 9px;
	border: 0;
	border-left: 1px solid var(--story-line);
	background: transparent;
	color: var(--sm-muted);
	font: inherit;
	font-size: .76rem;
	font-weight: 750;
	cursor: pointer;
}
.sm-share-copy:hover { color: var(--sm-accent); }
.sm-share-copy.is-copied { color: #26a87b; }
.sm-share-copy.is-error { color: #d9584f; }
.sm-fullstory__rating {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	min-height: 42px;
	padding: 7px 12px;
	border: 1px solid var(--story-line);
	border-radius: 14px;
	background: var(--sm-surface);
	color: var(--sm-muted);
	font-size: .78rem;
	font-variant-numeric: tabular-nums;
}
.sm-rating-summary { display: grid; flex: 0 0 158px; gap: 1px; width: 158px; min-width: 158px; line-height: 1.25; }
.sm-rating-summary strong { color: var(--sm-text); font-size: .79rem; font-weight: 780; }
.sm-rating-summary > span { color: var(--sm-muted); font-size: .7rem; }
.sm-fullstory__rating.is-preview .sm-rating-summary strong { color: var(--sm-accent); }
.sm-fullstory__rating .rating { float: none; width: 126px; height: 24px; color: inherit; font-family: inherit; font-size: inherit; }
.sm-fullstory__rating .unit-rating {
	position: relative;
	display: block;
	width: 126px;
	height: 24px;
	margin: 0 !important;
	padding: 0;
	background: none !important;
	list-style: none;
	isolation: isolate;
}
.sm-fullstory__rating .unit-rating::before,
.sm-fullstory__rating .unit-rating .current-rating::before {
	content: "★★★★★";
	display: block;
	width: 126px;
	font-family: Arial, sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: 2px;
	white-space: nowrap;
}
.sm-fullstory__rating .unit-rating::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	color: color-mix(in srgb, var(--sm-muted) 48%, transparent);
}
.sm-fullstory__rating .unit-rating li { float: none; margin: 0; padding: 0; text-indent: -9999px; }
.sm-fullstory__rating .unit-rating .current-rating {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: block;
	overflow: hidden;
	height: 24px;
	background: none !important;
	text-indent: -9999px;
}
.sm-fullstory__rating .unit-rating .current-rating::before {
	color: #ff982f;
	text-indent: 0;
	filter: drop-shadow(0 2px 5px rgba(244, 123, 32, .2));
}
.sm-fullstory__rating.is-preview .unit-rating .current-rating { opacity: 0; }
.sm-fullstory__rating.is-interactive .unit-rating::before,
.sm-fullstory__rating.is-interactive .unit-rating .current-rating { opacity: 0; }
.sm-fullstory__rating .unit-rating li a {
	position: absolute;
	top: 0 !important;
	z-index: 3;
	display: block;
	width: 25.2px !important;
	height: 24px !important;
	padding: 0;
	background: none !important;
	text-decoration: none !important;
	text-indent: -9999px;
}
.sm-fullstory__rating .unit-rating li a::before {
	content: "★";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: transparent;
	font-family: Arial, sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 24px;
	text-indent: 0;
	-webkit-text-stroke: 1.35px color-mix(in srgb, var(--sm-text) 82%, transparent);
	transition: color .3s ease, -webkit-text-stroke-color .3s ease, transform .3s ease;
}
.sm-fullstory__rating .unit-rating a.r1-unit { left: 0 !important; }
.sm-fullstory__rating .unit-rating a.r2-unit { left: 25.2px !important; }
.sm-fullstory__rating .unit-rating a.r3-unit { left: 50.4px !important; }
.sm-fullstory__rating .unit-rating a.r4-unit { left: 75.6px !important; }
.sm-fullstory__rating .unit-rating a.r5-unit { left: 100.8px !important; }
.sm-fullstory__rating .unit-rating li a:is(:hover, :focus-visible) { z-index: 4; border-radius: 6px; outline: 0; }
.sm-fullstory__rating .unit-rating li a.is-average-star::before {
	color: #ff982f;
	-webkit-text-stroke-color: #ff982f;
}
.sm-fullstory__rating.is-preview .unit-rating li a::before {
	color: transparent;
	-webkit-text-stroke-color: color-mix(in srgb, var(--sm-text) 90%, transparent);
}
.sm-fullstory__rating.is-preview .unit-rating li a.is-preview-star::before {
	color: #ff982f;
	-webkit-text-stroke-color: #ff982f;
	filter: drop-shadow(0 2px 5px rgba(244, 123, 32, .2));
}
.sm-fullstory__rating.is-saved .unit-rating li a::before {
	color: transparent;
	-webkit-text-stroke-color: color-mix(in srgb, var(--sm-text) 72%, transparent);
}
.sm-fullstory__rating.is-saved .unit-rating li a.is-confirmed-star::before {
	color: #35b98a;
	-webkit-text-stroke-color: #35b98a;
	filter: drop-shadow(0 2px 6px rgba(53, 185, 138, .28));
	transform: scale(1.08);
}
.sm-fullstory__rating.is-saved .sm-rating-summary strong { color: #35b98a; }
.sm-fullstory__rating .unit-rating li a:focus-visible { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--sm-accent) 72%, transparent); }
.sm-fullstory__rating > span { white-space: nowrap; }
.sm-rating-edit { border: 0; background: transparent; color: var(--sm-accent); cursor: pointer; }
.sm-fullstory:has(+ .sm-comments-section) { margin-bottom: 0; }
.sm-comments-section { margin-top: clamp(18px, 2vw, 28px); }
.sm-section-title { margin-bottom: 20px; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.sm-section-title span { color: var(--sm-muted); font-size: .72em; }

@media (max-width: 860px) {
	.sm-app-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.sm-app-main { display: block; }
	.sm-app-poster { position: relative; top: auto; }
	.sm-app-poster { width: min(100%, 420px); margin-inline: auto; }
	.sm-app-specs { grid-template-columns: minmax(0, 1fr); }
	.sm-fullstory-gallery { grid-auto-columns: 68%; }
}

@media (max-width: 620px) {
	.sm-fullstory__footer-actions { width: 100%; margin-left: 0; flex-wrap: wrap; }
	.sm-share-panel { width: 100%; justify-content: center; }
	.sm-fullstory__rating { width: 100%; justify-content: space-between; }
	.sm-rating-summary { flex-basis: 158px; width: 158px; min-width: 158px; text-align: right; }
}

@container sm-story (max-width: 800px) {
	.sm-app-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.sm-app-main { display: block; }
	.sm-app-poster { position: relative; top: auto; width: min(100%, 420px); margin-inline: auto; }
	.sm-app-description { margin-bottom: 28px; }
	.sm-app-specs { grid-template-columns: minmax(0, 1fr); margin: 28px 0; }
	.sm-app-features { display: block; margin-top: 28px; }
	.sm-app-features h2 { margin: 0 0 12px; }
}

@media (max-width: 700px) {
	.sm-app-layout { grid-template-columns: minmax(0, 1fr); }
	.sm-app-main { display: block; }
	.sm-app-poster { width: min(100%, 350px); margin-inline: auto; }
	.sm-app-specs { grid-template-columns: minmax(0, 1fr); }
}


@media (max-width: 620px) {
	.sm-fullstory__header { gap: 12px; margin-bottom: 20px; padding-bottom: 18px; }
	.sm-fullstory__heading h1 { font-size: clamp(1.65rem, 8vw, 2.25rem); }
	.sm-fullstory__actions { align-self: flex-start; }
	.sm-story-action--edit { width: 44px; padding: 0; }
	.sm-story-action--edit > span,
	.sm-story-action__chevron { display: none; }
	.sm-app-layout { grid-template-columns: 1fr; }
	.sm-app-poster { width: min(100%, 330px); margin-inline: auto; }
	.sm-app-specs { grid-template-columns: minmax(0, 1fr); }
	.sm-prose { line-height: 1.68; }
	.sm-prose figure,
	.sm-article-body figure { width: auto; margin: 22px 0; transform: none; }
	.sm-news-hero,
	.sm-article-cover { margin-inline: -14px; border-radius: 0; }
	.sm-fullstory-gallery { grid-auto-columns: 88%; margin-inline: -14px; padding-inline: 14px; }
	.sm-download-group { gap: 12px; padding: 15px; }
	.sm-download-group__variants { display: grid; width: min(100%, 348px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sm-download-variant { width: 100%; min-width: 0; padding-inline: 8px; font-size: .8rem; white-space: normal; }
	.sm-download-variant small { font-size: .68rem; }
	.sm-telegram-note { align-items: flex-start; padding: 15px; }
	.sm-telegram-note small { font-size: .76rem; }
	.sm-fullstory__footer { align-items: flex-start; }
	.sm-fullstory__footer-actions { width: 100%; margin-left: 0; justify-content: stretch; }
	.sm-share-panel { flex: 1 1 100%; flex-wrap: nowrap; justify-content: flex-start; overflow: hidden; }
	.sm-share-panel__label { flex: 0 0 auto; margin: 0 2px 0 0; }
	.sm-share-copy { margin-left: auto; }
}

@media (max-width: 680px) {
	.sm-download-group { grid-template-columns: 1fr; }
	.sm-download-group__variants { justify-content: flex-start; }
}

@media (max-width: 580px) {
	.sm-download-group__variants { width: 100%; }
	.sm-download-group.is-single .sm-download-variant { grid-column: 1 / -1; }
}

@media (max-width: 390px) {
	.sm-share-panel { gap: 6px; padding-left: 9px; }
	.sm-share-panel__label > span { display: none; }
	.sm-share-panel .ya-share2__list { gap: 3px; }
	.sm-share-copy { padding-inline: 7px; }
	.sm-rating-summary { flex: 1 1 auto; width: auto; min-width: 0; white-space: normal !important; }
	.sm-app-specs { grid-template-columns: 1fr; }
	.sm-download-group__variants { width: 100%; grid-template-columns: 1fr; }
}


