/* „ქართული YouTube" — მთავარი გვერდის ბლოკი (templates/_yt_promo.html). ⚠️ room-entry.css ამის მერე იტვირთება → .wt-*-ის
   გადაფარვას „.yp " წინსართი სჭირდება. ჩარჩო, სათაური, ღილაკები, ნათება და მაკეტი
   room-entry.css-ის .wt-*-იდანაა (იგივე იერი); აქ მხოლოდ YouTube-ის ნაწილები. */
a.wt__btn { text-decoration: none; }
a.wt__btn:hover { color: #fff; }

/* ავატარი: სურათი ან (ვერ ჩაიტვირთა) არხის პირველი ასო მწვანე წრეზე */
.yp-ava { position: relative; display: grid; place-items: center; flex: none; overflow: hidden; border-radius: 50%;
  background: linear-gradient(135deg, #12a58f, #0a4d44); color: #fff; font-weight: 700; line-height: 1; }
.yp-ava::before { content: attr(data-i); }
.yp-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ღილაკების ქვეშ: 6 დიდი არხი + „და კიდევ N არხი" */
.yp-stack { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; color: #aab2be; font-size: 13px;
  line-height: 1.45; text-decoration: none; max-width: 520px; }
.yp-stack:hover { color: #fff; }
.yp-stack__avas { display: flex; flex: none; padding-left: 10px; }
.yp-stack__avas .yp-ava { width: 38px; height: 38px; margin-left: -10px; border: 2px solid #12161b; font-size: 14px; }
.yp-stack__txt b { display: block; color: #5fe0cb; font-weight: 700; font-size: 14px; }
.yp-stack__txt small { display: block; font-size: 12px; color: #8c93a0; }

/* ფონი: ავატარების კედელი */
.yp__wall { position: absolute; width: 120px; height: 120px; font-size: 40px; }
.yp__wall:nth-child(1)  { left: 6%;  top: 2%; }
.yp__wall:nth-child(2)  { left: 30%; top: 10%; }
.yp__wall:nth-child(3)  { left: 54%; top: 0; }
.yp__wall:nth-child(4)  { left: 78%; top: 8%; }
.yp__wall:nth-child(5)  { left: 16%; top: 38%; }
.yp__wall:nth-child(6)  { left: 42%; top: 42%; }
.yp__wall:nth-child(7)  { left: 66%; top: 36%; }
.yp__wall:nth-child(8)  { left: 90%; top: 44%; }
.yp__wall:nth-child(9)  { left: 4%;  top: 72%; }
.yp__wall:nth-child(10) { left: 28%; top: 76%; }
.yp__wall:nth-child(11) { left: 54%; top: 72%; }
.yp__wall:nth-child(12) { left: 78%; top: 78%; }

/* მარჯვნივ: ახალი ვიდეო დიდად */
.yp-pv__screen { color: #fff; text-decoration: none; }
.yp-pv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.yp-pv__play { position: absolute; z-index: 2; left: 50%; top: 46%; width: 74px; height: 52px; margin: -26px 0 0 -37px;
  display: grid; place-items: center; border-radius: 14px; background: rgba(0, 129, 112, .92); color: #fff;
  box-shadow: 0 10px 30px -6px rgba(0, 160, 138, .8); transition: transform .2s, background .2s; }
.yp-pv__screen:hover .yp-pv__play { transform: scale(1.08); background: #00a08a; }
/* არხი + სათაური ზემოთ (როგორც YouTube-ის ჩაშენებულ ფლეერზე), „ახალი ვიდეო" — ქვედა-მარჯვნივ;
   ქვედა-მარცხენა კუთხე „ახლახან დაემატა"-ს სიისთვისაა */
.yp .yp-pv__meta { position: absolute; z-index: 2; left: 16px; right: 16px; top: 14px; display: flex; align-items: center; gap: 11px; }
.yp .yp-pv__new { top: auto; left: auto; right: 14px; bottom: 14px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(0, 0, 0, .72); }
.yp-pv__meta .yp-ava { width: 36px; height: 36px; font-size: 14px; border: 2px solid rgba(255, 255, 255, .85); }
.yp-pv__meta > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.yp-pv__meta b { font-size: 15px; line-height: 1.35; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yp-pv__meta small { font-size: 12px; color: rgba(255, 255, 255, .72); }

/* „ახლახან დაემატა" — ჩატის ფანჯრის ადგილას, ანიმაციის გარეშე */
.yp .yp-pv__list { width: 262px; gap: 4px; left: -48px; bottom: -36px; }
.yp .yp-pv__list p.yp-pv__head { opacity: 1; animation: none; margin: 0 0 2px; padding: 0 4px; font-size: 12px; font-weight: 700;
  color: #5fe0cb; letter-spacing: .04em; }
.yp-pv__item { display: flex; align-items: center; gap: 10px; padding: 5px; border-radius: 9px; color: #d9dee5; text-decoration: none; }
.yp-pv__item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.yp-pv__item img { flex: 0 0 76px; width: 76px; height: 43px; border-radius: 6px; object-fit: cover; background: #2a2f37; }
.yp-pv__item > span { min-width: 0; display: flex; flex-direction: column; }
.yp-pv__item b { font-size: 12.5px; line-height: 1.35; font-weight: 600; margin: 0; color: inherit;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yp-pv__item small { font-size: 11px; color: #8c93a0; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1279px) { .yp .yp-pv__list { left: -8px; width: 236px; } }
@media (max-width: 860px) {
  .yp-stack { margin-top: 22px; justify-content: center; text-align: left; }
  .yp__wall { width: 92px; height: 92px; font-size: 30px; opacity: .35; }
  .yp__wall:nth-child(n+9) { display: none; }
}
@media (max-width: 400px) { .yp-stack__avas .yp-ava { width: 34px; height: 34px; } }
