/* =====================================================================
   Oley Kino — premium dark cinema UI
   Palette: projector black, two panel greys, neon violet + signal blue.
   One memorable thing: marquee-style condensed film titles lit by a projector cone.
   ===================================================================== */
:root {
  /* tied to the global design system (Admin → Səhifə qurucusu → Qlobal dizayn / Dizayn və görünüş) */
  --k-black: var(--z-bg, #050407); --k-panel: var(--z-surface, #121019); --k-panel-2: color-mix(in srgb, var(--k-panel) 86%, #fff 6%); --k-line: rgba(255,255,255,.07);
  --k-violet: var(--z-primary, #9B5CFF); --k-blue: var(--z-second, #2EA8FF); --k-white: var(--z-text, #F2EEF8); --k-muted: #9E97AE;
  --k-beam: linear-gradient(var(--z-grad-angle, 115deg), var(--k-violet), var(--k-blue));
  --k-display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
}
.cp [hidden], .cin [hidden], .room [hidden], .room-root [hidden], .csv [hidden], .sheet [hidden] { display: none !important; }
.cin { min-height: 100dvh; background: var(--k-black); color: var(--k-white); padding-bottom: calc(var(--nav-h) + var(--safe-b) + 20px); }
.cin-wrap { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.cin-wrap.pad { padding-top: 8px; }
.avatar.xs { width: 26px; height: 26px; font-size: 12px; }
.small { font-size: 12.5px; }
.m-only { display: initial; } .room-peek.m-only { display: flex; } .d-only { display: none; }

/* ---------- header ---------- */
.cin-head { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: linear-gradient(rgba(5,4,7,.92), rgba(5,4,7,.55) 70%, transparent); backdrop-filter: blur(10px); }
.cin-logo { font-family: var(--k-display); font-weight: 800; font-size: 30px; letter-spacing: .02em; line-height: 1; display: inline-flex; align-items: baseline; }
.cin-logo .dot { color: var(--k-violet); }
.cin-logo .az { background: var(--k-beam); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cin-head .grow { flex: 1; }
.lang-sw { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--k-panel); border: 1px solid var(--k-line); }
.lang-sw a { font-size: 11.5px; font-weight: 700; padding: 5px 8px; border-radius: 999px; color: var(--k-muted); }
.lang-sw a.on { background: var(--k-panel-2); color: var(--k-white); }

/* ---------- buttons on dark imagery ---------- */
.cin .btn.primary, .wl .btn.primary, .room .btn.primary, .gate-card .btn.primary, .csv .btn.primary, .sheet .gc-form .btn.primary { background: var(--k-beam); box-shadow: 0 12px 34px -12px rgba(155,92,255,.8); }
.btn.glass { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(12px); }
.btn.glass:hover { background: rgba(255,255,255,.16); }
.btn.icon-only { width: 54px; padding: 0; }
.btn.icon-only.fav-on { color: #FF5C8A; border-color: rgba(255,92,138,.5); }
.btn.icon-only.fav-on .ico { fill: currentColor; }
.cin .link { color: var(--k-muted); font-size: 14px; display: inline-flex; align-items: center; gap: 2px; }
.cin .link:hover { color: var(--k-white); }

/* ---------- hero: the projector ---------- */
.hero { position: relative; height: min(78vh, 720px); min-height: 460px; margin-top: -68px; overflow: hidden; }
.hero-skel { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.hero-slide.on { opacity: 1; pointer-events: auto; }
.hero .hero-bg { position: absolute; inset: 0; z-index: 0; background: none; } /* app.css has an older .hero-bg (fixed, z-index -1, dark overlay) — not for the film hero */
.hero .hero-bg::after { content: none; }
.hero-bg img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-bg .aurora { position: absolute; inset: 0; z-index: 0; }
.hero-bg picture { position: absolute; inset: 0; z-index: 1; }
img.img-failed { visibility: hidden; }
.hero-slide.on .hero-bg img { animation: kenburns 18s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.aurora { position: absolute; inset: 0; background: radial-gradient(60% 70% at 70% 10%, rgba(155,92,255,.55), transparent 60%), radial-gradient(50% 60% at 95% 60%, rgba(46,168,255,.4), transparent 60%), var(--k-black); }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5,4,7,.95) 0%, rgba(5,4,7,.72) 38%, rgba(5,4,7,.1) 70%),
  linear-gradient(0deg, var(--k-black) 0%, rgba(5,4,7,0) 45%); }
/* light cone from the projector booth, top-left */
/* phones: the film image stays visible at the top, the text sits on a dark fade at the bottom */
@media (max-width: 767px) {
  .hero .hero-bg img { object-position: center 20%; }
  .hero .hero-shade { background: linear-gradient(0deg, var(--k-black) 0%, rgba(5,4,7,.88) 34%, rgba(5,4,7,.35) 62%, rgba(5,4,7,.1) 80%, rgba(5,4,7,.55) 100%); }
}
.hero-shade::after { content: ""; position: absolute; left: -10%; top: -30%; width: 75%; height: 140%; background: conic-gradient(from 125deg at 0% 0%, transparent 0deg, rgba(155,92,255,.16) 12deg, rgba(46,168,255,.10) 26deg, transparent 40deg); filter: blur(18px); pointer-events: none; mix-blend-mode: screen; }
.hero-in { position: absolute; left: 0; right: 0; bottom: 56px; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.hero-in > * { max-width: 620px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: #CDB8FF; margin-bottom: 10px; }
.hero h1, .film-info h1, .gc-in h1 { font-family: var(--k-display); font-weight: 800; font-size: clamp(46px, 8.5vw, 104px); line-height: .9; letter-spacing: -.005em; text-shadow: 0 6px 40px rgba(0,0,0,.6); }
.hero-slide.brand h1 { font-size: clamp(40px, 6.5vw, 82px); }
.hero-in p { color: #D9D2E6; font-size: 15.5px; line-height: 1.6; margin-top: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; font-size: 14px; color: #E2DCEC; font-weight: 500; }
.b-r { color: #FFD15C; font-weight: 700; }
.b-age, .b-q { font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; border: 1px solid rgba(255,255,255,.35); }
.b-q { border-color: rgba(46,168,255,.6); color: #8FD3FF; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-dots { position: absolute; right: 22px; bottom: 26px; display: flex; gap: 8px; }
.hero-dots button { width: 22px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); transition: width .3s, background .3s; }
.hero-dots button.on { width: 40px; background: var(--k-beam); }

/* ---------- sections & rails ---------- */
.cin-sec { margin-top: 30px; }
.cin-sec-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.cin-sec-h h2 { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.cin-h1 { font-family: var(--k-display); font-weight: 800; font-size: 46px; display: flex; align-items: center; gap: 12px; margin: 8px 0 16px; }
.cin-h1 .ico { width: 34px; height: 34px; color: var(--k-violet); }
.sub-h { font-size: 16px; margin: 18px 0 10px; }
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(138px, 17%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail.wide { grid-auto-columns: minmax(250px, 28%); }
.rail.rooms { grid-auto-columns: minmax(270px, 31%); }
.rail-arrow { display: none; position: absolute; top: 34%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: rgba(18,16,25,.9); border: 1px solid var(--k-line); place-items: center; }
.rail-arrow.l { left: -10px; } .rail-arrow.r { right: -10px; }

/* ---------- movie card ---------- */
.mc { min-width: 0; }
.mc-poster { position: relative; aspect-ratio: 2/3; border-radius: 12px; overflow: hidden; background: var(--k-panel); transition: transform .25s var(--ease), box-shadow .25s; }
.mc.wide .mc-poster { aspect-ratio: 16/9; }
.mc-poster > img, .mc-ph { width: 100%; height: 100%; object-fit: cover; }
.mc-ph { display: grid; place-items: end start; padding: 12px; background: radial-gradient(90% 70% at 20% 0%, rgba(155,92,255,.45), transparent 70%), radial-gradient(80% 60% at 100% 100%, rgba(46,168,255,.3), transparent 70%), var(--k-panel-2); }
.mc-ph span { font-family: var(--k-display); font-weight: 800; font-size: 22px; line-height: 1; }
.mc-link { position: absolute; inset: 0; z-index: 1; }
.mc-badges { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; justify-content: space-between; gap: 6px; pointer-events: none; }
.mc-badges span { background: rgba(5,4,7,.72); backdrop-filter: blur(6px); font-size: 11.5px; font-weight: 700; padding: 3px 7px; border-radius: 6px; border: 0; }
.mc-poster .b-age { position: absolute; bottom: 8px; left: 8px; background: rgba(5,4,7,.72); }
.mc-acts { position: absolute; z-index: 2; right: 8px; bottom: 8px; display: flex; gap: 6px; }
.mc-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(5,4,7,.72); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); }
.mc-btn .ico { width: 17px; height: 17px; }
.mc-btn.play { background: var(--k-beam); border: 0; }
.mc-btn.play .ico { fill: #fff; stroke: none; }
.mc-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.18); z-index: 2; }
.mc-prog i { display: block; height: 100%; background: var(--k-beam); }
.mc-t { display: block; margin-top: 8px; font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-m { color: var(--k-muted); font-size: 12.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) {
  .mc-acts { opacity: 0; transform: translateY(6px); transition: .2s var(--ease); }
  .mc:hover .mc-acts, .mc:focus-within .mc-acts { opacity: 1; transform: none; }
  .mc:hover .mc-poster { transform: translateY(-4px); box-shadow: 0 18px 40px -16px rgba(155,92,255,.55); }
}
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px 14px; }

/* ---------- genres ---------- */
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.genre { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: var(--k-panel); border: 1px solid var(--k-line); transition: border-color .2s; }
.genre:hover { border-color: rgba(155,92,255,.5); }
.genre .gi { font-size: 22px; }
.genre b { flex: 1; font-size: 14px; }
.genre small { color: var(--k-muted); }

/* ---------- live rooms ---------- */
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #FF4D6A; box-shadow: 0 0 0 4px rgba(255,77,106,.2); animation: pulse 1.6s infinite; display: inline-block; }
.live { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: #E8314F; color: #fff; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.live-empty { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px; border-radius: 14px; background: var(--k-panel); border: 1px dashed rgba(155,92,255,.35); color: var(--k-muted); }
.live-empty .ico { color: var(--k-violet); }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.rc { display: block; border-radius: 14px; overflow: hidden; background: var(--k-panel); border: 1px solid var(--k-line); transition: border-color .2s; }
.rc:hover { border-color: rgba(46,168,255,.5); }
.rc.closed { opacity: .5; }
.rc-art { position: relative; aspect-ratio: 16/8; }
.rc-art img, .rc-art .mc-ph { width: 100%; height: 100%; object-fit: cover; }
.rc-art .live { position: absolute; top: 10px; left: 10px; }
.rc-lock { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(5,4,7,.75); }
.rc-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.rc-body b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; }
.rc-foot .grow { flex: 1; }
.rc-n { display: inline-flex; align-items: center; gap: 4px; color: #8FD3FF; font-weight: 700; }

/* ---------- stories rail ---------- */
.cs-rail { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.cs-rail::-webkit-scrollbar { display: none; }
.cs { flex: none; width: 84px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cs-ring { width: 80px; height: 112px; border-radius: 14px; padding: 2.5px; background: var(--k-beam); }
.cs-in { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 12px; overflow: hidden; background: var(--k-panel); border: 2px solid var(--k-black); }
.cs-in img { width: 100%; height: 100%; object-fit: cover; }
.cs-name { font-size: 12px; width: 100%; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #D9D2E6; }

/* ---------- empty / footer ---------- */
.cin-empty { text-align: center; padding: 46px 16px; color: var(--k-muted); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cin-empty .ico { width: 46px; height: 46px; color: var(--k-violet); }
.cin-empty h3 { color: var(--k-white); font-size: 18px; }
.cin-footer { margin-top: 48px; padding: 28px 0 8px; border-top: 1px solid var(--k-line); display: flex; flex-direction: column; gap: 6px; }
.cin-footer .footer { padding-left: 0; padding-right: 0; text-align: left; align-items: flex-start; }

/* ---------- catalogue ---------- */
.cat-tools { display: flex; gap: 10px; margin-bottom: 12px; }
.cat-search { flex: 1; height: 50px; }
.cat-sort { height: 50px; width: 160px; }
.cat-genres { margin-bottom: 18px; }
.cin .chip { background: var(--k-panel); }
.cin .chip.on { background: var(--k-beam); box-shadow: none; }

/* ---------- film page ---------- */
.film { position: relative; }
.film-bg { position: absolute; inset: 0 0 auto; height: 560px; overflow: hidden; }
.film-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); }
.film-shade { position: absolute; inset: 0 0 auto; height: 562px; background: linear-gradient(0deg, var(--k-black) 0%, rgba(5,4,7,.78) 45%, rgba(5,4,7,.5) 100%); }
.film > .cin-head, .film > .cin-wrap { position: relative; }
.film-top { display: grid; grid-template-columns: 1fr; gap: 20px; padding-top: 110px; }
.film-poster { width: 46%; max-width: 230px; border-radius: 14px; overflow: hidden; aspect-ratio: 2/3; box-shadow: 0 30px 60px -20px #000; }
.film-poster img, .film-poster .mc-ph { width: 100%; height: 100%; object-fit: cover; }
.film-info h1 { font-size: clamp(44px, 7vw, 86px); }
.film-genres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.film-desc { margin-top: 16px; max-width: 64ch; color: #DCD5E8; line-height: 1.65; font-size: 15.5px; }
.film-subs { margin-top: 8px; font-size: 13px; }
.sheet.sheet-video { max-width: 960px; padding: 0; background: #000; overflow: hidden; }
.trailer { aspect-ratio: 16/9; }
.trailer iframe { width: 100%; height: 100%; border: 0; }
.trailer .cp { height: 100%; }

/* ---------- watch page ---------- */
.watch { min-height: 100dvh; background: #000; display: flex; flex-direction: column; }
.watch-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--k-black); }
.watch-top .grow { flex: 1; min-width: 0; }
.watch-top b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.watch-top .muted { font-size: 12.5px; }
.watch-stage { flex: 1; min-height: 0; display: flex; }
.watch-stage.cp { max-height: calc(100dvh - 64px); }

/* ---------- Group Cinema lobby ---------- */
.gc-hero { display: grid; gap: 24px; padding: 26px 20px; border-radius: 20px; background: radial-gradient(80% 120% at 0% 0%, rgba(155,92,255,.25), transparent 60%), var(--k-panel); border: 1px solid var(--k-line); overflow: hidden; }
.gc-in h1 { font-size: clamp(38px, 6vw, 70px); }
.gc-in p { margin-top: 10px; max-width: 52ch; line-height: 1.55; }
.gc-code { display: flex; gap: 8px; margin-top: 16px; max-width: 420px; }
.gc-code .input { flex: 1; height: 52px; }
.gc-code .btn { height: 52px; }
.gc-art { display: none; }
.gc-screen { height: 120px; border-radius: 10px 10px 40% 40% / 10px 10px 18px 18px; background: var(--k-beam); display: grid; place-items: center; font-size: 34px; box-shadow: 0 30px 70px -10px rgba(155,92,255,.7); }
.gc-seats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 26px; padding: 0 16px; }
.gc-seats i { height: 26px; border-radius: 8px 8px 4px 4px; background: var(--k-panel-2); border-top: 3px solid rgba(155,92,255,.6); }
.gc-seats i:nth-child(3), .gc-seats i:nth-child(7) { border-top-color: var(--k-blue); box-shadow: 0 -8px 18px -6px var(--k-blue); }
.gc-form { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.pick-film { width: 100%; display: flex; align-items: center; gap: 12px; justify-content: space-between; min-height: 64px; padding: 8px 14px; border-radius: var(--r); background: rgba(22,16,34,.72); border: 1px solid var(--line-2); text-align: left; }
.pf { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pf img { width: 40px; height: 56px; object-fit: cover; border-radius: 6px; }
.pf span { display: flex; flex-direction: column; min-width: 0; }
.pf b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.range { width: 100%; accent-color: var(--k-violet); }
.row-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; }
.pick-list { display: flex; flex-direction: column; gap: 6px; max-height: 55vh; overflow: auto; margin-top: 12px; }
.pick-item { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); text-align: left; font-weight: 600; }
.pick-item:hover { background: rgba(255,255,255,.08); }
.pick-item.danger { color: #FF8A95; }

/* ---------- room gate ---------- */
.room-root { min-height: 100dvh; background: var(--k-black); }
.room-loading { min-height: 100dvh; display: grid; place-items: center; }
.room-gate { position: relative; min-height: 100dvh; display: grid; place-items: center; padding: 20px; }
.gate-bg { position: absolute; inset: 0; overflow: hidden; }
.gate-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.4); transform: scale(1.1); }
.gate-card { position: relative; width: 100%; max-width: 440px; padding: 26px 22px; border-radius: 22px; background: rgba(18,16,25,.88); backdrop-filter: blur(16px); border: 1px solid var(--k-line); display: flex; flex-direction: column; gap: 14px; }
.gate-card.center { align-items: center; text-align: center; }
.gate-card h1 { font-family: var(--k-display); font-size: 40px; font-weight: 800; line-height: 1; }
.gate-card .live { align-self: flex-start; }
.gate-back { position: absolute; right: 10px; top: 10px; }
.gate-film { display: flex; gap: 12px; align-items: center; }
.gate-film img { width: 56px; height: 80px; border-radius: 8px; object-fit: cover; }
.gate-film .muted { font-size: 13px; display: flex; align-items: center; gap: 4px; }

/* ---------- room ---------- */
.room { height: 100dvh; display: grid; grid-template-columns: 1fr; background: var(--k-black); }
.room-main { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.room-top { display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.room-top .grow { flex: 1; min-width: 0; }
.rt-name { font-size: 16px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-sub { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.room-video { position: relative; background: #000; aspect-ratio: 16/9; width: 100%; max-height: 72dvh; }
.room-video.cp { height: auto; }
.room-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--k-line); background: var(--k-panel); flex-wrap: wrap; }
.rb-film { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 200px; }
.rb-film img { width: 34px; height: 48px; border-radius: 6px; object-fit: cover; }
.rb-film b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-film .muted { font-size: 12.5px; }
.rb-btns { display: flex; gap: 6px; align-items: center; }
.rb-b { position: relative; height: 40px; min-width: 40px; padding: 0 10px; border-radius: 10px; background: var(--k-panel-2); border: 1px solid var(--k-line); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: 13px; }
.rb-b .ico { width: 19px; height: 19px; }
.rb-b.danger { color: #FF8A95; }
.room:not(.ctl) [data-rb="toggle"] { opacity: .45; }
.rb-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; border-radius: 9px; background: #E8314F; font-size: 10.5px; display: grid; place-items: center; padding: 0 4px; }
.room-side { display: flex; flex-direction: column; min-height: 0; background: var(--k-panel); border-left: 1px solid var(--k-line); }
.rs-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--k-line); }
.rs-tabs button { flex: 1; height: 38px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--k-muted); display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.rs-tabs button.on { background: var(--k-panel-2); color: var(--k-white); }
.rs-tabs .rs-x { flex: none; width: 38px; }
.rs-pane { display: none; flex: 1; min-height: 0; flex-direction: column; }
.rs-pane.on { display: flex; }
.rs-pane[data-pane="people"], .rs-pane[data-pane="info"] { overflow: auto; padding: 10px; }
.chat-list { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.msg { display: flex; gap: 8px; align-items: flex-end; position: relative; }
.msg.mine { flex-direction: row-reverse; }
.bub { max-width: 82%; padding: 7px 11px 6px; border-radius: 14px 14px 14px 4px; background: var(--k-panel-2); font-size: 14px; line-height: 1.4; word-wrap: break-word; overflow-wrap: anywhere; }
.msg.mine .bub { border-radius: 14px 14px 4px 14px; background: linear-gradient(115deg, rgba(155,92,255,.55), rgba(46,168,255,.4)); }
.bub .who { display: block; font-size: 12px; color: #C6B1FF; margin-bottom: 1px; }
.bub .tx { white-space: pre-wrap; }
.bub .tm { font-size: 10.5px; color: rgba(255,255,255,.5); margin-left: 8px; float: right; margin-top: 4px; }
.rq { font-size: 12px; padding: 4px 8px; margin-bottom: 4px; border-left: 2px solid var(--k-blue); background: rgba(0,0,0,.2); border-radius: 4px; color: #CFC8DB; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-acts { display: none; gap: 2px; align-self: center; }
.msg-acts button { width: 28px; height: 28px; border-radius: 8px; background: var(--k-panel-2); font-size: 13px; }
.msg.sel .msg-acts { display: flex; }
@media (hover: hover) { .msg:hover .msg-acts { display: flex; } }
.sys { align-self: center; font-size: 12px; color: var(--k-muted); padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.04); text-align: center; max-width: 92%; }
.sys.warn { color: #FFD38A; background: rgba(245,165,36,.12); }
.sys.bad { color: #FF9AA6; background: rgba(255,77,94,.13); }
.chat-muted { margin: 0 10px 6px; padding: 8px 12px; border-radius: 10px; background: rgba(255,77,94,.12); color: #FF9AA6; font-size: 13px; }
.chat-reply { display: flex; align-items: center; gap: 8px; margin: 0 10px 6px; padding: 6px 10px; border-radius: 10px; background: var(--k-panel-2); font-size: 13px; }
.chat-reply span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-emo { display: flex; gap: 2px; padding: 0 8px; overflow-x: auto; scrollbar-width: none; }
.chat-emo button { font-size: 20px; padding: 4px 6px; border-radius: 8px; }
.chat-emo button:hover { background: var(--k-panel-2); }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 8px 10px calc(10px + var(--safe-b)); }
.chat-form textarea { flex: 1; resize: none; min-height: 44px; max-height: 120px; padding: 11px 14px; border-radius: 22px; background: var(--k-black); border: 1px solid var(--line-2); outline: 0; font-size: 15px; line-height: 1.35; }
.chat-form textarea:focus { border-color: rgba(155,92,255,.7); }
.chat-form textarea:disabled { opacity: .5; }
.chat-send { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--k-beam); flex: none; }
.chat-send:disabled { opacity: .5; }
.people { display: flex; flex-direction: column; gap: 4px; }
.person { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; }
.person:hover { background: rgba(255,255,255,.03); }
.person .grow { flex: 1; min-width: 0; }
.person .muted { font-size: 12.5px; }
.info-card { padding: 14px; border-radius: 14px; background: var(--k-black); border: 1px solid var(--k-line); display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.info-card h4 { font-size: 15px; }
.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.kv span { color: var(--k-muted); }
.mono { font-family: ui-monospace, Menlo, monospace; letter-spacing: .08em; }
.invite-box { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px; border-radius: 14px; background: var(--k-black); border: 1px solid var(--k-line); }
.invite-box code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.invite-code { text-align: center; font-family: var(--k-display); font-size: 44px; font-weight: 800; letter-spacing: .14em; margin: 14px 0 4px; background: var(--k-beam); -webkit-background-clip: text; background-clip: text; color: transparent; }
.side-scrim { display: none; }
.room-peek { margin: 12px; padding: 14px; border-radius: 16px; background: var(--k-panel); border: 1px solid var(--k-line); display: flex; flex-direction: column; gap: 8px; text-align: left; flex: 1; min-height: 0; overflow: hidden; justify-content: flex-start; }
.rp-h { display: flex; align-items: center; gap: 6px; font-weight: 700; color: #C6B1FF; }
.rp-list { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.rp-m { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-m b { color: #C6B1FF; font-weight: 600; }
.tap-sync { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(5,4,7,.72); backdrop-filter: blur(4px); text-align: center; padding: 20px; }
.tap-sync .ico { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--k-beam); fill: #fff; stroke: none; }
.tap-sync small { color: #D9D2E6; max-width: 40ch; }

/* mobile: video first, chat/people slide up as a panel */
@media (max-width: 899px) {
  .room-side { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: 64dvh; border-radius: 20px 20px 0 0; border: 1px solid var(--k-line); transform: translateY(102%); transition: transform .3s var(--ease); box-shadow: 0 -20px 60px rgba(0,0,0,.6); }
  .room-side.open { transform: none; }
  .rs-grip { display: block; width: 44px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); margin: 8px auto 0; }
  .room.side-open .side-scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.4); }
  .rb-btns { width: 100%; justify-content: space-between; }
  .rb-b.danger { padding: 0 10px; }
}
@media (min-width: 900px) {
  .m-only { display: none !important; } .d-only { display: initial; }
  .room { grid-template-columns: 1fr 370px; }
  .room-main { overflow: auto; }
  .room-video, .room-video.cp { aspect-ratio: auto; flex: 1; height: auto; min-height: 320px; max-height: none; }
}

/* ---------- player ---------- */
.cp { position: relative; background: #000; width: 100%; height: 100%; overflow: hidden; user-select: none; -webkit-user-select: none; }
.watch-stage.cp, .room-video .cp, .trailer .cp { min-height: 200px; }
.cp-stage { position: absolute; inset: 0; }
.cp-video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.cp-embed { position: absolute; inset: 0; z-index: 9; background: #000; }
.cp-embed iframe { width: 100%; height: 100%; border: 0; }
.cp-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent 35%), linear-gradient(180deg, rgba(0,0,0,.55), transparent 22%); opacity: 1; transition: opacity .3s; pointer-events: none; }
.cp-tap { position: absolute; top: 15%; bottom: 25%; width: 32%; z-index: 1; }
.cp-tap.l { left: 0; } .cp-tap.r { right: 0; }
.cp-big { position: absolute; z-index: 3; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; display: grid; place-items: center; background: rgba(155,92,255,.85); box-shadow: 0 0 0 10px rgba(155,92,255,.18); transition: opacity .25s, transform .2s; }
.cp-big svg { width: 34px; height: 34px; }
.cp.playing .cp-big { opacity: 0; pointer-events: none; transform: scale(.8); }
.cp-spin { position: absolute; z-index: 4; left: 50%; top: 50%; margin: -24px 0 0 -24px; }
.cp-spin span { display: block; width: 48px; height: 48px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--k-blue); animation: spin .8s linear infinite; }
.cp-msg { position: absolute; z-index: 6; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 20px; background: rgba(5,4,7,.85); }
.cp-msg p { color: var(--k-muted); margin-top: 6px; }
.cp-top { position: absolute; z-index: 3; top: 0; left: 0; right: 0; padding: 12px 16px; display: flex; align-items: center; gap: 10px; transition: opacity .3s; }
.cp-title { font-weight: 700; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 6px #000; }
.cp-lock { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(5,4,7,.7); font-size: 12px; font-weight: 600; }
.cp-lock svg { width: 14px; height: 14px; }
.cp-bar { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; padding: 0 12px 8px; transition: opacity .3s, transform .3s; }
.cp-seek { position: relative; height: 22px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.cp-seek::before { content: ""; position: absolute; left: 0; right: 0; height: 4px; border-radius: 2px; background: rgba(255,255,255,.22); }
.cp-buf, .cp-fill { position: absolute; left: 0; height: 4px; border-radius: 2px; }
.cp-buf { background: rgba(255,255,255,.35); }
.cp-fill { background: var(--k-beam); }
.cp-knob { position: absolute; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(155,92,255,.35); transform: scale(0); transition: transform .15s; }
.cp-seek:hover .cp-knob, .cp.dragging .cp-knob { transform: scale(1); }
.cp-seek:hover::before, .cp-seek:hover .cp-fill, .cp-seek:hover .cp-buf { height: 6px; }
.cp-hover { position: absolute; bottom: 22px; transform: translateX(-50%); padding: 3px 7px; border-radius: 6px; background: rgba(5,4,7,.9); font-size: 12px; font-weight: 600; pointer-events: none; }
.cp.locked .cp-seek { cursor: not-allowed; }
.cp.locked .cp-knob { display: none; }
.cp.locked [data-act="toggle"], .cp.locked [data-act="back"], .cp.locked [data-act="fwd"] { opacity: .4; }
.cp-row { display: flex; align-items: center; gap: 4px; }
.cp-row .grow { flex: 1; }
.cp-b { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.cp-b.sm { width: 38px; height: 38px; }
.cp-b svg { width: 24px; height: 24px; }
.cp-b:hover { background: rgba(255,255,255,.1); }
.cp-vol { display: flex; align-items: center; }
.cp-vol input { width: 0; opacity: 0; transition: width .2s, opacity .2s; accent-color: var(--k-violet); }
.cp-vol:hover input, .cp-vol input:focus { width: 80px; opacity: 1; }
.cp-time { font-size: 13px; font-variant-numeric: tabular-nums; color: #E6E0EF; margin-left: 4px; white-space: nowrap; }
.cp-menu { position: absolute; z-index: 7; right: 12px; bottom: 64px; min-width: 230px; max-height: 70%; overflow: auto; padding: 6px; border-radius: 14px; background: rgba(18,16,25,.96); border: 1px solid var(--k-line); backdrop-filter: blur(12px); }
.cp-mi { width: 100%; display: flex; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 9px; font-size: 14px; text-align: left; }
.cp-mi:hover, .cp-mi.on { background: var(--k-panel-2); }
.cp-mi.head { color: var(--k-muted); }
.cp-mv { color: var(--k-muted); white-space: nowrap; }
.cp-mi.on .cp-mv { color: var(--k-blue); }
.cp-note { padding: 10px 12px; color: var(--k-muted); font-size: 13px; max-width: 240px; }
.cp.idle { cursor: none; }
.cp.idle .cp-bar, .cp.idle .cp-top, .cp.idle .cp-shade { opacity: 0; pointer-events: none; }
.cp.idle .cp-bar { transform: translateY(8px); }
.cp video::cue { background: rgba(0,0,0,.65); font-size: 1.05em; }
.cp.is-embed .cp-bar, .cp.is-embed .cp-big, .cp.is-embed .cp-shade { display: none; }
@media (max-width: 600px) { .cp-b.sm[data-act="back"], .cp-b.sm[data-act="fwd"] { display: none; } .cp-time { font-size: 12px; } }

/* ---------- stories viewer (9:16) ---------- */
.csv { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.94); display: grid; place-items: center; }
.csv-frame { position: relative; width: min(100vw, calc(100dvh * 9 / 16)); height: min(100dvh, calc(100vw * 16 / 9)); background: #000; overflow: hidden; }
@media (min-width: 700px) { .csv-frame { height: 92dvh; width: calc(92dvh * 9 / 16); border-radius: 20px; } }
.csv-stack { position: absolute; inset: 0; touch-action: none; }
.csv-v { width: 100%; height: 100%; object-fit: cover; }
.csv-bars { position: absolute; z-index: 4; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; }
.csv-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.csv-bars b { display: block; height: 100%; width: 0; background: #fff; }
.csv-x, .csv-snd { position: absolute; z-index: 5; top: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.35); }
.csv-x { right: 10px; } .csv-snd { right: 56px; }
.csv-nav { position: absolute; z-index: 3; top: 15%; bottom: 30%; width: 30%; }
.csv-nav.p { left: 0; } .csv-nav.n { right: 0; }
.csv-foot { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: 60px 14px calc(16px + var(--safe-b)); background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); display: flex; flex-direction: column; gap: 12px; }
.csv-film { display: flex; align-items: center; gap: 10px; }
.csv-film img { width: 40px; height: 56px; border-radius: 6px; object-fit: cover; }
.csv-film b { font-family: var(--k-display); font-size: 26px; font-weight: 800; line-height: 1; display: block; }
.csv-film small { color: #D9D2E6; }

/* ---------- history ---------- */
.hist { display: flex; flex-direction: column; gap: 8px; }
.hist-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: var(--k-panel); }
.hist-row .hp { width: 52px; height: 74px; border-radius: 8px; object-fit: cover; flex: none; }
.hist-row .grow { flex: 1; min-width: 0; }
.hbar { height: 3px; border-radius: 2px; background: rgba(255,255,255,.12); margin-top: 8px; }
.hbar i { display: block; height: 100%; background: var(--k-beam); border-radius: 2px; }

/* ---------- desktop ---------- */
@media (min-width: 760px) {
  .film-top { grid-template-columns: 260px 1fr; align-items: end; padding-top: 140px; }
  .film-poster { width: 100%; max-width: none; }
  .gc-hero { grid-template-columns: 1.3fr 1fr; align-items: center; padding: 40px; }
  .gc-art { display: block; }
}
@media (min-width: 1024px) {
  .cin-head { padding: 16px 28px; }
  .cin-wrap { padding: 0 28px; }
  .hero-in { padding: 0 28px; bottom: 80px; }
  .rail { grid-auto-columns: minmax(150px, calc((100% - 6 * 14px) / 7)); }
  .rail.wide { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
  .rail.rooms { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .rail-arrow { display: grid; }
  .mgrid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .cin { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.on .hero-bg img, .live-dot, .live i { animation: none; }
  .hero-slide { transition: none; }
}

.bottom-nav a span { white-space: nowrap; }

/* ---------- entrance (/welcome) and auth backgrounds: drifting poster wall ---------- */
.wl { min-height: 100dvh; background: var(--k-black); color: var(--k-white); position: relative; overflow-x: hidden; }
.wl-wall { position: absolute; inset: 0 0 auto; height: 100dvh; min-height: 640px; overflow: hidden; }
.pwall { position: absolute; inset: -20% -10%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; transform: rotate(-8deg); opacity: 0; transition: opacity 1.2s ease; }
.pwall.on { opacity: 1; }
.pw-col { display: flex; flex-direction: column; gap: 12px; transform: translateY(var(--o)); animation: pwdrift var(--d) linear infinite; }
.pw-col:nth-child(even) { animation-direction: reverse; }
.pw-col img, .pw-col .mc-ph { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; flex: none; }
@keyframes pwdrift { from { transform: translateY(var(--o)); } to { transform: translateY(calc(var(--o) - 50%)); } }
.pwall-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5,4,7,.92) 0%, rgba(5,4,7,.62) 45%, rgba(5,4,7,.25) 100%),
  linear-gradient(0deg, var(--k-black) 3%, rgba(5,4,7,0) 45%, rgba(5,4,7,.55) 100%); }
.pwall-shade::after { content: ""; position: absolute; left: -10%; top: -20%; width: 80%; height: 130%; background: conic-gradient(from 125deg at 0% 0%, transparent 0deg, rgba(155,92,255,.22) 12deg, rgba(46,168,255,.12) 26deg, transparent 40deg); filter: blur(20px); mix-blend-mode: screen; pointer-events: none; }
.wl-head { position: sticky; background: linear-gradient(rgba(5,4,7,.85), transparent); }
.wl-hero { position: relative; min-height: calc(100dvh - 72px); display: flex; flex-direction: column; justify-content: flex-end; max-width: 1320px; margin: 0 auto; padding: 0 20px 56px; }
.wl-hero > * { max-width: 680px; }
.wl-hero h1 { font-family: var(--k-display); font-weight: 800; font-size: clamp(54px, 10vw, 124px); line-height: .88; text-shadow: 0 8px 50px rgba(0,0,0,.7); }
.wl-hero p { margin-top: 16px; font-size: 16.5px; line-height: 1.6; color: #DCD5E8; max-width: 56ch; }
.wl-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--k-muted); font-size: 14px; }
.wl-stats b { color: var(--k-white); font-size: 20px; font-weight: 800; margin-right: 4px; font-variant-numeric: tabular-nums; }
.wl-how { display: grid; gap: 2px; margin-top: 8px; border-radius: 18px; overflow: hidden; border: 1px solid var(--k-line); }
.wl-step { display: flex; gap: 14px; padding: 18px; background: var(--k-panel); }
.wl-step .wi { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--k-panel-2); color: #C6B1FF; }
.wl-step b { font-size: 16px; }
.wl-step p { color: var(--k-muted); font-size: 14px; line-height: 1.5; margin-top: 4px; }
.wl-cta { margin: 44px 0 0; padding: 34px 20px; border-radius: 20px; text-align: center; background: radial-gradient(90% 140% at 50% 0%, rgba(155,92,255,.3), transparent 65%), var(--k-panel); border: 1px solid var(--k-line); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.wl-cta h2 { font-family: var(--k-display); font-weight: 800; font-size: clamp(34px, 5vw, 56px); line-height: .95; }
.wl .land-banner { margin-top: 28px; }
/* login / register / forgot */
.hero-bg.wallbg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--k-black); }
.hero-bg.wallbg .pwall-shade { background: linear-gradient(rgba(5,4,7,.7), rgba(5,4,7,.86) 55%, rgba(5,4,7,.95)); }
.hero-bg.wallbg ~ .auth { position: relative; z-index: 1; }
.hero-bg.wallbg ~ .auth .btn.primary { background: var(--k-beam); box-shadow: 0 12px 34px -12px rgba(155,92,255,.8); }
@media (min-width: 760px) {
  .wl-how { grid-template-columns: repeat(4, 1fr); }
  .wl-step { flex-direction: column; padding: 22px; }
  .wl-hero { padding: 0 28px 80px; }
}
@media (prefers-reduced-motion: reduce) { .pw-col { animation: none; } }

.hero-bg.wallbg ~ .auth .link { color: #C6B1FF; }
.hero-bg.wallbg ~ .auth .cin-logo { font-size: 38px; margin: 6px 0 2px; }
.auth .cin-tag { color: var(--k-muted, #9E97AE); font-size: 13.5px; margin-top: -8px; }

/* ---------- Reels ---------- */
.bottom-nav .reels-btn { background: var(--k-beam); box-shadow: 0 10px 30px -8px rgba(155,92,255,.85); }
.bottom-nav .reels-btn.on { box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 10px 30px -8px rgba(155,92,255,.85); }
.bottom-nav .reels-btn .ico { stroke-width: 2.1; }
.reels { position: relative; height: 100dvh; background: #000; color: #fff; }
.rl-top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: linear-gradient(rgba(0,0,0,.55), transparent); pointer-events: none; }
.rl-top > * { pointer-events: auto; }
.rl-top .cin-logo { font-size: 24px; }
.rl-h { font-size: 16px; }
.rl-scroll { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.rl-scroll::-webkit-scrollbar { display: none; }
.rl { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; display: grid; place-items: center; }
.rl-loading, .rl-empty { text-align: center; padding: 20px; }
.rl-empty div { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 320px; color: var(--k-muted); }
.rl-empty .ico { width: 54px; height: 54px; color: var(--k-violet); }
.rl-empty h3 { color: #fff; font-size: 17px; line-height: 1.4; }
.rl-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.rl-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,0) 42%); pointer-events: none; }
.rl-rail { position: absolute; z-index: 3; right: 10px; bottom: calc(var(--nav-h) + var(--safe-b) + 24px); display: flex; flex-direction: column; gap: 16px; align-items: center; }
.rl-act { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.rl-act .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.35); backdrop-filter: blur(6px); font-size: 20px; }
.rl-act .ico { width: 24px; height: 24px; }
.rl-act.on .ic { color: #FF4D7A; }
.rl-act.on .ico { fill: currentColor; }
.rl-info { position: absolute; z-index: 3; left: 14px; right: 80px; bottom: calc(var(--nav-h) + var(--safe-b) + 22px); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.rl-info h3 { font-family: var(--k-display); font-size: 30px; font-weight: 800; line-height: .95; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.rl-info p { font-size: 14px; line-height: 1.45; color: #E6E0EF; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rl-film { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); font-size: 13px; }
.rl-film img { width: 28px; height: 40px; border-radius: 6px; object-fit: cover; }
.rl-film span { display: flex; flex-direction: column; line-height: 1.2; }
.rl-film small { color: var(--k-muted); }
.reels .btn.primary { background: var(--k-beam); box-shadow: 0 10px 28px -10px rgba(155,92,255,.9); }
.rl-heart { position: absolute; z-index: 4; color: #FF4D7A; opacity: 0; pointer-events: none; }
.rl-heart .ico { width: 110px; height: 110px; fill: currentColor; stroke: none; filter: drop-shadow(0 8px 30px rgba(255,77,122,.6)); }
.rl-heart.pop { animation: rlpop .8s var(--ease); }
@keyframes rlpop { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(1.1); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.2) translateY(-30px); } }
.rl-tap { position: absolute; z-index: 2; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.45); pointer-events: none; }
.rl-tap .ico { fill: #fff; stroke: none; }
@media (min-width: 1024px) {
  .reels { height: 100dvh; }
  .rl { width: min(100%, calc(100dvh * 9 / 16)); margin: 0 auto; }
  .rl-rail { right: -70px; bottom: 30px; }
  .rl-info { bottom: 26px; right: 16px; }
  .rl { overflow: visible; }
}
.reels [hidden] { display: none !important; }
.bottom-nav .reels-btn, .bottom-nav .reels-btn.on { color: #fff; }
.bottom-nav .reels-btn::after { display: none !important; }
@media (min-width: 1024px) { .rl-act .ic { background: rgba(255,255,255,.08); } }

/* ---------- banners (Admin → Banner və reklam) ---------- */
.bn-slot:empty { display: none; }
.bn-slot { margin: 18px 0 0; }
.cin-wrap > .bn-slot:first-child { margin-top: 22px; }
.bn { position: relative; border-radius: 16px; overflow: hidden; background: var(--k-panel, #121019); border: 1px solid var(--k-line, rgba(255,255,255,.07)); }
.bn-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bn-track::-webkit-scrollbar { display: none; }
.bn-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16/7; display: block; color: #fff; }
.bn-slide img, .bn-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bn-art { background: radial-gradient(70% 90% at 20% 0%, rgba(155,92,255,.55), transparent 65%), radial-gradient(60% 80% at 100% 100%, rgba(46,168,255,.4), transparent 60%), #1B1726; }
.bn-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,4,7,.78), rgba(5,4,7,.15) 65%); }
.bn-txt { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: 520px; }
.bn-txt b { font-size: clamp(18px, 3vw, 28px); font-weight: 800; line-height: 1.1; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.bn-txt small { font-size: 14px; color: #E2DCEC; }
.bn-cta { margin-top: 8px; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; background: linear-gradient(115deg, #9B5CFF, #2EA8FF); }
.bn-ad { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.55); color: #ddd; }
.bn-dots { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 6px; }
.bn-dots button { width: 7px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.4); transition: width .25s; }
.bn-dots button.on { width: 20px; background: #fff; }
.page .bn-slot { margin: 8px 0 14px; }
.wl .bn-slot { margin-top: 28px; }
.rl-ad .rl-adtag { top: 64px; right: 14px; }
@media (min-width: 1024px) { .bn-slide { aspect-ratio: auto; height: clamp(220px, 22vw, 320px); } }
