/* Тема «как ВК» для ленты Верейской. Подключается только в vk/index.html поверх основных стилей. */
:root{
  --bg:#edeef0;
  --card:#ffffff;
  --ink:#000000;
  --ink-2:#626d7a;
  --ink-3:#818c99;
  --line:#e7e8ec;
  --accent:#2688eb;
  --accent-ink:#ffffff;
  --accent-soft:#e5ebf1;
  --name:#2a5885;
  --radius:12px;
  --shadow:0 0 0 1px #dce1e6;
}
body{ font-size:14.5px; line-height:1.46; font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.wrap{ max-width:600px; }

/* шапка сообщества */
.head{ border-radius:0 0 var(--radius) var(--radius); }
@media (min-width:601px){ .head{ border-radius:var(--radius); } }
.head__body{ display:grid; grid-template-columns:auto 1fr; column-gap:14px; padding:0 16px 16px; }
.head__ava{ grid-row:1 / span 2; width:96px; height:96px; margin-top:-30px; border:4px solid #fff; }
.head__name{ margin:10px 0 2px; font-size:19px; font-weight:600; }
.verified{ color:var(--accent) !important; }
.head__sub{ grid-column:1 / -1; margin-top:12px; font-size:14px; color:var(--ink); }
.head__facts{ grid-column:1 / -1; margin:10px 0 14px; padding:10px 0 0; border-top:1px solid var(--line); font-size:13.5px; }
.head__btns{ grid-column:1 / -1; }
.btn{ border-radius:8px; font-weight:500; font-size:14.5px; min-height:40px; }
.btn--soft{ background:var(--accent-soft); color:#2c5d8f; }
.btn--icon{ width:40px; }
.btn--tg{ color:#2c5d8f; } .btn--max{ color:#2c5d8f; }

/* клипы: вертикальные карточки в белом блоке */
.clips{ margin-top:12px; background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); padding:12px 0 14px; }
.clips__h{ padding:0 16px 10px; font-weight:600; font-size:15px; }
.clips__h span{ color:var(--ink-3); font-weight:400; margin-left:4px; }
.clips .stories{ margin:0; padding:0 16px; gap:8px; }
.story{ width:96px; position:relative; border-radius:10px; overflow:hidden; }
.story__ring{ width:96px; height:170px; padding:0; border-radius:10px; background:#222; }
.story__ring img{ border-radius:10px; border:0; }
.story__t{ position:absolute; left:0; right:0; bottom:0; margin:0; padding:22px 7px 7px; text-align:left; color:#fff; font-size:12px; font-weight:500; background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.7)); }

/* вкладки с подчёркиванием */
.tabs{ margin:12px 0 0; padding:0 8px; background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); backdrop-filter:none; -webkit-backdrop-filter:none; gap:0; }
@media (max-width:600px){ .tabs{ margin:12px -12px 0; border-radius:0; } }
.tab{ border-radius:0; padding:15px 12px 13px; font-weight:500; color:var(--ink-3); border-bottom:2px solid transparent; }
.tab[aria-selected="true"]{ background:none; color:var(--ink); border-bottom-color:var(--accent); }

/* посты */
.post{ margin-top:12px; }
.post__name{ color:var(--name); font-weight:600; font-size:14px; }
.post__meta{ font-size:13px; }
.pin{ color:var(--ink-3); font-weight:400; }
.post__body h3{ font-size:15px; font-weight:600; }
.more-btn{ color:var(--name); font-weight:500; font-size:14.5px; }
.contact{ background:#f5f6f8; border-radius:8px; }
.post__actions{ border-top:0; margin-top:4px; padding:4px 12px 12px; }
.act{ background:#f0f2f5; color:var(--ink-2); border-radius:20px; font-weight:500; min-height:32px; padding:0 12px; }
.act--go{ background:var(--accent-soft); color:#2c5d8f; border-radius:8px; }
.play__btn{ background:rgba(0,0,0,.55); }
.play__btn svg{ fill:#fff; }
.media--clip{ border-radius:10px; }
.lot{ border-radius:10px; border-color:var(--line); }
.lot__price{ font-size:15px; }

/* вставка «в группе больше» */
.gate{ background:var(--card); color:var(--ink); box-shadow:var(--shadow); border-left:4px solid var(--accent); }
.gate p{ color:var(--ink-2); }

/* финал и заявка */
.final h2, .lead h2{ font-weight:600; font-size:19px; }
.final .list li{ border-bottom-style:solid; }
.btn--tgfill{ background:#e5ebf1; color:#2c5d8f; }
.btn--maxfill{ background:#e5ebf1; color:#2c5d8f; }
.field input, .field textarea{ background:#f2f3f5; border-color:#dce1e6; border-radius:8px; }
.field input:focus, .field textarea:focus{ outline-color:var(--accent); }

.dock{ background:rgba(255,255,255,.97); }
