/* =====================================================================
   LikedWin — Kwai sahnesi (lws--kwai, kw-*)
   Kabuk: organik-hit ohs-* + sahne-motor lws-* (önce yüklenir). Burada
   yalnız Kwai'ye özel görünümler: profil, dikey video + yorum paneli,
   izleme sayacı, video verileri. Kwai arayüzü koyu zemin + turuncu
   (platformun kendi görünümü, temadan bağımsız). Gradyan YOK.
   ===================================================================== */

.lws--kwai {
    --lws-brand: #ff6b00;
    --lws-brand-ink: #fff;
    --lws-brand-soft: rgba(255, 107, 0, .14);
    --kw-or: #ff6b00;
    --kw-or-2: #ff8a3d;
    --kw-like: #ff4d2d;
    --kw-bg: #0d0d0f;
    --kw-panel: #17171a;
    --kw-line: #2a2a30;
    --kw-text: #ececf1;
    --kw-muted: #9a9aa6;
}
.lws--kwai .ohs-chart__col.is-up i { background: var(--kw-or); }

/* ---------- Ortak çerçeve ---------- */
.kw-v { display: flex; flex-direction: column; gap: 12px; }
.kw-v .ohs-search__top { justify-content: space-between; }
.kw-app {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    border-radius: 14px;
    background: var(--kw-bg);
    color: var(--kw-text);
    overflow: hidden;
}
.kw-fbtn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    flex: 0 0 auto;
    height: 30px;
    padding: 0 14px;
    border-radius: 6px;
    background: var(--kw-or);
    color: #fff;
    font-size: 12.5px; font-weight: 700;
    white-space: nowrap;
    transition: background var(--ease), color var(--ease), transform .15s ease;
}
.kw-fbtn i { font-size: 11px; }
.kw-fbtn.is-press { transform: scale(.94); }
.kw-fbtn.is-on { background: #2a2a30; color: var(--kw-text); }
.kw-fbtn.is-on i::before { content: "\f00c"; }
.kw-pf__ava {
    display: grid; place-items: center;
    flex: 0 0 auto;
    width: 72px; height: 72px;
    border-radius: 50%;
    border: 3px solid var(--kw-or);
    background: #2b1a0f;
    color: var(--kw-or-2);
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 22px; font-weight: 800;
}
.kw-pf__ava--s { width: 36px; height: 36px; border-width: 2px; font-size: 12.5px; }

/* ---------- Profil (takip) ---------- */
.kw-pf { display: flex; flex-direction: column; }
.kw-pf__head { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 18px 12px; }
.kw-pf__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kw-pf__id b { font-size: 17px; font-weight: 800; color: #fff; white-space: nowrap; }
.kw-pf__id small { font-size: 12px; color: var(--kw-muted); white-space: nowrap; }
.kw-pf__stats { display: flex; gap: 20px; margin-left: auto; }
.kw-pf__stats > span { display: flex; flex-direction: column; align-items: center; }
.kw-pf__stats b { font-size: 16px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.kw-pf__stats small { font-size: 11.5px; color: var(--kw-muted); }
.kw-fbtn--lg { height: 38px; padding: 0 22px; font-size: 13.5px; }
.kw-plus { right: 54px; top: 4px; color: var(--kw-or-2); }
.kw-pf__bio { margin: 0; padding: 0 18px 12px; font-size: 12.5px; color: var(--kw-text); }
.kw-pf__tabs { display: flex; gap: 24px; padding: 0 18px; border-bottom: 1px solid var(--kw-line); font-size: 12.5px; font-weight: 600; color: var(--kw-muted); }
.kw-pf__tabs span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0 9px; }
.kw-pf__tabs .is-on { color: #fff; box-shadow: inset 0 -2px 0 var(--kw-or); }
.kw-pf__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; flex: 1 1 auto; min-height: 0; padding: 12px 18px 16px; }
.kw-th { position: relative; display: grid; place-items: center; min-height: 0; border-radius: 8px; color: rgba(255, 255, 255, .5); font-size: 26px; overflow: hidden; }
.kw-th > i { font-size: 30px; color: rgba(255, 255, 255, .62); }
.kw-th b { position: absolute; left: 8px; top: 8px; right: 8px; font-size: 11.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kw-th em { position: absolute; left: 7px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; }
.kw-th em i { font-size: 8px; }

/* ---------- Dikey video + yan panel ---------- */
.kw-play { display: grid; grid-template-columns: 228px minmax(0, 1fr); }
.kw-clip { position: relative; min-height: 0; overflow: hidden; background: #33200f; }
.kw-scene { position: absolute; left: 0; right: 0; top: 0; bottom: 70px; display: block; }
.kw-scene__plate {
    position: absolute; left: 50%; top: 50%;
    display: grid; place-items: center;
    width: 118px; height: 118px;
    margin: -59px 0 0 -59px;
    border-radius: 50%;
    background: #efe2c9;
    box-shadow: 0 0 0 9px #57381f;
    color: #f2a007;
    font-size: 46px;
}
.kw-scene > i { position: absolute; font-size: 28px; }
.kw-scene__a { left: 12%; bottom: 10%; color: #d9a066; transform: rotate(-14deg); }
.kw-scene__b { left: 52%; bottom: 4%; color: #e5482f; transform: rotate(18deg); }
.kw-scene__c { left: 56%; top: 15%; color: #c8d3dc; }
.kw-scene__tag {
    position: absolute; left: 12px; top: 46px;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--kw-or);
    color: #fff;
    font-size: 12px; font-weight: 800; letter-spacing: .04em;
    transform: rotate(-4deg);
}
.kw-logo {
    position: absolute; left: 10px; top: 10px; z-index: 1;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 9px;
    border-radius: 8px;
    background: var(--kw-or);
    color: #fff;
    font-size: 12px; font-weight: 800;
}
.kw-vc {
    position: absolute; right: 10px; top: 10px; z-index: 1;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 11.5px; font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.kw-vc i { font-size: 8px; }
.kw-rail { position: absolute; right: 8px; bottom: 84px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.kw-rail__ava {
    position: relative;
    display: grid; place-items: center;
    width: 38px; height: 38px;
    margin-bottom: 4px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #2b1a0f;
    color: var(--kw-or-2);
    font-size: 12px; font-weight: 800;
}
.kw-rail__ava i {
    position: absolute; left: 50%; bottom: -8px;
    display: grid; place-items: center;
    width: 16px; height: 16px;
    margin-left: -8px;
    border-radius: 50%;
    background: var(--kw-or);
    color: #fff;
    font-size: 8px;
}
.kw-rail__btn { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff; }
.kw-rail__btn i { font-size: 24px; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); transition: color var(--ease); }
.kw-rail__btn b { font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.kw-rail__btn.is-on i { color: var(--kw-like); animation: lws-pop .45s cubic-bezier(.2, .9, .3, 1.4); }
.kw-rail__wa i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #25d366; font-size: 19px; text-shadow: none; }
.kw-meta {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
    display: flex; flex-direction: column; gap: 3px;
    padding: 10px 12px 13px;
    background: rgba(0, 0, 0, .42);
}
.kw-meta b { font-size: 13px; color: #fff; }
.kw-meta small { font-size: 11.5px; color: #e9e9ee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kw-meta em, .kw-side__cap em { font-style: normal; color: #ffb27a; }
.kw-meta__music i { font-size: 10px; }
.kw-prog { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: rgba(255, 255, 255, .22); }
.kw-prog i { display: block; height: 100%; background: var(--kw-or); transform: scaleX(.38); transform-origin: left center; }
.kw-pause {
    position: absolute; left: 50%; top: 42%; z-index: 2;
    display: grid; place-items: center;
    width: 62px; height: 62px;
    margin: -31px 0 0 -31px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 22px;
    transition: opacity .3s ease, transform .3s ease;
}
.kw-pause i { margin-left: 4px; }
.kw-pause.is-off { opacity: 0; transform: scale(.7); }
.kw-burst { position: absolute; left: 50%; top: 40%; z-index: 3; margin: -46px 0 0 -46px; width: 92px; height: 92px; display: grid; place-items: center; font-size: 84px; color: var(--kw-like); opacity: 0; pointer-events: none; }
.kw-burst.is-on { animation: kw-burst .8s ease-out; }
@keyframes kw-burst { 0% { opacity: 0; transform: scale(.4) rotate(-12deg); } 30% { opacity: .95; transform: scale(1.1) rotate(-6deg); } 100% { opacity: 0; transform: scale(1.3) rotate(0); } }

.kw-side { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-left: 1px solid var(--kw-line); background: var(--kw-panel); }
.kw-side__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--kw-line); }
.kw-side__who { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }
.kw-side__who b { font-size: 14px; color: #fff; }
.kw-side__who small { font-size: 11.5px; color: var(--kw-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kw-side__cap { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--kw-line); font-size: 12.5px; line-height: 1.45; color: var(--kw-text); }
.kw-cmts { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.kw-cmts__h { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 8px; font-size: 12.5px; }
.kw-cmts__h b { color: #fff; font-weight: 700; }
.kw-cmts__h > span { font-size: 11.5px; color: var(--kw-muted); }
.kw-cmts__list { display: flex; flex-direction: column; gap: 11px; flex: 1 1 auto; min-height: 0; margin: 0; padding: 2px 14px 4px; list-style: none; overflow: hidden; }
.kw-c { display: flex; align-items: flex-start; gap: 9px; flex: 0 0 auto; }
.kw-c.is-new, .kw-r.is-new { animation: kw-in .4s ease; }
@keyframes kw-in { from { opacity: 0; transform: translateY(-6px); } }
.kw-c__ava { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; color: #fff; font-size: 10.5px; font-weight: 700; }
.kw-c__ava svg, .kw-c__ava img, .kw-r__ava svg, .kw-r__ava img, .kw-compose__ava svg, .kw-compose__ava img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kw-c__body { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.kw-c__top { display: flex; align-items: center; gap: 6px; }
.kw-c__top b { font-size: 12px; font-weight: 700; color: #cfcfd8; }
.kw-c__top small { font-size: 10.5px; color: var(--kw-muted); }
.kw-c__tag { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 2px 7px; border-radius: 5px; background: rgba(255, 107, 0, .16); color: var(--kw-or-2); font-style: normal; font-size: 10px; font-weight: 700; white-space: nowrap; }
.kw-c__txt { font-size: 12.5px; line-height: 1.35; color: #f2f2f5; }
.kw-c__acts { display: flex; align-items: center; gap: 14px; margin-top: 1px; font-size: 11px; font-weight: 600; color: var(--kw-muted); }
.kw-c__acts i { font-size: 10.5px; }
.kw-c__rb { transition: color var(--ease); }
.kw-c__rb.is-press { color: var(--kw-or-2); }
.kw-c__more { color: var(--kw-or-2); font-variant-numeric: tabular-nums; }
.kw-c.is-target { padding: 9px 10px; border: 1px solid rgba(255, 107, 0, .5); border-radius: 10px; background: rgba(255, 107, 0, .06); }
.kw-c__replies { display: flex; flex-direction: column; gap: 7px; margin: 7px 0 0; padding: 0 0 0 2px; list-style: none; }
.kw-c__replies:empty { display: none; }
.kw-r { display: flex; align-items: flex-start; gap: 7px; }
.kw-r__ava { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; overflow: hidden; }
.kw-r__txt { font-size: 12px; line-height: 1.35; color: #e8e8ee; }
.kw-r__txt b { color: #cfcfd8; font-weight: 700; }

.kw-compose {
    display: flex; align-items: center; gap: 9px;
    flex: 0 0 auto;
    margin: 6px 12px 12px;
    padding: 6px 6px 6px 8px;
    border: 1px solid var(--kw-line);
    border-radius: 10px;
    background: #0f0f12;
    transition: border-color var(--ease);
}
.kw-compose.is-focus { border-color: var(--kw-or); }
.kw-compose__ava { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; }
.kw-compose__in { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; height: 22px; font-size: 12.5px; color: #fff; white-space: nowrap; overflow: hidden; }
.kw-compose__ph { color: var(--kw-muted); }
.kw-compose.is-typed .kw-compose__ph { display: none; }
.kw-compose__to { display: none; margin-right: 5px; font-style: normal; font-weight: 700; color: var(--kw-or-2); }
.kw-compose.is-to .kw-compose__to { display: inline; }
.kw-compose .ohs-caret { background: var(--kw-or); }
.kw-compose.is-focus .ohs-caret { display: inline-block; }
.kw-compose__send { flex: 0 0 auto; padding: 6px 12px; border-radius: 7px; background: #2a2a30; color: var(--kw-muted); font-size: 12px; font-weight: 700; transition: background var(--ease), color var(--ease), transform .15s ease; }
.kw-compose__send.is-ready { background: var(--kw-or); color: #fff; }
.kw-compose__send.is-press { transform: scale(.92); }

/* İzleme sayacı (HUD): süre çubuğu + kanıt anları */
.kw-hud { right: 40px; bottom: 36px; width: 290px; }
.kw-hud__bar { display: block; height: 5px; margin-top: 10px; border-radius: 3px; background: var(--line); overflow: hidden; }
.kw-hud__bar i { display: block; height: 100%; background: var(--kw-or); transform: scaleX(1); transform-origin: left center; }
.kw-hud__marks { display: flex; justify-content: space-between; gap: 6px; margin-top: 8px; }
.kw-hud__marks span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; background: var(--ok-bg); color: var(--ok-fg); font-size: 10.5px; font-weight: 700; transition: background var(--ease), color var(--ease); }
.kw-hud__marks span.is-off { background: var(--surface-2); color: var(--muted-2); }
.kw-hud__marks span.is-snap { animation: lws-pop .45s cubic-bezier(.2, .9, .3, 1.4); }

/* Sipariş formu: hizmetten gelen sabit seçenekler */
.kw-optrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.kw-opt {
    display: inline-flex; align-items: center; gap: 7px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--surface);
    font-size: 13px; font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}
.kw-opt.is-sel { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft-2); }
.kw-opt.is-dim { opacity: .5; }
.kw-opt__note { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }

/* ---------- Son: üretici verileri ---------- */
.kw-dash__body { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; flex: 1 1 auto; min-height: 0; }
.kw-dash__main { display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; }
.kw-mini { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; border-radius: 12px; background: #33200f; overflow: hidden; }
.kw-scene--mini { bottom: 56px; }
.kw-scene--mini .kw-scene__plate { width: 66px; height: 66px; margin: -33px 0 0 -33px; box-shadow: 0 0 0 6px #57381f; font-size: 26px; }
.kw-scene--mini > i { font-size: 18px; }
.kw-scene--mini .kw-scene__tag { top: 36px; left: 8px; font-size: 10px; }
.kw-mini__vc { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 6px; background: var(--kw-or); color: #fff; font-size: 11px; font-weight: 800; }
.kw-mini__vc i { font-size: 8px; }
.kw-mini__cap { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 8px 10px 10px; background: rgba(0, 0, 0, .5); }
.kw-mini__cap b { font-size: 11.5px; line-height: 1.3; color: #fff; }
.kw-mini__cap small { font-size: 10.5px; color: #e4e4ea; }
.kw-mini__cap small i { font-size: 9px; color: var(--kw-or-2); }
.kw-mini--pf { align-items: center; justify-content: center; gap: 4px; padding: 14px 10px; background: var(--kw-bg); color: var(--kw-text); text-align: center; }
.kw-mini--pf > b { margin-top: 6px; font-size: 13.5px; color: #fff; }
.kw-mini--pf > small { font-size: 11px; color: var(--kw-muted); }
.kw-mini__n { display: flex; flex-direction: column; margin: 8px 0 10px; }
.kw-mini__n b { font-size: 20px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.kw-mini__n small { font-size: 11px; color: var(--kw-muted); }
.kw-thread { flex: 1 1 auto; min-height: 0; padding: 12px 0; border-radius: 12px; background: var(--kw-panel); overflow: hidden; transition: opacity .4s ease, transform .5s cubic-bezier(.2, .9, .3, 1.1); }
.kw-thread:not(.is-on) { opacity: 0; transform: translateY(8px); }
.kw-thread .kw-cmts__list { padding: 0 12px; }

@media (max-width: 620px) {
    /* Profil */
    .kw-pf__head { flex-wrap: wrap; gap: 10px 12px; padding: 14px 14px 10px; }
    .kw-pf__ava { width: 54px; height: 54px; font-size: 17px; }
    .kw-pf__id b { font-size: 15px; }
    .kw-pf__id small { font-size: 11px; }
    .kw-pf__stats { order: 3; width: 100%; margin: 0; justify-content: space-around; }
    .kw-fbtn--lg { order: 4; width: 100%; height: 36px; }
    .kw-plus { right: 24px; top: 4px; }
    .kw-pf__bio { display: none; }
    .kw-pf__tabs { padding: 0 14px; }
    .kw-pf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 10px 14px 14px; }
    .kw-th:nth-child(n+4) { display: none; }

    /* Video: yan panel gizli; yorum senaryolarında alttan açılan sayfa */
    .kw-play { grid-template-columns: minmax(0, 1fr); }
    .kw-side { display: none; }
    .kw-play.has-sheet .kw-side { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; height: 68%; border-left: 0; border-radius: 14px 14px 0 0; }
    .kw-play.has-sheet .kw-side__head, .kw-play.has-sheet .kw-side__cap { display: none; }
    .kw-play.has-sheet .kw-rail, .kw-play.has-sheet .kw-meta, .kw-play.has-sheet .kw-scene__tag { display: none; }
    .kw-play.has-sheet .kw-scene { bottom: 68%; }
    .kw-play.has-sheet .kw-scene__plate { width: 60px; height: 60px; margin: -30px 0 0 -30px; box-shadow: 0 0 0 5px #57381f; font-size: 24px; }
    .kw-play.has-sheet .kw-scene > i { font-size: 18px; }
    .kw-play.has-sheet .kw-scene__a { bottom: 12%; }
    .kw-play.has-sheet .kw-scene__b { bottom: 6%; }
    .kw-cmts__list { gap: 9px; padding: 0 12px 2px; }
    .kw-c.is-target { padding: 7px 8px; }
    .kw-c__tag { padding: 2px 5px; }
    .kw-compose { margin: 6px 10px 10px; }
    .kw-hud { left: 12px; right: 12px; bottom: 26px; width: auto; }

    /* Son */
    .kw-dash__body { grid-template-columns: minmax(0, 1fr); }
    .kw-mini { display: none; }
}
