/* =============================================================================
   ЯZME · ЕДИНЫЙ ДВИЖОК ЛЕНТЫ — ДИЗАЙН ПОСТОВ 2026
   Файл: feed/css/feed.css
   Один стиль для ленты пабликов, профиля и главной. Работает во всех темах
   (Янтарь / Cloud / Полночь) через токены --yz-* с запасными --legacy.
   Философия: «журнальный разворот» — минимум рамок, воздух, честная типографика,
   реакции пилюлями в линию, вырезанные силуэты, лаконичные даты.
   ============================================================================= */

/* Шрифт текст-постов (Fraunces, вариативный серив) — грузим прямо отсюда,
   чтобы не трогать <head> каждой страницы. Должен идти первым правилом. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&display=swap');

/* --- Мост токенов: берём --yz-*, если их нет — старые переменные проекта --- */
.yf-post,
.yf-reactions,
.yf-actions {
  --yf-text:      var(--yz-text, var(--text-primary, #faf9f5));
  --yf-dim:       var(--yz-dim, var(--text-secondary, #b9b4a7));
  --yf-muted:     var(--yz-muted, #8d8878);
  --yf-surface:   var(--yz-surface, var(--bg-panel, #30302e));
  --yf-surface-2: var(--yz-surface-2, #3a3936);
  --yf-bg-deep:   var(--yz-bg-deep, #1d1c1a);
  --yf-border:    var(--yz-border, var(--glass-border, rgba(250,249,245,.08)));
  --yf-border-strong: var(--yz-border-strong, rgba(250,249,245,.17));
  --yf-accent:    var(--yz-accent, var(--accent-primary, #d97757));
  --yf-accent-hi: var(--yz-accent-hi, #e88a68);
  --yf-accent-soft: var(--yz-accent-soft, rgba(217,119,87,.14));
  --yf-accent-line: var(--yz-accent-line, rgba(217,119,87,.42));
  --yf-danger:    var(--yz-danger, #e5484d);
  --yf-success:   var(--yz-success, #58a76b);
  --yf-info:      var(--yz-info, #4c8dff);
  --yf-r-pill: 999px;
  --yf-ease: cubic-bezier(.22,1,.36,1);
  --yf-spring: cubic-bezier(.34,1.45,.5,1);
  --yf-font-ui: var(--yz-font-ui, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  --yf-font-display: var(--yz-font-display, 'Unbounded', 'Inter', sans-serif);
  --yf-font-editorial: 'Playfair Display', 'Georgia', serif;
}

/* =========================== КАРТОЧКА ПОСТА =============================== */
.yf-post {
  position: relative;
  padding: 22px 16px 18px;
  border-bottom: 1px solid var(--yf-border);
  background: transparent;
  margin: 0;
  font-family: var(--yf-font-ui);
  transition: background .3s var(--yf-ease);
  -webkit-tap-highlight-color: transparent;
}
.yf-post:first-child { padding-top: 8px; }
@media (min-width: 640px) { .yf-post { padding-left: 4px; padding-right: 4px; } }
/* мягкая подсветка карточки при наведении на десктопе (не мешает медиа-кликам) */
@media (hover: hover) and (min-width: 769px) {
  .yf-post:hover { background: color-mix(in srgb, var(--yf-surface) 22%, transparent); }
}

/* Метка репоста */
.yf-repost {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; color: var(--yf-success);
  margin-bottom: 10px; padding-left: 2px;
}
.yf-repost svg { width: 14px; height: 14px; stroke-width: 2; }

/* ------------------------------- Шапка ---------------------------------- */
.yf-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 13px; }
.yf-ava {
  width: 46px; height: 46px; border-radius: 50%; flex: none; overflow: hidden;
  box-shadow: 0 0 0 1px var(--yf-border-strong); display: grid; place-items: center;
  background: var(--yf-surface-2); color: var(--yf-accent); font-size: 20px;
  text-decoration: none; cursor: pointer;
}
.yf-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yf-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.yf-name {
  font-family: var(--yf-font-ui); font-weight: 800; font-size: 15.5px;
  letter-spacing: -.01em; color: var(--yf-text); line-height: 1.25;
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
}
.yf-name > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.yf-name:hover > span:first-child { color: var(--yf-accent-hi); }

/* Дата: лаконично, но выразительно */
.yf-date {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px;
  margin-top: 3px; font-size: 12px; color: var(--yf-dim); font-weight: 600;
}
.yf-date .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--yf-muted); flex: none; }
.yf-date .hot { color: var(--yf-accent); font-weight: 700; }

.yf-menu { position: relative; flex: none; }
.yf-menu > button {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: transparent; border: none; color: var(--yf-muted); cursor: pointer;
  font-size: 17px; transition: .2s var(--yf-ease);
}
.yf-menu > button:hover { background: var(--yf-surface); color: var(--yf-text); }

/* Рубрика-эйбрау (журнальный приём) */
.yf-kicker {
  font-family: var(--yf-font-ui); font-weight: 700; font-size: 10.5px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--yf-accent);
  margin: 0 0 9px; display: flex; align-items: center; gap: 8px;
}
.yf-kicker::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--yf-accent-line), transparent); }

/* -------------------------------- Тело ---------------------------------- */
.yf-body { }
.yf-text {
  font-size: 15.5px; line-height: 1.62; color: var(--yf-text);
  white-space: pre-wrap; word-wrap: break-word; letter-spacing: -.005em;
}
.yf-text .hl {
  background: linear-gradient(120deg, var(--yf-accent-soft), transparent 92%);
  box-shadow: inset 0 -.5em 0 var(--yf-accent-soft);
  padding: 0 2px; border-radius: 3px;
}

/* ===================== ПРЕМИУМ-ПОДЧЁРКИВАНИЕ (в постах) ==================== */
/* Рендерится ГЛОБАЛЬНО на стене (не только в редакторе). Цвет берётся из
   инлайнового --brush-color; максимум 10 слов ограничивает редактор.
   Двойной слой: чёткая линия + мягкое «сияние» над ней. */
.yf-text .brush-stroke,
.yf-quote .yf-q .brush-stroke,
.yf-text u,
.yf-quote .yf-q u {
  --bc: var(--brush-color, var(--yf-accent));
  color: inherit; font-weight: 700; text-decoration: none;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background-image:
    linear-gradient(90deg, var(--bc), var(--bc)),
    linear-gradient(90deg,
      color-mix(in srgb, var(--bc) 26%, transparent),
      color-mix(in srgb, var(--bc) 26%, transparent));
  background-repeat: no-repeat, no-repeat;
  background-position: 0 100%, 0 100%;
  background-size: 100% 2px, 100% .52em;
  padding: 0 .06em .04em;
  border-radius: 2px;
  transition: background-size .25s var(--yf-ease), filter .25s var(--yf-ease);
}
@media (hover: hover) {
  .yf-text .brush-stroke:hover,
  .yf-text u:hover { background-size: 100% 3px, 100% .62em; filter: saturate(1.15); }
}
/* Старый маркер-фон (если где-то остался) внутри поста не мешает подчёркиванию */
.yf-text .brush-stroke { box-shadow: none; text-shadow: none; }
/* Буквица для длинных «журнальных» постов (добавляется классом .yf-lead) */
.yf-text.yf-lead::first-letter {
  font-family: var(--yf-font-editorial); font-weight: 700; font-size: 3.1em;
  float: left; line-height: .82; margin: 6px 12px 0 0; color: var(--yf-accent);
}
.yf-body .read-more-modern-btn { color: var(--yf-accent); font-weight: 700; }

/* Медиа: острые углы всегда; на телефоне — во всю ширину экрана (от края до края) */
.yf-media { margin: 14px 0 4px; }
.yf-media > * + * { margin-top: 12px; }

/* Фото-карусель и видео — без скругления, авторитетно перекрываем post_carousel.css */
.yf-post .post-carousel-container,
.yf-post .yf-video-wrap {
  border-radius: 0; overflow: hidden;
  margin-left: 0; margin-right: 0; width: 100%;
}
/* Премиальная «сцена» видео на стене (сам плеер — этап «Плееры») */
.yf-post .yf-video-wrap {
  background: #000; display: flex; align-items: center; justify-content: center;
  max-height: 82vh;
}
.yf-post .yf-video-wrap .feed-auto-video {
  width: 100%; height: auto; max-height: 82vh; display: block; object-fit: contain;
  border-radius: 0;
}
/* Голос/музыка остаются аккуратными карточками в колонке */
.yf-post .modern-post-audio { border-radius: 18px; }

/* Телефон: медиа от края до края — пуленепробиваемо через 100vw по центру
   (без риска горизонтального переполнения страницы) */
@media (max-width: 640px) {
  .yf-post .post-carousel-container,
  .yf-post .yf-video-wrap {
    width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%);
  }
  /* формат «Рамка» — исключение: остаётся в колонке, скруглённый */
  .yf-post .yf-video-wrap--frame { width: 100%; max-width: 100%; margin-left: 0; transform: none; }
}
/* Формат «Рамка»: скруглённое видео в колонке (маска при показе) */
.yf-post .yf-video-wrap--frame,
.yf-post .yf-video-wrap--frame .feed-auto-video { border-radius: 22px; }
.yf-post .yf-video-wrap--frame { overflow: hidden; }

/* Текстовый пост без медиа (класс .yf-quote добавляет движок).
   Без гигантской кавычки — вместо неё тонкая акцентная планка и чистая типографика. */
/* Текстовый пост без медиа: воздух, крупная журнальная типографика, без «коробки» */
.yf-quote {
  margin: 12px 0 8px; padding: 6px 2px 2px; background: none; border: none;
  position: relative; overflow: visible;
}
.yf-quote::before { display: none; }
.yf-quote .yf-q {
  font-family: var(--yf-font-editorial); font-weight: 600;
  font-size: clamp(21px, 6.2vw, 27px); line-height: 1.5; font-style: italic;
  color: var(--yf-text); letter-spacing: .003em; padding: 0;
}
.yf-quote .yf-attr {
  margin: 18px 0 0; font-weight: 700; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--yf-accent);
  display: inline-flex; align-items: center; gap: 9px;
}
.yf-quote .yf-attr::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--yf-accent-line); }

/* ===================== РЕАКЦИИ (Telegram-стиль) ========================== */
.yf-reactions {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 15px 0 2px; min-height: 2px;
}
.yf-reactions:empty { display: none; }
.yf-rx {
  display: inline-flex; align-items: center; gap: 7px; height: 34px;
  padding: 0 12px 0 10px; border-radius: var(--yf-r-pill);
  background: var(--yf-surface); border: 1px solid var(--yf-border);
  cursor: pointer; user-select: none; font-variant-numeric: tabular-nums;
  transition: transform .18s var(--yf-spring), background .2s, border-color .2s;
}
.yf-rx:hover { transform: translateY(-2px); background: var(--yf-surface-2); }
.yf-rx:active { transform: translateY(0) scale(.96); }
.yf-rx .emo { font-size: 16px; line-height: 1; }
.yf-rx .n { font-size: 13.5px; font-weight: 800; color: var(--yf-dim); }
.yf-rx.on { background: var(--yf-accent-soft); border-color: var(--yf-accent-line); }
.yf-rx.on .n { color: var(--yf-accent-hi); }
/* Реакция из набора по умолчанию с нулём тапов — компактная, приглушённая, но кликабельная */
.yf-rx--empty {
  padding: 0 11px; background: color-mix(in srgb, var(--yf-surface) 55%, transparent);
  border-style: dashed; opacity: .82;
}
.yf-rx--empty:hover { opacity: 1; }
.yf-rx--empty .emo { filter: saturate(.85); transition: filter .2s var(--yf-ease); }
.yf-rx--empty:hover .emo { filter: saturate(1); }
/* лёгкий «поп» при постановке реакции */
@keyframes yfRxPop { 0%{transform:scale(.6)} 60%{transform:scale(1.25)} 100%{transform:scale(1)} }
.yf-rx.just-added .emo { animation: yfRxPop .35s var(--yf-spring); }
/* мультитап: пружинка на нажатой пилюле */
.yf-rx:active .emo { animation: yfRxPop .3s var(--yf-spring); }

.yf-rx-add {
  width: 34px; height: 34px; border-radius: var(--yf-r-pill); display: grid; place-items: center;
  background: var(--yf-surface); border: 1px dashed var(--yf-border-strong);
  color: var(--yf-muted); cursor: pointer; transition: .2s var(--yf-ease); font-size: 15px; flex: none;
}
.yf-rx-add:hover { color: var(--yf-accent); border-color: var(--yf-accent-line); background: var(--yf-accent-soft); }

/* Вырезанные силуэты реагировавших */
.yf-silos-wrap { display: inline-flex; align-items: center; gap: 9px; margin-left: 2px; }
.yf-silos { display: flex; }
.yf-silo {
  width: 26px; height: 26px; border-radius: 50%; margin-left: -9px; flex: none;
  background: var(--yf-surface-2) center/cover no-repeat;
  -webkit-mask: radial-gradient(circle 15px at 33px 50%, transparent 98%, #000 100%);
          mask: radial-gradient(circle 15px at 33px 50%, transparent 98%, #000 100%);
}
.yf-silo:first-child { margin-left: 0; }
.yf-silo:last-child { -webkit-mask: none; mask: none; }
.yf-silo-more { font-size: 12.5px; color: var(--yf-muted); font-weight: 600; }
.yf-silo-more b { color: var(--yf-dim); font-weight: 800; }

/* Плавающий выбор эмодзи (пикер) */
.yf-picker {
  position: absolute; z-index: 2147483000; display: flex; flex-wrap: wrap; gap: 4px; padding: 8px;
  width: max-content; max-width: min(320px, 92vw); justify-content: center;
  background: var(--yz-glass-strong, rgba(29,28,26,.92)); backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--yf-border-strong); border-radius: 22px;
  box-shadow: var(--yz-shadow-lg, 0 24px 60px -18px rgba(0,0,0,.65));
  transform: translateY(8px) scale(.9); opacity: 0; pointer-events: none;
  transition: transform .22s var(--yf-spring), opacity .18s var(--yf-ease);
}
.yf-picker.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.yf-picker button {
  width: 42px; height: 42px; border: none; background: transparent; border-radius: 50%;
  font-size: 24px; line-height: 1; cursor: pointer; transition: transform .15s var(--yf-spring);
  display: grid; place-items: center;
}
.yf-picker button:hover { transform: scale(1.35) translateY(-2px); background: var(--yf-accent-soft); }

/* ============================== ДЕЙСТВИЯ ================================= */
.yf-actions { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.yf-act {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  border-radius: var(--yf-r-pill); background: transparent; border: none;
  color: var(--yf-dim); font-family: var(--yf-font-ui); font-weight: 700; font-size: 13.5px;
  cursor: pointer; transition: .2s var(--yf-ease); font-variant-numeric: tabular-nums;
}
.yf-act svg { width: 19px; height: 19px; stroke-width: 2; fill: none; stroke: currentColor; flex: none; }
.yf-act:hover { background: var(--yf-surface); color: var(--yf-text); }
.yf-act .yf-lbl { font-weight: 700; }
.yf-comment:hover { color: var(--yf-info); }
.yf-repost:hover { color: var(--yf-success); }
.yf-repost.reposted { color: var(--yf-success); }
.yf-repost.reposted svg { stroke: var(--yf-success); }
.yf-share { margin-left: auto; }
.yf-share:hover { color: var(--yf-accent-hi); }
@media (max-width: 520px) { .yf-act .yf-lbl { display: none; } .yf-act { padding: 0 12px; } }

/* Выпадающее меню поста (совместимость со старым .post-dropdown-menu) */
.yf-post .post-dropdown-menu {
  background: var(--yf-surface); border: 1px solid var(--yf-border); border-radius: 16px;
  padding: 6px; box-shadow: var(--yz-shadow-md, 0 15px 35px rgba(0,0,0,.35)); min-width: 180px;
}

/* ===================== Лента-обёртка и состояния ========================= */
#feed-wrapper .yf-empty, #feed-wrapper .yf-loading {
  text-align: center; padding: 44px 20px; color: var(--yf-dim);
}
#feed-wrapper .yf-empty i { font-size: 40px; opacity: .3; margin-bottom: 14px; display: block; }
.yf-skeleton { padding: 22px 16px; }
.yf-skeleton .sk {
  background: linear-gradient(90deg, var(--yf-surface) 25%, var(--yf-surface-2) 37%, var(--yf-surface) 63%);
  background-size: 400% 100%; animation: yfShimmer 1.4s ease infinite; border-radius: 10px;
}
@keyframes yfShimmer { 0%{background-position:100% 0} 100%{background-position:-100% 0} }

/* ===================== КОММЕНТАРИИ (единый стиль) ======================= */
/* Раньше жили инлайном в index.php — теперь одинаково на всех страницах.   */
.comments-section {
  --yf-text: var(--yz-text, var(--text-primary, #faf9f5));
  --yf-dim: var(--yz-dim, var(--text-secondary, #b9b4a7));
  --yf-surface: var(--yz-surface, var(--bg-panel, #30302e));
  --yf-border: var(--yz-border, var(--glass-border, rgba(250,249,245,.08)));
  --yf-accent: var(--yz-accent, var(--accent-primary, #d97757));
  border-top: 1px solid var(--yf-border); display: flex; flex-direction: column;
  flex-grow: 1; background: var(--yz-bg, var(--bg-main, transparent));
}
.comments-header { padding: 20px 20px 5px; font-family: var(--yz-font-display,'Unbounded',sans-serif); font-weight: 700; font-size: 16px; color: var(--yf-text); display: flex; align-items: center; gap: 8px; }
.comments-list { padding: 10px 20px 20px; display: flex; flex-direction: column; gap: 16px; }
.comment-thread-node { display: flex; flex-direction: column; }
.comment-children-wrap { margin-top: 14px; margin-left: 30px; padding-left: 14px; border-left: 2px solid var(--yf-border); display: flex; flex-direction: column; gap: 14px; }
.comment-item { display: flex; gap: 12px; animation: yfFadeIn .3s ease; }
@keyframes yfFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--yf-border); flex-shrink: 0; background: var(--yf-surface); }
.comment-item.reply .comment-avatar { width: 28px; height: 28px; }
.comment-body-wrapper { flex-grow: 1; min-width: 0; }
.comment-bubble { background: var(--yf-surface); padding: 10px 14px; border-radius: 16px; border-top-left-radius: 5px; border: 1px solid var(--yf-border); display: inline-block; max-width: 100%; box-sizing: border-box; }
.comment-author { font-weight: 700; font-size: 13px; color: var(--yf-text); margin-bottom: 4px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.comment-time { font-size: 11px; color: var(--yf-dim); font-weight: 500; }
.comment-text { font-size: 14px; color: var(--yf-text); line-height: 1.45; word-wrap: break-word; }
.comment-actions { display: flex; gap: 16px; margin-top: 6px; margin-left: 4px; }
.comment-btn { background: none; border: none; color: var(--yf-dim); font-size: 12px; font-weight: 600; cursor: pointer; transition: .2s; padding: 0; display: flex; align-items: center; gap: 5px; }
.comment-btn:hover { color: var(--yf-text); }
.comment-btn.liked { color: var(--yz-accent, var(--interaction-accent, #d97757)); }

/* =============================================================================
   ПРЕМИУМ-ПЛЕЕР (feed-player.js) — видео + аудио
   Стеклянные автоскрывающиеся контролы, скраббер, waveform-дорожка, фуллскрин.
============================================================================= */
.yfp { --yfp-accent: var(--yf-accent, #d97757); --yfp-glass: rgba(20,19,17,.5); }

/* ------------------------------- ВИДЕО --------------------------------- */
.yfp-video {
  position: relative; background: #000; overflow: hidden;
  -webkit-user-select: none; user-select: none; touch-action: pan-y;
}
.yfp-video .yfp-stage {
  position: relative; width: 100%; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.yfp-video .feed-auto-video {
  width: 100%; height: auto; max-height: 82vh; display: block; object-fit: contain;
  transform-origin: center center; will-change: transform; background: #000;
}
/* центральная кнопка play */
.yfp-big {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 74px; height: 74px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--yfp-glass); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 10px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.14);
  color: #fff; display: grid; place-items: center; transition: opacity .25s, transform .25s var(--yf-spring, cubic-bezier(.34,1.45,.5,1));
  z-index: 4;
}
.yfp-big svg { width: 32px; height: 32px; margin-left: 3px; }
.yfp-big:hover { transform: translate(-50%,-50%) scale(1.06); }
.yfp-video.yfp--playing .yfp-big { opacity: 0; pointer-events: none; transform: translate(-50%,-50%) scale(.7); }

/* индикатор буферизации */
.yfp-load { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3; display: none; }
.yfp-video.yfp--load .yfp-load { display: block; }
.yfp-video.yfp--load.yfp--playing .yfp-big { opacity: 0; }
.yfp-load span { display: block; width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: #fff; animation: yfpSpin .8s linear infinite; }
@keyframes yfpSpin { to { transform: rotate(360deg); } }

/* нижняя панель контролов */
.yfp-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; align-items: center; gap: 10px; padding: 22px 12px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.55) 55%, rgba(0,0,0,.72));
  opacity: 0; transform: translateY(6px); transition: opacity .25s var(--yf-ease, ease), transform .25s;
  pointer-events: none;
}
.yfp-video.yfp--ui .yfp-bar { opacity: 1; transform: none; pointer-events: auto; }
.yfp-bar button { background: none; border: none; color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; flex: none; }
.yfp-bar .yfp-play { width: 30px; height: 30px; }
.yfp-bar .yfp-play svg { width: 26px; height: 26px; }
.yfp-bar .yfp-mute svg, .yfp-bar .yfp-fs svg { width: 21px; height: 21px; }
.yfp-cur, .yfp-dur { color: #fff; font: 700 12px/1 var(--yf-font-ui, sans-serif); font-variant-numeric: tabular-nums; opacity: .95; flex: none; }
.yfp-seek { position: relative; flex: 1; height: 26px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.yfp-seek::before { content: ""; position: absolute; left: 0; right: 0; height: 4px; border-radius: 4px; background: rgba(255,255,255,.26); }
.yfp-buf { position: absolute; left: 0; height: 4px; width: 0; border-radius: 4px; background: rgba(255,255,255,.4); }
.yfp-prog { position: absolute; left: 0; height: 4px; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--yfp-accent), var(--yf-accent-hi, #e88a68)); }
.yfp-prog .yfp-thumb {
  position: absolute; right: -7px; top: 50%; transform: translateY(-50%) scale(0); width: 14px; height: 14px;
  border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.5); transition: transform .18s var(--yf-spring, ease);
}
.yfp-video.yfp--ui .yfp-prog .yfp-thumb, .yfp-video.yfp--seeking .yfp-prog .yfp-thumb { transform: translateY(-50%) scale(1); }

/* полноэкранный оверлей + поворот в альбомную */
.yfp-fs-overlay { position: fixed; inset: 0; background: #000; z-index: 2147483000; display: flex; align-items: center; justify-content: center; }
.yfp-video.yfp--fs { position: relative; width: 100vw; height: 100vh; max-height: 100vh; }
.yfp-video.yfp--fs .yfp-stage { width: 100%; height: 100%; }
.yfp-video.yfp--fs .feed-auto-video { max-height: 100vh; height: 100%; }
.yfp-video.yfp--fs.yfp--rot {
  width: 100vh; height: 100vw;
  transform: translate(-50%,-50%) rotate(90deg); position: absolute; top: 50%; left: 50%;
}
.yfp-fs-exit {
  position: fixed; top: calc(env(safe-area-inset-top,10px) + 10px); right: 14px; z-index: 2147483001;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer; color: #fff;
  background: rgba(20,19,17,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.yfp-fs-exit svg { width: 22px; height: 22px; }

/* ------------------------------- АУДИО --------------------------------- */
.yfp-audio {
  display: flex; align-items: center; gap: 13px; box-sizing: border-box;
  background: var(--yf-surface); border: 1px solid var(--yf-border); border-radius: 18px;
  padding: 12px 15px; -webkit-user-select: none; user-select: none;
  max-width: 100%; overflow: hidden;
}
.yfp-audio--voice { background: transparent; border: none; padding: 6px 2px; border-radius: 0; }
.yfp-aplay {
  flex: none; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; border: none;
  background: linear-gradient(140deg, var(--yfp-accent), var(--yf-accent-hi, #e88a68)); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 22px -8px var(--yfp-accent);
  transition: transform .16s var(--yf-spring, ease);
}
.yfp-audio--voice .yfp-aplay { width: 40px; height: 40px; background: var(--yf-accent-soft, rgba(217,119,87,.14)); color: var(--yfp-accent); box-shadow: none; }
.yfp-aplay:active { transform: scale(.92); }
.yfp-aplay svg { width: 20px; height: 20px; margin-left: 2px; }
.yfp-aplay .yfp-thumb, .yfp-audio.yfp--playing .yfp-aplay svg { margin-left: 0; }
.yfp-cover {
  flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--yf-surface-2) center/cover no-repeat;
  display: grid; place-items: center; color: var(--yfp-accent); box-shadow: inset 0 0 0 1px var(--yf-border);
}
.yfp-cover svg { width: 22px; height: 22px; }
.yfp-acol { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.yfp-ameta { min-width: 0; }
.yfp-atitle { font: 800 14.5px/1.15 var(--yf-font-ui, sans-serif); color: var(--yf-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yfp-aartist { font: 600 12px/1.1 var(--yf-font-ui, sans-serif); color: var(--yf-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }

/* «бегущая» waveform-дорожка */
.yfp-wave { position: relative; height: 34px; cursor: pointer; touch-action: none; overflow: hidden; min-width: 0; }
.yfp-wave-lay { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; }
.yfp-wave-lay i { flex: 1; min-width: 2px; border-radius: 2px; background: var(--yf-border-strong, rgba(250,249,245,.17)); }
/* fill-слой поверх base; открываем слева по прогрессу через clip-path — бары совпадают */
.yfp-wave-fill { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); will-change: clip-path; }
.yfp-wave-fill .yfp-wave-lay { inset: 0; }
.yfp-wave-fill .yfp-wave-lay i { background: linear-gradient(var(--yfp-accent), var(--yf-accent-hi, #e88a68)); }
.yfp-atime { flex: none; font: 700 12px/1 var(--yf-font-ui, sans-serif); color: var(--yf-dim); font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
  /* аудио-плеер тоже во всю ширину карточки на телефоне не нужен — остаётся в колонке */
  .yfp-bar { padding: 26px 10px 14px; }
}

/* =============================================================================
   КОМПОЗЕР «НОВАЯ ЗАПИСЬ» (feed-composer.js) — 2026
   Полноэкранный нижний лист · вкладки Пост/Видео · Instagram-карусель фото ·
   встроенный фоторедактор · alt-текст · черновики. Фирменный стиль ЯZME.
   Все цвета — через токены --yf-* и --yz-* (тема наследуется автоматически).
============================================================================= */
.yc-root {
  position: fixed; inset: 0; z-index: 2147483200; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0,0,0,.55); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  opacity: 0; pointer-events: none; transition: opacity .28s var(--yf-ease, ease);
  /* 4 уровня поверхностей (тренд 2026) */
  --yc-bg:  var(--yz-bg-deep, #141310);
  --yc-s1:  var(--yf-surface, #26251f);
  --yc-s2:  var(--yf-surface-2, #302e27);
  --yc-s3:  rgba(255,255,255,.055);
  --yc-acc: var(--yf-accent, #d97757);
  --yc-acc2: var(--yf-accent-hi, #e88a68);
  --yc-txt: var(--yf-text, #faf9f5);
  --yc-dim: var(--yf-dim, #8a857c);
  --yc-bd:  var(--yf-border, rgba(255,255,255,.09));
  --yc-bd2: var(--yf-border-strong, rgba(255,255,255,.16));
  --yc-spring: var(--yf-spring, cubic-bezier(.34,1.45,.5,1));
}
.yc-root.open { opacity: 1; pointer-events: auto; }
.yc-root.yc-drag .yc-sheet { outline: 2px dashed var(--yc-acc); outline-offset: -8px; }

.yc-sheet {
  position: relative; width: 100%; max-width: 620px; height: 92vh; background: var(--yc-bg);
  display: flex; flex-direction: column; border-radius: 26px 26px 0 0; overflow: hidden;
  box-shadow: 0 -24px 70px rgba(0,0,0,.55); color: var(--yc-txt); font-family: var(--yf-font-ui, system-ui, sans-serif);
  transform: translateY(26px); transition: transform .34s var(--yc-spring);
}
.yc-root.open .yc-sheet { transform: none; }
@media (min-width: 641px) { .yc-root { align-items: center; } .yc-sheet { height: 86vh; border-radius: 24px; } }
@media (max-width: 640px) { .yc-sheet { height: 100dvh; border-radius: 0; max-width: 100%; } }
.yc-grip { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; border-radius: 99px; background: var(--yc-bd2); z-index: 3; }
@media (min-width: 641px) { .yc-grip { display: none; } }

/* ---- шапка (стеклянная, липкая) ---- */
.yc-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 14px 12px; border-bottom: 1px solid var(--yc-bd);
  background: color-mix(in srgb, var(--yc-bg) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 4;
}
.yc-x { width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer; background: var(--yc-s1); color: var(--yc-dim); display: grid; place-items: center; flex: none; transition: .2s; }
.yc-x:hover { background: var(--yc-s2); color: var(--yc-txt); }
.yc-x svg { width: 20px; height: 20px; }
.yc-title { flex: 1; min-width: 0; text-align: center; font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--yc-txt); }
/* переключатель Пост/Видео — отдельной строкой, чтобы «Опубликовать» всегда влезал */
.yc-modes { display: flex; gap: 4px; margin: 12px 14px 2px; background: var(--yc-s1); border-radius: 999px; padding: 4px; }
.yc-mode { flex: 1; border: none; background: transparent; color: var(--yc-dim); font-weight: 800; font-size: 14px; padding: 11px 0; border-radius: 999px; cursor: pointer; transition: color .2s, background .25s var(--yc-spring); }
.yc-mode.is-on { background: var(--yc-acc); color: #fff; box-shadow: 0 6px 16px -8px var(--yc-acc); }
.yc-pub { border: none; background: linear-gradient(135deg, var(--yc-acc), var(--yc-acc2)); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .01em; padding: 11px 18px; border-radius: 999px; cursor: pointer; flex: none; white-space: nowrap; transition: transform .15s var(--yc-spring), opacity .2s, box-shadow .2s, filter .2s; box-shadow: 0 8px 22px -8px var(--yc-acc); }
@media (max-width: 380px) { .yc-pub { padding: 10px 14px; font-size: 13px; } .yc-x { width: 36px; height: 36px; } }
.yc-pub:not(:disabled):hover { filter: brightness(1.05); }
.yc-pub:not(:disabled):active { transform: scale(.95); }
.yc-pub:disabled { opacity: .4; cursor: default; box-shadow: none; filter: grayscale(.35); }

/* ---- панель черновика ---- */
.yc-draft { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: color-mix(in srgb, var(--yc-acc) 12%, var(--yc-bg)); border-bottom: 1px solid var(--yc-bd); font-size: 13px; font-weight: 600; }
.yc-draft[hidden] { display: none; }
.yc-draft-btns { display: flex; gap: 8px; }
.yc-draft-btns button { border: none; cursor: pointer; font-weight: 800; font-size: 12px; padding: 7px 13px; border-radius: 999px; }
.yc-draft-use { background: var(--yc-acc); color: #fff; }
.yc-draft-del { background: var(--yc-s1); color: var(--yc-dim); }

/* ---- панели ---- */
.yc-pane { flex: 1; min-height: 0; overflow-y: auto; display: none; flex-direction: column; }
.yc-pane.is-on { display: flex; }

/* ---- редактор текста ---- */
.yc-editor-wrap { padding: 20px 20px 8px; }
.yc-editor { min-height: 96px; font-size: 18px; line-height: 1.55; color: var(--yc-txt); outline: none; white-space: pre-wrap; word-wrap: break-word; caret-color: var(--yc-acc); }
.yc-editor:empty::before { content: attr(data-ph); color: var(--yc-dim); pointer-events: none; opacity: .85; }
.yc-editor .brush-stroke {
  --bc: var(--brush-color, var(--yc-acc)); color: inherit; font-weight: 700; text-decoration: none;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background-image: linear-gradient(90deg, var(--bc), var(--bc)), linear-gradient(90deg, color-mix(in srgb, var(--bc) 26%, transparent), color-mix(in srgb, var(--bc) 26%, transparent));
  background-repeat: no-repeat, no-repeat; background-position: 0 100%, 0 100%; background-size: 100% 2px, 100% .52em; padding: 0 .06em .04em; border-radius: 2px;
}

/* ---- КАРУСЕЛЬ ФОТО (свайп влево-вправо, как в Instagram) ---- */
.yc-carousel { position: relative; margin: 6px 0 4px; }
.yc-carousel[hidden] { display: none; }
.yc-track-strip { display: flex; height: clamp(240px, 50vh, 560px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; background: #0c0b0a; }
.yc-track-strip::-webkit-scrollbar { display: none; }
.yc-track-strip:focus-visible { outline: 2px solid var(--yc-acc); outline-offset: -2px; }
.yc-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; }
.yc-slide-img { position: absolute; inset: 0; background-position: center; background-repeat: no-repeat; background-size: contain; }
.yc-slide-ctl { position: absolute; top: 10px; right: 10px; display: flex; gap: 8px; z-index: 2; }
.yc-slide-ctl button { width: 36px; height: 36px; border-radius: 50%; border: none; cursor: pointer; background: rgba(12,11,10,.6); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: .18s; }
.yc-slide-ctl button:hover { background: rgba(12,11,10,.85); }
.yc-slide-ctl button svg { width: 17px; height: 17px; }
.yc-slide-ctl .yc-altb.has { background: var(--yc-acc); }
.yc-slide-move { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 6px; pointer-events: none; }
.yc-slide-move button { pointer-events: auto; width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer; background: rgba(12,11,10,.5); color: #fff; font-size: 20px; line-height: 1; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.yc-slide:hover .yc-slide-move button { opacity: 1; }
.yc-slide-move button:disabled { opacity: 0 !important; }
.yc-slide-altbadge { position: absolute; left: 10px; bottom: 10px; background: rgba(12,11,10,.7); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 3px 7px; border-radius: 6px; z-index: 2; }
.yc-slide-pending { flex-direction: column; gap: 12px; color: var(--yc-dim); font-size: 13px; font-weight: 600; }
.yc-slide-add { flex: 0 0 92px; height: 100%; scroll-snap-align: end; flex-direction: column; gap: 6px; border: none; border-left: 1px solid var(--yc-bd); background: var(--yc-s1); color: var(--yc-dim); font-size: 11px; font-weight: 700; cursor: pointer; }
.yc-slide-add svg { width: 26px; height: 26px; }
.yc-slide-add:hover { color: var(--yc-acc); background: var(--yc-s2); }

.yc-count { position: absolute; top: 10px; left: 10px; background: rgba(12,11,10,.7); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; z-index: 2; }
.yc-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 2px; flex-wrap: wrap; }
.yc-dot { width: 7px; height: 7px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: var(--yc-bd2); transition: .25s var(--yc-spring); }
.yc-dot.on { background: var(--yc-acc); width: 22px; border-radius: 99px; }

/* ---- трек ---- */
.yc-track { display: none; padding: 8px 18px 4px; }
.yc-track-chip { display: flex; align-items: center; gap: 12px; background: var(--yc-s1); border: 1px solid var(--yc-bd); border-radius: 16px; padding: 10px 12px; }
.yc-track-cov { width: 42px; height: 42px; border-radius: 11px; background: var(--yc-s2) center/cover; display: grid; place-items: center; color: var(--yc-acc); flex: none; }
.yc-track-cov svg { width: 20px; height: 20px; }
.yc-track-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.yc-track-meta b { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yc-track-meta span { font-size: 12px; color: var(--yc-dim); }
.yc-track-x { width: 30px; height: 30px; border-radius: 50%; border: none; background: transparent; color: var(--yc-dim); cursor: pointer; flex: none; }
.yc-track-x svg { width: 15px; height: 15px; }

/* ---- ТУЛБАР ---- */
.yc-toolbar { display: flex; align-items: center; gap: 8px; padding: 12px 14px calc(14px + env(safe-area-inset-bottom,0)); border-top: 1px solid var(--yc-bd); background: color-mix(in srgb, var(--yc-bg) 90%, transparent); }
.yc-tool { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 12px; border-radius: 14px; border: none; cursor: pointer; background: var(--yc-s1); color: var(--yc-txt); font-weight: 700; font-size: 14px; transition: .2s; }
.yc-tool:hover { background: var(--yc-s2); color: var(--yc-acc); transform: translateY(-1px); }
.yc-tool span { display: grid; place-items: center; }
.yc-tool svg { width: 21px; height: 21px; display: block; }
.yc-tool-u { display: flex; align-items: center; gap: 8px; }
.yc-swatches { display: flex; gap: 6px; align-items: center; }
.yc-sw { width: 24px; height: 24px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); transition: .2s var(--yc-spring); }
.yc-sw.is-on { border-color: #fff; transform: scale(1.16); }

/* ---- ВИДЕО ---- */
.yc-fmt { display: flex; justify-content: center; gap: 8px; padding: 14px; }
.yc-fmt-b { border: 1px solid var(--yc-bd2); background: transparent; color: var(--yc-dim); font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: .2s; }
.yc-fmt-b.is-on { background: var(--yc-acc); color: #fff; border-color: transparent; }
.yc-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 6px 16px; container-type: size; }
.yc-vframe { position: relative; background: #000; overflow: hidden; aspect-ratio: 9 / 16; width: min(100cqw, 56.25cqh); height: auto; max-width: 100%; border-radius: 16px; }
.yc-stage[data-fmt="circle"] .yc-vframe { aspect-ratio: 1 / 1; width: min(100cqw, 100cqh); border-radius: 50%; }
.yc-stage[data-fmt="frame"] .yc-vframe { aspect-ratio: 4 / 5; width: min(100cqw, 80cqh); border-radius: 26px; }
.yc-stage[data-fmt="916"] { padding: 0; }
.yc-stage[data-fmt="916"] .yc-vframe { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; max-width: 100%; }
/* показываем кадр целиком, без «зума»/обрезки — форма задаётся рамкой формата */
/* WYSIWYG: кадр показывается так, как опубликуется (обрезка по формату) */
.yc-cam, .yc-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; background: #000; }
.yc-cam { transform: scaleX(-1); }
.yc-cam-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--yc-dim); text-align: center; padding: 20px; }
.yc-cam-empty svg { width: 40px; height: 40px; opacity: .5; }
.yc-cam-empty span { font-size: 13px; font-weight: 600; max-width: 200px; }
.yc-root.yc-has-cam .yc-cam { display: block; }
.yc-root.yc-has-cam .yc-cam-empty { display: none; }
.yc-root.yc-has-video .yc-vbar, .yc-root.yc-has-video .yc-vhint, .yc-root.yc-has-video .yc-cam-empty { display: none; }
.yc-preview { cursor: pointer; }
.yc-root.yc-has-video .yc-preview { display: block; }
.yc-vedit-hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 4; display: none; background: rgba(12,11,10,.72); color: #fff; font-size: 12px; font-weight: 700; padding: 7px 14px; border-radius: 999px; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.yc-root.yc-has-video .yc-vedit-hint { display: block; }
.yc-root.yc-has-video .yc-preview { display: block; }
.yc-root.yc-has-video .yc-cam { display: none; }
.yc-vbar { display: flex; align-items: center; justify-content: center; gap: 40px; padding: 6px 14px 4px; }
.yc-pick, .yc-switch { width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer; background: var(--yc-s1); color: var(--yc-txt); display: grid; place-items: center; }
.yc-pick svg, .yc-switch svg { width: 22px; height: 22px; }
.yc-rec { width: 74px; height: 74px; border-radius: 50%; border: none; cursor: pointer; background: transparent; box-shadow: inset 0 0 0 4px rgba(255,255,255,.85); display: grid; place-items: center; }
.yc-rec i { width: 56px; height: 56px; border-radius: 50%; background: #ff3b46; display: block; transition: .25s var(--yc-spring); }
.yc-root.yc-recording .yc-rec i { border-radius: 10px; width: 30px; height: 30px; animation: ycrec 1.1s infinite; }
@keyframes ycrec { 0%,100% { transform: scale(1); } 50% { transform: scale(.82); } }
.yc-root.yc-has-video .yc-rec { box-shadow: inset 0 0 0 4px var(--yc-acc); }
.yc-root.yc-has-video .yc-rec i { background: var(--yc-acc); border-radius: 10px; width: 26px; height: 26px; }
.yc-vhint { text-align: center; font-size: 12px; color: var(--yc-dim); padding: 4px 14px calc(12px + env(safe-area-inset-bottom,0)); }
.yc-root.yc-recording .yc-vhint { font-size: 0; }
.yc-root.yc-recording .yc-vhint::before { content: "● Идёт запись…"; color: #ff3b46; font-weight: 700; font-size: 12px; }

/* ---- ФОТОРЕДАКТОР ---- */
.yc-crop { position: absolute; inset: 0; z-index: 10; background: #0a0908; display: flex; flex-direction: column; animation: ycfade .2s var(--yf-ease, ease); }
.yc-crop[hidden] { display: none; }
@keyframes ycfade { from { opacity: 0; } to { opacity: 1; } }
.yc-crop-top { display: flex; align-items: center; justify-content: space-between; padding: 16px; font-weight: 800; }
.yc-crop-top button { width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer; background: var(--yc-s1); color: var(--yc-txt); display: grid; place-items: center; }
.yc-crop-top .yc-crop-done { background: var(--yc-acc); color: #fff; }
.yc-crop-top button svg { width: 20px; height: 20px; }
.yc-crop-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 16px; }
.yc-crop-frame { position: relative; overflow: hidden; border-radius: 6px; box-shadow: 0 0 0 100vmax rgba(10,9,8,.72); touch-action: none; }
.yc-crop-img { position: absolute; top: 0; left: 0; background-position: 0 0; background-size: cover; background-repeat: no-repeat; cursor: grab; will-change: transform; }
.yc-crop-img:active { cursor: grabbing; }
.yc-crop-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px); background-size: 33.33% 33.33%; opacity: .5; }
.yc-crop-bar { padding: 12px 16px calc(16px + env(safe-area-inset-bottom,0)); display: flex; flex-direction: column; gap: 12px; }
.yc-crop-asp { display: flex; justify-content: center; gap: 8px; }
.yc-crop-asp button { border: 1px solid var(--yc-bd2); background: transparent; color: var(--yc-dim); font-weight: 700; font-size: 13px; padding: 8px 15px; border-radius: 999px; cursor: pointer; transition: .2s; }
.yc-crop-asp button.on { background: var(--yc-acc); color: #fff; border-color: transparent; }
.yc-crop-tools { display: flex; justify-content: center; gap: 10px; }
.yc-crop-tools button { border: none; background: var(--yc-s1); color: var(--yc-txt); font-weight: 700; font-size: 13px; padding: 10px 16px; border-radius: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.yc-crop-tools button svg { width: 18px; height: 18px; }
.yc-crop-tools button:hover { background: var(--yc-s2); color: var(--yc-acc); }

/* ---- ALT-текст ---- */
.yc-alt { position: absolute; inset: 0; z-index: 11; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.yc-alt[hidden] { display: none; }
.yc-alt-card { width: 100%; max-width: 560px; background: var(--yc-bg); border: 1px solid var(--yc-bd); border-radius: 22px 22px 0 0; padding: 22px 20px calc(20px + env(safe-area-inset-bottom,0)); animation: ycup .3s var(--yc-spring); }
@media (min-width: 641px) { .yc-alt { align-items: center; } .yc-alt-card { border-radius: 22px; } }
@keyframes ycup { from { transform: translateY(20px); opacity: .4; } to { transform: none; opacity: 1; } }
.yc-alt-card h4 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.yc-alt-card p { margin: 0 0 12px; font-size: 13px; color: var(--yc-dim); }
.yc-alt-ta { width: 100%; box-sizing: border-box; resize: none; background: var(--yc-s1); border: 1px solid var(--yc-bd); border-radius: 14px; color: var(--yc-txt); font: inherit; font-size: 15px; padding: 12px 14px; outline: none; }
.yc-alt-ta:focus { border-color: var(--yc-acc); }
.yc-alt-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.yc-alt-actions button { border: none; cursor: pointer; font-weight: 800; font-size: 14px; padding: 11px 20px; border-radius: 999px; }
.yc-alt-cancel { background: var(--yc-s1); color: var(--yc-dim); }
.yc-alt-save { background: var(--yc-acc); color: #fff; }

/* ---- прогресс/спиннер ---- */
.yc-progress { position: absolute; left: 50%; bottom: 88px; transform: translateX(-50%); z-index: 9; display: flex; align-items: center; gap: 10px; background: rgba(20,19,17,.94); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; box-shadow: 0 12px 32px rgba(0,0,0,.5); }
.yc-progress[hidden] { display: none; }
.yc-spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.25); border-top-color: var(--yc-acc); animation: ycspin .8s linear infinite; }
.yc-slide-pending .yc-spin { width: 30px; height: 30px; border-width: 3px; }
@keyframes ycspin { to { transform: rotate(360deg); } }

/* ---- тост / a11y ---- */
.yc-toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(12px); z-index: 2147483300; background: rgba(20,19,17,.95); color: #fff; padding: 12px 20px; border-radius: 14px; font-weight: 700; font-size: 14px; opacity: 0; transition: .3s var(--yf-ease, ease); box-shadow: 0 15px 40px rgba(0,0,0,.5); }
.yc-toast.on { opacity: 1; transform: translateX(-50%); }
.yc-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.yc-root :focus-visible { outline: 2px solid var(--yc-acc); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .yc-sheet, .yc-tab, .yc-dot, .yc-pub, .yc-tool { transition: none !important; } .yc-track-strip { scroll-behavior: auto; } }

/* ---- трек: наш плеер стены прямо в композере (с прослушиванием) ---- */
.yc-track-player { position: relative; display: flex; align-items: center; gap: 8px; }
.yc-track-player .yf-audio { flex: 1; min-width: 0; margin: 0; }
.yc-track-remove { width: 34px; height: 34px; flex: none; border-radius: 50%; border: none; cursor: pointer; background: var(--yc-s1); color: var(--yc-dim); display: grid; place-items: center; transition: .2s; }
.yc-track-remove:hover { background: var(--yc-s2); color: var(--yc-txt); }
.yc-track-remove svg { width: 15px; height: 15px; }

/* ---- подтверждение (пост ↔ видео) ---- */
.yc-confirm { position: absolute; inset: 0; z-index: 12; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 20px; }
.yc-confirm[hidden] { display: none; }
.yc-confirm-card { width: 100%; max-width: 360px; background: var(--yc-bg); border: 1px solid var(--yc-bd); border-radius: 20px; padding: 22px 20px 16px; box-shadow: 0 24px 60px rgba(0,0,0,.5); animation: ycup .28s var(--yc-spring); }
.yc-confirm-msg { margin: 0 0 18px; font-size: 15px; line-height: 1.5; color: var(--yc-txt); text-align: center; }
.yc-confirm-actions { display: flex; gap: 10px; }
.yc-confirm-actions button { flex: 1; border: none; cursor: pointer; font-weight: 800; font-size: 14px; padding: 12px; border-radius: 999px; }
.yc-confirm-no { background: var(--yc-s1); color: var(--yc-dim); }
.yc-confirm-yes { background: var(--yc-acc); color: #fff; }

/* =============================================================================
   ВИДЕОРЕДАКТОР (после записи) — формат / фильтры / текст / музыка
============================================================================= */
.yc-ve { position: absolute; inset: 0; z-index: 10; background: #0a0908; display: flex; flex-direction: column; animation: ycfade .2s var(--yf-ease, ease); }
.yc-ve[hidden] { display: none; }
.yc-ve-top { display: flex; align-items: center; gap: 10px; padding: 14px; }
.yc-ve-top > button { width: 40px; height: 40px; flex: none; border-radius: 50%; border: none; cursor: pointer; background: var(--yc-s1); color: var(--yc-txt); display: grid; place-items: center; }
.yc-ve-top > button svg { width: 20px; height: 20px; }
.yc-ve-done { width: auto !important; padding: 0 18px; border-radius: 999px !important; background: linear-gradient(135deg, var(--yc-acc), var(--yc-acc2)) !important; color: #fff !important; font-weight: 800; font-size: 14px; }
.yc-ve-fmt { flex: 1; display: flex; justify-content: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.yc-ve-fmt::-webkit-scrollbar { display: none; }
.yc-ve-fmt-b { flex: none; border: 1px solid var(--yc-bd2); background: transparent; color: var(--yc-dim); font-weight: 700; font-size: 12px; padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: .2s; }
.yc-ve-fmt-b.on { background: var(--yc-acc); color: #fff; border-color: transparent; }

.yc-ve-stagewrap { flex: 1; min-height: 0; display: flex; }
.yc-ve-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 6px 14px; container-type: size; }
.yc-ve-frame { position: relative; background: #000; overflow: hidden; container-type: size; aspect-ratio: 9 / 16; width: min(100cqw, 56.25cqh); border-radius: 14px; }
.yc-ve-stage[data-fmt="circle"] .yc-ve-frame { aspect-ratio: 1 / 1; width: min(100cqw, 100cqh); border-radius: 50%; }
.yc-ve-stage[data-fmt="frame"]  .yc-ve-frame { aspect-ratio: 4 / 5; width: min(100cqw, 80cqh); border-radius: 20px; }
.yc-ve-stage[data-fmt="169"]    .yc-ve-frame { aspect-ratio: 16 / 9; width: min(100cqw, 177.78cqh); border-radius: 14px; }
.yc-ve-video { position: absolute; top: 0; left: 0; right: auto; bottom: auto; width: 100%; height: 100%; object-fit: cover; background: #000; will-change: transform; }
.yc-ve-frame { touch-action: none; }
.yc-ve-texts { position: absolute; inset: 0; pointer-events: none; }
.yc-ve-text { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; font-weight: 800; line-height: 1.12; text-align: center; cursor: grab; touch-action: none; max-width: 88%; white-space: pre-wrap; text-shadow: 0 1px 8px rgba(0,0,0,.45); user-select: none; }
.yc-ve-text:active { cursor: grabbing; }
.yc-ve-text-x { position: absolute; top: -12px; right: -12px; width: 22px; height: 22px; border-radius: 50%; border: none; background: rgba(0,0,0,.62); color: #fff; display: grid; place-items: center; cursor: pointer; }
.yc-ve-text-x svg { width: 12px; height: 12px; }

.yc-ve-music { display: flex; align-items: center; gap: 8px; margin: 4px 14px; padding: 8px 10px; background: var(--yc-s1); border: 1px solid var(--yc-bd); border-radius: 12px; font-size: 13px; }
.yc-ve-music[hidden] { display: none; }
.yc-ve-mus-ic { display: grid; place-items: center; color: var(--yc-acc); flex: none; }
.yc-ve-mus-ic svg { width: 16px; height: 16px; }
.yc-ve-music b { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42%; }
.yc-ve-mus-ar { color: var(--yc-dim); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yc-ve-mus-x { width: 28px; height: 28px; flex: none; border-radius: 50%; border: none; background: transparent; color: var(--yc-dim); cursor: pointer; display: grid; place-items: center; }
.yc-ve-mus-x svg { width: 14px; height: 14px; }

.yc-ve-filters { display: flex; gap: 8px; overflow-x: auto; padding: 8px 14px; scrollbar-width: none; }
.yc-ve-filters::-webkit-scrollbar { display: none; }
.yc-ve-filter { flex: none; display: flex; flex-direction: column; align-items: center; gap: 5px; border: none; background: transparent; color: var(--yc-dim); font-size: 11px; font-weight: 700; cursor: pointer; }
.yc-ve-filter span { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, #d97757, #6b48ff 55%, #10b981); box-shadow: inset 0 0 0 2px transparent; }
.yc-ve-filter.on { color: var(--yc-acc); }
.yc-ve-filter.on span { box-shadow: inset 0 0 0 2px var(--yc-acc), 0 0 0 2px var(--yc-acc); }

.yc-ve-tools { display: flex; justify-content: center; gap: 10px; padding: 6px 14px calc(14px + env(safe-area-inset-bottom,0)); }
.yc-ve-tools button { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: 13px; border: none; cursor: pointer; background: var(--yc-s1); color: var(--yc-txt); font-weight: 700; font-size: 13px; transition: .2s; }
.yc-ve-tools button:hover { background: var(--yc-s2); color: var(--yc-acc); }
.yc-ve-tools button span { display: grid; place-items: center; font-size: 15px; }
.yc-ve-tools button span svg { width: 19px; height: 19px; display: block; }

.yc-ve-textedit { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: rgba(10,9,8,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 24px; }
.yc-ve-textedit[hidden] { display: none; }
.yc-ve-ta { width: 100%; max-width: 460px; background: transparent; border: none; outline: none; color: #fff; font-size: 26px; font-weight: 800; text-align: center; resize: none; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.yc-ve-colors { display: flex; gap: 10px; }
.yc-ve-color { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: .15s var(--yc-spring); }
.yc-ve-color.on { border-color: #fff; transform: scale(1.15); }
.yc-ve-textedit-actions { display: flex; gap: 10px; }
.yc-ve-textedit-actions button { border: none; cursor: pointer; font-weight: 800; font-size: 14px; padding: 11px 22px; border-radius: 999px; }
.yc-ve-text-cancel { background: var(--yc-s1); color: var(--yc-dim); }
.yc-ve-text-add { background: var(--yc-acc); color: #fff; }

.yc-ve-progress { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(10,9,8,.82); color: #fff; font-weight: 700; font-size: 14px; }
.yc-ve-progress[hidden] { display: none; }

/* ---- v4: слой эффектов, эмодзи-стикеры, микшер, эффекты-строка, стикеры ---- */
.yc-ve-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.yc-ve-texts { z-index: 2; }
.yc-ve-text.emoji { text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.yc-ve-text.emoji span { filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }

/* эффекты-строка (вместо фильтров) */
.yc-ve-fx-strip { display: flex; gap: 8px; overflow-x: auto; padding: 8px 14px; scrollbar-width: none; }
.yc-ve-fx-strip::-webkit-scrollbar { display: none; }
.yc-ve-fxb { flex: none; display: flex; flex-direction: column; align-items: center; gap: 5px; border: none; background: transparent; color: var(--yc-dim); font-size: 11px; font-weight: 700; cursor: pointer; }
.yc-ve-fxb span { width: 46px; height: 46px; border-radius: 13px; box-shadow: inset 0 0 0 2px transparent; overflow: hidden; }
.yc-ve-fxb.on { color: var(--yc-acc); }
.yc-ve-fxb.on span { box-shadow: inset 0 0 0 2px var(--yc-acc), 0 0 0 2px var(--yc-acc); }
.fx-none    { background: var(--yc-s2); position: relative; }
.fx-none::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 46%, var(--yc-dim) 46%, var(--yc-dim) 54%, transparent 54%); opacity: .5; }
.fx-hearts  { background: radial-gradient(circle at 32% 38%, #e88a68 0 22%, transparent 24%), radial-gradient(circle at 66% 62%, #d97757 0 18%, transparent 20%), #201d18; }
.fx-confetti{ background: conic-gradient(from 0deg, #d97757, #f59e0b, #6b48ff, #e88a68, #d97757); }
.fx-sparkle { background: radial-gradient(circle at 50% 45%, #fff 0 8%, #f59e0b 12% 22%, transparent 30%), #201d18; }
.fx-bokeh   { background: radial-gradient(circle at 30% 40%, rgba(217,119,87,.9) 0 20%, transparent 26%), radial-gradient(circle at 68% 66%, rgba(107,72,255,.7) 0 16%, transparent 24%), #17130f; }
.fx-embers  { background: linear-gradient(0deg, #d97757, #f59e0b 60%, #ffcf9e); }

/* музыка + микшер громкости */
.yc-ve-music { flex-direction: column; align-items: stretch; gap: 8px; }
.yc-ve-mus-top { display: flex; align-items: center; gap: 8px; }
.yc-ve-mus-top b { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42%; }
.yc-ve-mix { display: flex; gap: 16px; }
.yc-ve-mix label { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: var(--yc-dim); }
.yc-ve-mix input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 99px; background: var(--yc-s2); outline: none; }
.yc-ve-mix input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--yc-acc); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.yc-ve-mix input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: none; border-radius: 50%; background: var(--yc-acc); cursor: pointer; }

/* стикеры (эмодзи) */
.yc-ve-stickers { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: center; background: rgba(10,9,8,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.yc-ve-stickers[hidden] { display: none; }
.yc-ve-stickers-grid { width: 100%; max-width: 460px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 20px 16px calc(24px + env(safe-area-inset-bottom,0)); background: var(--yc-bg); border-radius: 22px 22px 0 0; }
.yc-ve-stickers-grid button { border: none; background: var(--yc-s1); border-radius: 14px; aspect-ratio: 1; font-size: 26px; cursor: pointer; transition: .15s var(--yc-spring); }
.yc-ve-stickers-grid button:hover { background: var(--yc-s2); transform: scale(1.08); }

/* ---- v5: скраббер трека + стек ползунков на телефоне + подсказка «изменить» ---- */
.yc-ve-seek { display: flex; align-items: center; gap: 10px; }
.yc-ve-seek-lbl { font-size: 11px; font-weight: 700; color: var(--yc-dim); flex: none; }
.yc-ve-track-start { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 99px; background: var(--yc-s2); outline: none; }
.yc-ve-track-start::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--yc-acc); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.yc-ve-track-start::-moz-range-thumb { width: 16px; height: 16px; border: none; border-radius: 50%; background: var(--yc-acc); cursor: pointer; }
@media (max-width: 640px) { .yc-ve-mix { flex-direction: column; gap: 10px; } .yc-ve-mix label { width: 100%; } }

/* ---- v6: только добавление видеофайла (прямая запись убрана) ---- */
.yc-vzone { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 30px; text-align: center; }
.yc-root.yc-has-video .yc-vzone { display: none; }
.yc-vpick { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; background: var(--yc-s1); border: 2px dashed var(--yc-bd2); border-radius: 24px; color: var(--yc-txt); font-weight: 800; font-size: 16px; padding: 34px 44px; cursor: pointer; transition: .2s; }
.yc-vpick:hover { background: var(--yc-s2); border-color: var(--yc-acc); color: var(--yc-acc); }
.yc-vpick svg { width: 40px; height: 40px; }
.yc-vzone-hint { max-width: 300px; font-size: 13px; color: var(--yc-dim); line-height: 1.5; margin: 0; }
.yc-vready { flex: 1; min-height: 0; display: none; flex-direction: column; }
.yc-root.yc-has-video .yc-vready { display: flex; }
.yc-vreplace { align-self: center; margin: 12px 0 calc(16px + env(safe-area-inset-bottom,0)); border: none; background: var(--yc-s1); color: var(--yc-dim); font-weight: 700; font-size: 14px; padding: 11px 22px; border-radius: 999px; cursor: pointer; transition: .2s; }
.yc-vreplace:hover { background: var(--yc-s2); color: var(--yc-txt); }

/* =============================================================================
   ТЕКСТ-ПОСТ БЕЗ МЕДИА — МИНИМАЛ 2026 «газетный разворот»
   Без коробки/градиента/зерна. Только крупная редакторская типографика Fraunces,
   буквица акцентом, воздух и тонкая подпись-марка. Скриншотится «дорого».
   Шрифт Fraunces грузится через @import в самом верху этого файла (страницы
   трогать не нужно). Фолбэк — Playfair/Georgia, если сеть недоступна.
============================================================================= */
.yf-textpost { margin: 6px 0 4px; }

.yf-tp-min { padding: 6px 2px 2px; position: relative; }
.yf-tp-text {
  font-family: 'Fraunces', var(--yf-font-editorial), Georgia, serif;
  font-optical-sizing: auto; font-weight: 500;
  font-size: clamp(21px, 5.6vw, 28px); line-height: 1.4; letter-spacing: -.003em;
  color: var(--yf-text); white-space: pre-wrap; word-wrap: break-word;
}
.yf-tp-text .brush-stroke, .yf-tp-text u { font-weight: 600; }
/* Буквица — только когда текста достаточно (класс добавляет движок) */
.yf-tp-text.has-cap::first-letter {
  font-family: 'Fraunces', var(--yf-font-editorial), Georgia, serif;
  font-weight: 600; font-size: 3.2em; float: left; line-height: .78;
  margin: 9px 12px 0 0; color: var(--yf-accent);
}
/* Тонкая подпись-марка (не «коробка», просто атрибуция для скриншота) */
.yf-tp-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--yf-border);
}
.yf-tp-author {
  font-family: var(--yf-font-ui); font-weight: 800; font-size: 12.5px; letter-spacing: -.01em;
  color: var(--yf-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.yf-tp-logo {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--yf-font-display); font-weight: 700; font-size: 11px; letter-spacing: .1em;
  color: var(--yf-accent);
}
.yf-tp-logo::before {
  content: ""; width: 15px; height: 15px; border-radius: 5px; flex: none;
  background: linear-gradient(135deg, var(--yf-accent), var(--yf-accent-hi));
  box-shadow: 0 4px 10px -3px var(--yf-accent);
}

/* =============================================================================
   РЕАКЦИИ — усиление читаемости мультивыбора (несколько «моих» разом)
============================================================================= */
.yf-rx.on { box-shadow: inset 0 0 0 1px var(--yf-accent-line); }
.yf-rx.on .emo { transform: scale(1.04); }

/* =============================================================================
   COIN-СТИКЕРЫ В ПАНЕЛИ КОММЕНТАРИЕВ (наша коллекция, не старый рюкзак)
============================================================================= */
.brc-sp-item.coin-sp-item {
  position: relative; background: var(--yf-surface); border: 1px solid var(--yf-border);
  border-bottom: 3px solid var(--pc, var(--yf-border-strong)); border-radius: 14px;
  transition: transform .18s var(--yf-spring), border-color .2s;
}
.brc-sp-item.coin-sp-item:hover { transform: translateY(-3px); border-color: var(--yf-border-strong); }
.brc-sp-item.coin-sp-item img { width: 82%; height: 82%; }
.coin-sp-count {
  position: absolute; top: 5px; right: 5px; background: var(--yf-text); color: var(--yf-bg-deep);
  font-size: 9px; font-weight: 900; min-width: 18px; height: 16px; padding: 0 5px; border-radius: 100px;
  display: flex; align-items: center; justify-content: center;
}
