@charset "UTF-8";
/* ФОТО-ПОСЕТИТЕЛЕЙ-АЛЬБОМ-1 (02.10.2026). Тег GUEST-PHOTOS-ALBUM-1.
   Стили блока-предложения связать кадр с мероприятием Афиши (.cbgp):
     «Похоже, это фото с мероприятия «…» (дата, время). Связать?»
   Блок показывается на странице альбома «Фото посетителей» (album_v2.tpl) и в
   разделе модерации на карточке заведения (place_v2.tpl).

   Файл отдельный: guest_upload.css и live.css правят соседние задачи, а лишняя
   правка чужого файла сбрасывала бы их метку версии ?v= (правило 11а).

   Шрифты — только объявленные семейства ('Proxima Nova Bold' /
   'Proxima Nova Regular'), font-weight не используем: Chrome его для этих
   начертаний не синтезирует (правило 11а). */

.cbgp {
  margin: 0 0 22px;
  padding: 16px 18px 18px;
  border: 1px solid #cfd8e0;
  border-left: 4px solid #00aeef;
  border-radius: 4px;
  background: #f7fbfd;
}

.cbgp-head {
  color: #12455c;
  font-family: 'Proxima Nova Bold';
  font-size: 17px;
  line-height: 1.3;
}

.cbgp-sub {
  margin: 6px 0 14px;
  color: #5a666e;
  font-size: 14px;
  line-height: 1.45;
}

.cbgp-item {
  padding: 12px 0 0;
  border-top: 1px solid #e2eaef;
}

.cbgp-item + .cbgp-item { margin-top: 12px; }

.cbgp-q {
  color: #1d2b33;
  font-size: 15px;
  line-height: 1.4;
}

.cbgp-meta {
  margin-top: 4px;
  color: #6b767d;
  font-size: 14px;
  line-height: 1.4;
}

.cbgp-meta b { font-family: 'Proxima Nova Bold'; }

.cbgp-mod { color: #0089bd; }

.cbgp-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.cbgp-btn {
  display: inline-block;
  box-sizing: border-box;
  min-height: 44px;
  padding: 13px 18px;
  border: 1px solid #00aeef;
  border-radius: 4px;
  background: #fff;
  color: #0089bd;
  cursor: pointer;
  font-family: 'Proxima Nova Regular';
  font-size: 14px;
  line-height: 18px;
}

.cbgp-btn:hover { background: #eefaff; }

.cbgp-yes {
  background: #00aeef;
  color: #fff;
  font-family: 'Proxima Nova Bold';
}

.cbgp-yes:hover { background: #0098d2; }

.cbgp-btn[disabled] { opacity: .6; cursor: default; }

.cbgp-msg {
  margin-top: 8px;
  color: #24613a;
  font-size: 14px;
  line-height: 1.4;
}

.cbgp-msg-err { color: #a4341f; }

/* --- режим «без привязки к событию» на странице выкладки (live.tpl) -------
   Кегли этого режима — не меньше 14 px (требование мобильной проверки).
   Строки .live-note и .live-rules-line принадлежат live.css (там 12 и 13 px);
   поднимаем их ТОЛЬКО в режиме «Фото посетителей» — тело страницы получает
   класс .live-visitors, обычный режим «фото с вечера» не меняется. */
.live-visitors-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid #b9e2f2;
  border-radius: 4px;
  background: #f4fbfe;
  color: #3c4a52;
  font-size: 14px;
  line-height: 1.45;
}

.live-visitors .live-note,
.live-visitors .live-rules-line { font-size: 14px; line-height: 1.45; }

/* Ссылка на альбом — тап-зона не меньше 44 px (телефон). */
.live-place-album-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  box-sizing: border-box;
}

.live-visitors-album { margin: 12px 0 0; }

.live-visitors-album .live-btn { display: inline-block; text-decoration: none; }

/* --- та же кнопка внутри раздела модерации на карточке заведения ---------- */
.cb-live-mod-link {
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid #cfd8e0;
  border-radius: 4px;
  background: #f7fbfd;
}

.cb-live-mod-link-q {
  color: #1d2b33;
  font-size: 14px;
  line-height: 1.35;
}

.cb-live-mod-link-meta {
  margin: 4px 0 8px;
  color: #6b767d;
  font-size: 14px;
  line-height: 1.35;
}

.cb-live-mod-link .ro-button { margin: 0 6px 6px 0; }

/* --- кнопка «Добавить фото» и ссылка на альбом на карточке заведения ------ */
.live-place-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.live-place-album-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  box-sizing: border-box;
  color: #0089bd;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.live-place-album-link:hover { text-decoration: underline; }

/* --- боковая ссылка «Выложить ещё» на странице альбома «Фото посетителей» --
   Полноширинная строка в содержимом альбома: в узкой боковой колонке телефона
   (~82 px) название альбома обрезалось. Тап-зона ссылки не меньше 44 px. */
.cbgp-album-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid #cfd8e0;
  border-left: 4px solid #00aeef;
  border-radius: 4px;
  background: #f7fbfd;
  color: #12455c;
  font-size: 14px;
  line-height: 1.4;
}

.cbgp-album-name { flex: 1 1 auto; }

.cbgp-album-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  box-sizing: border-box;
  color: #0089bd;
  font-family: 'Proxima Nova Bold';
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.cbgp-album-more:hover { text-decoration: underline; }

/* Телефон 375: кнопки предложения — во всю ширину, тап-зона не меньше 44 px. */
@media (max-width: 480px) {
  .cbgp { padding: 14px 12px 16px; }
  .cbgp-btns { display: block; }
  .cbgp-btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
  .live-place-actions { align-items: stretch; }
}
