html[lang="ru"] [data-lang-only="en"],
html[lang="en"] [data-lang-only="ru"] { display: none; }
.comparison-page [hidden] { display: none !important; }

.comparison-post {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
  padding: 48px 0 96px;
  color: var(--foreground);
  font-size: 16px;
  line-height: 1.8;
}
.comparison-post__back { color: var(--muted-foreground); font-size: 14px; text-decoration: none; }
.comparison-post__back:hover { color: var(--foreground); }
.comparison-post__header { margin: 28px 0 36px; }
.comparison-post__header--cover { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 32px; }
.comparison-post__intro { min-width: 0; }
.comparison-post__cover { margin: 0; }
.comparison-post__cover img { display: block; width: 100%; height: auto; }
.blog-card__cover--pulse img { object-position: center bottom; }
@media (max-width: 760px) {
  .comparison-post__header--cover { grid-template-columns: 1fr; gap: 24px; }
  .comparison-post__cover { width: min(100%, 420px); justify-self: center; }
}
.comparison-post__meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted-foreground); font-size: 13px; }
.comparison-post h1 { margin: 12px 0 18px; font-size: clamp(28px, 4vw, 38px); line-height: 1.2; font-weight: 500; letter-spacing: -.035em; }
.comparison-post__lead { margin: 0; font-size: 18px; line-height: 1.7; color: var(--muted-foreground); }
.comparison-post__header .proof-caption { color: var(--muted-foreground); font-size: 13px; line-height: 1.65; }
.comparison-post h2 { margin: 48px 0 16px; font-size: 25px; line-height: 1.3; font-weight: 500; letter-spacing: -.025em; }
.comparison-post p { margin: 16px 0; }
.comparison-post a:not(.comparison-post__back) { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--muted-foreground); }
.comparison-post a:hover { text-decoration-color: var(--foreground); }
.comparison-post a:focus-visible, .comparison-post summary:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; border-radius: 4px; }
.comparison-post strong { font-weight: 600; }
.comparison-post__note { font-size: 13px; line-height: 1.65; color: var(--muted-foreground); }
.comparison-post blockquote { margin: 24px 0; padding: 18px 22px; border-left: 2px solid var(--foreground); background: var(--muted); border-radius: 0 8px 8px 0; }
.comparison-post blockquote p { margin: 0; }
.comparison-post__end { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }

.proof-block { margin: 40px 0; padding: 32px 0 0; border-top: 1px solid var(--border); scroll-margin-top: 100px; }
.proof-block__eyebrow { margin-bottom: 10px; letter-spacing: normal; text-transform: none; }
.proof-block h2 { margin: 6px 0 14px; }
.proof-block__intro { color: var(--muted-foreground); font-size: 15px; }
.proof-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.proof-card { padding: 20px; }
.proof-card__brand { font-size: 15px; font-weight: 600; }
.proof-card__date { display: block; margin-top: 3px; color: var(--muted-foreground); font-size: 12px; line-height: 1.6; }
.proof-card__art { display: grid; place-items: center; height: 180px; margin: 12px 0; border-radius: 10px; background: var(--muted); }
.proof-card__art img { display: block; width: 180px; height: 160px; max-width: 100%; object-fit: contain; }
.proof-card__art .is-pixel { image-rendering: pixelated; }
.proof-card__name { display: block; margin-top: 12px; font-size: 23px; line-height: 1.3; font-weight: 500; letter-spacing: -.02em; }
.proof-card__condition { display: block; margin-top: 7px; font-size: 17px; }
.proof-card__art-date { display: block; margin-top: 10px; color: var(--muted-foreground); font-size: 12px; line-height: 1.6; }
.proof-card--text .proof-card__name { margin-top: 22px; }
.proof-matches { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 18px 0 0; list-style: none; }
.proof-matches li { padding: 5px 10px; border-radius: 6px; background: var(--success-muted); color: var(--success); font-size: 13px; line-height: 1.5; }
.proof-block .proof-caption { margin: 12px 0 0; color: var(--muted-foreground); font-size: 13px; line-height: 1.65; }
.proof-source { margin-top: 24px; font-size: 14px; line-height: 1.65; }
.proof-source summary { cursor: pointer; color: var(--foreground); font-weight: 500; }
.proof-source summary:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; border-radius: 4px; }
.proof-source p { margin: 12px 0; }
.proof-record { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; margin: 16px 0; border-radius: 10px; background: var(--muted); }
.proof-record div { min-width: 0; }
.proof-record dt { font-size: 12px; color: var(--muted-foreground); }
.proof-record dd { margin: 3px 0 0; overflow-wrap: anywhere; }
.proof-more { margin: 18px 0 0; padding: 0; list-style: none; }
.proof-more li { padding: 16px 0; border-top: 1px solid var(--border); }
.proof-more strong { display: block; font-size: 18px; }
.proof-more__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; font-size: 14px; }
.proof-more__pair span { min-width: 0; }
.proof-more__pair small { display: block; margin-top: 4px; color: var(--muted-foreground); font-size: 12px; }
.proof-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.proof-step { padding: 18px; }
.proof-step time { display: block; color: var(--muted-foreground); font-size: 12px; }
.proof-step h3 { margin: 8px 0 12px; font-size: 18px; line-height: 1.3; font-weight: 500; }
.proof-step p { margin: 8px 0; font-size: 14px; line-height: 1.7; }
.proof-step blockquote { margin: 12px 0; padding: 12px; font-size: 14px; }
.proof-source-index h2 { margin-top: 32px; }
.proof-source-index code { font-size: 12px; overflow-wrap: anywhere; }
.proof-source-index ul { padding-left: 20px; }
.proof-source-index [id] { scroll-margin-top: 100px; }
.proof-source-index .proof-caption { color: var(--muted-foreground); font-size: 13px; line-height: 1.65; }

.comparison-teaser { display: grid; align-content: center; gap: 16px; padding: 24px; background: var(--muted); }
.comparison-teaser__brands { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted-foreground); font-size: 12px; }
.comparison-teaser__name { color: var(--foreground); font-size: 24px; line-height: 1.1; letter-spacing: -.03em; font-weight: 500; }
.comparison-teaser__condition { display: flex; justify-content: space-between; gap: 12px; color: var(--foreground); font-size: 13px; border-top: 1px solid var(--border); padding-top: 12px; }

@media (max-width: 600px) {
  .comparison-post { padding-top: 24px; padding-bottom: 64px; }
  .comparison-post__header { margin-top: 22px; }
  .comparison-post__lead { font-size: 17px; }
  .comparison-post h2 { margin-top: 38px; font-size: 22px; }
  .proof-block { padding: 28px 0 0; }
  .proof-block h2 { margin-top: 6px; }
  .proof-card { padding: 12px; }
  .proof-card__art { height: 138px; }
  .proof-card__art img { width: 128px; height: 128px; }
  .proof-card__name { font-size: 19px; }
  .proof-card__condition { font-size: 15px; }
  .proof-card__brand { font-size: 14px; }
  .proof-card__date { font-size: 11px; }
  .proof-pair { gap: 8px; }
  .proof-matches li { font-size: 12px; }
  .proof-timeline { grid-template-columns: 1fr; }
  .proof-record { grid-template-columns: 1fr; }
  .proof-more__pair { font-size: 13px; }
}

.proof-block .proof-gap { margin: 16px 0 0; padding: 12px 16px; border-left: 2px solid var(--foreground); border-radius: 0 8px 8px 0; background: var(--muted); font-size: 14px; line-height: 1.6; }
.proof-gap strong { display: block; }

.proof-pair--history { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-legacy-icon { display: block; width: 84px; height: 160px; background: var(--foreground); -webkit-mask: url("img/fantasy-time-2026-09-21.svg") center / contain no-repeat; mask: url("img/fantasy-time-2026-09-21.svg") center / contain no-repeat; }
@media (max-width: 760px) {
  .proof-pair--history { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-pair--history > .proof-card:last-child { grid-column: 1 / -1; }
  .proof-legacy-icon { width: 66px; height: 128px; }
}

.proof-card__version { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; font-weight: 500; }
.proof-matches li.is-context { color: var(--muted-foreground); background: var(--muted); }
@media (max-width: 760px) {
  .proof-pair--history .proof-card__version { min-height: 2.8em; }
  .proof-pair--history .proof-card__date { min-height: 3.2em; }
}

.proof-feature-list { padding: 0; margin: 16px 0 0; list-style: none; font-size: 14px; line-height: 1.65; }
.proof-feature-list li { padding: 8px 0; border-top: 1px solid var(--border); }
.proof-feature-list li:last-child { padding-bottom: 0; }

.proof-table-wrap { margin-top: 20px; }
.proof-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 1.5; }
.proof-table caption { text-align: left; color: var(--muted-foreground); font-size: 13px; margin-bottom: 12px; }
.proof-table th, .proof-table td { padding: 13px 12px; border-bottom: 1px solid var(--border); text-align: left; overflow-wrap: anywhere; }
.proof-table th:first-child { width: 42%; }
.proof-table thead th { color: var(--muted-foreground); font-size: 12px; font-weight: 500; }
.proof-table tbody th { font-weight: 600; }
.proof-table small { display: block; margin-top: 4px; color: var(--muted-foreground); font-size: 11px; font-weight: 400; }
.proof-table__match { background: var(--muted); }
.proof-table__match td { font-weight: 600; }
.proof-card h3 { margin: 10px 0; font-size: 19px; line-height: 1.4; font-weight: 600; }
.proof-card blockquote { margin: 12px 0 0; padding: 12px 16px; font-size: 14px; }
.proof-card p { font-size: 14px; }
.proof-overview { list-style: none; margin: 20px 0 0; padding: 0; }
.proof-overview li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--border); scroll-margin-top: 100px; }
.proof-overview span { color: var(--muted-foreground); font-size: 14px; }
.proof-table tr { scroll-margin-top: 100px; }

.screen-proof-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.screen-proof { display: flex; flex-direction: column; margin: 0; }
.screen-proof figcaption { display: grid; align-content: start; gap: 4px; min-height: 104px; padding: 18px 20px; border-bottom: 1px solid var(--gray-a2); line-height: 1.5; }
.screen-proof figcaption strong { font-size: 14px; font-weight: 600; }
.screen-proof figcaption span, .screen-proof small { display: block; color: var(--muted-foreground); font-size: 12px; line-height: 1.6; }
.screen-proof__stage { display: flex; flex: 1; min-height: 310px; padding: 20px; background: var(--background); }
.screen-proof__image { display: block; position: relative; width: min(100%, var(--shot-width)); aspect-ratio: var(--shot-ratio); overflow: hidden; border-radius: 8px; }
.screen-proof__image img { display: block; width: 100%; height: auto; }
.screen-proof__image--crop img { width: 182%; max-width: none; }
.screen-proof__mark { position: absolute; box-sizing: border-box; border: 2px solid var(--destructive); border-radius: 5px; pointer-events: none; }
.screen-proof__origin { display: inline-block; margin: 10px 0 4px; font-size: 13px; }
.screen-proof__open { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; width: 100%; min-width: 0; min-height: 44px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: zoom-in; }
.screen-proof__zoom-hint { margin-top: auto; }
.screen-proof__open:hover .screen-proof__zoom-hint { background: var(--bg-2); }
.screen-proof__open:focus-visible, .proof-viewer button:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
.proof-public-sources { list-style: none; padding: 0; }
.proof-public-sources li { margin-top: 12px; }
.proof-public-sources small { display: block; color: var(--muted-foreground); font-size: 12px; }

.proof-viewer { width: min(960px, calc(100% - 24px)); max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); box-sizing: border-box; margin: auto; padding: 14px; overflow: hidden; color: var(--foreground); background: var(--card); border: 1px solid var(--border); border-radius: 16px; }
.proof-viewer::backdrop { background: rgba(0, 0, 0, .8); }
.proof-viewer__bar { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.proof-viewer__title { min-width: 0; flex: 1; margin: 0; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.proof-viewer .fui-button { flex: 0 0 44px; width: 44px; height: 44px; }
.proof-viewer button:disabled { opacity: .4; cursor: default; }
.proof-viewer output { min-width: 38px; font-size: 12px; text-align: center; }
.proof-viewer__canvas { max-height: calc(100dvh - 180px); min-height: 100px; overflow: auto; overscroll-behavior: contain; background: var(--muted); border-radius: 8px; }
.proof-viewer__canvas img { display: block; max-width: none; height: auto; margin: 0 auto; }
.proof-viewer__hint { margin: 10px 0 0; color: var(--muted-foreground); font-size: 12px; line-height: 1.5; }
.proof-block > h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 600; }

@media (max-width: 600px) {
  .comparison-post { width: calc(100% - 24px); }
  .proof-block { margin: 32px 0; }
  .proof-table { font-size: 13px; }
  .proof-table th, .proof-table td { padding: 12px 6px; }
  .proof-table th:first-child { width: 43%; }
  .proof-overview li { grid-template-columns: 1fr; gap: 3px; }
  #ru-promo .proof-pair, #en-promo .proof-pair { grid-template-columns: 1fr; }
  .proof-source-index .proof-pair { grid-template-columns: 1fr; }
  .screen-proof-pair { grid-template-columns: 1fr; gap: 10px; }
  .screen-proof figcaption { min-height: 0; padding: 16px; }
  .screen-proof__stage { min-height: 0; padding: 20px 16px 16px; }
  .screen-proof__zoom-hint { min-height: 44px; }
}

/* Article adapters: shared primitives are generated from the UI kit. */
.comparison-post .comparison-post__back.fui-button { margin-left: -12px; }
.comparison-post a.proof-link { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; text-decoration: none; font-weight: 500; font-size: 14px; line-height: 1.5; }
.comparison-post a.proof-link:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.comparison-post a.proof-link .fui-icon { color: var(--muted-foreground); }
.proof-source-index .proof-card { background: var(--bg-1); }
.proof-table-wrap { overflow: hidden; border: 1px solid var(--gray-a2); border-radius: var(--radius-5); }
.proof-table caption { padding: 14px 16px; margin: 0; color: var(--foreground); border-bottom: 1px solid var(--gray-a2); }
.proof-table thead { background: var(--bg-a1); }
.proof-table tbody tr:last-child > * { border-bottom: 0; }
.proof-table__match { background: var(--bg-a1); }
.proof-viewer { padding: 20px; border-radius: var(--radius-5); box-shadow: var(--shadow-4); }
.proof-viewer__bar { flex-wrap: wrap; gap: 4px; }
.proof-viewer__title { flex-basis: calc(100% - 200px); }
.proof-viewer__canvas { border: 1px solid var(--gray-a2); }
@media (max-width: 600px) {
  .comparison-post { width: calc(100% - 32px); }
  .comparison-post h1 { font-size: 30px; }
  .proof-block h2 { margin-top: 0; }
  .proof-viewer { padding: 12px; }
  .proof-viewer__title { flex-basis: 100%; padding: 4px 0 8px; }
  .proof-viewer [data-close] { margin-left: auto; }
  .proof-viewer__canvas { max-height: calc(100dvh - 238px); }
}
