body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
#app, .login { max-width: 560px; margin: 0 auto; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-box { width: 100%; max-width: 380px; text-align: center; display: grid; gap: 12px; }
.login-box h2 { margin: 6px 0 0; }
.av-g { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto; background: var(--bg3) center/cover; box-shadow: 0 0 0 3px var(--cor); }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; background: rgba(12,12,15,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha); }
.av { width: 38px; height: 38px; border-radius: 50%; background: var(--bg3) center/cover; flex: none; }
.h-nome { flex: 1; line-height: 1.2; }
.h-nome b { display: block; }
.h-nome span { font-size: 12px; color: var(--txt2); }
.h-nome span.diam { color: var(--ouro); font-weight: 700; }
.inst { background: var(--cor); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 999px; }

.tit { margin: 18px 14px 8px; font-size: 21px; letter-spacing: -.02em; }
.pad { padding: 0 14px; margin-top: 0; }

.stories { display: flex; gap: 12px; overflow-x: auto; padding: 14px; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: none; width: 66px; text-align: center; font-size: 11px; color: var(--txt2); }
.story .anel { width: 66px; height: 66px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--cor), var(--ouro), var(--cor)); }
.story .anel div { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--bg); background: var(--bg3) center/cover; display: grid; place-items: center; font-size: 20px; }
.story.trancado .anel { background: var(--linha); }

.banner { margin: 10px 14px; border-radius: 16px; padding: 14px; display: flex; gap: 12px; align-items: center; background: var(--bg2); border: 1px solid var(--linha); cursor: pointer; }
.banner.ouro { border-color: color-mix(in srgb, var(--ouro) 50%, transparent); background: linear-gradient(120deg, color-mix(in srgb, var(--ouro) 12%, var(--bg2)), var(--bg2)); }
.banner.alerta { border-color: color-mix(in srgb, var(--cor) 60%, transparent); background: color-mix(in srgb, var(--cor) 10%, var(--bg2)); }
.banner i { font-style: normal; font-size: 26px; }
.banner div { flex: 1; font-size: 14px; }
.banner b { display: block; font-size: 15px; }
.banner .seta { flex: none; font-weight: 800; color: var(--cor); }
.banner.ouro .seta { color: var(--ouro); }

.post { border-bottom: 1px solid var(--linha); padding: 12px 0 16px; }
.post-h { display: flex; gap: 10px; align-items: center; padding: 0 14px 10px; }
.post-h .av { width: 34px; height: 34px; }
.post-h b { display: block; font-size: 14px; }
.post-h span { font-size: 12px; color: var(--txt2); }
.tag { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--bg3); color: var(--txt2); margin-left: auto; white-space: nowrap; }
.tag.diam { background: color-mix(in srgb, var(--ouro) 16%, transparent); color: var(--ouro); }
.tag.ppv { background: color-mix(in srgb, var(--cor) 16%, transparent); color: var(--cor); }
.ig-likes { padding: 10px 14px 0; font-size: 14px; }
.legenda { padding: 4px 14px 0; font-size: 14px; line-height: 1.4; }
.legenda b, .ig-coms b { margin-right: 6px; }
.ig-coms { padding: 6px 14px 0; display: grid; gap: 2px; font-size: 14px; line-height: 1.35; }
.ig-coms > span { color: var(--txt2); font-size: 13px; margin-top: 2px; }

.carrossel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #000; }
.carrossel::-webkit-scrollbar { display: none; }
.midia { flex: none; width: 100%; scroll-snap-align: center; position: relative; display: grid; place-items: center; max-height: 80vh; overflow: hidden; }
.midia img, .midia video { width: 100%; max-height: 80vh; object-fit: contain; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.contador { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.6); font-size: 12px; padding: 3px 9px; border-radius: 999px; pointer-events: none; }

.trancado-box { position: relative; aspect-ratio: 4/5; max-height: 70vh; width: 100%; overflow: hidden; background: linear-gradient(160deg, var(--bg3), #0f0f13); display: grid; place-items: center; }
.trancado-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(22px) brightness(.55); transform: scale(1.2); }
.trancado-box .in { position: relative; text-align: center; padding: 20px; max-width: 300px; }
.trancado-box .cad { font-size: 30px; }
.trancado-box .qtd { color: var(--txt2); font-size: 13px; margin: 4px 0 14px; }

.fim { text-align: center; padding: 26px 14px 10px; }

.combo { margin: 6px 14px 14px; padding: 16px; border-radius: 18px; background: linear-gradient(120deg, color-mix(in srgb, var(--cor) 22%, var(--bg2)), var(--bg2)); border: 1px solid color-mix(in srgb, var(--cor) 50%, transparent); }
.combo b { font-size: 18px; display: block; }
.combo .preco { display: flex; gap: 10px; align-items: baseline; margin: 8px 0 12px; }
.combo .de { text-decoration: line-through; color: var(--txt2); }
.combo .por { font-size: 26px; font-weight: 800; }
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px; }
.pack { background: var(--bg2); border-radius: 16px; overflow: hidden; cursor: pointer; border: 1px solid var(--linha); display: flex; flex-direction: column; }
.pack .capa { aspect-ratio: 4/5; background: var(--bg3) center/cover; position: relative; display: grid; place-items: center; font-size: 30px; }
.pack .capa.tr { filter: none; }
.pack .capa .selo { position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.65); }
.pack .capa .selo.ok { background: var(--ok); color: #fff; }
.pack .inf { padding: 10px 11px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pack .inf b { font-size: 14px; line-height: 1.25; }
.pack .inf span { font-size: 12px; color: var(--txt2); }
.pack .btn { padding: 10px; font-size: 14px; border-radius: 11px; margin-top: auto; }

.opcao { margin: 10px 14px; background: var(--bg2); border-radius: 16px; padding: 14px; border: 1px solid var(--linha); }
.opcao .cab { display: flex; justify-content: space-between; gap: 10px; }
.opcao .cab b { font-size: 16px; }
.opcao .preco { font-weight: 800; color: var(--cor); white-space: nowrap; }
.opcao textarea { margin: 10px 0; min-height: 80px; resize: vertical; }
.sol { margin: 10px 14px; background: var(--bg2); border-radius: 14px; padding: 13px; }
.sol .st { font-size: 12px; font-weight: 800; }
.st.pago, .st.produzindo { color: var(--ouro); }
.st.entregue { color: var(--ok); }
.st.recusado { color: #ff7b8f; }
.sol .grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 10px; }
.thumb { aspect-ratio: 1; background: var(--bg3) center/cover; border-radius: 8px; cursor: pointer; display: grid; place-items: center; position: relative; overflow: hidden; }
.thumb video { width: 100%; height: 100%; object-fit: cover; }
.thumb .play { position: absolute; font-size: 20px; text-shadow: 0 1px 6px #000; }

.cartao { margin: 10px 14px; background: var(--bg2); border-radius: 16px; padding: 16px; border: 1px solid var(--linha); }
.cartao h3 { margin: 0 0 6px; font-size: 17px; }
.linha-plano { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--linha); }
.linha-plano:first-of-type { border-top: 0; }
.linha-plano .btn { width: auto; padding: 10px 14px; font-size: 14px; }

.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; max-width: 560px; margin: 0 auto; background: rgba(12,12,15,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--linha); padding-bottom: env(safe-area-inset-bottom); }
.nav button { flex: 1; padding: 9px 0 10px; font-size: 11px; color: var(--txt2); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.nav button span { font-size: 19px; line-height: 1.1; }
.nav button.on { color: var(--txt); }
.nav button.on span { color: var(--cor); }

.viewer { position: fixed; inset: 0; z-index: 60; background: #000; display: flex; flex-direction: column; }
.v-trilho { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.v-trilho::-webkit-scrollbar { display: none; }
.v-trilho .midia { height: 100%; max-height: none; }
.v-trilho .midia img, .v-trilho .midia video { max-height: 100vh; height: 100%; }
.v-fechar { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 24px; color: #fff; }
.v-cont { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; font-size: 13px; color: #ccc; pointer-events: none; }
.story-barra { position: absolute; top: calc(8px + env(safe-area-inset-top)); left: 10px; right: 60px; height: 3px; background: rgba(255,255,255,.3); border-radius: 3px; z-index: 3; overflow: hidden; }
.story-barra i { display: block; height: 100%; background: #fff; width: 0; }

/* ---------- disfarce calculadora ---------- */
.calc { position: fixed; inset: 0; z-index: 100; background: #000; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 max(16px, calc(50% - 224px)) calc(24px + env(safe-area-inset-bottom)); font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; }
.calc-visor { color: #fff; font-size: 84px; font-weight: 300; text-align: right; padding: 0 10px 14px; line-height: 1; overflow: hidden; white-space: nowrap; letter-spacing: -.02em; }
.calc-teclas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.calc-teclas button { aspect-ratio: 1; border-radius: 50%; background: #333; color: #fff; font-size: 34px; font-weight: 400; transition: filter .1s; }
.calc-teclas button:active { filter: brightness(1.6); }
.calc-teclas .cz { background: #a5a5a5; color: #000; font-size: 28px; }
.calc-teclas .co { background: #ff9f0a; font-size: 38px; }
.calc-teclas .co.on { background: #fff; color: #ff9f0a; }
.calc-teclas .c0 { grid-column: span 2; aspect-ratio: auto; border-radius: 999px; text-align: left; padding-left: 32px; }
.esconder { width: 34px; height: 34px; border-radius: 50%; background: var(--bg3); font-size: 16px; flex: none; }

.vip-card { border-color: color-mix(in srgb, var(--cor) 55%, transparent); background: linear-gradient(140deg, color-mix(in srgb, var(--cor) 14%, var(--bg2)), var(--bg2)); }
.vip-card .btn { margin-top: 12px; }
.vip-lista { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: 14px; }
.vip-lista li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }
.btn.zap { background: #25d366; color: #062d14; }
.st.aguardando { color: #25d366; }

/* ---------- ao vivo ---------- */
.live-feed { display: flex; align-items: center; gap: 12px; width: calc(100% - 28px); box-sizing: border-box; margin: 12px 14px 0; padding: 16px; border-radius: 16px; background: linear-gradient(110deg, #ff2440, #9d0016 70%); color: #fff; text-align: left; box-shadow: 0 10px 28px rgba(224, 24, 45, .35); animation: live-pulso 1.6s infinite; }
.live-feed div { flex: 1; }
.live-feed b { display: block; font-size: 18px; letter-spacing: .06em; }
.live-feed span { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: #ffe4e8; }
.live-feed em { margin-left: auto; font-style: normal; font-weight: 800; font-size: 14px; white-space: nowrap; }
.live-feed .bolha { width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.28); animation: pisca 1s infinite; flex: none; }
.live-feed.off { animation: none; }
@keyframes live-pulso { 50% { transform: scale(1.015); box-shadow: 0 14px 34px rgba(224, 24, 45, .55); } }
@keyframes pisca { 50% { opacity: .2 } }
.live-hero { margin: 14px; border-radius: 20px; overflow: hidden; background: linear-gradient(150deg, #3a0a12, #120608 70%); border: 1px solid #5a1420; padding: 22px 18px; text-align: center; position: relative; }
.live-hero .tag { display: inline-flex; align-items: center; gap: 7px; background: #e0182d; color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .08em; padding: 6px 12px; border-radius: 8px; }
.live-hero .tag.off { background: rgba(255,255,255,.1); }
.live-hero .tag i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pisca 1s infinite; }
.live-hero .tag.off i { animation: none; background: #e0182d; }
.live-hero h2 { margin: 14px 0 6px; font-size: 24px; letter-spacing: -.02em; }
.live-hero p { margin: 0 0 16px; color: #d9b3b9; }
.live-hero .preco { font-size: 30px; font-weight: 800; margin: 4px 0 14px; }
.live-hero .btn { background: #e0182d; }
.live-hero .quando { background: rgba(0,0,0,.35); border-radius: 12px; padding: 12px; margin: 0 0 16px; font-size: 14px; }
.live-hero .quando b { display: block; font-size: 17px; margin-top: 2px; }
.live-lista { list-style: none; padding: 0; margin: 0 0 16px; text-align: left; display: grid; gap: 7px; font-size: 14px; }
.live-lista li::before { content: "●"; color: #e0182d; margin-right: 9px; }
body.live-tela { padding-bottom: 0; overflow: hidden; }
body.live-tela #app { max-width: none; }
body.live-tela .nav { max-width: none; }
.stream { position: fixed; z-index: 8; top: calc(59px + env(safe-area-inset-top)); left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; width: 100%; background: #0c0c0f; overflow: hidden; }
.stream-palco { position: relative; flex: none; width: 100%; background: #000; border-bottom: 1px solid #2a2a32; }
.stream video { display: block; width: 100%; height: auto; max-height: 42dvh; object-fit: contain; background: #000; }
.stream-info { flex: none; padding: 14px 16px 16px; background: #121218; border-bottom: 1px solid #2a2a32; }
.stream-status { display: flex; align-items: center; gap: 10px; min-width: 0; }
.stream-nome { margin: 10px 0 0; font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
.stream-ao { display: inline-flex; align-items: center; gap: 6px; background: #e0182d; color: #fff; font-weight: 800; font-size: 11px; letter-spacing: .08em; padding: 5px 8px; border-radius: 6px; flex: none; }
.stream-ao i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pisca 1s infinite; }
.stream-olhos { color: #b7b7c2; font-size: 13px; font-weight: 600; white-space: nowrap; }
.stream-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.stream-baixo { flex: 1; width: 100%; display: flex; flex-direction: column; min-height: 0; background: #0e0e12; }
.stream-chat { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 14px 16px; -webkit-mask-image: linear-gradient(transparent, #000 22px); mask-image: linear-gradient(transparent, #000 22px); }
.stream-msg { color: #f3f3f5; font-size: 14px; line-height: 1.35; }
.stream-msg b { color: #ff8aa3; margin-right: 6px; font-weight: 700; }
.stream-msg.eu b { color: #fff; }
.stream-like { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 999px; background: #1c1c24; color: #fff; }
.stream-like i { font-style: normal; font-size: 15px; }
.stream-like b { font-size: 13px; font-weight: 700; }
.stream-som { width: 32px; height: 32px; border-radius: 50%; background: #1c1c24; color: #fff; font-size: 14px; }
.stream-bar { display: flex; gap: 8px; padding: 10px 16px 14px; border-top: 1px solid #2a2a32; background: #121218; }
.stream-bar input { flex: 1; min-width: 0; height: 44px; background: #1a1a20; border: 1px solid #2e2e36; color: #fff; border-radius: 999px; padding: 0 16px; }
.stream-bar input::placeholder { color: #8d8d98; }
.stream-bar button { flex: none; height: 44px; padding: 0 16px; background: #e0182d; color: #fff; font-weight: 700; font-size: 14px; border-radius: 999px; }
.live-oferta { position: fixed; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: 22px; pointer-events: none; }
.live-oferta.on { pointer-events: auto; }
.live-oferta-bg { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .25s; }
.live-oferta.on .live-oferta-bg { opacity: 1; }
.live-oferta-box { position: relative; width: min(400px, 100%); background: #16161c; border: 1px solid #3a2430; border-radius: 20px; padding: 20px 18px 18px; box-shadow: 0 24px 70px rgba(0,0,0,.55); opacity: 0; transform: scale(.94); transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .28s; }
.live-oferta.on .live-oferta-box { opacity: 1; transform: scale(1); }
.live-oferta-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: #1c1c24; color: #fff; font-size: 18px; }
.live-oferta-tag { display: inline-flex; align-items: center; gap: 6px; background: #e0182d; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 5px 8px; border-radius: 6px; }
.live-oferta-tag i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pisca 1s infinite; }
.live-oferta-box h3 { margin: 12px 0 6px; font-size: 22px; letter-spacing: -.02em; }
.live-oferta-box p { margin: 0 0 10px; color: #c8c8d0; }
.live-oferta-box ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.live-oferta-box li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }
.live-oferta-box .btn { background: #e0182d; }
.live-oferta-box .pix-box { text-align: center; }
.live-oferta-box .pix-box h3 { margin: 10px 0 6px; text-align: left; }
.live-oferta-box .pix-box img { width: 180px; height: 180px; margin: 4px auto 10px; background: #fff; border-radius: 12px; padding: 8px; }
.live-oferta-box .pix-code { font-size: 11px; max-height: 42px; text-align: left; }
.live-pix-espera { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; color: #c8c8d0; font-size: 14px; }
.live-oferta-erro { color: #ff7b8f; font-size: 13px; margin: 8px 0 0; }
.coracao-voa { position: absolute; right: 18px; bottom: 12px; font-size: 26px; animation: sobe 1s ease forwards; pointer-events: none; z-index: 3; }
@keyframes sobe { to { transform: translateY(-160px) scale(1.3); opacity: 0; } }
.grav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px; }
.grav .thumb { aspect-ratio: 9/12; border-radius: 12px; }
