/*
 * «Квесты на карте» (/location) и страница квест-центра (/location/…): макет Кати
 * vzaperti-kvest-centry-maket.html. Всё под .lc, чтобы не задеть остальные страницы.
 * Шапка страницы — общая фиолетовая плашка сайта (тёмная тема макета), ниже — светлая.
 */
.lc {
  --lc-text: #21003a;
  --lc-muted: #4f3d66;
  --lc-muted2: #6e5c85;
  --lc-acc: #ffd31a;
  --lc-surface: #fff;
  --lc-surface2: #e9e1f3;
  --lc-line: rgba(33, 0, 58, .15);
  --lc-chip: #21003a;
  --lc-bg: #f6f3fa;
  color: var(--lc-text);
  font-size: 16px;
}
.lc-plate {
  --lc-text: #fff;
  --lc-muted: #d2c3ea;
  --lc-muted2: #a78ac0;
  --lc-surface: #1e0631;
  --lc-line: rgba(167, 138, 192, .35);
  --lc-chip: #fff;
  color: var(--lc-text);
}
.lc *, .lc-plate * { box-sizing: border-box; }
.lc a, .lc-plate a { color: var(--lc-text); }
.lc a:hover, .lc-plate a:hover { color: var(--lc-acc); }
.lc .lc-muted, .lc-plate .lc-muted { color: var(--lc-muted); }
.lc .lc-muted2, .lc-plate .lc-muted2 { color: var(--lc-muted2); }
.lc h2 { margin: 0; font-size: 20px; line-height: 1.2; text-transform: uppercase; font-weight: 700; }
.lc h3, .lc-plate h3 { margin: 0; font-weight: 700; }

.lc-lead { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--lc-muted); max-width: 720px; }

/* Кнопки */
.lc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; font-family: inherit; }
.lc .lc-btn-pri, .lc-plate .lc-btn-pri { background: #ffd31a; color: #21003a !important; border: 0; }
.lc .lc-btn-sec, .lc-plate .lc-btn-sec { border: 1px solid var(--lc-chip); color: var(--lc-text); background: transparent; font-weight: 600; }
.lc-row { display: flex; gap: 8px; }
.lc-row > .lc-btn { flex: 1 1 0; }

.lc-stack { display: flex; flex-direction: column; gap: 12px; }
.lc-section { padding-top: 32px; }
.lc-txt { margin: 0; font-size: 16px; line-height: 1.55; max-width: 720px; }
.lc-txt p { margin: 0 0 12px; }

/* Строки с иконкой */
.lc-ln { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.35; }
.lc-ln svg { flex: none; margin-top: 1px; color: var(--lc-acc); }
.lc .lc-ln svg { color: #7a4fb0; }

/* Плитки «Коротко» */
.lc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.lc-tile { background: var(--lc-surface); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.lc-tile b { font-size: 28px; line-height: 1.1; color: var(--lc-acc); }
.lc-tile span { font-size: 14px; color: var(--lc-muted); }

/* Плашка контактов площадки */
.lc-head { display: flex; flex-direction: column; }
.lc-contact { margin-top: 16px; background: var(--lc-surface); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.lc-contact .lc-ln { font-size: 15px; }
.lc-contact a { text-decoration: none; }

/* Игры */
.lc-games { display: flex; flex-direction: column; gap: 10px; }
.lc-game { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--lc-surface); text-decoration: none; box-shadow: 0 1px 0 var(--lc-line); }
.lc-game .lc-thumb { flex: none; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--lc-surface2); }
.lc-game .lc-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.lc-game h3 { font-size: 16px; line-height: 1.25; }
.lc-game .lc-m { font-size: 13px; color: var(--lc-muted); }
.lc-kind { font-size: 12px; font-weight: 700; color: #7a4fb0; text-transform: uppercase; letter-spacing: .4px; }
.lc-chev { flex: none; color: var(--lc-muted2); }
.lc-count { font-size: 15px; font-weight: 400; text-transform: none; color: var(--lc-muted2); }

/* Лаунжи */
.lc-hscroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.lc-hscroll::-webkit-scrollbar { display: none; }
.lc-lounge { flex: none; width: 230px; border-radius: 16px; overflow: hidden; background: var(--lc-surface); text-decoration: none; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--lc-line); }
.lc-lounge img, .lc-lounge .lc-ph { width: 100%; height: 120px; object-fit: cover; background: var(--lc-surface2); display: block; }
.lc-lounge .lc-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.lc-lounge h3 { font-size: 16px; }

/* Как найти вход */
.lc-photos { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.lc-photos img { flex: none; width: 100%; height: 190px; object-fit: cover; border-radius: 18px; }
.lc-photos img + img { width: 80%; }
.lc-steps { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
.lc-minimap { position: relative; height: 180px; border-radius: 18px; overflow: hidden; background: var(--lc-surface2); }
.lc-minimap > div { position: absolute; inset: 0; }
.lc-minimap .lc-btn { position: absolute; right: 10px; bottom: 10px; height: 38px; font-size: 14px; background: var(--lc-surface); z-index: 2; }

/* Другие квест-центры */
.lc-other { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--lc-line); text-decoration: none; }
.lc-other b { font-size: 16px; }
.lc-other .lc-m { font-size: 13px; }

.lc-cols { display: flex; flex-direction: column; }

/* Хаб: карта и карточки */
.lc-map { position: relative; height: 340px; border-radius: 20px; overflow: hidden; background: var(--lc-surface2); }
.lc-map > div { position: absolute; inset: 0; }
.lc-hint { margin: 8px 2px 0; font-size: 13px; color: var(--lc-muted2); }
.lc-card { background: var(--lc-surface); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; border: 2px solid transparent; box-shadow: 0 1px 0 var(--lc-line); }
.lc-card.is-on { border-color: #ffd31a; }
.lc-card h3 { font-size: 18px; line-height: 1.2; }
.lc-card h3 a { text-decoration: none; }
.lc-num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #ffd31a; color: #21003a; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lc-tocontacts { flex-direction: row; align-items: center; gap: 14px; text-decoration: none; }

/* FAQ */
.lc-faq { display: flex; flex-direction: column; gap: 8px; }
.lc-faq details { background: var(--lc-surface); border-radius: 16px; padding: 14px 16px; box-shadow: 0 1px 0 var(--lc-line); }
.lc-faq summary { cursor: pointer; font-size: 16px; font-weight: 700; line-height: 1.35; }
.lc-faq details div { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--lc-muted); }

.lc-page { background: var(--lc-bg); padding-bottom: 56px; }

@media (min-width: 900px) {
  .lc h2 { font-size: 26px; }
  .lc-lead { font-size: 17px; line-height: 1.45; }
  .lc-section { padding-top: 48px; }
  .lc-txt { font-size: 17px; line-height: 1.6; }

  .lc-head { flex-direction: row; gap: 24px; align-items: flex-start; }
  .lc-head > .lc-left { flex: 3 1 0; min-width: 0; }
  .lc-head > .lc-contact { flex: 2 1 0; margin-top: 0; padding: 20px; }
  .lc-tiles { margin-top: 22px; }

  .lc-cols { flex-direction: row; gap: 32px; align-items: flex-start; }
  .lc-cols > .lc-main { flex: 3 1 0; min-width: 0; }
  .lc-cols > .lc-side { flex: 2 1 0; min-width: 0; position: sticky; top: 96px; }

  .lc-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
  .lc-game { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; gap: 0; }
  .lc-game .lc-thumb { width: 100%; height: 140px; border-radius: 0; }
  .lc-game .lc-body { padding: 12px 14px 14px; }
  .lc-game .lc-chev { display: none; }

  .lc-hscroll { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); overflow: visible; }
  .lc-lounge { width: auto; }

  .lc-others { display: flex; flex-wrap: wrap; gap: 10px; }
  .lc-other { min-height: 40px; padding: 0 14px; border: 1px solid var(--lc-chip); border-radius: 10px; }
  .lc-other .lc-m, .lc-other .lc-chev { display: none; }

  .lc-minimap { height: 220px; }
  .lc-photos img { height: 220px; }

  .lc-hub-main { display: flex; gap: 24px; align-items: flex-start; }
  .lc-hub-main > .lc-mapcol { flex: 3 1 0; min-width: 0; position: sticky; top: 96px; }
  .lc-hub-main > .lc-list { flex: 2 1 0; min-width: 0; max-height: 680px; overflow-y: auto; padding-right: 4px; }
  .lc-hub-main .lc-map { height: 640px; }
  .lc-hub-bottom { display: flex; gap: 24px; align-items: flex-start; }
  .lc-hub-bottom > * { flex: 1 1 0; }
  .lc-hub-bottom > .lc-hub-text { flex: 2 1 0; }
}

/* «Контакты» */
.lc-phone-card { margin-top: 16px; background: var(--lc-surface); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.lc-phone-card .lc-big { font-size: 26px; font-weight: 700; text-decoration: none; }
.lc-msgr { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-msgr .lc-btn { flex: none; }
.lc-ico { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #ffd31a; color: #21003a; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.lc-ico.lc-s { width: 24px; height: 24px; font-size: 9px; }
.lc-mails { display: grid; grid-template-columns: 1fr; gap: 10px; }
.lc-mail { background: var(--lc-surface); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 1px 0 var(--lc-line); }
.lc-mail a { font-size: 17px; font-weight: 700; text-decoration: none; word-break: break-all; }
.lc-soc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lc-soc a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--lc-surface); text-decoration: none; box-shadow: 0 1px 0 var(--lc-line); }
.lc-soc b { font-size: 15px; }
.lc-soc small { display: block; font-size: 13px; color: var(--lc-muted); }
.lc-req { margin: 0; background: var(--lc-surface); border-radius: 18px; padding: 6px 16px; display: grid; grid-template-columns: 1fr; box-shadow: 0 1px 0 var(--lc-line); }
.lc-req div { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--lc-line); }
.lc-req dt { font-size: 13px; color: var(--lc-muted2); }
.lc-req dd { margin: 0; font-size: 15px; line-height: 1.4; }
.lc-toast { font-size: 14px; color: var(--lc-muted2); min-height: 20px; }
.lc-req-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }

@media (min-width: 900px) {
  .lc-phone-card { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding: 20px 24px; margin-top: 24px; }
  .lc-phone-card .lc-big { font-size: 34px; }
  .lc-mails { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-soc { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lc-req { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; padding: 8px 22px; }
}
