/* BlackDiamond - 2026-11-18: Lexiy web design system.
   Light theme by default, dark with [data-theme="dark"]. Purple is the only accent.
   Logical properties (inline-start / inline-end) so Arabic (dir="rtl") works without extra rules. */

:root {
  --bg: #f6f6f9;
  --surface: #ffffff;
  --surface-2: #f2f1f6;
  --surface-3: #e9e7f0;
  --line: #e6e4ee;
  --text: #16131f;
  --text-2: #5b566b;
  --text-3: #8d889c;
  --primary: #7c3aed;
  --primary-2: #9a5cf6;
  --primary-soft: #f1eaff;
  --primary-ink: #ffffff;
  --live: #ef2c55;
  --ok: #15a36b;
  --warn: #e59a0b;
  --danger: #e11d48;
  --shadow-1: 0 1px 2px rgba(22, 19, 31, .05), 0 1px 1px rgba(22, 19, 31, .03);
  --shadow-2: 0 10px 30px rgba(40, 24, 80, .10), 0 2px 6px rgba(40, 24, 80, .05);
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 18px;
  --top-h: 60px;
  --side-w: 248px;
  --chat-w: 352px;
  --font: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Arabic", sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0d0c12;
  --surface: #16151d;
  --surface-2: #1d1c26;
  --surface-3: #272533;
  --line: #2a2836;
  --text: #f1eff7;
  --text-2: #b5b0c6;
  --text-3: #858097;
  --primary: #8b5cf6;
  --primary-2: #a78bfa;
  --primary-soft: #241a3d;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-2: 0 14px 34px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body { margin: 0; font: 14px/1.5 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--primary); color: #fff; }
.lx-hide { display: none !important; }
.lx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------------------------------------------------------------ top bar */
.lx-top { position: fixed; inset-block-start: 0; inset-inline: 0; height: var(--top-h); z-index: 50; display: flex; align-items: center; gap: 14px;
  padding-inline: 14px 18px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px);
  border-block-end: 1px solid var(--line); }
.lx-burger { width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px; display: grid; place-items: center; color: var(--text-2); }
.lx-burger:hover { background: var(--surface-2); color: var(--text); }
.lx-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.2px; flex: none; }
.lx-logo img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; box-shadow: var(--shadow-1); }
.lx-search { flex: 1; max-width: 520px; margin-inline: auto; position: relative; }
.lx-search input { width: 100%; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); padding-inline: 40px 14px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.lx-search input:focus { border-color: var(--primary-2); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
.lx-search svg { position: absolute; inset-inline-start: 13px; inset-block-start: 11px; color: var(--text-3); }
.lx-top-right { display: flex; align-items: center; gap: 8px; flex: none; }
.lx-icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid transparent; background: transparent; display: grid; place-items: center; color: var(--text-2); position: relative; }
.lx-icon-btn:hover { background: var(--surface-2); color: var(--text); }
.lx-coin { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding-inline: 10px 12px; border-radius: 999px; background: var(--surface-2); font-weight: 700; font-size: 13px; }
.lx-coin .lx-coin-add { margin-inline-start: 4px; padding: 3px 9px; border-radius: 999px; background: linear-gradient(90deg, #7C3AED, #A855F7); color: #fff; font-size: 12px; font-weight: 800; } /* BlackDiamond - 2026-11-18 */
.lx-coin:hover .lx-coin-add { filter: brightness(1.1); }
@media (max-width: 420px) { .lx-coin .lx-coin-add { padding: 3px 7px; font-size: 11px; } }
.lx-coin i { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe08a, #f5b70a 60%, #c98a00); box-shadow: inset 0 -1px 0 rgba(0,0,0,.15); }
.lx-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--surface-3); }
.lx-menu { position: relative; }
.lx-pop { position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2); padding: 6px; display: none; z-index: 60; }
.lx-menu.open .lx-pop { display: block; animation: lxPop .14s ease-out; }
@keyframes lxPop { from { opacity: 0; transform: translateY(-4px); } }
.lx-pop a, .lx-pop button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; border: 0; background: transparent; text-align: start; color: var(--text); font-size: 14px; }
.lx-pop a:hover, .lx-pop button:hover { background: var(--surface-2); }
.lx-pop a.on::after, .lx-pop button.on::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); margin-inline-start: auto; }
.lx-pop hr { border: 0; border-block-start: 1px solid var(--line); margin: 6px 4px; }
.lx-pop .lx-pop-head { display: flex; gap: 10px; align-items: center; padding: 8px 10px 10px; }
.lx-pop .lx-pop-head b { display: block; font-size: 14px; }
.lx-pop .lx-pop-head small { color: var(--text-3); }
.lx-pop-title { font-size: 12px; color: var(--text-3); padding: 6px 10px 2px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }

/* ------------------------------------------------------------ buttons, chips */
.lx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding-inline: 16px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; font-size: 14px; white-space: nowrap; transition: transform .1s, background .15s, box-shadow .15s, border-color .15s; }
.lx-btn:active { transform: scale(.98); }
.lx-btn[disabled] { opacity: .55; pointer-events: none; }
.lx-btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 28%, transparent); }
.lx-btn-primary:hover { background: color-mix(in srgb, var(--primary) 88%, #000); }
.lx-btn-soft { background: var(--primary-soft); color: var(--primary); }
.lx-btn-soft:hover { background: color-mix(in srgb, var(--primary-soft) 80%, var(--primary) 12%); }
.lx-btn-ghost { background: var(--surface-2); color: var(--text); }
.lx-btn-ghost:hover { background: var(--surface-3); }
.lx-btn-line { background: transparent; border-color: var(--line); color: var(--text); }
.lx-btn-line:hover { background: var(--surface-2); }
.lx-btn-danger { background: var(--danger); color: #fff; }
.lx-btn-sm { height: 32px; padding-inline: 12px; border-radius: 10px; font-size: 13px; }
.lx-btn-lg { height: 48px; padding-inline: 22px; border-radius: 14px; font-size: 15px; }
.lx-btn-block { width: 100%; }
.lx-chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding-inline: 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-size: 12px; font-weight: 600; }
.lx-badge-live { display: inline-flex; align-items: center; gap: 4px; height: 18px; padding-inline: 6px; border-radius: 5px; background: linear-gradient(90deg, #F43F5E, #EF4444); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .3px; } /* BlackDiamond - 2026-11-18: smaller, sharper - same as the app */
.lx-badge-live.lx-kind-pk { background: linear-gradient(90deg, #7C3AED, #DB2777); }
.lx-badge-live.lx-kind-pk::before { display: none; }
.lx-badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: lxBlink 1.4s infinite; }
@keyframes lxBlink { 50% { opacity: .35; } }
.lx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); display: inline-block; flex: none; }

/* ------------------------------------------------------------ side bar */
.lx-side { position: fixed; inset-block: var(--top-h) 0; inset-inline-start: 0; width: var(--side-w); background: var(--surface); border-inline-end: 1px solid var(--line); overflow-y: auto; padding: 12px 10px 20px; z-index: 40; scrollbar-width: thin; transition: transform .2s ease; }
.lx-nav a { display: flex; align-items: center; gap: 12px; height: 42px; padding-inline: 12px; border-radius: 12px; color: var(--text-2); font-weight: 600; }
.lx-nav a:hover { background: var(--surface-2); color: var(--text); }
.lx-nav a.on { background: var(--primary-soft); color: var(--primary); }
.lx-nav svg { flex: none; }
.lx-side h4 { margin: 18px 12px 6px; font-size: 12px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; }
.lx-chan { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; }
.lx-chan:hover { background: var(--surface-2); }
.lx-chan img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.lx-chan-txt { min-width: 0; flex: 1; }
.lx-chan-txt b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-chan-txt small { display: block; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-chan-n { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.lx-side-empty { margin: 4px 12px; color: var(--text-3); font-size: 13px; }
.lx-side-app { margin: 18px 6px 0; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, var(--primary-soft), color-mix(in srgb, var(--primary-soft) 60%, var(--surface))); }
.lx-side-app b { display: block; margin-block-end: 4px; }
.lx-side-app p { margin: 0 0 10px; color: var(--text-2); font-size: 12.5px; }

/* ------------------------------------------------------------ page frame */
.lx-main { padding-block-start: var(--top-h); padding-inline-start: var(--side-w); min-height: 100vh; }
.lx-wrap { max-width: 1640px; margin: 0 auto; padding: 24px 28px 40px; }
.lx-section { margin-block-start: 34px; }
.lx-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 14px; }
.lx-section-head h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.2px; }
.lx-section-head h2 em { font-style: normal; color: var(--primary); }
.lx-link { color: var(--primary); font-weight: 700; font-size: 13px; }
.lx-page-title { margin: 0 0 6px; font-size: 28px; font-weight: 800; letter-spacing: -.4px; }
.lx-sub { margin: 0; color: var(--text-2); }
.lx-scrim { position: fixed; inset: 0; background: rgba(10, 8, 18, .5); z-index: 39; display: none; }

/* ------------------------------------------------------------ hero */
.lx-hero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; }
.lx-feature { position: relative; border-radius: var(--radius-l); overflow: hidden; background: #111; aspect-ratio: 16 / 8.2; box-shadow: var(--shadow-2); }
.lx-feature img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
.lx-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(5,3,12,.86)); }
.lx-feature-info { position: absolute; inset-inline: 22px; inset-block-end: 20px; z-index: 2; color: #fff; display: flex; align-items: flex-end; gap: 14px; }
.lx-feature-info img { width: 54px; height: 54px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; flex: none; }
.lx-feature-info h3 { margin: 0; font-size: 22px; font-weight: 800; }
.lx-feature-info p { margin: 2px 0 6px; opacity: .9; }
.lx-feature-info .lx-btn { margin-inline-start: auto; }
.lx-feature-top { position: absolute; inset-inline-start: 16px; inset-block-start: 16px; z-index: 2; display: flex; gap: 8px; }
.lx-feature-top .lx-chip { background: rgba(0,0,0,.55); color: #fff; }
.lx-feature-dots { position: absolute; inset-inline-end: 18px; inset-block-start: 18px; z-index: 2; display: flex; gap: 6px; }
.lx-feature-dots button { width: 8px; height: 8px; border: 0; border-radius: 99px; background: rgba(255,255,255,.45); padding: 0; transition: width .2s; }
.lx-feature-dots button.on { width: 22px; background: #fff; }
.lx-welcome { border-radius: var(--radius-l); padding: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.lx-welcome::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; inset-inline-end: -90px; inset-block-start: -90px; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 22%, transparent), transparent 70%); }
.lx-welcome h1 { margin: 0 0 10px; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -.4px; position: relative; }
.lx-welcome p { margin: 0 0 18px; color: var(--text-2); position: relative; }
.lx-welcome .lx-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-block-start: auto; position: relative; }
.lx-stat-row { display: flex; gap: 18px; margin-block: 0 18px; position: relative; }
.lx-stat-row b { display: block; font-size: 22px; }
.lx-stat-row small { color: var(--text-3); }
.lx-empty-hero { aspect-ratio: auto; min-height: 340px; display: grid; place-items: center; text-align: center; background:
  radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--primary) 30%, transparent), transparent 45%),
  radial-gradient(circle at 80% 70%, rgba(236, 72, 153, .28), transparent 45%), linear-gradient(135deg, #1a1130, #0f0b1c); color: #fff; }
.lx-empty-hero::after { display: none; }
.lx-empty-hero .in { position: relative; z-index: 2; padding: 30px; }
.lx-empty-hero h3 { font-size: 24px; margin: 14px 0 6px; }
.lx-empty-hero p { opacity: .8; margin: 0 0 18px; }
.lx-pulse { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: rgba(255,255,255,.1); box-shadow: 0 0 0 0 rgba(255,255,255,.35); animation: lxPulse 2s infinite; }
@keyframes lxPulse { 70% { box-shadow: 0 0 0 22px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ------------------------------------------------------------ cards */
.lx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px 18px; }
.lx-card { display: block; }
.lx-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-m); overflow: hidden; background: var(--surface-3); transition: transform .18s, box-shadow .18s; }
.lx-card:hover .lx-thumb { transform: translateY(-3px); box-shadow: 0 10px 22px color-mix(in srgb, var(--primary) 22%, transparent), 0 0 0 2px var(--primary); }
.lx-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lx-thumb .lx-badge-live { position: absolute; inset-inline-start: 10px; inset-block-start: 10px; }
.lx-thumb .lx-views { position: absolute; inset-inline-start: 10px; inset-block-end: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.62); color: #fff; font-size: 12px; font-weight: 700; }
.lx-thumb .lx-lock { position: absolute; inset-inline-end: 10px; inset-block-start: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.62); color: #fff; font-size: 12px; }
.lx-card-body { display: flex; gap: 10px; margin-block-start: 10px; }
.lx-card-body img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
.lx-card-body h3 { margin: 0; font-size: 14.5px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.lx-card-body p { margin: 1px 0 6px; color: var(--text-2); font-size: 13px; }
.lx-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.lx-cat { display: block; }
.lx-cat-img { aspect-ratio: 1 / 1; border-radius: var(--radius-m); overflow: hidden; background: linear-gradient(160deg, var(--primary-soft), var(--surface-3)); position: relative; transition: transform .18s, box-shadow .18s; display: grid; place-items: center; }
.lx-cat:hover .lx-cat-img { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--primary); }
.lx-cat-img img { width: 50%; height: auto; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0,0,0,.18)); }
.lx-cat-img .n { position: absolute; inset-inline-start: 8px; inset-block-start: 8px; display: flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 700; }
.lx-cat b { display: block; margin-block-start: 8px; font-size: 14px; }
.lx-cat small { color: var(--text-3); }
.lx-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.lx-tabs a, .lx-tabs button { height: 34px; padding-inline: 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-weight: 600; display: inline-flex; align-items: center; }
.lx-tabs a.on, .lx-tabs button.on { background: var(--text); border-color: var(--text); color: var(--surface); }
.lx-empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line); border-radius: var(--radius-l); color: var(--text-2); background: var(--surface); }
.lx-empty svg { color: var(--primary); }
.lx-empty h3 { margin: 12px 0 4px; color: var(--text); }

/* ------------------------------------------------------------ download band */
.lx-band { margin-block-start: 40px; border-radius: var(--radius-l); padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  background: linear-gradient(120deg, #1d1236 0%, #3b1d78 55%, #7c3aed 100%); color: #fff; overflow: hidden; position: relative; }
.lx-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; inset-inline-end: -120px; inset-block-end: -200px; background: radial-gradient(circle, rgba(236,72,153,.45), transparent 65%); }
.lx-band h3 { margin: 0 0 6px; font-size: 24px; }
.lx-band p { margin: 0 0 14px; opacity: .85; max-width: 560px; }
.lx-band ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; opacity: .92; }
.lx-band li::before { content: "✓"; margin-inline-end: 6px; color: #c4b5fd; }
.lx-qr { background: #fff; border-radius: 16px; padding: 12px; text-align: center; color: #16131f; position: relative; z-index: 1; }
.lx-qr img { width: 150px; height: 150px; }
.lx-qr small { display: block; margin-block-start: 6px; font-weight: 700; }

/* ------------------------------------------------------------ footer */
.lx-foot { border-block-start: 1px solid var(--line); margin-block-start: 50px; padding: 26px 28px; color: var(--text-3); font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.lx-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.lx-foot a:hover { color: var(--text); }

/* ------------------------------------------------------------ modal / forms / toast */
.lx-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(10, 8, 18, .55); backdrop-filter: blur(4px); }
.lx-modal.open { display: flex; animation: lxFade .15s ease-out; }
@keyframes lxFade { from { opacity: 0; } }
.lx-dialog { width: 100%; max-width: 420px; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-2); padding: 28px; position: relative; max-height: calc(100vh - 40px); overflow: auto; }
.lx-dialog h2 { margin: 0 0 4px; font-size: 22px; font-weight: 800; }
.lx-dialog .lx-x { position: absolute; inset-inline-end: 14px; inset-block-start: 14px; }
.lx-dialog .lx-logo { justify-content: center; margin-block-end: 14px; }
.lx-field { margin-block-start: 12px; }
.lx-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-2); margin-block-end: 6px; }
.lx-input, .lx-select, .lx-textarea { width: 100%; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); padding-inline: 13px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.lx-textarea { height: auto; min-height: 90px; padding-block: 10px; resize: vertical; }
.lx-input:focus, .lx-select:focus, .lx-textarea:focus { border-color: var(--primary-2); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent); }
.lx-row { display: flex; gap: 8px; }
.lx-row > * { min-width: 0; }
.lx-captcha { height: 44px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; flex: none; width: 120px; object-fit: cover; background: #fff; }
.lx-note { margin-block-start: 14px; font-size: 12px; color: var(--text-3); text-align: center; }
.lx-note a { color: var(--primary); font-weight: 600; }
.lx-switch-auth { text-align: center; margin-block-start: 16px; color: var(--text-2); }
.lx-switch-auth a { color: var(--primary); font-weight: 700; }
.lx-toast-box { position: fixed; inset-block-end: 22px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
[dir="rtl"] .lx-toast-box { transform: translateX(50%); }
.lx-toast { background: var(--text); color: var(--surface); padding: 10px 16px; border-radius: 12px; box-shadow: var(--shadow-2); font-weight: 600; animation: lxToast .2s ease-out; max-width: 90vw; }
.lx-toast.err { background: var(--danger); color: #fff; }
.lx-toast.ok { background: var(--ok); color: #fff; }
@keyframes lxToast { from { opacity: 0; transform: translateY(8px); } }

/* ------------------------------------------------------------ live room */
.lx-room { display: grid; grid-template-columns: minmax(0, 1fr) var(--chat-w); height: calc(100vh - var(--top-h)); }
.lx-room-main { overflow-y: auto; min-width: 0; }
.lx-player { position: relative; background: #000; aspect-ratio: 16 / 9; max-height: calc(100vh - var(--top-h) - 150px); width: 100%; overflow: hidden; }
.lx-player video, .lx-player .agora_video_player { object-fit: contain !important; }
.lx-player-in { position: absolute; inset: 0; }
.lx-player-in > div { width: 100%; height: 100%; }
.lx-player-state { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; z-index: 3; background: radial-gradient(circle at 50% 40%, rgba(124,58,237,.35), rgba(0,0,0,.92) 70%); }
.lx-player-state img { width: 86px; height: 86px; border-radius: 50%; border: 3px solid rgba(255,255,255,.85); object-fit: cover; margin: 0 auto 12px; }
.lx-player-state h3 { margin: 0 0 4px; font-size: 20px; }
.lx-player-state p { margin: 0; opacity: .75; }
.lx-player-bar { position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; opacity: 0; transition: opacity .2s; }
.lx-player:hover .lx-player-bar { opacity: 1; }
.lx-player-bar button { width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.lx-player-bar button:hover { background: rgba(255,255,255,.25); }
.lx-player-bar .sp { flex: 1; }
.lx-unmute { position: absolute; inset-inline-start: 14px; inset-block-start: 14px; z-index: 5; }
.lx-hearts { position: absolute; inset-inline-end: 18px; inset-block-end: 70px; width: 70px; height: 260px; pointer-events: none; z-index: 5; }
.lx-heart { position: absolute; inset-block-end: 0; inset-inline-start: 22px; font-size: 26px; animation: lxHeart 2.4s ease-out forwards; }
@keyframes lxHeart { 0% { transform: translate(0, 0) scale(.4); opacity: 0; } 15% { opacity: 1; transform: translate(0, -20px) scale(1); }
  100% { transform: translate(var(--dx, 10px), -240px) scale(1.15); opacity: 0; } }
.lx-gift-fx { position: absolute; inset: 0; z-index: 6; pointer-events: none; display: flex; align-items: center; justify-content: center; }
/* BlackDiamond - 2026-11-18: gift animations are made for a phone screen: portrait box in the middle, not the whole wide player */
.lx-gift-fx > div, .lx-gift-fx > img { width: auto !important; height: 82% !important; aspect-ratio: 9 / 16; max-width: 100%; object-fit: contain; }
.lx-gift-fx canvas { width: 100% !important; height: 100% !important; object-fit: contain; }
.lx-gift-banner { position: absolute; inset-inline-start: 14px; inset-block-start: 60px; z-index: 7; display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: linear-gradient(90deg, rgba(124,58,237,.95), rgba(236,72,153,.85)); color: #fff; box-shadow: var(--shadow-2); animation: lxSlide .35s ease-out; }
.lx-gift-banner img.a { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.lx-gift-banner img.g { width: 40px; height: 40px; object-fit: contain; }
.lx-gift-banner b { display: block; font-size: 13px; }
.lx-gift-banner small { font-size: 12px; opacity: .9; }
.lx-gift-banner .x { font-size: 22px; font-weight: 900; font-style: italic; margin-inline-start: 4px; }
@keyframes lxSlide { from { opacity: 0; transform: translateX(-30px); } }
.lx-enter-banner { position: absolute; left: 50%; transform: translateX(-50%); inset-block-end: 150px; z-index: 7; max-width: calc(100% - 48px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 7px 16px; border-radius: 999px; background: linear-gradient(90deg, rgba(76,29,149,.85), rgba(124,58,237,.85)); border: 1px solid rgba(253,224,71,.55); color: #fff; font-size: 13px; animation: lxFade .35s ease-out; } /* BlackDiamond - 2026-11-18: centred, higher, app style */
@keyframes lxFade { from { opacity: 0; margin-bottom: -12px; } to { opacity: 1; margin-bottom: 0; } }
.lx-enter-banner b { color: #fcd34d; }
.lx-room-info { padding: 16px 22px; display: flex; gap: 14px; align-items: flex-start; border-block-end: 1px solid var(--line); background: var(--surface); }
.lx-room-info .av { position: relative; flex: none; }
.lx-room-info .av img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.lx-room-info .av.live img { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--live); }
.lx-room-info .av .lx-badge-live { position: absolute; inset-block-end: -6px; inset-inline-start: 50%; transform: translateX(-50%); height: 18px; font-size: 10px; padding-inline: 6px; }
.lx-room-info h1 { margin: 0; font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lx-room-info .title { margin: 2px 0 6px; color: var(--text); font-weight: 600; }
.lx-room-info .meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lx-room-info .acts { margin-inline-start: auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.lx-room-stats { display: flex; gap: 16px; color: var(--text-2); font-size: 13px; margin-block-start: 4px; }
.lx-room-stats b { color: var(--text); }
.lx-about { padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
.lx-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 18px; }
.lx-box h3 { margin: 0 0 12px; font-size: 15px; }
.lx-rank-list { list-style: none; margin: 0; padding: 0; }
.lx-rank-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.lx-rank-list .no { width: 22px; text-align: center; font-weight: 800; color: var(--text-3); }
.lx-rank-list li:nth-child(1) .no { color: #f5b70a; }
.lx-rank-list li:nth-child(2) .no { color: #9aa3b5; }
.lx-rank-list li:nth-child(3) .no { color: #cd7f32; }
.lx-rank-list img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.lx-rank-list .nm { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-rank-list .val { font-weight: 700; font-size: 12.5px; color: var(--text-2); }

/* chat */
.lx-chat { display: flex; flex-direction: column; min-height: 0; background: var(--surface); border-inline-start: 1px solid var(--line); }
.lx-chat-head { height: 52px; flex: none; display: flex; align-items: center; justify-content: space-between; padding-inline: 16px 10px; border-block-end: 1px solid var(--line); font-weight: 800; }
.lx-chat-head .tabs { display: flex; gap: 4px; }
.lx-chat-head .tabs button { height: 30px; padding-inline: 10px; border-radius: 8px; border: 0; background: transparent; color: var(--text-3); font-weight: 700; font-size: 13px; }
.lx-chat-head .tabs button.on { background: var(--surface-2); color: var(--text); }
.lx-chat-list { flex: 1; overflow-y: auto; padding: 10px 12px 6px; scrollbar-width: thin; overscroll-behavior: contain; }
.lx-msg { padding: 4px 6px; border-radius: 8px; line-height: 1.45; word-wrap: break-word; overflow-wrap: anywhere; font-size: 13.5px; }
.lx-msg:hover { background: var(--surface-2); }
.lx-msg .lv { display: inline-flex; align-items: center; height: 17px; padding-inline: 5px; margin-inline-end: 4px; border-radius: 5px; font-size: 10.5px; font-weight: 800; color: #fff; background: #8b8fa3; vertical-align: 1px; }
.lx-msg .badge { display: inline-flex; align-items: center; height: 17px; padding-inline: 5px; margin-inline-end: 4px; border-radius: 5px; font-size: 10px; font-weight: 800; vertical-align: 1px; }
.lx-msg .b-host { background: var(--live); color: #fff; }
.lx-msg .b-mod { background: #15a36b; color: #fff; }
.lx-msg .b-vip { background: linear-gradient(90deg, #f5b70a, #f97316); color: #fff; }
.lx-msg .nm { font-weight: 800; cursor: pointer; }
.lx-msg .nm:hover { text-decoration: underline; }
.lx-msg.sys { color: var(--text-3); font-size: 12.5px; }
.lx-msg.sys b { color: var(--text-2); }
.lx-msg.gift { background: color-mix(in srgb, var(--primary-soft) 70%, transparent); }
.lx-msg.gift img { display: inline-block; width: 22px; height: 22px; object-fit: contain; vertical-align: -6px; margin-inline: 2px; }
.lx-msg.like { color: var(--text-2); }
.lx-msg.like::before { content: "♥ "; color: var(--live); }
.lx-msg.welcome { color: var(--text-2); background: var(--surface-2); margin-block-end: 6px; }
.lx-chat-paused { position: relative; }
.lx-chat-paused button { position: absolute; inset-block-end: 8px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 3; }
[dir="rtl"] .lx-chat-paused button { transform: translateX(50%); }
.lx-chat-form { flex: none; padding: 10px 12px 12px; border-block-start: 1px solid var(--line); }
.lx-chat-input { display: flex; gap: 8px; align-items: center; }
.lx-chat-input .lx-input { height: 42px; }
.lx-chat-tools { display: flex; align-items: center; gap: 6px; margin-block-start: 8px; }
.lx-chat-tools .count { margin-inline-start: auto; font-size: 12px; color: var(--text-3); }
.lx-chat-login { text-align: center; padding: 12px; }
.lx-users { flex: 1; overflow-y: auto; padding: 8px 12px; }
.lx-users .u { display: flex; align-items: center; gap: 10px; padding: 6px 4px; }
.lx-users .u img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* gifts */
.lx-gifts { position: absolute; inset-inline-end: 12px; inset-block-end: 118px; width: 330px; max-width: calc(100% - 24px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-2); z-index: 20; display: none; }
.lx-gifts.open { display: block; animation: lxPop .14s ease-out; }
.lx-gifts-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 4px; font-weight: 800; }
.lx-gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px 10px; max-height: 270px; overflow-y: auto; }
.lx-gift { border: 1px solid transparent; border-radius: 12px; background: transparent; padding: 8px 4px 6px; text-align: center; transition: background .12s, border-color .12s; }
.lx-gift:hover { background: var(--surface-2); }
.lx-gift.on { border-color: var(--primary); background: var(--primary-soft); }
.lx-gift img { width: 44px; height: 44px; object-fit: contain; margin: 0 auto 4px; }
.lx-gift b { display: block; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-gift small { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--text-3); font-weight: 700; }
.lx-gift small i, .lx-gifts-foot i { width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe08a, #f5b70a 60%, #c98a00); display: inline-block; }
.lx-gifts-foot { display: flex; align-items: center; gap: 8px; padding: 10px 14px 14px; border-block-start: 1px solid var(--line); }
.lx-gifts-foot .bal { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 13px; }
.lx-gifts-foot .lx-btn { margin-inline-start: auto; }

/* studio */
.lx-studio { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; }
.lx-studio .lx-player { border-radius: var(--radius-l); }
.lx-studio-panel { display: flex; flex-direction: column; gap: 14px; }
.lx-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); }
.lx-seg button { height: 36px; border: 0; border-radius: 9px; background: transparent; font-weight: 700; color: var(--text-2); }
.lx-seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }
.lx-range { display: flex; align-items: center; gap: 10px; margin-block-start: 10px; }
.lx-range label { width: 120px; font-size: 13px; color: var(--text-2); }
.lx-range input { flex: 1; accent-color: var(--primary); }
.lx-range span { width: 34px; text-align: end; font-size: 12px; color: var(--text-3); }
.lx-copy { display: flex; gap: 6px; }
.lx-copy .lx-input { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }
.lx-live-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding-inline: 12px; border-radius: 999px; background: var(--surface-2); font-weight: 700; }

/* wallet / account */
.lx-cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lx-kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 18px; }
.lx-kpi small { color: var(--text-3); font-weight: 600; }
.lx-kpi b { display: block; font-size: 26px; margin-block-start: 4px; letter-spacing: -.4px; }
.lx-kpi.hl { background: linear-gradient(135deg, #2a1658, #7c3aed); color: #fff; border: 0; }
.lx-kpi.hl small { color: rgba(255,255,255,.75); }
.lx-acc { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; margin-block-start: 10px; cursor: pointer; }
.lx-acc.on { border-color: var(--primary); background: var(--primary-soft); }
.lx-acc .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); flex: none; overflow: hidden; }
.lx-acc .ic img { width: 100%; height: 100%; object-fit: contain; }
.lx-acc .tx { flex: 1; min-width: 0; }
.lx-acc .tx b { display: block; }
.lx-acc .tx small { color: var(--text-3); }
.lx-table { width: 100%; border-collapse: collapse; }
.lx-table th, .lx-table td { text-align: start; padding: 10px 8px; border-block-end: 1px solid var(--line); font-size: 13px; }
.lx-table th { color: var(--text-3); font-weight: 700; font-size: 12px; }
.lx-status { display: inline-flex; height: 22px; align-items: center; padding-inline: 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; }
.lx-status.s0 { background: #fff4d6; color: #a16207; }
.lx-status.s1 { background: #dcfce7; color: #15803d; }
.lx-status.s2 { background: #ffe4e6; color: #be123c; }

/* ------------------------------------------------------------ download page */
.lx-dl { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 30px; align-items: center; min-height: calc(100vh - var(--top-h) - 140px); }
.lx-dl h1 { font-size: 46px; line-height: 1.05; margin: 0 0 14px; letter-spacing: -1px; }
.lx-dl h1 em { font-style: normal; background: linear-gradient(90deg, var(--primary), #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-dl p.lead { font-size: 17px; color: var(--text-2); margin: 0 0 22px; max-width: 560px; }
.lx-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-block-end: 24px; max-width: 560px; }
.lx-feats div { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.lx-feats svg { color: var(--primary); flex: none; }
.lx-stores { display: flex; gap: 10px; flex-wrap: wrap; }
.lx-store { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding-inline: 16px 20px; border-radius: 14px; background: var(--text); color: var(--surface); }
.lx-store small { display: block; font-size: 11px; opacity: .75; line-height: 1; }
.lx-store b { display: block; font-size: 16px; line-height: 1.2; }
.lx-store.off { opacity: .45; pointer-events: none; }
.lx-phone { position: relative; border-radius: 34px; padding: 28px; background: linear-gradient(160deg, #241147, #6d28d9 60%, #db2777); color: #fff; text-align: center; box-shadow: var(--shadow-2); overflow: hidden; }
.lx-phone::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; inset-inline-start: -120px; inset-block-start: -140px; background: radial-gradient(circle, rgba(255,255,255,.25), transparent 65%); }
.lx-phone .ico { width: 92px; height: 92px; border-radius: 24px; margin: 0 auto 14px; box-shadow: 0 12px 30px rgba(0,0,0,.35); position: relative; }
.lx-phone h3 { margin: 0 0 4px; font-size: 22px; position: relative; }
.lx-phone p { margin: 0 0 18px; opacity: .85; position: relative; }
.lx-phone .lx-qr { display: inline-block; }
.lx-phone .lx-qr img { width: 190px; height: 190px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1200px) {
  .lx-hero { grid-template-columns: minmax(0, 1fr); }
  .lx-about { grid-template-columns: 1fr; }
  .lx-studio { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  :root { --chat-w: 320px; }
  .lx-side { transform: translateX(-100%); box-shadow: var(--shadow-2); }
  [dir="rtl"] .lx-side { transform: translateX(100%); }
  body.lx-side-open .lx-side { transform: none; }
  body.lx-side-open .lx-scrim { display: block; }
  .lx-main { padding-inline-start: 0; }
  .lx-dl { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .lx-room { grid-template-columns: 1fr; height: auto; }
  .lx-room-main { overflow: visible; }
  .lx-chat { height: 70vh; border-inline-start: 0; border-block-start: 1px solid var(--line); }
  .lx-player { max-height: none; }
  .lx-room-info { flex-wrap: wrap; }
  .lx-room-info .acts { margin-inline-start: 0; width: 100%; justify-content: flex-start; }
  .lx-cards-3 { grid-template-columns: 1fr; }
  .lx-band { grid-template-columns: 1fr; }
  .lx-gifts { position: fixed; inset-inline: 10px; inset-block-end: 10px; width: auto; }
}
@media (max-width: 640px) {
  .lx-wrap { padding: 16px 14px 30px; }
  .lx-search { display: none; }
  .lx-top .lx-search.open { display: block; position: absolute; inset-inline: 10px; inset-block-start: 10px; max-width: none; z-index: 2; }
  .lx-logo span { display: none; }
  .lx-grid { grid-template-columns: 1fr; }
  .lx-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .lx-feature { aspect-ratio: 4 / 3; }
  .lx-feature-info h3 { font-size: 18px; }
  .lx-feature-info .lx-btn { display: none; }
  .lx-dl h1 { font-size: 34px; }
  .lx-feats { grid-template-columns: 1fr; }
  .lx-top-right .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
/* BlackDiamond - 2026-11-20: alt bilgi her sayfada pencerenin dibinde / footer always at the bottom of the window */
.lx-main { display: flex; flex-direction: column; }
.lx-main > .lx-wrap { width: 100%; }
.lx-main > .lx-foot { margin-top: auto; }
/* BlackDiamond - 2026-11-20: yayın sayfası: yanlarda bulanık kapak, beğeni sayacı, uçan kalp / live page: blurred cover at the sides, like counter, flying heart */
.lx-player::before { content: ""; position: absolute; inset: -40px; background: var(--cover, none) center / cover no-repeat; filter: blur(30px) brightness(.5) saturate(1.2); transform: scale(1.08); z-index: 0; }
.lx-player-in { z-index: 1; }
.lx-player-in > div, .lx-player video, .lx-player .agora_video_player { background: transparent !important; }
.lx-player-in > div > div { background: transparent !important; }
.lx-like-btn { gap: 6px; }
.lx-like-btn .hk { font-size: 18px; line-height: 1; color: var(--text-3); transition: transform .2s; }
.lx-like-btn.on .hk { color: #ff4d7a; }
.lx-like-btn.on { border-color: #ffc2d3; background: #fff0f4; color: #e11d48; }
[data-theme="dark"] .lx-like-btn.on { background: rgba(255, 77, 122, .14); border-color: rgba(255, 77, 122, .4); }
.lx-like-btn.pop .hk { transform: scale(1.5); }
.lx-fly-heart { position: fixed; z-index: 90; pointer-events: none; font-size: 64px; line-height: 1; color: #ff4d7a; text-shadow: 0 0 14px rgba(255, 77, 122, .55); will-change: transform, opacity; }
.lx-burst { position: fixed; z-index: 90; pointer-events: none; font-size: 18px; color: #ff4d7a; transition: transform .65s ease-out, opacity .65s ease-out; }
/* BlackDiamond - 2026-11-20: ses / Quest odası koltukları (uygulamadaki gibi) / voice / Quest room seats (like the app) */
.lx-seats { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; }
.lx-seats.voice { background: radial-gradient(circle at 50% 30%, rgba(124, 58, 237, .35), rgba(10, 6, 24, .55)); }
.lx-seat-owner { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; }
.lx-seat-owner img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(167, 139, 250, .35); }
.lx-seat-owner b { font-size: 15px; }
.lx-seat-owner .tag { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 10px; background: linear-gradient(90deg, #7c3aed, #c026d3); }
.lx-seats.voice .lx-seat-grid { display: grid; grid-template-columns: repeat(4, 86px); gap: 18px 26px; }
.lx-seats.voice .lx-seat:not(.lx-seat-owner) { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; }
.lx-seats.voice .lx-seat .av, .lx-seats.voice .lx-seat .ph { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.lx-seats.voice .lx-seat .av { border: 2px solid rgba(255, 255, 255, .9); }
.lx-seats.voice .lx-seat .ph { display: grid; place-items: center; border: 1.5px dashed rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); font-size: 24px; color: rgba(255, 255, 255, .8); }
.lx-seats .lx-seat small { font-size: 12px; max-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .92; }
.lx-seats.quest { padding: 14px; }
.lx-seats.quest .lx-seat-grid { width: 100%; height: 100%; max-width: 760px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 8px; }
.lx-seats.quest .lx-seat { position: relative; border-radius: 16px; overflow: hidden; background: rgba(124, 58, 237, .35); display: grid; place-items: center; color: #fff; }
.lx-seats.quest .lx-seat .vid { position: absolute; inset: 0; }
.lx-seats.quest .lx-seat .vid video, .lx-seats.quest .lx-seat .vid > div { width: 100%; height: 100%; object-fit: cover; }
.lx-seats.quest .lx-seat .av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; position: relative; }
.lx-seats.quest .lx-seat.has-video .av { display: none; }
.lx-seats.quest .lx-seat .ph { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px dashed rgba(255, 255, 255, .5); font-size: 22px; }
.lx-seats.quest .lx-seat small { position: absolute; left: 8px; bottom: 8px; background: rgba(0, 0, 0, .45); padding: 3px 9px; border-radius: 10px; z-index: 1; }
.lx-seats.quest .lx-seat small i { font-style: normal; font-weight: 700; margin-right: 5px; color: #f0abfc; }
.lx-seats.quest .lx-seat.empty small { position: static; background: none; margin-top: 6px; }
.lx-seats.quest .lx-seat.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; }
@media (max-width: 640px) { .lx-seats.voice .lx-seat-grid { grid-template-columns: repeat(4, 64px); gap: 12px; } .lx-seats.voice .lx-seat .av, .lx-seats.voice .lx-seat .ph { width: 52px; height: 52px; } }
.lx-seats.quest .lx-seat .vid video { object-fit: cover !important; }
.lx-player-in > .lx-pk { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: auto; height: 100%; aspect-ratio: 9 / 8; max-width: 100%; display: flex; }
.lx-pk video { position: static !important; width: 50% !important; height: 100% !important; object-fit: cover !important; }
.lx-pk-mark { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); font: italic 900 34px/1 var(--font); color: #fff; padding: 6px 16px; border-radius: 14px; background: linear-gradient(90deg, #ff3d6e, #3b82f6); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); pointer-events: none; }
/* BlackDiamond - 2026-11-21: PK stage also for Agora (boxes inside) */
.lx-pk > div { position: relative; width: 50%; height: 100%; overflow: hidden; }
.lx-pk { gap: 3px; background: #000; }
.lx-pk-mark { animation: lxPkMark 2.6s ease forwards; }
@keyframes lxPkMark { 0% { opacity: 0; transform: translate(-50%, -50%) scale(1.8); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(.9); } }
/* BlackDiamond - 2026-11-29: PK overlay like the app - score bar on top of both pictures, time tab under it,
   top 3 supporters in the corners, won / lost labels in the penalty */
.lx-pk > .lx-pkov { position: absolute; inset: 0; width: auto; height: auto; overflow: visible; z-index: 4; pointer-events: none; font-family: var(--font); }
.lx-pkbar { position: absolute; inset-inline: 0; top: 0; height: 22px; display: flex; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.lx-pkbar i { display: block; height: 100%; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.lx-pkbar .pa { background: linear-gradient(90deg, #FF2D7A, #FF6FAE); }
.lx-pkbar .pb { background: linear-gradient(90deg, #39C6FF, #2B7BFF); }
.lx-pkbar::after { content: ""; position: absolute; inset: 0 0 50% 0; background: linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, 0)); }
.lx-pkbar .tip { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: radial-gradient(circle, #fff 0 30%, rgba(255, 214, 236, .75) 45%, rgba(255, 255, 255, 0) 70%); transition: inset-inline-start .6s cubic-bezier(.2, .8, .2, 1); animation: lxPkTip 1.1s ease-in-out infinite; z-index: 1; }
.lx-pkbar .tip::before { content: ""; position: absolute; right: 9px; top: 6px; width: 26px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .85)); }
@keyframes lxPkTip { 50% { transform: scale(1.35); } }
.lx-pkbar .sa, .lx-pkbar .sb { position: absolute; top: 0; z-index: 2; line-height: 22px; font-size: 13px; font-weight: 900; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.lx-pkbar .sa { inset-inline-start: 10px; }
.lx-pkbar .sb { inset-inline-end: 10px; }
.lx-pktab { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); height: 24px; padding: 0 12px 0 10px; display: flex; align-items: center; gap: 6px; border-radius: 0 0 10px 10px; background: rgba(12, 10, 20, .78); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lx-pktab b { font-style: italic; font-weight: 900; font-size: 14px; letter-spacing: 0; }
.lx-pktab b i:first-child { color: #FF3B6B; font-style: italic; }
.lx-pktab b i:last-child { color: #3B8BFF; font-style: italic; }
.lx-pktab.pun { background: linear-gradient(90deg, rgba(245, 158, 11, .95), rgba(239, 68, 68, .95)); }
.lx-pkseats { position: absolute; top: 30px; display: flex; gap: 4px; }
.lx-pkseats.l { inset-inline-start: 8px; }
.lx-pkseats.r { inset-inline-end: 8px; }
.lx-pkseats .seat { position: relative; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .18); border: 1.5px solid #FF4F93; overflow: visible; }
.lx-pkseats.r .seat { border-color: #3BB4FF; }
.lx-pkseats .seat img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.lx-pkseats .seat em { position: absolute; bottom: -3px; inset-inline-end: -3px; min-width: 13px; height: 13px; border-radius: 7px; background: #FF2D7A; color: #fff; font: normal 800 9px/13px var(--font); text-align: center; }
.lx-pkseats.r .seat em { background: #2B8CFF; }
.lx-pkseats .seat.empty { opacity: .55; }
.lx-pkres { position: absolute; top: 46%; transform: translate(-50%, -50%) rotate(-8deg); padding: 6px 16px; border-radius: 10px; font: italic 900 22px/1 var(--font); color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .35); opacity: 0; transition: opacity .3s; }
.lx-pkres.l { left: 25%; }
.lx-pkres.r { left: 75%; }
.lx-pkov.pun .lx-pkres { opacity: 1; animation: lxPkRes .5s cubic-bezier(.2, 1.4, .4, 1); }
.lx-pkres.win { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.lx-pkres.lose { background: rgba(30, 30, 40, .7); color: #cbd5e1; }
.lx-pkres.draw { background: rgba(124, 58, 237, .85); }
@keyframes lxPkRes { from { transform: translate(-50%, -50%) rotate(-8deg) scale(2); opacity: 0; } }
/* BlackDiamond - 2026-11-29: previous / next live buttons and the slide to the next room */
.lx-feednav { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); z-index: 8; display: flex; flex-direction: column; gap: 12px; }
.lx-feednav button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background .15s, transform .15s; }
.lx-feednav button:hover { background: rgba(255, 255, 255, .28); transform: scale(1.06); }
.lx-feedslide { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; background: #000 var(--bg) center / cover no-repeat; transition: transform .34s cubic-bezier(.3, .7, .2, 1); }
.lx-feedslide::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); backdrop-filter: blur(18px); }
.lx-feedslide.up { transform: translateY(100%); }
.lx-feedslide.down { transform: translateY(-100%); }
.lx-feedslide.on { transform: none; }
.lx-feedslide .in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; }
.lx-feedslide .in img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.lx-feedslide .in b { font-size: 18px; }
/* BlackDiamond - 2026-11-29: gift bar under the player (TikTok-like): hover = bigger icon, price, send */
.lx-giftbar { position: relative; display: flex; gap: 10px; align-items: stretch; padding: 10px 14px; background: var(--surface); border-block-end: 1px solid var(--line); }
.lx-giftbar-row { flex: 1; min-width: 0; display: flex; gap: 2px; overflow: hidden; padding: 4px; border-radius: 14px; background: var(--surface-2); }
.lx-gb { position: relative; flex: 0 0 86px; height: 82px; border: 0; border-radius: 12px; background: transparent; color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; overflow: hidden; transition: background .15s; }
.lx-gb img { width: 38px; height: 38px; object-fit: contain; transition: transform .18s; }
.lx-gb b { max-width: 78px; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-gb small { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--text-3); }
.lx-gb small i, .lx-giftbar-top .coin { width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe08a, #f5b70a 60%, #c98a00); display: inline-block; }
.lx-gb .go { position: absolute; inset-inline: 0; bottom: 0; height: 24px; line-height: 24px; text-align: center; background: var(--live); color: #fff; font-size: 12px; font-weight: 800; transform: translateY(100%); transition: transform .16s; }
.lx-gb:hover, .lx-gb.on { background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.lx-gb:hover img, .lx-gb.on img { transform: translateY(-6px) scale(1.18); }
.lx-gb:hover b, .lx-gb.on b { visibility: hidden; height: 0; }
.lx-gb:hover .go, .lx-gb.on .go { transform: none; }
.lx-gb:disabled { opacity: .6; }
.lx-giftbar-more, .lx-giftbar-top { flex: none; width: 86px; border: 0; border-radius: 14px; background: var(--surface-2); color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12px; cursor: pointer; text-decoration: none; }
.lx-giftbar-more .ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); transition: transform .2s; }
.lx-giftbar-more.on .ic { transform: rotate(180deg); }
.lx-giftbar-top { width: 96px; }
.lx-giftbar-top b { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.lx-giftbar-top small { color: var(--primary); font-weight: 800; }
.lx-giftbar-top .coin { width: 22px; height: 22px; }
.lx-giftbar .lx-gifts { inset-inline-end: 112px; inset-block-end: calc(100% - 4px); inset-block-start: auto; width: 360px; }
.lx-giftbar .lx-gift-grid { grid-template-columns: repeat(3, 1fr); max-height: 320px; }
@media (max-width: 760px) { .lx-gb { flex-basis: 70px; } .lx-giftbar-more { width: 64px; } .lx-giftbar-top { width: 72px; } .lx-giftbar .lx-gifts { inset-inline-end: 8px; width: calc(100% - 16px); } }
/* BlackDiamond - 2026-11-29: chat like TikTok (picture + name row + text), a bit cleaner */
.lx-chat-top { flex: none; padding: 10px 14px 8px; border-block-end: 1px solid var(--line); }
.lx-chat-top:empty { display: none; }

.lx-chat-top .t { display: flex; gap: 6px; font-size: 13px; margin-block-end: 4px; }
.lx-chat-top .t span { color: var(--text-3); font-weight: 700; }
.lx-chat-top .r { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; }
.lx-chat-top .r img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.lx-chat-top .r .no { width: 14px; font-weight: 900; font-style: italic; color: var(--text-3); }
.lx-chat-top .r .n1 { color: #f43f5e; } .lx-chat-top .r .n2 { color: #f97316; } .lx-chat-top .r .n3 { color: #eab308; }
.lx-chat-top .r .nm { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-chat-top .r .val { color: var(--text-3); font-weight: 700; font-size: 12px; }
.lx-msg.row { display: flex; gap: 10px; align-items: flex-start; padding: 6px 6px; }
.lx-msg.row .av { flex: none; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.lx-msg.row .bd { min-width: 0; flex: 1; }
.lx-msg.row .hd { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: 12.5px; line-height: 18px; }
.lx-msg.row .hd .nm { color: var(--text-3) !important; font-weight: 700; }
.lx-msg.row .tx { margin-top: 1px; font-size: 14px; line-height: 1.4; color: var(--text); }
.lx-msg.row.gift { background: none; }
.lx-msg.row.gift .tx { color: var(--text-2); }
.lx-msg.row.gift .tx img { width: 22px; height: 22px; vertical-align: -6px; margin-inline: 2px; }
.lx-msg.row.gift .tx em { font-style: normal; font-weight: 900; color: var(--live); }
.lx-msg.sys, .lx-msg.like { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; color: var(--text-3); font-size: 12.5px; }
.lx-msg.like::before { content: none; }
.lx-msg .ic { flex: none; width: 22px; height: 22px; margin-inline-end: 6px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface-2); color: var(--text-2); font-size: 11px; font-weight: 800; font-style: italic; }
.lx-msg.like .ic { color: var(--live); font-style: normal; }
.lx-msg.join .ic { font-style: normal; }
.lx-msg.join .nm { color: var(--text-2) !important; }
/* BlackDiamond - 2026-11-20: ana sayfa tür sekmeleri ve etiketleri / home kind tabs and tags */
.lx-kind-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); margin: 0 0 16px; }
.lx-kind-tabs button { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font-weight: 700; font-size: 14px; cursor: pointer; }
.lx-kind-tabs button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }
.lx-kind-quest { background: #7c3aed !important; }
.lx-kind-voice { background: #0ea5e9 !important; }
/* BlackDiamond - 2026-11-20: sohbet: seviye resmi, ifade seçici, okunaklı satırlar / chat: level picture, emoji picker, readable lines */
.lx-msg { font-size: 14px; padding: 5px 8px; margin-bottom: 2px; }
.lx-msg .lvimg { height: 17px; vertical-align: -3px; margin-inline-end: 4px; }
.lx-emoji-pop { position: absolute; inset-inline: 10px; bottom: 96px; z-index: 6; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); box-sizing: border-box; gap: 2px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2); }
.lx-emoji-pop button { height: 36px; min-width: 0; padding: 0; border: 0; background: none; font-size: 20px; line-height: 1; border-radius: 8px; cursor: pointer; }
.lx-emoji-pop button:hover { background: var(--surface-2); }
/* BlackDiamond - 2026-11-29: the sound button sits low in the middle (the PK supporters are at the top) */
.lx-player .lx-unmute { inset-block-start: auto; inset-block-end: 64px; inset-inline-start: 50%; transform: translateX(-50%); }
[dir="rtl"] .lx-player .lx-unmute { transform: translateX(50%); }
/* BlackDiamond - 2026-11-29: gift banner inside the stream picture (left, a bit above the middle, like the app) */
.lx-vzone { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); height: 100%; aspect-ratio: 9 / 16; max-width: 100%; z-index: 7; pointer-events: none; }
.lx-vzone.wide { aspect-ratio: auto; width: min(100%, 720px); }
.lx-pk > .lx-gift-banner, .lx-vzone > .lx-gift-banner { position: absolute; width: auto; height: auto; overflow: visible; top: 30%; inset-inline-start: 10px; max-width: calc(100% - 20px); z-index: 7; }
.lx-pk > .lx-gift-banner { max-width: calc(50% - 16px); }
.lx-pk > .lx-gift-banner b, .lx-pk > .lx-gift-banner small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
/* BlackDiamond - 2026-11-29: room - plain dark sides around the picture (like TikTok), no blurred cover */
.lx-player { background: #120c12; }
.lx-player::before { display: none; }
.lx-player .lx-pk { background: #000; }
/* BlackDiamond - 2026-11-29: home featured live like TikTok - info on the left, the picture plays in the middle
   (preview, the room is not joined), click to open */
.lx-hero:has(.lx-fs) { grid-template-columns: minmax(0, 1fr); }
.lx-hero:has(.lx-fs) .lx-welcome { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 18px 24px; }
.lx-hero:has(.lx-fs) .lx-welcome h1 { font-size: 20px; margin: 0; }
.lx-hero:has(.lx-fs) .lx-welcome p { margin: 0; flex: 1; min-width: 220px; }
.lx-hero:has(.lx-fs) .lx-welcome .lx-actions { margin: 0; }
.lx-fs { position: relative; height: min(74vh, 660px); min-height: 380px; border-radius: 18px; overflow: hidden; background: #000; cursor: pointer; box-shadow: var(--shadow-2); }
.lx-fs-slide { position: absolute; inset: 0; }
.lx-fs-slide::before { content: ""; position: absolute; inset: -60px; background: #000 var(--bg) center / cover no-repeat; filter: blur(40px) brightness(.42) saturate(1.1); }
.lx-fs-stage { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); height: 100%; aspect-ratio: 9 / 16; max-width: 100%; display: flex; gap: 4px; background: #000; overflow: hidden; }
.lx-fs-stage.pk { aspect-ratio: 9 / 8; }
.lx-fs-stage .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.lx-fs-slide.playing .poster { opacity: 0; }
.lx-fs-stage .pv { position: relative; flex: 1; height: 100%; overflow: hidden; }
.lx-fs-stage .pv.l { order: 1; } .lx-fs-stage .pv.r { order: 2; }
.lx-fs-stage .pv > video, .lx-fs-stage .pv > div { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.lx-fs-stage .pv video { object-fit: cover !important; }
.lx-fs-left { position: absolute; z-index: 2; inset-inline-start: 4%; top: 50%; transform: translateY(-50%); width: 24%; max-width: 330px; color: #fff; }
.lx-fs-badge { display: inline-block; padding: 3px 7px; border-radius: 4px; background: #fe2c55; color: #fff; font-size: 13px; font-weight: 700; }
.lx-fs-left h3 { margin: 12px 0 8px; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.15; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lx-fs-left .cls { margin: 0 0 10px; font-size: 14px; opacity: .85; }
.lx-fs-left .who { display: flex; align-items: center; gap: 10px; }
.lx-fs-left .who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.lx-fs-left .who b { display: block; font-size: 17px; }
.lx-fs-left .who small { font-size: 14px; opacity: .85; }
.lx-fs-cta { position: absolute; z-index: 3; left: 50%; bottom: 12%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .32); backdrop-filter: blur(8px); color: #fff; font-size: 16px; font-weight: 700; white-space: nowrap; text-decoration: none; transition: background .15s; }
.lx-fs-cta:hover { background: rgba(0, 0, 0, .5); }
.lx-fs-cta .eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.lx-fs-cta .eq i { width: 3px; background: #fff; border-radius: 1px; animation: lxEq 1s ease-in-out infinite; }
.lx-fs-cta .eq i:nth-child(2) { animation-delay: -.35s; } .lx-fs-cta .eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes lxEq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.lx-fs-ctrl { position: absolute; z-index: 3; inset-inline-start: 22px; bottom: 20px; display: flex; gap: 14px; }
.lx-fs-ctrl button, .lx-fs-snd { width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.lx-fs-ctrl button:hover, .lx-fs-snd:hover { background: rgba(255, 255, 255, .14); }
.lx-fs.paused [data-act="pause"] { color: #fe2c55; }
.lx-fs-snd { position: absolute; z-index: 3; inset-inline-end: 22px; bottom: 20px; }
.lx-fs-nav { position: absolute; z-index: 3; inset-inline-end: 22px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; }
.lx-fs-nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lx-fs-nav button:hover { background: rgba(255, 255, 255, .28); }
@media (max-width: 1100px) {
  .lx-fs-left { top: auto; transform: none; bottom: 70px; width: auto; max-width: none; inset-inline-end: 80px; z-index: 4; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
  .lx-fs-left h3 { font-size: 22px; }
  .lx-fs-cta { bottom: 20px; font-size: 14px; padding: 10px 18px; }
  .lx-fs-slide::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); z-index: 1; pointer-events: none; }
}
@media (max-width: 640px) { .lx-fs { height: 70vh; } .lx-fs-ctrl { display: none; } .lx-fs-stage.pk { aspect-ratio: auto; width: 100%; } }
/* BlackDiamond - 2026-11-29: full screen = picture + gift bar + chat; the bottom hides when the mouse rests */
.lx-room.lx-full { height: 100vh; background: #120c12; }
.lx-room.lx-full .lx-room-main { position: relative; overflow: hidden; }
.lx-room.lx-full .lx-room-main > :not(.lx-player):not(.lx-giftbar) { display: none; }
.lx-room.lx-full .lx-player { height: 100vh; max-height: none; aspect-ratio: auto; }
.lx-room.lx-full .lx-giftbar { position: absolute; inset-inline: 0; bottom: 0; z-index: 9; background: rgba(18, 12, 18, .9); border: 0; backdrop-filter: blur(6px); transition: transform .3s ease, opacity .3s ease; }
.lx-room.lx-full .lx-giftbar-row, .lx-room.lx-full .lx-giftbar-more, .lx-room.lx-full .lx-giftbar-top { background: rgba(255, 255, 255, .06); color: #fff; }
.lx-room.lx-full .lx-gb { color: #fff; }
.lx-room.lx-full .lx-gb:hover, .lx-room.lx-full .lx-gb.on { background: rgba(255, 255, 255, .1); box-shadow: none; }
.lx-room.lx-full .lx-player-bar { opacity: 1; bottom: 104px; background: none; transition: opacity .3s; }
.lx-room.lx-full .lx-chat { height: 100vh; }
.lx-room.lx-full.idle .lx-giftbar { transform: translateY(100%); opacity: 0; pointer-events: none; }
.lx-room.lx-full.idle .lx-player-bar { opacity: 0; }
.lx-room.lx-full.idle .lx-player-bar { bottom: 0; }
.lx-room.lx-full.idle .lx-feednav { opacity: 0; transition: opacity .3s; }
.lx-room.lx-full.idle .lx-room-main { cursor: none; }
/* BlackDiamond - 2026-11-29: quick reactions over the chat input (TikTok-like chips) */
.lx-quick { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block-end: 8px; }
.lx-quick::-webkit-scrollbar { display: none; }
.lx-quick button { flex: none; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--surface-2); font-size: 15px; letter-spacing: -1px; cursor: pointer; transition: background .15s, transform .1s; }
.lx-quick button:hover { background: color-mix(in srgb, var(--primary) 16%, var(--surface-2)); }
.lx-quick button:active { transform: scale(.94); }
.lx-emoji-pop { bottom: 132px; }
/* BlackDiamond - 2026-11-29: the sides around the picture follow the theme (light in the light theme) */
:root { --player-bg: #eeecf4; }
[data-theme="dark"] { --player-bg: #120c12; }
.lx-player { background: var(--player-bg); }
:root:not([data-theme="dark"]) .lx-player-state { color: var(--text); background: radial-gradient(circle at 50% 40%, rgba(124, 58, 237, .16), var(--player-bg) 70%); }
:root:not([data-theme="dark"]) .lx-player-state p { color: var(--text-2); opacity: 1; }
:root:not([data-theme="dark"]) .lx-feednav button { background: rgba(20, 16, 30, .08); color: var(--text); }
:root:not([data-theme="dark"]) .lx-feednav button:hover { background: rgba(20, 16, 30, .16); }
:root:not([data-theme="dark"]) .lx-room.lx-full .lx-feednav button { background: rgba(255, 255, 255, .14); color: #fff; }
/* BlackDiamond - 2026-11-29: light theme - blurred cover on the sides again (dark theme stays plain dark) */
:root:not([data-theme="dark"]) .lx-player::before { display: block; }
:root:not([data-theme="dark"]) .lx-room.lx-full .lx-player::before { display: none; }
:root:not([data-theme="dark"]) .lx-feednav button { background: rgba(255, 255, 255, .18); color: #fff; }
:root:not([data-theme="dark"]) .lx-feednav button:hover { background: rgba(255, 255, 255, .3); }
/* BlackDiamond - 2026-11-29: dark theme - the cover as a deep, dark colour wash with a soft vignette (not plain black) */
[data-theme="dark"] .lx-player::before { display: block; filter: blur(60px) brightness(.26) saturate(1.5); }
[data-theme="dark"] .lx-player { background: radial-gradient(ellipse at 50% 45%, #1d1424 0%, #0d090f 75%); }
[data-theme="dark"] .lx-player-in::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, transparent 45%, rgba(0, 0, 0, .55) 100%); z-index: 0; }
[data-theme="dark"] .lx-room.lx-full .lx-player::before { display: block; }
/* BlackDiamond - 2026-11-29: full screen - black with a faint grey stone wall texture, very slightly blurred (both themes) */
.lx-room.lx-full .lx-player { background: #0a0a0c; }
.lx-room.lx-full .lx-player::before, :root:not([data-theme="dark"]) .lx-room.lx-full .lx-player::before, [data-theme="dark"] .lx-room.lx-full .lx-player::before {
  display: block; inset: -4px; transform: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.035 .06' numOctaves='3' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .7 -.15'/%3E%3C/filter%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='1' seed='2'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .35 0'/%3E%3C/filter%3E%3Crect x='-26.5' y='1.5' width='84.0' height='35.0' rx='5.5' fill='%23fff' fill-opacity='0.04' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M-23.0 3.0H53.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='60.5' y='1.5' width='98.0' height='35.0' rx='3.8' fill='%23fff' fill-opacity='0.08' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M64.0 3.0H154.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='161.5' y='1.5' width='78.0' height='35.0' rx='6.1' fill='%23000' fill-opacity='0.07' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M165.0 3.0H235.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='242.5' y='1.5' width='77.0' height='35.0' rx='6.4' fill='%23fff' fill-opacity='0.09' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M246.0 3.0H315.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='-30.5' y='39.5' width='86.0' height='27.0' rx='5.0' fill='%23fff' fill-opacity='0.07' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M-27.0 41.0H51.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='58.5' y='39.5' width='61.0' height='27.0' rx='4.1' fill='%23fff' fill-opacity='0.09' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M62.0 41.0H115.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='122.5' y='39.5' width='60.0' height='27.0' rx='4.3' fill='%23fff' fill-opacity='0.08' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M126.0 41.0H178.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='185.5' y='39.5' width='100.0' height='27.0' rx='3.1' fill='%23fff' fill-opacity='0.07' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M189.0 41.0H281.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='288.5' y='39.5' width='81.0' height='27.0' rx='6.4' fill='%23000' fill-opacity='0.04' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M292.0 41.0H365.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='-28.5' y='69.5' width='89.0' height='43.0' rx='3.1' fill='%23fff' fill-opacity='0.05' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M-25.0 71.0H56.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='63.5' y='69.5' width='88.0' height='43.0' rx='6.7' fill='%23fff' fill-opacity='0.07' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M67.0 71.0H147.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='154.5' y='69.5' width='99.0' height='43.0' rx='6.9' fill='%23000' fill-opacity='0.07' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M158.0 71.0H249.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='256.5' y='69.5' width='60.0' height='43.0' rx='5.3' fill='%23fff' fill-opacity='0.10' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M260.0 71.0H312.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='-4.5' y='115.5' width='77.0' height='31.0' rx='4.1' fill='%23fff' fill-opacity='0.06' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M-1.0 117.0H68.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='75.5' y='115.5' width='68.0' height='31.0' rx='3.1' fill='%23000' fill-opacity='0.10' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M79.0 117.0H139.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='146.5' y='115.5' width='58.0' height='31.0' rx='3.5' fill='%23fff' fill-opacity='0.09' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M150.0 117.0H200.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='207.5' y='115.5' width='54.0' height='31.0' rx='3.0' fill='%23000' fill-opacity='0.10' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M211.0 117.0H257.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='264.5' y='115.5' width='83.0' height='31.0' rx='3.7' fill='%23fff' fill-opacity='0.07' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M268.0 117.0H343.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='-42.5' y='149.5' width='89.0' height='49.0' rx='3.8' fill='%23fff' fill-opacity='0.07' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M-39.0 151.0H42.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='49.5' y='149.5' width='51.0' height='49.0' rx='4.5' fill='%23000' fill-opacity='0.07' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M53.0 151.0H96.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='103.5' y='149.5' width='87.0' height='49.0' rx='3.9' fill='%23000' fill-opacity='0.11' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M107.0 151.0H186.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='193.5' y='149.5' width='74.0' height='49.0' rx='6.9' fill='%23000' fill-opacity='0.12' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M197.0 151.0H263.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='270.5' y='149.5' width='77.0' height='49.0' rx='3.1' fill='%23fff' fill-opacity='0.07' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M274.0 151.0H343.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='-39.5' y='201.5' width='96.0' height='17.0' rx='6.4' fill='%23fff' fill-opacity='0.03' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M-36.0 203.0H52.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='59.5' y='201.5' width='88.0' height='17.0' rx='3.6' fill='%23000' fill-opacity='0.05' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M63.0 203.0H143.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='150.5' y='201.5' width='90.0' height='17.0' rx='6.1' fill='%23000' fill-opacity='0.10' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M154.0 203.0H236.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='243.5' y='201.5' width='59.0' height='17.0' rx='4.5' fill='%23fff' fill-opacity='0.04' stroke='%23000' stroke-opacity='.5' stroke-width='2.2'/%3E%3Cpath d='M247.0 203.0H298.0' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect width='300' height='220' filter='url%28%23g%29'/%3E%3Crect width='300' height='220' filter='url%28%23n%29' opacity='.5'/%3E%3C/svg%3E") repeat; background-size: 300px 220px;
  filter: blur(1.2px) grayscale(1); opacity: .27; }
.lx-room.lx-full .lx-player-in::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0, 0, 0, .65) 100%); }
