:root { --bg: #0d1117; --panel: #161b22; --line: #30363d; --txt: #e6edf3; --dim: #8b949e; --acc: #f0b429; --grn: #3fb950; --red: #f85149; }
* { box-sizing: border-box; margin: 0; }
body { background: var(--bg); color: var(--txt); font-family: -apple-system, "Segoe UI", Roboto, sans-serif; min-height: 100vh; }
.hidden { display: none !important; }
header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.logo { font-size: 22px; font-weight: 800; }
.head-right { display: flex; gap: 10px; align-items: center; }
.coin-pill { background: #2a2113; border: 1px solid var(--acc); color: var(--acc); padding: 6px 14px; border-radius: 20px; font-weight: 700; }
.btn { background: var(--acc); color: #111; border: none; padding: 10px 22px; border-radius: 10px; font-weight: 700; cursor: pointer; font-size: 15px; }
.btn:hover { filter: brightness(1.08); }
.btn.big { font-size: 20px; padding: 16px 48px; border-radius: 14px; }
.btn.small { padding: 7px 14px; font-size: 13px; }
.btn.ghost { background: transparent; color: var(--txt); border: 1px solid var(--line); }
.btn.danger { border-color: var(--red); color: var(--red); }
#landing { text-align: center; padding: 60px 20px; max-width: 720px; margin: 0 auto; }
#landing h1 { font-size: 52px; line-height: 1.1; margin-bottom: 14px; }
.sub { color: var(--dim); margin-bottom: 26px; }
.filters-row { display: flex; gap: 8px; justify-content: center; margin: 18px 0; flex-wrap: wrap; }
.filters-row select, .filters-row input, .box input, .box select { background: var(--panel); border: 1px solid var(--line); color: var(--txt); padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 34px 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 10px; display: flex; flex-direction: column; gap: 6px; }
.card span { color: var(--dim); font-size: 13px; }
.fine { color: var(--dim); font-size: 12px; }
#chat { max-width: 860px; margin: 0 auto; padding: 16px; }
.videos { display: grid; grid-template-columns: 1fr 220px; gap: 10px; }
.vid-wrap { position: relative; background: #000; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line); }
.vid-wrap video { width: 100%; height: 100%; object-fit: cover; }
/* selfie preview behaves like a mirror; the stranger still sees you normally */
.vid-wrap.self video { transform: scaleX(-1); }
.tag { position: absolute; left: 10px; bottom: 8px; background: rgba(0,0,0,.6); padding: 4px 10px; border-radius: 8px; font-size: 13px; }
.status { text-align: center; color: var(--dim); margin: 10px 0; min-height: 20px; }
#msgs { height: 180px; overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 6px; }
#msgs .m b { color: var(--acc); }
#msgs .sys { color: var(--dim); font-style: italic; font-size: 13px; }
#msgs .giftm { color: var(--acc); font-weight: 700; }
.controls { display: flex; gap: 8px; margin-bottom: 10px; }
.controls input { flex: 1; background: var(--panel); border: 1px solid var(--line); color: var(--txt); padding: 10px 14px; border-radius: 10px; font-size: 15px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; z-index: 10; padding: 16px; }
.modal .box { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; width: 100%; max-width: 380px; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.err { color: var(--red); font-size: 13px; min-height: 18px; }
.swap { font-size: 13px; color: var(--dim); } .swap a { color: var(--acc); }
.pkg { display: flex; justify-content: space-between; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.gift-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.or { display: flex; align-items: center; gap: 10px; margin: 12px 0; color: var(--dim); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
#gBtn { display: flex; justify-content: center; margin-bottom: 6px; }
@media (max-width: 640px) { .videos { grid-template-columns: 1fr; } #landing h1 { font-size: 38px; } }
