* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
}
body {
  background: #0b1119;
  color: #eef2f6;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: 100px;
}
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Анимации */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header — страница площадки */
.view-page .header.view-header {
  display: block;
  padding: 10px 0 14px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(11, 17, 25, 0.94);
  backdrop-filter: blur(20px);
  flex-wrap: nowrap;
  gap: 0;
}

.view-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 44px;
  width: 100%;
  gap: 12px;
}

.view-header-start {
  flex-shrink: 0;
  z-index: 2;
}

.view-header-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: min(220px, 42vw);
  text-align: center;
  z-index: 1;
  pointer-events: none;
}

.view-header-brand .logo {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  text-decoration: none;
}

.view-header-brand .site-logo-img {
  max-height: 38px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.view-header-end {
  flex-shrink: 0;
  margin-left: auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

.view-header-user {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.view-header-user .header-icon {
  display: none !important;
}

.view-header-user .header-avatar,
.view-header-user .header-login-btn {
  display: inline-flex !important;
  margin-left: 0;
}

.view-header .back-btn {
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.view-breadcrumbs {
  padding: 10px 0 18px;
  font-size: 0.8rem;
  opacity: 0.65;
}
.back-btn span { margin-left: 6px; }

@media (max-width: 768px) {
  .view-page .header.view-header {
    padding: 8px 0 10px;
  }
  .view-header-bar {
    gap: 8px;
  }
  .view-header-brand {
    max-width: min(130px, 36vw);
  }
  .view-header-brand .logo {
    font-size: 1.15rem;
  }
  .view-header-brand .site-logo-img {
    max-height: 30px;
    max-width: 110px;
  }
  .view-header .back-btn span {
    display: none;
  }
  .view-header .back-btn {
    padding: 8px 10px;
    min-width: 38px;
    justify-content: center;
  }
  .view-header-end {
    gap: 4px;
  }
  .view-header .icon-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    flex-shrink: 0;
  }
  .view-header-user .header-avatar {
    width: 36px;
    height: 36px;
  }
  .view-header-user .header-login-btn {
    padding: 8px 10px;
    font-size: 0.75rem;
    min-height: 36px;
  }
}

@media (max-width: 400px) {
  .view-header-end #shareBtn {
    display: none;
  }
}

.header:not(.view-header) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: sticky;
  top: 0;
  background: rgba(11,17,25,0.9);
  backdrop-filter: blur(25px);
  z-index: 120;
  gap: 12px;
  flex-wrap: wrap;
}
.back-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  color: #eef2f6;
  padding: 10px 18px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  text-decoration: none;
}
.back-btn:hover {
  border-color: #4884ff;
  background: rgba(72,132,255,0.08);
}
.logo {
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
}
.logo span {
  font-weight: 600;
  background: linear-gradient(135deg, #4884ff, #3acf6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.icon-btn {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  color: #eef2f6;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.1rem;
}
.icon-btn:hover {
  border-color: #4884ff;
  background: rgba(72,132,255,0.1);
}
.icon-btn.favorite { color: #ff4757; }

/* Хлебные крошки */
.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 16px 0 8px;
  font-size: 0.8rem;
  opacity: 0.7;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: #8aa9ff;
  text-decoration: none;
}
.breadcrumbs span { color: #fff; }

/* Основной контент */
.platform-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  margin-top: 16px;
}

/* Левая колонка */
.platform-main {
  animation: slideUp 0.5s ease;
}

/* Галерея */
.gallery-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0a1018;
}
.gallery-main {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a2533, #0f1722);
  position: relative;
}
.gallery-main i {
  font-size: 6rem;
  color: #4884ff;
  opacity: 0.8;
}
.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  z-index: 5;
}
.gallery-nav:hover { background: #4884ff; border-color: #4884ff; }
.gallery-nav.prev { left: 16px; }
.gallery-nav.next { right: 16px; }
.gallery-thumbs {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(0,0,0,0.3);
}
.gallery-thumb {
  width: 80px;
  height: 60px;
  border-radius: 12px;
  background: #1e2a3a;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #6a9cff;
}
.gallery-thumb.active, .gallery-thumb:hover {
  border-color: #4884ff;
  box-shadow: 0 0 15px rgba(72,132,255,0.3);
}

/* Инфо площадки */
.platform-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.platform-title {
  font-size: 1.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.status-badge {
  font-size: 0.7rem;
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 500;
  background: rgba(58,207,107,0.1);
  border: 1px solid rgba(58,207,107,0.4);
  color: #3acf6b;
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3acf6b;
  animation: pulse 1.5s infinite;
}
.platform-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.1rem;
}
.stars { color: #ffc107; }
.rating-value { font-weight: 500; }

.platform-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.meta-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.meta-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(72,132,255,0.2), rgba(58,207,107,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #4884ff;
}
.meta-value {
  font-size: 1.2rem;
  font-weight: 500;
}
.meta-label {
  font-size: 0.7rem;
  opacity: 0.6;
}

/* Табы */
.tabs-wrap {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  color: #8aa2c0;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 400;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  white-space: nowrap;
}
.tab-btn.active {
  color: #fff;
  border-bottom-color: #4884ff;
}
.tab-content {
  display: none;
  animation: slideUp 0.3s ease;
}
.tab-content.active { display: block; }

/* График статистики */
.chart-placeholder {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 16px;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 180px;
  padding: 0 8px;
}
.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, #4884ff, #3a6fd8);
  border-radius: 8px 8px 0 0;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  min-width: 20px;
}
.chart-bar:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 20px rgba(72,132,255,0.4);
}
.chart-bar span {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 500;
}

/* Отзывы */
.review-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 14px;
  transition: all 0.3s;
}
.review-card:hover {
  border-color: rgba(72,132,255,0.3);
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4884ff, #3acf6b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 0.9rem;
}
.review-text {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* Правая колонка (форма заказа) */
.booking-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}
.booking-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(10px);
  animation: slideUp 0.6s ease;
}
.booking-price {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.booking-price small {
  font-size: 0.9rem;
  opacity: 0.7;
  font-weight: 300;
}
.booking-discount {
  background: rgba(255,71,87,0.1);
  color: #ff6b81;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.75rem;
  display: inline-block;
  margin-bottom: 16px;
}
.booking-form-group {
  margin-bottom: 16px;
}
.booking-form-group label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 6px;
  font-weight: 400;
  opacity: 0.8;
}
.booking-select, .booking-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s;
  appearance: none;
  cursor: pointer;
}
.booking-select:focus, .booking-input:focus {
  border-color: #4884ff;
  box-shadow: 0 0 20px rgba(72,132,255,0.15);
}
.booking-select option {
  background: #1a2533;
  color: #fff;
}
.format-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s;
}
.format-option:hover, .format-option.selected {
  border-color: #4884ff;
  background: rgba(72,132,255,0.05);
}
.format-option input[type="radio"] {
  accent-color: #4884ff;
  width: 18px;
  height: 18px;
}
.format-option label {
  flex: 1;
  cursor: pointer;
  font-weight: 400;
}
.format-price {
  font-weight: 500;
  color: #3acf6b;
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 16px 0;
  font-size: 1.1rem;
}
.total-price {
  font-size: 1.5rem;
  font-weight: 500;
  color: #3acf6b;
}
.book-btn {
  width: 100%;
  background: linear-gradient(135deg, #4884ff, #3a6fd8);
  border: none;
  color: #fff;
  padding: 16px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(72,132,255,0.35);
}
.book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(72,132,255,0.5);
}
.book-btn:active { transform: scale(0.98); }
.secure-badge {
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Модальное окно успеха */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.success-modal {
  background: #1a2533;
  border-radius: 28px;
  padding: 40px 32px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  border: 1px solid rgba(58,207,107,0.4);
  box-shadow: 0 30px 60px rgba(0,0,0,0.7);
  animation: slideUp 0.4s ease;
}
.success-icon {
  font-size: 4rem;
  color: #3acf6b;
  margin-bottom: 16px;
}
.success-modal h2 {
  font-weight: 500;
  margin-bottom: 8px;
}
.success-modal p {
  opacity: 0.8;
  margin-bottom: 20px;
}

/* Динамический контент view.js */
.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(58, 207, 107, 0.15);
  color: #3acf6b;
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
}
.orders-pill {
  display: block;
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 4px;
}
.view-section-title {
  font-weight: 400;
  margin-bottom: 16px;
}
.view-description {
  opacity: 0.85;
  line-height: 1.75;
  margin-top: 20px;
}
.view-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.view-tag {
  background: rgba(72, 132, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
}
.stats-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.stats-kpi {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.7;
}
.stats-kpi-val {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  opacity: 1;
  margin-bottom: 4px;
}
.chart-label {
  margin-bottom: 16px;
  font-weight: 400;
}
.chart-legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.75rem;
  opacity: 0.6;
}
.chart-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.chart-bar-wrap small {
  font-size: 0.65rem;
  opacity: 0.5;
}
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(72, 132, 255, 0.08);
  border-radius: 18px;
  margin-bottom: 20px;
  border: 1px solid rgba(72, 132, 255, 0.15);
}
.reviews-summary-score {
  font-size: 2.5rem;
  font-weight: 500;
  color: #ffc107;
}
.review-date {
  font-size: 0.7rem;
  opacity: 0.6;
}
.view-empty {
  text-align: center;
  padding: 40px;
  opacity: 0.6;
}
.formats-list {
  display: grid;
  gap: 10px;
}
.format-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.format-card--featured {
  border-color: rgba(72, 132, 255, 0.35);
  background: rgba(72, 132, 255, 0.06);
}
.format-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(72, 132, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6a9cff;
}
.format-card-price {
  margin-left: auto;
  font-weight: 500;
  color: #3acf6b;
  text-align: right;
}
.format-card-price small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.6;
}
.faq-item {
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 400;
}
.faq-item p {
  margin-top: 10px;
  opacity: 0.8;
  line-height: 1.6;
}
.gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.gallery-counter {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 6;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  border: 1px solid rgba(255,255,255,0.12);
}
.gallery-fullscreen {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.55);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.gallery-fullscreen:hover { background: #4884ff; border-color: #4884ff; }
.gallery-slide { width: 100%; height: 100%; position: relative; }
.gallery-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #4884ff;
  opacity: 0.7;
}
.gallery-video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.gallery-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.gallery-thumb--video { position: relative; }
.gallery-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 1.2rem;
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.gallery-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  object-fit: contain;
}
.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}
.platform-header-left {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}
.platform-header-logo {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e2a3a, #152030);
  border: 1px solid rgba(255,255,255,0.1);
}
.platform-header-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.view-preview-banner {
  background: rgba(255,193,7,0.12);
  border: 1px solid rgba(255,193,7,0.35);
  color: #ffd86b;
  padding: 12px 18px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-badge--pending .status-dot { background: #ffc107; }
.analytics-verified { margin-bottom: 24px; }
.view-section-subtitle {
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 12px;
  opacity: 0.85;
}
.integration-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.integration-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
a.integration-badge:hover {
  border-color: color-mix(in srgb, var(--accent, #4884ff) 50%, transparent);
  background: color-mix(in srgb, var(--accent, #4884ff) 8%, transparent);
}
.platform-integrations-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 16px 0 20px;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(58,207,107,0.06), rgba(72,132,255,0.06));
  border: 1px solid rgba(255,255,255,0.08);
}
.integrations-bar-label {
  font-size: 0.78rem;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.integrations-bar-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.integration-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent, #4884ff) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #4884ff) 30%, transparent);
  font-size: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}
a.integration-pill:hover { transform: translateY(-1px); }
.integration-pill i { color: var(--accent, #4884ff); }
.integration-pill small { opacity: 0.55; margin-left: 4px; }
.integration-badge i {
  font-size: 1.2rem;
  color: var(--accent, #4884ff);
}
.integration-badge strong { display: block; font-weight: 500; }
.integration-badge small { opacity: 0.55; }

/* Адаптивность */
@media (max-width: 1024px) {
  .platform-layout {
    grid-template-columns: 1fr;
  }
  .booking-sidebar {
    position: static;
  }
}
@media (max-width: 768px) {
  .stats-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .meta-value { font-size: 1rem; }
  .gallery-main { aspect-ratio: 4/3; }
  .tab-btn { padding: 10px 16px; font-size: 0.8rem; }
}
@media (max-width: 480px) {
  .platform-meta-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Toast уведомления */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: #1a2533;
  color: #fff;
  padding: 14px 22px;
  border-radius: 60px;
  z-index: 500;
  border: 1px solid rgba(72, 132, 255, 0.45);
  font-size: 0.9rem;
  transition: transform 0.35s ease, opacity 0.35s ease;
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Мета-информация площадки */
.platform-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.platform-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  opacity: 0.85;
}
.platform-meta-pill--link a.platform-meta-link {
  color: inherit;
  text-decoration: none;
}
.platform-meta-pill--link a.platform-meta-link:hover {
  color: #4884ff;
}
.platform-meta-pill--owner {
  background: rgba(72, 132, 255, 0.08);
  border-color: rgba(72, 132, 255, 0.2);
}
.platform-subtitle {
  margin-top: 6px;
}

/* Блок заказа */
.booking-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 12px;
}
.booking-alert[hidden] { display: none !important; }
.booking-alert--error {
  background: rgba(255, 107, 129, 0.12);
  border: 1px solid rgba(255, 107, 129, 0.35);
  color: #ffb3c1;
}
.booking-alert--info {
  background: rgba(72, 132, 255, 0.1);
  border: 1px solid rgba(72, 132, 255, 0.3);
  color: #a8c4ff;
}
.booking-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #fff;
  padding: 12px 14px;
  font-size: 0.85rem;
  resize: vertical;
  min-height: 72px;
  font-family: inherit;
}
.booking-textarea:focus {
  outline: none;
  border-color: #4884ff;
}
.label-optional {
  opacity: 0.5;
  font-weight: 300;
}
.book-btn--outline {
  margin-top: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
}
.book-btn--outline:hover {
  border-color: #4884ff;
  background: rgba(72, 132, 255, 0.08);
  box-shadow: none;
}
.book-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  margin-top: 0;
}
.book-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Модальное окно успеха */
.success-order-num {
  font-size: 0.85rem;
  opacity: 0.65;
  margin-bottom: 8px !important;
}
.success-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.success-modal-link {
  text-decoration: none;
  display: flex;
}

/* Мобильная панель заказа */
.mobile-book-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 310;
  background: rgba(11, 17, 25, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}
.mobile-book-bar-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mobile-book-bar-price {
  font-size: 1.15rem;
  font-weight: 500;
  color: #3acf6b;
}
.mobile-book-bar-label {
  font-size: 0.72rem;
  opacity: 0.6;
}
.mobile-book-bar-btn {
  flex-shrink: 0;
  background: linear-gradient(135deg, #4884ff, #3a6fd8);
  border: none;
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(72, 132, 255, 0.4);
}
.mobile-book-bar-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Category details on view */
.platform-category-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}
.platform-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}
.platform-detail-chip i { opacity: 0.55; color: #4884ff; }
.platform-detail-label { opacity: 0.65; }
.platform-detail-chip strong { font-weight: 500; color: #eef2f6; }
.platform-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
@media (max-width: 768px) {
  .platform-category-details { gap: 6px; }
  .platform-detail-chip { font-size: 0.72rem; padding: 6px 10px; }
}