/* Shabbat Runner · версия для сайта: окно игры и блоки страницы.
   Шапку, подвал и крошки даёт шаблон подстраниц сайта (write_landing_subpages.py), здесь только блоки страницы игры. */
.sr-frame {
  position: relative; z-index: 0; flex: none; width: 390px; max-width: 100%; height: 640px; overflow: hidden;
  border-radius: 28px; border: 3px solid var(--sr-ink); box-shadow: 0 24px 48px -24px rgba(43, 29, 18, .45); background: var(--sr-page);
}
.sr-frame > iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--sr-page); }
.sr-frame--auto { height: auto; }
.sr-frame--auto .sr-screen { height: auto; }
.sr-frame--auto .sr-screen__body { overflow: visible; }

/* обложка в окне на сайте */
.sr-sitecover { display: flex; flex-direction: column; height: 100%; }
.sr-sitecover__scene { flex: 1 1 auto; min-height: 0; }
.sr-sitecover__title { position: absolute; inset-inline: 0; top: 44px; text-align: center; font-size: 22px; }
.sr-sitecover__sun { inset-inline-end: 21%; top: 43%; }
.sr-sitecover__deco--1 { inset-inline-start: 10%; top: 30%; }
.sr-sitecover__deco--2 { inset-inline-start: 39%; top: 47%; }
.sr-sitecover__deco--3 { inset-inline-end: 11%; top: 58%; }
.sr-sitecover__rabbi { position: absolute; inset-inline-start: 44px; bottom: 34px; }
.sr-sitecover__sheet {
  position: relative; flex: none; display: flex; flex-direction: column; gap: 10px; margin-top: -24px; padding: 18px 20px 20px;
  border-radius: 24px 24px 0 0; background: var(--sr-page);
}
.sr-sitecover__text { font-size: 16px; font-weight: 800; text-align: center; }

/* блоки страницы */
.srp { background: var(--sr-page); }
.srp-wrap { max-width: 1200px; margin: 0 auto; padding: 22px 40px 64px; }
.srp-crumbs { display: flex; gap: 8px; font-size: 14px; font-weight: 700; color: var(--sr-muted); }
.srp-crumbs a { color: var(--sr-teal); text-decoration: none; }
.srp-hero { display: flex; align-items: flex-start; gap: 72px; margin-top: 28px; }
.srp-hero__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 26px; padding-top: 8px; }
.srp-hero__head { display: flex; flex-direction: column; gap: 12px; }
.srp-eyebrow { font-size: 14px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--sr-gold-ink); }
.srp-h1 { font-size: 46px; font-weight: 900; line-height: 1.1; text-wrap: balance; }
.srp-lead { max-width: 560px; font-size: 19px; font-weight: 600; line-height: 1.5; color: var(--sr-body); }
.srp-how { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.srp-how .sr-row { align-items: flex-start; gap: 14px; }
.srp-how .sr-row__title { font-size: 17px; }
.srp-how .sr-row__text { font-size: 16px; line-height: 1.5; }
.srp-appcard { display: flex; align-items: center; gap: 18px; max-width: 560px; padding: 18px 20px; }
.srp-appcard .sr-row__title { font-size: 17px; }
.srp-appcard .sr-row__text { font-size: 15px; }
.srp-play { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.srp-play__note { font-size: 14px; font-weight: 700; color: var(--sr-muted); text-align: center; }
.srp-section { display: flex; flex-direction: column; gap: 20px; margin-top: 64px; }
.srp-h2 { font-size: 32px; font-weight: 900; line-height: 1.15; }
.srp-sub { font-size: 17px; font-weight: 600; color: var(--sr-body); }
.srp-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.srp-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px; }
.srp-item__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.srp-item__name { font-size: 17px; font-weight: 900; }
.srp-item__text { font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--sr-body); }

@media (max-width: 980px) {
  .srp-wrap { padding: 16px 20px 48px; }
  .srp-hero { flex-direction: column; gap: 32px; margin-top: 20px; }
  .srp-hero__text { gap: 22px; padding-top: 0; }
  .srp-play { align-self: center; }
  .srp-h1 { font-size: 34px; }
  .srp-lead { font-size: 17px; }
  .srp-h2 { font-size: 26px; }
  .srp-section { margin-top: 48px; }
  .srp-items { grid-template-columns: 1fr; }
  .srp-appcard { flex-direction: column; align-items: stretch; }
}
