/* ============================================================
   Оболочка нового сайта поверх храмовой темы.
   Здесь только то, чего не было в theme.css: корпус симулятора, окно
   выигрыша, полоса воронки, типографика статей и карта подвала.
   ============================================================ */

.pr-visual-hero h1 i { color: var(--pr-gold-light); font-style: normal; }
.pr-visual-hero__lead { max-width: 560px; }
.pr-game-card { --card-accent: var(--game-accent, var(--pr-gold)); }
.pr-game-card__go { display: inline-block; margin-top: 4px; color: var(--pr-gold-light); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.pr-nav__game { color: var(--pr-gold-light) !important; }
.pr-nav__lang {
  border: 1px solid var(--pr-line); border-radius: 999px;
  padding: 0 12px !important; color: var(--pr-mint) !important;
  font-size: 11px !important; letter-spacing: .08em; text-transform: uppercase;
}

/* --- корпус симулятора --------------------------------------------------- */
.pr-machine {
  --game-accent: var(--pr-gold);
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  min-width: 0;
  padding: clamp(16px, 2.6vw, 26px);
  border: 1px solid rgba(226, 197, 132, .22);
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(228, 189, 118, .16), transparent 60%),
    linear-gradient(165deg, rgba(18, 44, 40, .96), rgba(7, 21, 19, .96));
  box-shadow: var(--pr-shadow);
}
.pr-machine--compact { padding: clamp(14px, 2vw, 20px); border-radius: 18px; }
.pr-machine__title { margin: 0; color: var(--pr-text); font: 400 clamp(22px, 3vw, 30px)/1.05 Georgia, serif; }
.pr-machine__top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding-bottom: 11px; border-bottom: 1px solid var(--pr-line);
  font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
}
.pr-machine__top .pr-kicker { margin: 0; }
.pr-machine__free { color: var(--pr-mint); }

/* пульт слева, поле справа: играть, не прокручивая страницу */
.pr-machine__body {
  display: grid;
  grid-template-columns: minmax(210px, 268px) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
}
.pr-machine__side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pr-machine--compact .pr-machine__body { grid-template-columns: minmax(0, 1fr); }
.pr-machine--compact .pr-machine__stage { order: -1; }

.pr-sr-only {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.pr-machine__stage {
  position: relative;
  display: grid; place-items: center;
  min-height: clamp(230px, 30vw, 400px);
  /* своя область наложения: подсветка уходит за содержимое, но не за корпус */
  isolation: isolate;
}
.pr-machine__glow {
  position: absolute; left: 50%; top: 50%; width: 100%; max-width: 520px; aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%); pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--game-accent) 22%, transparent), rgba(161, 222, 210, .07) 48%, transparent 72%);
}
.pr-machine__fallback {
  max-width: 320px; margin: 0; padding: 14px 16px;
  border: 1px solid var(--pr-line); border-radius: 14px;
  color: var(--pr-muted); background: rgba(7, 21, 19, .9); text-align: center; font-size: 13px;
}
.pr-machine__fallback[hidden] { display: none !important; }

.pr-machine__hud { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.pr-machine__hud-item {
  min-width: 0;
  padding: 9px 12px; border: 1px solid var(--pr-line); border-radius: 12px;
  background: rgba(161, 222, 210, .05);
}
.pr-machine__hud-item span { display: block; color: var(--pr-muted); font-size: 9.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.pr-machine__hud-item strong { display: block; margin-top: 3px; color: var(--pr-text); font: 800 19px/1.15 ui-monospace, SFMono-Regular, Menlo, monospace; }

.pr-machine__controls:empty { display: none; }
.pr-machine__controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pr-machine__controls button {
  min-width: 0; min-height: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0 12px; border: 1px solid var(--pr-line); border-radius: 12px;
  color: var(--pr-text); background: rgba(8, 26, 23, .78);
  font: 700 13px/1.2 inherit; cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.pr-machine__controls button:hover:not(:disabled) { border-color: rgba(243, 216, 153, .5); background: rgba(18, 49, 43, .92); }
.pr-machine__controls button[aria-pressed="true"] { border-color: var(--pr-gold); box-shadow: 0 0 0 1px var(--pr-gold), 0 0 16px rgba(228, 189, 118, .28); color: #fff; }
.pr-machine__controls button:disabled { opacity: .5; cursor: default; }

.pr-machine.is-won .pr-machine__glow { animation: pr-flash 1s ease 2; }
@keyframes pr-flash { 50% { opacity: .45; transform: translate(-50%, -50%) scale(1.12); } }

.pr-machine__sound {
  flex: none; margin-left: 8px; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--pr-line);
  background: rgba(8, 26, 23, .7); color: var(--pr-muted); cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.pr-machine__sound .pr-wave { opacity: 0; }
.pr-machine__sound[aria-pressed="true"] { color: var(--pr-gold-light); border-color: rgba(243, 216, 153, .5); }
.pr-machine__sound[aria-pressed="true"] .pr-wave { opacity: 1; }
.pr-machine__sound[aria-pressed="true"] .pr-mute { opacity: 0; }

.pr-machine__start { width: 100%; min-height: 56px; gap: 9px; }
.pr-machine__start:disabled { cursor: progress; filter: saturate(.7) brightness(.92); }
.pr-machine__start:disabled .pr-machine__spinner { animation: pr-spin .9s linear infinite; }
@keyframes pr-spin { to { transform: rotate(1turn); } }

.pr-machine__score {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  color: var(--pr-muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.pr-machine__score b { color: var(--pr-text); font-size: 15px; letter-spacing: 0; }
.pr-machine__reset {
  margin-left: auto; min-height: 40px; padding: 0; border: 0; background: none;
  color: var(--pr-muted); font: inherit; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.pr-machine__reset:hover { color: var(--pr-text); }
.pr-machine__hint { margin: 0; color: #93a89b; font-size: 12.5px; line-height: 1.6; }

/* автомат 777: плоская подложка на время загрузки сцены */
.pr-slot-flat { display: flex; gap: 10px; }
.pr-slot-flat[hidden] { display: none !important; }
.pr-slot-flat span {
  display: grid; place-items: center; width: 74px; height: 104px;
  border-radius: 12px; border: 1px solid rgba(226, 197, 132, .3);
  background: linear-gradient(180deg, #07171a, #12333a 46%, #07171a);
  color: #f0eee2; font: 800 34px/1 Georgia, serif;
}
.pr-slot-scene { position: absolute; inset: 0; }
.pr-slot-scene canvas { display: block; width: 100%; height: 100%; }

/* --- окно выигрыша ------------------------------------------------------- */
.pr-win { border: 0; padding: 0; background: transparent; color: var(--pr-text); max-width: min(430px, calc(100vw - 32px)); }
.pr-win::backdrop { background: rgba(3, 12, 11, .8); backdrop-filter: blur(4px); }
.pr-win__inner {
  position: relative; padding: 40px 26px 26px; border-radius: 22px; text-align: center;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(228, 189, 118, .28), transparent 62%),
    linear-gradient(160deg, #143732, #071614);
  border: 1px solid rgba(243, 216, 153, .45);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .62);
}
.pr-win__close {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent;
  color: var(--pr-muted); font-size: 26px; line-height: 1; cursor: pointer;
}
.pr-win__close:hover { color: #fff; }
.pr-win__badge { color: var(--pr-mint); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.pr-win__symbol { margin: 8px 0 0; font: 400 clamp(40px, 11vw, 62px)/1 Georgia, serif; color: var(--pr-gold-light); letter-spacing: .06em; }
.pr-win__title { margin: 12px 0 6px; font: 400 clamp(19px, 4.2vw, 25px)/1.2 Georgia, serif; color: #fff; }
.pr-win__sub { margin: 0 0 18px; color: var(--pr-muted); font-size: 13.5px; line-height: 1.6; }
.pr-win__cta { width: 100%; }
.pr-win__note { margin: 12px 0 0; color: var(--pr-muted); font-size: 11.5px; letter-spacing: .06em; }

/* --- полоса воронки ------------------------------------------------------ */
.pr-cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin: 34px 0; padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(243, 216, 153, .34); border-radius: 20px;
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(228, 189, 118, .17), transparent 62%),
    linear-gradient(150deg, rgba(20, 55, 50, .95), rgba(7, 22, 20, .95));
}
.pr-cta-band h2 { margin: 0 0 6px; color: #fff; font: 400 clamp(19px, 2.6vw, 26px)/1.15 Georgia, serif; }
.pr-cta-band p:not(.pr-kicker) { margin: 0; max-width: 52ch; color: #c3cec6; font-size: 14px; line-height: 1.6; }
.pr-cta-band .pr-button { flex: none; min-height: 52px; padding: 0 26px; }
.pr-play-inline { margin: 18px 0 0; }

/* --- типографика статей -------------------------------------------------- */
.pr-article__head { margin-bottom: 26px; }
.pr-article__head h1 { margin: 0 0 14px; color: var(--pr-text); font: 400 clamp(30px, 5vw, 50px)/1.03 Georgia, serif; letter-spacing: -.03em; }
.pr-article__lead { margin: 0; color: #d5ded6; font-size: clamp(16px, 2vw, 19px); line-height: 1.7; }
.pr-article__meta { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0 0; color: var(--pr-muted); font-size: 12px; }
.pr-toc { margin: 0 0 30px; padding: 18px 20px; border: 1px solid var(--pr-line); border-radius: 16px; background: rgba(161, 222, 210, .045); }
.pr-toc h2 { margin: 0 0 10px !important; font-size: 12px !important; font-family: inherit !important; letter-spacing: .14em; text-transform: uppercase; color: var(--pr-muted) !important; }
.pr-toc ol { margin: 0; padding-left: 20px; color: var(--pr-muted); }
.pr-toc li { margin: 5px 0; }
.pr-toc a { color: var(--pr-mint); }

.pr-prose h3 { margin: 28px 0 10px; color: var(--pr-text); font: 700 18px/1.3 inherit; }
.pr-prose > p:first-child { margin-top: 0; }
.pr-list { margin: 14px 0; padding-left: 22px; color: #c1ccc5; font-size: 15.5px; line-height: 1.75; }
.pr-list li { margin: 7px 0; }
.pr-list li::marker { color: var(--pr-gold); }
.pr-steps { display: grid; gap: 10px; margin: 18px 0; padding: 0; list-style: none; counter-reset: step; }
.pr-steps li {
  position: relative; padding: 15px 18px 15px 56px;
  border: 1px solid var(--pr-line); border-radius: 14px; background: rgba(10, 34, 30, .7);
  counter-increment: step;
}
.pr-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 18px; top: 15px;
  color: var(--pr-gold); font: 800 15px/1 ui-monospace, Menlo, monospace;
}
.pr-steps strong { display: block; margin-bottom: 4px; color: var(--pr-text); }
.pr-steps span { color: var(--pr-muted); font-size: 14.5px; line-height: 1.65; }

.pr-table { margin: 22px 0; overflow-x: auto; }
.pr-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pr-table th, .pr-table td { padding: 11px 14px; border-bottom: 1px solid var(--pr-line); text-align: left; vertical-align: top; }
.pr-table thead th { color: var(--pr-gold-light); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.pr-table tbody th { color: var(--pr-text); font-weight: 700; }
.pr-table td { color: #b6c3ba; }
.pr-table figcaption { margin-top: 10px; color: var(--pr-muted); font-size: 12.5px; }

.pr-note {
  margin: 22px 0; padding: 16px 18px;
  border: 1px solid rgba(161, 222, 210, .28); border-left-width: 3px; border-radius: 14px;
  background: rgba(161, 222, 210, .06);
}
.pr-note strong { display: block; margin-bottom: 5px; color: var(--pr-mint); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.pr-note p { margin: 0 !important; font-size: 14.5px !important; }

.pr-prose .pr-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0; transform: none; }
.pr-card { padding: 16px 18px; border: 1px solid var(--pr-line); border-radius: 16px; background: rgba(10, 34, 30, .72); }
.pr-card h3 { margin: 0 0 6px; font: 700 16px/1.3 inherit; color: var(--pr-text); }
.pr-card p { margin: 0 !important; font-size: 14px !important; line-height: 1.65 !important; }

.pr-quote { margin: 24px 0; padding: 16px 20px; border-left: 3px solid var(--pr-gold); background: rgba(228, 189, 118, .06); border-radius: 0 14px 14px 0; }
.pr-quote p { margin: 0; font-style: italic; }
.pr-quote cite { display: block; margin-top: 8px; color: var(--pr-muted); font-size: 12.5px; font-style: normal; }

.pr-inline-game { margin: 30px 0; }
.pr-inline-game__note { margin: 10px 0 0 !important; color: var(--pr-muted) !important; font-size: 12.5px !important; text-align: center; }

.pr-related-links h2 { grid-column: 1 / -1; margin: 0 0 4px !important; font-size: 12px !important; font-family: inherit !important; letter-spacing: .14em; text-transform: uppercase; color: var(--pr-muted) !important; }
.pr-related-links a { flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; }
.pr-related-links strong { font-size: 14px; }
.pr-related-links span { color: var(--pr-muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

/* --- страница игры ------------------------------------------------------- */
.pr-game-page { width: min(1460px, calc(100% - 32px)); margin: 0 auto; padding: 26px 0 60px; }
.pr-game-page__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(20px, 4vw, 48px); align-items: start; }
.pr-game-page__head h1 { margin: 0 0 14px; color: var(--pr-text); font: 400 clamp(32px, 4.6vw, 56px)/1 Georgia, serif; letter-spacing: -.04em; }
.pr-game-page__lead { margin: 0 0 20px; color: #c9d2ca; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.7; }
.pr-game-page .pr-catalog { margin-top: 44px; }

/* --- подвал -------------------------------------------------------------- */
.pr-footer__map {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  width: min(1460px, calc(100% - 32px)); margin: 0 auto; padding: 46px 0 30px;
  border-bottom: 1px solid var(--pr-line); text-align: left;
}
.pr-footer__col h2 { margin: 0 0 12px; color: var(--pr-gold-light); font: 800 11px/1 inherit; letter-spacing: .14em; text-transform: uppercase; }
.pr-footer__col ul { margin: 0; padding: 0; list-style: none; }
.pr-footer__col li { margin: 7px 0; }
.pr-footer__col a { color: #a8bbae; font-size: 13px; text-decoration: none; }
.pr-footer__col a:hover { color: var(--pr-text); text-decoration: underline; text-underline-offset: 3px; }
.pr-footer__bottom { width: min(1460px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 46px; text-align: center; }
.pr-footer__bottom p { margin: 10px auto; max-width: 62ch; color: var(--pr-muted); font-size: 12.5px; line-height: 1.65; }
.pr-footer__bottom nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.pr-footer__bottom nav a { color: #a8bbae; font-size: 12.5px; }

@media (max-width: 1000px) {
  .pr-game-page__head { grid-template-columns: minmax(0, 1fr); }
  .pr-footer__map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pr-prose .pr-cards, .pr-faq__grid, .pr-related-links { grid-template-columns: minmax(0, 1fr); }
  .pr-cta-band { flex-direction: column; align-items: stretch; }
  .pr-cta-band .pr-button { width: 100%; }
  .pr-slot-flat span { width: 62px; height: 90px; font-size: 28px; }
  .pr-footer__map { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .pr-machine.is-won .pr-machine__glow, .pr-machine__start:disabled .pr-machine__spinner { animation: none; }
}

/* иллюстрация карточки каталога */
.pr-game-card__art {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--pr-line);
  filter: saturate(.92) brightness(.86);
  transition: filter .25s ease, transform .35s ease;
}
.pr-game-card:hover .pr-game-card__art { filter: saturate(1.05) brightness(1); transform: scale(1.02); }
.pr-game-card { overflow: hidden; }

/* --- первый экран: две колонки, автомат справа ---------------------------- */
.pr-visual-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: clamp(20px, 4vw, 52px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 20, 18, .95) 0, rgba(5, 20, 18, .62) 52%, rgba(5, 20, 18, .28)),
    url('/temple-background.webp') center / cover;
}
.pr-visual-hero__copy { padding: 0; }
.pr-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
.pr-facts li { padding: 12px 14px; font-size: 13px; text-align: center; }

@media (max-width: 1000px) {
  .pr-visual-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .pr-visual-hero__copy { max-width: none; }
}
@media (max-width: 560px) {
  .pr-facts { grid-template-columns: minmax(0, 1fr); }
  .pr-machine__hud-item { flex-basis: 100%; }
}

/* Кнопка воронки на узком экране: тема прячет подпись, а нам она нужна —
   оставляем короткое слово вместо иконки. */
@media (max-width: 460px) {
  .pr-play-link { width: auto; overflow: visible; padding: 0 12px; color: #15251f !important; gap: 6px; font-size: 11px; }
  .pr-play-link span { font-size: 11px; }
}

/* карточка каталога в мобильной раскладке темы: картинка в левой колонке */
@media (max-width: 900px) {
  .pr-game-card__art { height: 100%; min-height: 150px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--pr-line); }
  .pr-game-page__head { gap: 22px; }
  .pr-article { width: min(100%, 860px); }
}

/* --- широкая страница: каталог и игра ------------------------------------ */
.pr-page { width: min(1460px, calc(100% - 32px)); margin: 0 auto; padding: 26px 0 60px; }
.pr-page__head { max-width: 900px; margin: 0 0 30px; }
.pr-page__head h1 { margin: 0 0 14px; color: var(--pr-text); font: 400 clamp(30px, 4.4vw, 54px)/1.03 Georgia, serif; letter-spacing: -.035em; }
.pr-page__lead { margin: 0 0 20px; color: #c9d2ca; font-size: clamp(15px, 1.8vw, 19px); line-height: 1.7; }
.pr-page .pr-article { margin-top: 40px; }

.pr-group { margin: 0 0 34px; }
.pr-group__title { margin: 0 0 14px; color: var(--pr-gold-light); font: 400 clamp(20px, 2.6vw, 28px)/1.1 Georgia, serif; }

/* карточки каталога: широкие, текст виден целиком */
.pr-catalog__grid { grid-template-columns: repeat(auto-fill, minmax(266px, 1fr)) !important; gap: 14px; }
.pr-game-card__art { aspect-ratio: 16 / 10; }
.pr-game-card p { min-height: 0; }
.pr-game-card h2, .pr-game-card h3 { margin: 2px 0 8px; font: 400 21px/1.1 Georgia, serif; color: var(--pr-text); }

/* кнопки первого экрана одной высоты */
.pr-hero-actions .pr-button, .pr-hero-actions .pr-button--quiet { min-height: 56px; padding: 0 26px; }

@media (max-width: 900px) {
  .pr-catalog__grid { grid-template-columns: minmax(0, 1fr) !important; }
  .pr-game-card__art { aspect-ratio: auto; }
}

/* --- первый экран во всю ширину ------------------------------------------ */
.pr-visual-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  min-height: calc(100svh - 74px);
  display: block;
  box-shadow: none;
  background:
    linear-gradient(90deg, rgba(5, 20, 18, .94) 0, rgba(5, 20, 18, .58) 54%, rgba(5, 20, 18, .3)),
    url('/temple-background.webp') center / cover no-repeat;
}
.pr-visual-hero__inner {
  width: min(1460px, calc(100% - 32px));
  min-height: calc(100svh - 74px);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 44px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
  gap: clamp(20px, 4vw, 52px);
  align-items: center;
}
.pr-visual-hero h1 { font-size: clamp(38px, 5.4vw, 74px); }
.pr-visual-hero .pr-machine { padding: clamp(14px, 1.6vw, 20px); }
.pr-visual-hero .pr-machine__stage { min-height: clamp(200px, 22vw, 280px); }

@media (max-width: 1000px) {
  .pr-visual-hero, .pr-visual-hero__inner { min-height: 0; }
  .pr-visual-hero__inner { grid-template-columns: minmax(0, 1fr); padding: 26px 0 34px; }
}

/* На узком экране пульт и сцена складываются: сцена сверху, управление под ней. */
@media (max-width: 880px) {
  .pr-machine__body { grid-template-columns: minmax(0, 1fr); }
  .pr-machine__stage { order: -1; min-height: clamp(220px, 58vw, 320px); }
  .pr-machine__hud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .pr-machine__hud { grid-template-columns: minmax(0, 1fr); }
}

/* Нижние блоки не считаем до подхода к ним: на длинных страницах раскладка
   всего документа была самой дорогой частью загрузки. Содержимое остаётся в
   разметке и доступно поиску, просто откладывается отрисовка. */
.pr-faq,
.pr-related-links,
.pr-catalog,
.pr-group,
.pr-footer {
  content-visibility: auto;
}
.pr-faq { contain-intrinsic-size: auto 620px; }
.pr-related-links { contain-intrinsic-size: auto 260px; }
.pr-catalog, .pr-group { contain-intrinsic-size: auto 760px; }
.pr-footer { contain-intrinsic-size: auto 720px; }
/* На странице игры разбор лежит ниже корпуса — его тоже откладываем. */
.pr-game-page .pr-article { content-visibility: auto; contain-intrinsic-size: auto 3200px; }

/* Постер игры: лежит в разметке, поэтому корпус выглядит целым сразу. */
.pr-machine__poster {
  display: block;
  width: 100%; height: 100%;
  max-width: 640px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--pr-line);
  box-shadow: 0 20px 44px rgba(0, 8, 6, .45);
}
.pr-machine__poster[hidden] { display: none !important; }
.pr-machine__stage { position: relative; }
.pr-machine__stage > .pr-machine__poster { position: relative; z-index: 1; }

/* Первый экран: корпус без рамки, машина читается как иллюстрация. */
.pr-machine--hero {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  gap: 16px;
}
.pr-machine--hero .pr-machine__stage { min-height: 0; }
.pr-machine--hero .pr-machine__poster { border-radius: 20px; }
.pr-machine--hero .pr-machine__start { min-height: 58px; font-size: 14px; }

/* Первый экран: машина — главный объект справа, а не маленькая карточка. */
.pr-visual-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
.pr-machine--hero .pr-machine__poster { max-width: 100%; aspect-ratio: 4 / 3; height: auto; }
.pr-machine--hero .pr-machine__stage::after {
  content: "";
  position: absolute; left: 50%; top: 52%; z-index: 0;
  width: 118%; aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(228, 189, 118, .3), rgba(161, 222, 210, .1) 46%, transparent 72%);
}
.pr-visual-hero__copy { max-width: 700px; }
.pr-visual-hero__lead { max-width: 620px; }

@media (max-width: 1000px) {
  .pr-visual-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .pr-machine--hero .pr-machine__poster { max-width: 520px; margin: 0 auto; }
}

/* Постер держит ту же высоту, что и будущая сцена: когда он уступает место
   трёхмерной модели, ничего не подпрыгивает. */
.pr-machine__poster { max-height: clamp(230px, 30vw, 400px); }
.pr-machine--hero .pr-machine__poster { max-height: clamp(240px, 26vw, 420px); }
