/* M6-B Part D — Mobile header lockup (Home + shared mark size) */
.m-logo-mark {
  display: block;
  width: 72px;
  height: 72px;
}

/* Non-home pages — room for the larger mark in the gradient header row */
.header-top {
  min-height: 72px;
}

/* Never leave a pulse floating off the D mark (Home + other mobile pages) */
.header .logo-stack .logo-pulse,
.header-top .logo-stack .logo-pulse {
  display: none !important;
}

/*
  Non-home pages — LIVE pulse as superscript after DeepTape.ai (same as Home / Web).
*/
.m-header-wordmark {
  position: relative;
  display: inline-block;
}
.m-header-wordmark > .logo-pulse {
  display: block;
  position: absolute;
  top: 2px;
  right: -12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00D4FF;
  box-shadow: 0 0 8px #00D4FF;
  animation: pulse-dot 2.2s infinite;
}

/*
  Home — denser lockup matching Web:
  mark + wordmark inline; LIVE pulse as superscript after .ai (not floating off the D).
*/
.header-home.header {
  padding-top: calc(env(safe-area-inset-top, 0px) + 4px);
  padding-bottom: 2px;
}
.header-home .header-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 14px 4px;
  min-height: 0;
  position: relative;
}
.header-home .logo-stack {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(30, 144, 255, 0.95));
}
/* Hide orphan pulse on the mark — wordmark carries the live dot */
.header-home .logo-stack .logo-pulse {
  display: none;
}
.header-home .wordmark {
  position: relative;
  display: inline-block;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.4);
}
.header-home .wordmark .wm-ai {
  font-size: 32px;
  position: relative;
}
/* Live blink as superscript after wordmark (Web lockup treatment) */
.header-home .wordmark > .logo-pulse {
  display: block;
  position: absolute;
  top: 4px;
  right: -14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00D4FF;
  box-shadow: 0 0 8px #00D4FF;
  animation: pulse-dot 2.2s infinite;
}
.header-home .header-info {
  padding: 2px 14px 0;
}
.header-home::after {
  background: radial-gradient(ellipse at 40% 40%, rgba(30, 144, 255, 0.35) 0%, transparent 55%);
}

/* Bold green LIVE pill — shared across all mobile pages (#dtAuthSlot / Home carousel) */
.dt-live-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 5px 10px 5px 8px !important;
  border-radius: 5px;
  background: rgba(0, 224, 96, 0.14) !important;
  border: 1.5px solid rgba(0, 224, 96, 0.65) !important;
  box-shadow: 0 0 12px rgba(0, 224, 96, 0.25);
  color: #00e060 !important;
  font: 800 11px/1 Inter, sans-serif !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
}
.dt-live-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e060;
  box-shadow: 0 0 8px rgba(0, 224, 96, 0.9);
  animation: m-live-blink 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes m-live-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.35); }
}
.dt-live-badge.stale,
.dt-live-badge.updating {
  color: #FFB300 !important;
  border-color: rgba(255, 179, 0, 0.55) !important;
  background: rgba(255, 179, 0, 0.1) !important;
  box-shadow: none;
}
.dt-live-badge.stale::before,
.dt-live-badge.updating::before {
  background: #FFB300;
  box-shadow: 0 0 8px rgba(255, 179, 0, 0.7);
  animation: none;
}
