/* TOKKA Pulse shell ? header switcher + tabs + sheets (ref: tokka-pulse-connect) */

body.plateia-app:has(.pulse-header) {
  --tk-bg: #0d0d0d;
  --tk-surface: #1f1f1f;
  --tk-ink: #f5f5f5;
  --tk-muted: #a3a3a3;
  --tk-border: rgba(255, 255, 255, 0.1);
  --tk-accent: #ff7a00;
  background: var(--tk-bg);
  color: var(--tk-ink);
  overflow-x: clip;
}

body.plateia-app:has(.pulse-header) main {
  margin: 12px auto 100px;
  max-width: 430px;
  width: 100%;
  padding: 0 14px 24px;
  min-width: 0;
  box-sizing: border-box;
}

/* Conteúdo Plateia/Palco: nunca estourar a coluna */
body.plateia-app:has(.pulse-header) .plateia-page,
body.plateia-app:has(.pulse-header) .pulse-eventos,
body.plateia-app:has(.pulse-header) .dc-home,
body.plateia-app:has(.pulse-header) .lv-home {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: clip;
}

.pulse-header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(13, 13, 13, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

/* Palco: barra s?lida preta (Lovable) */
.pulse-header--palco {
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 14px 16px;
}

/* Arena: mesma barra sólida do Palco */
.pulse-header--arena {
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 14px 16px;
}

.pulse-header--arena .pulse-switcher {
  max-width: min(68vw, 240px);
  padding: 5px 12px 5px 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  gap: 10px;
  min-height: 42px;
}

.pulse-header--arena .pulse-switcher-kind {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #ff7700;
}

.pulse-header--arena .pulse-switcher-name {
  max-width: 140px;
  font-size: 13px;
  font-weight: 700;
}

.pulse-header--arena .pulse-avatar {
  width: 30px;
  height: 30px;
  font-size: 10px;
  color: #0a0a0a;
}

.pulse-header--arena .pulse-switcher svg {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.7);
}

/* Produção: mesma barra sólida da Arena */
.pulse-header--producao {
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 14px 16px;
}

.pulse-header--producao .pulse-switcher {
  max-width: min(68vw, 240px);
  padding: 5px 12px 5px 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  gap: 10px;
  min-height: 42px;
}

.pulse-header--producao .pulse-switcher-kind {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #3dd6c6;
}

.pulse-header--producao .pulse-switcher-name {
  max-width: 140px;
  font-size: 13px;
  font-weight: 700;
}

.pulse-header--producao .pulse-avatar {
  width: 30px;
  height: 30px;
  font-size: 10px;
  color: #0a0a0a;
}

.pulse-header--producao .pulse-switcher svg {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.pulse-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.pulse-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.pulse-wordmark {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}

.pulse-wordmark span {
  color: #ff7700;
}

.pulse-header--palco .pulse-switcher {
  max-width: min(68vw, 240px);
  padding: 5px 12px 5px 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  gap: 10px;
  min-height: 42px;
}

.pulse-header--palco .pulse-switcher-kind {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #ff7700;
}

.pulse-header--palco .pulse-switcher-name {
  max-width: 140px;
  font-size: 13px;
  font-weight: 700;
}

.pulse-header--palco .pulse-avatar {
  width: 30px;
  height: 30px;
  font-size: 10px;
  color: #0a0a0a;
}

.pulse-header--palco .pulse-avatar.accent-purple {
  background: linear-gradient(135deg, #5b8cff, #a855f7);
  color: #0a0a0a;
}

.pulse-header--palco .pulse-switcher svg {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.pulse-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(62vw, 220px);
  margin: 0;
  padding: 4px 10px 4px 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  cursor: pointer;
  min-height: 40px;
}

.pulse-switcher svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

.pulse-switcher-text {
  min-width: 0;
  text-align: left;
}

.pulse-switcher-kind {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff7a00;
  line-height: 1.1;
}

.pulse-switcher-name {
  display: block;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.pulse-avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #0d0d0d;
  background: linear-gradient(135deg, #ff7a00, #ffb400);
}

.pulse-avatar.has-photo {
  background-size: cover;
  background-position: center;
  color: transparent;
}

.pulse-avatar.accent-purple {
  background: linear-gradient(135deg, #7b3dff, #009cff);
  color: #fff;
}

.pulse-avatar.accent-primary {
  background: linear-gradient(135deg, #ff7a00, #ffb400);
}

.pulse-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.pulse-tabs-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 430px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(13, 13, 13, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px 24px 0 0;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.pulse-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  margin: 0;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: #8a8a8a;
  font-size: 10px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}

.pulse-tab svg {
  width: 20px;
  height: 20px;
}

.pulse-tab.is-active,
.pulse-tab:hover {
  color: #ff7a00;
  text-decoration: none;
}

.pulse-tab-fab {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  margin: -22px 4px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00, #ffb400);
  color: #0d0d0d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 12px 28px -8px rgba(255, 122, 0, 0.55);
}

.pulse-tab-fab svg {
  width: 24px;
  height: 24px;
}

.pulse-tab-fab:hover {
  text-decoration: none;
  color: #0d0d0d;
}

.pulse-sheet {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: none;
  width: 100%;
  height: 100%;
  max-height: none;
}

.pulse-sheet::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.pulse-sheet[open] {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pulse-sheet-panel {
  width: 100%;
  max-width: 430px;
  max-height: min(86vh, 720px);
  overflow: auto;
  border-radius: 24px 24px 0 0;
  background: #171717;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px calc(18px + env(safe-area-inset-bottom));
  color: #fff;
}

.pulse-sheet-handle {
  width: 40px;
  height: 4px;
  margin: 4px auto 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.pulse-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pulse-sheet-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.pulse-sheet-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.pulse-sheet-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pulse-sheet-close svg {
  width: 16px;
  height: 16px;
}

.pulse-sheet-group-label {
  margin: 14px 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.pulse-perfil-list {
  display: grid;
  gap: 8px;
}

.pulse-perfil-list form {
  margin: 0;
}

.pulse-perfil-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.pulse-perfil-row.is-active {
  border-color: #ff7a00;
  background: rgba(255, 122, 0, 0.1);
}

.pulse-perfil-row .pulse-avatar {
  width: 38px;
  height: 38px;
  font-size: 12px;
}

.pulse-perfil-meta {
  min-width: 0;
  flex: 1;
}

.pulse-perfil-meta strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
}

.pulse-perfil-meta small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.pulse-perfil-check {
  width: 20px;
  height: 20px;
  color: #ff7a00;
  flex-shrink: 0;
}

.pulse-sheet-hint {
  margin: -2px 0 10px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.45);
}

.pulse-criar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.pulse-criar-grid form {
  margin: 0;
}

.pulse-criar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.pulse-criar-btn--fill {
  width: 100%;
  border-color: transparent;
  background: #ff7a00;
  color: #0a0a0a;
}

.pulse-criar-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

.pulse-criar-btn:hover {
  border-color: rgba(255, 122, 0, 0.45);
  color: #fff;
}

.pulse-criar-btn--fill:hover {
  background: #ff8d26;
  color: #0a0a0a;
}

/* Trocar perfil / Novo perfil (página full) */
.pulse-trocar {
  padding-top: 8px;
  padding-bottom: 28px;
}
.pulse-trocar .pulse-perfil-hero {
  display: block;
  width: 100%;
  margin: 4px 0 18px;
}
.pulse-trocar .pulse-perfil-hero > * {
  display: block;
  width: 100%;
}
.pulse-trocar-agora {
  margin-top: 8px !important;
}
.pulse-trocar-card {
  margin: 0 0 18px;
  padding: 16px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #161616;
}
.pulse-trocar-label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.pulse-trocar-list {
  margin-bottom: 18px;
}
.pulse-trocar .pulse-field {
  margin-bottom: 14px;
}
.pulse-trocar .pulse-label {
  display: block;
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.pulse-trocar .pulse-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1f1f1f;
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
}
.pulse-trocar .pulse-input:focus {
  border-color: rgba(255, 119, 0, 0.55);
  box-shadow: 0 0 0 2px rgba(255, 119, 0, 0.15);
}
.pulse-trocar .pulse-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.pulse-trocar-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.pulse-username-status {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
}
.pulse-username-status.is-ok {
  color: #4ade80;
}
.pulse-username-status.is-err {
  color: #f87171;
}
.pulse-trocar-actions {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.pulse-trocar .pulse-btn-fill,
.pulse-trocar .pulse-btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  border: 0;
}
.pulse-trocar .pulse-btn-fill {
  background: linear-gradient(90deg, #ff7a00, #ffb400);
  color: #0a0a0a;
}
.pulse-trocar .pulse-btn-ghost {
  background: #1f1f1f;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.pulse-trocar .pulse-avatar svg {
  width: 18px;
  height: 18px;
}

.pulse-mais-perfil {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.pulse-mais-perfil .pulse-avatar {
  width: 40px;
  height: 40px;
}

.pulse-mais-trocar-label {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #ff7a00;
}

.pulse-mais-list {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.pulse-mais-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 560;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pulse-mais-list a:first-child {
  border-top: 0;
}

.pulse-mais-list a svg {
  width: 18px;
  height: 18px;
  color: #ff7a00;
}

.pulse-mais-list a.is-danger {
  color: #ff6b6b;
}

.pulse-mais-list a.is-danger svg {
  color: #ff6b6b;
}

/* Menu lateral (Mais) ? formato por contexto */
.pulse-menu-panel {
  max-height: min(92vh, 820px);
  background: #121212;
}

.pulse-menu-body {
  padding-bottom: 4px;
}

.pulse-menu-perfil {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 4px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #1a1a1a;
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.pulse-menu-perfil .pulse-avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.pulse-menu-trocar {
  flex-shrink: 0;
  margin-left: auto;
  padding: 7px 12px;
  border: 1px solid rgba(255, 122, 0, 0.55);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff7a00;
}

.pulse-menu-atalhos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pulse-menu-atalho {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.pulse-menu-atalho:hover,
.pulse-menu-atalho:focus {
  text-decoration: none;
  border-color: rgba(255, 122, 0, 0.35);
  color: #fff;
}

.pulse-menu-atalho svg {
  width: 20px;
  height: 20px;
  color: #ff7a00;
}

.pulse-menu-list {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a1a;
}

.pulse-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  color: #fff;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
  text-align: left;
  background: transparent;
}

.pulse-menu-item:first-child {
  border-top: 0;
}

.pulse-menu-item:hover,
.pulse-menu-item:focus {
  text-decoration: none;
  color: #fff;
}

.pulse-menu-item > svg:first-child {
  width: 18px;
  height: 18px;
  color: #ff7a00;
  flex-shrink: 0;
}

.pulse-menu-item-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pulse-menu-item-text strong {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.pulse-menu-item-text small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.pulse-menu-chevron {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.pulse-menu-badge {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pulse-menu-item.is-soon {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}

.pulse-menu-version {
  margin: 18px 0 10px;
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.pulse-menu-sair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 14px;
  color: #f87171;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  box-sizing: border-box;
}

#pulse-sheet-perfis .pulse-menu-sair {
  margin-top: 16px;
}

.pulse-menu-sair:hover,
.pulse-menu-sair:focus {
  text-decoration: none;
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.55);
}

.pulse-menu-sair svg {
  width: 16px;
  height: 16px;
  color: #f87171;
}

.pulse-switcher--static {
  pointer-events: none;
  cursor: default;
  border: 0;
  background: transparent;
}

/* Modal “precisa de conta” (visitante) */
.pulse-conta-modal {
  border: 0;
  border-radius: 20px;
  padding: 0;
  max-width: 360px;
  width: calc(100% - 32px);
  background: #1a1a1a;
  color: #f2f2f2;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.pulse-conta-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}
.pulse-conta-modal > div {
  padding: 22px 20px 18px;
}
.pulse-conta-modal h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}
.pulse-conta-modal p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}
.pulse-conta-modal .tk-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: stretch;
}
.pulse-conta-modal .tk-modal-actions .dc-btn-outline,
.pulse-conta-modal .tk-modal-actions .dc-btn-fill {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.pulse-conta-modal .dc-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #fff;
}
.pulse-conta-modal .dc-btn-fill {
  border: 0;
  background: linear-gradient(90deg, #ff7a00, #ffb400);
  color: #0d0d0d;
}

/* Heroes fixos: carrossel 1 card / autoplay + swipe */
.pulse-hero-rail {
  margin: 0 0 18px;
}
.pulse-hero-rail-head {
  margin: 0 0 10px;
}
.pulse-hero-rail-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.pulse-cadastrar-evento {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.pulse-hero-rail-head .lv-label {
  margin: 0 0 2px;
}
.pulse-hero-rail-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.pulse-hero-carousel {
  overflow: hidden;
  touch-action: pan-x pan-y;
  cursor: grab;
  border-radius: 16px;
}
.pulse-hero-carousel:active {
  cursor: grabbing;
}
.pulse-hero-track {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}
.pulse-hero-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}
.pulse-hero-card.pulse-event-card {
  margin: 0;
}
.pulse-hero-card .pulse-event-media {
  min-height: 200px;
  aspect-ratio: 2 / 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Destaques: banner horizontal em carrossel de 1 linha */
.pulse-destaques .pulse-event-media {
  aspect-ratio: 2 / 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.pulse-destaques {
  --pulse-destaque-gap: 14px;
  margin: 0 -4px;
  padding: 0 4px 6px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  scroll-snap-type: x mandatory;
  max-height: none;
}

.pulse-destaques::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.pulse-destaques.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.pulse-destaques-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--pulse-destaque-gap);
  width: max-content;
  min-width: 100%;
}

.pulse-destaques .pulse-event-card {
  flex: 0 0 min(86vw, 360px);
  width: min(86vw, 360px);
  max-width: min(86vw, 360px);
  scroll-snap-align: start;
  -webkit-user-drag: none;
}

.pulse-event-card {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1f1f1f;
  color: inherit;
  text-decoration: none !important;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}

.pulse-event-card:active {
  transform: scale(0.985);
}

.pulse-event-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #2a2a2a center / cover no-repeat;
}

.pulse-event-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.15) 45%, transparent 70%);
}

.pulse-event-top {
  position: absolute;
  inset: 12px 12px auto;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.pulse-event-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: min(70%, 220px);
  min-width: 0;
}

.pulse-event-genre {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.pulse-event-genre.accent-heat {
  background: linear-gradient(90deg, #ff4081, #ff7a00);
}

.pulse-event-genre.accent-purple {
  background: linear-gradient(90deg, #7b3dff, #009cff);
}

.pulse-event-genre.accent-blue {
  background: linear-gradient(90deg, #009cff, #7b3dff);
}

.pulse-event-genre.accent-night {
  background: linear-gradient(90deg, #7b3dff, #ff4081);
}

.pulse-event-genre.accent-green {
  background: linear-gradient(90deg, #00e676, #ffb400);
  color: #0d0d0d;
}

.pulse-event-genre.accent-pink {
  background: linear-gradient(90deg, #ff4081, #ffd600);
}

.pulse-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 8px 10px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
}

.pulse-event-weekday {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff7a00;
  line-height: 1;
}

.pulse-event-day {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.pulse-event-titles {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
}

.pulse-event-titles h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.pulse-event-titles p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.pulse-event-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.pulse-event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-width: 0;
}

.pulse-event-meta > span,
.pulse-event-venue {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.pulse-event-venue span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-event-meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.55);
}

.pulse-event-price {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.pulse-event-price.is-free {
  color: #00e676;
}

/* ChipRow ? espelho do Lovable: -mx + overflow-x-auto + track max-content */
.pulse-eventos {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.pulse-chiprow {
  margin-left: -14px;
  margin-right: -14px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.pulse-chiprow::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.pulse-chiprow.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
/* ponytail: n?o zerar pointer-events ? isso engolia o clique dos filtros */

.pulse-chiprow-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  width: max-content;
  min-width: 100%;
  padding: 0 14px 10px;
  box-sizing: border-box;
}

.pulse-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  background: #1a1a1a;
  color: #f2f2f2;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.pulse-chip.is-active {
  border-color: transparent;
  background: linear-gradient(90deg, #ff7a00, #ffb400);
  color: #0d0d0d;
}

.pulse-view-toggle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 4px 0 16px;
  padding: 4px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141414;
}
.pulse-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 10px 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.pulse-view-btn svg { width: 16px; height: 16px; }
.pulse-view-btn.is-active {
  background: linear-gradient(90deg, #ff7a00, #ffb400);
  color: #0d0d0d;
}

/* Sem padding extra — a main já define a largura (14px). Padding duplo
   deixava mapa/cabeçalho mais estreitos que o restante. */
.pulse-view {
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pulse-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.pulse-panel-head > div {
  min-width: 0;
  flex: 1;
}

.pulse-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  color: #ff7a00 !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
}
.pulse-link svg { width: 14px; height: 14px; }

.pulse-rows {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pulse-event-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1a1a1a;
  color: inherit;
  text-decoration: none !important;
}
.pulse-event-row.is-active {
  border-color: rgba(255, 119, 0, 0.7);
  box-shadow: 0 0 0 1px rgba(255, 119, 0, 0.35);
}
.pulse-event-row:active { transform: scale(0.985); }
.pulse-mapa-status {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.pulse-event-row-thumb {
  width: 52px;
  aspect-ratio: 4 / 5;
  height: auto;
  flex-shrink: 0;
  border-radius: 12px;
  background: #2a2a2a center / cover no-repeat;
}
.pulse-event-row-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pulse-event-row-body strong {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pulse-event-row-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pulse-event-row-when {
  font-size: 12px;
  font-weight: 700;
  color: #ff7a00;
}
.pulse-event-row .pulse-event-price {
  font-size: 13px;
}

/* L.map() aplica .leaflet-container NO próprio embed (não num filho).
   width:!important vence o style inline do Leaflet quando o tamanho foi medido errado. */
.pulse-mapa-embed,
.pulse-mapa-embed.leaflet-container {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 280px !important;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1a1a1a;
  box-sizing: border-box;
  position: relative;
}
.pulse-map-pin {
  background: transparent !important;
  border: 0 !important;
}
.pulse-map-pin span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a00, #ffb400);
  color: #0d0d0d;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.pulse-cal {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1a1a1a;
  padding: 12px;
}
.pulse-cal-weekdays,
.pulse-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.pulse-cal-weekdays {
  margin-bottom: 8px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
}
.pulse-cal-day {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.pulse-cal-day.is-blank { pointer-events: none; }
.pulse-cal-day.has-event {
  background: #242424;
  color: #fff;
}
.pulse-cal-day.has-event i {
  position: absolute;
  bottom: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff7a00;
}
.pulse-cal-day.is-selected {
  background: linear-gradient(90deg, #ff7a00, #ffb400);
  color: #0d0d0d;
  font-weight: 800;
}
.pulse-cal-nav {
  display: flex;
  gap: 4px;
}
.pulse-cal-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
}
.pulse-cal-nav-btn svg { width: 16px; height: 16px; }

.pulse-perto {
  margin-top: 8px;
  min-width: 0;
  max-width: 100%;
}
.pulse-perto .pulse-chiprow-inner {
  gap: 12px;
}
.pulse-rail-card {
  flex: 0 0 160px;
  width: 160px;
  max-width: 160px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1a1a1a;
  color: inherit;
  text-decoration: none !important;
  -webkit-user-drag: none;
}
.pulse-rail-media {
  display: block;
  height: 96px;
  background: #2a2a2a center / cover no-repeat;
}
.pulse-rail-body {
  display: block;
  padding: 10px;
}
.pulse-rail-body strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pulse-rail-body span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#pulse-eventos-data { display: none; }

/* ?? Favoritos (Lovable /favoritos) ?? */
/* div (n?o header): o `header` global do tokka.css for?a flex em linha */
.pulse-page-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  margin: 4px 0 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  position: static !important;
  z-index: auto !important;
  color: inherit !important;
  gap: 0 !important;
  width: 100%;
  max-width: 100%;
}
.pulse-kicker {
  display: block !important;
  margin: 0 0 4px !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff7a00;
}
.pulse-page-title h1 {
  display: block !important;
  margin: 4px 0 0 !important;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  width: 100%;
}
.pulse-subtitle {
  display: block !important;
  margin: 2px 0 0 !important;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  width: 100%;
}
.pulse-page-title .pulse-subtitle + h1 {
  margin-top: 6px !important;
}

.pulse-fav-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
.pulse-fav-stat {
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}
.pulse-fav-stat svg {
  width: 20px;
  height: 20px;
}
.pulse-fav-stat strong {
  display: block;
  margin-top: 22px;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
}
.pulse-fav-stat span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
}
.pulse-fav-stat--heat {
  background: linear-gradient(135deg, #ff7a00, #ff4081);
  color: #0d0d0d;
}
.pulse-fav-stat--night {
  background: linear-gradient(160deg, #4a2a8a, #009cff);
  color: #fff;
}

.pulse-fav-section {
  margin-top: 28px;
}
.pulse-fav-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.pulse-fav-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.pulse-fav-list {
  display: grid;
  gap: 8px;
}
.pulse-fav-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1f1f1f;
}
.pulse-fav-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a00, #ff4081);
  color: #0d0d0d;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  background-size: cover;
  background-position: center;
}
.pulse-fav-avatar.has-photo {
  color: transparent;
}
.pulse-fav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #2a2a2a;
  color: #ff7a00;
}
.pulse-fav-icon svg {
  width: 20px;
  height: 20px;
}
.pulse-fav-meta {
  min-width: 0;
  flex: 1;
  color: inherit;
  text-decoration: none !important;
}
.pulse-fav-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pulse-fav-meta span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pulse-fav-meta .pulse-fav-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-top: 6px;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.pulse-fav-meta .pulse-fav-tags .dc-chip {
  font-size: 11px;
  padding: 3px 10px;
}
.pulse-fav-meta .pulse-fav-meta-extra {
  display: inline;
  margin: 0;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}
.pulse-fav-heart-form {
  margin: 0;
  flex-shrink: 0;
}
.pulse-fav-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #242424;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.pulse-fav-heart svg {
  width: 16px;
  height: 16px;
}
.pulse-fav-heart.is-on {
  color: #ff7a00;
}
.pulse-fav-heart.is-on svg {
  fill: #ff7a00;
}
.pulse-ghost-btn {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 14px;
  background: #1f1f1f;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.pulse-favoritos .pulse-rows {
  margin-top: 0;
}

/* ?? Avisos (Lovable /avisos) ?? */
.pulse-tab-ico {
  position: relative;
  display: inline-flex;
}
.pulse-tab-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff4081;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

.pulse-aviso-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.pulse-aviso-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1f1f1f;
}
.pulse-aviso-card.is-unread {
  border-color: rgba(255, 122, 0, 0.4);
}
.pulse-aviso-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pulse-aviso-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 12px;
  background: #2a2a2a;
  color: #ff7a00;
}
.pulse-aviso-icon svg {
  width: 16px;
  height: 16px;
}
.pulse-aviso-body {
  min-width: 0;
  flex: 1;
}
.pulse-aviso-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pulse-aviso-title strong {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pulse-aviso-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ff4081;
}
.pulse-aviso-body > p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}
.pulse-aviso-body > time {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}
.pulse-aviso-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.pulse-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #ff7a00, #ffb400);
  color: #0d0d0d;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(255, 122, 0, 0.55);
}
.pulse-aviso-done {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}
.pulse-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 400;
  max-width: min(90vw, 360px);
  padding: 12px 16px;
  border-radius: 14px;
  background: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, 12px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.pulse-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ?? Meu perfil (Plateia) ?? */
.pulse-perfil {
  padding: 4px 0 100px;
  color: #f2f2f2;
  max-width: 100%;
  min-width: 0;
}
.pulse-perfil-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 8px 0 18px;
}
.pulse-perfil-eyebrow {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff7700;
}
.pulse-perfil-hero h1 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}
.pulse-perfil-handle {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}
.pulse-perfil-avatar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}
.pulse-perfil-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff7700;
  color: #0a0a0a;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background-size: cover;
  background-position: center;
}
.pulse-perfil-avatar.has-photo {
  color: transparent;
}
.pulse-perfil-foto-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ff7700;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.pulse-perfil-foto-btn:disabled {
  opacity: 0.85;
  cursor: default;
}
label.pulse-perfil-foto-btn {
  cursor: pointer;
}
.pulse-perfil-foto-btn svg {
  width: 16px;
  height: 16px;
}
.pulse-perfil-card {
  margin: 0 0 18px;
  padding: 16px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #161616;
  max-width: 100%;
  min-width: 0;
}
.pulse-perfil .pulse-field { margin-bottom: 14px; }
.pulse-perfil .pulse-label {
  display: block;
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.pulse-perfil .pulse-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #1f1f1f;
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
  color-scheme: dark;
}
.pulse-perfil select.pulse-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-color: #1f1f1f;
  padding-right: 36px;
}
.pulse-perfil select.pulse-input option,
.pulse-perfil select.pulse-input optgroup {
  background-color: #1f1f1f;
  color: #fff;
}
.pulse-perfil .pulse-input:disabled {
  opacity: 0.7;
  color: rgba(255,255,255,0.65);
}
.pulse-perfil .pulse-input:focus {
  border-color: rgba(255,119,0,0.55);
  box-shadow: 0 0 0 2px rgba(255,119,0,0.15);
}
.pulse-link-form .pulse-link-back {
  display: inline-block;
  margin: 0 0 10px;
  color: #ff7700;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.pulse-link-form .pulse-link-back:hover { filter: brightness(1.1); }
.pulse-link-form .pulse-link-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 4px;
}
.pulse-link-form .pulse-link-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.pulse-link-form .pulse-link-check input {
  width: 18px;
  height: 18px;
  accent-color: #ff7700;
}
.pulse-link-form .pulse-perfil-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.pulse-perfil .pulse-field-grid {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.pulse-perfil .pulse-field--uf { min-width: 80px; max-width: 80px; }
.pulse-perfil-estilos {
  margin: 0 0 18px;
}
.pulse-perfil-estilos .dc-label,
.pulse-perfil-estilos h3 {
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.pulse-perfil-estilos .dc-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pulse-perfil-estilos .dc-chip,
.pulse-perfil-estilos .dc-chip-toggle {
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: #1a1a1a !important;
  color: rgba(255,255,255,0.75) !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.pulse-perfil-estilos .dc-chip.is-active,
.pulse-perfil-estilos .dc-chip-toggle.is-active {
  background: #ff7700 !important;
  border-color: #ff7700 !important;
  color: #0a0a0a !important;
}
.pulse-perfil-salvar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a00, #ffb400);
  color: #0a0a0a;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-sizing: border-box;
}
.pulse-perfil-actions {
  display: grid !important;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 4px;
}
.pulse-perfil-actions .pulse-perfil-salvar {
  width: 100%;
  min-width: 0;
}
.pulse-perfil-actions .pulse-perfil-voltar,
.pulse-perfil-voltar {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-radius: 999px;
  background: #1f1f1f !important;
  color: #fff !important;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  box-sizing: border-box;
}
.pulse-perfil-voltar:hover,
.pulse-perfil-voltar:focus {
  text-decoration: none !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.4) !important;
}

/* ?? Meu perfil Palco (extens?o) ?? */
.pulse-perfil--palco .pulse-perfil-card { margin-bottom: 14px; }
.pulse-perfil-foto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.pulse-perfil-foto-remover {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.45);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.pulse-perfil .perfil-foto-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.pulse-perfil-banner {
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 10px;
  border: 1px dashed rgba(255,255,255,0.22);
  background: #1a1a1a center / cover no-repeat;
  margin-bottom: 8px;
}
.pulse-perfil-banner.has-photo {
  border-style: solid;
  border-color: rgba(255,255,255,0.12);
}
.pulse-perfil-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  line-height: 1.35;
}
.pulse-perfil-empty {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.pulse-field-error {
  margin: 6px 0 0;
  font-size: 12px;
  color: #f87171;
}
.pulse-perfil .pulse-input.is-invalid {
  border-color: rgba(248, 113, 113, 0.65);
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.15);
}
.pulse-perfil .pulse-field-grid--cidade {
  grid-template-columns: 80px minmax(0, 1fr);
}
.pulse-perfil-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.pulse-perfil-sec-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}
.pulse-perfil--palco .perfil-galeria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.pulse-perfil--palco .perfil-galeria-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  background: #1a1a1a center / cover no-repeat;
  border: 1px solid rgba(255,255,255,0.1);
}
.pulse-perfil--palco .perfil-galeria-acoes {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.pulse-perfil--palco .perfil-link-grupo-titulo {
  margin: 14px 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.pulse-perfil--palco .perfil-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}
.pulse-perfil--palco .perfil-link-item:last-child { border-bottom: 0; }
.pulse-perfil--palco .perfil-link-handle { color: rgba(255,255,255,0.35); cursor: grab; }
.pulse-perfil--palco .perfil-link-icone {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,119,0,0.12);
  color: #ff7700;
  flex-shrink: 0;
}
.pulse-perfil--palco .perfil-link-icone svg { width: 16px; height: 16px; }
.pulse-perfil--palco .perfil-link-meta strong { color: #fff; }
.pulse-perfil--palco .perfil-link-meta a,
.pulse-perfil--palco .perfil-link-meta span {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  word-break: break-all;
}
.pulse-perfil--palco .perfil-link-acoes { display: flex; gap: 6px; flex-shrink: 0; }
.pulse-perfil--palco .perfil-link-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255,119,0,0.18);
  color: #ffb400;
  font-size: 10px;
  font-weight: 700;
}
.pulse-perfil--palco .perfil-link-badge--off {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
}
.pulse-perfil-danger h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f87171;
}
.pulse-perfil-danger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pulse-perfil-danger-row strong {
  display: block;
  color: #fff;
  font-size: 14px;
}
.pulse-perfil-danger-row p {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.35;
}
.pulse-perfil .pulse-publish {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 16px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #1a1a1a;
}
.pulse-perfil .pulse-publish strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.pulse-perfil .pulse-publish p {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.pulse-perfil .pulse-btn-fill,
.pulse-perfil .pulse-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  box-sizing: border-box;
}
.pulse-perfil .pulse-btn-fill {
  background: linear-gradient(90deg, #ff7a00, #ffb400);
  color: #0a0a0a;
}
.pulse-perfil .pulse-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.14);
}
.pulse-perfil .pulse-btn-sm { min-height: 32px; padding: 6px 12px; font-size: 11px; }
.pulse-perfil .agenda-btn-danger {
  color: #f87171 !important;
  border-color: rgba(248,113,113,0.35) !important;
}
.pulse-perfil .pulse-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  margin: 0;
}
.pulse-perfil .pulse-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.pulse-perfil .pulse-toggle-ui {
  position: relative;
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: #333;
  flex-shrink: 0;
  transition: background .15s;
}
.pulse-perfil .pulse-toggle-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  transition: transform .15s;
}
.pulse-perfil .pulse-toggle input:checked + .pulse-toggle-ui { background: #ff7700; }
.pulse-perfil .pulse-toggle input:checked + .pulse-toggle-ui::after { transform: translateX(18px); }
.pulse-perfil .pulse-toggle--lg .pulse-toggle-ui { width: 52px; height: 30px; }
.pulse-perfil .pulse-toggle--lg .pulse-toggle-ui::after { width: 24px; height: 24px; }
.pulse-perfil .pulse-toggle--lg input:checked + .pulse-toggle-ui::after { transform: translateX(20px); }
.pulse-perfil .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.pulse-perfil .agenda-modal {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: #1a1a1a;
  color: #fff;
  padding: 0;
  max-width: min(92vw, 360px);
}
.pulse-perfil .agenda-modal::backdrop { background: rgba(0,0,0,.65); }
.pulse-perfil .agenda-modal > div { padding: 18px; }
.pulse-perfil .agenda-modal h3 { margin: 0 0 8px; font-size: 1.05rem; }
.pulse-perfil .agenda-modal p {
  margin: 0 0 14px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}
.pulse-perfil .agenda-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
