/* ============================================================
   МойОпрос — временный блог /stati/ (восстановлен из веб-архива).
   Шапка, подвал и шрифты — как на moiopros.ru; плитки, содержание,
   поп-ап — по образцу блога stom.seeeo.ru, в цветах МойОпрос.
   ============================================================ */
@font-face { font-family: 'ALS Hauss'; src: url(/public/fonts/Hauss/ALS_Hauss-Regular.otf); font-display: swap; }

:root {
  --mo-purple: #B68DFF; --mo-purple-2: #A57BF5; --mo-purple-soft: #F4EEFF;
  --mo-ink: #222; --mo-text: #3D3D3D; --mo-muted: #8A8A8A; --mo-line: #ECECEC;
  --mo-soft: #F5F5F5;
  --mo-head: 'ALS Hauss', 'Inter', Arial, sans-serif; --mo-body: 'Inter', Arial, sans-serif; --mo-ui: 'Commissioner', 'Inter', Arial, sans-serif;
  --mo-wrap: 1180px; --mo-r: 28px; --mo-header: 80px; --mo-link: #8A57F2;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
html, body { overflow-x: clip; }
body { background: #fff; color: var(--mo-text); font: 400 18px/1.65 var(--mo-body); -webkit-font-smoothing: antialiased; }
html.no-scroll { overflow: hidden; scrollbar-gutter: stable; }
a { color: inherit; }
button, input { font: inherit; }
.mo-wrap { max-width: var(--mo-wrap); margin: 0 auto; padding: 0 24px; }
.mo-ico { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Squircle: суперэллипс там, где браузер умеет, иначе обычное скругление */
.mo-tile, .mo-toc, .mo-toc-m, .mo-pop__dialog { border-radius: var(--mo-r); }
@supports (corner-shape: squircle) { .mo-tile, .mo-toc, .mo-toc-m, .mo-pop__dialog { border-radius: 56px; corner-shape: squircle; } }

/* ── Шапка (как на moiopros.ru) ── */
.mo-header { background: #fff; border-bottom: 1px solid var(--mo-line); position: relative; z-index: 20; }
/* На странице списка шапка прозрачная и лежит поверх лилового блока */
.mo-header--clear { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom: 0; }
.mo-nav { height: var(--mo-header); display: flex; align-items: center; gap: 20px; }
.mo-logo { display: inline-flex; align-items: center; gap: 8px; font: 600 24px var(--mo-head); color: #000; text-decoration: none; letter-spacing: -0.01em; margin-right: 6px; }
.mo-logo img { width: 18px; height: 18px; }
.mo-faq-link, .mo-menu a { font: 500 16px var(--mo-head); color: #0A0A0A; text-decoration: none; padding: 0 10px; }
.mo-faq-link:hover, .mo-menu a:hover { opacity: .65; }
.mo-menu { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.mo-menu a.mo-btn { margin-left: 10px; }
.mo-menu a.mo-btn:hover { opacity: 1; }
.mo-btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; border-radius: 999px;
  background: #000; color: #fff !important; font: 500 16px var(--mo-head); text-decoration: none; transition: background .2s; }
.mo-btn:hover { background: #333; }

/* ── Обложка списка (лиловый блок с H1) ── */
.mo-hero { position: relative; background: var(--mo-purple); color: #fff; padding: calc(var(--mo-header) + 40px) 0 0; }
/* Текст слева, картинка справа в маске mask2.png (как на moiopros.ru: колонка ~385px, маска contain).
   Высота блока задаётся картинкой, поэтому она не заходит ни под шапку, ни на плитки. */
.mo-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: end; gap: 40px; }
.mo-hero__text { align-self: center; padding: 0 0 60px; }
.mo-hero__img { position: relative; z-index: 2; margin-bottom: -40px; width: 400px; aspect-ratio: 1158 / 1332; -webkit-mask: url(img/mask2.png) center bottom / contain no-repeat; mask: url(img/mask2.png) center bottom / contain no-repeat; }
.mo-hero__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.mo-hero h1 { font: 400 clamp(36px, 5vw, 64px)/1.06 var(--mo-head); max-width: 640px; letter-spacing: -0.015em; text-wrap: balance; }
.mo-hero p { margin-top: 14px; font-size: 20px; line-height: 1.5; opacity: .95; }

/* ── Плитки статей ── */
.mo-main { padding: 48px 0 80px; }
.mo-main--list { padding-top: 88px; }
.mo-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* Плитки статей — белая карточка с обложкой сверху (вариант D, 19.10.2026) */
.mo-tile { display: flex; flex-direction: column; padding: 10px; background: #fff; color: var(--mo-ink); text-decoration: none;
  border: 1px solid #EAE3F7; transition: transform .25s, box-shadow .25s, border-color .25s; }
.mo-tile:hover { transform: translateY(-3px); border-color: var(--mo-purple);
  box-shadow: inset 0 0 0 1px var(--mo-purple), 0 18px 40px rgba(124,72,224,.16); }  /* обводка 2px без сдвига вёрстки */
.mo-tile__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 20px; background: var(--mo-purple); }
@supports (corner-shape: squircle) { .mo-tile__img { border-radius: 46px; corner-shape: squircle; } }
.mo-tile__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mo-tile:hover .mo-tile__img img { transform: scale(1.03); }
.mo-tile__bd { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 18px 18px 20px; }
.mo-tile__date { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--mo-purple-soft); color: #7A4BE0; font: 500 13px var(--mo-ui); }
.mo-tile__title { font: 500 23px/1.22 var(--mo-head); letter-spacing: -0.01em; text-wrap: balance; }
.mo-tile__text { margin-top: auto; font-size: 15px; line-height: 1.45; color: var(--mo-text); text-wrap: pretty; }

/* ── «Интересные темы»: фильтр статей по тегам (светлые кнопки, чтобы не путать с лиловыми плитками) ── */
.mo-topics { margin-bottom: 36px; }
.mo-topics h2 { font: 500 clamp(24px, 2.6vw, 32px)/1.2 var(--mo-head); color: var(--mo-ink); margin-bottom: 18px; }
.mo-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.mo-chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1.5px solid #E4E4E4; background: #fff; color: var(--mo-ink);
  border-radius: 14px; font: 500 15px var(--mo-head); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
@supports (corner-shape: squircle) { .mo-chip { border-radius: 28px; corner-shape: squircle; } }
.mo-chip span { font: 500 12px var(--mo-ui); color: var(--mo-muted); transition: color .2s; }
.mo-chip:hover { border-color: #000; }
.mo-chip.is-active { background: #000; border-color: #000; color: #fff; }
.mo-chip.is-active span { color: rgba(255,255,255,.65); }
.mo-chip:focus-visible { outline: 2px solid #7C48E0; outline-offset: 2px; }
.mo-tile.is-hidden { display: none; }
.mo-tile.is-shown { animation: mo-tile-in .35s ease both; }
@keyframes mo-tile-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Статья ── */
.mo-crumbs { display: flex; gap: 10px; font: 500 13px var(--mo-ui); color: var(--mo-muted); margin-bottom: 26px; }
.mo-crumbs a { color: var(--mo-muted); text-decoration: none; }
.mo-crumbs a:hover { color: #000; }
.mo-grid { display: grid; grid-template-columns: minmax(0, 760px) 280px; justify-content: space-between; gap: 56px; align-items: start; }
.mo-grid > * { min-width: 0; }
.mo-article h1 { font: 500 clamp(32px, 4vw, 52px)/1.1 var(--mo-head); color: var(--mo-ink); letter-spacing: -0.015em; text-wrap: balance; }
.mo-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin: 26px 0 34px; padding: 14px 0;
  border-top: 1px solid var(--mo-line); border-bottom: 1px solid var(--mo-line); }
.mo-meta__info { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 14px var(--mo-ui); color: var(--mo-muted); }
.mo-meta__info span { display: inline-flex; align-items: center; gap: 7px; }
.mo-share { position: relative; }
.mo-act { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--mo-purple-soft);
  color: #4B2A99; font: 500 14px var(--mo-ui); cursor: pointer; transition: background .2s; }
.mo-act:hover { background: #EADFFF; }
.mo-share__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 210px; padding: 8px; background: #fff; border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.14); display: none; }
.mo-share.is-open .mo-share__menu { display: grid; }
.mo-share__menu a, .mo-share__menu button { display: block; text-align: left; padding: 10px 12px; border: 0; background: none; border-radius: 12px; font-size: 15px; color: var(--mo-ink); text-decoration: none; cursor: pointer; }
.mo-share__menu a:hover, .mo-share__menu button:hover { background: var(--mo-purple-soft); }

/* Текст статьи */
.mo-prose { color: var(--mo-text); font-size: 18px; line-height: 1.7; }
.mo-prose > * + * { margin-top: 18px; }
.mo-prose h2 { font: 500 clamp(25px, 2.6vw, 32px)/1.2 var(--mo-head); color: var(--mo-ink); margin-top: 48px; scroll-margin-top: 20px; text-wrap: balance; }
.mo-prose h3 { font: 500 23px/1.3 var(--mo-head); color: var(--mo-ink); margin-top: 32px; }
.mo-prose h4, .mo-prose h5, .mo-prose h6 { font: 600 19px/1.35 var(--mo-body); color: var(--mo-ink); margin-top: 26px; }
.mo-prose h2 + *, .mo-prose h3 + *, .mo-prose h4 + * { margin-top: 12px; }
.mo-prose a { color: var(--mo-link); text-decoration: none; transition: color .2s; }
.mo-prose a:hover { color: #000; }
.mo-prose strong, .mo-prose b { color: var(--mo-ink); font-weight: 600; }
.mo-prose ul, .mo-prose ol { list-style: none; }
.mo-prose li { position: relative; padding-left: 28px; text-wrap: balance; }
.mo-prose li + li { margin-top: 8px; }
.mo-prose ul > li::before { content: ""; position: absolute; left: 6px; top: 0; width: 8px; height: 1lh; background: radial-gradient(circle closest-side, var(--mo-purple) 3.6px, transparent 4px); }
.mo-prose ol { counter-reset: n; }
.mo-prose ol > li::before { counter-increment: n; content: counter(n) "."; position: absolute; left: 0; top: 0; font-weight: 600; color: #7C48E0; }
.mo-prose li > ul, .mo-prose li > ol { margin-top: 8px; }
.mo-prose blockquote { padding: 6px 0 6px 22px; border-left: 3px solid var(--mo-purple); font-size: 19px; color: var(--mo-ink); text-wrap: balance; }
.mo-prose .tbl { overflow-x: auto; border-radius: 18px; border: 1px solid var(--mo-line); }
.mo-prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.mo-prose th, .mo-prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--mo-line); }
.mo-prose th { background: var(--mo-purple-soft); color: var(--mo-ink); font-weight: 600; }
.mo-prose tr:last-child td { border-bottom: 0; }

/* Содержание справа (липкое) и сворачиваемое на мобильных */
.mo-aside { position: sticky; top: 24px; }
.mo-toc { background: var(--mo-purple-soft); padding: 22px 22px 18px; }
.mo-toc__title { font: 500 16px var(--mo-head); color: var(--mo-ink); margin-bottom: 10px; }
.mo-toc ol, .mo-toc-m ol { list-style: none; }
/* Длинное содержание прокручивается само, блок «Начать зарабатывать» под ним всегда виден */
/* Пункты вне «окна» из 5 плавно сворачиваются по высоте и прозрачности — блок меняет размер без рывков */
.mo-toc li { max-height: 120px; overflow: hidden; opacity: 1;
  transition: max-height .5s cubic-bezier(.25,.8,.25,1), opacity .4s ease .1s; }
.mo-toc li.is-far { max-height: 0; opacity: 0; transition: max-height .5s cubic-bezier(.25,.8,.25,1), opacity .25s ease; }
@media (prefers-reduced-motion: reduce) { .mo-toc li, .mo-toc li.is-far { transition: none; } }
.mo-toc a { text-wrap: balance; display: block; padding: 7px 0 7px 14px; border-left: 2px solid #E2D4FF; font-size: 14px; line-height: 1.4; color: #6B6B6B; text-decoration: none; transition: color .2s, border-color .2s; }
.mo-toc a:hover { color: #000; }
.mo-toc a.is-active { color: #000; border-color: #7C48E0; font-weight: 500; }
.mo-toc-m { display: none; margin: -14px 0 28px; background: var(--mo-purple-soft); }
.mo-toc-m summary { list-style: none; cursor: pointer; padding: 15px 20px; font: 500 16px var(--mo-head); color: var(--mo-ink); display: flex; justify-content: space-between; }
.mo-toc-m summary::-webkit-details-marker { display: none; }
.mo-toc-m summary::after { content: "+"; color: #7C48E0; font-size: 22px; line-height: 1; }
.mo-toc-m[open] summary::after { content: "–"; }
.mo-toc-m ol { padding: 0 20px 14px; }
.mo-toc-m a { text-wrap: balance; display: block; padding: 7px 0; font-size: 15px; color: var(--mo-text); text-decoration: none; }

.mo-aside > * + * { margin-top: 16px; }
.mo-cta { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 26px; background: var(--mo-purple); color: #fff; border-radius: var(--mo-r); isolation: isolate; }
@supports (corner-shape: squircle) { .mo-cta { border-radius: 56px; corner-shape: squircle; } }
.mo-cta > :not(.mo-cta__glow) { position: relative; z-index: 1; }
.mo-cta__label { font: 500 16px/1.35 var(--mo-head); opacity: .95; text-wrap: balance; }
.mo-cta__num { font: 500 34px/1.05 var(--mo-head); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mo-cta__btn { align-self: flex-start; margin-top: 8px; display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; background: #000; color: #fff;
  font: 500 16px var(--mo-head); text-decoration: none; transition: background .2s, box-shadow .25s;
  box-shadow: 0 0 calc(var(--glow, 0) * 40px) calc(var(--glow, 0) * 6px) rgba(76,29,170, calc(var(--glow, 0) * .55)); }
.mo-cta__btn:hover { background: #2A1458; }
/* внутри текста статьи кнопка не должна брать цвет ссылок */
.mo-prose .mo-cta__btn, .mo-prose .mo-cta__btn:hover { color: #fff; }
/* Тёмно-лиловый размытый круг следует за курсором внутри блока */
.mo-cta__glow { position: absolute; z-index: 0; left: 0; top: 0; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(92,36,200,.55) 0%, rgba(92,36,200,.22) 40%, rgba(92,36,200,0) 70%); filter: blur(24px); opacity: 0; transition: opacity .4s; will-change: transform; }
.mo-cta.is-hover .mo-cta__glow { opacity: 1; }
.mo-cta--inline { display: none; margin-top: 40px; }
.mo-prose > .mo-cta--inline { margin: 40px 0 44px; }
.mo-related { margin-top: 72px; }
.mo-related h2 { font: 500 clamp(26px, 2.8vw, 34px)/1.2 var(--mo-head); color: var(--mo-ink); margin-bottom: 24px; }

/* ── Подвал (как на moiopros.ru) ── */
.mo-footer { background: var(--mo-soft); padding: 40px 0; }
.mo-footer .mo-wrap { max-width: none; padding: 0 48px; }
.mo-foot { display: grid; grid-template-columns: auto 1fr auto auto; grid-template-areas: "brand links apps ask"; align-items: center; gap: 16px 36px; }
.mo-foot-brand { grid-area: brand; }
.mo-apps { grid-area: apps; display: flex; flex-wrap: nowrap; gap: 8px; justify-content: center; }
.mo-foot-ask { grid-area: ask; }
.mo-apps img { display: block; height: 40px; width: auto; }
.mo-apps a { transition: opacity .2s; }
.mo-apps a:hover { opacity: .8; }
.mo-foot-brand b { display: block; font: 500 20px var(--mo-head); color: #000; }
.mo-foot-brand span { font: 400 13px var(--mo-ui); color: var(--mo-muted); }
.mo-foot-links { grid-area: links; display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; }
.mo-foot-links a { font: 500 13px var(--mo-ui); color: #333; text-decoration: none; }
.mo-foot-links a:hover { color: #000; text-decoration: underline; }
.mo-foot-ask { display: flex; align-items: center; gap: 12px; justify-self: end; font: 400 14px var(--mo-ui); color: #555; white-space: nowrap; }

/* ── Поп-ап «Часто задаваемые вопросы» ── */
.mo-pop { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; visibility: hidden; transition: visibility 0s .4s; }
.mo-pop.is-open { visibility: visible; transition: visibility 0s; }
.mo-pop__overlay { position: absolute; inset: 0; background: rgba(30,20,50,0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0);
  transition: background .4s ease, backdrop-filter .4s ease, -webkit-backdrop-filter .4s ease; }
.mo-pop.is-open .mo-pop__overlay { background: rgba(30,20,50,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mo-pop__dialog { position: relative; width: min(760px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; overflow: hidden; padding: 44px 46px 30px; background: #fff;
  box-shadow: 0 40px 100px rgba(40,20,80,.25); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .3s, transform .35s cubic-bezier(.2,.7,.2,1); }
.mo-pop.is-open .mo-pop__dialog { opacity: 1; transform: none; }
.mo-pop h2 { font: 500 clamp(26px, 3vw, 34px)/1.15 var(--mo-head); color: var(--mo-ink); margin: 0 50px 22px 0; }
.mo-pop__close { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--mo-purple-soft); color: #4B2A99; font-size: 24px; line-height: 1; cursor: pointer; }
.mo-pop__close:hover { background: #EADFFF; }
.mo-pop h2 { flex: none; }
/* Прокрутка — только внутри списка вопросов, тонкая лиловая полоса */
.mo-faq { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin-right: -18px; padding-right: 18px;
  scrollbar-width: thin; scrollbar-color: #D9C6FF transparent; }
.mo-faq::-webkit-scrollbar { width: 6px; }
.mo-faq::-webkit-scrollbar-track { background: transparent; }
.mo-faq::-webkit-scrollbar-thumb { background: #D9C6FF; border-radius: 6px; }
.mo-faq::-webkit-scrollbar-thumb:hover { background: #B68DFF; }
.mo-faq details { border-bottom: 1px solid var(--mo-line); }
.mo-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; font: 500 17px/1.4 var(--mo-body); color: var(--mo-ink); text-wrap: balance; }
.mo-faq summary::-webkit-details-marker { display: none; }
.mo-faq summary::after { content: "+"; flex: none; color: #7C48E0; font-size: 22px; line-height: 1; font-weight: 300; }
.mo-faq details[open] summary::after { content: "–"; }
.mo-faq__a { padding: 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--mo-text); }
.mo-faq__a > * + * { margin-top: 10px; }
.mo-faq__a ol, .mo-faq__a ul { padding-left: 20px; }

/* ── Адаптив ── */
@media (max-width: 1100px) {
  .mo-grid { grid-template-columns: minmax(0, 1fr); }
  .mo-aside { display: none; }
  .mo-toc-m { display: block; }
  .mo-cta--inline { display: flex; }
  /* блок виден только здесь — у следующего H2 свой отступ не нужен, чтобы отступы не складывались */
  .mo-prose > .mo-cta--inline + h2 { margin-top: 0; }
  .mo-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mo-hero__in { grid-template-columns: minmax(0, 1fr) 300px; }
  .mo-hero__img { width: 300px; }
  .mo-footer .mo-wrap { padding: 0 24px; }
  .mo-foot { grid-template-columns: 1fr auto; grid-template-areas: "brand ask" "links links" "apps apps"; }
  .mo-foot-links { justify-content: flex-start; }
  .mo-apps { justify-content: flex-start; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .mo-wrap { padding: 0 20px; }
  .mo-nav { gap: 14px; height: 64px; }
  .mo-faq-link, .mo-menu a:not(.mo-btn) { display: none; }
  .mo-logo { font-size: 21px; }
  .mo-btn { height: 38px; padding: 0 16px; font-size: 15px; }
  .mo-hero { padding: calc(64px + 24px) 0 0; }
  .mo-hero__in { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .mo-hero__text { padding-bottom: 8px; }
  .mo-hero__img { width: min(78%, 300px); justify-self: center; }
  .mo-hero p { font-size: 17px; }
  .mo-main { padding: 32px 0 60px; }
  .mo-main--list { padding-top: 36px; }
  .mo-tiles { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mo-tile__bd { padding: 16px 14px 18px; }
  .mo-tile__title { font-size: 21px; }
  .mo-tile__text { margin-top: 4px; }
  .mo-chips { gap: 8px; }
  .mo-chip { height: 38px; padding: 0 13px; font-size: 14px; }
  .mo-prose { font-size: 16.5px; }
  .mo-prose h2 { margin-top: 38px; }
  .mo-prose .tbl.is-cards { overflow: visible; border: 0; border-radius: 0; }
  .mo-prose .tbl.is-cards table, .mo-prose .tbl.is-cards tbody, .mo-prose .tbl.is-cards tr, .mo-prose .tbl.is-cards td { display: block; width: 100%; }
  .mo-prose .tbl.is-cards thead, .mo-prose .tbl.is-cards tr.is-head { display: none; }
  .mo-prose .tbl.is-cards tr { background: var(--mo-purple-soft); border-radius: 20px; padding: 14px 16px; }
  .mo-prose .tbl.is-cards tr + tr { margin-top: 10px; }
  .mo-prose .tbl.is-cards td { border: 0; padding: 4px 0; font-size: 15px; }
  .mo-prose .tbl.is-cards td:first-child { font-weight: 600; color: var(--mo-ink); font-size: 16px; padding-bottom: 6px; }
  .mo-prose .tbl.is-cards td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12.5px; color: #7C48E0; margin-bottom: 1px; }
  .mo-meta { flex-direction: column; align-items: flex-start; }
  .mo-footer .mo-wrap { padding: 0 20px; }
  .mo-foot { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "links" "apps" "ask"; text-align: center; justify-items: center; }
  .mo-foot-links { flex-direction: column; align-items: center; gap: 6px; }
  .mo-foot-ask { justify-self: center; flex-direction: column; }
  .mo-apps { flex-wrap: wrap; justify-content: center; }
  .mo-apps { justify-content: center; }
  .mo-apps img { height: 40px; }
  .mo-pop__dialog { padding: 34px 22px 20px; }
  .mo-faq { margin-right: -10px; padding-right: 10px; }
}

/* Обложка статьи над H1 (16:9, картинка обрезается по центру) */
.mo-cover { margin: 0 0 30px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--mo-r); background: var(--mo-purple-soft); }
@supports (corner-shape: squircle) { .mo-cover { border-radius: 56px; corner-shape: squircle; } }
.mo-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .mo-cover { margin-bottom: 22px; } }

/* Кнопка «Наверх» (только в статьях): белый круг, лиловое кольцо прогресса, стрелка поднимается только при наведении */
.mo-up { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
  background: #fff; color: var(--mo-ink); box-shadow: 0 8px 24px rgba(60, 30, 120, .16); cursor: pointer;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s, box-shadow .2s; }
.mo-up.is-on { opacity: 1; visibility: visible; }
.mo-up__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.mo-up__ring circle { fill: none; stroke: var(--mo-purple-soft); stroke-width: 3; }
.mo-up__ring .mo-up__bar { stroke: var(--mo-purple); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.mo-up__arr { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.mo-up:hover { box-shadow: 0 10px 28px rgba(60, 30, 120, .24); }
.mo-up:hover .mo-up__arr { transform: translateY(-3px); }
.mo-up:focus-visible { outline: 2px solid var(--mo-link); outline-offset: 3px; }
@media (max-width: 760px) { .mo-up { right: 14px; bottom: 14px; width: 46px; height: 46px; } }
