/* Карточки спектаклей в ответах помощника: афиша + лента фото, дата, кнопки «Билеты» и «Подробнее» */
.ai-cards { display: flex; flex-direction: column; gap: 10px; align-self: stretch; animation: ai-msg-in 360ms var(--ease-spring) both; animation-delay: 80ms; }
.ai-cards.is-many { flex-direction: row; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
.ai-cards.is-many::-webkit-scrollbar { display: none; }
.ai-cards.is-many .ai-card { flex: 0 0 82%; scroll-snap-align: start; }
.ai-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #1c1c20; border: 1px solid rgba(255, 255, 255, 0.1); }
.ai-card-media { position: relative; }
.ai-card-strip { display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #0d0d0f; }
.ai-card-strip::-webkit-scrollbar { display: none; }
.ai-card-strip img { flex: 0 0 100%; height: 190px; width: 100%; object-fit: cover; scroll-snap-align: start; }
.ai-card-strip img.is-poster { object-position: center 30%; }
.ai-card-strip:has(img:nth-child(2)) img { flex-basis: 78%; }
.ai-card-count, .ai-card-age { position: absolute; top: 10px; height: 24px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: var(--r-pill); background: rgba(10, 10, 12, 0.78); color: #fff; font-size: 11px; font-weight: 600; pointer-events: none; }
.ai-card-age { left: 10px; }
.ai-card-count { right: 10px; }
.ai-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.ai-card-kicker { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-orange); }
.ai-card-title { font-size: 1.0625rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: #fff; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ai-card-meta { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.65); line-height: 1.35; }
.ai-card-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ai-card-buy, .ai-card-more { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; border-radius: var(--r-pill); font-size: 0.8125rem; font-weight: 600; transition: background-color 150ms var(--ease-out), transform 150ms var(--ease-out); }
.ai-card-buy { flex: 1; background: var(--c-orange); color: #0a0a0a; }
.ai-card-more { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ai-card-buy:active, .ai-card-more:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .ai-card-buy:hover { background: #ff9122; } .ai-card-more:hover { background: rgba(255, 255, 255, 0.18); } }
@media (prefers-reduced-motion: reduce) { .ai-cards { animation: none; } }
