/* [NEW 2026-09-25] Tiket Bioskop — tampilan chat meniru WhatsApp versi iOS (dipakai /bioskop.html & /admin-bioskop.html) */
:root {
  --ios-bg: #ffffff; --ios-bar: rgba(246,246,246,.92); --ios-sep: #c6c6c8; --ios-sep-light: #e5e5ea;
  --ios-text: #000000; --ios-sub: #8e8e93; --ios-blue: #007aff; --ios-red: #ff3b30; --ios-group: #f2f2f7;
  --wa-green: #25d366; --wa-out: #d9fdd3; --wa-in: #ffffff; --wa-wall: #efeae2; --wa-read: #34b7f1; --wa-sys: #fff5c4;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; } /* atribut hidden harus menang atas display:flex milik .lightbox/.notice/.empty */
html, body { margin: 0; height: 100%; background: #e9e9ee; font-family: var(--font); color: var(--ios-text); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.app { position: relative; max-width: 560px; height: 100%; margin: 0 auto; background: var(--ios-bg); overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.04); }
.view { position: absolute; inset: 0; display: none; flex-direction: column; background: var(--ios-bg); }
.view.on { display: flex; }

/* ---------- bar navigasi iOS ---------- */
.nav { flex: none; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: calc(env(safe-area-inset-top, 0px) + 6px) 8px 6px; background: var(--ios-bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: .5px solid var(--ios-sep); position: relative; z-index: 3; }
.nav-btn { display: inline-flex; align-items: center; gap: 2px; min-width: 44px; min-height: 36px; padding: 4px 6px; border: 0; background: none; color: var(--ios-blue); font-size: 17px; text-decoration: none; border-radius: 8px; }
.nav-btn.icon { justify-content: center; }
.nav-btn:disabled { opacity: .35; }
.nav-btn svg { width: 26px; height: 26px; }
.nav-title-small { flex: 1; text-align: center; font-weight: 600; font-size: 17px; opacity: 0; transition: opacity .15s; }
.nav-title-small.show { opacity: 1; }
.back-badge { background: var(--ios-blue); color: #fff; border-radius: 10px; font-size: 13px; padding: 0 6px; min-width: 20px; text-align: center; margin-left: 2px; }
.nav-btn:focus-visible, .chat-row:focus-visible, .pill-btn:focus-visible, .primary:focus-visible, .send:focus-visible { outline: 3px solid rgba(0,122,255,.45); outline-offset: 2px; }

/* ---------- daftar chat ---------- */
.list-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.big-title { font-size: 34px; font-weight: 700; letter-spacing: .3px; margin: 6px 16px 8px; }
.search { display: flex; align-items: center; gap: 6px; margin: 0 16px 10px; padding: 7px 10px; background: #eeeef0; border-radius: 10px; color: var(--ios-sub); }
.search svg { width: 18px; height: 18px; }
.search input { flex: 1; border: 0; background: none; outline: none; font-size: 17px; color: var(--ios-text); }
.notice { margin: 4px 16px 12px; padding: 12px 14px; background: var(--ios-group); border-radius: 12px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.notice span { color: var(--ios-sub); font-size: 14px; }
.notice .pill-btn { align-self: flex-start; margin-top: 6px; }
.chats { list-style: none; margin: 0; padding: 0; }
.chat-row { display: flex; align-items: center; gap: 12px; padding: 0 0 0 16px; cursor: pointer; }
.chat-row:active { background: #e5e5ea; }
.chat-mid { flex: 1; min-width: 0; padding: 11px 16px 11px 0; border-bottom: .5px solid var(--ios-sep-light); }
.chat-top, .chat-bottom { display: flex; align-items: center; gap: 8px; }
.chat-top b { flex: 1; font-size: 17px; font-weight: 600; }
.chat-top time { font-size: 14px; color: var(--ios-sub); }
.chat-top time.hot { color: var(--wa-green); font-weight: 600; }
.chat-bottom { margin-top: 2px; }
.chat-bottom > span:first-child { flex: 1; color: var(--ios-sub); font-size: 15px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.badge { background: var(--wa-green); color: #fff; font-size: 13px; font-weight: 600; min-width: 20px; height: 20px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.status-dot { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: #eef4ff; color: var(--ios-blue); white-space: nowrap; }
.status-dot.selesai { background: #e9f9ee; color: #1f9d55; }
.status-dot.dibatalkan { background: #fdecec; color: var(--ios-red); }
.status-dot.kadaluarsa { background: #f2f2f7; color: #8e8e93; }
.status-dot.menunggu_seller { background: #fff4d6; color: #a5730a; }
.status-dot.menunggu_harga, .status-dot.menunggu_bayar { background: #fff0e6; color: #c2560a; }
.avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 20px; }
.avatar.sm { width: 36px; height: 36px; font-size: 15px; }
.avatar svg { width: 24px; height: 24px; }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 48px 28px; color: var(--ios-sub); font-size: 15px; }
.empty svg { width: 56px; height: 56px; stroke-width: 1.4; color: #c7c7cc; }
.empty b { color: var(--ios-text); font-size: 17px; }
.pill-btn { display: inline-block; border: 0; background: var(--ios-blue); color: #fff; font-weight: 600; font-size: 15px; padding: 9px 18px; border-radius: 20px; text-decoration: none; margin-top: 6px; }

/* ---------- ruang chat ---------- */
.chat-nav { gap: 2px; }
.chat-head { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; border: 0; background: none; padding: 2px 4px; text-align: left; }
.chat-head-text { display: flex; flex-direction: column; min-width: 0; }
.chat-head-text b { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-head-text small { font-size: 12.5px; color: var(--ios-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.info-panel { flex: none; background: var(--ios-group); border-bottom: .5px solid var(--ios-sep); padding: 6px 16px 10px; max-height: 45%; overflow: auto; }
.info-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: .5px solid var(--ios-sep-light); font-size: 14px; }
.info-row span { color: var(--ios-sub); }
.info-row b { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.info-actions { display: flex; gap: 8px; padding-top: 10px; flex-wrap: wrap; }
.thread { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 10px 12px; background-color: var(--wa-wall);
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1.2px), radial-gradient(rgba(0,0,0,.025) 1px, transparent 1.2px);
  background-size: 22px 22px, 22px 22px; background-position: 0 0, 11px 11px; }
.day { display: flex; justify-content: center; margin: 10px 0 6px; position: sticky; top: 4px; z-index: 1; }
.day span { background: rgba(255,255,255,.92); color: #54656f; font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 8px; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.sys { display: flex; justify-content: center; margin: 6px 24px; }
.sys span { background: var(--wa-sys); color: #54656f; font-size: 12.5px; line-height: 1.4; text-align: center; padding: 5px 10px; border-radius: 8px; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.msg-row { display: flex; margin: 1px 0; }
.msg-row.me { justify-content: flex-end; }
.msg-row.tail { margin-bottom: 6px; }
.bubble { position: relative; max-width: 78%; padding: 6px 8px 7px 9px; border-radius: 12px; font-size: 16px; line-height: 1.35; box-shadow: 0 1px .5px rgba(11,20,26,.13); overflow-wrap: anywhere; white-space: pre-wrap; }
.msg-row.in .bubble { background: var(--wa-in); }
.msg-row.me .bubble { background: var(--wa-out); }
.msg-row.tail.in .bubble { border-top-left-radius: 12px; border-bottom-left-radius: 4px; }
.msg-row.tail.me .bubble { border-bottom-right-radius: 4px; }
.msg-row.tail.in .bubble::before, .msg-row.tail.me .bubble::before { content: ""; position: absolute; bottom: 0; width: 12px; height: 13px; }
.msg-row.tail.in .bubble::before { left: -5px; background: radial-gradient(circle at 0 0, transparent 11px, var(--wa-in) 11.5px); }
.msg-row.tail.me .bubble::before { right: -5px; background: radial-gradient(circle at 100% 0, transparent 11px, var(--wa-out) 11.5px); }
.bubble .meta { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 6px 0 -4px 10px; font-size: 11px; color: #667781; white-space: nowrap; }
.bubble .meta svg { width: 16px; height: 11px; stroke-width: 1.8; }
.bubble .meta .read { color: var(--wa-read); }
.bubble .meta .fail { color: var(--ios-red); font-weight: 700; }
.bubble img { display: block; max-width: 100%; width: 260px; max-height: 340px; object-fit: cover; border-radius: 8px; margin: -2px -4px 4px -5px; cursor: zoom-in; background: #ddd; }
.bubble a { color: #027eb5; }
.bubble.pending { opacity: .75; }
.ticket { margin: 8px auto 10px; max-width: 320px; background: #fff; border-radius: 14px; box-shadow: 0 1px .5px rgba(11,20,26,.13); overflow: hidden; }
.ticket-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(135deg, #1c1c1e, #3a3a3c); color: #fff; }
.ticket-top svg { width: 28px; height: 28px; color: #ffd60a; }
/* [NEW 2026-09-29] kartu QRIS di dalam bubble chat — tagihan yang dibuat penjual untuk pesanan MINAT */
.qris-card { margin-top: 8px; padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.08); text-align: center; }
.qris-top { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 13px; color: var(--ios-sub); }
.qris-top svg { width: 16px; height: 16px; color: var(--ios-blue); }
.qris-top b { flex: 1; text-align: left; color: var(--ios-text); }
.qris-amt { font-weight: 700; color: var(--ios-text); font-size: 14.5px; }
.qris-img { width: 180px; max-width: 100%; border-radius: 8px; background: #fff; padding: 6px; box-shadow: 0 0 0 .5px rgba(0,0,0,.1); }
.qris-btn { display: inline-block; margin-top: 8px; border: 0; background: var(--ios-blue); color: #fff; font-weight: 600; font-size: 13.5px; padding: 8px 16px; border-radius: 99px; text-decoration: none; cursor: pointer; }
.ticket-top b { display: block; font-size: 16px; }
.ticket-top small { color: rgba(255,255,255,.72); font-size: 12.5px; }
.ticket-body { padding: 8px 14px 12px; border-top: 2px dashed #e5e5ea; font-size: 14px; }
.ticket-body div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.ticket-body span { color: var(--ios-sub); }
.ticket-body b { font-weight: 600; text-align: right; }

/* ---------- penulis pesan ---------- */
.composer { flex: none; display: flex; align-items: flex-end; gap: 6px; padding: 6px 8px calc(env(safe-area-inset-bottom, 0px) + 6px); background: var(--ios-bar); border-top: .5px solid var(--ios-sep); }
.composer textarea { flex: 1; resize: none; max-height: 120px; min-height: 36px; padding: 7px 14px; border: .5px solid #d1d1d6; border-radius: 18px; background: #fff; font-size: 16px; line-height: 1.3; outline: none; }
.composer .attach { color: var(--ios-blue); cursor: pointer; }
.send { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ios-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.send svg { width: 20px; height: 20px; stroke-width: 2.4; }
.composer.closed { opacity: .6; pointer-events: none; }

/* ---------- lembar bawah iOS ---------- */
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,0); transition: background .22s; z-index: 20; }
.sheet-bg.on { background: rgba(0,0,0,.35); }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto; max-height: 92%; display: flex; flex-direction: column; background: var(--ios-group); border-radius: 14px 14px 0 0; z-index: 21; transform: translateY(100%); transition: transform .22s ease-out; }
.sheet.up { transform: translateY(0); }
.sheet-grab { width: 36px; height: 5px; border-radius: 3px; background: #c7c7cc; margin: 6px auto 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; font-size: 17px; }
.link { border: 0; background: none; color: var(--ios-blue); font-size: 17px; padding: 6px; }
.sheet-body { overflow-y: auto; padding: 0 16px calc(env(safe-area-inset-bottom, 0px) + 16px); }
.group { background: #fff; border-radius: 10px; margin: 10px 0 18px; overflow: hidden; }
.group .row { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 14px; border-bottom: .5px solid var(--ios-sep-light); font-size: 16px; }
.group .row:last-child { border-bottom: 0; }
.group .row > span:first-child { flex: none; min-width: 108px; }
.group .row.col { flex-direction: column; align-items: stretch; gap: 4px; padding: 10px 14px; }
.group .row.col > span:first-child { min-width: 0; color: var(--ios-sub); font-size: 13px; }
.group .row i { font-style: normal; color: var(--ios-sub); }
.group input, .group select { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 16px; text-align: right; color: var(--ios-blue); padding: 6px 0; }
.group .row.col input { text-align: left; color: var(--ios-text); }
.stepper { margin-left: auto; display: inline-flex; align-items: center; background: #eeeef0; border-radius: 9px; overflow: hidden; }
.stepper button { width: 44px; height: 32px; border: 0; background: none; font-size: 20px; color: var(--ios-text); }
.stepper b { min-width: 30px; text-align: center; font-size: 16px; }
.summary .row b { margin-left: auto; font-weight: 500; }
.summary .row.total b { font-weight: 700; font-size: 17px; }
.fine { color: var(--ios-sub); font-size: 13px; margin: -8px 4px 12px; line-height: 1.4; }
.sheet-err { color: var(--ios-red); font-size: 14px; min-height: 18px; margin: 0 4px 10px; }
.primary { width: 100%; border: 0; border-radius: 12px; background: var(--ios-blue); color: #fff; font-weight: 600; font-size: 17px; padding: 14px; }
.primary:disabled { opacity: .5; }
.danger { color: var(--ios-red) !important; }

/* ---------- lain-lain ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 40; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 100%; max-height: 100%; }
.lightbox .nav-btn { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 8px); right: 8px; color: #fff; }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 90px); transform: translateX(-50%); background: rgba(30,30,30,.92); color: #fff; font-size: 14px; padding: 10px 16px; border-radius: 20px; z-index: 50; max-width: 88%; text-align: center; }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-bg { transition: none; } }

/* [NEW 2026-09-25] banner, deskripsi & daftar harga halaman pembeli */
.hero { margin: 0 16px 14px; }
/* [NEW 2026-09-29] banner tautan ke katalog film CGV (Minat Nonton) */
.hero-cgv { display: flex; align-items: center; gap: 12px; margin: 0 16px 14px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #1c1c1e, #3a1015); color: #fff; text-decoration: none; }
.hero-cgv > svg:first-child { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(255,255,255,.14); flex: none; color: #ffd60a; }
.hero-cgv span { flex: 1; min-width: 0; }
.hero-cgv b { display: block; font-size: 14.5px; }
.hero-cgv small { display: block; color: rgba(255,255,255,.75); font-size: 12px; margin-top: 2px; }
.hero-cgv .chev { width: 18px; height: 18px; flex: none; opacity: .7; }
.banners { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-bottom: 10px; scrollbar-width: none; }
.banners::-webkit-scrollbar { display: none; }
.banners img { flex: 0 0 100%; width: 100%; aspect-ratio: 16/7; object-fit: cover; border-radius: 14px; scroll-snap-align: start; background: #e5e5ea; }
.hero-desc { margin: 0 2px 12px; font-size: 15px; line-height: 1.5; color: #3c3c43; white-space: pre-line; }
.price-card { background: var(--ios-group); border-radius: 12px; overflow: hidden; font-size: 14.5px; }
.pc-head, .pc-row { display: grid; grid-template-columns: 1fr 92px 92px; gap: 8px; padding: 9px 12px; align-items: center; }
.pc-head { font-size: 12px; color: var(--ios-sub); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.pc-head span:not(:first-child), .pc-row span { text-align: right; }
.pc-row { background: #fff; border-top: .5px solid var(--ios-sep-light); }
.pc-row b { font-weight: 600; }
.pc-foot { padding: 8px 12px; font-size: 12.5px; color: var(--ios-sub); }
.primary.secondary { background: #fff; color: var(--ios-blue); border: 1px solid #d1d1d6; margin-top: 10px; }

/* =====================================================================================================
   [UPDATE 2026-09-30 v3] TEMA "LOUNGE BIOSKOP" — SATU tampilan untuk penjual (/admin-bioskop.html) & pembeli (/bioskop.html).
   Navy beludru + emas (identitas halaman Bioskop), gelembung lapang, kartu tiket berlubang, QRIS tetap putih (mudah dipindai),
   composer mengambang. Animasi: pesan BARU saja yang masuk (bukan seluruh utas tiap polling), layar chat meluncur masuk,
   tombol kirim bergetar lembut, carousel F&B. Semua animasi mati bila prefers-reduced-motion.
   Hapus blok ini untuk kembali ke tampilan iOS terang bawaan.
   ===================================================================================================== */
.app, .sheet, .sheet-bg, .lightbox, .toast {
  --ios-bg: #0b1020; --ios-bar: rgba(11,16,32,.86); --ios-sep: #232c44; --ios-sep-light: #1a2236; --ios-text: #f3efe6; --ios-sub: #8e97ab;
  --ios-blue: #e6c46e; --ios-red: #ff6b6b; --ios-group: #101729;
  --wa-green: #d9b45a; --wa-out: #3a3118; --wa-in: #161e31; --wa-wall: #070a12; --wa-sys: #241f12; --wa-read: #f1d48a;
  --lx-gold: #d9b45a; --lx-gold2: #f1d48a; --lx-gold3: #a8832f; --lx-panel: #151d31; --lx-velvet: #101729; --lx-line: #232c44; --lx-line2: #2e3955;
  --lx-ok: #39d98a; --lx-ink: #1a1406; --lx-ease: cubic-bezier(.2,.8,.2,1); --lx-spring: cubic-bezier(.2,.9,.25,1.25);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --lx-serif: "DM Serif Display", Georgia, serif;
}
body:has(.app.seller) { background: radial-gradient(120% 80% at 50% -10%, #1a2342, #05070d 60%); }
.app { background: var(--ios-bg); color: var(--ios-text); font-family: var(--font); box-shadow: 0 0 0 1px var(--lx-line), 0 30px 80px -40px #000; }
.app .view { background: var(--ios-bg); }
.app .view.on { animation: lxView .42s var(--lx-ease); }
@keyframes lxView { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.app ::-webkit-scrollbar, .sheet ::-webkit-scrollbar { width: 8px; height: 8px; }
.app ::-webkit-scrollbar-thumb, .sheet ::-webkit-scrollbar-thumb { background: var(--lx-line2); border-radius: 8px; }
.app :focus-visible, .sheet :focus-visible { outline: 2px solid var(--lx-gold); outline-offset: 2px; }

/* bar navigasi */
.app .nav { background: var(--ios-bar); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--lx-line); }
.app .nav-btn { color: var(--lx-gold2); }
.app .chat-nav { background: linear-gradient(180deg, #141c33, #0e1427); border-bottom: 1px solid rgba(217,180,90,.22); box-shadow: 0 10px 24px -18px #000; }
.app .chat-head-text b { color: var(--ios-text); font-size: 16px; }
.app .chat-head-text small { color: var(--ios-sub); }
.app .avatar { box-shadow: 0 0 0 2px var(--ios-bg), 0 0 0 3.5px rgba(217,180,90,.55); }
.app .back-badge, .app .badge { background: var(--lx-gold); color: var(--lx-ink); font-weight: 800; }
.app .big-title { font-family: var(--lx-serif); font-weight: 400; font-size: 36px; letter-spacing: 0; color: var(--ios-text); }
.app .search { background: var(--lx-velvet); border: 1px solid var(--lx-line); border-radius: 14px; color: var(--ios-sub); }
.app .search input { color: var(--ios-text); }
.app .seg { background: var(--lx-velvet); border: 1px solid var(--lx-line); border-radius: 13px; }
.app .seg button { color: var(--ios-sub); border-radius: 10px; transition: background .25s, color .25s; }
.app .seg button.on { background: linear-gradient(135deg, var(--lx-gold2), var(--lx-gold)); color: var(--lx-ink); box-shadow: 0 6px 16px -10px var(--lx-gold); }
.app .notice, .app .guide { background: var(--lx-velvet); border: 1px solid var(--lx-line); color: var(--ios-text); border-radius: 16px; }
.app .guide { background: linear-gradient(135deg, rgba(217,180,90,.12), var(--lx-velvet)); border-color: rgba(217,180,90,.35); }
.app .pill-btn { background: linear-gradient(135deg, var(--lx-gold2), var(--lx-gold)); color: var(--lx-ink); font-weight: 700; box-shadow: 0 8px 18px -10px var(--lx-gold); }

/* daftar chat */
.app .chat-row { transition: background .2s; }
.app .chat-row:hover { background: rgba(255,255,255,.03); }
.app .chat-row:active { background: #141c2e; }
.app .chat-mid { border-bottom-color: var(--lx-line); }
.app .chat-top b { color: var(--ios-text); }
.app .chat-top time.hot { color: var(--lx-gold2); }
.app .status-dot { background: rgba(217,180,90,.14); color: var(--lx-gold2); border-radius: 8px; }
.app .status-dot.selesai { background: rgba(57,217,138,.14); color: #6ee0a8; }
.app .status-dot.dibatalkan { background: rgba(255,107,107,.14); color: #ff8a80; }
.app .status-dot.kadaluarsa { background: rgba(142,151,171,.14); color: var(--ios-sub); }
.app .empty svg { color: #3a4560; }

/* dinding & gelembung */
.app .thread { background-color: var(--wa-wall);
  background-image: radial-gradient(90% 60% at 50% 0%, rgba(217,180,90,.07), transparent 70%), radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.2px);
  background-size: 100% 100%, 24px 24px; padding: 12px 12px 18px; }
.app .day span { background: rgba(21,29,49,.92); color: var(--ios-sub); border: 1px solid var(--lx-line); border-radius: 99px; padding: 4px 12px; font-weight: 600; box-shadow: none; }
.app .sys span { background: rgba(217,180,90,.1); color: #e6d7a8; border: 1px dashed rgba(217,180,90,.35); border-radius: 12px; box-shadow: none; }
.app .bubble { border-radius: 18px; padding: 8px 11px 8px 12px; max-width: 80%; box-shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 8px 18px -14px #000; color: var(--ios-text); }
.app .msg-row.in .bubble { background: var(--wa-in); border: 1px solid var(--lx-line); }
.app .msg-row.me .bubble { background: linear-gradient(160deg, #43381b, #2c2511); border: 1px solid rgba(217,180,90,.3); }
.app .msg-row.tail.in .bubble { border-bottom-left-radius: 6px; }
.app .msg-row.tail.me .bubble { border-bottom-right-radius: 6px; }
.app .msg-row.tail.in .bubble::before, .app .msg-row.tail.me .bubble::before { display: none; }
.app .bubble .meta { color: #8e97ab; }
.app .bubble .meta .read { color: var(--lx-gold2); }
.app .bubble a { color: var(--lx-gold2); text-underline-offset: 2px; }
.app .bubble img { border-radius: 12px; background: #0e1427; }
.app .msg-row.fresh .bubble { animation: lxPop .46s var(--lx-spring) both; }
.app .msg-row.fresh.me .bubble { transform-origin: 100% 100%; } .app .msg-row.fresh.in .bubble { transform-origin: 0 100%; }
.app .sys.fresh span, .app .day.fresh span { animation: lxFade .5s var(--lx-ease) both; }
@keyframes lxPop { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes lxFade { from { opacity: 0; } to { opacity: 1; } }

/* kartu tiket */
.app .ticket { background: var(--lx-velvet); border: 1px solid var(--lx-line); border-radius: 18px; box-shadow: 0 18px 36px -24px #000; position: relative; overflow: visible; }
.app .ticket-top { background: linear-gradient(120deg, #1a2236, #2a2412); border-radius: 18px 18px 0 0; }
.app .ticket-top svg { color: var(--lx-gold); }
.app .ticket-top b { font-family: var(--lx-serif); font-weight: 400; font-size: 18px; }
.app .ticket-body { border-top: 2px dashed var(--lx-line2); }
.app .ticket-body span { color: var(--ios-sub); } .app .ticket-body b { color: var(--ios-text); }
.app .ticket::before, .app .ticket::after { content: ""; position: absolute; top: 56px; width: 16px; height: 16px; border-radius: 50%; background: var(--wa-wall); border: 1px solid var(--lx-line); }
.app .ticket::before { left: -9px; } .app .ticket::after { right: -9px; }

/* kartu QRIS — tetap putih supaya mudah dipindai */
.app .qris-card { background: #fff; color: #111; border-radius: 16px; padding: 0 0 12px; overflow: hidden; border: 0; box-shadow: 0 16px 30px -20px #000; }
.app .qris-top { background: linear-gradient(120deg, #1a2236, #2a2412); color: #e6d7a8; padding: 9px 12px; margin: 0 0 10px; }
.app .qris-top b { color: #fff; } .app .qris-top svg { color: var(--lx-gold); }
.app .qris-amt { color: var(--lx-gold2); font-size: 16px; font-weight: 800; }
.app .qris-img { width: 196px; box-shadow: 0 0 0 1px #eee; }
.app .qris-btn { background: linear-gradient(135deg, var(--lx-gold2), var(--lx-gold)); color: var(--lx-ink); font-weight: 800; border-radius: 99px; }

/* panel info & aksi penjual */
.app .info-panel { background: var(--lx-velvet); border-bottom: 1px solid var(--lx-line); animation: lxDrop .35s var(--lx-ease); }
@keyframes lxDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.app .info-row { border-bottom-color: var(--lx-line); } .app .info-row span { color: var(--ios-sub); } .app .info-row b { color: var(--ios-text); }
.app .act { background: var(--lx-panel); color: var(--lx-gold2); border: 1px solid var(--lx-line2); border-radius: 12px; font-weight: 700; transition: transform .15s, filter .2s; }
.app .act:hover:not(:disabled) { filter: brightness(1.12); } .app .act:active:not(:disabled) { transform: scale(.97); }
.app .act.green { background: linear-gradient(135deg, var(--lx-gold2), var(--lx-gold)); color: var(--lx-ink); border-color: transparent; box-shadow: 0 10px 20px -12px var(--lx-gold); }
.app .act.red { color: #ff8a80; }
.app .tagih { display: grid; gap: 7px; width: 100%; padding: 12px; border-radius: 16px; background: var(--lx-panel); border: 1px solid var(--lx-line2); }
.app .tagih label { font-size: 12.5px; font-weight: 700; color: var(--ios-sub); }
.app .tagih input { width: 100%; padding: 12px; border-radius: 12px; border: 1px solid var(--lx-line2); background: #0b1020; color: var(--ios-text); font-size: 19px; font-weight: 800; }
.app .tagih input:focus { outline: none; border-color: var(--lx-gold); box-shadow: 0 0 0 4px rgba(217,180,90,.18); }
.app .tagih-hint { color: var(--ios-sub); font-size: 12.5px; }
.app .quick { background: transparent; }
.app .quick button { background: var(--lx-velvet); border: 1px solid var(--lx-line2); color: var(--lx-gold2); border-radius: 99px; font-weight: 600; }

/* composer mengambang */
.app .composer { background: linear-gradient(180deg, transparent, rgba(7,10,18,.92) 40%); border-top: 0; padding: 8px 10px calc(env(safe-area-inset-bottom, 0px) + 10px); gap: 8px; }
.app .composer textarea { background: var(--lx-velvet); border: 1px solid var(--lx-line2); color: var(--ios-text); border-radius: 22px; padding: 10px 16px; }
.app .composer textarea:focus { outline: none; border-color: var(--lx-gold); box-shadow: 0 0 0 4px rgba(217,180,90,.14); }
.app .composer .attach { color: var(--lx-gold2); }
.app .send { width: 42px; height: 42px; background: linear-gradient(135deg, var(--lx-gold2), var(--lx-gold)); color: var(--lx-ink); box-shadow: 0 10px 20px -10px var(--lx-gold); transition: transform .15s var(--lx-spring); }
.app .send:active { transform: scale(.88); }
.app .composer:focus-within .send { animation: lxNudge 2.4s ease-in-out infinite; }
@keyframes lxNudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-2px) rotate(-8deg); } 90% { transform: translateY(0) rotate(4deg); } }
.app .composer.closed { opacity: .5; }

/* sheet pengaturan & menu F&B (penjual) */
.sheet-bg.on { background: rgba(3,5,10,.66); backdrop-filter: blur(3px); }
body .sheet { background: #0e1427; color: var(--ios-text); border: 1px solid var(--lx-line); box-shadow: 0 -24px 60px -30px #000; font-family: var(--font); }
body .sheet .sheet-grab { background: var(--lx-line2); }
body .sheet .sheet-head b { color: var(--ios-text); font-family: var(--lx-serif); font-weight: 400; font-size: 19px; }
body .sheet .link { color: var(--lx-gold2); }
body .sheet .step-intro, body .sheet .fine { color: var(--ios-sub); }
body .sheet .step { color: var(--lx-gold2); }
body .sheet .step span { background: var(--lx-gold); color: var(--lx-ink); }
body .sheet .group, body .sheet .chain-card { background: var(--lx-velvet); border: 1px solid var(--lx-line); }
body .sheet .group .row { border-bottom-color: var(--lx-line); color: var(--ios-text); }
body .sheet .group input, body .sheet .group select, body .sheet .group textarea, body .sheet .chain-card label input, body .sheet .chain-card .cc-top input { background: #0b1020; color: var(--ios-text); border-color: var(--lx-line2); }
body .sheet .chain-card .cc-top input { background: transparent; }
body .sheet .chain-row input[type=text], body .sheet .chain-row input[type=number] { background: #0b1020; color: var(--ios-text); border-color: var(--lx-line2); }
body .sheet .switch span::before { background: #f3efe6; }
body .sheet .switch span { background: #2e3955; } body .sheet .switch input:checked + span { background: var(--lx-gold); }
body .sheet .slot, body .sheet .add-btn { border-color: var(--lx-line2); color: var(--lx-gold2); }
body .sheet .example { background: rgba(217,180,90,.1); color: #e6d7a8; }
body .sheet .sheet-err { color: #ff8a80; }

/* ---------- F&B: carousel pembeli ---------- */
.app .fnb-wrap { flex: none; background: #0e1424; border-top: 1px solid var(--lx-line); box-shadow: 0 -14px 26px -20px #000; }
.fnb-toggle { width: 100%; display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 10px 14px; font-weight: 700; font-size: 14.5px; color: var(--ios-text); text-align: left; }
.fnb-toggle svg { width: 20px; height: 20px; color: var(--lx-gold); } .fnb-toggle span { flex: 1; }
.fnb-toggle .chev { color: var(--ios-sub); transition: transform .25s var(--lx-ease); } .fnb-wrap.closed .fnb-toggle .chev { transform: rotate(180deg); }
.fnb-body { padding: 0 0 8px; } .fnb-wrap.closed .fnb-body { display: none; }
.fnb-wrap:not(.closed) .fnb-body { animation: lxDrop .35s var(--lx-ease); }
.fnb-stage { position: relative; }
.fnb-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 14px; padding: 2px 14px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.fnb-track::-webkit-scrollbar { display: none; }
.fnb-card { flex: 0 0 min(62%, 210px); scroll-snap-align: start; background: var(--lx-velvet); border: 1.5px solid var(--lx-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .25s, transform .25s var(--lx-ease); animation: lxPop .45s var(--lx-ease) both; }
.fnb-card:nth-child(2) { animation-delay: 60ms; } .fnb-card:nth-child(3) { animation-delay: 120ms; } .fnb-card:nth-child(n+4) { animation-delay: 180ms; }
.fnb-card.on { border-color: var(--lx-gold); box-shadow: 0 0 0 3px rgba(217,180,90,.22); transform: translateY(-2px); }
.fnb-poster { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #1a2236, #2a2412); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fnb-poster img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; cursor: zoom-in; transition: transform .6s var(--lx-ease); }
.fnb-card:hover .fnb-poster img { transform: scale(1.05); }
.fnb-poster .ph { width: 38px; height: 38px; color: rgba(241,212,138,.5); }
.fnb-info { padding: 9px 11px 11px; display: grid; gap: 3px; }
.fnb-name { font-size: 14.5px; color: var(--ios-text); line-height: 1.25; }
.fnb-info small { color: var(--ios-sub); font-size: 12px; line-height: 1.3; }
.fnb-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 4px; }
.fnb-price { font-weight: 800; font-size: 14px; color: var(--lx-gold2); font-variant-numeric: tabular-nums; }
.fnb-stepper { display: inline-flex; align-items: center; gap: 2px; background: #0b1020; border-radius: 99px; padding: 2px; }
.fnb-step { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--lx-panel); color: var(--ios-text); display: inline-flex; align-items: center; justify-content: center; transition: transform .15s var(--lx-spring); }
.fnb-step:active { transform: scale(.85); }
.fnb-step svg { width: 15px; height: 15px; stroke-width: 2.4; } .fnb-step.plus { background: var(--lx-gold); color: var(--lx-ink); }
.fnb-q { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; color: var(--ios-text); font-variant-numeric: tabular-nums; }
.fnb-nav { position: absolute; top: 34%; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--lx-line2); background: rgba(11,16,32,.85); color: var(--lx-gold2); display: inline-flex; align-items: center; justify-content: center; z-index: 2; }
.fnb-nav svg { width: 18px; height: 18px; } .fnb-nav.prev { left: 6px; } .fnb-nav.next { right: 6px; }
@media (hover: none) { .fnb-nav { display: none; } }
.fnb-dots { display: flex; justify-content: center; gap: 5px; padding: 0 0 6px; } .fnb-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--lx-line2); transition: width .25s var(--lx-ease), background .25s; } .fnb-dots i.on { width: 18px; border-radius: 4px; background: var(--lx-gold); }
.fnb-bar { display: none; align-items: center; justify-content: space-between; gap: 10px; margin: 0 14px; padding: 8px 10px 8px 14px; background: linear-gradient(120deg, #1a2236, #2a2412); border: 1px solid rgba(217,180,90,.3); color: #fff; border-radius: 16px; }
.fnb-bar.on { display: flex; animation: lxDrop .3s var(--lx-ease); }
.fnb-sum { display: grid; } .fnb-sum small { color: var(--ios-sub); font-size: 12px; } .fnb-sum b { font-size: 16px; color: var(--lx-gold2); font-variant-numeric: tabular-nums; }
.fnb-pay { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 12px; padding: 10px 16px; background: linear-gradient(135deg, var(--lx-gold2), var(--lx-gold)); color: var(--lx-ink); font-weight: 800; font-size: 14px; }
.fnb-pay svg { width: 18px; height: 18px; } .fnb-pay:disabled { opacity: .55; }

/* ---------- F&B: editor penjual ---------- */
.fnbe { display: grid; gap: 12px; }
.fnbe-card { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 12px; background: var(--lx-velvet); border: 1px solid var(--lx-line); border-radius: 18px; animation: lxPop .35s var(--lx-ease) both; }
.fnbe-poster { aspect-ratio: 1; border-radius: 14px; border: 1.5px dashed var(--lx-line2); background: #0b1020; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--lx-gold2); cursor: pointer; overflow: hidden; }
.fnbe-poster img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; cursor: pointer; }
.fnbe-poster svg { width: 26px; height: 26px; } .fnbe-poster small { font-size: 12px; font-weight: 600; }
.fnbe-fields { display: grid; gap: 7px; min-width: 0; }
.fnbe-fields input[type=text], .fnbe-fields input[type=number] { width: 100%; border: 1px solid var(--lx-line2); border-radius: 11px; padding: 9px 11px; font-size: 15px; background: #0b1020; color: var(--ios-text); }
.fnbe-fields input:focus { outline: none; border-color: var(--lx-gold); box-shadow: 0 0 0 3px rgba(217,180,90,.16); }
.fnbe-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fnbe-sw { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ios-sub); } .fnbe-sw input { width: 18px; height: 18px; accent-color: var(--lx-gold); }
.fnbe-link { border: 0; background: none; color: var(--lx-gold2); font-size: 13px; font-weight: 600; padding: 0; }
.fnbe-del { margin-left: auto; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255,107,107,.12); color: #ff8a80; display: inline-flex; align-items: center; justify-content: center; } .fnbe-del svg { width: 18px; height: 18px; }
.fnbe-add { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; border: 1.5px dashed var(--lx-line2); background: none; color: var(--lx-gold2); border-radius: 16px; padding: 12px; font-size: 15px; font-weight: 700; }
.fnbe-add:disabled { opacity: .5; } .fnbe-empty { color: var(--ios-sub); font-size: 14px; line-height: 1.5; margin: 4px 2px; }

/* lightbox & toast */
.lightbox { background: rgba(3,5,10,.92); }
.toast { background: rgba(21,29,49,.97); color: var(--ios-text); border: 1px solid var(--lx-line2); box-shadow: 0 18px 40px -20px #000; }

@media (max-width: 420px) { .fnbe-card { grid-template-columns: 84px 1fr; } .fnb-card { flex-basis: 70%; } .app .bubble { max-width: 86%; } }
@media (prefers-reduced-motion: reduce) {
  .app *, .app *::before, .app *::after, .sheet *, .fnb-card, .fnbe-card { animation: none !important; transition: none !important; }
}
/* [NEW 2026-09-30] mode pantau admin & QRIS nominal bebas */
.app .bubble .by{font-size:11px;font-weight:700;color:var(--lx-gold2,#f1d48a);opacity:.85;margin-bottom:3px;letter-spacing:.2px}
.app .watch-banner{display:flex;gap:8px;align-items:center;padding:8px 12px;background:linear-gradient(90deg,rgba(255,107,107,.16),rgba(217,180,90,.12));border-bottom:1px solid rgba(255,107,107,.3);color:#ffd2cc;font-size:12.5px;font-weight:600}
.app .watch-banner svg{width:16px;height:16px;flex:none}
.app .flag-chip{display:inline-flex;align-items:center;gap:3px;padding:1px 7px;border-radius:99px;background:rgba(255,107,107,.18);color:#ff8a80;font-size:11px;font-weight:800;margin-left:6px}
.app .flag-chip svg{width:11px;height:11px}
.app .seller-chip{display:inline-block;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;padding:1px 7px;border-radius:99px;background:rgba(217,180,90,.14);color:var(--lx-gold2,#f1d48a);font-size:11px;font-weight:700;margin-left:6px}
.app .seller-filter{width:100%;margin:6px 0 2px;padding:9px 12px;border-radius:12px;border:1px solid var(--lx-line2,#2e3955);background:var(--lx-velvet,#101729);color:var(--ios-text,#f3efe6);font-size:14px}
.app .composer .qris-btn-c{width:40px;height:40px;flex:none;border-radius:50%;border:1px solid var(--lx-line2,#2e3955);background:var(--lx-velvet,#101729);color:var(--lx-gold2,#f1d48a);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.app .composer .qris-btn-c svg{width:19px;height:19px}
.audit-list{display:grid;gap:8px}
.audit-item{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;padding:10px 12px;border-radius:12px;background:var(--lx-velvet,#101729);border:1px solid var(--lx-line,#232c44)}
.audit-item.blokir_kontak{border-color:rgba(255,107,107,.55);background:rgba(255,107,107,.08)}
.audit-item.bayar{border-color:rgba(57,217,138,.45)}
.audit-item .ai-dot{width:10px;height:10px;border-radius:50%;margin-top:5px;background:var(--lx-gold,#d9b45a)}
.audit-item.blokir_kontak .ai-dot{background:#ff6b6b}.audit-item.bayar .ai-dot{background:#39d98a}
.audit-item b{font-size:13.5px}.audit-item p{margin:3px 0 0;font-size:12.5px;color:var(--ios-sub,#8e97ab);line-height:1.5;word-break:break-word}
.cq-field{display:grid;gap:6px;margin-bottom:12px}.cq-field label{font-size:12.5px;font-weight:700;color:var(--ios-sub,#8e97ab)}
.cq-field input{width:100%;padding:12px;border-radius:12px;border:1px solid var(--lx-line2,#2e3955);background:#0b1020;color:var(--ios-text,#f3efe6);font-size:16px}
.cq-field input.amt{font-size:20px;font-weight:800}
