/* grok.online cross-promo styles, extracted from site.css by build.mjs (edit site.css). */
/* Slots (.pr-slot, cg_promo() in inc/lib.php; filled by assets/js/promo.js) have fixed heights per variant and container
   width, so the re-draw never moves the page; the server's default creative stays invisible until promo.js has drawn
   the visitor's one (after 3 s it shows anyway). Designs: .pr-d-white | .pr-d-brand | .pr-d-bold, coloured per product
   by .pr-c-<creative> (--pr-a в†’ --pr-b). Layout by container width: wide (> 860), medium, narrow (<= 640: phones). */
.pr-slot, .pr-host { container: pr / inline-size; }
.pr-slot[hidden] { display: none !important; }
.js .pr-slot:not([data-promo-done]) > .pr { visibility: hidden; animation: pr-show 0s 3s forwards; }
@keyframes pr-show { to { visibility: visible; } }
.pr-zone { padding-top: 16px; }
.pr-slot-top { margin: 0 0 4px; }
.pr-slot-fold { margin: 36px 0; }
.prose > .pr-slot-fold { margin: 36px 0 40px; }
.pr-slot-appbar { display: none; }

.pr { --pr-a: #4F46E5; --pr-b: #9333EA; --pr-ink: #18181B; --pr-soft: #3F3F46; position: relative; display: grid; align-items: center; box-sizing: border-box; overflow: hidden; border: 2px solid transparent; border-radius: 18px; color: var(--pr-ink); font: 15px/1.4 var(--font); text-align: start; isolation: isolate; }
.pr *, .pr *::before, .pr *::after { box-sizing: border-box; }
.pr .pr-label, .pr .pr-title, .pr .pr-text { margin: 0; }
.pr .pr-title, .pr .pr-text { margin-top: 4px; }
.pr-title, .pr-text, .pr-qr span { unicode-bidi: plaintext; }
.pr a { text-decoration: none; }
.pr a::after { content: none !important; }
.pr img, .pr svg { display: block; max-width: 100%; }
.pr .i { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .pr .i-dir { transform: scaleX(-1); }
.pr-c-imagegpt { --pr-a: #DB2777; --pr-b: #C2410C; }
.pr-c-aiart { --pr-a: #E11D48; --pr-b: #9333EA; }
.pr-c-chatplus { --pr-a: #2563EB; --pr-b: #7C3AED; }
.pr-c-maxgpt { --pr-a: #6D28D9; --pr-b: #2563EB; }
.pr-c-bots { --pr-a: #0369A1; --pr-b: #4F46E5; }
.pr-c-app { --pr-a: #047857; --pr-b: #0369A1; }

.pr-media { display: block; overflow: hidden; border-radius: 16px; background: #F4F4F5; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45); }
.pr-media img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.pr-bots { display: grid; grid-template-columns: 1fr 1fr; place-items: center; gap: 4%; width: 100%; height: 100%; padding: 12%; background: #FFF; }
.pr-bots .pr-ic { width: 100%; height: auto; aspect-ratio: 1; padding: 18%; border-radius: 50%; color: #FFF; }
.pr-bots .pr-ic:nth-child(1) { grid-column: 1 / -1; width: 50%; background: #2AABEE; }
.pr-bots .pr-ic:nth-child(2) { background: linear-gradient(135deg, #3F8CFF, #8B5CF6); }
.pr-bots .pr-ic:nth-child(3) { background: #0077FF; }
.pr-body { min-width: 0; }
.pr-label { overflow: hidden; color: var(--pr-soft); font: 700 11px/14px var(--font); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.pr-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--pr-ink); font: 700 21px/1.2 var(--font-display); letter-spacing: -.015em; }
.pr-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--pr-soft); font-size: 15px; line-height: 1.4; }
.pr-acts { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; }
.pr-btn { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 12px; font: 700 16px/1 var(--font); white-space: nowrap; transition: transform .15s, box-shadow .15s, filter .15s; }
.pr-btn:hover { transform: translateY(-1px); text-decoration: none; }
.pr-btn .pr-ic { width: 20px; height: 20px; }
.pr-store { display: inline-flex; flex: none; align-items: center; gap: 8px; width: 152px; height: 44px; padding: 0 12px 0 10px; border: 1px solid #A6A6A6; border-radius: 10px; background: #000; color: #FFF; direction: ltr; }
.pr-store:hover { background: #1A1A1A; color: #FFF; text-decoration: none; }
.pr-store .pr-ic { width: 24px; height: 24px; }
.pr-store-t { display: grid; line-height: 1.05; text-align: left; }
.pr-store-t small { font-size: 9.5px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.pr-store-t b { font: 600 16px/1.1 var(--font); letter-spacing: -.01em; white-space: nowrap; }
.pr-stores { display: flex; flex-direction: column; gap: 8px; }
.pr-qr { display: flex; flex: none; flex-direction: column; align-items: center; gap: 4px; }
.pr-qr img { width: 80px; height: 80px; padding: 4px; border-radius: 10px; background: #FFF; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.pr-qr span { max-width: 120px; overflow: hidden; color: var(--pr-soft); font-size: 12px; font-weight: 600; line-height: 16px; white-space: nowrap; text-overflow: ellipsis; }
.pr-get { display: none !important; }
.pr-x { display: grid; flex: none; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--pr-soft); cursor: pointer; }
.pr-x:hover { background: rgba(0, 0, 0, .08); }
.pr-x .pr-ic { width: 18px; height: 18px; }
.pr-os-ios .pr-store-android, .pr-os-android .pr-store-ios, .pr-os-ios .pr-qr, .pr-os-android .pr-qr { display: none; }

/* designs */
.pr-d-white { background: linear-gradient(#FFF, #FFF) padding-box, linear-gradient(120deg, var(--pr-a), var(--pr-b)) border-box; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .55); }
.pr-d-white .pr-btn-go { background: linear-gradient(120deg, var(--pr-a), var(--pr-b)); color: #FFF; box-shadow: 0 8px 20px -10px var(--pr-a); }
.pr-d-white .pr-btn-go:hover { color: #FFF; filter: brightness(1.08); }
.pr-d-brand { --pr-ink: #FFF; --pr-soft: rgba(255, 255, 255, .9); background: radial-gradient(120% 160% at 100% 0%, rgba(255, 255, 255, .24), transparent 55%) border-box, linear-gradient(120deg, var(--pr-a), var(--pr-b)) border-box; box-shadow: 0 18px 40px -22px var(--pr-b); }
.pr-d-brand .pr-btn-go { background: #FFF; color: var(--pr-a); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.pr-d-brand .pr-btn-go:hover { color: var(--pr-b); }
.pr-d-brand .pr-qr img { box-shadow: none; }
.pr-d-brand .pr-x:hover { background: rgba(255, 255, 255, .18); }
.pr-d-bold { --pr-ink: #0A0A0A; --pr-soft: #27272A; border-color: #0A0A0A; background: #FFD43B; box-shadow: 5px 5px 0 var(--pr-a); }
.pr-d-bold .pr-btn-go { background: #0A0A0A; color: #FFF; }
.pr-d-bold .pr-btn-go:hover { color: #FFD43B; }
.pr-d-bold .pr-media { box-shadow: 0 0 0 2px #0A0A0A; }
.pr-d-bold .pr-store { border-color: #0A0A0A; }
.pr-slim.pr-d-bold { box-shadow: none; }
.pr-card.pr-d-bold { box-shadow: 3px 3px 0 var(--pr-a); }
.pr-btn-tg, .pr-btn-max, .pr-btn-vk { padding: 0 16px; background: #FFF; color: #18181B; box-shadow: 0 0 0 1px rgba(0, 0, 0, .14); }
.pr-btn-tg:hover, .pr-btn-max:hover, .pr-btn-vk:hover { color: #000; }
.pr-d-bold .pr-btn-tg, .pr-d-bold .pr-btn-max, .pr-d-bold .pr-btn-vk { box-shadow: 0 0 0 2px #0A0A0A; }
.pr-btn-tg .pr-ic { color: #2AABEE; }
.pr-btn-max .pr-ic { color: #6D5DFC; }
.pr-btn-vk .pr-ic { color: #0077FF; }

/* strip: "top" and "fold" */
.pr-strip { grid-template-columns: 104px minmax(0, 1fr) auto; gap: 24px; height: 136px; padding: 14px; padding-inline-end: 22px; }
.pr-strip .pr-media { width: 104px; height: 104px; }
.pr-strip .pr-title { -webkit-line-clamp: 1; }
.pr-strip.pr-c-app .pr-acts { gap: 16px; }

/* slim: the strip above the chat (desktop), 60 px */
.pr-slim { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; height: 60px; padding: 0 6px 0 6px; border-radius: 14px; }
.pr-slim .pr-media { width: 44px; height: 44px; border-radius: 11px; box-shadow: none; }
.pr-slim .pr-label { display: none; }
.pr-slim .pr-title { margin-top: 0; font-size: 15px; -webkit-line-clamp: 1; }
.pr-slim .pr-text { margin-top: 1px; font-size: 13px; -webkit-line-clamp: 1; }
.pr-slim .pr-btn { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.pr-slim .pr-btn-tg, .pr-slim .pr-btn-max, .pr-slim .pr-btn-vk { padding: 0 12px; }
.pr-slim .pr-stores { flex-direction: row; }
.pr-slim .pr-store { width: auto; height: 40px; }
.pr-slim .pr-store-t small { display: none; }
.pr-slim .pr-store-t b { font-size: 14px; }
.pr-slim .pr-qr img { width: 52px; height: 52px; padding: 3px; border-radius: 7px; }
.pr-slim .pr-qr span { display: none; }

/* bar: the app on phones (under the site header, and above the chat) */
.pr-bar { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 4px 0 12px; border-width: 0; border-radius: 0; }
.pr-bar .pr-body { flex: 1 1 auto; }
.pr-bar .pr-media { flex: none; width: 40px; height: 40px; border-radius: 10px; box-shadow: none; }
.pr-bar .pr-label { display: none; }
.pr-bar .pr-title { margin-top: 0; font-size: 15px; -webkit-line-clamp: 1; }
.pr-bar .pr-text { margin-top: 0; font-size: 12.5px; line-height: 1.3; -webkit-line-clamp: 1; }
.pr-bar .pr-stores { flex-direction: row; display: none; }
.pr-bar .pr-store { width: auto; height: 36px; padding: 0 10px 0 8px; }
.pr-bar .pr-store .pr-ic { width: 20px; height: 20px; }
.pr-bar .pr-store-t small { display: none; }
.pr-bar .pr-store-t b { font-size: 14px; }
.pr-bar .pr-get { display: inline-flex !important; height: 36px; padding: 0 16px; border-radius: 18px; font-size: 14px; }
.pr-bar.pr-os-ios .pr-stores, .pr-bar.pr-os-android .pr-stores { display: flex; }
.pr-bar.pr-os-ios .pr-get, .pr-bar.pr-os-android .pr-get { display: none !important; }
.pr-bar.pr-d-white { box-shadow: inset 0 -2px 0 var(--pr-a); background: #FFF; }
.pr-bar.pr-d-bold { box-shadow: inset 0 -2px 0 #0A0A0A; }
.pr-slot-chat-top .pr-bar { border-radius: 12px; }
.pr-slot-chat-top .pr-bar.pr-d-white { box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), inset 0 -2px 0 var(--pr-a); }

/* card: chat sidebar and between chat messages */
.pr-card { grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: 52px auto auto; align-items: start; align-content: start; gap: 10px 12px; height: 178px; padding: 12px; border-radius: 16px; }
.pr-card .pr-media { width: 52px; height: 52px; border-radius: 13px; }
.pr-card .pr-body { display: contents; }
.pr-card .pr-label { grid-column: 2; grid-row: 1; align-self: start; font-size: 10.5px; }
.pr-card .pr-title { grid-column: 2; grid-row: 1; align-self: end; margin: 0; font-size: 14.5px; line-height: 1.25; }
.pr-card .pr-text { grid-column: 1 / -1; margin: 0; font-size: 13px; }
.pr-card .pr-acts { grid-column: 1 / -1; flex-wrap: nowrap; }
.pr-card .pr-btn { flex: 1 1 auto; min-width: 0; height: 38px; padding: 0 12px; font-size: 14px; }
.pr-card .pr-acts-bots { gap: 6px; }
.pr-card .pr-btn-tg, .pr-card .pr-btn-max, .pr-card .pr-btn-vk { flex: 1 1 0; padding: 0 4px; font-size: 13px; }
.pr-card .pr-acts-bots .pr-ic { display: none; }
.pr-card.pr-c-app .pr-text { display: none; }
.pr-card .pr-stores { gap: 6px; }
.pr-card .pr-store { width: 140px; height: 36px; }
.pr-card .pr-store .pr-ic { width: 20px; height: 20px; }
.pr-card .pr-store-t b { font-size: 14px; }
.pr-card .pr-qr img { width: 78px; height: 78px; }
.pr-card .pr-qr span { display: none; }
.pr-card.pr-c-app .pr-acts { grid-row: 2 / 4; gap: 12px; }

/* modal: inside the chat's dialogs (no fixed height) */
.pr-modal { grid-template-columns: 64px minmax(0, 1fr); gap: 14px 14px; padding: 16px; border-radius: 18px; }
.pr-modal .pr-media { width: 64px; height: 64px; border-radius: 15px; }
.pr-modal .pr-title { font-size: 18px; }
.pr-modal .pr-text { -webkit-line-clamp: 3; font-size: 14px; }
.pr-modal .pr-acts { grid-column: 1 / -1; flex-wrap: wrap; }
.pr-modal .pr-btn-go { width: 100%; }
.pr-modal .pr-btn-tg, .pr-modal .pr-btn-max, .pr-modal .pr-btn-vk { flex: 1 1 0; min-width: 0; height: 44px; padding: 0 8px; font-size: 14px; }
.pr-modal.pr-c-app .pr-acts { justify-content: center; gap: 18px; }

@container pr (max-width: 860px) {
  .pr-strip { grid-template-columns: 88px minmax(0, 1fr) auto; gap: 18px; padding-inline: 14px 18px; }
  .pr-strip .pr-media { width: 88px; height: 88px; }
  .pr-strip .pr-title { font-size: 19px; -webkit-line-clamp: 2; }
  .pr-strip .pr-text { -webkit-line-clamp: 1; }
  .pr-strip.pr-c-app .pr-text { display: none; }
  .pr-strip .pr-btn { padding: 0 18px; }
}
@container pr (max-width: 640px) {
  .pr-strip { grid-template-columns: 60px minmax(0, 1fr); grid-template-rows: 60px 44px; gap: 12px; height: 144px; padding: 12px; border-radius: 16px; }
  .pr-strip .pr-media { width: 60px; height: 60px; border-radius: 14px; }
  .pr-strip .pr-title { font-size: 16px; line-height: 1.25; }
  .pr-strip .pr-text { display: none; }
  .pr-strip .pr-acts { grid-column: 1 / -1; }
  .pr-strip .pr-btn { flex: 1 1 0; min-width: 0; height: 44px; padding: 0 10px; font-size: 15px; }
  .pr-strip .pr-acts-bots { gap: 8px; }
  .pr-strip .pr-btn-tg, .pr-strip .pr-btn-max, .pr-strip .pr-btn-vk { gap: 5px; padding: 0 4px; font-size: 13.5px; }
  .pr-strip .pr-acts-bots .pr-ic { width: 18px; height: 18px; }
  .pr-strip .pr-qr { display: none; }
  .pr-strip .pr-stores { flex: 1 1 auto; flex-direction: row; justify-content: center; }
  .pr-strip .pr-store { width: auto; flex: 1 1 0; max-width: 200px; justify-content: center; }
  .pr-slim .pr-text { display: none; }
}
@container pr (max-width: 330px) {
  .pr-strip .pr-acts-bots .pr-ic { display: none; }
}
@container pr (max-width: 360px) {
  .pr-strip .pr-store-t small, .pr-modal .pr-store-t small { display: none; }
  .pr-modal .pr-store { padding: 0 8px; }
  .pr-bar .pr-text { display: none; }
}
@media (max-width: 720px) {
  .pr-zone { padding-top: 0; }
  .pr-zone > .wrap { padding-top: 14px; }
  .pr-slot-appbar { display: block; }
  .pr-slot-fold { margin: 28px 0; }
  .pr-modal .pr-qr { display: none; }
  .pr-modal .pr-stores { flex: 1 1 auto; flex-direction: row; justify-content: center; }
  .pr-modal .pr-store { width: auto; flex: 1 1 0; max-width: 200px; justify-content: center; }
}
