/* =====================================================================
   LikedWin — Bigo Live sahnesi (lws--bigo-live, bgl-*)
   Kabuk: organik-hit ohs-* + sahne-motor lws-* (önce yüklenir). Burada
   yalnız Bigo Live'a özel görünümler: canlı yayın odası (yayıncı şeridi,
   izleyiciler, sohbet, yükselen kalpler), yayıncı kartı, yayıncı merkezi.
   Bigo arayüzü koyu mor zemin + camgöbeği (platformun kendi görünümü,
   temadan bağımsız). Gradyan YOK. Önek bgl- (site bg-* sınıflarıyla çakışmaz).
   ===================================================================== */

.lws--bigo-live {
    --lws-brand: #19d3da;
    --lws-brand-ink: #062b30;
    --lws-brand-soft: rgba(25, 211, 218, .16);
    --bgl-cy: #19d3da;
    --bgl-cy-dk: #0b98a0;
    --bgl-room: #1b1335;
    --bgl-panel: #120d24;
    --bgl-line: #2a2244;
    --bgl-text: #ede9fb;
    --bgl-muted: #a59cc4;
    --bgl-pink: #f472b6;
}
/* Açık zeminde parlak camgöbeği zayıf kalır: grafik ve kanıt simgeleri koyu ton */
.lws--bigo-live .ohs-chart__col.is-up i { background: var(--bgl-cy-dk); }
.lws--bigo-live .lws-shot__img > i:first-child,
.lws--bigo-live .lws-shots__cap i { color: var(--bgl-cy-dk); }

.bgl-v { display: flex; flex-direction: column; gap: 12px; }
.bgl-v .ohs-search__top { justify-content: space-between; }
.bgl-app {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 232px;
    flex: 1 1 auto;
    min-height: 0;
    border-radius: 14px;
    background: var(--bgl-room);
    color: var(--bgl-text);
    overflow: hidden;
}
.bgl-ava {
    display: grid; place-items: center;
    flex: 0 0 auto;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--bgl-pink);
    color: #fff;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 12px; font-weight: 800;
}
.bgl-ava--lg { width: 64px; height: 64px; font-size: 20px; }
.bgl-lv { display: inline-block; padding: 1px 6px; border-radius: 8px; font-style: normal; font-size: 10px; font-weight: 800; line-height: 1.5; color: #fff; vertical-align: 1px; }
.bgl-lv--c { background: var(--bgl-cy); color: #062b30; }

/* ---------- Oda ---------- */
.bgl-room { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.bgl-stage { position: absolute; inset: 0; }
.bgl-stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: #241a45; }
.bgl-ring { position: absolute; left: 50%; top: 52%; z-index: 1; width: 170px; height: 170px; margin: -85px 0 0 -85px; border: 10px solid #f6e7ff; border-radius: 50%; opacity: .9; }
.bgl-mic { position: absolute; left: 50%; top: 52%; z-index: 1; width: 70px; margin: -34px 0 0 -35px; font-size: 64px; text-align: center; color: #f0e6ff; }
.bgl-gtr { position: absolute; left: 16%; bottom: 18%; z-index: 1; font-size: 54px; color: #ffb86b; transform: rotate(-20deg); }
.bgl-note { position: absolute; z-index: 1; font-size: 18px; }
.bgl-note--a { left: 28%; top: 34%; color: var(--bgl-cy); }
.bgl-note--b { right: 26%; top: 30%; color: var(--bgl-pink); transform: rotate(12deg); }

.bgl-bar { position: absolute; left: 10px; right: 10px; top: 10px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bgl-host { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 3px 4px 3px 3px; border-radius: 22px; background: rgba(0, 0, 0, .42); }
.bgl-host__t { display: flex; flex-direction: column; min-width: 0; }
.bgl-host__t b { font-size: 12.5px; color: #fff; white-space: nowrap; }
.bgl-host__t small { font-size: 10.5px; font-weight: 700; color: #ffd166; white-space: nowrap; }
.bgl-host__t small i { font-size: 9px; }
.bgl-host__f { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--bgl-cy); color: #062b30; font-size: 12px; transition: background var(--ease), color var(--ease); }
.bgl-host__f.is-on { background: rgba(255, 255, 255, .18); color: #fff; }
.bgl-host__f.is-on i::before { content: "\f00c"; }
.bgl-viewers { display: inline-flex; align-items: center; flex: 0 0 auto; }
.bgl-vava { display: grid; place-items: center; width: 26px; height: 26px; margin-left: -6px; border: 2px solid var(--bgl-room); border-radius: 50%; color: #fff; font-size: 9px; font-weight: 700; }
.bgl-vava:first-child { margin-left: 0; }
.bgl-vcount { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding: 4px 9px; border-radius: 12px; background: rgba(0, 0, 0, .42); color: #fff; font-size: 11px; font-weight: 700; }
.bgl-vcount i { font-size: 9px; }
.bgl-x { display: grid; place-items: center; width: 26px; height: 26px; margin-left: 6px; border-radius: 50%; background: rgba(0, 0, 0, .42); color: #fff; font-size: 12px; }
.bgl-chips { position: absolute; left: 10px; top: 56px; z-index: 2; display: flex; gap: 6px; }
.bgl-chips span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 10px; background: rgba(0, 0, 0, .38); color: #fff; font-size: 10.5px; font-weight: 700; }
.bgl-chips span:first-child { color: #ffd166; }
.bgl-chips i { font-size: 9px; }

.bgl-hearts { position: absolute; right: 18px; bottom: 58px; z-index: 2; width: 30px; height: 150px; pointer-events: none; }
.bgl-hearts i { position: absolute; left: 6px; bottom: 0; font-size: 18px; opacity: 0; animation: bgl-rise 3.2s linear infinite; }
.bgl-hearts i:nth-child(1) { color: var(--bgl-pink); }
.bgl-hearts i:nth-child(2) { color: var(--bgl-cy); animation-delay: 1.05s; }
.bgl-hearts i:nth-child(3) { color: #ffd166; animation-delay: 2.1s; }
@keyframes bgl-rise { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 15% { opacity: 1; } 50% { transform: translate(-8px, -70px) scale(1); } 85% { opacity: .8; } 100% { opacity: 0; transform: translate(6px, -140px) scale(1.1); } }

.bgl-bottom { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: flex; align-items: center; gap: 8px; }
.bgl-say { display: flex; align-items: center; flex: 1 1 auto; height: 34px; padding: 0 14px; border-radius: 17px; background: rgba(0, 0, 0, .42); color: #cfc8e8; font-size: 12px; }
.bgl-ic { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, .42); color: #fff; font-size: 14px; }
.bgl-ic--gift { background: var(--bgl-pink); }

/* ---------- Yayıncı kartı ---------- */
.bgl-card {
    position: absolute;
    left: 50%; bottom: 12px;
    z-index: 4;
    display: flex; flex-direction: column; align-items: center; gap: 9px;
    width: 340px;
    padding: 0 16px 14px;
    border-radius: 16px;
    background: #fff;
    color: var(--bgl-room);
    text-align: center;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 18px);
    transition: opacity .25s ease, transform .35s cubic-bezier(.2, .9, .3, 1.15), visibility 0s linear .35s;
}
.bgl-card.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.bgl-card .bgl-ava--lg { margin-top: -30px; border: 3px solid #fff; }
.bgl-card__x { position: absolute; right: 14px; top: 10px; font-size: 13px; color: #a29bbb; }
.bgl-card__id { display: flex; flex-direction: column; gap: 2px; }
.bgl-card__id b { font-size: 15px; font-weight: 800; color: var(--bgl-room); }
.bgl-card__id small { font-size: 11.5px; color: #6b6488; }
.bgl-card__stats { display: flex; justify-content: space-around; width: 100%; padding: 8px 0; border-top: 1px solid #eeebf6; border-bottom: 1px solid #eeebf6; }
.bgl-card__stats span { display: flex; flex-direction: column; }
.bgl-card__stats b { font-size: 15px; font-weight: 800; color: var(--bgl-room); font-variant-numeric: tabular-nums; }
.bgl-card__stats small { font-size: 11px; color: #6b6488; }
.bgl-card__btns { display: flex; gap: 8px; width: 100%; }
.bgl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1 1 auto; height: 36px; padding: 0 14px; border-radius: 18px; background: var(--bgl-cy); color: #062b30; font-size: 13px; font-weight: 800; white-space: nowrap; transition: background var(--ease), color var(--ease), transform .15s ease; }
.bgl-btn i { font-size: 11px; }
.bgl-btn.is-press { transform: scale(.95); }
.bgl-btn.is-on { background: #eeeaf7; color: #5b5378; }
.bgl-btn.is-on i::before { content: "\f00c"; }
.bgl-btn--ghost { flex: 0 0 auto; background: #f1eff8; color: #3b3358; font-weight: 700; }
.bgl-plus { right: 34px; top: 44px; color: var(--bgl-cy-dk); }

/* ---------- Sohbet ---------- */
.bgl-chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-left: 1px solid var(--bgl-line); background: var(--bgl-panel); }
.bgl-chat__h { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; border-bottom: 1px solid var(--bgl-line); }
.bgl-chat__h b { font-size: 12.5px; color: #fff; }
.bgl-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; letter-spacing: .04em; color: #ff4d6d; }
.bgl-live i { font-size: 6px; }
.bgl-chat ul { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; flex: 1 1 auto; min-height: 0; margin: 0; padding: 10px 12px 12px; list-style: none; overflow: hidden; }
.bgl-msg { flex: 0 0 auto; font-size: 11.5px; line-height: 1.45; color: var(--bgl-text); }
.bgl-msg b { font-weight: 700; color: #9fe9ef; }
.bgl-msg--sys { color: var(--bgl-muted); }
.bgl-msg--sys i { font-size: 10px; }
.bgl-msg--fol { padding: 4px 8px; border-radius: 8px; background: rgba(25, 211, 218, .14); color: #8ff0f5; }
.bgl-msg--fol b { color: #fff; }
.bgl-msg--fol i { font-size: 10px; }
.bgl-msg.is-new { animation: bgl-in .35s ease; }
@keyframes bgl-in { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Son: yayıncı merkezi ---------- */
.bgl-dash__body { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; flex: 1 1 auto; min-height: 0; }
.bgl-dash__main { display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; }
.bgl-mini { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 0; padding: 14px 10px; border-radius: 12px; background: var(--bgl-room); color: var(--bgl-text); text-align: center; }
.bgl-mini__ring { position: relative; margin-bottom: 12px; padding: 4px; border: 2px solid var(--bgl-cy); border-radius: 50%; }
.bgl-mini__ring em { position: absolute; left: 50%; bottom: -9px; padding: 1px 7px; border-radius: 6px; background: #ff4d6d; color: #fff; font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .05em; transform: translateX(-50%); }
.bgl-mini > b { font-size: 13.5px; color: #fff; }
.bgl-mini > small { font-size: 10.5px; color: var(--bgl-muted); }
.bgl-mini__n { display: flex; flex-direction: column; margin: 8px 0 6px; }
.bgl-mini__n b { font-size: 20px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.bgl-mini__n small { font-size: 11px; color: var(--bgl-muted); }

@media (max-width: 620px) {
    .bgl-app { grid-template-columns: minmax(0, 1fr); }
    .bgl-vava { display: none; }
    .bgl-ring { top: 40%; width: 124px; height: 124px; margin: -62px 0 0 -62px; border-width: 8px; }
    .bgl-mic { top: 40%; width: 50px; margin: -24px 0 0 -25px; font-size: 46px; }
    .bgl-gtr { left: auto; right: 12%; bottom: auto; top: 30%; font-size: 34px; }
    .bgl-note--b { right: auto; left: 70%; top: 52%; }
    .bgl-hearts { bottom: 54px; height: 120px; }
    /* Sohbet odanın sol altına biner (uygulamadaki gibi) */
    .bgl-chat { position: absolute; left: 0; bottom: 52px; z-index: 2; width: 74%; border-left: 0; background: transparent; }
    .bgl-chat__h { display: none; }
    .bgl-chat ul { height: 112px; padding: 0 10px; gap: 5px; align-items: flex-start; }
    .bgl-msg { padding: 3px 8px; border-radius: 10px; background: rgba(0, 0, 0, .34); }
    .bgl-card { left: 10px; right: 10px; width: auto; transform: translateY(18px); }
    .bgl-card.is-open { transform: none; }
    .bgl-card__btns .bgl-btn--ghost { padding: 0 12px; }
    .bgl-dash__body { grid-template-columns: minmax(0, 1fr); }
    .bgl-mini { display: none; }
}
