/* Статьи о регистрации в нейросетях: анимации сервисов. Базовые блоки (art-flow, art-geo, cgy, cgm, art-final) лежат в style.css */
.art-prompt { margin: 22px 0; padding: 18px 22px; border-left: 4px solid var(--blue); border-radius: 0 16px 16px 0; background: var(--cream); font-size: 1rem; line-height: 1.6; }
.article-body .art-final blockquote { color: inherit; }
.article-hero__lead a { color: inherit; }

/* ---------- первый экран: курсор нажимает кнопку входа ---------- */
.rgh { container-type: inline-size; background: var(--rgBg, #fff); box-shadow: 0 30px 60px -40px rgba(var(--shadow), 0.5), 0 0 0 1px rgba(19, 31, 77, 0.08); }
.rgh__in { position: relative; width: 100%; height: 100%; overflow: hidden; color: var(--rgInk, #111); font: 400 2.05cqw/1.3 ui-sans-serif, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.rgh__t { position: absolute; white-space: nowrap; }
.rgh__logo { display: flex; align-items: center; gap: 0.8cqw; font-size: 2.8cqw; font-weight: 700; letter-spacing: -0.01em; }
.rgh__c.rgh__logo { justify-content: center; }
.rgh__logo--big { justify-content: center; font-size: 6.4cqw; letter-spacing: -0.02em; }
.rgh__mut { color: var(--rgMut, #6B6F76); }
.rgh__blue { color: #0B57D0; }
.rgh__wh { color: #fff; }
.rgh__c { position: absolute; left: 0; right: 0; text-align: center; }
.rgh__c strong { font-size: 3.5cqw; font-weight: 500; }
.rgh__serif strong { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.rgh__head { position: absolute; font: 400 4.6cqw/1.12 Georgia, "Times New Roman", serif; text-align: center; }
.rgh__head--sans { font-family: inherit; font-weight: 600; text-align: left; }
.rgh__c.rgh__head--sans { text-align: center; }
.rgh__mega { font: italic 700 11cqw/1 Georgia, "Times New Roman", serif; color: #fff; letter-spacing: -0.02em; }
.rgh__b { position: absolute; display: grid; place-items: center; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.rgh__b--prim { background: var(--rgA, #0D0D0D); color: var(--rgAt, #fff); }
.rgh__b--ghost { background: var(--rgBg, #fff); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); color: inherit; }
.rgh__b--link { color: var(--rgLink, inherit); font-weight: 500; }
.rgh__b--cta { background: var(--rgCta, #A58BFF); color: #111; }
.rgh__b--pill { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); color: #fff; }
.rgh__hit { animation: rgPress 10s ease infinite; }
.rgh__field { position: absolute; display: flex; align-items: flex-start; padding: 1.7cqw 2.2cqw; border-radius: 2.2cqw; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(0, 0, 0, 0.1); color: var(--rgMut, #6B6F76); white-space: nowrap; overflow: hidden; }
.rgh__field--row { align-items: center; color: var(--rgInk, #111); font-weight: 500; }
.rgh__side { position: absolute; inset: 0 auto 0 0; display: flex; flex-direction: column; gap: 2.5cqw; width: 22cqw; padding: 3cqw 2.4cqw; background: var(--rgSide, #F7F7F8); }
.rgh__side b { display: flex; align-items: center; gap: 0.8cqw; margin-bottom: 1.2cqw; font-size: 2.5cqw; font-weight: 600; }
.article-hero__cover .rgh__g { flex: none; width: 2.6cqw; height: 2.6cqw; }
.rgh__card { position: absolute; border-radius: 2.4cqw; background: #fff; box-shadow: 0 6px 24px -10px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.rgh__art { position: absolute; border-radius: 2cqw; background: var(--rgArt, #CFC6B4); }
.rgh__tile { position: absolute; border-radius: 1.6cqw; background: linear-gradient(150deg, #fff, #E7E8EA); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.rgh__hf { display: inline-block; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: #FFD21E; }
.rgh__space { position: absolute; inset: 0; background: radial-gradient(40% 16% at 50% 62%, #000 0 60%, transparent 62%), radial-gradient(70% 26% at 50% 66%, #F2A54A 0, #A8501C 45%, transparent 72%), radial-gradient(90% 60% at 50% 100%, #3B1F18, #0B0A12 80%); }
.rgh__noise { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(120, 170, 255, 0.16) 0 1px, transparent 1px 7px), repeating-linear-gradient(90deg, rgba(120, 170, 255, 0.09) 0 2px, transparent 2px 11px), #0A1A40; }
.rgh__photo { position: absolute; inset: 0; background: radial-gradient(30% 34% at 52% 40%, #D9A98C, transparent 72%), radial-gradient(60% 60% at 15% 90%, #3F5B36, transparent 75%), radial-gradient(50% 60% at 90% 80%, #7A3A20, transparent 75%), #1B1612; }
.rgh__ring { position: absolute; left: var(--mx); top: var(--my); width: 5cqw; height: 5cqw; margin: -2.5cqw 0 0 -2.5cqw; border-radius: 50%; background: var(--rgRing, rgba(13, 13, 13, 0.28)); opacity: 0; animation: cgxRing 10s ease-out infinite; }
.rgh__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); opacity: 0; animation: cgxShade 10s ease infinite; }
.rgh__modal { position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; gap: 1.1cqw; width: 48cqw; padding: 2.8cqw; border-radius: 2.6cqw; background: #fff; color: #111; text-align: center; opacity: 0; transform: translate(-50%, -50%) scale(0.94); animation: cgxModal 10s ease infinite; }
.rgh__modal strong { margin-bottom: 0.8cqw; font-size: 2.7cqw; font-weight: 500; line-height: 1.2; }
.rgh__o { display: flex; align-items: center; justify-content: center; gap: 1cqw; padding: 1.15cqw 1cqw; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16); font-size: 1.85cqw; white-space: nowrap; }
.rgh__o i { flex: none; display: grid; place-items: center; width: 2.3cqw; height: 2.3cqw; border-radius: 50%; color: #fff; font-size: 1.4cqw; font-style: normal; font-weight: 700; line-height: 1; }
.rgh__o--prim { background: var(--rgA, #0D0D0D); color: var(--rgAt, #fff); box-shadow: none; }
.rgh__o--field { justify-content: flex-start; padding-left: 2cqw; border-radius: 1.2cqw; background: #F7F7F8; color: #6B6F76; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.rgh__o--sub, .rgh__o--or, .rgh__o--link { padding: 0.2cqw; box-shadow: none; color: #6B6F76; }
.rgh__o--link { color: var(--rgLink, #0B57D0); }
.article-hero__cover .rgh__cur { position: absolute; left: -4px; top: -2px; width: 18px; height: 18px; animation: rgCursor 10s cubic-bezier(.45, .05, .25, 1) infinite; }
@keyframes rgCursor { 0%, 5% { transform: translate(46cqw, 44cqw); opacity: 0; } 8% { transform: translate(46cqw, 44cqw); opacity: 1; } 28% { transform: translate(var(--mx), var(--my)); opacity: 1; } 30% { transform: translate(var(--mx), var(--my)) scale(0.82); } 33% { transform: translate(var(--mx), var(--my)); opacity: 1; } 46% { transform: translate(calc(var(--mx) - 8cqw), calc(var(--my) + 7cqw)); opacity: 1; } 50%, 100% { transform: translate(calc(var(--mx) - 8cqw), calc(var(--my) + 7cqw)); opacity: 0; } }
@keyframes rgPress { 0%, 28% { filter: none; transform: none; } 30.5% { filter: brightness(0.72); transform: scale(0.95); } 34%, 100% { filter: none; transform: none; } }
html.js .rgh:not(.is-run) * { animation-play-state: paused; }

/* темы первого экрана */
.rgh--grok { --rgBg: #FDFCFB; }
.rgh--deepseek { --rgA: #4D6BFE; --rgLink: #4D6BFE; --rgRing: rgba(77, 107, 254, 0.35); }
.rgh--deepseek .rgh__logo { color: #4D6BFE; font-size: 4.4cqw; }
.rgh--gemini { --rgA: #0B57D0; --rgSide: #F0F4F9; --rgRing: rgba(11, 87, 208, 0.3); }
.rgh--gemini .rgh__c strong { background: linear-gradient(90deg, #4285F4, #9B72CB, #D96570); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 4.2cqw; }
.rgh--kimi .rgh__logo { font-weight: 800; letter-spacing: 0.02em; }
.rgh--claude { --rgBg: #FAF9F5; --rgA: #1F1E1D; --rgArt: linear-gradient(160deg, #C9C6B8, #8E9A8C 55%, #4F5A52); }
.rgh--claude .rgh__head { font-size: 4cqw; }
.rgh--claude .rgh__logo { font-family: Georgia, serif; font-weight: 500; }
.rgh--qwen { --rgA: #111; }
.rgh--qwen .rgh__logo { color: #615CED; }
.rgh--perplexity { --rgBg: #FCFCF9; --rgA: #20808D; --rgRing: rgba(32, 128, 141, 0.35); --rgLink: #20808D; }
.rgh--perplexity .rgh__logo { color: #13343B; font-family: Georgia, serif; font-weight: 400; }
.rgh--perplexity .rgh__modal strong { font-family: Georgia, serif; }
.rgh--perplexity .rgh__o--prim { background: #111; }
.rgh--gemma .rgh__head { font-size: 4.2cqw; }
.rgh--zai { --rgBg: #FAFAFA; }
.rgh--llama { --rgBg: #fff; --rgLink: #111; }
.rgh--dreamina { --rgBg: #0B0A12; --rgInk: #fff; --rgLink: #fff; --rgRing: rgba(255, 255, 255, 0.45); --rgCta: #36E5F2; }
.rgh--dreamina .rgh__logo { font-style: italic; }
.rgh--dreamina .rgh__b--ghost { background: rgba(255, 255, 255, 0.16); box-shadow: none; }
.rgh--dreamina .rgh__mega { font-size: 13cqw; }
.rgh--bfl { --rgArt: linear-gradient(170deg, #0E1F17, #14281E); --rgLink: #111; }
.rgh--bfl .rgh__c { font-size: 3cqw; }
.rgh--bfl .rgh__hit { text-decoration: underline; font-weight: 700; }
.rgh--bfl .rgh__head { font-size: 3.2cqw; }
.rgh--midjourney { --rgBg: #0A1A40; --rgInk: #fff; --rgRing: rgba(255, 255, 255, 0.45); }
.rgh--midjourney .rgh__mega { font: 800 10cqw/1 ui-sans-serif, "Segoe UI", Arial, sans-serif; }
.rgh--ideogram { --rgBg: #1B1612; --rgInk: #fff; --rgCta: #BFA6FF; --rgRing: rgba(255, 255, 255, 0.45); }
.rgh--ideogram .rgh__mega { font: 400 8.4cqw/1 Georgia, serif; }

/* ---------- тело статьи: общая рамка анимаций ---------- */
.rgb { container-type: inline-size; margin: 32px 0; border-radius: 20px; overflow: hidden; background: var(--rgF, #F6F6F4); color: #111; box-shadow: 0 24px 50px -36px rgba(var(--shadow), 0.55), 0 0 0 1px rgba(19, 31, 77, 0.08); font: 400 clamp(9px, 1.9cqw, 14px)/1.4 ui-sans-serif, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.rgb__in { --u: 1cqw; position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.article-body .rgb__cur { position: absolute; left: -4px; top: -2px; width: 18px; height: 18px; }
html.js .rgb:not(.is-run) * { animation-play-state: paused; }
@container (max-width: 460px) { .rgb__in { --u: 1.36cqw; aspect-ratio: 4 / 3.4; } }

/* форма с кодом подтверждения */
.rgf__card { position: absolute; left: 22cqw; width: 56cqw; top: calc(var(--u) * 3); height: calc(var(--u) * 56.5); border-radius: 18px; background: #fff; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.05); }
.rgf__title { position: absolute; left: 25cqw; right: 25cqw; top: calc(var(--u) * 6); text-align: center; font-size: 1.25em; font-weight: 600; }
.rgf__f { position: absolute; left: 25cqw; right: 25cqw; height: calc(var(--u) * 8.4); padding-top: calc(var(--u) * 0.6); }
.rgf__f small { display: block; color: #6B6F76; font-size: 0.85em; }
.rgf__f span { display: block; margin-top: calc(var(--u) * 0.5); padding: calc(var(--u) * 0.9) calc(var(--u) * 1.4); border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16); white-space: nowrap; }
.rgf__code { position: absolute; left: 25cqw; right: 25cqw; top: calc(var(--u) * 34); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1cqw; }
.rgf__code i { display: grid; place-items: center; height: calc(var(--u) * 7); border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16); font-style: normal; }
.rgf__code b { font-size: 1.2em; font-weight: 600; }
.rgf__go { position: absolute; left: 25cqw; right: 25cqw; top: calc(var(--u) * 45); display: grid; place-items: center; height: calc(var(--u) * 8); border-radius: 999px; background: var(--rgA, #111); color: #fff; font-weight: 600; animation: rgfPress var(--rgT) ease infinite; }
.rgf__go > span { grid-area: 1 / 1; }
.rgf__l1 { animation: rgfL1 var(--rgT) linear infinite; }
.rgf__l2 { animation: rgfL2 var(--rgT) linear infinite; }
.rgf__toast { position: absolute; right: 1.4cqw; top: calc(var(--u) * 5); display: flex; flex-direction: column; width: 19.4cqw; padding: calc(var(--u) * 1.2) 1.6cqw; border-radius: 12px; background: #fff; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(0, 0, 0, 0.06); animation: rgfToast var(--rgT) ease infinite; }
.rgf__toast span { color: #4B4F56; }
.rgf__done { position: absolute; left: 22cqw; width: 56cqw; top: calc(var(--u) * 3); height: calc(var(--u) * 56.5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--u) * 1.4); border-radius: 18px; background: #fff; text-align: center; animation: rgfDone var(--rgT) ease infinite; }
.article-body .rgf__done svg { width: calc(var(--u) * 8); height: calc(var(--u) * 8); color: var(--rgA, #111); }
.rgf__done strong { font-size: 1.3em; font-weight: 600; }
.rgf__done span { color: #6B6F76; }
.article-body .rgf__cur { --gx: 50cqw; --gy: calc(var(--u) * 49); animation: rgfCur var(--rgT) cubic-bezier(.45, .05, .25, 1) infinite; }
@keyframes rgfCur { 0%, 2% { transform: translate(64cqw, calc(var(--u) * 20)); opacity: 0; } 5%, 28% { transform: translate(60cqw, calc(var(--u) * 20)); opacity: 1; } 36% { transform: translate(var(--gx), var(--gy)); opacity: 1; } 37.5% { transform: translate(var(--gx), var(--gy)) scale(0.85); } 39%, 62% { transform: translate(var(--gx), var(--gy)); opacity: 1; } 63.5% { transform: translate(var(--gx), var(--gy)) scale(0.85); } 65% { transform: translate(var(--gx), var(--gy)); opacity: 1; } 69%, 100% { transform: translate(var(--gx), var(--gy)); opacity: 0; } }
@keyframes rgfPress { 0%, 37% { transform: none; filter: none; } 38% { transform: scale(0.97); filter: brightness(0.8); } 39.5%, 63% { transform: none; filter: none; } 64% { transform: scale(0.97); filter: brightness(0.8); } 65.5%, 100% { transform: none; filter: none; } }
@keyframes rgfL1 { 0%, 38% { opacity: 1; } 39%, 96% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes rgfL2 { 0%, 38% { opacity: 0; } 39%, 96% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgfToast { 0%, 39% { opacity: 0; transform: translateX(24px); } 42%, 64% { opacity: 1; transform: none; } 67%, 100% { opacity: 0; transform: none; } }
@keyframes rgfDone { 0%, 65% { opacity: 0; } 68%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@container (max-width: 460px) {
  .rgf__card, .rgf__done { left: 5cqw; width: 90cqw; }
  .rgf__title, .rgf__f, .rgf__code, .rgf__go { left: 9cqw; right: 9cqw; }
  .rgf__toast { width: 62cqw; right: 3cqw; top: calc(var(--u) * 2); }
  .rgf__code { gap: 1.6cqw; }
}

/* настройки языка */
.rgl__box { position: absolute; left: 10cqw; right: 10cqw; top: calc(var(--u) * 7); height: calc(var(--u) * 48); border-radius: 16px; background: #fff; box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(0, 0, 0, 0.05); overflow: hidden; }
.rgl__nav { position: absolute; inset: 0 auto 0 0; display: flex; flex-direction: column; gap: calc(var(--u) * 2.4); width: 24cqw; padding: calc(var(--u) * 3) 2cqw; background: #F7F7F8; }
.rgl__nav b { font-size: 1.15em; font-weight: 600; }
.rgl__on { margin: 0 -0.8cqw; padding: calc(var(--u) * 0.8) 0.8cqw; border-radius: 8px; background: #E9EAEC; }
.rgl__sw { display: inline-grid; }
.rgl__sw > span { grid-area: 1 / 1; white-space: nowrap; }
.rgl__en { animation: rglEn var(--rgT) linear infinite; }
.rgl__ru { animation: rglRu var(--rgT) linear infinite; }
.rgl__row { position: absolute; left: 27cqw; right: 3cqw; display: flex; align-items: center; justify-content: space-between; height: calc(var(--u) * 8); }
.rgl__dd { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; min-width: 21cqw; padding: calc(var(--u) * 1) 1.4cqw; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); }
.rgl__dd::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border: solid #6B6F76; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.rgl__val { color: #6B6F76; }
.rgl__list { position: absolute; right: 3cqw; top: calc(var(--u) * 14.6); display: flex; flex-direction: column; width: 21cqw; padding: calc(var(--u) * 0.7); border-radius: 10px; background: #fff; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(0, 0, 0, 0.08); animation: rglList var(--rgT) ease infinite; }
.rgl__list span { display: flex; align-items: center; height: calc(var(--u) * 4.6); padding: 0 1cqw; border-radius: 6px; }
.rgl__pick { animation: rglPick var(--rgT) linear infinite; }
.article-body .rgl__cur { --dx: 79cqw; --dy: calc(var(--u) * 18); --px: 79cqw; --py: calc(var(--u) * 29.2); animation: rglCur var(--rgT) cubic-bezier(.45, .05, .25, 1) infinite; }
@keyframes rglCur { 0%, 3% { transform: translate(40cqw, calc(var(--u) * 45)); opacity: 0; } 6% { transform: translate(40cqw, calc(var(--u) * 45)); opacity: 1; } 22% { transform: translate(var(--dx), var(--dy)); opacity: 1; } 24% { transform: translate(var(--dx), var(--dy)) scale(0.85); } 26%, 34% { transform: translate(var(--dx), var(--dy)); opacity: 1; } 44% { transform: translate(var(--px), var(--py)); opacity: 1; } 46% { transform: translate(var(--px), var(--py)) scale(0.85); } 48% { transform: translate(var(--px), var(--py)); opacity: 1; } 60%, 100% { transform: translate(calc(var(--px) - 12cqw), calc(var(--py) + 12cqw)); opacity: 0; } }
@keyframes rglList { 0%, 25% { opacity: 0; transform: translateY(-4px); } 27%, 47% { opacity: 1; transform: none; } 49%, 100% { opacity: 0; } }
@keyframes rglPick { 0%, 35% { background: transparent; } 37%, 100% { background: #E9EAEC; } }
@keyframes rglEn { 0%, 47% { opacity: 1; } 48%, 96% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes rglRu { 0%, 47% { opacity: 0; } 48%, 96% { opacity: 1; } 97%, 100% { opacity: 0; } }
@container (max-width: 460px) {
  .rgl__box { left: 4cqw; right: 4cqw; }
  .rgl__nav { width: 28cqw; }
  .rgl__row { left: 31cqw; right: 3cqw; }
  .rgl__dd { min-width: 28cqw; }
  .rgl__row:nth-of-type(n) > span:first-child { max-width: 28cqw; overflow: hidden; }
  .rgl__list { right: 3cqw; width: 28cqw; }
  .article-body .rgl__cur { --dx: 80cqw; --px: 80cqw; }
}

/* поиск с источниками */
.rgs__q { position: absolute; left: 5cqw; right: 5cqw; top: calc(var(--u) * 4); height: calc(var(--u) * 9); border-radius: 14px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07), inset 0 0 0 1px rgba(0, 0, 0, 0.1); overflow: hidden; }
.rgs__ph, .rgs__type { position: absolute; left: 2cqw; top: 50%; margin-top: -0.7em; white-space: nowrap; }
.rgs__ph { color: #6B6F76; animation: rgsPh var(--rgT) linear infinite; }
.rgs__type { animation: rgsType var(--rgT) linear infinite; }
.rgs__send { position: absolute; right: 1.4cqw; top: calc(var(--u) * 1.5); width: calc(var(--u) * 6); height: calc(var(--u) * 6); border-radius: 50%; background: var(--rgA, #20808D); animation: rgsSend var(--rgT) ease infinite; }
.rgs__send::before { content: "↑"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 700; }
.rgs__lbl { position: absolute; left: 5.4cqw; top: calc(var(--u) * 16); color: #4B4F56; font-size: 0.9em; font-weight: 600; }
.rgs__lbl--a { top: calc(var(--u) * 29); }
.rgs__src { position: absolute; left: 5cqw; right: 5cqw; top: calc(var(--u) * 19.5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4cqw; }
.rgs__chip { display: flex; align-items: center; gap: 0.8cqw; height: calc(var(--u) * 7); padding: 0 1cqw; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); font-size: 0.9em; line-height: 1.15; animation: var(--sh); }
.rgs__chip b { flex: none; display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: #E6F2F3; color: #13545D; font-size: 0.85em; }
.rgs__a { position: absolute; left: 5.4cqw; right: 5.4cqw; top: calc(var(--u) * 32.4); line-height: 1.55; }
.rgs__a sup { color: #13545D; font-weight: 700; font-size: 0.72em; line-height: 0; }
.article-body .rgs__cur { --gx: 92.5cqw; --gy: calc(var(--u) * 8.5); animation: rgsCur var(--rgT) cubic-bezier(.45, .05, .25, 1) infinite; }
@keyframes rgsCur { 0%, 2% { transform: translate(50cqw, calc(var(--u) * 30)); opacity: 0; } 5% { transform: translate(40cqw, calc(var(--u) * 8.5)); opacity: 1; } 22% { transform: translate(40cqw, calc(var(--u) * 8.5)); opacity: 1; } 26% { transform: translate(var(--gx), var(--gy)); opacity: 1; } 27.5% { transform: translate(var(--gx), var(--gy)) scale(0.85); } 29% { transform: translate(var(--gx), var(--gy)); opacity: 1; } 35%, 100% { transform: translate(var(--gx), var(--gy)); opacity: 0; } }
@keyframes rgsPh { 0%, 6% { opacity: 1; } 7%, 96% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes rgsType { 0%, 7% { clip-path: inset(0 100% 0 0); opacity: 1; } 22%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgsSend { 0%, 27% { transform: none; filter: none; } 28% { transform: scale(0.88); filter: brightness(0.75); } 29.5%, 100% { transform: none; filter: none; } }
@container (max-width: 460px) {
  .rgs__type { font-size: 8px; left: 2.4cqw; }
  .rgs__ph { left: 2.4cqw; }
  .rgs__send { right: 2cqw; }
  .rgs__chip { padding: 0 1.4cqw; font-size: 8px; }
  .article-body .rgs__cur { --gx: 91cqw; }
}

/* терминал */
.rgb--term { background: #15171C; color: #E7E9EE; font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: clamp(8px, 1.75cqw, 13px); }
.rgt__bar0 { display: flex; align-items: center; gap: 6px; height: calc(var(--u) * 6); padding: 0 2cqw; background: #23262D; }
.rgt__bar0 i { width: 9px; height: 9px; border-radius: 50%; background: #4B4F58; }
.rgt__bar0 span { margin-left: 8px; color: #B6BAC4; }
.rgt__body { display: flex; flex-direction: column; gap: calc(var(--u) * 1.5); padding: calc(var(--u) * 3) 3cqw; line-height: 1.45; }
.rgt__l--cmd { display: flex; gap: 8px; }
.rgt__l--cmd em { flex: none; color: #7CE2A0; font-style: normal; }
.rgt__l--out { color: #B6BAC4; }
.rgt__l--ans { color: #fff; }
.rgt__track { display: block; height: calc(var(--u) * 1.4); min-height: 5px; border-radius: 99px; background: #2D3038; overflow: hidden; }
.rgt__track i { display: block; height: 100%; background: #7CE2A0; transform-origin: 0 50%; }

/* генератор картинок */
.rgb--img { background: #fff; }
.rgi__panel { position: absolute; inset: 0 auto 0 0; width: 34cqw; background: var(--rgSide, #F6F6F7); }
.rgi__head { position: absolute; left: 2.4cqw; top: calc(var(--u) * 2.6); font-size: 1.15em; font-weight: 700; }
.rgi__prompt { position: absolute; left: 2.4cqw; right: 2.4cqw; top: calc(var(--u) * 7.6); height: calc(var(--u) * 22); padding: calc(var(--u) * 1.2) 1.2cqw; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); overflow: hidden; font-size: 0.92em; line-height: 1.35; }
.rgi__prompt span { display: block; }
.rgi__row { position: absolute; left: 2.4cqw; right: 2.4cqw; display: flex; justify-content: space-between; gap: 6px; height: calc(var(--u) * 4.4); align-items: center; font-size: 0.92em; white-space: nowrap; }
.rgi__row span { color: #5F6368; }
.rgi__row b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.rgi__go { position: absolute; left: 2.4cqw; right: 2.4cqw; top: calc(var(--u) * 51.5); display: grid; place-items: center; height: calc(var(--u) * 8); border-radius: 999px; background: var(--rgA, #111); color: var(--rgAt, #fff); font-weight: 700; animation: rgiPress var(--rgT) ease infinite; }
.rgi__stage { position: absolute; left: 36cqw; right: 2cqw; top: calc(var(--u) * 2.5); bottom: calc(var(--u) * 2.5); border-radius: 14px; background: #ECEDEF; overflow: hidden; }
.rgi__shim { position: absolute; inset: 0; background: linear-gradient(100deg, #ECEDEF 30%, #F8F8F9 50%, #ECEDEF 70%); background-size: 220% 100%; animation: rgiShim 1.3s linear infinite, rgiShimShow var(--rgT) linear infinite; }
.rgi__one { position: absolute; inset: 0; display: flex; align-items: center; }
.article-body .rgi__one svg { display: block; width: 100%; height: auto; max-height: 100%; }
.rgi__one--tall { justify-content: center; }
.article-body .rgi__one--tall svg { width: auto; height: 100%; max-width: 100%; }
.rgi__grid { position: absolute; left: 0; right: 0; top: 50%; aspect-ratio: 16 / 9; transform: translateY(-50%); display: grid; grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr)); gap: 4px; }
.rgi__tile { overflow: hidden; }
.article-body .rgi__tile svg { display: block; width: 100%; height: 100%; }
.article-body .rgi__cur { --gx: 17cqw; --gy: calc(var(--u) * 55.5); animation: rgiCur var(--rgT) cubic-bezier(.45, .05, .25, 1) infinite; }
@keyframes rgiCur { 0%, 2% { transform: translate(24cqw, calc(var(--u) * 28)); opacity: 0; } 5% { transform: translate(24cqw, calc(var(--u) * 28)); opacity: 1; } 30% { transform: translate(24cqw, calc(var(--u) * 28)); opacity: 1; } 38% { transform: translate(var(--gx), var(--gy)); opacity: 1; } 39.5% { transform: translate(var(--gx), var(--gy)) scale(0.85); } 41% { transform: translate(var(--gx), var(--gy)); opacity: 1; } 47%, 100% { transform: translate(var(--gx), var(--gy)); opacity: 0; } }
@keyframes rgiPress { 0%, 39% { transform: none; filter: none; } 40% { transform: scale(0.96); filter: brightness(0.8); } 41.5%, 100% { transform: none; filter: none; } }
@keyframes rgiShim { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes rgiShimShow { 0%, 40% { opacity: 0; } 42%, 58% { opacity: 1; } 62%, 100% { opacity: 0; } }
@container (max-width: 460px) {
  .rgi__panel { width: 44cqw; }
  .rgi__stage { left: 46cqw; }
  .article-body .rgi__cur { --gx: 22cqw; }
}

/* темы анимаций в теле статьи */
.rgt-grok.cgy { background: #FDFCFB; }
.rgt-gemini.cgy { background: #fff; }
.rgt-gemini .cgy__side { background: #F0F4F9; box-shadow: none; }
.rgt-gemini .cgy__hist { background: #D3E3FD; }
.rgt-gemini .cgy__hello { background: linear-gradient(90deg, #4285F4, #9B72CB, #D96570); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 500; }
.rgt-gemini .cgy__q { background: #E9EEF6; }
.rgt-qwen .cgy__side { background: #F7F7FB; }
.rgt-qwen .cgy__hist { background: #E7E6FB; }
.rgt-zai.cgy { background: #FAFAFA; }
.rgt-zai .cgy__hello { font-family: Georgia, serif; font-weight: 700; }
.cgy[class*="rgt-"] .cgy__input { overflow: hidden; }
.article-body .cgy[class*="rgt-"] .cgy__a { position: absolute; left: 26cqw; right: 6cqw; top: 13cqw; line-height: 1.5; animation: cgyA 12s ease infinite; }
@container (max-width: 460px) { .article-body .cgy[class*="rgt-"] .cgy__a { left: 31cqw; right: 3cqw; top: 17cqw; line-height: 1.35; } }
.rgt-gemini .cgy__send { animation-name: rgChatSend; background: #0B57D0; }
.rgt-qwen .cgy__send { animation-name: rgChatSend; background: #615CED; }
@keyframes rgChatSend { 0%, 44.5% { transform: none; } 45.5% { transform: scale(0.88); } 47%, 100% { transform: none; } }
.rgt-deepseek { --rgF: #F3F6FF; --rgA: #4D6BFE; }
.rgt-claude { --rgF: #F5F3EC; --rgA: #1F1E1D; }
.rgt-claude .rgf__title, .rgt-claude .rgf__done strong { font-family: Georgia, serif; font-weight: 500; }
.rgt-kimi { --rgF: #ECEDEF; }
.rgt-perplexity { --rgF: #FCFCF9; --rgA: #20808D; }
.rgt-dreamina { --rgA: #0B0A12; --rgAt: #36E5F2; }
.rgt-bfl { --rgA: #14281E; --rgSide: #F3F5F3; }
.rgt-midjourney { --rgA: #0A1A40; --rgSide: #F2F4F9; }
.rgt-ideogram { --rgA: #111; --rgSide: #F5F2FB; }
.rgt-ideogram .rgi__stage { background: #E7E4EE; }

@media (prefers-reduced-motion: reduce) {
  .rgh *, .rgb *, .article-body .rgb__cur { animation: none !important; }
  .rgh__ring, .article-hero__cover .rgh__cur, .article-body .rgb__cur, .rgi__shim, .rgs__ph, .rgf__l1, .rgl__en, .rgl__list, .rgf__toast { display: none; }
  .rgh__shade { opacity: 1; }
  .rgh__modal { opacity: 1; transform: translate(-50%, -50%); }
}

/* ключевые кадры по шагам */
@keyframes rgdeepseekF1 { 0%, 6% { clip-path: inset(0 100% 0 0); opacity: 1; } 16%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgdeepseekF2 { 0%, 17% { clip-path: inset(0 100% 0 0); opacity: 1; } 28%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgdeepseekD0 { 0%, 44% { opacity: 0; } 45%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgdeepseekD1 { 0%, 47% { opacity: 0; } 48%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgdeepseekD2 { 0%, 50% { opacity: 0; } 51%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgdeepseekD3 { 0%, 53% { opacity: 0; } 54%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgdeepseekD4 { 0%, 56% { opacity: 0; } 57%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgdeepseekD5 { 0%, 59% { opacity: 0; } 60%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgclaudeF2 { 0%, 17% { clip-path: inset(0 100% 0 0); opacity: 1; } 28%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgclaudeD0 { 0%, 44% { opacity: 0; } 45%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgclaudeD1 { 0%, 47% { opacity: 0; } 48%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgclaudeD2 { 0%, 50% { opacity: 0; } 51%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgclaudeD3 { 0%, 53% { opacity: 0; } 54%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgclaudeD4 { 0%, 56% { opacity: 0; } 57%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgclaudeD5 { 0%, 59% { opacity: 0; } 60%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgsLbl { 0%, 30% { opacity: 0; } 31%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgsC0 { 0%, 32% { opacity: 0; } 33%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgsC1 { 0%, 36% { opacity: 0; } 37%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgsC2 { 0%, 40% { opacity: 0; } 41%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgsLbl2 { 0%, 44% { opacity: 0; } 45%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgsA { 0%, 46% { clip-path: inset(0 0 100% 0); opacity: 1; } 64%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rggemmaL0 { 0%, 6% { clip-path: inset(0 100% 0 0); opacity: 1; } 16%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rggemmaL1 { 0%, 20% { opacity: 0; } 21%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rggemmaL2w { 0%, 23% { opacity: 0; } 24%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rggemmaL2 { 0%, 23% { transform: scaleX(0); opacity: 1; } 42%, 93% { transform: scaleX(1); opacity: 1; } 97%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes rggemmaL3 { 0%, 44% { opacity: 0; } 45%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rggemmaL4 { 0%, 48% { clip-path: inset(0 100% 0 0); opacity: 1; } 62%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rggemmaL5 { 0%, 68% { opacity: 0; } 69%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rggemmaL6 { 0%, 73% { opacity: 0; } 74%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rggemmaL7 { 0%, 78% { opacity: 0; } 79%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgllamaL0 { 0%, 6% { clip-path: inset(0 100% 0 0); opacity: 1; } 16%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgllamaL1 { 0%, 20% { opacity: 0; } 21%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgllamaL2w { 0%, 23% { opacity: 0; } 24%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgllamaL2 { 0%, 23% { transform: scaleX(0); opacity: 1; } 42%, 93% { transform: scaleX(1); opacity: 1; } 97%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes rgllamaL3 { 0%, 44% { opacity: 0; } 45%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgllamaL4 { 0%, 48% { clip-path: inset(0 100% 0 0); opacity: 1; } 62%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgllamaL5 { 0%, 68% { opacity: 0; } 69%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgllamaL6 { 0%, 73% { opacity: 0; } 74%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgllamaL7 { 0%, 78% { opacity: 0; } 79%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes rgdreaminaR { 0%, 56% { clip-path: inset(0 0 100% 0); opacity: 1; } 72%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgdreaminaP { 0%, 5% { clip-path: inset(0 0 100% 0); opacity: 1; } 30%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgbflR { 0%, 56% { clip-path: inset(0 0 100% 0); opacity: 1; } 72%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgbflP { 0%, 5% { clip-path: inset(0 0 100% 0); opacity: 1; } 30%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgmidjourneyT0 { 0%, 56% { clip-path: inset(0 0 100% 0); opacity: 1; } 64%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgmidjourneyT1 { 0%, 59% { clip-path: inset(0 0 100% 0); opacity: 1; } 67%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgmidjourneyT2 { 0%, 62% { clip-path: inset(0 0 100% 0); opacity: 1; } 70%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgmidjourneyT3 { 0%, 65% { clip-path: inset(0 0 100% 0); opacity: 1; } 73%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgmidjourneyP { 0%, 5% { clip-path: inset(0 0 100% 0); opacity: 1; } 30%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgideogramR { 0%, 56% { clip-path: inset(0 0 100% 0); opacity: 1; } 72%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes rgideogramP { 0%, 5% { clip-path: inset(0 0 100% 0); opacity: 1; } 30%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
