/* ==========================================================================
   Páginas empilhadas: evento, chat, ingresso, portaria, conhecer, editor, boost
   ========================================================================== */

/* ------------------------------ Evento ------------------------------ */
.evp { position: absolute; inset: 0; }
.evp__scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior-y: contain; padding-bottom: calc(var(--safe-b) + 110px); }
.evp__hero { position: relative; height: calc(var(--safe-t) + 330px); overflow: hidden; }
.evp__hero-img { position: absolute; inset: -2px; background-size: cover; background-position: center; will-change: transform; transform-origin: 50% 0; }
.evp__hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 6, 24, 0.55) 0%, transparent 28%, rgba(11, 6, 24, 0.35) 60%, var(--bg) 100%); }
.evp__head { position: relative; margin-top: -86px; padding: 0 var(--gutter); }
.evp__pills { display: flex; flex-wrap: wrap; gap: 6px; }
.evp__pills .pill { -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.evp__title { font-family: var(--font-display); font-size: clamp(25px, 7.4vw, 31px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; margin-top: 10px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.evp__producer { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; color: var(--text-2); }
.evp__producer b { color: var(--text); }
.evp__vibes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.evp .card { margin: 14px var(--gutter) 0; }
.evp__when { padding: 16px; }
.cd__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }
.cd__boxes { display: flex; align-items: flex-start; gap: 6px; margin: 10px 0 14px; }
.cd__box { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 10px 0 8px; border-radius: 16px; background: var(--grad-soft); border: 1px solid rgba(255, 62, 154, 0.25); }
.cd__box b { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.cd__box b.tick { animation: tick 0.4s var(--ease-out); }
@keyframes tick { from { transform: translateY(-6px); opacity: 0.3; } }
.cd__box small { font-size: 10.5px; font-weight: 800; color: var(--text-2); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.cd__sep { font-style: normal; font-family: var(--font-display); font-size: 22px; color: var(--text-3); padding-top: 12px; }
.live-block { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.live-block__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.live-block__row.small { font-size: 12px; color: var(--text-2); font-weight: 700; }
.live-block__end { color: var(--text); }
.live-block__bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.live-block__bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #FF3E9A, #ff3d5a); box-shadow: 0 0 14px rgba(255, 61, 90, 0.7); position: relative; }
.live-block__bar.is-open i { width: 100% !important; background: repeating-linear-gradient(90deg, #FF3E9A 0 16px, #ff3d5a 16px 32px); background-size: 64px 100%; animation: stripes 1.2s linear infinite; }
@keyframes stripes { to { background-position: 64px 0; } }
.when-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.when-row + .when-row { border-top: 1px solid var(--border); padding-top: 12px; }
.when-row__ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); flex: none; color: var(--soft); }
.when-row > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.when-row b { font-size: 14.5px; }
.when-row small { color: var(--text-2); font-size: 13px; }
.evp__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px var(--gutter) 0; }
.evp__stats .card { margin: 0; }
.stat { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; text-align: left; min-width: 0; }
.stat__top { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; }
.stat__big { font-family: var(--font-display); font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat__sub { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); font-weight: 700; min-height: 22px; }
.evp .crowd { padding: 16px; }
.evp section.card:has(.crowd) { padding: 0; }

.presence { padding: 16px; transition: border-color var(--t), background var(--t); }
.presence.is-going { border-color: rgba(52, 211, 153, 0.3); background: linear-gradient(180deg, rgba(52, 211, 153, 0.08), rgba(52, 211, 153, 0.02)); }
.presence__main { display: flex; align-items: center; gap: 12px; }
.presence__txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.presence__txt b { font-size: 16px; }
.presence__txt small { font-size: 12.5px; color: var(--text-2); }
.presence__btn { flex: none; }
.presence__vis { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); transition: opacity var(--t); }
.presence__vis.is-disabled { opacity: 0.45; }
.presence__vis-label { font-size: 13px; font-weight: 800; color: var(--text-2); }
.presence .seg > button { height: 32px; padding: 0 12px; font-size: 13px; }

.seg-tabs { position: sticky; top: calc(var(--safe-t) + 58px); z-index: 4; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; padding: 0 var(--gutter); background: rgba(14, 7, 28, 0.82); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.seg-tabs > button { position: relative; height: 46px; font-weight: 800; font-size: 14.5px; color: var(--text-3); display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: color var(--t); }
.seg-tabs > button.is-on { color: var(--text); }
.seg-tabs > button.has-new::after { content: ''; position: absolute; top: 10px; right: 18%; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.seg-tabs__live { display: inline-flex; }
.seg-tabs__ink { position: absolute; left: var(--gutter); bottom: 0; width: calc((100% - 32px) / 3); height: 3px; border-radius: 2px; background: var(--grad); transition: transform 0.4s var(--spring); box-shadow: 0 0 12px rgba(255, 62, 154, 0.7); }
.seg-tabs::before { content: ''; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--border); }
.pane { display: none; padding: 6px var(--gutter) 0; }
.pane.is-on { display: block; animation: paneIn 0.4s var(--ease-out); }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } }
.evp__desc { font-size: 15px; line-height: 1.6; color: rgba(255, 240, 250, 0.86); margin-top: 16px; }
.lineup { display: flex; flex-direction: column; gap: 2px; }
.lineup li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface); font-weight: 700; }
.lineup__n { font-family: var(--font-display); font-size: 12px; color: var(--magenta); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.info { padding: 12px; border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; gap: 2px; }
.info small { font-size: 11.5px; color: var(--text-3); font-weight: 700; }
.info b { font-size: 14px; }
.evp .loc, .evp .producer-card { margin: 0; }
.loc { overflow: hidden; }
.loc__map { height: 150px; background: #140a24; }
.loc__body { display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.loc__body > div:first-child { display: flex; flex-direction: column; gap: 3px; }
.loc__body small { font-size: 13px; color: var(--text-2); }
.loc__actions { display: flex; gap: 8px; }
.loc__actions .btn { flex: 1; }
.producer-card { display: flex; align-items: center; gap: 12px; padding: 12px; width: 100%; text-align: left; }
.producer-card__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.producer-card__txt small { font-size: 12.5px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.wall-head { display: flex; align-items: center; gap: 10px; padding: 16px 0 6px; font-size: 13px; }
.wall { display: flex; flex-direction: column; }
.wmsg { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.wmsg.is-new { animation: wallIn 0.55s var(--ease-out); }
@keyframes wallIn { from { opacity: 0; transform: translateY(-14px); background: rgba(255, 62, 154, 0.12); } }
.wmsg__av { flex: none; }
.wmsg__body { flex: 1; min-width: 0; }
.wmsg__head { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.wmsg__head time { margin-left: auto; font-size: 12px; color: var(--text-3); font-weight: 600; }
.wmsg__text { font-size: 14.5px; margin-top: 2px; color: rgba(255, 240, 250, 0.9); word-break: break-word; }
.wmsg__report { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 7px 12px 7px 8px; border-radius: 12px; background: var(--grad-soft); border: 1px solid rgba(255, 62, 154, 0.22); font-weight: 800; font-size: 13.5px; }
.wmsg__report-ico { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: var(--soft); flex: none; }
.wmsg__fire { flex: none; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 38px; padding: 6px 4px; border-radius: 12px; color: var(--text-3); transition: color var(--t-fast), background var(--t-fast); }
.wmsg__fire span { font-size: 11px; font-weight: 800; color: var(--text-2); min-height: 14px; }
.wmsg__fire.is-on { color: #ff5c7a; background: rgba(255, 61, 90, 0.12); }
.wmsg__fire.is-on .i { fill: currentColor; }
.wmsg__fire.pop { animation: pop 0.3s var(--spring); }
.me-going { display: flex; align-items: center; gap: 12px; margin: 16px 0 0 !important; padding: 12px; }
.me-going > span { flex: 1; display: flex; flex-direction: column; }
.me-going small { color: var(--text-2); font-size: 12.5px; }
.friends-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.evp .people .person { padding-left: 0; padding-right: 0; }
.hidden-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); margin-top: 14px; padding: 12px; border-radius: 14px; background: var(--surface); }

.evp__bar { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; gap: 8px; padding: calc(var(--safe-t) + 8px) 10px 8px; transition: background var(--t), border-color var(--t); border-bottom: 1px solid transparent; }
.evp__bar.is-solid { background: rgba(18, 8, 34, 0.78); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-color: var(--border); }
.evp__bar-title { flex: 1; min-width: 0; font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(6px); transition: opacity var(--t), transform var(--t) var(--ease); }
.evp__bar.is-solid .evp__bar-title { opacity: 1; transform: none; }
.evp__bar-actions { display: flex; gap: 8px; }
.evp__cta, .evp__composer { position: absolute; z-index: 10; left: 10px; right: 10px; bottom: calc(var(--safe-b) + 10px); border-radius: 26px; box-shadow: var(--shadow-lg); animation: rise 0.5s var(--ease-out); }
.evp__cta { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; }
.cta__info { display: flex; flex-direction: column; margin-right: auto; min-width: 0; }
.cta__info small { font-size: 11.5px; color: var(--text-3); font-weight: 700; white-space: nowrap; }
.cta__info b { font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evp__cta .btn--grow { flex: 0 1 auto; min-width: 150px; }
.evp__composer { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.reports { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.composer { display: flex; align-items: center; gap: 8px; }
.composer input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: var(--r-full); background: var(--surface-2); border: 1px solid var(--border); font-size: 15px; }
.composer input:focus { border-color: rgba(138, 77, 255, 0.6); }
.composer__send { background: var(--grad); color: #fff; transition: transform var(--t-fast), opacity var(--t-fast); }
.composer__send:disabled { opacity: 0.35; background: var(--surface-3); }
.evp.is-wall .evp__scroll { padding-bottom: calc(var(--safe-b) + 150px); }

/* ------------------------------ Chat ------------------------------ */
.chat { position: absolute; inset: 0; display: flex; flex-direction: column; background: radial-gradient(600px 400px at 100% 0%, rgba(123, 47, 247, 0.12), transparent 60%), var(--bg); }
.chat__bar { position: relative; z-index: 3; display: flex; align-items: center; gap: 4px; padding: calc(var(--safe-t) + 6px) 8px 8px 4px; border-width: 0 0 1px; }
.chat__who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; text-align: left; }
.chat__who span { display: flex; flex-direction: column; min-width: 0; }
.chat__who b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__who small { font-size: 12.5px; color: var(--text-2); }
.chat__scroll { flex: 1; overflow-y: auto; overscroll-behavior-y: contain; padding: 12px 12px 8px; }
.chat__list { display: flex; flex-direction: column; gap: 2px; min-height: 100%; justify-content: flex-end; }
.day-sep { display: flex; justify-content: center; margin: 14px 0 8px; }
.day-sep span { font-size: 11.5px; font-weight: 800; color: var(--text-3); padding: 4px 10px; border-radius: var(--r-full); background: var(--surface); }
.msg { display: flex; align-items: flex-end; gap: 6px; animation: msgIn 0.3s var(--ease-out); }
.msg.is-first { margin-top: 6px; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
.msg--me { justify-content: flex-end; }
.msg__av { width: 28px; flex: none; }
.msg__col { max-width: 76%; display: flex; flex-direction: column; }
.msg--me .msg__col { align-items: flex-end; }
.msg__ctx { font-size: 11.5px; color: var(--text-3); font-weight: 700; margin-bottom: 3px; padding: 0 6px; }
.bubble { position: relative; padding: 9px 13px 8px; border-radius: 20px; font-size: 15px; line-height: 1.38; word-break: break-word; white-space: pre-wrap; }
.bubble time { display: inline-block; margin-left: 8px; font-size: 10.5px; font-weight: 700; opacity: 0.55; vertical-align: -2px; }
.msg--them .bubble { background: var(--surface-2); border: 1px solid var(--border); }
.msg--me .bubble { background: var(--grad); color: #fff; }
.msg--them:not(.is-first) .bubble { border-top-left-radius: 6px; }
.msg--them:not(.is-last) .bubble { border-bottom-left-radius: 6px; }
.msg--me:not(.is-first) .bubble { border-top-right-radius: 6px; }
.msg--me:not(.is-last) .bubble { border-bottom-right-radius: 6px; }
.bubble--typing { display: flex; gap: 4px; padding: 13px 14px; }
.bubble--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); animation: typing 1.2s infinite; }
.bubble--typing i:nth-child(2) { animation-delay: 0.15s; } .bubble--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.msg-status { align-self: flex-end; font-size: 11.5px; color: var(--text-3); font-weight: 700; margin: 3px 4px 0; }
.msg-event { display: flex; flex-direction: column; width: 250px; border-radius: 20px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--border-2); text-align: left; transition: transform var(--t-fast); }
.msg-event:active { transform: scale(0.97); }
.msg-event__cover { position: relative; height: 110px; background-size: cover; background-position: center; padding: 8px; }
.msg-event__cover .pill { -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); background: rgba(18, 8, 34, 0.6); }
.msg-event__body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.msg-event__body b { font-size: 14.5px; }
.msg-event__body small { font-size: 12px; color: var(--text-2); }
.msg-event__body em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--soft); margin-top: 4px; }
.chat__empty { margin: auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 40px 0; }
.chat__empty b { font-size: 17px; margin-top: 10px; }
.chat__empty small { color: var(--text-2); }
.chat__empty p { color: var(--text-2); margin-top: 10px; font-size: 14px; }
.chat__composer { display: flex; align-items: flex-end; gap: 6px; margin: 0 10px calc(var(--safe-b) + 10px); padding: 6px; border-radius: 26px; }
.chat__composer textarea { flex: 1; min-width: 0; max-height: 120px; resize: none; padding: 10px 6px; background: none; border: 0; font-size: 15.5px; line-height: 1.35; }
.chat__composer textarea::placeholder { color: var(--text-3); }
.chat__composer .icon-btn { width: 40px; height: 40px; }

/* ------------------------------ Ingresso ------------------------------ */
.tpage { position: absolute; inset: 0; background: var(--scene); overflow: hidden; }
.tpage__bg { position: absolute; inset: -30%; background-size: cover; background-position: center; filter: blur(60px) saturate(1.6) brightness(0.55); transform: scale(1.1); }
.tpage .topbar { position: relative; z-index: 2; }
.tpage__scroll { position: absolute; inset: 0; top: calc(var(--safe-t) + 58px); overflow-y: auto; padding: 8px 20px calc(var(--safe-b) + 30px); z-index: 1; }
.ticket { --tx: 0; --ty: 0; position: relative; max-width: 360px; margin: 0 auto; border-radius: 30px; background: #fff; color: #111; overflow: hidden; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.85); transform: perspective(900px) rotateY(calc(var(--tx) * 8deg)) rotateX(calc(var(--ty) * -8deg)); transition: transform 0.2s ease-out; animation: ticketIn 0.8s var(--spring); }
@keyframes ticketIn { from { transform: perspective(900px) rotateX(24deg) translateY(60px) scale(0.9); opacity: 0; } }
.ticket__holo { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: color-dodge; opacity: 0.35; background: linear-gradient(115deg, transparent 20%, rgba(255, 0, 170, 0.55) 35%, rgba(0, 220, 255, 0.55) 45%, rgba(200, 255, 77, 0.5) 55%, transparent 70%); background-size: 250% 250%; background-position: calc(50% + var(--tx) * 120%) calc(50% + var(--ty) * 120%); transition: background-position 0.2s ease-out; }
.ticket__top { position: relative; height: 150px; }
.ticket__cover { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ticket__cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8)); }
.ticket__ev { position: absolute; left: 16px; right: 16px; bottom: 14px; color: #fff; }
.ticket__ev .pill { background: rgba(18, 8, 34, 0.55); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.ticket__ev h2 { font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.15; margin-top: 8px; letter-spacing: -0.02em; }
.ticket__ev p { font-size: 13px; opacity: 0.85; }
.ticket__perf { position: relative; height: 22px; }
.ticket__perf::before { content: ''; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed #ddd; }
.ticket__perf::after { content: ''; position: absolute; top: 0; left: -11px; right: -11px; height: 22px; background: radial-gradient(circle at 0 50%, var(--bg) 10px, transparent 11px), radial-gradient(circle at 100% 50%, var(--bg) 10px, transparent 11px); }
.ticket__qr { width: 72%; margin: 6px auto 0; }
.ticket__code { text-align: center; font-family: ui-monospace, 'SF Mono', Consolas, monospace; font-size: 20px; font-weight: 800; letter-spacing: 0.18em; margin-top: 10px; cursor: pointer; }
.ticket__hint { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: #666; font-weight: 600; margin-top: 4px; padding: 0 16px; text-align: center; }
.ticket__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 18px 20px 22px; margin-top: 14px; border-top: 1px solid #eee; }
.ticket__grid small { display: block; font-size: 11px; font-weight: 800; color: #999; text-transform: uppercase; letter-spacing: 0.06em; }
.ticket__grid b { font-size: 14px; }
.ticket__stamp { position: absolute; z-index: 3; top: 52%; left: 50%; transform: translate(-50%, -50%) rotate(-14deg); padding: 8px 18px; border: 5px solid #e11d48; border-radius: 14px; color: #e11d48; font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: 0.08em; background: rgba(255, 255, 255, 0.82); animation: stamp 0.5s var(--spring); }
@keyframes stamp { from { transform: translate(-50%, -50%) rotate(-14deg) scale(2); opacity: 0; } }
.ticket.is-used .ticket__qr { opacity: 0.18; filter: blur(1px); }
.ticket-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.ticket-dots button { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.3); transition: width var(--t) var(--ease), background var(--t); }
.ticket-dots button.is-on { width: 22px; background: #fff; }
.tpage__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 360px; margin: 20px auto 0; }

/* ------------------------------ Portaria ------------------------------ */
.page--dark { background: #000; }
.gate { position: absolute; inset: 0; background: #000; overflow: hidden; }
.gate__cam { position: absolute; inset: 0; }
.gate__flash { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; }
.gate__flash.is-ok { background: radial-gradient(circle, rgba(52, 211, 153, 0.55), rgba(52, 211, 153, 0.15)); }
.gate__flash.is-warn { background: radial-gradient(circle, rgba(251, 191, 36, 0.55), rgba(251, 191, 36, 0.15)); }
.gate__flash.is-err { background: radial-gradient(circle, rgba(255, 61, 90, 0.6), rgba(255, 61, 90, 0.15)); }
.gate__flash.is-on { animation: flash 0.9s var(--ease-out); }
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0; } }
.gate__bar { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 8px; padding: calc(var(--safe-t) + 8px) 10px 8px; }
.gate__title { flex: 1; min-width: 0; text-align: center; display: flex; flex-direction: column; }
.gate__title b { font-size: 16px; }
.gate__title small { font-size: 12.5px; color: rgba(255, 255, 255, 0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gate__stats { position: absolute; z-index: 5; top: calc(var(--safe-t) + 66px); left: 12px; right: 12px; display: flex; align-items: center; justify-content: space-around; gap: 8px; padding: 10px 14px; border-radius: 22px; }
.gate__stat { display: flex; flex-direction: column; align-items: center; }
.gate__stat b { font-family: var(--font-display); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gate__stat small { font-size: 11px; font-weight: 800; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.05em; }
.gate .ring::before { background: #110f1a; }
.gate__result { position: absolute; z-index: 6; left: 14px; right: 14px; top: 50%; transform: translate3d(0, -40%, 0) scale(0.85); opacity: 0; pointer-events: none; transition: transform 0.45s var(--spring), opacity 0.25s; }
.gate__result.is-in { transform: translate3d(0, -50%, 0); opacity: 1; }
.gate-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 26px; background: rgba(22, 10, 40, 0.94); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 2px solid var(--gc); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 60px -10px var(--gc); }
.gate-card--ok { --gc: var(--ok); }
.gate-card--warn { --gc: var(--warn); }
.gate-card--err { --gc: var(--max); }
.gate-card__ico { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: color-mix(in srgb, var(--gc) 18%, transparent); color: var(--gc); flex: none; }
.gate-card__ico .avatar { box-shadow: 0 0 0 3px var(--gc); border-radius: 50%; }
.gate-card__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gate-card__txt h3 { font-size: 18px; font-weight: 800; color: var(--gc); }
.gate-card__txt span { font-size: 13.5px; color: var(--text-2); }
.gate__name { font-size: 17px; }
.gate__foot { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; padding: 20px 12px calc(var(--safe-b) + 14px); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85) 40%); display: flex; flex-direction: column; gap: 12px; }
.gate__recent { display: flex; align-items: center; gap: 10px; overflow-x: auto; scrollbar-width: none; min-height: 34px; }
.gate__recent-label { font-size: 11px; font-weight: 800; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; flex: none; }
.gate__recent-item { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.08); flex: none; font-size: 12.5px; }
.gate__recent-item small { color: var(--text-3); }
.gate__btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.gate__btns .btn { height: 50px; }
.gate[data-state='ok'] .scanner__frame i { border-color: var(--ok); }
.gate[data-state='warn'] .scanner__frame i { border-color: var(--warn); }
.gate[data-state='err'] .scanner__frame i { border-color: var(--max); }
.manual { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.manual__input { height: 64px; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--border-2); text-align: center; font-family: ui-monospace, 'SF Mono', Consolas, monospace; font-size: 26px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.manual__input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(138, 77, 255, 0.15); }
.manual__input.is-shake { animation: shake 0.4s; border-color: var(--hot); }

/* ------------------------------ Conhecer alguém ------------------------------ */
.meet { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; }
.meet .topbar { position: relative; z-index: 2; }
.meet__seg { position: relative; z-index: 2; margin: 0 var(--gutter); width: auto; }
.meet__stage { position: relative; z-index: 1; flex: 1; }
.meet__pane { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; padding: 22px 20px calc(var(--safe-b) + 20px); overflow-y: auto; }
.meet__pane.is-on { display: flex; animation: paneIn 0.45s var(--ease-out); }
.meet-card { position: relative; width: min(100%, 320px); padding: 22px 22px 18px; border-radius: 34px; background: #fff; color: #111; box-shadow: 0 40px 90px -24px rgba(0, 0, 0, 0.9); animation: ticketIn 0.8s var(--spring); }
.meet-card__glow { position: absolute; inset: -2px; z-index: -1; border-radius: 36px; background: conic-gradient(from 0deg, #7B2FF7, #FF3E9A, #27D6D8, #FFD36B, #7B2FF7); filter: blur(22px); opacity: 0.75; animation: spin 6s linear infinite; }
.meet-card__qr { border-radius: 18px; overflow: hidden; }
.meet-card__who { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eee; }
.meet-card__who span { display: flex; flex-direction: column; }
.meet-card__who b { font-size: 16px; }
.meet-card__who small { font-size: 13px; color: #666; font-weight: 700; }
.meet__text { text-align: center; color: var(--text-2); font-size: 14.5px; max-width: 320px; margin-top: 22px; }
.meet__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-top: 28px; }
.meet__title + .meet__text { margin-top: 8px; }
.meet__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 340px; margin-top: 20px; }
.meet__actions--col { display: flex; flex-direction: column; align-items: stretch; }
.meet__cam { position: relative; width: 100%; max-width: 380px; aspect-ratio: 3 / 4; border-radius: 30px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg); flex: none; }
.meet__cam .scanner__frame { width: 62%; }
.meet__cam .scanner__hint { top: auto; bottom: 16px; }

.nfc-anim { position: relative; display: flex; align-items: center; justify-content: center; gap: 0; width: 100%; max-width: 320px; height: 190px; margin-top: 16px; }
.nfc-anim__phone { position: relative; width: 92px; height: 170px; border-radius: 22px; background: linear-gradient(160deg, #221d33, #110e1b); border: 2px solid rgba(255, 255, 255, 0.14); display: grid; place-items: center; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.8); transition: transform 0.6s var(--spring); }
.nfc-anim__phone::before { content: ''; position: absolute; top: 8px; left: 50%; width: 26px; height: 4px; margin-left: -13px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); }
.nfc-anim__phone--a { transform: translateX(-26px) rotate(-8deg); }
.nfc-anim__phone--b { transform: translateX(26px) rotate(8deg); color: var(--text-3); }
.nfc-anim__waves { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; }
.nfc-anim__waves i { position: absolute; left: -40px; top: -40px; width: 90px; height: 90px; border-radius: 50%; border: 2px solid var(--magenta); opacity: 0; }
.nfc-anim.is-listening .nfc-anim__waves i { animation: nfcWave 1.8s var(--ease-out) infinite; }
.nfc-anim.is-listening .nfc-anim__waves i:nth-child(2) { animation-delay: 0.6s; }
.nfc-anim.is-listening .nfc-anim__waves i:nth-child(3) { animation-delay: 1.2s; }
@keyframes nfcWave { from { transform: scale(0.3); opacity: 0.9; } to { transform: scale(2.2); opacity: 0; } }
.nfc-anim.is-listening .nfc-anim__phone--a { animation: nfcNudgeA 1.8s ease-in-out infinite; }
.nfc-anim.is-listening .nfc-anim__phone--b { animation: nfcNudgeB 1.8s ease-in-out infinite; }
@keyframes nfcNudgeA { 50% { transform: translateX(-12px) rotate(-4deg); } }
@keyframes nfcNudgeB { 50% { transform: translateX(12px) rotate(4deg); } }
.nfc-anim.is-bump .nfc-anim__phone--a { animation: none; transform: translateX(6px) rotate(0); }
.nfc-anim.is-bump .nfc-anim__phone--b { animation: none; transform: translateX(-6px) rotate(0); }
.nfc-anim.is-bump .nfc-anim__waves i { border-color: var(--lime); }

/* ------------------------------ Editor ------------------------------ */
.editor { position: absolute; inset: 0; display: flex; flex-direction: column; }
.editor__scroll { flex: 1; overflow-y: auto; overscroll-behavior-y: contain; padding: 14px var(--gutter) 0; }
.editor__foot { position: relative; z-index: 3; padding: 10px var(--gutter) calc(var(--safe-b) + 12px); border-width: 1px 0 0; border-radius: 0; }
.ed-cover { position: relative; height: 190px; border-radius: 24px; overflow: hidden; }
.ed-cover__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: background-image 0.3s; }
.ed-cover__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.75)); }
.ed-cover__txt { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; }
.ed-cover__txt small { font-size: 12px; font-weight: 800; color: var(--pink); text-transform: uppercase; letter-spacing: 0.06em; }
.ed-cover__txt b { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.ed-cover__txt span { font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.ed-cover__btn { position: absolute; top: 12px; right: 12px; }
.palette-row { margin: 14px 0 4px; }
.palettes { display: flex; gap: 10px; }
.palette { width: 40px; height: 40px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); transition: transform var(--t-fast) var(--spring); }
.palette.is-on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #fff; transform: scale(1.06); }
.ed-sec { padding: 18px 16px 4px; margin-top: 16px; }
.ed-sec__title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.ed-sec__title .i { color: var(--soft); }
.ed-sec [data-vibes] { margin-bottom: 6px; }
.ed-sec .seg { margin-bottom: 14px; }
.ed-sec .hint { margin-bottom: 16px; }
.ed-sec [data-err-vibes] { display: block; margin-bottom: 14px; }
.geo-results { display: flex; flex-direction: column; gap: 4px; margin: -8px 0 12px; }
.geo-result { display: flex; align-items: flex-start; gap: 8px; padding: 10px; border-radius: 12px; background: var(--surface); font-size: 13px; color: var(--text-2); text-align: left; }
.geo-result .i { margin-top: 1px; color: var(--pink); }
.pickmap { position: relative; height: 200px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: #140a24; }
.pickmap__hint { position: absolute; z-index: 500; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--r-full); background: rgba(18, 8, 34, 0.78); font-size: 12px; font-weight: 700; pointer-events: none; }
.ed-sec [data-use-loc] { margin: 6px 0 12px; }
.tiers-ed { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.tier-ed { display: grid; grid-template-columns: 1fr 96px 84px auto; gap: 6px; align-items: center; }
.tier-ed input { width: 100%; height: 46px; padding: 0 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 15px; }
.tier-ed input:focus { border-color: rgba(138, 77, 255, 0.6); }
.tier-ed__price, .tier-ed__qty { position: relative; display: flex; align-items: center; }
.tier-ed__price i, .tier-ed__qty i { position: absolute; font-style: normal; font-size: 12px; font-weight: 700; color: var(--text-3); pointer-events: none; }
.tier-ed__price i { left: 10px; }
.tier-ed__price input { padding-left: 32px; }
.tier-ed__qty i { right: 10px; }
.tier-ed__qty input { padding-right: 30px; }
.tier-ed__price.is-free { opacity: 0.4; }
.tier-ed__sold { grid-column: 1 / -1; font-size: 11.5px; color: var(--pink); font-weight: 700; margin-top: -2px; }
.tier-ed input[type='number'] { -moz-appearance: textfield; }
.tier-ed input::-webkit-outer-spin-button, .tier-ed input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ed-sec .set-row--plain .set-row__txt small { white-space: normal; }

/* ------------------------------ Impulsionar ------------------------------ */
.boost { position: absolute; inset: 0; display: flex; flex-direction: column; }
.boost__scroll { flex: 1; overflow-y: auto; overscroll-behavior-y: contain; padding: 0 0 20px; }
.boost__hero { position: relative; padding: 20px var(--gutter) 6px; overflow: hidden; }
.boost__rings { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; }
.boost__rings i { position: absolute; left: -150px; top: -150px; width: 300px; height: 300px; border-radius: 50%; border: 1.5px solid rgba(255, 62, 154, 0.4); animation: nfcWave 3s var(--ease-out) infinite; }
.boost__rings i:nth-child(2) { animation-delay: 1s; } .boost__rings i:nth-child(3) { animation-delay: 2s; }
.boost__ev { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; margin: 0 !important; }
.boost__ev > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.boost__ev b { font-size: 16px; }
.boost__active { position: relative; margin-top: 10px; font-size: 13px; color: var(--lime); font-weight: 700; display: flex; gap: 6px; align-items: flex-start; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 var(--gutter); }
.plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 10px 12px; border-radius: 20px; background: var(--surface); border: 1.5px solid var(--border); text-align: left; transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--ease); }
.plan:active { transform: scale(0.97); }
.plan.is-sel { border-color: rgba(255, 62, 154, 0.8); background: rgba(255, 92, 138, 0.1); }
.plan__tag { position: absolute; top: -9px; left: 10px; font-size: 9.5px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 7px; border-radius: 6px; background: var(--lime); color: #111; }
.plan__name { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--text-2); }
.plan__price { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.plan small { font-size: 11.5px; color: var(--text-2); line-height: 1.3; min-height: 30px; }
.plan .radio { display: none; }
.plan.is-sel { box-shadow: 0 12px 30px -12px rgba(255, 62, 154, 0.7); }
.radius { margin: 14px var(--gutter) 0; padding: 16px; }
.radius__head { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 12px; }
.radius__head span { font-weight: 800; color: var(--soft); }
.radius input[type='range'] { --p: 30%; width: 100%; height: 8px; border-radius: 4px; -webkit-appearance: none; appearance: none; background: linear-gradient(90deg, var(--magenta) var(--p), var(--surface-3) var(--p)); outline: none; }
.radius input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 62, 154, 0.35), 0 4px 10px rgba(0, 0, 0, 0.4); cursor: pointer; }
.radius input[type='range']::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(255, 62, 154, 0.35); }
.radius__est { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.radius__est > div { padding: 12px; border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; }
.radius__est small { font-size: 11.5px; color: var(--text-3); font-weight: 700; }
.radius__est b { font-family: var(--font-display); font-size: 20px; font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.perks { margin: 14px var(--gutter) 0; padding: 6px 14px; }
.perk { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.perk + .perk { border-top: 1px solid var(--border); }
.perk .i { color: var(--lime); }
.perk span { display: flex; flex-direction: column; }
.perk small { color: var(--text-2); font-size: 12.5px; }
.boost .methods { padding: 0 var(--gutter); }
.boost .summary { margin: 16px var(--gutter) 0; }
.boost .fine { padding: 0 var(--gutter); }
.success--page { padding: 60px 24px 20px; }
