/* Шапка */
.top { display: flex; align-items: baseline; gap: 10px; padding: 6px 2px 14px; }
.logo { font-family: var(--font-logo); font-size: 36px; line-height: 1; }
.logo--big { font-size: 60px; margin-bottom: 20px; }
.top__tag { color: var(--muted); font-size: 15px; }

/* Плашка «Доступ открыт» */
.pill {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; margin-bottom: 14px;
  background: var(--surface); border-radius: var(--radius-m);
  font-size: 14px; color: var(--muted);
}
.pill__ico {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ok); color: #fff;
  align-items: center; justify-content: center;
}
.pill__ico svg { width: 14px; height: 14px; }

/* Чипсы */
.chips {
  display: flex; gap: 8px; overflow-x: auto;
  margin: 0 calc(-1 * var(--pad)); padding: 2px var(--pad) 4px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 36px; padding: 0 14px;
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; background: var(--surface);
  font-size: 15px; font-weight: 500; white-space: nowrap;
}
.chip.is-active { background: var(--primary); color: var(--on-primary); }
.chip__count { font-size: 13px; opacity: 0.55; }

.about { color: var(--muted); font-size: 14px; margin: 12px 2px 0; }

/* Лента */
.list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.card {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 12px; text-align: left;
  background: var(--surface); border-radius: var(--radius);
  transition: transform 0.12s ease;
}
.card:active { transform: scale(0.985); }
.card__tile {
  width: 56px; height: 56px; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: var(--bg);
}
.card__emoji { font-size: 28px; line-height: 1; }
.card__img { width: 100%; height: 100%; object-fit: cover; }
.card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.card__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.card__title { font-size: 17px; font-weight: 600; line-height: 1.25; }
.card__sum {
  font-size: 14px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__chev { color: var(--muted); opacity: 0.6; }

.badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  background: var(--primary); color: var(--on-primary);
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
}
.empty { color: var(--muted); text-align: center; padding: 48px 0; }

/* Кнопки */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 54px; padding: 0 20px;
  border-radius: var(--radius-m); font-size: 17px; font-weight: 600; text-align: center;
}
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--ghost { background: var(--surface); color: var(--text); }
.btn:active { opacity: 0.85; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.btn .ico svg { width: 18px; height: 18px; }

/* Экраны-сообщения */
.panel {
  min-height: calc(100vh - 60px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 24px 4px; text-align: center;
}
.panel__ico {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  align-items: center; justify-content: center;
  background: var(--surface); color: var(--muted);
}
.panel__ico svg { width: 26px; height: 26px; }
.panel__title { font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.panel__text { color: var(--muted); margin-top: 10px; }
.panel__body { margin-top: 24px; text-align: left; }
.panel__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.panel__note { color: var(--muted); font-size: 14px; margin-top: 14px; }

.teaser__title { font-size: 14px; color: var(--muted); margin: 0 4px 8px; }
.teaser { background: var(--surface); border-radius: var(--radius); padding: 2px 16px; }
.teaser__row { display: flex; align-items: center; gap: 12px; padding: 13px 0; }
.teaser__row + .teaser__row { border-top: 1px solid var(--line); }
.teaser__emoji { font-size: 20px; width: 24px; text-align: center; }
.teaser__n { margin-left: auto; color: var(--muted); }
