/* 17.10.2026: «Відеоогляд» (Property Video V1) — Market і презентація. */
.pvid { margin: 1.25rem 0; display: grid; gap: 0.85rem; }
.pvid-head h2 { margin: 0; font-size: 1.15rem; }
.pvid-list { align-items: flex-start; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 0.25rem; -webkit-overflow-scrolling: touch; }
.pvid-item { flex: none; scroll-snap-align: start; display: grid; gap: 0.5rem; min-width: 0; }
.pvid-item--vertical { width: min(260px, 72vw); }
.pvid-item--landscape { width: min(560px, 88vw); }
.pvid-stage { position: relative; border-radius: 16px; overflow: hidden; background: #0b1220; }
.pvid-item--vertical .pvid-stage { aspect-ratio: 9 / 16; }
.pvid-item--landscape .pvid-stage { aspect-ratio: 16 / 9; }
.pvid-stage video, .pvid-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.pvid-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: linear-gradient(160deg, #16233f, #0b1220); color: #fff; display: grid; place-items: center; }
.pvid-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pvid-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 10, 24, 0) 45%, rgba(5, 10, 24, 0.55)); }
.pvid-play { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.94); color: #0b1220; font-size: 1.3rem; padding-left: 4px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); transition: transform 0.15s ease; }
.pvid-poster:hover .pvid-play, .pvid-poster:focus-visible .pvid-play { transform: scale(1.06); }
.pvid-poster:focus-visible { outline: 3px solid #5ec8ff; outline-offset: -3px; }
.pvid-platform { position: absolute; z-index: 1; left: 10px; bottom: 10px; font-size: 0.75rem; padding: 0.15rem 0.55rem; border-radius: 999px; background: rgba(5, 10, 24, 0.72); color: #fff; }
.pvid-meta { display: grid; gap: 0.15rem; font-size: 0.9rem; }
.pvid-meta a { font-size: 0.82rem; opacity: 0.85; }
.pvid-frame-pending { visibility: hidden; }
.pvid-stage.is-loading .pvid-poster { cursor: progress; }
.pvid-stage.is-loading .pvid-play { animation: pvid-pulse 1s ease-in-out infinite alternate; }
@keyframes pvid-pulse { from { opacity: 0.55; } to { opacity: 1; } }
/* Брендований fallback для TikTok (iframe прихований, технічний текст не показуємо) */
.pvid-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.85rem; padding: 1.25rem; text-align: center; color: #fff; background: radial-gradient(120% 70% at 85% 8%, rgba(254, 44, 85, 0.42), transparent 60%), radial-gradient(120% 70% at 12% 92%, rgba(37, 244, 238, 0.34), transparent 60%), linear-gradient(160deg, #16233f, #0b1220); }
.pvid-fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.pvid-fallback > :not(img) { position: relative; z-index: 1; }
.pvid-fallback-brand { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; text-shadow: -2px -1px 0 rgba(37, 244, 238, 0.85), 2px 1px 0 rgba(254, 44, 85, 0.85); }
.pvid-fallback-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.25rem; border-radius: 999px; background: #fff; color: #0b1220; font-weight: 700; text-decoration: none; }
.pvid-fallback-cta:focus-visible { outline: 3px solid #5ec8ff; outline-offset: 2px; }
.pvid-fallback-note { margin: 0; max-width: 22ch; font-size: 0.85rem; line-height: 1.35; opacity: 0.85; }
.pvid-error { margin: 0; padding: 1rem; color: #fff; text-align: center; }
@media (max-width: 640px) { .pvid { margin: 1rem 0; } .pvid-item--landscape { width: 86vw; } }
@media (prefers-reduced-motion: reduce) { .pvid-play { transition: none; animation: none !important; } }
